Discrepancy in symbol names between i686*/lib/windows. and .lib files in windows SDK

I think I missed some libraries from the SDK, but I dumped symbol lists from windows SDK/MSVC for x86 and compared to what's in i686_msvc, and there are tons of discrepancies (this is after #1979).
Discrepancies where the numbers are different (windows.lib on the left, SDK on the right):
__imp__CfUpdateSyncProviderStatus@8 __imp__CfUpdateSyncProviderStatus@12
__imp__CfReportProviderProgress@28 __imp__CfReportProviderProgress@32
__imp__CfReportProviderProgress2@40 __imp__CfReportProviderProgress2@44
__imp__CfQuerySyncProviderStatus@8 __imp__CfQuerySyncProviderStatus@12
__imp__CfDisconnectSyncRoot@4 __imp__CfDisconnectSyncRoot@8
__imp__RegisterClusterNotifyV2@24 __imp__RegisterClusterNotifyV2@28
__imp__EapHostPeerQueryUserBlobFromCredentialInputFields@44 __imp__EapHostPeerQueryUserBlobFromCredentialInputFields@48
__imp__EapHostPeerQueryCredentialInputFields@36 __imp__EapHostPeerQueryCredentialInputFields@40
__imp__EapHostPeerInvokeIdentityUI@60 __imp__EapHostPeerInvokeIdentityUI@64
__imp__EapHostPeerInvokeConfigUI@40 __imp__EapHostPeerInvokeConfigUI@44
__imp__EapHostPeerGetMethodProperties@48 __imp__EapHostPeerGetMethodProperties@52
__imp__EapHostPeerConfigBlob2Xml@32 __imp__EapHostPeerConfigBlob2Xml@36
__imp__EapHostPeerGetIdentity@64 __imp__EapHostPeerGetIdentity@68
__imp__EapHostPeerBeginSession@64 __imp__EapHostPeerBeginSession@68
__imp__alljoyn_interfacedescription_property_getannotationscount@12 __imp__alljoyn_interfacedescription_property_getannotationscount@16
__imp__alljoyn_interfacedescription_property_getannotationatindex@32 __imp__alljoyn_interfacedescription_property_getannotationatindex@36
__imp__alljoyn_interfacedescription_property_getannotation@24 __imp__alljoyn_interfacedescription_property_getannotation@28
__imp__alljoyn_interfacedescription_property_eql@24 __imp__alljoyn_interfacedescription_property_eql@32
__imp__RtmConvertIpv6AddressAndLengthToNetAddress@16 __imp__RtmConvertIpv6AddressAndLengthToNetAddress@28
__imp__WinBioRemoveCredential@24 __imp__WinBioRemoveCredential@80
__imp__WinBioGetCredentialState@28 __imp__WinBioGetCredentialState@84
__imp__WlanSetProfileEapUserData@40 __imp__WlanSetProfileEapUserData@44
(this is the full list I got, i686_gnu has the same list, but most numbers are different (+1 when different))
Examples of discrepancies where there are no numbers in the .lib in the SDK:
__imp__ber_free@8 __imp__ber_free
__imp__ber_flatten@8 __imp__ber_flatten
__imp__ber_first_element@12 __imp__ber_first_element
__imp__ber_bvfree@4 __imp__ber_bvfree
__imp__ber_bvecfree@4 __imp__ber_bvecfree
__imp__ber_bvdup@4 __imp__ber_bvdup
__imp__ber_alloc_t@4 __imp__ber_alloc_t
__imp__LdapUnicodeToUTF8@16 __imp__LdapUnicodeToUTF8
__imp__LdapUTF8ToUnicode@16 __imp__LdapUTF8ToUnicode
__imp__LdapMapErrorToWin32@4 __imp__LdapMapErrorToWin32
__imp__LdapGetLastError@0 __imp__LdapGetLastError
__imp__CreateFX@16 __imp__CreateFX
__imp__DtcGetTransactionManagerExW@24 __imp__DtcGetTransactionManagerExW
__imp__DtcGetTransactionManagerExA@24 __imp__DtcGetTransactionManagerExA
__imp__DtcGetTransactionManagerC@28 __imp__DtcGetTransactionManagerC
__imp__DtcGetTransactionManager@28 __imp__DtcGetTransactionManager
the full list for those is 1283 lines, and the symbols come from a variety of libraries (advapi32, authz, avifil32, cabinat, comsvcs, fontsub, icu, mi, msajapi, msvfw32, mtxdm, netsh, oledlg, rpcrt4, rtutils, setupapi, shlwapi, snmpapi, user32, wdsclientapi, wdsmc, wdspxe, windows, wldap32, xaudio2_8, xolehlp). In some of them, all the symbols are without numbers (e.g. icu), but in others, some are and some aren't. I haven't looked exactly which ones are which.

In some of them, all the symbols are without numbers (e.g. icu)

Right, I suspect most of these issues will actually root in upstream win32 metadata. In the case of ICU functions, for example, https://github.com/microsoft/win32metadata/issues/1013.
If you'd like to share the list, we can help start filing/working those issues.

Well, currently, the @number is added for all symbols, so there's at least a part of the problem on this side of aisle. I can share the full list I have, but I don't guarantee it's actually complete.

Full list here: https://gist.github.com/glandium/395e52e494b56094184ab8d898340d89

Well, currently, the @number is added for all symbols, so there's at least a part of the problem on this side.

Agreed.
Though arguably developers should really skip the ICU baked into the OS and just use a separate crate/SDK instead. It seems the OS ICU work may have already been abandoned, if we go by the outdated documentation. https://docs.microsoft.com/windows/win32/intl/international-components-for-unicode--icu-#history-of-changes-to-the-icu-library-in-windows

ICU is only a small part of the list, though.

Examples of discrepancies where there are no numbers in the .lib in the SDK

Those are likely because those functions aren't stdcall at all - many are likely cdecl. It would be most helpful if those are reported to the win32 metadata repo since the metadata would need to indicate the calling convention before this project project can do anything about it.
https://github.com/microsoft/win32metadata
As of now, we just assume all functions are stdcall since hte metadata doesn't appear to set the CallingConvention field.

Discrepancies where the numbers are different

Looks like these are also win32metadata bugs. For example CfDisconnectSyncRoot is defined as follows in metadata:
public struct CF_CONNECTION_KEY
{
    public IntPtr Value;
}

public static extern HRESULT CfDisconnectSyncRoot([In] CF_CONNECTION_KEY ConnectionKey);

That explains why windows-rs says the stack size is 4 since IntPtr is 4 bytes on x86.
But that's not accurate since the definition of CF_CONNECTION_KEY in the Windows SDK is always 8 bytes, regardless of architecture:
#define DECLARE_OPAQUE_KEY( name )          \
    typedef struct name##__ {               \
        LONGLONG Internal;                  \
    } name, *P##name

DECLARE_OPAQUE_KEY( CF_CONNECTION_KEY );

LONGLONG is just a typedef for __int64.

Thanks for reporting! I think the issues here are all covered by the following metadata issues I just created:
https://github.com/microsoft/win32metadata/issues/1133
https://github.com/microsoft/win32metadata/issues/1134

Shouldn't this stay open for the part where windows-rs will have to be adjusted for cdecl functions? (or are cdecl functions filtered-out?)

I'd keep it open but its blocked on those issues being resolved and I don't know when they'll be fixed. I prefer not to keep issues open indefinitely. I'll keep an eye on those and if they get fixed soon I can plumb through to Rust pretty quickly.

These issues have now been fixed in the win32 metadata. Reopening to deal with ingestion.

Now that I have the updated metadata (#1996) I can finish this up. There are a few outstanding issues:

Sometimes the stdcall function stack size calculation isn't quite right. For example RegisterClusterNotifyV2 still reports 24 when it should be 28 because it fails to account for struct padding (a 64-bit field follows a 32-bit field). This can get quite tricky with nested structs.

The metadata crate needs to be updated to retrieve the calling convention.

The bindgen crate needs to use the calling convention to change the way functions are imported from extern "system" to whatever is appropriate. This may require some more substantial code gen refactoring as all the imports are currently lumped into a single extern block for the windows-sys crate.

Hey @glandium please take a look at #1999 - I have validated all of the discrepancies you found and confirmed they work (with tests).

I'm going to leave this open until these two issues are resolved:
https://github.com/microsoft/win32metadata/issues/1217
https://github.com/microsoft/win32metadata/issues/1221

Both blocking issues have now been resolved. Will update windows-rs as soon as they publish a build.

And here's the PR that pulls in the win32 metadata update that resolves these issues: https://github.com/microsoft/windows-rs/pull/2015


Calendar sheet disappears immediately after becoming visible in iOS 11.3

In iOS 11.3, the calendar sheet will appear, then immediately hide. It can be reproduced on any device running iOS 11.3 on the demo site. Thank you very much for your help!

I've been able to narrow this down to the window.open(url, 'blank') call here https://github.com/jasonsalzman/react-add-to-calendar/blob/master/src/ReactAddToCalendar.js#L80
If I remove the onClick handler from the anchor completely, the event sheet opens and does not immediately disappear https://github.com/jasonsalzman/react-add-to-calendar/blob/master/src/ReactAddToCalendar.js#L106

I fixed this by modifying the handleDropdownLinkClick method to add an isIos check, and breaking out early if true, before this line https://github.com/jasonsalzman/react-add-to-calendar/blob/master/src/ReactAddToCalendar.js#L54. Therefore the default is not prevented and iOS handle the URL naturally. All iOS platforms that we support (9, 10, 11) seem to handle the data:text/calendar url correctly without any extra JS.

Thanks @atdrago! If you make a PR for that fix, I'd be happy to merge it in.

Hey @jasonsalzman, I'm sorry but I probably won't be able to put a PR together for this. I think we're probably, unfortunately, going to go with a server downloaded ICS file rather than use this library because of this 2-year-old iOS Chrome bug (which I just ran into while testing this fix) https://bugs.chromium.org/p/chromium/issues/detail?id=666211
Because of this, I can't justify to my team spending time on a PR for this. I'd be happy to share what I did though. Before the event.preventDefault(), I added this:
const isIos = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);

// If we're on iOS, allow the URL to open naturally
if (isIos) {
    return true;
}

I hope that helps!

Ya, unfortunately that chrome bug is a real pain. Thanks anyway for reaching out!

This fix doesn't seem to work for me. Did you edit anything in helpers/index.js?

@polens29 @atdrago I've found having the linke target be _blank causes problems so I added the following and things seem to work:
import AddToCalendar from 'react-add-to-calendar'

const handleDropdownLinkClick = AddToCalendar.prototype.handleDropdownLinkClick

AddToCalendar.prototype.handleDropdownLinkClick = function(e) {
  const isIos = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform)
  if (isIos) {
    e.target.target = '_self'
    return true
  }
  handleDropdownLinkClick.call(this, e)
}

I had another take at it, though the approach was similar. Replace:
window.open(url, "_blank");

with:
const isIos = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform)
const openMode = isIos ? '_self' : '_blank';
window.open(url, openMode);

...as I did here: https://github.com/jasonsalzman/react-add-to-calendar/commit/800968fc088e070892a26b3ecb2e001062c014e6
The line to be replaced is this one: https://github.com/jasonsalzman/react-add-to-calendar/blob/4daecab7f278c15e4bbba606708590fdd21591ed/src/ReactAddToCalendar.js#L80


unparsable error using Date() type in model class

we've got a document with date of birth field that is stored as an ISO string. when trying to run a query the android app throws exception trying to convert the (iso) date string to the AzureData class object.
CosmosDB object:
{
      .... other fields,
      "dateOfBirth": "1985-01-29T13:00:00.000Z",
}

kotlin class on Droid:
class GolferDocument(id: String? = null) : Document(id) {
    ....
    var dateOfBirth: Date = Date()
}

exception msg:
Unparseable date: "1985-01-29T13:00:00.000Z" (at offset 23)

If you're dealing with dates in your existing data with a specific format, you can create a Gson type adapter to make the conversion.  Look at the existing date converter here.  To register your adapter, you can use the callback in the AzureData.configure() call.  See the custom type adapter test to see this in action (sorry, docs lagging behind).

thanks @NateRickard ill give this a try.


[Flaky CI] pull-kubevirt-e2e-k8s-1.16-ceph cluster-up fails

/kind bug
/label build-officer
What happened:
pull-kubevirt-e2e-k8s-1.16-ceph
cluster-up fails
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/3590/pull-kubevirt-e2e-k8s-1.16-ceph/1274679127764373504
+ kubectl --kubeconfig /etc/kubernetes/admin.conf create -f /tmp/ceph/csi-rbdplugin-attacher.yaml
service/csi-rbdplugin-attacher created
error: unable to recognize "/tmp/ceph/csi-rbdplugin-attacher.yaml": no matches for kind "StatefulSet" in version "apps/v1beta1"
provisioning Ceph CSI failed
Makefile:96: recipe for target 'cluster-up' failed
make: *** [cluster-up] Error 1
++ collect_debug_logs

What you expected to happen:
cluster-up should pass
How to reproduce it (as minimally and precisely as possible):
just run it (saw on prow 2/2 times, didnt test locally)
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/cc @dhiller

should we disable the lane until its fixed?
it spams the results + use resources atm

I think we rather should disable reporting and retire the status. @rmohr?

Or just rollback to 1.15-ceph?

So we just disabled reporting on the ceph lane, am now working on failures.

In general cluster-up fails on following health check error:
2020-06-21 12:28:58.718475 mon.cbebc2a50388 [INF] osd.0 <IP_ADDRESS>:6802/470 boot
2020-06-21 12:28:58.720247 mon.cbebc2a50388 [WRN] Health check failed: too few PGs per OSD (24 < min 30) (TOO_FEW_PGS)
2020-06-21 12:28:59.729607 mon.cbebc2a50388 [INF] daemon mds.0 is now active in filesystem cephfs as rank 0

Related documentation is this: https://docs.ceph.com/docs/mimic/rados/operations/placement-groups/#choosing-number-of-placement-groups

@awels @mhenriks maybe you can chime in here? Is that easily fixable?

but ceph works right now on -1.15. We use the same containers and start flow. Are you sure it hangs there?

This is highly likely because the snapshot api went from alpha to beta between 1.15 and 1.17. We have a PR https://github.com/kubevirt/containerized-data-importer/pull/1206 that updates that for CDI

what about this error that appear in the logs ?
error: unable to recognize "/tmp/ceph/csi-rbdplugin-attacher.yaml": no matches for kind "StatefulSet" in version "apps/v1beta1"

Have to look up which kind/version stateful sets are now? Maybe apps/v1?

but ceph works right now on -1.15. We use the same containers and start flow. Are you sure it hangs there?

I reproduced in on kubevirtci locally

yeah should be apps/v1 I am guessing apps/v1beta1 was deprecrated for a while and got removed in 1.17 or 1.18

So, I can't really think of what makes sense right now? I saw that @mhenriks is already working on a rook-ceph lane for 1.17 for kubevirt, should we wait on this and remove the 1.16-ceph lan entirely? Because 1.15 we are not supporting any more?

So, I can't really think of what makes sense right now? I saw that @mhenriks is already working on a rook-ceph lane for 1.17 for kubevirt, should we wait on this and remove the 1.16-ceph lan entirely? Because 1.15 we are not supporting any more?

Depends on how long that takes. If it still takes some time, just update the manifests in kubevirtci and reprovision 1.17 and 1.18.

But I think we should efinitely disable the job.


Disable duplicate/edit/recreate for swarm tasks

I think it is not good to recreate containers with com.docker.swarm.task.id label
Those containers are manage by swarm, so the good way to recreate is to update the service

Agree, the re-create & edit/duplicate should not be available when inspecting a service container.


Update visualizations & docs

@keewis your thoughts on the updated docs would be very useful if you have the time!


Task 3: Add stylized Button #3 issue resolved

Added the stylized offset Contribute button as per given screenshots. Hope you like it.
Hey @front-runner-sd , please give me the "hacktober-accepted" tag if you merge my PR so that it counts as 1 contribution on my Hacktoberfest Profile.

Yup Done nicely !


[SPARK-42748][CONNECT] Server-side Artifact Management

What changes were proposed in this pull request?

This PR adds server-side artifact management as a follow up to the client-side artifact transfer introduced in https://github.com/apache/spark/pull/40256.
Note: The artifacts added on the server are visible to all users of the cluster. This is a limitation of the current spark architecture (unisolated classloaders).
Apart from storing generic artifacts, we handle jars and classfiles in specific ways:

Jars:

Jars may be added but not removed or overwritten.
Added jars would be visible to all users/tasks/queries.

Classfiles:

Classfiles may not be explicitly removed but are allowed to be overwritten.
We piggyback on top of the REPL architecture to serve classfiles to the executors

If a REPL is initialized, classfiles are stored in the existing spark.repl.class.outputDir and share the URI with spark.repl.class.uri.
If a REPL is not being used, we use a custom directory (root: sparkContext. sparkConnectArtifactDirectory) to store classfiles and point the spark.repl.class.uri towards it.

Class files are visible to all users/tasks/queries.

Why are the changes needed?

https://github.com/apache/spark/pull/40256 implements the client-side transfer of artifacts to the server but currently, the server does not process these requests.
We need to implement a server-side management mechanism to handle the storage of these artifacts on the driver as well as perform further processing (such as adding jars and moving class files to the right directories).
Does this PR introduce any user-facing change?

Yes, a new experimental API but no behavioural changes.
A new method called sparkConnectArtifactDirectory is accessible through SparkContext (the directory storing all artifacts from SparkConnect)
How was this patch tested?

New unit tests.

PR is mergeable @hvanhovell

@vicennial can you update?

@hvanhovell updated

Merging this one.


[BUG] [ACR] [Dataplane] Incorrect scopes passed when calling Write APIs

Describe the bug
When invoking a write API the client is sending the incorrect scope.
Expected behavior
Write API like CreateAsync for manifest should succeed.
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
To Reproduce
Here is the sample repo
            var login = "my.azurecr.io";
            var username = "my";
            var password = "{passworld}";

            var client = new AzureContainerRegistryClient(
                new ContainerRegistryCredentials(
                    ContainerRegistryCredentials.LoginMode.TokenAuth,
                    loginUrl: login,
                    username: username,
                    password: password));

            string V2ManifestMediaType = "application/vnd.docker.distribution.manifest.v2+json";
            var repo = "hello-world";
            var tag = "latest";
            var resp = await client.Manifests.GetAsync("hello-world", "latest", V2ManifestMediaType);
            client = new AzureContainerRegistryClient(
                           new ContainerRegistryCredentials(
                               ContainerRegistryCredentials.LoginMode.TokenAuth,
                               loginUrl: login,
                               username: username,
                               password: password));
            await client.Manifests.CreateAsync(repo, "test-put", (V2Manifest)resp);

Environment:
WSL2
VSCode
dotnet list acr.csproj package
Project 'acr' has the following package references
   [netcoreapp3.1]:
   Top-level Package                        Requested             Resolved
   > Azure.Identity                         1.2.3                 1.2.3
   > Microsoft.Azure.ContainerRegistry      0.10.0-preview        0.10.0-preview
   > Microsoft.Extensions.Hosting           3.1.9                 3.1.9
   > Newtonsoft.Json                        12.0.3                12.0.3
   > System.CommandLine                     2.0.0-beta1.20371.2   2.0.0-beta1.20371.2
   > System.CommandLine.Hosting             0.3.0-alpha.20371.2   0.3.0-alpha.20371.2
   > System.Text.Json                       4.7.1                 4.7.1

@clarelimo, please investigate and propose a fix

@yugangw-msft  Let me look into it.

fixed it and will release preview.2 soon

fixed it and will release preview.2 soon


9 as a value of LUPrec

I have Autocad2000 dxf file which has 9 as a value of LUPrec header.
And based on this 16-bit integer is a valid value. I know Autocad support 0-8 range (at least for 2022 version based on this). But maybe it is possible to use the default value or round to accepted range instead of returning null as a result of DxfDocument.Load?

Yes, values that fall out side of the required range should reset to the default value. There are lots of similar cases like this.


example runned by show me error

example runned by show me:
dyld: Library not loaded: @rpath/Presentr.framework/Presentr
Referenced from: /var/containers/Bundle/Application/6D3D3E94-376B-4F63-B379-FC559F789D65/PresentrExample.app/PresentrExample
Reason: image not found
(lldb)

Hmmm...
So you're trying to run the example?
Try removing the framework (from the example project), and adding it back again. (You can build the framework, then reveal in finder, then drag to example project).
Let me know what happens!

This will be fixed soon, importing framework into example project will be done via cocoapods.


fix(docs): update docs of enabling new language

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Are you still working on something more, or should this be ready for review?


Baidu Maps support

Great plugin - Thanks very much!
I'm trying to get the Baidu API working: "http://api.map.baidu.com/api?v=1.2"
Since I can't speak Chinese, does anyone have any tips on configuring:
$.fn.tinyMapConfigure({     'api': '//api.map.baidu.com/api?v=1.2',     'language': 'zh-TW',     'libraries': ????,     'clusterer': ????? });
As a feature request, would it be possible to set/switch the API depending on user's location (in China use BM since GM is blocked)?

I'm so sorry, this plugin is only for Google Maps.
But it would be useful if the plugin can also support the Baidu Map.
I'll try to get the Baidu API key and study it.
Thanks for your opinion. :+1:

that would be great: There is an example here: https://github.com/twinh/jquery-baidu-map-picker/blob/master/jquery-baidu-map-picker.js


Support limits the max namespaces per tenant

Is your feature request related to a problem? Please describe.
Support limits the max namespaces per tenant of the Pulsar cluster. When the namespaces reach the max namespaces of the tenant, the broker should reject the new namespace request.
Describe the solution you'd like
Add maxNamespacePerTenant=0 in the broker.conf and don't limit by default.

I will work on it


[BUG] ...Markdown in Memos is not working

Describe the bug
Enable Markdown in Memos is not working
To Reproduce
Past entries in memos using markdown now only show the coding
Expected behavior
Usual behavior when using markdown.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS:  OSX 13.4
Browser  Brave
Toolkit Version  3.6.1

Thank you for the update yesterday that fixed many of the broken features.   This one does remain broken with the 3.6.2 update.

Any update on this bug? Currently using 3.8.1 and still experiencing issues. If I select an item in budget I can see the notes in markdown, but when I cycle through budget items the notes do not update i.e. I still see the markdown of the first budget item I selected even though I'm viewing a different budget item.

Hi! Is there an update or any update coming to cause the Markdown in Memos to function again? This was really a great feature that was heavily used. It made attaching receipts to Dropbox very easy to view.

Closing this as fixed and released. If the problem still persist, just reply in this thread and I'll reopen it.


No file or directory found at /cnn8grps_rad1_model.h5 how to solve

self.model = load_model('D:/Coding/SIGN DETECTOR CAM/Sign-Language-To-Text-and-Speech-Conversion-master/cnn8grps_rad1_model.h5')
use this absolute path


Public release checklist

From README; some of these may already be resolved:

[x] integration as a PyTorch op, to support autograd and torch.compile()
[ ] improved heuristic to decide whether to launch thread-per-bucket or block-per-bucket kernel
[x] improvements to api

For now I'm leaving the heuristic as it is.


[API Integration] The Noun Project Icons API script and Test Suite

Fixes

Fixes #521 by @dravadhis
Description

This PR adds the provider API script and the test suite for integrating The Noun Project Icons API
Technical details

Apart from the script and the test suite, following files have been added/edited:

[Added] src/cc_catalog_airflow/dags/provider_api_scripts/test/resources/nounproject: Test resources for test suite of the provider script
[Edited] src/cc_catalog_airflow/dags/util/loader/provider_details.py: Added provider Noun Project
[Edited] requirements_dev.txt and requirements_prod.txt are edited to include requests-oauthlib(==1.3.0). This python module is required to perform OAuth 1.0 authentication with the requests module which is required for this API.

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

The AUTH constant needs to be used in the request.
The real problem is that at 5000 requests per month, this script will take a more than 2 years to finish running. (I.e., you're looping through all collections, and there are 2366 * 50 = 118300 collections).
Is there any other possible strategy? Is there any other way to split up the icons?
Otherwise, I don't think we'll be able to use the Noun Project without getting that limit raised.

I did estimate that the current form of the script would take 2 years to cover the whole collection. I tried to look for other strategies but nothing came up. The API allows to loop over each collection or each icon. I could not find any other way.
Thank You!

@dravadhis In that case, I'll have to mark this blocked until we talk with them about raising the limit.


Design: Global Settings

New product within UI, perhaps called "System Settings" or "Global Settings"
Two components to appear in the left nav: Feature Flags & Advanced Settings
Existing JSON and user controls in the Ember UI that can be copied over.

https://xd.adobe.com/view/35383839-e940-47ed-8906-f69dbb58e331-606b/

https://xd.adobe.com/view/35383839-e940-47ed-8906-f69dbb58e331-606b/


route53_record support for multiple zone_id's

Cookbook version
8.2.0
Chef-client version
15.8.32
Platform Details
Redhat 8
Scenario:
We have two route53 hosted zones. One zone contains only IP addresses that are internet routable. We have a second zone that contains only private IP addresses. We have a use case where a chef node needs to update both zones. The two zones are identical in name (e.g., hosted zone name for internal view and external view are both x.y.z.. The only difference is the Zone ID and the IP addresses passed by the value property. This EC2 node has an EIP and a private IP address assigned to it.
Steps to Reproduce:
   domain_name = 'x.y.z.'
   dns_values = {
       'ZONEID1' => '<IP_ADDRESS>',
       'ZONEID2' => '<IP_ADDRESS>'
   } # these are fake, duh

   dns_values.each do |zone, ip|
        route53_record "#{hostname}.#{domain_name}" do
          value ip
          type 'A'
          ttl 300
          zone_id zone
          overwrite true
          action :create
        end
  end

We know about resource cloning and the problem with that, so obviously, the above code will throw an error. However, we can find no way that a different resource name can be given. I think if there was a record_name property added to this resource that would default to the resource name, it would solve our problem.
Expected Result:
Support a way to update similar records in both zones
Actual Result:
today, we could end up with cloned chef resources instead.
         aws_route53_record[ingest.x.y.z]
         aws_route53_record[ingest.x.y.z]

This issue has been closed with the merge of #415


How to change items for gambling?

I'd like to change items for gambling, now char is buying circlet amus and rings.
How to disable circlets? Can't find where it is, anyone could help?

While that setting is not exposed to GUI, you can modify it in the characters config directly, see: https://github.com/hectorgimenez/koolo/blob/67b8becf4df0027962604806a86ba8858e46b3ab/config/template/config.yaml#L176

Thanks mate, now you helped me 🙂


Bottom navigation elevation

There is no way to configure elevation of Bottom Navigation since Odyssey library code passes no value in BottomBarNavigotor.kt line 60. (v 1.0.0)
BottomNavigation(             backgroundColor = bottomNavConfiguration.backgroundColor         )
Thus androidx's composable BottomNavigation takes default value from BottomNavigationDefaults.Elevation = 8.dp
Please add possibility to change bottom navigation elevation.

Fixed in 1.0.1


[nrf_noup]: Disable loading of Kconfig.tls-generic

-Has unsupported TLS configurations (TLS 1.0, 1.1)
-Collides with PSA configurations
-Converted Zephyr configuration MBEDTLS_TLS_VERSION_1_2
to standardized configuration MBEDTLS_SSL_PROTO_TLS1_2
-Disabled Kconfig.tls-generic specific configurations in zephyr
-Disabled usage of MBEDTLS_BUILTIN
ref: NCSDK-13503
Signed-off-by: Frank Audun Kvamtrø<EMAIL_ADDRESS>

@frkv : Ping me when CI is green and I can review.

The commit message says:

-Disabled Kconfig.tls-generic specific configurations in zephyr
-Disabled usage of MBEDTLS_BUILTIN

and there is a reference to NCSDK-13503.
But from this commit message and the referenced task I still don't understand why this is needed ?
Exactly what is the issue you are trying to solve / what is breaking when Kconfig,tls-generic or MBEDTLS_BUILTIN is used.

@frkv I've already fixed https://github.com/nrfconnect/sdk-zephyr/pull/722 for existing patches, but it's [nrf noup] subsystem: blah blah blah, not [nrf_noup]: subsystem: blah blah blah; please fix

Addendum: that's why compliance is failing:

Run git config --global user.email<EMAIL_ADDRESS>origin	https://github.com/nrfconnect/sdk-zephyr (fetch)
origin	https://github.com/nrfconnect/sdk-zephyr (push)
a6068a8cb7 [nrf_noup]: Disable configurations in Kconfig.tls-generic
Sauce tag missing

Not sure how the other patches in main were merged in the first place

The commit message says:

-Disabled Kconfig.tls-generic specific configurations in zephyr
-Disabled usage of MBEDTLS_BUILTIN

and there is a reference to NCSDK-13503.
But from this commit message and the referenced task I still don't understand why this is needed ?
Exactly what is the issue you are trying to solve / what is breaking when Kconfig,tls-generic or MBEDTLS_BUILTIN is used.

You forgot to put this bullet-point:
-Collides with PSA configurations
I can flesh this out more properly in the commit message as I'm doing some cleanup

@tejlmand : Interesting approach Torsten. But I don't understand how we would
conditionally disable the mbedtls kconfig.
Could you write a quick patch to demonstrate?
IMHO the patchset here is clean enough for the release, and the noups should be removed
after release. Possibly with Torsten's suggestion.
But that's not really my call.

If the Zephyr mbedTLS Kconfig is causing conflict with nRF Security, then why don't we completely disable the upstream mbed TLS Kconfig when nRF Security is in use ?
mbedTLS uses kconfig-ext: True here: https://github.com/nrfconnect/sdk-mbedtls/blob/68dfba636301bd618bc9b5c1a946f358ad8714ee/zephyr/module.yml#L3
As nrf comes first in the MODULE_EXT_ROOT, we can have our own mbedTLS Kconfig, and then source the upstream version when CONFIG_NRF_SECURITY=n, siimilar to what we do in TF-M here: https://github.com/nrfconnect/sdk-nrf/blob/51b5383b2cf3dbf9ab51cca4177a59f0b73bfc71/modules/trusted-firmware-m/Kconfig#L44-L52
This means we are in complete control on when upstream mbed TLS kconfig is available, without adding [nrf noup] patches.
Has such strategy been considered ? If it has, what were the shortcommings in this case ?

Given the short timing of this, and to keep the information going, This is added to a task to be handled after RC-1 tagging
ref: NCSDK-13734
All my efforts trying to do what you suggest gave med dependency loops on colliding configurations

All my efforts trying to do what you suggest gave med dependency loops on colliding configurations

This is probably because with the new approach we would have some mbedtls Kconfig dependent on nrf_security whereas before they were not. For sure, it's a big job to make the whole mbedtls dependent on nrf_security.
But we should still try to remove the noup (after release).

@tejlmand : Interesting approach Torsten. But I don't understand how we would conditionally disable the mbedtls kconfig.
Could you write a quick patch to demonstrate?

Sure, like this:
https://github.com/tejlmand/fw-nrfconnect-nrf/commit/8e11261cc5b033f97fb4de41c307b8354afac625
Now, whenever Zephyr mbedTLS module is available, the Kconfig is sourced from sdk-nrf/modules/mbedtls/Kconfig.
And in there we can decide:

If / when Zephyr upstream kconfig should be used.
the if is in practive adding a depends on !NRF_SECURITY on all upstream symbols.
We can decide not to source upstream at all, and have everything controlled through our own Kconfig.
Note: doing so will of course require that we have symbols available which might be used in upstream prj.conf


Question: does BPNet code support any seq length?

Hi @jmschrei
does BPNet code support arbitrary sequence length?
https://github.com/jmschrei/bpnet-lite/blob/master/bpnetlite/bpnet.py

The BPNet model itself should work on any length. Pay attention to the trimming parameter, which specifies the difference between the input length and the output length (or, specifically, half that difference because it's the amount to trim off either side). However, I may have gotten lazy in other parts of the code-base and assumed 2114 input or 1000 output. Let me know if that's the case anywhere and I'll fix it.

Thanks for clarifying!
What are the requirements for the input sequence length? Can I change trimming to use 1000 input and 1000 output?

If you set trimming to 0 you should be able to use the same input and output length. However, you'll likely get worse predictions on the flanks because they can't see their full contexts.

I would like to use this as a bias model - how much context does the bias model need to see?

Usually, the bias model is given far less context so that it does not inadvertently learn complex rules. We usually use a model with four layers, so the residual layers aggregate 2**4 nucleotides after the first layer.

Thanks for clarifying! Trimming 16/2 nucleotides probably doesn't matter too much.
What are the bias model first layer filter size and FCLayers dimensionality?

Look through this example specification: https://github.com/jmschrei/bpnet-lite/blob/master/example_jsons/chrombpnet_pipeline_example.json

I am not sure where I should looks for a full list of bias model parameters. I see this https://github.com/jmschrei/bpnet-lite/blob/master/example_jsons/chrombpnet_pipeline_example.json#L34-L41 but it only mentions the number of layers.

Also interesting to see that BPNet doesn't use any normalisation layers (eg LayerNorm/BatchNorm). I wonder if not using those normalisation layers is a pre-requisite for learning TF concentration-dependent effects.

The bias model is just a BPNet model so you can use any of the parameters in https://github.com/jmschrei/bpnet-lite/blob/master/example_jsons/bpnet_fit_example.json
I'm not sure how normalization would relate to learning TF concentration-dependent effects. Presumably, that's static in each experiment.

Presumably, that's static in each experiment.

This makes sense. How do you motivate not using normalisation?

Presumably, the motivation is that adding it in didn't help, empirically, and keeping the model conceptually simpler can help with interpretation.

Makes sense!
Looking at the file with options:

max_jitter - Which values do you recommend using? I see a pretty large value of 128 compared to Basset default of 3.
reverse_complement - do you have strong arguments against adding results of scanning forward & reverse complement in favour of random RC input?

I'd recommend having it be as large as possible while still capturing the peak. Basset would have benefitted from a larger jitter because it had position dependence in the model through the use of dense layers. BPNet is much more resistant to this because it only uses convolution layers.

https://www.biorxiv.org/content/10.1101/103663v1 suggests the best approach is to train the model and then, at inference time, scan both. I don't think it matters too much though.

Do you mean that BPNet should in principle works as well with a smaller shift?

I saw the paper - however, I have to use the summation strategy in the rest of the model - so the question is whether the bias model should be similarly trained.

Many of the choices for BPNet were done on a small number of ChIP-nexus data sets. I don't think we've rigorously tested each decision by, for example, looking at performance with different jitters. I think that jittering helps BPNet but don't have more than just that intuition.

The bias model and subsequently the full ChromBPNet model should be trained by randomly RCing input. If you want to force outputs to be identical across strands then, at inference time, you run a sequence and its RC through the entire model (bias and accessibility) and aggregate.

I see. I observed that 3bp jittering helps cell2state compared to no jittering. I will test 100bp jittering.

I see what you mean. I would like to use BPNet as a bias model but the biological model is very different. I am using parameter-sharing architecture in cell2state CNN because refererence-based TF motifs will be only recognised in either RC or FW so the model has to look at both directions and aggregate. As far as I understand, random RC forces the model to learn both FW and RC forms of the TF motifs (or in this case bias motifs) - does this map to your intuition? The main question is whether it's fine to randomly RC input for the bias model but use both FW/RC for the biological model.

Randomly RCing encourages the model to learn motifs in both directions but there's no guarantee that it learns the same effect in both directions, even though biologically that's plausible. There have been RARE cases where it learns a motif in one direction and not in the other, but this is usually only when there are not a lot of binding sites.
I'm not sure I understand how you're training your biological model. Are you training it jointly with a frozen pre-trained bias model? I guess my feeling is that both should be trained the same way. If you end up doing parameter sharing with your model, you should train the bias model with parameter sharing. Otherwise, it might learn some weird effects. Unfortunately, parameter sharing is not implemented in bpnet-lite.

I see. Not learning a motif in both directions makes sense.
Also makes sense to train both models with parameter sharing. The bpnet-lite code helps a lot with understanding the architecture. I will try implementing parameter sharing but I am not sure I fully understand how to do that for layer 2+. My biological architecture uses just one CNN layer, scans forward DNA with FW filter, then with RC filter (simply swap complementary nucleotides and flip width axis), applies Exp activation to each, and then adds the result of scanning with FW/RC. Does the same operation happen in all subsequent layers?

If you want to do parameter sharing I'd recommend having a wrapper that takes in a normal model, runs your sequence through it, then runs the RC'd sequence through it, and then flips the output from the RC'd sequence and averages it. No need to modify the underlying model.

Thanks for this suggestion @jmschrei! This certainly simplifies the implementation.
Didn't Anshul's group previously show that this kind of conjoining during training is worse than both conjoining during evaluation and a model that correctly accounts for the symmetries in every layer?

Actually, this won't work because for forward and RC sequences to give the same results, the model needs to represent both the forward and RC versions of each TF motif:
-A>
<A-
Which is fine if you train a CNN de-novo but not fine if you use TF motifs as first layer CNN weight priors.


[BEAM-7390] Add code snippet for GroupByKey

Adding the code snippet for GroupByKey.
R: @aaltay

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run Portable_Python PreCommit

Run Portable_Python PreCommit

Run Python PreCommit

Could you ping me once tests pass?

@aaltay Tests are passing now :)


Add a script to find slow routes from CloudWatch logs

This is a pretty hacky script that downloads a week's worth of logs from
CloudWatch and then tries to find the 90th percentile of slowest routes.

As a hacky script for ad-hoc digging into things this seems fine to me :+1:


Support more views in Fiber renderers

This adds support for the following Views in the Fiber renderers, along with Layout implementations to support dynamic layout:

Link
Grid
Lazy*Grid
ScrollView
TextField

Snapshot tests still need to be added to compare layout with SwiftUI.

Does this still need review or is it blocked on other Fiber fix PRs / will need updating?


support additional view properties

Codecov Report
Base: 99.07% // Head: 99.07% // No change to project coverage :thumbsup:

Coverage data is based on head (e9c5282) compared to base (7f15c2d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #108   +/-   ##
=======================================
  Coverage   99.07%   99.07%
=======================================
  Files          72       72
  Lines        1301     1301
  Branches      201      201
=======================================
  Hits         1289     1289
  Misses         12       12

Impacted Files
Coverage Δ

src/RMap.tsx
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


python310Packages.xformers: 0.0.20 -> 0.0.21

Description of changes
update xfomers and fix the build.
Somehow the build was broken when I tried to use it.
Things done

Built on platform(s)

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 250930 run on x86_64-linux 1

4 packages built:

python310Packages.xformers
python310Packages.xformers.dist
python311Packages.xformers
python311Packages.xformers.dist


MERC-1175 IE/edge product options fix

Same PR that was reverted https://github.com/bigcommerce/stencil/pull/847 but with the bug fix
@bc-ong @bc-ranji

@sherrybc @bc-ong

:+1:

💚


Issuse: Atribute panel no showing parent select

First of all thx for the code :)
When the custom post is created i can´t get the hierarchy to work properly.

The 'Parent' select does not show up ( And yes, i do have more than one post of the same post-type )

Thanks for all.

I've just run a couple of test cases and managed to get it working.
It would be good if you could show some code, just to double check what you've done.
From your screenshots it seems though you have set most thing setup correctly, but as a starting point, things I usually get wrong when trying to get the post parent to work:

spelling hierarchical wrong
making sure that page-attributes is in the supports array
having at least 1 post published (to be able to select a parent)

If you could drop in the code you've used just so I can get a better idea of whats going on that would be great, thanks
:)

Hi Joe.
This is the code
$master = new CPT(
array(
'post_type_name' => 'masters',
'singular'       => __( 'Master', 'ide' ),
'plural'         => __( 'Masters', 'ide' ),
'slug'           => 'masters'
),
array(
'supports'  => array( 'title', 'editor', 'thumbnail', 'excerpt',
'custom-fields', 'comments', 'page-attributes' ),
'menu_icon' => 'dashicons-portfolio'
)
);
$master -> register_taxonomy(
array(
'taxonomy_name' => 'masters_tags',
'singular'      => __( 'Master Tag', 'ide-cesem' ),
'plural'        => __( 'Masters Tags', 'ide-cesem' ),
'slug'          => 'masters-tag'
)
);
and yes i have more than one post.
Thanks for taking some time to help me out.
2015-09-14 12:04 GMT+02:00 Joe Grainger<EMAIL_ADDRESS>
I've just run a couple of test cases and managed to get it working.
It would be good if you could show some code, just to double check what
you've done.
From your screenshots it seems though you have set most thing setup
correctly, but as a starting point, things I usually get wrong when trying
to get the post parent to work:

spelling hierarchical wrong
making sure that page-attributes is in the supports array
having at least 1 post published (to be able to select a parent)

If you could drop in the code you've used just so I can get a better idea
of whats going on that would be great, thanks
:)
—
Reply to this email directly or view it on GitHub
https://github.com/jjgrainger/wp-custom-post-type-class/issues/45#issuecomment-140026451
.

Thanks,
could you try adding modifying the second array in the CPT call to...
array(
    'supports'  => array( 'title', 'editor', 'thumbnail', 'excerpt',
    'custom-fields', 'comments', 'page-attributes' ),
    'menu_icon' => 'dashicons-portfolio',
    'hierarchical' => true // just the addition of this
)

Let me know if that helps,
Thanks :)

i´ve changed the code as u suggested and still the same, no parent selector
shows up.
$master = new CPT(
array(
'post_type_name' => 'masters',
'singular'       => __( 'Master', 'ide' ),
'plural'         => __( 'Masters', 'ide' ),
'slug'           => 'masters'
),
array(
    'supports'  => array( 'title', 'editor', 'thumbnail', 'excerpt',

'custom-fields', 'comments', 'page-attributes' ),
'menu_icon' => 'dashicons-portfolio',
'hierarchical' => true // just the addition of this
)
);
$master -> register_taxonomy(
array(
'taxonomy_name' => 'masters_tags',
'singular'      => __( 'Master Tag', 'ide-cesem' ),
'plural'        => __( 'Masters Tags', 'ide-cesem' ),
'slug'          => 'masters-tag'
)
);
2015-09-14 12:25 GMT+02:00 Joe Grainger<EMAIL_ADDRESS>
Thanks,
could you try adding modifying the second array in the CPT call to...
array(    'supports'  => array( 'title', 'editor', 'thumbnail', 'excerpt',    'custom-fields', 'comments', 'page-attributes' ),     'menu_icon' => 'dashicons-portfolio',    'hierarchical' => true // just the addition of this)
Let me know if that helps,
Thanks :)
—
Reply to this email directly or view it on GitHub
https://github.com/jjgrainger/wp-custom-post-type-class/issues/45#issuecomment-140029982
.

It works!!! 😁
Ok the FTP didn´t upload the file properly, my mistake.
Thank u so much for the help.
2015-09-14 12:30 GMT+02:00 Raul Gomez<EMAIL_ADDRESS>
i´ve changed the code as u suggested and still the same, no parent
selector shows up.
$master = new CPT(
array(
'post_type_name' => 'masters',
'singular'       => __( 'Master', 'ide' ),
'plural'         => __( 'Masters', 'ide' ),
'slug'           => 'masters'
),
array(
    'supports'  => array( 'title', 'editor', 'thumbnail', 'excerpt',

'custom-fields', 'comments', 'page-attributes' ),
'menu_icon' => 'dashicons-portfolio',
'hierarchical' => true // just the addition of this
)
);
$master -> register_taxonomy(
array(
'taxonomy_name' => 'masters_tags',
'singular'      => __( 'Master Tag', 'ide-cesem' ),
'plural'        => __( 'Masters Tags', 'ide-cesem' ),
'slug'          => 'masters-tag'
)
);
2015-09-14 12:25 GMT+02:00 Joe Grainger<EMAIL_ADDRESS>
Thanks,
could you try adding modifying the second array in the CPT call to...
array(    'supports'  => array( 'title', 'editor', 'thumbnail', 'excerpt',    'custom-fields', 'comments', 'page-attributes' ),     'menu_icon' => 'dashicons-portfolio',    'hierarchical' => true // just the addition of this)
Let me know if that helps,
Thanks :)
—
Reply to this email directly or view it on GitHub
https://github.com/jjgrainger/wp-custom-post-type-class/issues/45#issuecomment-140029982
.

No worries!
:)


filter-state: trigger ENVOY_BUG instead of throw to avoid crashing

Commit Message: Previously, an API error around filter-state (by double-setting a read-only key, or setting data with different scopes) would result in an exception being thrown, which would most commonly result in Envoy crashing.
Switch this to ENVOY_BUG, so that the API mis-use can be noticed, but without crashing the process.
This more closely aligns with Envoy's policy of not using exceptions in the data path: filter state is set almost exclusively in the request process path.
Additional Description:
Risk Level: Low
Testing: Tests adjusted
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

/retest


Password type

I downloaded the example and run it but I can see the password. I want to see as stars (*****).
How can I do it?

write this to the end of  FormElementTextPasswordViewHolder contructor:
mEditTextValue.setTransformationMethod(new PasswordTransformationMethod());

Is it working? how to implement it?

yes it works fine. You can follow the steps in the installation guide or you can download and add it as a library if you want to customize it.


Adding tests for wat compatibility

We would like to validate that the wat output generated by the wasmparser is wat compatible for DevTools.
Would it make sense to you to include running wat2wasm's parseWat for validation? At the moment parseWat is already used in some tests in test.ts to generate the wasm binary, before disassembling it again and testing the output.
An option would be to run parseWat on the test/*out files and confirm that no error was thrown. However, in this case a few out files (4 in total, if pull request #32 is accepted) need to be excluded, as wat2wasm in some cases requires different wat format, although the format in the wasmparser is valid according to the specification (e.g. because of different naming of operators for SIMD -- i32.atomic.rmw8.add_u vs i32.atomic.rmw8_u.add, etc.). It would also be possible to adapt the output to be completely compatible with wat2wasm.
What do you think?

I'd vote for wasmparser to be 100% compatible with wabt.

wasmparser should follow the spec, which was changed to use the i32.atomic.rmw8.add_u names. wabt also follows this spec, and is already updated for the new names, so this will be compatible.
Note that https://webassembly.github.io/threads/ still uses the i32.atomic.rmw8_u.add names; I filed https://github.com/WebAssembly/threads/issues/152 for that.

Thanks Benedikt and Dan for the comments!
Dan, thanks for linking the updated threads spec.
Following these specs (threads,  bulk-memory, and core spec) there seem to be a few things that are different in the wasmparser:

using i32.atomic.rmw8.add_u
table.copy arguments
table.init arguments
elem arguments (this might require a bigger change)

I'll have a look into these issues.

Thanks Benedikt and Dan for the comments!
Dan, thanks for linking the updated threads spec.
Following these specs (threads, bulk-memory, and core spec) there seem to be a few things that are different in the wasmparser:

[ ]  using i32.atomic.rmw8.add_u
[ ]  table.copy arguments
[ ]  table.init arguments
[ ]  elem arguments (this might require a bigger change)

I'll have a look into these issues.

@ktran What's about "elem arguments"? Could you elaborate :)

My comment on elem does not seem to be up to date anymore; it happened when parsing the memory_bulk.0.wasm file, which seems fine now.

My comment on elem does not seem to be up to date anymore; it happened when parsing the memory_bulk.0.wasm file, which seems fine now.

No worries. I think all the issues here are resolved now :)


error iboot64patcher

how to fix this issue?
“iBoot64Patcher” is damaged and can’t be opened. You should move it to the Trash.

damn, weird that github didn't notify me, sorry for that long, is your pc a macbook m1 upper ?


A '$' in the staging key prevents the hop stager to negotiate

Empire Version
Empire 1.5
OS Information (Linux flavor, Python version)
Debian 8.5 (amd64)
Python 2.7.9
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.

Setup Empire and have the bad luck that the generated default staging key contains the '$' (dollar sign) character.
Setup a native listener
Setup a hop listener having the ''RedirectTarget'' option set to the previously setup native listener
Place hop.php in web server
Generate launcher for ''hop'' listener
Execute it in the target windows host

After a little time the agent should became active but instead nothing happens. Running in debug mode the following messages are shown:
 HttpHandler : [*] /index.asp?<removed hash> requested from None at <removed IP>
 Agents : [*] Sending stager (stage 1) to <removed IP>
 HttpHandler : [*] Post to /index.jsp?<removed hash> from <removed name> at <removed IP>
 Agents : [*] Agent <removed> from <removed IP> posted to public key URI
 Agents : [!] Invalid key post format from <removed name>
----------------------------------------
Exception happened during processing of request from ('<removed IP>', <removed port>)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "/home/test/Empire-1.5/lib/common/http.py", line 119, in do_POST
    (code, responsedata) = self.server.agents.process_post(self.server.server_port, clientIP, sessionID, resource, postData)
TypeError: 'NoneType' object is not iterable
----------------------------------------
 HttpHandler : [*] Post to /index.php?<removed hash> from <removed name> at <removed IP>
 Agents : [!] Agent <removed> posted sysinfo without initial checkin`

Any additional information
The issue seems to be in the stager_hop.ps1 file that has double quotes to hold the key, that does variable replacement. Instead the stager.ps1 does not have this issue.
--- a/Empire-1.5/data/agent/stager_hop.ps1   2016-03-31 18:34:46.000000000 -0300
+++ b/Empire-1.5/data/agent/stager_hop.ps1        2016-08-17 18:13:47.267027657 -0300
@@ -105,4 +105,4 @@

     # TODO: remove this shitty $server logic
     Invoke-Empire -Servers @(($s -split "/")[0..2] -join "/") -SessionKey $key -SessionID $ID -Epoch $epoch;
-} Start-Negotiate -s "REPLACE_SERVER" -SK "REPLACE_STAGING_KEY" -UA $u;
+} Start-Negotiate -s "REPLACE_SERVER" -SK 'REPLACE_STAGING_KEY' -UA $u;

So the default staging keys in master don't include '$' https://github.com/PowerShellEmpire/Empire/blob/master/setup/setup_database.py#L20, so unsure as to how that got in. As far as the hop.php code goes, it's being simplified in the 2.0 rewrite, which will be out in a few weeks at DerbyCon.

@scufre this will no longer be an issue in Empire 2.0 as the '$' is no longer included in the character set for generation of the StagingKey.


service: ensure environment variables are strings

[x] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Review period will end on 2021-05-25 at 00:00:00 UTC.

Can you mention what issue this is solving? Not entirely sure what error this was causing before.

The issue is represented in the test block. If you used a pathname in a variable it would render in the plist as "data" instead of the path as a string.

Oh right, I see we do StandardOutPath etc string conversion earlier. That's what confused me - I thought it was dealing with Pathname find there.

Would it make sense to make to do @environment_variables = variables.transform_values(&:to_s) on line 108 instead, for consistency? Doesn't really matter much though.

I think we can

Review period ended.

Typecheck is not happy and I'm not sure why

Seems to think it could be nil here but it can’t. Could make wrap it as T.must(variables).transform_values(...

Seems to think it could be nil here but it can’t. Could make wrap it as T.must(variables).transform_values(...

I think this class has equal parts Sorbet and normal code... Okay, I'll try. I have to rebase anyway

Since it hash an empty hash as fallback I guess it simply can't be null


[web] White screen and error in console when running Flutter for Web app

Steps to Reproduce

Migrate to Flutter master
Create new Flutter project using flutter create
Start app in Chrome using flutter run -d chrome
Open developer tools and view console

Console Log
Uncaught (in promise) TypeError: Cannot read property 'hash' of undefined
    at HashLocationStrategy.get path [as path] (browser_location.dart:94)
    at _engine.BrowserHistory.new.get currentPath [as currentPath] (history.dart:56)
    at _engine.BrowserHistory.new.[_setupStrategy] (history.dart:164)
    at _engine.BrowserHistory.new.set locationStrategy [as locationStrategy] (history.dart:51)
    at _engine.EngineWindow.new.set locationStrategy [as locationStrategy] (window.dart:81)
    at webOnlyInitializePlatform (initialization.dart:12)
    at webOnlyInitializePlatform.next (<anonymous>)
    at runBody (async_patch.dart:84)
    at Object._async [as async] (async_patch.dart:123)
    at Object.webOnlyInitializePlatform (initialization.dart:8)
    at main$ (main_web_entrypoint.dart:7)
    at main$.next (<anonymous>)
    at runBody (async_patch.dart:84)
    at Object._async [as async] (async_patch.dart:123)
    at main$ (main_web_entrypoint.dart:5)
    at Function.call$0 (client.js:27433)
    at client.js:26055
    at _wrapJsFunctionForAsync_closure.$protected (client.js:3110)
    at _wrapJsFunctionForAsync_closure.call$2 (client.js:11704)
    at Object._asyncStartSync (client.js:3075)
    at main__closure3.$call$body$main__closure (client.js:26063)
    at main__closure3.call$1 (client.js:25993)
    at StaticClosure._rootRunUnary [as call$2$5] (client.js:3393)
    at _CustomZone.runUnary$2$2 (client.js:13083)
    at _CustomZone.runUnaryGuarded$1$2 (client.js:13011)
    at _ControllerSubscription._sendData$1 (client.js:12564)
    at _DelayedData.perform$1 (client.js:12771)
    at _StreamImplEvents.handleNext$1 (client.js:12845)
    at _PendingEvents_schedule_closure.call$0 (client.js:12817)
    at Object._microtaskLoop (client.js:3253)
    at StaticClosure._startMicrotaskLoop (client.js:3259)
    at _AsyncRun__initializeScheduleImmediate_internalCallback.call$1 (client.js:11580)
    at invokeClosure (client.js:1206)
    at MutationObserver.<anonymous> (client.js:1225)
    get path | @ | browser_location.dart:94
  | get currentPath | @ | history.dart:56
  | [_setupStrategy] | @ | history.dart:164
  | set locationStrategy | @ | history.dart:51
  | set locationStrategy | @ | window.dart:81
  | webOnlyInitializePlatform | @ | initialization.dart:12
  | runBody | @ | async_patch.dart:84
  | _async | @ | async_patch.dart:123
  | webOnlyInitializePlatform | @ | initialization.dart:8
  | main$ | @ | main_web_entrypoint.dart:7
  | runBody | @ | async_patch.dart:84
  | _async | @ | async_patch.dart:123
  | main$ | @ | main_web_entrypoint.dart:5
  | Function.call$0 | @ | client.js:27433
  | (anonymous) | @ | client.js:26055
  | (anonymous) | @ | client.js:3110
  | call$2 | @ | client.js:11704
  | _asyncStartSync | @ | client.js:3075
  | $call$body$main__closure | @ | client.js:26063
  | call$1 | @ | client.js:25993
  | _rootRunUnary | @ | client.js:3393
  | runUnary$2$2 | @ | client.js:13083
  | runUnaryGuarded$1$2 | @ | client.js:13011
  | _sendData$1 | @ | client.js:12564
  | perform$1 | @ | client.js:12771
  | handleNext$1 | @ | client.js:12845
  | call$0 | @ | client.js:12817
  | _microtaskLoop | @ | client.js:3253
  | _startMicrotaskLoop | @ | client.js:3259
  | call$1 | @ | client.js:11580
  | childList (async) |   |
  | call$1 | @ | client.js:11590
  | _scheduleAsyncCallback | @ | client.js:3272
  | _rootScheduleMicrotask | @ | client.js:3437
  | scheduleMicrotask | @ | client.js:3300
  | schedule$1 | @ | client.js:12806
  | _addPending$1 | @ | client.js:12555
  | _sendData$1 | @ | client.js:12365
  | add$1 | @ | client.js:12260
  | _onIncomingMessage$1 | @ | client.js:25615
  | eval | @ | VM72:3
  | invokeClosure | @ | client.js:1206
  | (anonymous) | @ | client.js:1225
  | Show 35 more frames

flutter doctor -v
[✓] Flutter (Channel master, v1.10.5-pre.24, on Mac OS X 10.14.5 18F132, locale en-US)
    • Flutter version 1.10.5-pre.24 at /Users/klavergne/Documents/dev/flutter
    • Framework revision ea7876ae82 (3 hours ago), 2019-09-19 07:46:50 -0700
    • Engine revision 1cada0a6dc
    • Dart version 2.6.0 (build 2.6.0-dev.0.0 ea969c358e)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/klavergne/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.5

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

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 37.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

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

[✓] Connected device (3 available)
    • iPhone Xʀ • 8E59914C-6EE3-4892-BEA5-038A2F801AC7 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-12-4
      (simulator)
    • Chrome    • chrome                               • web-javascript • Google Chrome 77.0.3865.90
    • Server    • web                                  • web-javascript • Flutter Tools

• No issues found!

cc @yjbanov @mdebbar

Same here, Windows 10.
I created a similar issue #40879 but I closed it.

And some similar bug reports in #40531.

https://github.com/flutter/flutter/pull/40824 It seems like the regression happens from this commit onwards.

Same error on the master channel. Error does not appear on the dev channel.

Same here, Windows 10.
[√] Flutter (Channel master, v1.10.6-pre.19, on Microsoft Windows [Version 10.0.18362.356], locale zh-CN)
    • Flutter version 1.10.6-pre.19 at C:\Temp\Android\flutter
    • Framework revision ec07e039c2 (2 hours ago), 2019-09-19 21:37:41 -0400
    • Engine revision 70f21b0edb
    • Dart version 2.6.0 (build 2.6.0-dev.1.0 7c1821c4aa)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Temp\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-Q, build-tools 28.0.3
    • ANDROID_HOME = C:\Temp\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] IntelliJ IDEA Ultimate Edition (version 2017.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.5
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700

[√] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is localhost,<IP_ADDRESS>
    • NO_PROXY contains <IP_ADDRESS>
    • NO_PROXY contains localhost

[√] Connected device (2 available)
    • Chrome • chrome • web-javascript • Google Chrome 77.0.3865.90
    • Server • web    • web-javascript • Flutter Tools

• No issues found!

Create a web application using flutter but with a blank screen

Create a web application using flutter but with a blank screen #40876

I was working on web application it was working fine, when i upgrade flutter to Flutter 1.10.6-pre.19 version it's just a blank screen now

I have a same bug;
[+1948 ms] Failed to load asset at path:
packages/build_web_compilers/src/dev_compiler/dart_sdk.js.

I have the same bug.
I am running under Linux (Ubuntu 18.04).
`
[✓] Flutter (Channel master, v1.10.6-pre.19, on Linux, locale fr_FR.UTF-8)
• Flutter version 1.10.6-pre.19 at /home/X/X/flutter
• Framework revision ec07e039c2 (il y a 11 heures), 2019-09-19 21:37:41 -0400
• Engine revision 70f21b0edb
• Dart version 2.6.0 (build 2.6.0-dev.1.0 7c1821c4aa)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/X/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /usr/local/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Android Studio (version 3.5)
• Android Studio at /usr/local/android-studio
• Flutter plugin version 38.2.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (2 available)
• Chrome • chrome • web-javascript • Google Chrome 77.0.3865.75
• Server • web    • web-javascript • Flutter Tools
• No issues found!
`

If you have the same bug, you can just thumbs up this issue 👍🏼

I had today the same problem after upgrading master to latest version v1.10.6-pre.19

Bisected this to a Dart SDK change: https://github.com/dart-lang/sdk/commit/ce6f40bccc5bd570ad516d266306f6c99e9e60f2
@vsmenon

Reverting the above for now: https://dart-review.googlesource.com/c/sdk/+/118261

Same error on the master channel. Error does not appear on the dev channel.

The same problem to me

Note, this should fixed on the next Dart roll.

Same problem here. Chrome and Windows 10

Same error , Win 10

Same error OsX and Chrome

same problem on windows 10,
fixed when i change it to dev channel,
flutter channel dev
flutter upgrade
flutter run -d chrome
Thanks @asmallkite

the same problem

Hey guys we know the problem and a fix is on the way.

same problem here :/

Same here :/

same here...

Web variant works fine for dev channel. You may want to switch flutter channel to dev:
flutter channel dev
flutter upgrade
flutter run -d chrome

However, there are 2 issues in dev channel as well:

It throws following exception in console (chrome's):

pointer_binding.dart:85 Uncaught TypeError: t129.onPointerDataPacket is not a function
    at _engine.PointerBinding.new.[_onPointerData] (pointer_binding.dart:85)
    at pointer_binding.dart:207
    at HTMLElement.<anonymous> (pointer_binding.dart:143)

Wouldn't work for native. Check this issue for details.

It throws following exception in console (chrome's):

@ptyagicodecamp this is an unrelated issue that's being fixed here.

Web variant works fine for dev channel. You may want to switch flutter channel to dev:
flutter channel dev
flutter upgrade
flutter run -d chrome

However, there are 2 issues in dev channel as well:

It throws following exception in console (chrome's):

pointer_binding.dart:85 Uncaught TypeError: t129.onPointerDataPacket is not a function
    at _engine.PointerBinding.new.[_onPointerData] (pointer_binding.dart:85)
    at pointer_binding.dart:207
    at HTMLElement.<anonymous> (pointer_binding.dart:143)

Wouldn't work for native. Check this issue for details.

Two other issues that I mentioned were not related to this particular problem. Switching to dev channel fixed the White screen issue for me.

It throws following exception in console (chrome's):

@ptyagicodecamp this is an unrelated issue that's being fixed here.

Thanks for confirming that.

This seems to be resolved now on the master branch 🚀. I created a fresh project and ran flutter run -d chrome and didn't hit any issues.

Original dart PR was reverted, engine updated and engine rolled into flutter.

still having the same issue in the master while dev is working fine.
Flutter (Channel master, v1.10.6-pre.49, on Microsoft Windows [Version 10.0.18362.356], locale en-US)

The engine roll that reverted the dartsdk has been reverted due to ios32bit crash.
The fix will be reapply once the ios32 bit dart change is reverted and rerolled into flutter.

Status: We're waiting for a clean engine roll; no work needs to be done specifically here.

I am on channel master, windows 10, I am facing the same problem
Channel master v1.10.6-pre.25

I too am facing this issue of Flutter 1.10.15-pre.338

Still facing the issue, on Flutter (Channel master, v1.10.17-pre.70, on Microsoft Windows [Version 10.0.18362.418], locale en-US)
The blank screen only appears in web build using flutter build web, debug works just fine.

@praharshbhatt Your issue does not seem related to the original issue. In your case it seems you are attempting to run the app by opening it from the file system (as shown by the file:/// URLs), and the CORS policy blocks all XHRs (in fact XHRs cannot possibly succeed without a server). We do not support this mode. You need a local server to serve the app from. For development you can use flutter run -d chrome. For deployment any popular HTTP server should work, including static site hosting, such as Firebase.

same here on the latest Flutter Beta channel. No errors just blank white screen.

@nemoryoliver You may want to file a new issue, as it probably has a different cause.

@nemoryoliver please file a new issue and include some details of what you are seeing (e.g. console output, terminal output, flutter doctor -v output, etc).

Hey, when I try on the emulator it builds the apk and runs ok.
When I try flutter run -d chrome builds the app and runs ok on chrome.
But when I try flutter run -d chrome --release then I get a white screen, with this error message in the console.
So I have the same problem with flutter build web, is there a way to use dardevc to run flutter build web
Uncaught Assertion failed
    at Object.f (http://localhost:51107/main.dart.js:1770:3)
    at Object.K (http://localhost:51107/main.dart.js:1776:23)
    at http://localhost:51107/main.dart.js:14902:3
    at a89.a (http://localhost:51107/main.dart.js:2685:71)
    at a89.$2 (http://localhost:51107/main.dart.js:22942:23)
    at Object.A (http://localhost:51107/main.dart.js:2672:19)
    at Object.DT (http://localhost:51107/main.dart.js:14921:10)
    at http://localhost:51107/main.dart.js:62620:8
    at http://localhost:51107/main.dart.js:62615:55
    at dartProgram (http://localhost:51107/main.dart.js:62618:84)

in js_helper.dart:1342
then I follow this source and this is the content.
Could not load content for org-dartlang-sdk:///sdk/lib/_internal/js_runtime/lib/js_helper.dart : HTTP status code: 404
Here is my flutter doctor -v output:
[√] Flutter (Channel beta, v1.12.13+hotfix.6, on Microsoft Windows [VersiÃ³n 10.0.18362.535], locale es-MX)
    • Flutter version 1.12.13+hotfix.6 at C:\tools\flutter\flutter
    • Framework revision 18cd7a3601 (32 hours ago), 2019-12-11 06:35:39 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at D:\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = D:\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[!] IntelliJ IDEA Ultimate Edition (version 2018.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.4
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[√] VS Code, 64-bit edition (version 1.40.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.7.1

[√] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.79
    • Web Server • web-server • web-javascript • Flutter Tools

@nemoryoliver please file a new issue and include some details of what you are seeing (e.g. console output, terminal output, flutter doctor -v output, etc).

It's is working fine on my mac, but I got this error when I visiting it on my server.All of content in dartlang-sdk is 404.

@nemoryoliver please file a new issue and include some details of what you are seeing (e.g. console output, terminal output, flutter doctor -v output, etc).

It's working fine on my mac, but I got this error when I visiting it on my server.All of content in dartlang-sdk is 404.I using the latest Flutter Beta channel.

I'm facing the very same error, works fine on debug. The error only occurs while in release mode

I'm getting the same issue. Debugging locally works perfectly fine, but then the app is built and run at codemagic's static pages, I can see only the blank screen.
== Flutter version ==
Flutter 1.15.3 • channel dev • https://github.com/flutter/flutter.git
Framework • revision 67826bdce5 (2 days ago) • 2020-02-10 14:59:32 -0800
Engine • revision 6158f03ef5
Tools • Dart 2.8.0 (build 2.8.0-dev.8.0 514a8d4c84)

@michalsurynt any errors in your browser's JS console?

Same recently tried flutter web and encountered this I've tried changing channels but still doesn't show. Please re-Open

hi getting the same error.
flutter channel dev
flutter upgrade
flutter run -d chrome

Work For Me. In master channel it still pending.

Hi, getting this error to. even when trying with channel dev, it does not work and I still got a blank page.

@Arcturus122 Are you using Firebase?

@Arcturus122 Are you using Firebase?

Yes I'm using Firebase.

@Arcturus122 Add the following to your index.html in your web/ folder
  <!-- The core Firebase JS SDK is always required and must be listed first -->
  <script src="https://www.gstatic.com/firebasejs/7.12.0/firebase-app.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.12.0/firebase-auth.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.12.0/firebase-firestore.js"></script>
  <script src="./init-firebase.js"></script>

Above your main.dart script
Then add the following file in the directory init-firebase.js
In that file you will need to add the config as well as initializing it.
var firebaseConfig = {
    apiKey: "",
    authDomain: "",
    databaseURL: "",
    projectId: "",
    storageBucket: "",
    messagingSenderId: "",
    appId: ""
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);

@TinusJ thank you very much it worked !

im not using firebase and still getting white screen when i use
flutter run -d web
and when i use
flutter run -d chrome
"Unable to connect to Chrome debug port: 55184
SocketException: OS Error: The remote computer refused the network connection.
, errno = 1225, address = localhost, port = 55189"
Any help would be truly appreciated

FIXED IT
switched to beta then back to dev using
flutter channel dev
flutter upgrade
then run via web
flutter run -d web

@HashemShepard I have done your steps but still getting white screen
ERROR SCREEN
pubspec.yaml
name: myapp
description: A new Flutter project.
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^0.1.3
  cloud_firestore: ^0.13.4+2

Body of index.html
<body>
  <!-- The core Firebase JS SDK is always required and must be listed first -->
  <script src="/__/firebase/7.13.1/firebase-app.js"></script>

  <!-- TODO: Add SDKs for Firebase products that you want to use
     https://firebase.google.com/docs/web/setup#available-libraries -->
  <script src="/__/firebase/7.13.1/firebase-analytics.js"></script>
  <script defer src="https://www.gstatic.com/firebasejs/7.13.1/firebase-firestore.js"></script>

  <!-- Initialize Firebase -->

  <script src="/__/firebase/init.js"></script>
  <!-- This script installs service_worker.js to provide PWA functionality to
       application. For more information, see:
       https://developers.google.com/web/fundamentals/primers/service-workers -->
  <script>
    if ('serviceWorker' in navigator) {
      window.addEventListener('load', function () {
        navigator.serviceWorker.register('flutter_service_worker.js');
      });
    }
  </script>
  <!-- Previously loaded Firebase SDKs -->

  <!-- ADD THIS BEFORE YOUR main.dart.js SCRIPT -->
  <script>
    // TODO: Replace the following with your app's Firebase project configuration.
    // See: https://support.google.com/firebase/answer/7015592
    var firebaseConfig = {
      // ... deleted lines for public access
    };
    // Initialize Firebase
    firebase.initializeApp(firebaseConfig);
  </script>
  <!-- END OF FIREBASE INIT CODE -->
  <script src="main.dart.js" type="application/javascript"></script>
</body>

[✓] Flutter (Channel dev, v1.16.4-pre.33, on Mac OS X 10.15.1 19B88, locale en-TR)
    • Flutter version 1.16.4-pre.33 at /Users/leventkantaroglu/Development/flutter
    • Framework revision aee9e94c21 (2 days ago), 2020-03-30 16:12:40 -0700
    • Engine revision c779894d08
    • Dart version 2.8.0 (build 2.8.0-dev.17.0 1402e8e1a4)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/leventkantaroglu/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B500
    • CocoaPods version 1.8.4

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

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 41.0.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[✓] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • Google Chrome 80.0.3987.149
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

Same issue: Chrome shows a blank page.
**Console shows below error : **

**Flutter doctor command shows : **

@Arcturus122 Add the following to your index.html in your web/ folder
  <!-- The core Firebase JS SDK is always required and must be listed first -->
  <script src="https://www.gstatic.com/firebasejs/7.12.0/firebase-app.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.12.0/firebase-auth.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.12.0/firebase-firestore.js"></script>
  <script src="./init-firebase.js"></script>

Above your main.dart script
Then add the following file in the directory init-firebase.js
In that file you will need to add the config as well as initializing it.
var firebaseConfig = {
    apiKey: "",
    authDomain: "",
    databaseURL: "",
    projectId: "",
    storageBucket: "",
    messagingSenderId: "",
    appId: ""
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);

^ this along with switching to the dev channel worked for me locally.
flutter channel dev
flutter upgrade
flutter run -d chrome


vmaFlushMappedAllocation[s]

vmaFlushMappedAllocation calls vkFlushMappedMemoryRanges. Why does it not allow you to pass a pointer to flush multiple allocations in a single call? Wouldn't it be more compact and would utilize vkFlushMappedMemoryRanges properly?

Thanks for the suggestion. I think it's a good idea. I will implement it when I find some time.


DOC or Blog: describe the detailed flow when 2 services talk to each other

It would be great if you guys described what exactly happens when 2 services are talking to each other; maybe in a deep dive blog linked from the docs (maybe from https://istio.io/docs/concepts/traffic-management/request-routing.html). What exactly happens at the IP / TCP level; e.g., which IPs are involved (either virtual ones or the IPs that the containers are assigned with), whether there is NAT, what kind of job do iptables do.
Starting with the DNS resolution when a service service-a queries another service-b or when it calls an IP of a certain POD.
I have so many questions in this regard. I expressed some of them in this other issue #928 . As you can see, I'm even confused with all the possible http response codes (e.g., 404, 431) I get when talking to other service.
(copied from https://github.com/istio/istio/issues/905#issuecomment-332440840) cc @stepanv

Good idea for a blog post.


spring boot 3.3.x compatible soring cloud release is not available

Is your feature request related to a problem? Please describe.
i am not able to use spring cloud with spring boot 3.3.x (3.3.0)
Describe the solution you'd like
CompatibilityVerifierAutoConfiguration needs to be changed.
Describe alternatives you've considered
compatibility check can be disabled, may be but appears risky..

Duplicates #286


Fix server errors on node information endpoints

Coverage decreased (-0.03%) to 88.578% when pulling 320190b772790c36018027d75ea691a4c963e759 on prevent-500-node-error into 85e001d7af57d18d275e41d7faada023d7d13a3a on master.


Q1-2018 changes

New frontend in React
Authentication, Roles and Permissions
Archive - Delete - Restore forms
New submissions filter

@smit1678 the current OMK-server version is 0.11.0. Should we jump to 1.0.0 version?

Should we jump to 1.0.0 version?

@willemarcel @mojodna Do we want to do that in this fork or do it once we merge back into master?

After we merge upstream. 1.0.0-hotosm would work in the meantime.
(It doesn't really matter, since it's not published to npm and the quay.io images are namespaced, but still, good practice.)


Adding Kenyon College Logo to Front Page Readme

Using new naming convention with doc/ prefix on branch. Will not pass until that other branch has merged.

Going to squash merge for now since it's just a documentation change, got approval, and we don't have the doc/ prefix github workflow merged into main yet but it's on a branch.


fixed several broken links

Broken links found by link checker.

This should go onto the 1.5 branch -> PR needs re-doing.

I missed that conversation.  Yes, ok.


chirp: 20180606 -> 20180611

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/chirp-daily/versions.
These checks were done:

built on NixOS
Warning: no invocation of /nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611/bin/.chirpw-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611/bin/chirpw had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 20180611 with grep in /nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611
directory tree listing: https://gist.github.com/c4bf3ab0db022bdfe692715110e6c3d6
du listing: https://gist.github.com/1c1987a895d93ba39651f4037e030aad

meta.description for chirp is: '"A free, open-source tool for programming your amateur radio"'.
cc @the-kenny for testing.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout e236a08942a3528c6ecfdc82745ddf6d6e655c91 && nix-shell --pure -I nixpkgs=. -p chirp

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: chirp
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: chirp
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611/bin
patching script interpreter paths in /nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611
/nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611/share/chirp/rpttool: interpreter directive changed from "/usr/bin/env python" to "/nix/store/6zmk1ankwbnydn447vnv8m3rqx8yjm6l-python-2.7.15/bin/python"
/nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611/share/chirp/chirpw: interpreter directive changed from "/usr/bin/env python" to "/nix/store/6zmk1ankwbnydn447vnv8m3rqx8yjm6l-python-2.7.15/bin/python"
checking for references to /build in /nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611...
/nix/store/b4iyklh8y10knkzrrw45dsz95hvs38mr-chirp-daily-20180611

Success on aarch64-linux (full log)
Attempted: chirp
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rk3p0qw7ikg2s77paxwi6k80jfbx4q0h-chirp-daily-20180611
strip is /nix/store/3c42aixy417vmgs0h5yl5806zx81qz8y-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/rk3p0qw7ikg2s77paxwi6k80jfbx4q0h-chirp-daily-20180611/bin
patching script interpreter paths in /nix/store/rk3p0qw7ikg2s77paxwi6k80jfbx4q0h-chirp-daily-20180611
/nix/store/rk3p0qw7ikg2s77paxwi6k80jfbx4q0h-chirp-daily-20180611/share/chirp/chirpw: interpreter directive changed from "/usr/bin/env python" to "/nix/store/41km32qxaa345jxa71qafp3sr5l02ybn-python-2.7.15/bin/python"
/nix/store/rk3p0qw7ikg2s77paxwi6k80jfbx4q0h-chirp-daily-20180611/share/chirp/rpttool: interpreter directive changed from "/usr/bin/env python" to "/nix/store/41km32qxaa345jxa71qafp3sr5l02ybn-python-2.7.15/bin/python"
checking for references to /build in /nix/store/rk3p0qw7ikg2s77paxwi6k80jfbx4q0h-chirp-daily-20180611...
/nix/store/rk3p0qw7ikg2s77paxwi6k80jfbx4q0h-chirp-daily-20180611