Does that mean that we can use teams with Botframework 4.0 sdK?

The very first note on this page:
"These steps require Bot Framework version 3. The Bot Framework documentation has been updated to version 4, which does not work with Teams."
So if I am using bot framework 4.0 to build my bot, does that mean I can deploy my bot to teams?
Thanks,
Vivek

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

ID: 087ab52e-fa36-8255-1438-957f895ba583
Version Independent ID: f19cdd18-9aef-2bb2-6c2f-e0f0f79b9ca0
Content: Create a bot - Teams
Content Source: msteams-platform/concepts/bots/bots-create.md
Product: msteams
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi - Yes, you can build a bot using Bot Framework 4 and deploy it to Teams. Our Teams Bot Builder SDKs (which are referenced in the documentation) do not work with Bot Framework 4. We do have versions of our Node and C# SDKs currently in beta that work with Bot Framework 4, but they do not have extensive documentation yet. You can find links to those here: https://aka.ms/teamsdev#pivot=sdk-tools
You'll need to look at the samples in those beta SDK repositories for guidance on how they work. The structure of the SDKs for Bot Framework 4 (both the Teams wrapper SDK and the core Bot Framework SDK) are quite different. The existing documentation will apply conceptually but in all likelihood the code examples will not align.
If you do use the beta SDKs, please feel raise any issues you encounter and we'll be happy to assist.

@clearab any timeline on when the documentation will be in sync with v4 for Teams integration on Node JS? This is a poor example of maintaining products. When MS has officially asked us to build bots on v4 or migrate existing bots to v4, how do we do so without proper documentation? We are stuck on how to integrate multiple channel functionalities for a bot that will work on multiple channels.


Run Humbug/PHPUnit for single Classes/Files

A humbug run for single Tests would achieve faster results and results in faster analysis of the errors.
I hope this feature might come?

It's on the cards! The phpunit-extensions package I wrote will allow for finer grained control over the classes and tests we can target. It does all need to wired into the command options. I'll leave the issue open here as an enhancement.

+1

Implemented in master. Humbug does not analyse for classes per se, but there's a new command line option where you can up an array of names/globs/regexes that are passed to the Symfony Finder instance used to locate files to mutate.


Error when using ng-repeat on an array of objects.

http://codepen.io/anon/pen/BkgwE
It should loop through just once, but instead it keeps going back and looping through the array again and again, until it stops because it reaches too many digest iterations. When i stop including 'ionic' into the app it starts working normally.
Here is the error I am getting.
Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: [["fn: $watchCollectionWatch; newVal: 9; oldVal: 8","fn: function (context) {
          .......... lots of stuff .........
http://errors.angularjs.org/1.2.25/$rootScope/infdig?p0=10&p1=%5B%5B%22fn%3…20%7D%3B%20newVal%3A%20%5C%22123%5C%22%3B%20oldVal%3A%20undefined%22%5D%5D ionic.bundle.js:20433

Greetings @halloffame!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen it and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.

Thanks! It looks like this was fixed in 1.0.0-beta.14
http://jsfiddle.net/556GL/36/

i am getting this is safari console from simulator ==>
Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.3.13/$rootScope/infdig?p0=10&p1=[%5
$ ionic info
Cordova CLI: 5.2.0
Ionic CLI Version: 1.6.4
Ionic App Lib Version: 0.3.8
ios-deploy version: 1.7.0
ios-sim version: 4.1.1
OS: Mac OS X Yosemite
Node Version: v0.12.7
Xcode version: Xcode 7.0 Build version 7A176x


fix parsing H2 URL with implicit file mode

fix for #33

Pull Request Test Coverage Report for Build 130

13 of 14 (92.86%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 44.329%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/io/opentracing/contrib/jdbc/parser/H2URLParser.java
12
13
92.31%

Totals

Change from base Build 120:
0.7%

Covered Lines:
383

Relevant Lines:
864

💛  - Coveralls


Renaming estimator_spec to custom for training and custom_loader_method to loader_method for ingest

What changes are proposed in this pull request?
Renaming estimator_spec to custom for training and custom_loader_method to loader_method for ingest
How is this patch tested?
-[x] test passes
Release Notes
Is this a user-facing change?

[x] No. You can skip the rest of this section.
[ ] Yes. Give a description of this change to be included in the release notes for MLflow users.

(Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.)
What component(s), interfaces, languages, and integrations does this PR affect?
Components

[x] area/regression: Sklearn regression recipe example
[ ] area/build: Build and test infrastructure for MLflow recipe example

How should the PR be classified in the release notes? Choose one:

[x] rn/breaking-change - The PR will be mentioned in the "Breaking Changes" section
[ ] rn/none - No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" section
[ ] rn/feature - A new user-facing feature worth mentioning in the release notes
[ ] rn/bug-fix - A user-facing bug fix worth mentioning in the release notes
[ ] rn/documentation - A user-facing documentation change worth mentioning in the release notes

Have we changed the code to support this new convention?

Have we changed the code to support this new convention?

see https://github.com/mlflow/mlflow/pull/7276


Statistics aren't translatable

There is no way to translate those. Also in Polish we need to use different case depending on number.
You can learn more here:
https://en.wikipedia.org/wiki/Polish_grammar#Numbers_and_quantifiers

It should be coming from the name of the rails models; I'll have a look at the pluralisation of those, see what I've missed. Rails i18n should be able to cope with it.

They may still suffer from #1983, but the root words should now be right.


Use p11-kit-proxy.so as default provider where available

Ideally, users shouldn't need to specify a module-path in the URI and we could omit it from most of the examples. Most *nix systems have p11-kit which provides a system-wide configuration for PKCS#11 providers, and modern packaging of providers will include a p11-kit module file which makes it visible automatically.
So all I need to do to use a certificate/key from my Yubikey for a VPN connection, for example, is
$ sudo dnf install opensc
$ openconnect vpn.example.com --certificate 'pkcs11:manufacturer=piv_II;id=%01'

Having to specify a module-path is the pathological case. And even when it's needed, it would usually be better to fix the missing p11-kit config instead.

What makes more sense is to automatically locate p11-kit-client.so if the environment variable P11_KIT_SERVER_ADDRESS is set and use that as the module-path.

p11-kit-client.so and $P11_KIT_SERVER_ADDRESS  are for something different; they're for remote access to a token.
We're after p11-kit-proxy.so which is a single provider that makes all the system-configured tokens available.
The module-path for it can be found from pkg-config, e.g.:
 $ pkg-config --variable=proxy_module p11-kit-1
/usr/lib/x86_64-linux-gnu/p11-kit-proxy.so

It's normally just in $(libdir) so it can be found easily on the library path. As I was playing with https://github.com/aws/rolesanywhere-credential-helper/pull/34 I found that literally just p11-kit-proxy.so worked with no path.

The token label, serial or slot-id would still be necessary.

The PKCS#11 URI includes those.

Thanks, @dwmw2. I never used p11-kit before and I looked at the p11-kit manual and they only mentioned the client library, and I got it working, so I assumed that.

Strictly speaking, in many cases it isn't actually necessary for the user to specify the token. Since certs generally don't have the CKA_PRIVATE attribute set, you can iterate over the available slots without logging in, and find a cert by its CKA_LABEL or CKA_ID. Then it's reasonable to assume that you will find the key in that same token if you log in to it.

The high-level library that we use doesn't allow it. It can be possible to implement it directly using github.com/miekg/pkcs11, but for the current purpose of this library, I prefer to be explicit about it. However, supporting multiple tokens simultaneously might be added in the future.

The high-level library that we use doesn't allow it. It can be possible to implement it directly using github.com/miekg/pkcs11, but for the current purpose of this library, I prefer to be explicit about it. However, supporting multiple tokens simultaneously might be added in the future.

Understood. Since you're using the PKCS#11 URI to specify the token rather than forcing the user to use some weird separate configuration, that's fair enough.


Missing feature requests and technical specification

Missing technical specifications for the PyCon APAC 2025. Developers need a clear outline of requirements, to proceed with the implementation.

We might be able to utilize GitHub project with this.


Adding enhancer tests for better coverage

This closes #264 by bringing in better test coverage to the enhancer.

Sweet! :rocket:


HHH-13092 Upgrade Hibernate Commons Annotations to 5.1.0.Final

https://hibernate.atlassian.net/browse/HHH-13092

CI will fail as the artifact is not on Central yet but this way I won't forget about it.

Merged.


After queryparams dynamic ids not working

Hi,
I found that after queryparam if a hash(#) is supplied with dynamic id its changing the dynamic id to query param.
app.config($stateProvider, $locationProvider) {
   $locationProvider.html5Mode(true);
   $stateProvider
       .state('profile', {
            url: '/profile/:id?ref&trk&token#:hash'
       });
});

<a ui-sref="profile({ id: 123, ref: 'home', trk:<PHONE_NUMBER>89, 'token': 'MTIzNDU2', hash: 'about'})" >About

The href is giving o/p as /profile/123?ref=home&trk=145999000889&token=MTIzNDU2&hash=about.
Whereas it should have given /profile/123?ref=home&trk=145999000889&token=MTIzNDU2#about

What version are you using?
can you try:
<a ui-sref="profile({ id: 123, ...  '#': 'about'})"... and remove the "#" from your profile state's url?

Thanks. This worked. I am using v0.2.15. I have removed #:hash and it worked.


[Wallet] Enable Flipper on iOS along with Redux Debugger and Reactotron

Description
This PR enables Flipper on iOS along with Redux Debugger and Reactotron plugins.
This allows viewing / debugging the following:

React DevTools (Components and Profiling)
Network connections
View hierarchy
Redux State / Actions
AsyncStorage
App preferences
Hermes
and more ;)

It also opens the door for creating/adding our own Flipper plugins (for instance for viewing transactions 😉).
Setup instructions were added to the mobile README.
Details
When we upgraded to React Native 0.63.x and Reanimated 2, the introduction of TurboModules broke the ability to use remote debugging with the Chrome DevTools, see this discussion with more details.
As an alternative we can use Flipper to provide similar debugging functionalities.
Flipper was already working on Android, but on iOS there was a conflict between the OpenSSL lib shipped as part of react-native-fast-crypto and the one included by Flipper. To workaround this problem, we now use a "headers" only version of OpenSSL that makes Flipper happy while building.
The 2nd issue was that Flipper in React Native doesn't work with use_frameworks! enabled in the Podfile, which we need because we have Swift dependencies, which don't work without it.
I bent CocoaPods a little more so that everything Flipper related is built as static frameworks.
I've integrated both Redux Debugger and Reactotron as they provide different lenses to debug the app.
There's also a redux-saga plugin for Reactotron but it triggered some odd unhandled promise rejections, so I didn't include it.
While working on this I noticed the state in the exchange reducer is very big and made the Redux Debugger plugin quite unusable within Flipper. There's an issue open which should address this (https://github.com/celo-org/celo-monorepo/issues/6284). In the meantime I've filtered out that part of the state in Redux Debugger. Reactotron can still be used to see it and is not affected.
Overall this gives us more tools to see what is happening within the app.
Tested

Flipper works on both iOS and Android along with their Redux Debugger and Reactotron plugins.
iOS release builds don't include Flipper (Flipper modules are built for release builds, but NOT linked - this makes the build take more time, but unfortunately no simple way around this with CocoaPods for now, or we'd need to manage multiple Podfile.lock files, see https://github.com/facebook/flipper/issues/1275).

Related issues

Discussed on Slack: https://celo-org.slack.com/archives/CL7BVQPHB/p1610040529072600

Backwards compatibility
Yes

Would you (or someone else who's familiar with Flipper) consider doing a short demo for the team sometime soon? Setting up and getting the most out of a new tool often takes a bit of time so it would be great to jump start us on this process :)

Yes definitely! I'll schedule this soon!

Would you (or someone else who's familiar with Flipper) consider doing a short demo for the team sometime soon? Setting up and getting the most out of a new tool often takes a bit of time so it would be great to jump start us on this process :)

Yes definitely! I'll schedule this soon!

Hi @jeanregisser Could you please let us know what need to test us here from front end side? Also please let us know if anything which we would test from backend side.


fetching URLs: Received fatal alert: handshake failure

OpenRefine 2.7 (1) on Mac OSX 10.11.6 with Google Chrome 61.0.3163.100 (Official Build) (64-bit).
Attempting to "Edit column" -> "Add column by fetching URLs ..." one gets: "Received fatal alert: handshake failure" for all URLs tried in the https://pleiades.stoa.org/ domain.

but curling the urls on same platform has no problems, e.g.:
$ curl -I https://pleiades.stoa.org/places/540867/json
HTTP/1.1 200 OK
Date: Thu, 12 Oct 2017 20:48:30 GMT
Server: Zope/(2.13.24, python 2.7.11, linux2) ZServer/1.1
Content-Length: 16430
Vary: Accept
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
X-Frame-Options: SAMEORIGIN
X-Varnish: 794267
Age: 0
Via: 1.1 varnish-v4
X-Varnish-Cache: MISS
Accept-Ranges: bytes
Cache-Control: max-age=86400, s-maxage=11988
Expires: Fri, 13 Oct 2017 20:48:30 GMT

I think this user found a fix - it'd be nice to know if there anything we can do upstream to prevent that problem:
https://twitter.com/27point7/status/918002725048279040

Hmmm. I installed from DMG per docs. If there's java config that needs doing for non-developer users, I missed it in the docs. Pointer?

I have Java 1.8.0_144 installed.

Using keytool to install root cert in question, as implied by the link cited by @wetneb above, has made no difference for me. Still seeing same errors, even after full restart and ensuring that "cache results" is turned off in OR. I note that the discussion on twitter seems to involve people running OR from the command line, presumably on linux.
I have tried launching OR using the JavaAppLauncher distributed inside the Mac application bundle in the hopes of seeing an error notification or traceback at the command line when the error occurs. OR runs fine this way, and I do see application messages, but the errors still occur without any corresponding output on the command line.

The problem (or at least part of the problem) seems to be with the java encryption suite. This is different to the solution linked above.
Connecting with:
openssl s_client -connect pleiades.stoa.org:443
I  can see the following in the response
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
This encryption isn't supported in the default Java 8 encryption suite. (a nice way to check what is being used by OpenRefine - add the URL "https://www.howsmyssl.com/a/check" to an OpenRefine cell and use Add column from URL to retrieve the JSON :)
To support this encryption you need to install the JCE - Java Cryptography Extension http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
I'd copied the jars from that download into jre/lib/security/ (replacing the existing versions). I was able to get this working (although by then I'd already installed additional certificates, so I'm not able to confirm whether you need to do both steps, or just the JCE step - I suspect just the JCE will be fine).
At this point I now get a HTTP error 403 : Forbidden  from https://pleiades.stoa.org/places/540867/json
I believe this to be down to the due to the User Agent being specified by OpenRefine. If I curl:
curl -I -A "Java/1.7.0_121" "https://pleiades.stoa.org:443/places/540867/json"
curl -I -A "Java/1.8.0_72" https://pleiades.stoa.org:443/places/540867/json
etc.
I also get a 403 forbidden from this website. At the moment it is not possible to change the User Agent used by OpenRefine. See #1217 "The User Agent OpenRefine uses is currently determined by the version of the underlying Java library"

@ostephens, regarding the 403s: yes, I believe you are correct. We have apache config that rejects certain default and blankish user agent strings because of bad behavior by some bots in the past.
I'm going to undertake to remove (temporarily?) this restriction, and then attempt to follow the steps you outline with the JCE to see if I can get things working. And I'll report back here to inform any follow-on software or documentation actions the OR development community wants to take.
Regarding the apache rewrite rules: If we don't see significant performance degradation tied to anonymous bots, we might leave the exception in place, but ideally I'd like to see automated agents using specific user agents and so will follow the discussion on #1217.

@ostephens unfortunately I cannot yet duplicate your success. A diagnostic question:

Are you running the OSX production 2.7 distro of OR, or are you building locally and running from the command-line or an IDE?

@paregorios I was using the Linux version of the latest code on Mac, running from the command line (and with an additional tweak and rebuild to set a recognised user agent successfully retrieved JSON from Pleiades)
Just tried with the OS X production 2.7 distro and found I got the handshake error again :( So now trying to debug that ...

@paregorios OK - success. It looks like if you run the Mac version it uses the Java cacerts from /Applications/OpenRefine.app/Contents/PlugIns/jdk1.8.0_60.jdk/Contents/Home/jre/lib/security
(this is mentioned in https://groups.google.com/forum/#!msg/openrefine/6adewVTQh4Y/gsJdepAmAAAJ;context-place=forum/openrefine, although I definitely have $JAVA_HOME set, so I wonder if there is an issue with the Mac build in this respect).
Anyway, so I copied the JCE local_policy.jar and US_export_policy.jar into this directory, but then got the "sun.security.validator.ValidatorException: PKIX path building failed" error, which means that it is missing a certificate.
So I then installed the cert pleiadesstoaorg.crt I got from my browser by visiting pleiades.stoa.org - but that still didn't resolve the issue.
So then I installed the root cert from Lets Encrypt (obtained from https://letsencrypt.org/certificates/) using:
keytool -import -alias isrgrootx1 -keystore /Applications/OpenRefine.app/Contents/PlugIns/jdk1.8.0_60.jdk/Contents/Home/jre/lib/security/cacerts -file /Path/to/isrgrootx1.pem
And Success!

Yeah, so it looks like the OSX bundles jdk 1.8.0_60 and ignores the $JAVA_HOME variable. It seems to be hard-coded in OpenRefine.app/Contents/Info.plist.

According to this, the "DST Root CA X3" certificate, which is the parent to the "Let's Encrypt" certificate was only added to the default JDK/JRE keystore with versions 7u111 and 8u101. So, bundling jdk 1.8.0_101 or later might take care at least of the certificate problem (and not just for Pleiades).

@ostephens thanks for the roadmap. I am now fetching Pleiades JSON with my hacked version of the OSX OR 2.7 distro. Adding the pleiades cert (which was part of your debugging process, I realize) wasn't necessary, so long as the root cert from Let's Encrypt has been added.
This resolves my immediate issue, but -- if I may be so bold -- would seem to leave open some steps for the OR development community to explore with respect to the (next) OSX release. This workaround is probably too techno-fiddly for most of the users to whom I'd like to be able to recommend OpenRefine for Pleiades reconciliation. I am happy to help troubleshoot and/or test, if that would be useful, but I don't have java development skills.

@paregorios, can I say the root cause is OR 2.7 for OSX ignore the $JAVA_HOME? or OR will not well with Pleiades with jdk 1.8 regardless the OS due to the missing root CA issue ?

@jackyq2015 don’t think getting OR to observe $JAVA_HOME will help with this issue specifically- it just pushes the issue back to a local system  java issue rather than a bundled java issue.
There are (I think) two issues:

inclusion of a specific  root cert
use of local_policy.jar and US_export_policy.jar from the JCE

Neither of these are necessarily fixed if we use $JAVA_HOME - it would then just depend on how the local Java was setup.
I wonder if using a bundled java might be a feature rather than a bug. If we can bundle a version of Java with updated cacert and the policy jars - which would fix both issues.

@ostephens , I checked the folder under /Applications/OpenRefine.app/Contents/PlugIns/jdk1.8.0_60.jdk/Contents/Home/jre/lib/security after installing 2.7RC2. I did find the 2 jars you mentioned.
But the cacerts does not include the DST cert indeed.
For the linux box and openjdk, I do see the entry:
root@hp:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security# keytool -list  -keystore cacerts | grep "\.pem" | grep dst
debian:dst_root_ca_x3.pem, 24-Apr-2017, trustedCertEntry,
debian:dst_aces_ca_x6.pem, 24-Apr-2017, trustedCertEntry,

Next time we release, we can try to bundle the 1.8.0_101 or later as @ostephens suggested. Hopefully that will solve the issue.

@jackyq2015 just to note - as far as I know, the local_policy.jar and US_export_policy.jar in the Java distribution is not sufficient for this to work. You need to use the ones from the Java Cryptography Extension (JCE) available at http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html for the decryption to work. The policy jar in the bundled java would need to be updated to be the JCE ones

@ostephens I gotta ask...  What do they do now compared to how things were when this article was written by Oracle https://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html  ?

According to this, there are no AES256 cipher suites offered by current bundle java client. My understanding is that in order to make it work, we have several options:

Provide the bundled version with  (JCE) Unlimited Strength Jurisdiction Policy and dst_root_ca_x3.pem as @ostephens recommenced
Provide the script to automate the the above process without bundling as @thadguidry recommenced
Another option could be have the site to provide other more populate cipher which is included to most of Java version.  that feasibility has to be left to @ostephens to answer.

@thadguidry that's a really good question! I don't know, but I think this blog post might describe the same issue https://blog.spaziodati.eu/en/2014/11/17/the-dark-side-of-ssl-on-java-virtual-machine-jvm/ - so if I'm right, we aren't alone in seeing some issues around this.
Having thought about it a bit, on balance I'm in favour of what @thadguidry suggests - avoid bundling the JCE stuff (some slight nagging worry in the back of my mind about legal issues related to this as well), but offer better support.
I think @jackyq2015 point about whether @paregorios could make a change at Pleiades to avoid the problem in this particular case is also a good one.
This Stackoverflow post seems to have a lot of good stuff in - we could even consider testing for the issue and falling back (or just preferring) the suggested Bouncy Castle cryptography library/API that could help avoid the problem https://stackoverflow.com/questions/1179672/how-to-avoid-installing-unlimited-strength-jce-policy-files-when-deploying-an

Hi
I don't understand half of your conversation ;-), but as someone wrote, I spent some time wrangling with java certificates in OR some days ago.
I believe Mac version do NOT ignore $JAVA_HOME. I had issues with missing certificate in cacerts, but my $JAVA_HOME  was void. When I put the path of my system java in $JAVA_HOME, the issue was resolved

@msaby which version of OpenRefine are you using?

@ostephens At the end of the day, I'd like you to just close this issue and then provide some good documentation, avoidance, best practice, etc... on our Wiki to help navigate this kind of problem with Server side security when using our Fetch URLs function against a server using HTTPS.   We can then point folks to that page to try different options, and advise of security concerns as well.  A Wiki page is a much better way to deal with this very niche "area" (its not an issue) in particular.  Which really OpenRefine dev / support team should be getting into the weeds with.   Let's call that Wiki page "Fetching URLs with HTTPS" or whatever.
Thanks All.

@ostephens When you say  "using a bundled java", would that mean that Open Refine would become totally portable and would not need to install anything else to work? If so, it might interest some users, I believe.
https://twitter.com/parody_bit/status/923931736479883264

@ettorerizza The problem still might exist.  Users in constrained IT environments might not see OpenRefine being allowed to start because JRE or JDK is caught as suspicious by a corporate security program running on their computer.  We cannot help that however, so its a non-issue for us.
I think I would be OK with a bundled JRE, and allowing folks to still override the bundled JRE to that of their $JAVA_HOME
The problem that I don't know about on OSX is about Signing ?  Is it a requirement at the OSX level or is it just a requirement for Apple Store ?  In other words, does the OpenRefine+JRE bundled app on OSX need to be signed somehow or not ?

@thadguidry self-signed cert is not mandatory from OSX level. Since we are not distribute the software to apple store, that not mandatory either(actually, if you want to distribute to store, you need a developer certificate signed from apple). AFAIK, The reason we self-signed it is to avoid some warning popup for security from the OSX. And for some system, OSX will hide the icon when it is not self-signed. Basically it's poor man's choice to try to align with the security framework from apple. :).
code signing is to sign the distribution as whole to assure the identify of developer does the release, which means it does not matter  you bundle something or not.

I've now added a new page on troubleshooting problems fetching data from URLs, putting in the problems noted in this issue and the solutions.
As noted by @paregorios some of the solutions are technical, and will be challenging for a user without experience of using the command line or similar level of technical knowledge.
I've also confirmed through testing that if you use OpenRefine for Mac, the Java cacerts and encryption policy files that are important are the ones that are in the JRE included in the distribution (e.g. in my current install of OR2.8, this is /Applications/OpenRefine.app/Contents/PlugIns/jdk1.8.0_60.jdk/Contents/Home/jre/lib/security/ although the path can obviously vary across installs and versions)
This is as far as I'm able to take it in terms of the security certs - we haven't identified a good/easy solution for ensuring that users don't encounter problems here. I think @thadguidry's suggestion of a separate script to do the necessary updates is probably the right approach, but I don't know how to start approaching this.
It would be good to update the Java version which is included in the Mac version at some point, but I think that's a connected but separate issue.
Finally #1217 is also related and outstanding - and I think is something we can do something about - I'm planning on having a look at how we might allow the user to specify request headers including user-agent soon.
Closing this specific issue now.

@tonero101 Has a Mac and might be able to throw together a script to make this easier.  He's working on the JDBC enhancement also.  Tony what do you say, can you tackle a script for Mac users to make cacerts installation and management easier ?
@ostephens @jackyq2015 We need to drop Java7 now and go head first into Java8+  Do we have a issue labeled as "task" for that yet ?

@thadguidry To be clear, the Java version distributed in the Mac package is JDK 1.8.0_60 - so already on Java 8 - just would be good to update this to a more recent 1.8.X at some point which could improve the cacert situation on Mac - but of course Win and Linux (afaik) would depend on the local Java install still, so it's a minor issue I think.
I'm not clear what determines the version of Java included in the Mac build - @jackyq2015 ?


Add JSON Schema for dfx.json

Was inspired while working on a few projects at once that I'd love to have my IDE pre-populate with options :D
Acceptance criteria:

serve JSON file publicly for access
add to vscode extension in some way at some point

Completed in #2361


add steps on how to setup foqal

Main things I want some input on:

Am I correct on the point around the customer's Zendesk admin needing to accept something on their end?
Is the :admission_tickets: emoji the only one that will respond and make a ticket?
Any other things you can spot/suggest


A lot of warnings "Can't set modified time to the file because Permission denied"

Describe the bug
There is no way to disable setting modification time for uploaded files. A lot of warning buzz is produced: [warn] Can't set modified time to the file because Permission denied
To Reproduce
Steps to reproduce the behavior:

Connect to a server with a user account that doesn't have timestamp modification permission
Sync local to remote
See a lot of warnings

Expected behavior
Having an option to disable timestamp modification.
Desktop (please complete the following information):

OS: macOS
VSCode 1.33.1
Extension 1.12.3

The warning will only show once in v1.12.5

It shows in v1.12.9

latest v1.12.9 alert when upload file to server

Same issue for version 1.12.9

same issue for latest version (1.12.9)

I get this warning consistently on v1.12.9, Ubuntu 20.04 LTS.  File uploads correctly, timestamp shows server time and not that of the local timestamp.  Error log ...
[06-01 11:23:28] [error] Error: No such file
	at SFTPStream._transform (~/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.js:412:27)
	at SFTPStream.Transform._read (internal/streams/transform.js:205:10)
	at SFTPStream._read (~/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.js:183:15)
	at SFTPStream.Transform._write (internal/streams/transform.js:193:12)
	at writeOrBuffer (internal/streams/writable.js:358:12)
	at SFTPStream.Writable.write (internal/streams/writable.js:303:10)
	at Channel.ondata (internal/streams/readable.js:719:22)
	at Channel.emit (events.js:315:20)
	at addChunk (internal/streams/readable.js:309:12)
	at readableAddChunk (internal/streams/readable.js:284:9)
	at Channel.Readable.push (internal/streams/readable.js:223:10)
	at SSH2Stream.<anonymous> (~/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2/lib/Channel.js:167:15)
	at SSH2Stream.emit (events.js:315:20)
	at parsePacket (~/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/ssh.js:3288:10)
	at SSH2Stream._transform (~/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/ssh.js:694:13)
	at SSH2Stream.Transform._read (internal/streams/transform.js:205:10)
	at SSH2Stream._read (~/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/ssh.js:253:15)
	at SSH2Stream.Transform._write (internal/streams/transform.js:193:12)
	at writeOrBuffer (internal/streams/writable.js:358:12)
	at SSH2Stream.Writable.write (internal/streams/writable.js:303:10)
	at Socket.ondata (internal/streams/readable.js:719:22)
	at Socket.emit (events.js:315:20)
	at addChunk (internal/streams/readable.js:309:12)
	at readableAddChunk (internal/streams/readable.js:284:9)
	at Socket.Readable.push (internal/streams/readable.js:223:10)
	at TCP.onStreamRead (internal/stream_base_commons.js:188:23) when local ➞ remote

+1
macOS :: VSCode 1.56.2

I found a workaround:
Go inside ~/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.js look for options.emitClose = false;
Add options.autoDestroy = false; after both instances.

@romeothethird I don't understand where is it. Could you write the solution
// For backwards compat do not emit close on destroy.
  options.emitClose = false;
  options.autoDestroy = false;

I tried to place there but seems doesn't work

Thanks for sharing the workaround and getting to the bottom of this. It was a serious distraction today; gave me the impression files weren't saving, even though they were.

@helmiItsavirus It works for me after reopen vscode, maybe you can try this.


Bigquery API fails: type 'Null' is not a subtype of type 'Object' in type cast

We (flutter/cocoon) recently migrated our backend to null safety, and started hitting below error (with googleapis version 3.0.0). I guess the culprit is:
https://github.com/google/googleapis.dart/blob/master/generated/googleapis/lib/bigquery/v2.dart#L11097
where v: _json.containsKey('v') ? _json['v'] as core.Object : null should be updated to v: _json.containsKey('v') ? _json['v'] as core.Object? : null to consider the value null case.
type 'Null' is not a subtype of type 'Object' in type cast
#0      new TableCell.fromJson (package:googleapis/bigquery/v2.dart:11018:50)
#1      new TableRow.fromJson.<anonymous closure> (package:googleapis/bigquery/v2.dart:11704:56)
#2      MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31)
#3      ListIterator.moveNext (dart:_internal/iterable.dart:342:26)
#4      new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:188:27)
#5      new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
#6      new List.of (dart:core-patch/array_patch.dart:51:28)
#7      ListIterable.toList (dart:_internal/iterable.dart:213:44)
#8      new TableRow.fromJson (package:googleapis/bigquery/v2.dart:11706:20)
#9      new QueryResponse.fromJson.<anonymous closure> (package:googleapis/bigquery/v2.dart:9588:54)
#10     MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31)
#11     ListIterator.moveNext (dart:_internal/iterable.dart:342:26)
#12     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:188:27)
#13     new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
#14     new List.of (dart:core-patch/array_patch.dart:51:28)
#15     ListIterable.toList (dart:_internal/iterable.dart:213:44)
#16     new QueryResponse.fromJson (package:googleapis/bigquery/v2.dart:9590:20)
#17     JobsResource.query (package:googleapis/bigquery/v2.dart:796:26)
<asynchronous suspension>
#18     BigqueryService.listBuilderStatistic (package:cocoon_service/src/service/bigquery.dart:86:36)
<asynchronous suspension>
#19     FileFlakyIssueAndPR.get (package:cocoon_service/src/request_handlers/file_flaky_issue_and_pr.dart:39:57)

Related: https://github.com/flutter/flutter/issues/90019

/cc @kevmoo I see you have been working on this repo, could you please take a look? This is blocking us running some cronjobs for prod development workflow. Please help reassign as you see fit. Thanks!


more general resample utility

As discussed with @andersy005 and @bonnland, it would be nice to have a more general resample capability that enable fluid translation between data at different temporal intervals.
Here's two functions that, if generalized, might be helpful.
The first by @klindsay28 finds the overlap between any two intervals on a number line.
def interval_overlap(interval_1, interval_2):
    """Compute the overlap between two intervals."""
    overlap = (np.min([np.max(interval_1), np.max(interval_2)]) -
               np.max([np.min(interval_1), np.min(interval_2)]))
    return max([0.0, overlap])

The second computes averaging weights for a single coord_interval, given coord_bounds.
def compute_vertical_weights(coord_interval, coord_bounds):
    """Compute averaging weights for remapping a peicewise-constant field on a
    1D coordinate to a single interval.

    Example:
    [1]: weights = compute_vertical_weights(coord_interval=np.array([0, 20]),
                                            coord_bounds=np.array([[0, 10],
                                                                  [10, 20],
                                                                  [20, 30]]))

    [2]: weights

        array([0.5, 0.5, 0. ])

    Parameters
    ---------
    coord_interval : numpy.array
        A two-element vector with the coordinate values over which to compute weights.
        For example

    coord_bounds : numpy.array
        A N x 2 element vector with the coordinate bounds.
    """

    weights = np.zeros(coord_bounds.shape[0])
    for i in range(coord_bounds.shape[0]):
        weights[i] = interval_overlap(coord_interval, coord_bounds[i, :])
    return weights / weights.sum()

A more general resample functionality would have coord_bounds = time_bound_in and coord_interval = time_bound_out[i, :] for every time-level in the destination time coordinate.
We need a method to generate the new time-coordinate.

@matt-long seems this is now being addressed with AxisUtilities


[google_maps_flutter] Maps Inside ListView with TextField is unable detect pinch/movie gestures, only double tap works

import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

class MapIssue extends StatefulWidget {
  @override
  _MapIssueState createState() => _MapIssueState();
}

class _MapIssueState extends State<MapIssue> {
  GoogleMapController mapController;

  @override
  Widget build(BuildContext context) {
    double screenWidth = MediaQuery.of(context).size.width;
    double screenHeight = MediaQuery.of(context).size.height;

    return Scaffold(
      body: ListView(
        children: <Widget>[
          Container(
              width: screenWidth,
              height: screenHeight,
              child: Column(
                children: <Widget>[
                  Expanded(
                    child: GoogleMap(
                      onMapCreated: (controller) {
                        setState(() {
                          mapController = controller;
                        });
                      },
                      options: GoogleMapOptions(
                          cameraPosition:
                          CameraPosition(target: LatLng(5.4164, 100.3327), zoom: 10)
//                          cameraPosition: CameraPosition(
//                              target: LatLng(myPosition.latitude,
//                                  myPosition.longitude),
//                              zoom: 14)
                      ),
                    ),
                  ),

                  TextField(),
                ],
              )
          ),
        ],
      )
    );
  }
}

Steps to reproduce issue

hit on textfield at the bottom
hit the done button on the keyboard.
try to pinch and or move the view of the map

moving the camera on the map becomes glitched moving sometimes and most of the time not.

sorry for the bad code paste.

To investigate we would need a minimal runnable reproduction
as a single file so that we can just copy your code into lib/main.dart of a new project and run to reproduce.
Please add the output of flutter doctor -v.

dear sir,
the code above us runnable by just copying and pasting into main.
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v1.0.0, on Microsoft Windows [Version 10.0.17134.472], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.2)
[√] IntelliJ IDEA Community Edition (version 2018.1)
[√] VS Code, 64-bit edition (version 1.24.1)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.

the code above us runnable by just copying and pasting into main.

Without main() { runApp(..); } it is not runnable.

I am also having this issue. Any updates regarding this @zoechi @momoDragon ?

This issue is reproduced

flutter doctor -v
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.19041.84], locale en-US)
    • Flutter version 1.12.13+hotfix.8 at C:\Code\flutter_stable
    • Framework revision 0b8abb4724 (4 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Code\SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = C:\Code\SDK
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.43.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.8.1

[√] Connected device (1 available)
    • SM M305F • 32003c30dc19668f • android-arm64 • Android 10 (API 29)

• No issues found!

Code Sample
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: MapIssue(),
    );
  }
}

class MapIssue extends StatefulWidget {
  @override
  _MapIssueState createState() => _MapIssueState();
}

class _MapIssueState extends State<MapIssue> {
  GoogleMapController mapController;
  Completer<GoogleMapController> _controller = Completer();
  static final CameraPosition _kGooglePlex = CameraPosition(
    target: LatLng(37.42796133580664, -122.085749655962),
    zoom: 14.4746,
  );
  @override
  Widget build(BuildContext context) {
    double screenWidth = MediaQuery.of(context).size.width;
    double screenHeight = MediaQuery.of(context).size.height;

    return Scaffold(
        body: ListView(
      shrinkWrap: true,
      children: <Widget>[
        Container(
            width: screenWidth,
            height: screenHeight,
            child: Column(
              children: <Widget>[
                Expanded(
                  child: GoogleMap(
                    mapType: MapType.hybrid,
                    initialCameraPosition: _kGooglePlex,
                    onMapCreated: (GoogleMapController controller) {
                      _controller.complete(controller);
                    },
                  ),
                ),
                TextField(),
              ],
            )),
      ],
    ));
  }
}

I got the same problem, any new update? @TahaTesser

Reproducible with https://github.com/flutter/flutter/issues/25972#issuecomment-600116939 in 1.20.0-7.1.pre.

 flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-7.1.pre, on Mac OS X 10.15.5 19F101,
    locale en-AO)
    • Flutter version 1.20.0-7.1.pre at
      /Users/pedro/dev/SDKs/flutter_dev
    • Framework revision 7736f3bc90 (4 days ago), 2020-07-10 16:33:05
      -0700
    • Engine revision d48085141c
    • Dart version 2.9.0 (build 2.9.0-21.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version
    30.0.0)
    • Android SDK at /Users/pedro/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Andr
      oid Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

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

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Google
      Chrome.app/Contents/MacOS/google-chrome-unsafe

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] Android Studio (version 4.0)
    • Android Studio at /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Andr
      oid Studio.app/Contents
    • Flutter plugin version 47.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (4 available)
    • AOSP on IA Emulator (mobile) • emulator-5554 • android-x86    •
      Android 9 (API 28) (emulator)
    • macOS (desktop)              • macos         • darwin-x64     •
      Mac OS X 10.15.5 19F101
    • Web Server (web)             • web-server    • web-javascript •
      Flutter Tools
    • Chrome (web)                 • chrome        • web-javascript •
      Google Chrome 83.0.4103.116

• No issues found!

code sample
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: MapIssue(),
    );
  }
}

class MapIssue extends StatefulWidget {
  @override
  _MapIssueState createState() => _MapIssueState();
}

class _MapIssueState extends State<MapIssue> {
  GoogleMapController mapController;
  Completer<GoogleMapController> _controller = Completer();
  static final CameraPosition _kGooglePlex = CameraPosition(
    target: LatLng(37.42796133580664, -122.085749655962),
    zoom: 14.4746,
  );
  @override
  Widget build(BuildContext context) {
    double screenWidth = MediaQuery.of(context).size.width;
    double screenHeight = MediaQuery.of(context).size.height;

    return Scaffold(
        body: ListView(
      shrinkWrap: true,
      children: <Widget>[
        Container(
            width: screenWidth,
            height: screenHeight,
            child: Column(
              children: <Widget>[
                Expanded(
                  child: GoogleMap(
                    mapType: MapType.hybrid,
                    initialCameraPosition: _kGooglePlex,
                    onMapCreated: (GoogleMapController controller) {
                      _controller.complete(controller);
                    },
                  ),
                ),
                TextField(),
              ],
            )),
      ],
    ));
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.2.3 20D91 darwin-x64, locale
    en-GB)
    • Flutter version 2.0.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision adc687823a (4 days ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 55.1.5
    • Dart plugin version 211.6693.108

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

[✓] Connected device (3 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS
      14.4.2
    • macOS (desktop)        • macos                     • darwin-x64     •
      macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)           • chrome                    • web-javascript •
      Google Chrome 89.0.4389.128

• No issues found!

[✓] Flutter (Channel master, 2.2.0-11.0.pre.176, on macOS 11.2.3 20D91
    darwin-x64, locale en-GB)
    • Flutter version 2.2.0-11.0.pre.176 at
      /Users/tahatesser/Code/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cceeaa075 (7 hours ago), 2021-04-20 02:24:02 -0400
    • Engine revision 7f4d7c67a5
    • Dart version 2.14.0 (build 2.14.0-8.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 55.1.5
    • Dart plugin version 211.6693.108

[!] IntelliJ IDEA Community Edition (version unknown)
    ✗ Invalid IntelliJ version number.

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

[✓] Connected device (3 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS
      14.4.2
    • macOS (desktop)        • macos                     • darwin-x64     •
      macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)           • chrome                    • web-javascript •
      Google Chrome 89.0.4389.128

! Doctor found issues in 1 category.

Have any solution for fix yet? I have same issue. Thanks

any fix???

The problem is still there

Just Add this Attribute to your Google Map
gestureRecognizers: Set()..add(Factory<EagerGestureRecognizer>(() => EagerGestureRecognizer())),


Fix core data multithreading violation when logging errors

@segiddins Hit this assertion failure while testing RestKit under Xcode 7

@segiddins OK now it's fixed the right way. A little gross, I know, but it fixes the issue and it's kind of unavoidable

:+1:


[DOC] Fix StackBlitz Templates link

The old link was wrong @clr/team instead of @clr-team
Signed-off-by: Ivan Donchev<EMAIL_ADDRESS>

Fixing this up in #2873


Remove OBE nightconfig dependency

There is a still a rouge nightconfig dependency even though toml processing was removed.  We should take it out of the project for cleanliness.

CI build passed:


Converted the trigger interpreter to be able to use the generic process

Closes #32
Missing:

[ ]  Unit tests

Codecov Report

Merging #33 into feature/interpreter_service will decrease coverage by 2.25%.
The diff coverage is 0.00%.

@@                       Coverage Diff                       @@
##           feature/interpreter_service      #33      +/-   ##
===============================================================
- Coverage                        38.46%   36.20%   -2.26%
===============================================================
  Files                               23       24       +1
  Lines                              689      732      +43
===============================================================
  Hits                               265      265
- Misses                             424      467      +43

Impacted Files
Coverage Δ

process/src/process/config/interpreter.rs
0.00% <0.00%> (ø)

process/src/process/config/mod.rs
81.81% <0.00%> (-8.19%)
:arrow_down:

...rigger-interpreter/src/iface_impl/action_config.rs
0.00% <0.00%> (ø)

...gger-interpreter/src/iface_impl/action_manifest.rs
0.00% <0.00%> (ø)

trigger-interpreter/src/iface_impl/trigger.rs
0.00% <0.00%> (ø)

trigger-interpreter/src/interpreter.rs
0.00% <0.00%> (ø)

trigger-interpreter/src/manager.rs
0.00% <ø> (ø)

Continue to review full report at Codecov.

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

Codecov Report

Merging #33 into feature/interpreter_service will increase coverage by 2.91%.
The diff coverage is 43.47%.

@@                       Coverage Diff                       @@
##           feature/interpreter_service      #33      +/-   ##
===============================================================
+ Coverage                        38.46%   41.37%   +2.91%
===============================================================
  Files                               23       24       +1
  Lines                              689      812     +123
===============================================================
+ Hits                               265      336      +71
- Misses                             424      476      +52

Impacted Files
Coverage Δ

gcloud/src/datastore/client.rs
0.00% <ø> (ø)

gcloud/src/pub_sub.rs
0.00% <ø> (ø)

process/src/process/config/mod.rs
81.81% <0.00%> (-8.19%)
:arrow_down:

trigger-interpreter/src/interpreter.rs
0.00% <0.00%> (ø)

trigger-interpreter/src/manager.rs
0.00% <0.00%> (ø)

trigger-interpreter/src/iface_impl/trigger.rs
12.76% <15.78%> (+12.76%)
:arrow_up:

...gger-interpreter/src/iface_impl/action_manifest.rs
25.00% <33.33%> (+25.00%)
:arrow_up:

...rigger-interpreter/src/iface_impl/action_config.rs
25.00% <35.29%> (+25.00%)
:arrow_up:

process/src/process/config/interpreter.rs
78.78% <78.78%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


default to Python snippet in proxy inspectors for Python objects

When inspecting a Python proxy, the default snippet should be a Python snippet instead of a Smalltalk one.


zig pidigits - audit memory usage

generally clean up this solution which was allocating a lot of
extra temporary bigints.
don't bother deinit()ing anything
use a fixed buffer allocator for temporary values
k doesn't need to be a bigint
printing code doesn't need to allocate either

Thats strange that the merkle/binary trees commit is in here. I'll redo this PR in a bit to fix that.


Page feedback for zero-code PHP docs

Suggested improvements for page: https://opentelemetry.io/docs/zero-code/php/
What is the example at the top of the page? It sure doesn't look "zero code" to me, perhaps that is misplaced?
The build requirements for APT aren't accurate, as I had to install php-dev and php-pear.
Lastly, it would be helpful to see the corresponding php.ini settings, so we don't have to reverse-engineer those from the environment variables. Are they the same, are they prefixed with opentelemetry, like opentelemetry.service_name?
Thanks!

Thanks for the feedback @nosilver4u.
The general idea is that each example has a copy-pastable code sample you can reproduce on your own. That said, if you just want to use the agent to instrument things, you can skip it and follow the instructions that come later.
Would it make more sense to clarify this in the text, and maybe explicitly state that you can skip on to the configuration section if you have your own app to instrument?
Also cc @open-telemetry/php-approvers for the other concerns.

I think it could certainly use some clarification. For instance, the paragraph above that indicates one must install the PHP SDK for traces. But then, can it do traces automatically without any additional code? That is, if one just installs the PHP SDK via composer and provides the appropriate configuration via PHP, is that enough to generate traces with no additional code?
And what if we have code that doesn't use composer, are we out of luck for getting error traces? Seems strange to me, when other solutions can generate traces for errors without modifying our codebase.

I think it could certainly use some clarification. For instance, the paragraph above that indicates one must install the PHP SDK for traces. But then, can it do traces automatically without any additional code? That is, if one just installs the PHP SDK via composer and provides the appropriate configuration via PHP, is that enough to generate traces with no additional code?

It does indicate that at least one instrumentation library must be used in addition to the SDK under the Important banner. With only the SDK, you won't get any traces because the SDK doesn't hook anything on its own.
Do you have some suggested wording which might help improve this?

And what if we have code that doesn't use composer, are we out of luck for getting error traces? Seems strange to me, when other solutions can generate traces for errors without modifying our codebase.

In short, yes. Composer autoloading is the supported route for zero-code instrumentation.

It does indicate that at least one instrumentation library must be used in addition to the SDK under the Important banner. With only the SDK, you won't get any traces because the SDK doesn't hook anything on its own.

Perhaps the confusion could be reduced by moving that code block further down the page? It's more of a low-level "this is how it works under the hood", whereas the casual user probably just needs "install these things and set these env vars"

Lastly, it would be helpful to see the corresponding php.ini settings, so we don't have to reverse-engineer those from the environment variables. Are they the same, are they prefixed with opentelemetry, like opentelemetry.service_name?

That's a good point. It's not a widely used feature (I don't recall any reports of anybody using it at all before now), but the short version is that you don't need any reverse-engineering, just drop the environment variable name and a value into a .ini file that PHP can find, and it should work exactly the same as an env var would. I will create a PR to add an example for this.

@nosilver4u Thanks to @brettmc, the page is updated quite a bit. Mind taking a look and seeing if there's anything else that could be improved?

That certainly helps, and I think clears up my last question. Which is: If our code is a bit less "sophisticated" and doesn't use frameworks, and is a mix of procedural and OOP code, we would need to do our own instrumentation, right?

That certainly helps, and I think clears up my last question. Which is: If our code is a bit less "sophisticated" and doesn't use frameworks, and is a mix of procedural and OOP code, we would need to do our own instrumentation, right?

Yeah that's right. Your options there are manual instrumentation, or roll your own auto-instrumentation. Which you choose might come down to personal preference - auto-instrumentation has the advantage of keeping instrumentation code separate from your application code.

@brettmc Thanks for the clarification, that helps--though I was hoping for something truly zero-code, so we'll have to stick with our current APM solution.

Thanks for all the follow-ups here. I'll consider this issue closed for now, since the scope of what OTel and PHP can do is captured in the docs.

Thanks for the feedback, @nosilver4u
You might be interested in following this issue and the linked development - it's not zero code, but it's close and should work well with less sophisticated code :)


Update Dockerfile and docker-compose for GPU support

This pull request updates the Docker configuration to improve compatibility and performance. The changes include updating the base image, modifying the installation steps, and enhancing the docker-compose.yaml for better resource management.
Dockerfile updates:

Changed the base image from pytorch/pytorch:2.2.1-cuda12.1-cudnn8-devel to nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04 for better compatibility and performance.
Updated the system package installation process to include python3.10, python3-pip, git, and curl, and removed unnecessary packages.
Added symbolic link for python3.10 and updated the Lean 4 installation script.
Modified the directory structure and added commands to install required Python packages and build Mathlib4.

Docker Compose updates:

Updated the service configuration to use a new container name hoge_container and added GPU resource reservation.

This pull request includes significant updates to the Docker setup, documentation, and related configuration files to streamline the development environment and improve clarity. The most important changes include updating the Dockerfile to use a different base image and streamline package installations, simplifying the README.md to focus on setup instructions, and modifying paths in the Lean verifier script.
Docker and Environment Setup:

Dockerfile: Changed the base image to nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04, updated the installation of system packages and Python, and restructured the Lean 4 installation and project setup.
docker-compose.yaml: Removed the docker-compose.yaml file, indicating a shift to using Docker commands directly.

Documentation:

README.md: Simplified the README by removing detailed project descriptions, badges, and links, focusing instead on setup instructions for cloning the repository and using Docker for building and running the project.

Codebase Adjustments:

prover/lean/verifier.py: Updated default paths for Lean workspace to /var/mathlib4/ and adjusted file paths in the script to match the new Docker setup. [1] [2]


Using --coverage parameter fails on Windows

Using --coverage on Windows causes and error in Loader.getDependenciesFromPath()
Error: Unknown modulePath: <a Windows path without escaped backslashes>

Basically it compares a non-escaped path with an escaped path and returns nothing.

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

This is probably not going to be worked on by Facebook unless we are going to receive a community contribution. Might be fixed in 0.9.0 actually.


Can now view a particular author's posts

Current state: Go to "Find Authors", click a listed author, then manually add "/posts/" to the end of the url.. ie:
/authors/5ec32f5e-8e5e-495f-b38e-3cf340d18b2c/posts/
If the current user is the author in that url, then they will see all of their posts (and be able to edit them). If the current user is not the author at that url, then they will see only the posts they have permission to view.

I want to change main.html such that when you click the "My Posts" button it takes you to
/authors/<my_guid>/posts/ but I'm not sure how to do that, so it left it as /dashboard/ for now. I'm finding this tricky because somehow you need to be able to form the url from the current user's corresponding author id. Any ideas would be appreciated.

As per your question: before you call reverse on the "posts-by-author" url pattern, you'd need to pass the uuid by querying the Author model with the id of the current user in the request context. You can do this query manually yourself or there may be a technique in Django already. A preliminary search indicates that get_profile might already exist to retrieve our Author user profile or else we might have to implement such a method ourselves. In any case, the Django templating language can call any callable method we implement.

Okay, figured out how to go to that url! Now when you clock the "My Posts" button it takes the currently logged in user to their posts via the /authors/<my_guid>/posts/ url.  Thanks for the suggestions David, they were helpful.


Fetch data from Database

Fetch the matching data from a Mongo DB

Main Database is designed, logging DB will be a separate issue


Fix TS (gray) blocks, making them multi-lined

I think it's a mistake to show the entire content of the grey block. It's giberish for the kids anyway. We should just do a single line and ...
There are extra new lines that bloat the size of that block.

There are no extra lines.. The new rendering has a larger gap between lines.
As for how to collapse it. I'm okay coming up with a way to collapse the block. but I wouldn't just do a blatant ellipsis. I think you could collapse functions like: "function test() { ... }" but not some blocks might make sense, if they're just simple function calls with parameters perhaps

With such new line sizes, these grey blocks are going to be huge.

Agreed. For now the it looks much worse on the same line. Let's push this in, and discuss an alternative solution for the gray blocks.

If you pull in some long piece of code, you'll end up with massive greyblocks. I think it is worse than a single line with a guaranteed reasonable height.

@pelikhan  I don't understand your concern. This is for someone who has written code in javascript and compiling back to blocks. I am fine with showing the same code with the same indentation. Are we adding any extra padding?

The problem is not passing. It is that Scratch blocks add a huge gap between lines.


Slight optimization of fallback for is_ascii

When native .isascii is present (i.e. we are on Python 3.7+) use that directly.

I performed some rough benchmarks for the fallback between these two different approaches:

    def isascii_loop(s):
        for c in s:
            if c > '\x7f':
                return False
        return True

def isascii_encode(word):
    try:
       word.encode('ascii');
       return True
    except UnicodeEncodeError:
       return False

On ascii-inputs, the results were:
In [19]: ascii_input = "abcdef"
In [20]: %timeit isascii_loop(ascii_input)
403 ns ± 8.66 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
In [21]: %timeit isascii_encode(ascii_input)
280 ns ± 3.9 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

On non-ascii input
In [28]: kana_input = "あいうえおん"
In [29]: %timeit isascii_loop(kana_input)
220 ns ± 2.73 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
In [30]: %timeit isascii_encode(kana_input)
909 ns ± 7.35 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

Given that the majority of the time the input to this function will not be ascii, it makes more sense to use the loop-based version. (*)
(*) Since tokenization happened prior to this it seems unlikely that the input will consist of a mix of kana & non-ascii characters, so in the most-frequent case we can decide just based on the first-letter, which probably accounts for the above benchmarks.

Thanks! Not sure the attention to detail is needed here but it's appreciated.


⚠ Fortnite has degraded performance

In c462f37, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1587 ms

Resolved: Fortnite performance has improved in f7785c3.


when installing the server locally, the model is not displayed

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce

Cloning the repository via git
Creating docker compose via docker compose up (at the root of the project)

After that, I read and saw that it was necessary to launch
docker compose -f docker-compose.yml -f docker-compose.dev.yml -f components/serverless/docker-compose.serverless.yml up -d --build
and for custom
docker models, compose -f docker-compose.yml -f docker-compose.dev.yml -f components/serverless/docker-compose.serverless.yml up -d

I loaded the function via the Nucleo function.yaml + python code - it took about 2 days (constant problems and dependencies did not catch up)
and finally the model is loaded
but it does not display in the panel (CVAT)

links that I have read
https://github.com/cvat-ai/cvat/issues/8646
https://github.com/cvat-ai/cvat/issues/5913
Expected Behavior
The model appeared in the CVAT panel
Possible Solution
when installing the server locally, the nuctl model for windows is not displayed - /bash not found via WSL
tried to download for linux tried to install the version eventually shows through nuctl version and nuctl functions writes not found. It's been 2 days, I bet I don't know how to fix it. There are suspicions that if you install a clean ubuntu, install docker on it and raise CVAT in it, it will work, but in my opinion this method is not the most successful. I would appreciate the answers.
Context

Environment
Docker 4.37.1
Windows 10 21H2
cvat ai: latest
nuclio compose  quay.io/nuclio/dashboard:1.13.0-amd64

Have you tried deploying a function provided in the CVAT repository?


Add RCT_EXTERN_REMAP_METHOD

Summary
The macro _RCT_EXTERN_REMAP_METHOD stated that RCT_EXTERN_REMAP_METHOD exists, but it does not.
This adds in the macro that allows for externing a method but choosing a custom JavaScript name.
We write all of our modules in Swift, so this is useful so we don't have to set all
of the argument labels properly to match up the Swift signature with the ObjC one.
Changelog
[iOS] [Added] - Added RCT_EXTERN_REMAP_METHOD macro for externing a method with a custom JavaScript  name.
Test Plan
My iOS app has already switched to calling _RCT_EXTERN_REMAP_METHOD with this signature, and it's a trivial change. However, I am happy to add a unit test somewhere if it's useful, but a point in the right place of where to add such a test would be appreciated.

@rockwotj, could you elaborate on the exact use-case this will enable with Swift? After we ship TurboModules, we're planning on deleting these macros entirely. So, merging this in now will only create more work to undo, when we ship TurboModules to open source. Is there any other way to unblock yourself?

This is fine, I'm able to use a different macro for the time being (I've just unlined this macro into my existing code).


⚠ Spryr has degraded performance

In 4277051, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 8387 ms

Resolved: Spryr performance has improved in 17d99cc after 7 minutes.


Can't play m3u8

Just used the basic command to check
 ./HLS-Stream-Creator.sh -i test_file.mp4 -s 60
I can see the files in the output directory, but I cannot play it on VLC/QuickTime.
Even tried running it on HTML
<video width="100%" controls>
    <source src="test_file.mp4.m3u8" type="application/x-mpegURL">
</video>

It still doesn't work.
Also,
I want to use encryption, since for OSX I had to install using --with-default-names.
I get error Error: invalid option: --with-default-names
Running :
Mojave, iTerm2, ZSH

Update :
Got the basic command to work.
Just help me with Error: invalid option: --with-default-names

Ah, looks like brew have removed the --with-default-names option - https://github.com/Homebrew/homebrew-core/commit/43f2e19d93f04eddf24ec19187b3648f594b80e2
If you run brew install gnu-sed it should also print some output telling you how to make them available with their default names (you can see it in that commit too). Think I preferred the old way, but meh.
I'll raise a task to update the README for modern brew - if you could just confirm that the new way works for you?

If I install without the option :
brew install gnu-sed
==> Downloading https://homebrew.bintray.com/bottles/gnu-sed-4.7.mojave.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring gnu-sed-4.7.mojave.bottle.2.tar.gz
==> Caveats
GNU "sed" has been installed as "gsed".
If you need to use it as "sed", you can add a "gnubin" directory
to your PATH from your bashrc like:

    PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"

&&
brew install grep
==> Downloading https://homebrew.bintray.com/bottles/grep-3.3.mojave.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring grep-3.3.mojave.bottle.2.tar.gz
==> Caveats
All commands have been installed with the prefix "g".
If you need to use these commands with their normal names, you
can add a "gnubin" directory to your PATH from your bashrc like:
PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"

basically it is installed with a different name

Yep, that's expected, you now need to follow the steps in the caveat section:
If you need to use these commands with their normal names, you
can add a "gnubin" directory to your PATH from your bashrc like:
PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"

so vi ~/.bashrc and insert that line. Open a new terminal and you should now get the "correct" grep (if you do echo $PATH you should see the gnubin entry in there).

Added gnubin to PATH and replaced sed with gsed in the script.
The script was able to generate the key.
Surprisingly, Safari cannot play the encrypted stream now.
Will implement hls.js and update you anyway, even though it doesn't concern your repo directly
(Unless it's a key issue)

You shouldn't have needed to replace sed with gsed, if you look in /usr/local/opt/grep/libexec/gnubin you should (hopefully) see sed and be able to use it directly.
Odd that Safari cannot play, are you getting output to suggest why? Please do let me know how you get on with hls.js.

I first tried running the script without replacing the sed with gsed, but got this
sed: 1: "./output/test_file.mp4.m3u8": invalid command code .

Hmmm, that definitely suggests that the wrong sed is being used. If you do echo $PATH | grep gnubin do you get any output?  Although I wasn't initially keen to have extra checks in there just for the sake of OS X, it does look like there's potential for quite a lot of inconsistency for Mac users (depending on which terminal they use) if they rely on brew's new method of exposing default names.
So, I've written a check into the script so that it'll use ggrep and gsed if they exist. Would you mind pulling the latest revisions and giving it a test run for me? I don't have a Mac available to check with.

HLS-33 Refers to the changes (or will once the mirror updates later)

First I thought it was my dumb mistake not to include the PATH in .bashrc but I just checked and and it definitely needs gsed to work and not sed.
I'm gonna pull the latest release and update you!

Also, just checked the new script.
Dropped back to default BASH, didn't have a .bashrc file so just added the PATH for the current session.
PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"
echo $PATH
/usr/local/opt/grep/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin

Ran the script (updated one), works smoothly.
Thank You!
PS - I even tried running the script without the PATH and it failed (just the encryption part though).

@bentasker
Hello, I'm back.. seems like the new script does not work.
It is basically suppressing the sed error, i.e.,
sed: 1: "./output/dil.mp4.m3u8": invalid command code .
This is my m3u8 file created by the new script.
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:101
#EXTINF:100.480000,
dil.mp4_00000.ts
#EXTINF:99.960000,
dil.mp4_00001.ts
#EXTINF:30.640000,
dil.mp4_00002.ts
#EXT-X-ENDLIST

I used the encrypted options -e. But the key meta is missing from the file.
But it did generate a key file. Just the entry for the key file is missing here.

Have you definitely got the newest revision? That should be
for manifest in ${OUTPUT_DIRECTORY}/*.m3u8
do
    # Insert the KEY at the 5'th line in the m3u8 file
    $SED -i "5i #EXT-X-KEY:METHOD=AES-128,URI="${KEY_PREFIX}${KEY_NAME}.key "$manifest"
done

(https://github.com/bentasker/HLS-Stream-Creator/blob/master/HLS-Stream-Creator.sh#L277)

Yup the newer file. I just copied wrong, was comparing. Didn't look that I copied the old one.
But the code doesn't work.
The only way for me to get it to work is to replace sed with gsed in the original script.

Hmm, can you provide the output of both of these for me?
command -v gsed
command -v sed

I suspect the first will fail when it should not. This is the test the script is using to identify whether gsed is available or not
Thanks for your help on this, I don't have a Mac available to do this on

Here you go
$ command -v gsed
/usr/local/bin/gsed

$ command -v sed
/usr/bin/sed

Hmmm, that's odd. I wonder if it doesn't like the ternary operator, could you try pasting the following into a terminal and providing the output (or a screenshot if that's easier for you)
SED='sed'
command -v gsed >/dev/null 2>&1
if [ "$?" == "0" ]
then
SED='gsed'
fi
echo $SED

command -v foobar >/dev/null 2>&1
echo $?

command -v command >/dev/null 2>&1
echo $?

Thanks

Basically wrapped your code in a script file and ran it.
Tested on both ZSH and BASH (same output for both)
gsed
1
0

OK, so exit statuses are at least as would be expected.
Could you give the latest revision a try? I've swapped from using ternary's to an explicit if on the exit status of command. If it's not that, then I've obviously missed something somewhere :)

Recorded :
https://youtu.be/UegO2bMzAlg

Could you give the latest revision a try? I've swapped from using ternary's to an explicit if on the exit status of command. If it's not that, then I've obviously missed something somewhere :)

Just tested this. No luck!

OK, bear with me, I'm going to have to have a rethink on this one - clearly I'm missing something simple...

Take your time at least my work is not being held up.
I'm still happy running the original script (replacing sed with gsed).
Also, when I changed sed to gsed, I had to replace it 3 times. If that's what you are missing

I fixed it!

OK, this should now be fixed. It was a small idiotic error - https://github.com/bentasker/HLS-Stream-Creator/commit/2114885fc19d3dd80db9cb89c40fbe1b0f4c756f
I've temporarily laid hands on a Mac running Mojave and it's working for me now

Sorry, I only just noticed your earlier message :) Yep that lines up exactly with my fix. Said it'd be something simple....
Thanks for your help. Im going to mark this fixed.
As I've been through the process now I've also updated the README with install steps for Macs

@bentasker I had a few questions. Could you spare few minutes?


Support nullable?

   [TestFixture]
    public class NullableTests
    {
        [Test]
        public void NullableLongByteStruct()
        {
            TypeLayout.PrintLayout<Nullable<LongByteStruct>>();
            var typeLayout = TypeLayout.GetLayout<Nullable<LongByteStruct>>(includePaddings: true);
            var size = Unsafe.SizeOf<Nullable<LongByteStruct>>();
            Assert.AreEqual(typeLayout.Size, 123);
        }
    }

Standard Output Messages:
 Type layout for 'Nullable`1'
 Size: 24 bytes. Paddings: 0 bytes (%0 of empty space)
 ||
 ||

        [Test]
        public void NullableInt()
        {
            // why cannot use `public struct Nullable<T> where T : struct`?
            // error CS0453: The type 'int?' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'StructLayout.GetLayout<T>(bool)'
            // var structLayout = StructLayout.GetLayout<Nullable<int>>();
        }

UnsafeLayout does not supports recursive Nullable<T> where T complex stucture (e.g. also contains nullables or other multi field structs).  But possible to do.
      // TODO: fix UnsafeLayout
        //[Test]


fix: onClear to reset state values and errors

Issue #, if available:
Description of changes:

create reset values functions to reset state with the reset button
add helper methods for setting set
unify name source for setCurrentValue in arrayfield

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #655 (7db3341) into tagged-release/forms-and-views (7cd9910) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@                        Coverage Diff                         @@
##           tagged-release/forms-and-views     #655      +/-   ##
==================================================================
+ Coverage                           90.42%   90.48%   +0.06%
==================================================================
  Files                                  97       97
  Lines                                3645     3669      +24
  Branches                              980      983       +3
==================================================================
+ Hits                                 3296     3320      +24
  Misses                                324      324
  Partials                               25       25

Impacted Files
Coverage Δ

...codegen-ui-react/lib/forms/form-renderer-helper.ts
97.79% <100.00%> (+0.03%)
:arrow_up:

packages/codegen-ui-react/lib/forms/form-state.ts
97.18% <100.00%> (+1.02%)
:arrow_up:

.../codegen-ui-react/lib/forms/react-form-renderer.ts
78.57% <100.00%> (+0.17%)
:arrow_up:

...-ui-react/lib/utils/forms/array-field-component.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Remove photon and graviton selectors in `compute.SparkVersionRequ…

Changes
Removed photon and graviton selectors in compute.SparkVersionRequest
Solves #619
Tests

[x] make test passing
[x] make fmt applied
[x] relevant integration tests applied

Codecov Report
Patch has no changes to coverable lines.

Files Changed
Coverage

service/compute/spark_version.go
ø

:loudspeaker: Thoughts on this report? Let us know!.


[Sort] MatSortHeader depends on CdkColumnDef

The sort-header optionally injects CdkColumnDef to make the name optional. This reference, though, means that using matSort or matSortHeader will bring in all of the code for the cdk/table.

I looked into this one. We need an injection token that can be used to provide the column definition to the sort header, but the problem is where to put the token. We can't have it in material/sort, because it needs to be imported both by material/table and cdk/table (we have some tests according to which MatSortHeader supports both). The token can't be in material/sort either, because it would introduce a dependency between cdk/table and material/sort.

A possible workaround here is to use a string token (unorthodox but will get the job done)


download_loader Not working. Takes long time

Bug Description
Tried to load the download_loader. But it takes long time and not terminating the code
from llama_index import download_loader
UnstructuredReader = download_loader('UnstructuredReader', refresh_cache=False)

Version
0.6.35
Steps to Reproduce
from llama_index import download_loader
UnstructuredReader = download_loader('UnstructuredReader', refresh_cache=False)

Relevant Logs/Tracbacks
No response

Works fine for me. Could not reproduce. Please feel free to re-open if you can help provide more specifics to reproduce.


Feature request: Ability to select the currency of the price

It would be nice if the currency of a property is selectable, or if you can change the default currency system wide. Now it shows a dollar sign.

you're right

Done https://github.com/Coderberg/ResidenceCMS/releases/tag/v1.4.2

Great, it works!


Workspace inherited fields are not warned on stable

Problem
It looks like the inheritable fields as part of RFC 2906 (#8415) are no longer generating warnings.  These warnings are important, as some users get confused and place the fields in the wrong section.  If the warnings aren't displayed, then they won't have an indicator of what is wrong. This is particularly problematic for the edition field which quite a few people have tried to set in the workspace.
cc @Muscraft
Steps
Have a workspace such as:
[workspace]
edition = "2021"
[package]
name = "foo"
version = "0.1.0"

Possible Solution(s)
If cargo-features = ["workspace-inheritance"] is not included, then it should generate a warning perhaps similar to:
warning: /path/to/Cargo.toml: unused manifest key: workspace.edition

Notes
No response
Version
cargo 1.62.0-nightly (e2e2dddeb 2022-04-05)
release: 1.62.0-nightly
commit-hash: e2e2dddebe66dfc1403a312653557e332445308b
commit-date: 2022-04-05
host: x86_64-apple-darwin
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.79.1 (sys:0.4.51+curl-7.80.0 system ssl:(SecureTransport) LibreSSL/3.3.5)
os: Mac OS 12.3.1 [64-bit]

Looks like it came from #10564. It switched the inheritance source from workspace to workspace.package. I'll write up tests for it and make the changes needed later tonight/early tomorrow.

I'm not sure if this is an issue anymore. I was wrong before, #10564 fixes this. Can you try using anything after that PR?
Version
cargo 1.62.0 (1f1823c5e 2022-04-20)
release: 1.62.0
commit-hash: 1f1823c5e3c91fe382551a72b4463bafc5f50d5a
commit-date: 2022-04-20
host: aarch64-apple-darwin
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.82.0-DEV (sys:0.4.53+curl-7.82.0 vendored ssl:SecureTransport)
os: Mac OS 12.3.1 [64-bit]

I used the version above and running buildshows an error for an unused manifest key.
I think switching from workspace to workspace.package actually fixed it since TomlWorkspace no longer has a field for edition.

Oh, indeed it has. Sorry about that, I thought I was using the latest cargo. Thanks for taking a look!

It's all good, if you want I can add a test to check for this in the future


Web experimentalCSSMediaQueries: fix when value is undefined

Summary
Using experimentalCSSMediaQueries on web, if the value is undefined it will crash

Hey, can you give me some context? When it happens?

Hello,
in this example if the param color is undefined and experimentalCSSMediaQueries is enabled then it will crash
my workaround is to use a default value like
 backgroundColor: color || '#fffffff',

const stylesheet = createStyleSheet(theme => ({
    container: (color) => ({
        backgroundColor: color,
    }),
}));

Interesting!
Thanks for the details. I will try to repro & review PR

Hmm I've tested your example, and used experimentalCSSMediaQueries: true, but passing undefined as a color is not crashing an app.
My code:
const stylesheet = createStyleSheet(theme => ({
    example: (color: string) => ({
        backgroundColor: undefined
    })
}))

Stylesheet is attached to single View:
<View style={styles.example()} />

Without experimentalCSSMediaQueries:
No class name, no inline styles, deault class .css-view-175oi2r
With experimentalCSSMediaQueries, default class .css-view-175oi2r.
.css-view-175oi2r {
    align-items: stretch;
    background-color: rgba(0, 0, 0, 0);
    // other styles
}

Tried with few other props, but with no luck to reproduce.
Do you have more context, or better example?


[Bug]:  nan in report.sso for sexratio in hermaphroditism model with second growth morph

Describe the bug
biology in endyear table in report.sso shows nan values for sexratio for the 2nd morph when hermaphroditism is used
To Reproduce
per above
Expected behavior
no NAN
Screenshots

Which OS are you seeing the problem on?
Windows
Which version of SS3 are you seeing the problem on?
3.30.20
Additional Context
working with black seabass model from Lisa Chong and Gavin Fay

Found the issue with SS3.  It is not a bug, just a shortcoming in the logic.
The improved reporting of sex ratio is simply using the numbers-at-age for males and females to compute on the fly a sex ratio for the biology table.
The nan are happening because the table is only using numbers at age for area 1, and morph 2 in Lisa's example does not occur in area 1.  So, the nan are simply a reporting issue.
A possible solution would be to sum numbers across areas before computing the sex ratio.

Suggested modification:
In report.sso reporting of sexratio - add a loop across areas such that sex ratio is computed for each area and reported in a separate column
Also add a check report NA if no fish of a given morph exist in an area.


Bug with Stacked Barchart using Moment.js

I'm filling a React model with some dummy data in order to model a Barchart that simulates the %of success every day. This is the code I have:
render() {
    const checked = [
      { x: moment().subtract(5, 'days').valueOf(), y: 5 },
      { x: moment().subtract(4, 'days').valueOf(), y: 8 },
      { x: moment().subtract(3, 'days').valueOf(), y: 9 },
      { x: moment().subtract(2, 'days').valueOf(), y: 4 },
      { x: moment().subtract(1, 'days').valueOf(), y: 10 },
      { x: moment().valueOf(), y: 7 },
    ];
    const notChecked = [
      { x: moment().subtract(5, 'days').valueOf(), y: 2 },
      { x: moment().subtract(4, 'days').valueOf(), y: 5 },
      { x: moment().subtract(3, 'days').valueOf(), y: 0 },
      { x: moment().subtract(2, 'days').valueOf(), y: 3 },
      { x: moment().subtract(1, 'days').valueOf(), y: 1 },
      { x: moment().valueOf(), y: 2 },
    ];
    return (
      <div>
        <XYPlot
          margin={{ bottom: 70 }}
          xType="time"
          width={400}
          height={400}
          stackBy="y"
        >
          <VerticalGridLines />
          <HorizontalGridLines />
          <XAxis tickLabelAngle={-45} />
          <YAxis />
          <VerticalBarSeries
            data={checked}
            color="#14fc1b"
          />
          <VerticalBarSeries
            data={notChecked}
            color="#767c76"
          />
        </XYPlot>
      </div>
    );
  }

The problem is that the result is completely different each time I refresh the component. Here are some examples where the first chart is the correct one:

What could be wrong?

I have this exact same issue. Perhaps it has something to do with the mutability of moment?

Disregard my last comment. This has nothing to do with moment. I have this issue as well with different types of x-scales.

Silly Question - Did you validate that checked and notChecked aren't changing after you refresh the browser?
just from looking at the code, you call moment() over and over, where each call result in differenet results as time goes by, so I'm not sure how react-vis handles such time-span data.
another aspect might be different parsing and representation of dates.
having said that - it's weird that the coloring is not consistent, the order should be kept between different render AFAIK.

@Lxopato Have you been able to solve this issue?

@JelleBlaauw Yes, but I solved it by parsing the dates I receive from the endpoint i was supposed to connect. This was just dummy data for making a kind of mockup, but if I try to replicate this issue the problem persist, so I'm not sure where the problem is originated.


ng-messages eats all memory and crashes after removeMessageNode call

Hi,
Please see the attached picture. Immediately after current line is invoked two elements in the message list start to link to each other which results in that the page eats all available memory and crashes in 5 seconds.
Probably the reason is that the node tree is as is:
<ng-messages><ng-transclude><ng-message/><ng-message/></ng-transclude></ng-messages>

Version: 1.4.8

UPD: not 'propably', 'definitely'. After removing  sublevel, the error is gone. Anyway it is something which should never happen.

Closing due to lack of feedback and minimal demo.

I can confirm I'm also seeing something very similar - but I can't pin down why it's happening. I've attempted a minimal demo, but without knowing the specific combination of factors, it's like looking for a needle in a haystack. I do however have a production website exhibiting this behaviour I can point a someone to for easy replication!

This sounds pretty much like the bug that was fixed in #14242.
@silver2k or @olegccc, could you confirm that the problem is gone using the latest code from master (e.g. from https://code.angularjs.org/snapshot/angular-messages.js) ?

The fix is not yet in a 1.4 release, though.

Exactly - upgrading to 1.5 and confirming the bug is gone probably isn't a great test. Is the a chance of backporting the fix to 1.4? Crashing the browser seems pretty significant.

@silver2k, it has been backported to the v1.4.x branch, so it will be included in the upcoming 1.4.11 release. Stay tuned :smiley:

1.4.11 is available!

v1.4.11 is out :smiley:

Just in case it helps anyone else. I had some sort of issue with ng-messages and out of memory errors in firefox and chrome. I watched using the firefox profiler and came to the realization it had something to do with ng-messages. I was using angular and angular-messages 1.4.9 and moved to 1.9.11 and the issue was gone.

Thx for confirming, @sswayney.


Tell ArgoCD to ignore configmaps that are generated by kustomiz from the diff.

Description
This will tel ArgoCD to exclude configmaps generated by kustomize from the syns status.
This will make the application appear as in-sync when a new version of the app is deployed.
Blast Radius
None I can think of
Dependencies and documentation
Documentation

[ ] I have updated user facing documentation.
[ ] I have updated all Runbooks affected by this change.
[ ]  I updated DEVELOPING.md with any dev tricks I used to work on this code efficiently.
[x] My changes do not have any impact on documentation.

Monitoring

[ ] I have verified that any changes to alerts work as expected.
[ ] My changes affect monitoring rules and/or dashboards, and I made sure they didn't break.
[x] My changes do not have any impact on monitoring.

External dependencies

[ ] I have validated that dependencies impacted by this change work as expected.
[x] My changes do not impact external dependencies.

Rosie the Robot checklists

[ ] My changes affect one or more Rosie checklists.
[x] My changes do not have any impact on Rosie's checklists.

Testing

[ ] I have validated that my changes work as expected.
[ ] My changes do not require testing.

I'll test it once chane is deployed.
Testing Strategy
Make sure that new versions of the configmaps do not make the app show as out of sync.
Security

[x] The changes in this PR have been reviewed for security concerns and adherence to security best practices.

Related Issues or corrective actions
Deployment plan

[x] Merge PR
[ ] Test that sync shows correctly.

I was unable to test that the out-of-sync status works as expected because it requires the app to be changed. I'll keep an eye on it next time it's updated.


Fix white flash on startup

Two separate problems here.

We need to provide initialMetrics for the SafeAreaProvider. Otherwise the first frame is empty. See here.
Doing that isn't sufficient though because NavigationContainer, for whatever reason, can't render in a single pass. So wait for onReady which, as the docs say, is a good place for "hiding your native splash screen". That's exactly what we're doing.

Before
https://github.com/bluesky-social/social-app/assets/810438/794e7b57-0f08-4ba8-83fe-0e8b5c630aef
After
https://github.com/bluesky-social/social-app/assets/810438/302cd600-fb0f-4cdf-988f-f84c18fae31f
Test Plan
Verified there's no flash on iOS and Android. No behavior changes on web.

#movefast


Reuse Parameter-Buffers

Currently, our model allocates one set of buffers for the input parameters and another set of buffers for the output parameters. So, for a 16GB GPU, we could fill up to half its memory with buffers as input and output buffers are separate. This separation means that we have 8GB of effective memory, which means we can allocate up to 8GB/(4 Bytes/Buffers)=2 billion Buffers. However, Jax supports buffer donation, which would allow its compiler to deallocate the inputs.

Closed by #38


Detect cl.exe's path for compiler specs requiring a C compiler

Similar to Crystal itself, we use vswhere to detect the C compiler's full path for the few compiler specs that need to build an extra C object file. This allows files like spec/compiler/codegen/extern_spec.cr to be run without the MSVC developer command prompt.

At this point it would probably be useful to memoize the mscv path.

Within just this file, or in Crystal::System::VisualStudio?

It should be cached globally in Crystal::System::VisualStudio. The MSVC path is unlikely to change during compiler or spec execution. And if it does, it's most likely not intended to affect later uses in the running program.