bug: PAGE_URL never changed

Hey, I wonder are you still maintaining this project?
'Cause I have a problem using this project.
After importing share-selected-text/dist/shareSelectedText.js in my private SPA project, I find that PAGE_URL will never changed.
Why not just get current url while using it rather than defining it as a const value?
For example
- let twitterUrl = `https://twitter.com/intent/tweet?url=${PAGE_URL}&text="${text}"`;
+ let twitterUrl = `https://twitter.com/intent/tweet?url=${getPageUrl()}&text="${text}"`;

Hi @mortalYoung,
I think you are right, the plugin may have some problems for getting the page URL in SPA projects. Your suggestion sounds great.
I'll take a look.
Thanks for your suggestion !

Hi @mortalYoung,
I think you are right, the plugin may have some problems for getting the page URL in SPA projects. Your suggestion sounds great.
I'll take a look.
Thanks for your suggestion !

@mortalYoung , I just fixed it in version v1.1.5 ! Thanks !

@mortalYoung , I just fixed it in version v1.1.5 ! Thanks !

@mortalYoung , I just fixed it in version v1.1.5 ! Thanks !

Thanks a lot ! :)

@mortalYoung , I just fixed it in version v1.1.5 ! Thanks !

Thanks a lot ! :)


Do not assume setting RPC options partially are unintentional

I am using LND inside docker container.
BitcoinD has its datadir mounted in /root/.bitcoin with cookie authentication.
Now, I wish that LND automatically detect the RPC settings (rpcuser and rpcpass), as it can access /root/.bitcoin/bitcoin.conf. However zmqpubrawblock=<IP_ADDRESS>:2937, so I need to override only this one in the configuration file of LND, but not rpcuser and rpcpassword.

Marking this PR as up for grabs due to lack of response to initial review.

@nicolasdorier, remember to re-request review from reviewers for your latest update

@nicolasdorier, remember to re-request review from reviewers for your latest update

@nicolasdorier, remember to re-request review from reviewers for your latest update

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

@nicolasdorier, remember to re-request review from reviewers when ready

don't have time to rebase


Add CakeYaml plugin

https://github.com/makallio85/cake-yaml

I would prefer if the plugin had tests before it got added to the list.

I added integration test, seems to be running just fine.

This is a plugin? It should follow the contribution guidelines!
The name is "CakeYaml plugin" then.
Also the description could be improved. No need to mention CakePHP or the version number as both are clear from context, so maybe just
 Configure routes with simple YAML files.

It would also better fit in the plugins section then: https://github.com/FriendsOfCake/awesome-cakephp#miscellaneous

Okay, good points. Just one thing. This is actually library and plugin. But not just one. It works only with CakePHP 3 but does not work like a plugin.
So is it plugin or not?

What do you mean it does not work like a plugin?
You are activating it by using Plugin::load(), are you not? That classifies as plugin usage for me :)
PS: I also made the PR message a little bit less vague.

Okay, then it is not plugin. It is not loaded like that.

Then I'll change:

description to "Configure routes with simple YAML files."
package name to yaml-route

Thats is?

Ah I see, ok sonds good :)

I made those changes. It should fine now.

YamlRoute it is. Ordered list with update also.

Cool, thx!


[Feature Request] Add end effector pos field in lerobot dataset?

Aloha style joint space dataset will limit data set to the specific robot. Can we change joint space data or add a field of end effector to cartesian space data base on the robot URDF file?
It may help robotics community build a more generalized policy.

Hey there,
We are indeed having discussions about it. For now, we are focusing on joint space rather than EE space. That being said, there's no issues with recording it in datasets.
This does require computing forward kinematics for the arms however, and moreover, doing it for every robot that we want to support. Not that it's not doable but we currently don't have the bandwidth to take it upon ourselves. Would you be willing to contribute with a PR for it?
cc @Cadene @alexander-soare

Sure, I will do some try in my repo and when all things is ready, I will make a PR about it.
I will temporarily close this isssue, and reopen it when all things ready！


Added sign-in with Username + Password

We only have social sign-in right now.

Ill work on this.

@firacloudtech Hey buddy, how you getting on with this?

Will have a shot at it on 8th Apr.


The result is different with Unity.Anagle Method?

var v1 = new Vector3(0, 1, 0);
var v2 = new Vector3(1, 0, 0);
var angle = v1.FindRotation(v2) * Mathf.Rad2Deg;
Debug.Log(angle);  // (28.65, -28.65, -14.32)

var a2 = Vector3.Angle(v1, v2);
Debug.Log(a2);  // 90

Is this result correct ?

This is a Unity side issue. Keep in mind we are 1:1 with Kalidokit so of it doesn't work there it won't work here. Please see #11 as well.


Upgrade plugin for usage with 0.4.x

bump

This should also take care of #10.

Sure-It's just that I like to merge all pull-requests if possible, so everyone get's a little karma. (I think you're referencing your other patch over at the hostkeys plugin.)

Yeah just trying to bump this one/any of them, since they've been sitting here for a while ;)

I'm at the manual merge, then testing it all together :)

Alright, merged. Let the testing begin. Thanks a bunch!


Update Documentation to reflect new services

The documentation is not current with the functioning services. Need to update the documentation to described the new services.

Pi is the way to go whenever you want to share data quicker


When editing torrents that had flags before the multi-flags system, the language checkboxes will ALL be unchecked

And obviously, submitting the edit remove the flags

The fix is a db one. @ewhal should do an update on languages with their parent counter part. For example Update torrents SET languages="fr" WHERE languages="fr-fr"


Do not offer edit or actions on group rows

Three dots and edit was offered to group by rows, this will prevent that.

Approving myself, as there is nobody available to review


PWA optimizations for A2HS

See https://developer.mozilla.org/en-US/Apps/Progressive/Add_to_home_screen and https://developer.chrome.com/multidevice/android/installtohomescreen
Note that Firefox for Android only shows an Add-to-home-screen button when using the https protocol.

Broken links
(Output of test script tests/http-status.js.)
There were 0 internal and 1 external links failing.

http://www.ecue.de/

Looks good, but I'd also like having http users automatically redirected to the https site. There is no advantage in allowing both protocols if https is available without extra effort.

The redirect could be something like https://stackoverflow.com/a/31992212/451391 with status 301.


Style Elements

Created PR on behalf of @shanberg. I'm unable to formally review, but I went through the code and it looked good after resolving some linting issues.


test-branch/execute-job/wrong-comment-on-pr/9dbfb568-5029-482b-b726-203882442fbf

PR for testing 2d912c3e9c2f780351722dfc0c05951021fa9468

comment 1


!PU(table): export needs a delimiter option

If your table data contains a comma (like datetime), the export utility uses a comma to separate the data. That conflicts with data that already has a comma.

Request is to add a delimiter option to change the default (comma) to something else like (|)...

Added quoting for commas, tested with USQL startDate field and excel. Pushed to GitHub, ChromeStore 1.57.


Strange situation after 2.0 where syntax highlighting and scrolling go together

I want to use a GIT image to illustrate the problem, please pay attention to the color (in order to prevent the interference of third-party themes, I have switched to vscode's built-in theme)

Is this #3935?

Duplicate of https://github.com/vuejs/language-tools/issues/3935


⚠ Bofrost.lu has degraded performance

In 42d41a8, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1735 ms

Resolved: Bofrost.lu performance has improved in 68c0119 after 20 minutes.


Update use case and design considerations for find

Codecov Report

Merging #87 (f71fcaf) into master (b9b9288) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #87   +/-   ##
=========================================
  Coverage     73.29%   73.29%
  Complexity      489      489
=========================================
  Files            83       83
  Lines          1528     1528
  Branches        168      168
=========================================
  Hits           1120     1120
  Misses          346      346
  Partials         62       62

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 b9b9288...f71fcaf. Read the comment docs.


FormAuth: Getting status 302 when redirecting after login

I am having an issue in redirection after login and I seem to not figure out what the issue might be. When I check from the web tools I see the quarkus-redirect-location with the correct url but can't redirect and returns me to the login page. Below is my login impl and configs:
Login bean

    @ConfigProperty(name = "quarkus.http.auth.form.cookie-name")
    String cookieName;
    @Inject
    FacesContext facesContext;
public void authenticate() {
    System.out.println("authenticating");
    try {
        var request = (HttpServletRequest) facesContext.getExternalContext().getRequest();

        switch (generateCookie(request)) {
            case SUCCESS ->
                facesContext.getExternalContext().redirect("/app/onboard.xhtml");
            case FAILED ->
                facesContext.addMessage(null,
                        new FacesMessage(FacesMessage.SEVERITY_ERROR, "invalid user credentials", null));
        }
    } catch (IOException | InterruptedException e) {
        throw new RuntimeException("something went wrong during authentication");
    }
}

private AuthStatus generateCookie(HttpServletRequest request) throws IOException, InterruptedException {
    System.out.println("Generate Cookie called");
    var securityCheckUrl = request.getRequestURL().toString()
            .replace("/account/login", "/j_security_check");
    var response = jSecurityCheckRequest(securityCheckUrl);
    System.out.println(" STATUS: " + response.statusCode());
    if (response.statusCode() == 401) {
        return AuthStatus.FAILED;
    }

    var fcResponse = (HttpServletResponse) facesContext.getExternalContext().getResponse();
    setCookie(response, fcResponse);
    return AuthStatus.SUCCESS;
}

private void setCookie(HttpResponse<String> response, HttpServletResponse fcResponse) {
    System.out.println("in the set cookie");
    var responseMap = response.headers().map();
    if (responseMap.containsKey("set-cookie")) {
        System.out.println("next part set cookie");
        var cookieString = responseMap.get("set-cookie").get(0);
        var quarkusCookie = new Cookie(cookieName, cookieString.split("=")[1]);
        quarkusCookie.setMaxAge(30 * 60); //30 min expiry
        quarkusCookie.setHttpOnly(true);
        fcResponse.addCookie(quarkusCookie);
    }
}

private HttpResponse<String> jSecurityCheckRequest(String securityCheckUrl)
        throws IOException, InterruptedException {
    var response = HttpClient.newHttpClient().send(HttpRequest.newBuilder()
            .uri(URI.create(securityCheckUrl))
            .POST(HttpRequest.BodyPublishers.ofString(
                    "j_username=" + username + "&j_password=" + password))
            .header("Content-Type", "application/x-www-form-urlencoded")
            .build(), HttpResponse.BodyHandlers.ofString());
    return response;
}

private enum AuthStatus {
    SUCCESS, FAILED;
}

Property file

quarkus.security.jdbc.enabled=true
quarkus.security.jdbc.principal-query.sql=SELECT u.password, r.name FROM systemUser u JOIN uRole r ON u.roleId = r.id WHERE u.username=?
quarkus.security.jdbc.principal-query.bcrypt-password-mapper.enabled=true
quarkus.security.jdbc.principal-query.bcrypt-password-mapper.password-index=1
quarkus.security.jdbc.principal-query.attribute-mappings.0.index=2
quarkus.security.jdbc.principal-query.attribute-mappings.0.to=groups
quarkus.http.auth.form.enabled=true
quarkus.http.auth.form.login-page=account/login.xhtml
quarkus.http.auth.form.landing-page=
quarkus.http.auth.form.error-page=

Web xml
    <session-config>
        <cookie-config>
            <http-only>true</http-only>
        </cookie-config>
        <tracking-mode>COOKIE</tracking-mode>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.xhtml</welcome-file>
    </welcome-file-list>

    <!-- Context parameters - Primefaces-->
    <context-param>
        <param-name>primefaces.MOVE_SCRIPTS_TO_BOTTOM</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>primefaces.COOKIES_SAME_SITE</param-name>
        <param-value>Strict</param-value>
    </context-param>
    <context-param>
        <param-name>primefaces.FLEX</param-name>
        <param-value>true</param-value>
    </context-param>

    <!-- Context parameters - Omnifaces-->
    <context-param>
        <param-name>org.omnifaces.FACES_VIEWS_SCAN_PATHS</param-name>
        <param-value>/*.xhtml</param-value>
    </context-param>
    <security-constraint>
        <web-resource-collection>
            <web-resource-name>Secured</web-resource-name>
            <url-pattern>/app/*</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <role-name>ADMIN</role-name>
            <role-name>USER</role-name>
        </auth-constraint>
    </security-constraint>
    <security-role>
        <role-name>ADMIN</role-name>
    </security-role>
    <security-role>
        <role-name>USER</role-name>
    </security-role>

@muchiri08 @Ryaru was having similar issues: https://github.com/melloware/quarkus-faces/issues/409
This week I will try to put together a small Faces Form Auth example.

@melloware Thank you.
Also if there could be an example of doing the form auth by implementing the interfaces rather than using the property file to do the login I would appreciate.

@muchiri08 i just threw this quick example together.  Run mvn quarkus:dev and hit localhost:8080 .  Login with scott and jboss  as the username/password.
quarkus-faces-formauth.zip
This is not a traditional JEE app so you need to do things the Quarkus way...
Don't use web.xml for security use Quarkus.  The config below says "secure everything" except JS/CSS and certain XHTML pages which need to be public to be access like login.xhtml and error.xhtml.
quarkus.http.auth.permission.default.paths=/*
quarkus.http.auth.permission.default.policy=authenticated
quarkus.http.auth.permission.form.paths=login.xhtml,error.xhtml,viewExpired.xhtml,jakarta.faces.resource/*
quarkus.http.auth.permission.form.policy=permit
quarkus.http.auth.permission.form.auth-mechanism=form

@melloware Sorry I have been away. So the above property file code snippet you have posted works perfect only if on the ui I change my form and post directly to j_security_check. When I do the programatic way the authentication returns status 200 which is successfull, then I do the faces context redirection(as shown from the prev post I made on the authenticate() method), on the browser it tries to redirect, then instead, it shows status 302 on the network tab and returns me to the login page.

OK so that tells me the redirect that Quarkus VertX doesn't think you are authenticated and re-routes you back to the login page.

I think so yes.

Yep its missing the credential cookie so it thinks you are not authenticated.

I think I know why you are setting it in the Faces Repsonse but calling facesContext.getExternalContext().redirect("/app/onboard.xhtml"); and that redirect I am pretty sure is discarding the current response.  I think this would happen in Faces regardless of Quarkus?

I have just done a quick example on jakarta ee and seems the cookie is committed to the request before redirection. It did work. Test done on mojarra + jakarta ee 10.
@Named
@RequestScoped
public class Navigator {

    @Inject
    FacesContext facesContext;

    public void navigate(String page) throws IOException {
        var cookie = new Cookie("my-cookie", "myvalue");
        var response = (HttpServletResponse) facesContext.getExternalContext().getResponse();
        response.addCookie(cookie);
        facesContext.getExternalContext().redirect(page);
    }
}

I just tested and it works fine.
quarkus-faces-formauth.zip

Unzip file
Run mvn quarkus:dev
Navigate to http:://localhost:8080
Press the "Navigate Cookie" button.
Redirected to error.xhtml and cookie in Cookie Jar

@melloware  I have written a test app with sign up, login and home page. The sign up page is just to create a user then login with the credentials. The issue I have come across is some credentials gets authenticated successfully and redirection to home page is done. Others get authenticated successfully but redirection fails and the status 302 is shown. For this to be seen I had so signup severally with different users credentials. On my case, one of the failing credentials are when username=admin and password=admin. This might not be a case on your side but it has happened.
quarkus-faces-formauth.zip

Unzip file
Update the db config property file

quarkus.datasource.db-kind=postgresql
quarkus.datasource.username=<db-username>
quarkus.datasource.password=<db-password>
quarkus.datasource.jdbc.url=<db-url>

Run mvn quarkus:dev
Navigate to http://localhost:8080

OK thanks to @gastaldi found your bug.  Your cookie parsing was wrong.
qfaces-501.zip
correct way to parse the cookie.
var cookieString = responseMap.get("set-cookie").get(0);
io.undertow.server.handlers.Cookie cookie = io.undertow.util.Cookies.parseSetCookieHeader(cookieString);
var quarkusCookie = new Cookie(cookieName, cookie.getValue());

That's so odd. Even username with 5 chars do not work either lol. Should we end the chat at this point?  I think this will work just fine for now.


[ScrollArea] Second take

We want to take a second look at the current API and some decisions we made in the first version.
I think the goal is simplify, simplify, simplify.

probably remove custom animation stuff
fix issue with events in children #351
maybe remove some custom parts not used often like the start/end buttons
fix issue with styling of non-exposed parts

cc @jjenzz, assigned you to this


Setting a default ontology(rdf) on page load

Hi,
is it possible to set a default ontology (rdf) to the rdf-editor on the page load and make it read only, so the application will always visualize the same ontology.
Best,
Lavdim

ok, I found it. It can be done as below:
<script type="text/javascript">

  window.onload = function () {

    var content= `RDFContentHere`;
    var rdf = document.getElementsByTagName("rdf-editor");

    rdf[0].value = content;

    }

 </script>

Thanks.

Nice, but be advised.. before you build something with this.. there will be lots of change on this. Especially will we take this functionality out of this project. See #41

I see. Thank you for the information.


node dependency not checked or documented

When using npm install --global elm to install elm on Debian/Ubuntu, the process bails out with message sh: 1: node: not found. This is a known issue and arises because Debian systems rename the node binary to nodejs. The solution is to install the package nodejs-legacy before installation.
However, the solution is not documented in the readme. The solution is also not evident from the error message. Please put up a note in the readme. Something like: on Debian/Ubuntu systems, install the nodejs-legacy package before installation.

See https://github.com/kevva/elm-bin/pull/34.

Thanks. Looks good.

I think this issue can now be closed, due to the merging of #34.

Thanks!


在山东民政局项目两个物理节点内核报bug——XFS:  possible memory allocation deadlock size 144 in kmem_alloc

In GitLab by @sokril on Jun 24, 2020, 03:19

In GitLab by @luotian-github on Aug 31, 2020, 06:25
assigned to @sokril

In GitLab by @luotian-github on Sep 8, 2020, 01:30
assigned to @tmon546596046 and unassigned @sokril

In GitLab by @tmon546596046 on Sep 8, 2020, 01:33
fix the flannel memory issue.
there is no other probelms when the warnning messages shows.
this message means we need diskcheck or Defragmentation

In GitLab by @tmon546596046 on Sep 8, 2020, 01:33
closed


⚠ Bofrost.lu has degraded performance

In ad3c327, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1938 ms

Resolved: Bofrost.lu performance has improved in 06c5f25 after 6 minutes.


[WIP] Add appveyor config

I need a PR to set this up.

I've disabled PRs and all branches other than master now. After-the-fact badge to check if we're okay on Windows should be enough.

Ship it.


Add setting for tab closing order

Closes #57554, closes #43459
This is my first contribution to the open source world! :tada:

[x] Write tests for setting
[x] Make tests use different settings

So is this feature implemented? How it's called?

https://github.com/Microsoft/vscode-docs/blob/vnext/release-notes/v1_31.md#closing-order-of-editor-tabs

thanks ;)

@bpasero

[..] do we need 2 different settings "Left to Right" and "Right to Left"? Wouldn't a boolean setting be easier to just disable the MRU behaviour?

This remark apparently made OP completely remove much desired right to left closing order option (?).
Logically, this should have been three state option controlling what happens after tab is closed.
After closing editor, focus moves to:

Most recently used editor  a.k.a. "MRU order", current default;
Right (next) adjacent editr, a.k.a. "LTR order", current "workbench.editor.focusRecentEditorAfterClose"=false;
Left (previous) adjacent editor, a.k.a. "RTL order", currently not possible.

Issue #67730 (Close with ctrl+w from right to left and not vice-versa) called for last mentioned option, but was mistakenly marked as duplicate of #57554 (Allow to close tabs from left to right [rather than MRU]) what was resolved by this PR.
So option for right to left closing order is still missing but would be really nice.

Feel free to open a new issue for it.


old versions of DataPower do not always generate an out of support error

i have a XI<IP_ADDRESS>.0 and do not get the out of support error

Thanks for the heads up on this one, this is resolved by commit 776b5d1aab3d5be9f64bb94e0b11241d60496f62


v<IP_ADDRESS> assembly is not strongly named

The latest version v<IP_ADDRESS> available via NuGet is not strongly named.
Could you please explain in deep why you don't want sign assembly?
Probably lets create build script which will build two versions of packages?
I have read article FubuMVC Lessons Learned — Strong Naming Woes and Workarounds but I don't see a big problem here.
Based on comments to other versions of your product I think it will be great to have signed package also.
Thanks

Ok, this is going to sound harsh, but in my opinion it's not worth time investment. I'd rather make Fluent build on Mono/CoreClr, improve build scripts, write tests for existing features or simple read up on some parts of the code I'm not that familiar with.

Is there any plan on this subject ?

If you're willing to supply working script that alters the solution/project
files and make a PR, I'll take a look. There also will be a separate NuGet
package, of course
2016-01-20 17:43 GMT+03:00 DogaOztuzun<EMAIL_ADDRESS>
Is there any plan on this subject ?
—
Reply to this email directly or view it on GitHub
https://github.com/jagregory/fluent-nhibernate/issues/336#issuecomment-173224263
.

--
Yours faithfully,
Gleb

That's what I thought

@chester89 What's the point of having separate nuget package? I am willing to do a PR for strong naming.

@maggarwal I'm against it because I don't see the point. @jagregory @jrgcubano what do you think?


Android add2app build fails when using platform plugin that supports Desktop or Web

When building an existing app and embedding flutter, and using the latest version of the url_launcher plugin, the build will fail because the url_launcher_web and url_launcher_macos will get built by gradle, when building task  assembleAndroidTest.
> Task :url_launcher_web:transformClassesWithDexBuilderForDebugAndroidTest FAILED

...

> Task :url_launcher_macos:transformClassesWithDexBuilderForDebugAndroidTest FAILED

It's important to note the combination of using a plugin that supports multiple platforms, and building the  assembleAndroidTest task causes this problem. It basically prevents us from building our Debug flavors without tweaking the pubspec.yaml file of the plugin.
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G2022, locale en-US)
    • Flutter version 1.12.13+hotfix.5 at /Users/danny.valente/Library/flutter/1.12.13+hotfix.5-stable
    • Framework revision 27321ebbad (4 days ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

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

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

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

Hi @dannyvalentesonos
can you please provide your flutter run --verbose?
Thank you

@iapicca This is an add2app scenario. We are basically building a Flutter module. Doesn't flutter run actually build the host app and run it? That does not work in our situation.
This bug causes the build itself to fail for existing app integration scenarios.
Please advise what flutter run will give and if it's needed?
Thanks.

@blasten can you take a look?

I think this is already fixed. Would you mind trying again?

@blasten I still see the same build errors with the latest on the master branch.

@blasten can you please set an appropriate milestone to this issue?

@blasten is OOO currently. @amirh may have some context too.

Which versions of the url_launcher packages are used? (You can check in pubspec.lock) can you try running 'flutter pub upgrade' to make sure you have the latest versions?

We are using the url_launcher 5.4.1. The issue is that the latest versions support multiple platforms. When we download the plugin and have it saved locally, changing the pubspec.yaml of the plugin like so allows the build to succeed:
name: url_launcher
description: Flutter plugin for launching a URL on Android and iOS. Supports
  web, phone, SMS, and email schemes.
homepage: https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher
version: 5.4.1

flutter:
  plugin:
    androidPackage: io.flutter.plugins.urllauncher
    iosPrefix: FLT
    pluginClass: UrlLauncherPlugin

dependencies:
  flutter:
    sdk: flutter
  url_launcher_platform_interface: ^1.0.4

dev_dependencies:
  flutter_test:
    sdk: flutter
  test: ^1.3.0
  mockito: ^4.1.1
  plugin_platform_interface: ^1.0.0

environment:
  sdk: ">=2.0.0-dev.28.0 <3.0.0"
  flutter: ">=1.12.8 <2.0.0"

@amirh Ok I figured out the issue.
So, any plugin that has an Android platform component, we always have to download them and use them locally, because we need to modify their build.gradle files to add
android {
        compileOptions {
            sourceCompatibility 1.8
            targetCompatibility 1.8
        }
    }

Now, the url_launcher has a macos and web platform plugin. And I see that they had the extra noop /Android directory added. But turns out, if I download them both and use them locally, I can change their build.gradle files as well to add the above lines, and now the build succeeds.
I've been really surprised that the plugins have been released without those lines in their respective build.gradle files all this time and no one has complained. They have never worked for us like that ever. In fact, the flutter package itself had to add those lines to the flutter.gradle file.
If all the plugins could get updated to have those extra lines in their build.gradle files, everything would just work perfectly.
Do you think there's a possibility to get that done?
Thanks!

It might also help to explain why those lines are needed btw..
With the Add2App embedding API, there's a class in the API that causes an error, unless building with Java 1.8
Here's the error
Caused by: com.android.tools.r8.utils.AbortException: Error: Default interface methods are only supported starting with Android N (--min-api 24): boolean io.flutter.embedding.android.SplashScreen.doesSplashViewRememberItsTransition()

So this is specific to people who use these plugins with the Add2App scenario.

Touching for triage 2020 experiment.

@blasten @amirh Any thoughts?


Add netstat alternative

In case netstat is not available, we can use SS command.

Thank you. In the new update. Soon.

Thank you. In the new update. Soon.


This doesn’t have a native feel :/

Absolutely, there's always room for improvement. Totally open for PR and suggestions. @oferRounds

Not sure, but I think the idea — at least in iOS — is to "hook" to the Native api, which supports cell’s swipe

@rishabhbhatia got you, cool! thanks for your reply! :)


[$250] mWeb - BNP - After selecting different currency, for big number next button alignment changes

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: V9. 0.75-0
Reproducible in staging?: Yes
Reproducible in production?: No
Issue reported by: Applause Internal Team
Device used: Redmi note 10s android 13
App Component: Money Requests
Action Performed:

Go to https://staging.new.expensify.com/home
Tap fab - create expense
Enter big number 8 digits
Select a different currency
Note the next button alignment

Expected Result:
After selecting different currency, for big number next button alignment must not change.
Actual Result:
After selecting different currency, for big number next button alignment changes from middle to left.
Workaround:
Unknown
Platforms:

[ ] Android: Standalone
[ ] Android: HybridApp
[x] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/ba7d7bb1-45ba-42d9-ab4a-1fe0f8a10376
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021867194147621109596
Upwork Job ID:<PHONE_NUMBER>621109596
Last Price Increase: 2024-12-12

Issue OwnerCurrent Issue Owner: @rojiphil

Production behavior
https://github.com/user-attachments/assets/ab4dc386-fded-49a3-bcff-0b6ecce84459

I'm unable to reproduce this on staging or production - demoting this from a blocker and the needs repro label.
https://github.com/user-attachments/assets/30e1de7a-b79c-45c8-9453-47980971ebf9
https://github.com/user-attachments/assets/95ac1be8-a074-443a-99bc-2b3e339bfc3e

@allgandalf I already posted on Slack 😄

This is easily reproducible. Here are the steps:

In android chrome, open https://staging.new.expensify.com
Click on the Fab, then click on Create Expense
Enter an amount like 22222222
Click next, and enter a recipient email like<EMAIL_ADDRESS>Click next, and on the review screen, click on the amount again.

It can be easily seen that the Next button is misaligned.
https://github.com/user-attachments/assets/bb4a1c3f-7761-4403-82be-617a5dc552a0

Cool 👍 Re-applying appropriate labels then - not sure why I don't see the UI issue (even following those updated steps, thanks @allroundexperts) but happy to have this one investigated.

Hi, could you please help me, should I post what I think is the correct solution here in the comments?

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01588b7de4d2e62c93

Caused by https://github.com/Expensify/App/pull/53740

Revert merged and being Cped

Fixed in staging


Bug (#1767): Set good work dir before copying sample_settings.json

This adds a simple function to determine the real project source root directory before trying to copy sample_settings.json.

@martinhbramwell my question is why is it necessary to copy the file in the first place. What is the use case?

As far as I can see, the only purpose is to ensure a problem free start up experience for new users, as we all know and love about Meteor. From that viewpoint, the bug is much worse than the problem it's meant to solve. I did get it doing what it's meant to do, but I have seen that the sample settings cause the "newsletter" module to make Vulcan fail horrendously and  incomprehensibly. I've been trying to get to know Vulcan, but find I am constantly tripped up by surprise problems, hence my three PRs to date, and another on the way. I want to see Vulcan get really popular, but it won't with the current getting started experience.

What does wrk_dir = '../../../../..'; do here? How are you determining this path?

There are two possible locations from which the script can execute, which I really don't expect will ever change: the root of the project and the root of Meteor's run time of the project.  The latter is 5 levels below the former, so wrk_dir simply points back up to the top where the file is sure to be found.

Why would the script execute from two locations though? If that script doesn't behave in an understandable way, we might as well remove it.

I believe it executes from within Meteor's runtime directories because Meteor is aggressive about collecting all possible changes when a developer updates any file not prefixed with '.'
Evidently it uses npm prestart as part of its changes collection process, which means that you can alter stuff like 'sample_settings.json' and Meteor will reload it each time!
I see no point in copying 'sample_settings.json' over and over again, so perhaps a better solution is to copy it when :

there's no settings.json and
the base path of the script is not in Meteor's run time directories

I can redo it like that if you want.

This PR would pull from the wrong branch in my fork.
Closed in favour of new PR  #1783


piecewise rewritten, math constants added to tagmap, warning solved!

Pull Request Test Coverage Report for Build 678255857

11 of 18 (61.11%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.7%) to 61.25%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/parse.jl
11
12
91.67%

src/maps.jl
0
6
0.0%

Totals

Change from base Build 676756451:
-2.7%

Covered Lines:
98

Relevant Lines:
160

💛  - Coveralls

looks good, thanks a ton!


[BUG] Metadata sheet ISA terms are sometimes nested, sometimes not

Describe the bug
In XLSX metadata sheets, terms are sometimes nested and sometimes not:
Nested:

Here: Investigation file: e.g. INVESTIGATION -> INVESTIGATION PUBLICATIONS -> Investigation Publication Title
Not nested:

Here: Assay file: e.g. ASSAY PERFORMERS -> First Name
Expected behavior
Shouldn't this be nested as well in Assay file? Or not nested in Investigation file and Study file?
CC: @kMutagene

Shouldn't this be nested as well in Assay file? Or not nested in Investigation file and Study file?

IIRC the investigation file looks exactly the same way that files created by original isa tooling look like. For the study metadata section (which is new in the arc, not included in original isa) we follow this scheme, but break it in the assay file.
So i think the assay metadata section should look like this:
ASSAY METADATA
Asssay Measurement Type
Asssay Measurement Type Term Accession Number
Asssay Measurement Type Term Source REF
Asssay Technology Type
Asssay Technology Type Term Accession Number
Asssay Technology Type Term Source REF
Asssay Technology Platform
Asssay File Name
ASSAY PERFORMERS
Asssay  Performer Last Name
Asssay  Performer First Name
Asssay  Performer Mid Initials
Asssay  Performer Email
Asssay  Performer Phone
Asssay  Performer Fax
Asssay  Performer Address
Asssay  Performer Affiliation
Asssay  Performer Roles
Asssay  Performer Roles Term Accession Number
Asssay  Performer Roles Term Source REF

For future reference, I found more inconsistencies:

the metadata sheet names are different: for Investigation, it is isa_investigation, while for Study/Assay it is Study/Assay
--> i propose isa_assay/isa_study for Study/Assay as names for metadata sheets

while the investigation metadata section just has the INVESTIGATION header (followed by identifier etc.), it is again different for Study/Assay metadata sheets, where it is STUDY METADATA/ASSAY METADATA.
--> I propose   STUDY/ASSAY for Study/Assay as headers for Study/Assay metadata sheets.

Basically, all suggestions boil down to adhereing to the scheme of the original investigation metadata sheet, since the study/assay metadata sheets are our own additions to the standard.

The logic for this can be found in ISA.Spreadsheet 👍

Seems like some of the issues are already fixed, i just added metadata sheet names in #140 .

JFC, seems like this is the current state when my PR is merged:
Study

[x] correct sheet name (isa_study)
[x] correct header (STUDY)

Assay

[x] correct sheet name (isa_assay)
[x] correct header (ASSAY)
[ ] correct nesting headers (e.g. Measurement type -> Assay Measurement Type)

@kMutagene @omaus @Freymaurer
I fixed this in #142
Tables now follow standard isa:
ASSAY
Assay Measurement Type
Assay Measurement Type Term Accession Number
Assay Measurement Type Term Source REF
Assay Technology Type
Assay Technology Type Term Accession Number
Assay Technology Type Term Source REF
Assay Technology Platform
Assay File Name
ASSAY PERFORMERS
Assay Person Last Name
Assay Person First Name
Assay Person Mid Initials
Assay Person Email
Assay Person Phone
Assay Person Fax
Assay Person Address
Assay Person Affiliation
Assay Person Roles
Assay Person Roles Term Accession Number
Assay Person Roles Term Source REF

Tested for reading fixed and deprecated, and writing fixed.


[BUG]

BUG CONNECTION

BUG CONNECT

BUG CONNECT

update for new version [2, 2417, 1]

Even after changing the version, it is not working, it is only showing a connection error.

update lib
new realease

updating the lib here also didn't solve the problem! the qrcode is not generated

Still same issue. got this error
Error: Connection Failure\n    at WebSocketClient. (/root/wabot-brosispku/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:529:13)\n    at WebSocketClient.emit (node:events:518:28)\n    at /root/wabot-brosispku/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:241:35\n    at Object.decodeFrame (/root/wabot-brosispku/node_modules/@whiskeysockets/baileys/lib/Utils/noise-handler.js:149:17)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
already updated to version 6.7.7


Update get-started.mdx

I have taken it off from Getting Started as you mentioned. Will now add it over to the Collections and add a new pull request for the same.

Don't create a new PR for each change, instead update the existing branch / PR. Closing this.


Update the VTR version used

This PR Updates vtr-optimized Conda package to a version with genfasm bug fix included.

Isolated VTR version bump will make QuickLogic CI fail. I'm closing this PR and will open a new one that integrates relevant changes to QuickLogic support.


Improve Postgres cluster configuration

Add some Helm values to provide more flexible config for the pg cluster:

.Values.postgresCluster.instance1.dataVolumeClaimSpec.resources.requests.storage: Size for the instance volume (where the database container is running).
.Values.postgresCluster.patroni.dynamicConfiguration.postgresql.pg_hba: To configure dynamic replication.
.Values.postgresCluster.backups.pgbackrest: To add more settings for backups (see https://pgbackrest.org/configuration.html)
.Values.postgresCluster.backups.pgbackrest.repos.repo1: To configure the repo1 (where we drain some backups).
.Values.postgresCluster.backups.pgbackrest.repos.repo1.volume.volumeClaimSpec.resources.requests.storage: Size for the repo1 volume.

The user can change those setting and the default replication values are:
backups:
  pgbackrest:
    global:
      repo1-retention-full: "3"  # Keeps 3 full backups
      repo1-retention-archive: "10"  # Retain the last 10 archive logs
    repos:
      repo1:
        schedule:
          full: "0 1 * * 0"  # Weekly full backup every Sunday at 1 AM
          differential: "0 3 * * *"  # Daily differential backup
          incremental: "*/30 * * * *"  # Every 30 minutes for incremental backups

I added some default values for the replication policies of the Postgres cluster and I verified this on a GKE deployment; the backup process is working fine:
kubectl exec -n graphistry -it postgres-repo-host-0 -- pgbackrest info
Defaulted container "pgbackrest" out of: pgbackrest, pgbackrest-config, pgbackrest-log-dir (init), nss-wrapper-init (init)
stanza: db
    status: ok
    cipher: none

    db (current)
        wal archive min/max (14):<PHONE_NUMBER>00000000000001/00000001000000000000006D

        full backup: 20241220-183208F
            timestamp start/stop: 2024-12-20 18:32:08 / 2024-12-20 18:33:19
            wal start/stop:<PHONE_NUMBER>00000000000002 /<PHONE_NUMBER>00000000000003
            database size: 33.5MB, database backup size: 33.5MB
            repo1: backup set size: 4.2MB, backup size: 4.2MB

Looks good 👍 I wrote the 4gb limit before the core dump bug started happening , also might be valuable to look at the github issue I posted in chat last night also and maybe add something there // check newer versions of PGO to see if anything’s changed

Thanks @webcoderz , I've added some default values and did some tests on GKE; regarding the GH issue https://github.com/CrunchyData/postgres-operator/issues/2532 I think we are using the latest PGO reference example.


Remove handling of unsupported --mem-ballast-size-mib command line argument

The argument was removed from the core collector in v0.36.0. We kept supporting it in our distro but the support is broken. We never remove that argument as we do for others and it's being passed to the core collector in https://github.com/signalfx/splunk-otel-collector/blob/main/cmd/otelcol/main.go#L105 where it fails with the following error:
2022/12/08 16:25:34 main.go:106: application run finished with error: unknown flag: --mem-ballast-size-mib

So I don't think it makes sense to bring back support of it.

Considering this hasn't worked for a bit it makes sense to remove as you have, but it could also be restored but no longer passed to the service w/ removeFlag(), which would be a simpler change (fwiw).

I don't think there is a reason to keep and maintain an additional configuration option which is likely not being used given that there were no complaints since 0.36.0


Upgrade dockcross and pybind11

Upgrade dockcross image version to support Python 3.10+ for PyPI Wheels.
new Dockcross image: dockcross/manylinux2014-x64:20230215-2dd9a1c
new pybind11 version: v2.10.3
Upgrading pybind11 was needed to build Python 3.11+ wheels (compilation error with old pybind11 library).
The latest dockcross image supports gcc10 and --override option was needed to install https://developer.download.nvidia.com/compute/cuda/11.0.3/local_installers/cuda_11.0.3_450.51.06_linux.run (to ignore unrecognized compiler versions) in the dockcross image.
# Build cuda-enabled dev container from `dockcross/manylinux2014-x64:20230215-2dd9a1c` image
./run build_manylinux2014
# Build Python package
./run build_package # using build_python_package is also okay but it wouldn't remove `dist` folder before building.

# wheel file is available in `dist` folder.

With this change, wheel file can support Python 3.6~3.11

Thanks Gigon! 🙏

/merge

Thanks @gigony!


Feature/improved repository discovery

Improve repository auto-discover behaviour:

Fix edit links
Try to determine http URL link from @git clone
Don't try auto-discover, or warn, if config options are automatically provided
Document how solutions to auto-discover warning

Codecov Report

Merging #34 into master will increase coverage by 0.77%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   91.97%   92.74%   +0.77%
==========================================
  Files          10       11       +1
  Lines         299      331      +32
==========================================
+ Hits          275      307      +32
  Misses         24       24

Impacted Files
Coverage Δ

tests/test_config.py
100% <100%> (ø)

portray/config.py
83.67% <100%> (+3.42%)
:arrow_up:

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 877d8fd...f9e276d. Read the comment docs.


traitdefinition without definitionRef field should work

Currently, we have already supported patch trait which will not really create resource.
It means the patch trait don't rely on definitionRef to refer to a CRD name or anything.
Currently, we just make the field spec.definitionRef of TraitDefinition optional, but it's really a required field if the trait is not a patch trait. We don't have any test or logic that can make sure this won't broke if we define in a wrong way.  It's dangerous.
Actions to fix this issue should contain:

Add TraitDefinition webhook logic, any traitdefinition without defintionRef field must meet one of the requirements:

it's a patch trait without output
it's output already have group/version/kind(GVK) that don't rely on definitionRef.

make sure our controller don't rely on definitionRef, make sure it will not broke if the trait doesn't have GVK defined in cue template.
Add unit-test or e2e test that can cover these cases.
Add/Fix related docs, some examples are wrong.

https://github.com/oam-dev/kubevela/pull/954/checks?check_run_id=1782388898 this CI fails because of don't have Reference Name

https://github.com/oam-dev/kubevela/pull/954/checks?check_run_id=1782388898 this CI fails because of don't have Reference Name

@captainroy-hy  please help check do we miss anything in this issue? Can we close it now?


DevKit Installation Instructions are not complete

I've had this same thing happened to me:
http://stackoverflow.com/questions/27239491/cannot-install-gem-make-is-not-recognized-as-an-internal-or-external-command-o
So I'd get this error message
make is not recognized as an internal or external command operable program or batch file
even though I followed all the steps from https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
Answer by Kalyan fixed it.
What needs to be done is to update this https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
to include last step from the anwer
cd C:\RubyDevKit
ruby dk.rb init
ruby dk.rb install
devkitvars.bat

devkitvars.bat loads the devkit into the environment and the requirement of doing that means that something is broken in your devkit installation.
Basically, the devkit installation is doing what devkitvars.bat is doing, except only in the process on demand as required.
If you're using the 64 bit version, then the ruby dk.rb init command doesn't work properly and you will have to edit the generated file manually.


How to filter data from kartik gridview using select2/ depdrop items, they're outside of the gridview

Hi everyone, I need to filter data from a kartik gridview when I choose one item of a select2 and a depdrop respectively but not inside the gridview as a column, select2 and depdrop are outside of it...
Could someone show me a way to do this?

Please use forums for questions. Espectially if questions aren't about official framework but about extensions.

Ok I'm sorry


CI: Migrate scheduled workflows to scheduled pipeline jobs

CircleCI has two pipeline triggers named nightly_build and hourly_build.
Remove workflow triggers and configure jobs to run on scheduled pipeline triggers .

Ref:

https://circleci.com/docs/migrate-scheduled-workflows-to-scheduled-pipelines/
https://circleci.com/docs/schedule-pipelines-with-multiple-workflows/

Fixes: https://github.com/ethereum-optimism/superchain-registry/issues/548


In Safari, the reaction detail window doesn't scroll

For Troe reactions, the save button is not visible and you can't scroll the reaction detail panel to make it visible. (Check to see if this is also a problem for species detail, plots, etc.)

no longer an issue


feat: use ngAria to fill some accessibility attributes magically

https://docs.angularjs.org/api/ngAria
useful for ngHide etc

Codecov Report

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

@@           Coverage Diff           @@
##           master     #316   +/-   ##
=======================================
  Coverage   98.68%   98.68%
=======================================
  Files         152      152
  Lines        2213     2213
=======================================
  Hits         2184     2184
  Misses         29       29

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 730ebf4...7f142c2. Read the comment docs.


useObservableState throws error!

Uncaught TypeError: Cannot read properties of null (reading 'useRef')
at useRef (react.development.js:1628:1)
at useObservableState (index.js:31:28)
at Search (search.tsx:19:61)
at renderWithHooks (react-dom.development.js:14985:1)
at mountIndeterminateComponent (react-dom.development.js:17811:1)
at beginWork (react-dom.development.js:19049:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
at beginWork$1 (react-dom.development.js:23964:1)


Helm rollback removes the changes done prior to the rollback

Lets say I am at Release 1 and I have a config map with the following data in it
Change 1

from: release-1

Change 2
I do some changes to this map

from: release-2
edited: true

and I transition to Release 2 via helm upgrade
Say the newer release updated another key in it
Change 3

from: release-3
edited: true

Now If I rollback, I go back to change 1 instead of change 2. Why is that ? Is there a way to preserve the changes I did before the rollback ?

How did you edit it? @raul1991 kubeclt edit???

I use fabric8 to edit them when my rest endpoint is hit.
Not sure what fabric8 does internally, probably hitting the master api endpoints ?

Yes. I think use the master api endpint. if you want to save change into helm release. You should use helm upgrade command. @raul1991

@raul1991 helm rollback is designed to roll back to a previous version. This is useful if a release has gone wrong and you need to get back to what was there before. In order to do this, Helm stores the older versions that were applied to the cluster but that does not include out of band changes to those releases. The changes are not available for Helm to use as part of a restore.
helm upgrade can preserve changes because it can do a 3 way diff between the old version, the new version, and what's in the cluster.
I would also suggest what @yxxhero did and use helm upgrade to change that piece of configuration if you want to also rollback.

@mattfarina thanks for the clarification. So that clears out why I am unable to get my results back.
Also, in order to preserve out of band changes done prior to upgrade I use a hack.
By this hack,  I copy the contents of what already exits in the config map in the cluster (which includes out of band changes) into the config map. In this way those values are retained during an upgrade operation. FYI, I do this via lookup function.
I am in search of something like or maybe completely diff hack that can help me keep the changes after the rollback too..


Translatable Compatabilty

Just wondering if you have any guidance on implementing silverstripe translatable for the module?

I have zero experience with translatable, sorry! Let us know how you go

Here's a quick working GIST to support basic translatable fucntionality. It will create translated versions of blocks when translatlating a page
https://gist.github.com/thezenmonkey/6e6730023af553f12e3ab762ace3b08a

Thanks for that, I've added a note and link to your gist in the readme :)

How do you apply the posted TranslatableBlockPage?

You need to add the Translatable extension to the Block. Once thats done either add the onTranslatableCreate() from the gist to your Page class or apply the DataExtension to your SiteTree. The reason it's seperate is because you may need modify the onTranslatableCreate() depending on your specfic requirements.

For me that crashes at

For me that crashes at
$block = $originalBlock->createTranslation($translatedPage->Locale);
Telling me that ERROR [User Error]: Uncaught Exception: Object->__call(): the method 'createtranslation' does not exist on 'ImageOnlyBlock'. (ImageOnlyBlock is one of my custom blocks.)
Any ideas what I'm doing wrong? I'm using Silverstripe 3.3 and the most recent version of the silverstripe-blocks and silverstripe-translate plugin.

You also need to add the translatable extension to both the page and the block

Thank you, that's all I need. I just added Block::add_extension('Translatable'); and now it works.

While with that configuration every seems to work, it's still not possible to create new blocks and add it to another language then the default language.
For my case: At first all pages where created in the primary language de_CH and then I used the  Create Translation button to translate all of them to en_US. Everything seem to work back then. Now I tried to create a new block on an en_US page and when I saved the block I didn't get any error message, but the block didn't appear in the front nor in the backend. So I looked up the block in the backend and found that it has the locale field set to de_CH even if it was attach to an en_US page. Once I manually changed the locale to the correct one, the block got displayed.
Can anybody give me an hint about how to write a DataExtension which fixes that newly created blocks get assigned the correct locale?

No ideas? I would just need to know where to hack in to correctly set the locale field on the newly created block. Isn't there a way to catch "new block created" event using a DataExtension?

Current Locale should be assigned via the Translatable extension by default whenever you create a new translatable dataobject.

Thank you.
However, all I found yet, was that the form for creating a new block already contains the wrong locale. (So the POST request for creating the block sends always the primary language.)


Pilot generate filename with special characters

Issue Description
With new 2.57.0 fastlane version, pilot crashes with this log:
[16:47:40]: Login successful
[16:47:41]: Ready to upload new build to TestFlight (App: XXXXXXXX)...
[16:47:42]: Going to upload updated app to iTunes Connect
[16:47:42]: This might take a few minutes. Please don't interrupt the script.
[16:47:52]: [Transporter Error Output]: The filename MyApp(1c9e0d30d8f53g56hbeed9b3934fh910e7d6a59bd71f91445aaa).ipa in the package contains an invalid character(s).  The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore
[16:47:52]: Transporter transfer failed.

Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.13

Ruby
2.4.1

Bundler?
false

Git
git version 2.13.5 (Apple Git-94)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.13 (17A360a)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.1_1/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.0

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.57.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.2.1

terminal-table
1.8.0

plist
3.3.0

CFPropertyList
2.3.5

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
2.0.2

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.0

faraday_middleware
<IP_ADDRESS>

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.13.6

io-console
0.4.6

openssl
2.0.3

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

generated on: 2017-09-18

Seems to be related to https://github.com/fastlane/fastlane/issues/10327

I am also seeing this error on 2.57.0. Pilot is working fine with 2.56.0.

Ditto

OK, so I needed deliver/pilot to work again locally earlier today, so I made a PR to fix this: https://github.com/fastlane/fastlane/pull/10357

Downgrading Fastlane to 2.56.0 helps.

Thanks y'all for reporting this, and sorry for breaking it in the first place, this is now fixed with the most recent release, please update 👍

Confirmed 2.57.1 fixes the issue.
Thanks @dtrukr for the fast work and all fastlane developers for the quick approves and merge!

Thanks for all your support ❤

Awesome, this was breaking my builds 1 hour ago, I went to a meeting and came back and it had been fixed. Thanks for the quick fix!


Supported terraform version

Hello,
I tried to use terraformVersion: 1.8.3 but i get this error
Failed to pull image "ghcr.io/galleybytes/terraform-operator-tftaskv1.1.1:1.8.3": rpc error: code = NotFound desc = failed to pull and unpack image

only that seems to work is 1.1.1, is this the only version supported ?

I stopped at version 1.5.5 when terraform changed licenses. (I hope someday to find time to try opentofu and continue upgrading that way)
It's not terribly hard to build new task runners, but I did not document it well. Everything I use to build images is here: https://github.com/GalleyBytes/terraform-operator-tasks.
One can build an image, push it to their own repo, and change the images.terraform.image in their config file.


typo

"your can use" -> "you can use"
in sentence "By adding what is called a binding redirect your can use the new library version without having to recompile your app. "

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

ID: b3e468f2-2cc4-a461-4e67-47e7aeff555d
Version Independent ID: 5e2ade07-13fa-ddfc-377a-f6aa52738b4e
Content: C# Versioning - C# Guide
Content Source: docs/csharp/versioning.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thank you @volkan-yazilim. Would you like to submit a PR to fix this?
You can find instructions here at https://docs.microsoft.com/en-us/contribute/#quick-edits-to-existing-documents.


[CI] mesheryctl unit test failing as docker-compose.yaml path is incorrect

Current Behavior

Unit test for github.com/layer5io/meshery/mesheryctl/internal/cli/root/system fails due to incorrect URL to download docker-compose.yaml. Thus, GitHub Actions job Golang Unit and Integration Tests / Unit tests (pull_request) fails for every mesheryctl related change

Desired Behavior

Unit test for github.com/layer5io/meshery/mesheryctl/internal/cli/root/system passes
Implementation

Update path to docker-compose.yaml at platform.go#332 and platform.go#352
"docker-compose.yaml" to "docs/docker-compose.yaml"
Acceptance Tests

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Good find and fix, @pk-218. We have another issue here: the compose file should be under /install/docker, not /docs. that location was probably an oversight in the recent folder restructuring changes.
As you set about making this change, note that updating its location will likely mean a change in areas other than platform.go.

Sure @leecalcote, will take care of that


Three-dimensional local attention

As of right now FlashAttention only supports one-dimensional local attention. I intend to implement up to three-dimensional local attention where the effective attention mask would be a rectangular cuboid. The interface I'm imagining would be something like cudaMemcpy2D where you would specify six values for the cuboid shape and two values for the y/z stride in the flattened array (instead of the two values for window size). The intended use case is image/video models.
Looking at the code it seems that one-dimensional local attention is implemented relatively simply by just adjusting the values for n_block_min and n_block_max. I'm thinking the easiest way to implement three-dimensional local attention would be add two more loops over the y and z dimensions of the cuboid. To avoid a performance regression I would use a template parameter that lets the compiler know when the loops are only over a single element.
Feedback and support by developers more experienced with this repository would be very much appreciated, especially when it comes to testing the implementation.

there's a project doing 'neighborhood attention', which sounds like what you're looking for:
https://github.com/SHI-Labs/NATTEN


Allow multiple mixins for a single key

Some mixins and actually every global mixin with key: '' might match keys while others already resolved that. By piping through all mixins we would ensure that they're all getting resolved.

This should be solved using globalMixins that always match after all other mixins


Adds a var to forcibly show a godot transform.

I cant wait to add a variable ForceForceInvisible to force something to be invisible 😏


add support for Junit5

Flacoco should support Junit5 test for fault localization
Reference: https://github.com/SpoonLabs/astor/issues/307#issuecomment-859341804

Flacoco should support Junit5 test for fault localization

Yes, as  test-runner supports junit 4 and 5, that should not be a problem.
I would say that Flacoco, as currently is, supports any test frameworks supported by Test-runner.

great, documented it in
https://github.com/SpoonLabs/flacoco/commit/f0d1645f8735b61b7dc1d122606f4049eaac47f1

great, documented it in f0d1645

Thanks, I'll improve it in #32


Create DOM node with blank NS to avoid XHTML default in XUnit output

When using SlimerJS, the XUnit output is picking up a default XHTML namespace in the <testsuites/> element, which can disrupt parsing of test results in CI rigs (e.g. Jenkins).
This change creates the DOM node with an explicit blank namespace in order to suppress this attribute in the serialized output.
Running CasperJS with options: --engine=slimerjs --xunit="sample-output.xml"
Sample output before patch:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites xmlns="http://www.w3.org/1999/xhtml" time="86.138">
  <testsuite name="[AC1]" tests="1" failures="0" errors="0" time="3.488" timestamp="2015-09-21T02:55:41.984Z" package="[redacted]">
    <testcase name="HTTP status code is: 200" classname="[redacted]"></testcase>
    <system-out></system-out>
  </testsuite>
</testsuites>

Sample output after patch:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites time="56.547">
  <testsuite name="[AC1]" tests="1" failures="0" errors="0" time="1.656" timestamp="2016-02-05T02:29:25.822Z" package="[redacted]">
    <testcase name="HTTP status code is: 200" classname="[redacted]"></testcase>
    <system-out></system-out>
  </testsuite>
</testsuites>

q.v. Issue #1322.

Hi,
thank your for pointing this issue. Let's wait for the tests build.
Maybe a specific test should/could be written to demonstrate this bug ?
Mickaël

Test written and verified with bin/casperjs selftest --engine=slimerjs.
Locally, the test FAILs as expected before the patch is applied, and PASSes afterwards. Here's hoping it does the same for everyone else.

Looks good to me. Passes after restarting tests failing due to intermittent errors (known bug). I am ok to merge this. @mickaelandrieu ?

@istr looks good to me too, regarding your last comment.
explicit bug + explicit test to reveal it + explicit clean fix == merge (and love :D)
Thanks @DrCuriosity !


WIP: improvements

The router should allow more complex routes. Using the Matcher interface will allow to not lose performance.
TODOS:

[x] Rework how adding a new route work
[ ] Allow Matcher to have access to the http.Request
[ ] Add more conditionnal checks (similar to Gorilla mux) using the Matcher interface

Matcher interface should be split into multiple interfaces types. StrMatcher for example.
Also I should remove the Rule() method. It won't apply to all Matchers.

will need to do more testing, but it's mostly done


[Bug] On Windows, when compiling KCL, KCLVM will panic when deleting the "*.dll" file.

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
On Windows, when compiling KCL, KCLVM will panic when deleting the "*.dll" file.
2. What did you expect to see? (Required)
The KCL program is compiled normally and outputs YAML.
3. What did you see instead (Required)
thread 'main' panicked at '\\?\C:\AppData\Local\Temp\.tmpx10RQL\37464_1671443939813780200.dll not found, defailts: access denied. (os error 5)', runner\src\lib.rs:246:35
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

or
thread 'main' panicked at '\\?\C:\AppData\Local\Temp\.tmpx10RQL\37464_1671443939813780200.dll not found, defailts: 拒绝访问。 (os error 5)', runner\src\lib.rs:246:35
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

4. What is your KusionStack components version? (Required)
v0.4.4

I disabled the deletion of (*.dll) files in PR https://github.com/KusionStack/KCLVM/pull/345, so the Windows version of KCLVM will generate some temporary files under the directory "C:\Users<user_name>\AppData\Local\Temp".
<user_name> is your windows os account name. It looks like:
C:\Users\<user_name>\AppData\Local\Temp\.tmpx10RQL\37464_1671443939813780200.dll
C:\Users\<user_name>\AppData\Local\Temp\.tmpx10RQL\37464_1671443939813780200.lib
C:\Users\<user_name>\AppData\Local\Temp\.tmpx10RQL\37464_1671443939813780200.exp

Future update will fix this and remove these temporary files soon.


Add "on-behalf-of" header to Mail Send API docs

The docs for the "Mail Send" API does not include the "on-behalf-of" header. As a result I was under the impression this was not supported. I went ahead and tried it anyway and it seems to work just fine. So I can send mail on behalf of a subuser using the parent account.
See: https://sendgrid.api-docs.io/v3.0/mail-send/v3-mail-send

Actually I believe my test case was flawed and it does appear sending mail on behalf of a subuser using the "on-behalf-of" header is not supported.


Identify and Assign a unique ID to each branch.

In the code coverage tool, in a given function each branch needs to be identified and assigned a unique ID, as specified in <IP_ADDRESS>

Fixed with GroupFiveSW/Coveraged#3


fix primary key problem

If the object's primary key is a large number string, integerValue(instead of longLongValue) conversion under 32bit devices will cause precision lose so that the object can not be retrieved properly.

👍


App loads extremely slow due to Next.js

Issue summary
When requesting a page, it can take up to 10 seconds to return a rendered page.  I experienced this in the past, and it was resolved as soon as I pulled Next.js out of the app.  I installed the Shopify CLI on a new MacBook Pro, created a new Node app, and had the same experience.
After installing the app, the auth callback page takes forever to load and redirect back into the admin dashboard.  The embedded app can then take anywhere from 5-10 seconds to load.  This consistently happens when refreshing the page.
Do other people not have this experience?  It is pretty unbearable, and removing Next.js seems to instantly solve it with instant page loads.
Expected behavior
Next.js resolves page requests quickly when navigating the app or performing a fresh page load.  When refreshing the app in the admin panel, it should render immediately with no hanging.
Actual behavior
Page loads, such as after reloading the embedded app in the app panel, can take up to 10 seconds to return.  Next.js seems to be hanging for some reason.
Here is a hang after refresh:
https://user-images.githubusercontent.com/2524280/111901044-f4f94580-89f2-11eb-8c8b-50d521454aed.mov
Steps to reproduce the problem

Install the Shopify CLI
Create a new Node app shopify create node
Start the app with shopify serve
Visit the url under To install and start using your app, open this URL in your browser to install the app.
After instlaling, the app should hang on the auth callback page for a few seconds.
After redirecting, the embedded app may take a few seconds to render.
Refresh the browser.
Notice the app can take 5-20 seconds to load.

Reduced test case
This occurs in a freshly created Node app from Shopify CLI.
Specifications

Browser: Chrome
Device: Macbook Pro
Operating System: MacOS 10.15.3 and 10.15.7

Hey @hedgerh, thanks for reporting this. We'll look into that and see if we can identify the root cause of the problem!

I'm having the same issue.
One question, what's the design decision that leads to include Next.js in the Shopify-app-node?
Next.js is amazing but in this implementation, I see even the server.js is customized.

Hi @paulomarg , any update on this, I am also facing this issue, I have reported this on various channel also. the bare bone app created by shopify cli serve command takes ~40 sec to load for me and is ~40mb in size. Its really a very tiring development experience for me. The _app.js and index.js pages are nearly 10 mb. attaching a screenshot for reference.

most probably there should be a webpack config or nextjs config here at play. could you shed some light?

Hi @paulomarg , any update on this, I am also facing this issue, I have reported this on various channel also. the bare bone app created by shopify cli serve command takes ~40 sec to load for me and is ~40mb in size. Its really a very tiring development experience for me. The _app.js and index.js pages are nearly 10 mb. attaching a screenshot for reference.

most probably there should be a webpack config or nextjs config here at play. could you shed some light?

The app performs much better with the production build. Therefore, there is something wrong with the development build.

I had the same problem, i use Opera as my main navigator, and each time i run the project with the command "shopify serve", and after I copy/paste the url related to ngrok and entered it in my navigator, i see errors on the console of the navigator as this error : Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR

I had the same problem, i use Opera as my main navigator, and each time i run the project with the command "shopify serve", and after I copy/paste the url related to ngrok and entered it in my navigator, i see errors on the console of the navigator as this error : Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR while loading the necessary files like "index.js".

I search about solutions to my problem, i found that it was the bad internet connection, ngrok needs good internet connection in order to well establish the communication between my localhost and my app installed on the development store.

I have a similar problem. The load time of the app is so terrifying. Waiting for 10-15s for full app load. Has anybody found a solution yet?

They recommend using their custom solution for the next/Shopify App bridge/ngrok, and in reality, it is the worst option than to do it on its own. xDD

Any update with this issue? Even without using Polaris, the speed increased only 1-2 sec.

Any updates? Is it only in development, will production version work well?

This happens only in development mode.

Got the same issue happening even though I converted the Next code base to Nuxt. Any updates?

FYI, I fixed it by removing the Ngrok step in my dev workflow.
You'll need to provide a valid HTTPS endpoint for the OAuth flow (which can not be localhost:3000 for example).
To do so:

Edit your host file to mirror your localhost to a valid domain (ex: mylocal.com)
Create local HTTPS certificates with mkcert
With the certs, launch another Koa server (for the HTTPS) when running on dev
Optional: Use a reverse proxy if you don't want to use your 443 port for the HTTPS server
Update your Shopify redirection/whitelist URLs and it should now load pretty instantly

Thats great, could you provide more details ?

I am also able to solve this issue by a different method.
I have added an assetPrefix: http://localhost:8081 in the next.config file. Due to this the application gets the assets directly from the localhost bypassing the tunnel. Also the hmr reloading happens directly form localhost server.
Only the requests directed to the shopify api go through the tunnel.

@mkamalkayani Bless your soul, my dude

@mkamalkayani, you are awesome and saved me a lot of time. Thank you!

@Meyenehi @Draccano I am glad it helped. I have been struggling with this for the past 6 months. I tried several workarounds but none of them seem to work satisfactorily.
I always had this thought in my mind that the server is running locally, so why the request has to go through ngrok.
It's encouraging and exciting to see that it's working for you guys too. Wish you a great success with your apps.

@mkamalkayani Thank you so much for the explanation.
My question was about Nuxtjs (Vue) though. Nuxtjs and ngrok is also slow for the same reason. I was just wondering if someone tried to implement your solution with Nuxtjs. I tried but failed.

@alexrsunrise
Any updates on this? Have you found a solution for NuxtJS?

No. I haven't worked with NuxtJS in a little while.

@mkamalkayani In case you forgot you're still awesome.


Add favicons

Overview
Just adding some favicons over here.
Demo

Testing Instructions

Open the application
Do you see favicons in places you'd expect to see favicons?

Closes #272

@alexelash thanks for the review

I was just referring to this PR for another CRA project that needs its favicons updated and I could be wrong but I think the favicon-32x32.png and favicon-16x16.png images aren't used. I'm not super familiar with manifest.json but it seems like the icons property should look like this:
  "icons": [
    {
      "src": "favicon-32x32.png",
      "sizes": "32x32",
      "type": "image/png"
    },
    {
      "src": "favicon-16x16.png",
      "sizes": "16x16",
      "type": "image/png"
    },
    {
      "src": "favicon.ico",
      "sizes": "48x48",
      "type": "image/x-icon"
    }
  ],

Does that seem right to you @jfrankl ?

@pcaisse I typically use a favicon generator and upload whatever that gives me. I'd recommend using something like that.


Disallow string record labels with leading .'s

Sorry, but my previous PR introduced the possibility of chaos, i.e. {".f1" = 1}, or worse {a=1, ".pa"=2}.  Given the wide-spread use of '.' internally, it is probably better to just directly disallow such labels or accessors directly.

Good catch indeed!


FriendlyChatApp with Firebase Tutorial error with SignIn methods

Steps to Reproduce
I am following along with this section of the tutorial: https://codelabs.developers.google.com/codelabs/flutter-firebase/#5
Repro:

Run the flutter app (on my device via flutter run -d )
Type a message
Hit send
App does not add message to the List of messages and instead fails with the logged output below.

If the problem is with your application's rendering, please attach a screenshot and any relevant source code.
Not Applicable
If you are getting an exception in the logs, and your code is implicated in the first few frames, then please include the source code for the functions involved.
Not Applicable
Logs
Run your application with flutter run and attach all the log output.
`
[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
type '_Future' is not a subtype of type 'Future' where
_Future is from dart:async
Future is from dart:async
Null is from dart:core
#0      GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart)

#1      GoogleSignIn._addMethodCall. (package:google_sign_in/google_sign_in.dart:196:28)
#2      _RootZone.run (dart:async/zone.dart:1376:54)
#3      _FutureListener.handleWhenComplete (dart:async/future_impl.dart:151:18)
#4      _Future._propagateToListeners.handleWhenCompleteCallback (dart:async/future_impl.dart:603:39)
#5      _Future._propagateToListeners (dart:async/future_impl.dart:659:37)
#6      _Future._addListener. (dart:async/future_impl.dart:342:9)
#7      _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#8      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
`
Run flutter analyze and attach any output of that command also.
➜  whatschat git:(master) ✗ flutter analyze Analyzing /Users/calvinnguyen/safezone/projects/mobile/flutter/whatschat... No issues found! Ran in 5.3s
Flutter Doctor
Paste the output of running flutter doctor -v here.
`
➜  whatschat git:(master) ✗ flutter doctor -v
[✓] Flutter (Channel dev, v0.2.4, on Mac OS X 10.13.3 17D102, locale en-US)
• Flutter version 0.2.4 at /usr/local/Cellar/google-flutter/flutter
• Framework revision 3352a3fb48 (3 weeks ago), 2018-03-20 19:30:06 +0100
• Engine revision 6280adbfb1
• Dart version 2.0.0-dev.39.0.flutter-06949dc985
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/calvinnguyen/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
✗ Verify that all connected devices have been paired with this computer in Xcode.
If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
To update, run:
brew uninstall --ignore-dependencies libimobiledevice
brew install --HEAD libimobiledevice
brew install ideviceinstaller
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] VS Code (version 1.21.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.11.1
[✓] Connected devices (3 available)
• Android SDK built for x86 • emulator-5554                            • android-x86 • Android 8.1.0 (API 27) (emulator)
• CALVIN’s iPhone X         • 59a045705b5301f9f931d1731b52997e48305a4a • ios         • iOS 11.3
• iPhone 5s                 • 3EA133DB-9AE9-4B42-86C7-06B818C50C51     • ios         • iOS 11.2 (simulator)
! Doctor found issues in 1 category.
`
➜  whatschat git:(master) ✗ flutter doctor -v
[✓] Flutter (Channel dev, v0.2.4, on Mac OS X 10.13.3 17D102, locale en-US)
• Flutter version 0.2.4 at /usr/local/Cellar/google-flutter/flutter
• Framework revision 3352a3fb48 (3 weeks ago), 2018-03-20 19:30:06 +0100
• Engine revision 6280adbfb1
• Dart version 2.0.0-dev.39.0.flutter-06949dc985
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/calvinnguyen/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
✗ Verify that all connected devices have been paired with this computer in Xcode.
If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
To update, run:
brew uninstall --ignore-dependencies libimobiledevice
brew install --HEAD libimobiledevice
brew install ideviceinstaller
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] VS Code (version 1.21.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.11.1
[✓] Connected devices (3 available)
• Android SDK built for x86 • emulator-5554                            • android-x86 • Android 8.1.0 (API 27) (emulator)
• CALVIN’s iPhone X         • 59a045705b5301f9f931d1731b52997e48305a4a • ios         • iOS 11.3
• iPhone 5s                 • 3EA133DB-9AE9-4B42-86C7-06B818C50C51     • ios         • iOS 11.2 (simulator)
! Doctor found issues in 1 category.
➜  whatschat git:(master) ✗ A
`

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

I've renamed and attached my single source file: ./lib/main.dart(.txt)
main.dart.txt
I appreciate your help and look forward to continuing this tutorial.

Would you mind sharing your gradle files here? i've been trying to get some basic Firebase integration working, and while it runs just fine on iOS, I have a problem with it on Android. Before I make an issue of my own I figured I'd reach out to some people working on the same stuff here.
Specifically, I've found that adding the line apply plugin: 'com.google.gms.google-services' to the bottom of the app/build.gradle file causes this to be thrown:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

on compile. It seems like you've gotten past that step, so I thought I'd ask. Thanks!

jmrboosties@, I've attached both build.gradle files with their specific paths as an inline comment.
build.gradle.txt
build.gradle.txt
Good luck. BTW, did you ever run into the error that I am getting with 'type '_Future' is not a subtype of type 'Future' where _Future is from dart:async ... Future is from dart:async' that suggests some duplicate type definitions?

Unfortunately I haven't even been able to get that far yet, ha. Thanks for those files, they look pretty similar to mine save for some more dependencies that I require in gradle, and that I support kotlin while you don't. I'm going to create a new project from scratch and test if that's the issue. I'll keep an eye out for your problem as well, good luck!

Debugging async methods in Visual Studio Code has been difficult so I've tried turning all of the Google Sign logic into synchronous code. Still debugging to locate root cause.
In case it helps, here's a list of deprecation warnings on startup, that may or may not be relevant to the runtime exceptions.
➜  whatschat git:(master) ✗ flutter run -d emulator-5554
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...                                       0.9s
Resolving dependencies...                                    1.1s
Running 'gradlew assembleDebug'...
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Configuration 'compile' in project ':firebase_analytics' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':firebase_auth' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':firebase_database' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':firebase_storage' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':google_sign_in' is deprecated. Use 'implementation' instead.
Configuration 'compile' in project ':image_picker' is deprecated. Use 'implementation' instead.
Built build/app/outputs/apk/debug/app-debug.apk (33.8MB).
Installing build/app/outputs/apk/app.apk...                  4.1s
I/FlutterActivityDelegate( 7730): onResume setting current activity to this
Syncing files to device Android SDK built for x86...         2.3s

The Friendlychat Firebase tutorial has been deprecated because it is not compatible with the new FlutterFire plugins.


MagicHome accessory registering but not loading

Hi,
I just added the MagicHome plugin (https://github.com/steve228uk/homebridge-magichome) to my homebridge on Raspberry Pi 3.
Here is my config.json :
{
"bridge": {
"name": "Homebridge",
"username": "XXX",
"port": XXX,
"pin": "XXX"
},
"description": "This is an example configuration file with one fake accessory and one fake plat$

"accessories": [
    {
        "accessory": "SalonLight",
        "name": "Salon"
    },
    {
        "accessory": "SalleAMangerLight",
        "name": "Salle à manger"
    },
    {
        "accessory": "CuisineLight",
        "name": "Cuisine"
    },
    {
        "accessory": "TeleSalon",
        "name": "Television du salon"
    },
    {
        "accessory": "HCSalon",
        "name": "Cinema Maison du salon"
    },
    {
        "accessory": "MagicHome",
        "name": "Ambiance du salon",
        "ip": "<IP_ADDRESS>",
        "setup": "RGBWW",
        "purewhite": false
    }
]

}
Here is my terminal when starting homebridge :
pi@raspberrypi:~/.homebridge $ sudo homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!

Load homebridge-cmdswitch2.cmdSwitch2
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ XXXXXXXXXXXXXXXXX
└────────────┘

[3/3/2017, 8:58:40 PM] Homebridge is running on port 51826.
^C[3/3/2017, 8:59:29 PM] Got SIGINT, shutting down Homebridge...
The interesting part is where MagicHome is registered but not loading...
I tried to remove the bridge frome homekit, deleting the persist folder... What I am doing wrong ?
Thank you for any kind of help someone could provide !

Nevermind, had the wrong config.json.
In case other has the same issue, on the raspberry pi the config.json for homebridge is located in the root user folder, not "pi".


Missing tiles or geometry when rendering base terrain or imagery

See https://youtu.be/I2coPB0jJQI?t=1039 - The "M" on the mountains near the starting place in default georeference.

The black areas are part of the Bing Maps imagery. Not something we can fix.
This Sandcastle has the M on screen and then you an zoom toward it and see the black areas.


Can't import thirdweb-dev/react into Replit

Getting this error while trying to import {useAddress, useMetamask, useEditionDrop} from '@thirdweb-dev/react';
**Failed to compile.
./node_modules/wagmi-core/dist/wagmi-core.esm.js 256:5
Module parse failed: Unexpected token (256:5)
File was processed with these loaders:

./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|
| class InjectedConnector extends Connector {

id = 'injected';
|   ready = typeof window != 'undefined' && !!window.ethereum;
|   #provider;**

@mpvolt thanks for the report, we'll take a look at this shortly

hey @mpvolt I believe this should be fixed, take a look here<EMAIL_ADDRESS>Please feel free to re-open this issue if you still run into issues!


Enhance staff only option - New contest set-up

We want to make staff only option more powerful for a new marking scheme:

[ ] Allow staff teams to be in folders, not just zip files.
[ ] Option to make staff teams play among them or not (default NO).
[ ] Annotate each team with the score to give? so different teams will give different number of points?
[ ] Build a pack of staff teams at different levels

Student teams will play only against say 30 staff teams and will collect points only against them.

@AndrewPaulChester , could we start working on this feature? We discussed to do it last year but in the end we didn't manage to do it, but I don't want to last it to the last minute.
As we discussed with you and @nirlipo , we want to address 2 issues:

being marked against other students (well, it is not truly correct)
"unstable rankings" over the weeks (as other teams get better).

So, the idea is to be able to run all students against a set of staff teams only, and give points on that only. We agreed we will implement a tournament such that students play against a set of other teams (that remain stable across the weeks), and they do not play among them.
Now, I am thinking this is already done! Because we have a --staff-only or similar that @nirlipo added last year to just play against staffs.  Wouldn't that be exactly that?
One thing is: can staff teams be given a folders? I think no, and that should be addressed, but it is much simpler.
otherwise we jump to the other issues..
Views?

Yes, I agree that this is largely already implemented in staff-only. A few thoughts:

Currently you can set the staff-teams-dir, and it will grab all appropriately named zip files in that folder. This seems like good behaviour to me, why would we want to change it? I suppose we could just grab all subfolders instead, I don't see much of a difference.
You mention above a grading scheme where each staff team is worth a different number of points - this will be the largest code change but is probably not too hard. I think it's worth doing as it gives us a lot of flexibility instead of having to come up with exactly the right numbers of agents of different difficulties.
Does this ticket also cover actually designing the portfolio of agents? I think it would make sense to have only a handful (5?) really basic ones worth 10 marks each, to get people to a pass. We don't really care too much about fine distinctions at that level. Then perhaps another 25 worth ~2 points each to go from 50-100% so there is a lot more granularity.

Yes, we want to grab folders (as we do with teams) for staffs; it is too cumbersome to do the unpacking/packing when we want to change anything in a staff team. We just have the teams in "plain" format and that's it.
I am not sure exactly how to use the points, rather than just taking 1 point per team, but as you said it would give flexibility. However, how do we do this well? Do we have a file with the list of staff teams to include and associated points?
I would say so. How do we build a set of relevant staff teams. They cannot be few because we want to avoid students working to overfit a set of agents. By having many many, it is very hard to overfit.

We may also have a full set of staff teams, a pool, and then the system will "pick" randomly a handful and do a test. That would be the best I would say... And each staff team has to have a number of points associated for example.. All can be done automatically.
Great, let's solve this issue. this is THE issue we want to do @AndrewPaulChester and we want to do it well. Let's discuss exactly what we want, but I think are a one sync already.

Made a PR to address this, current output is as shown in the image:

Taht is pretty cool. I will check all this tonite, very curious!! Thanks!

Done in PR #100


CC2531 router has a very long device name

The name for my cc2531 routers flashed with this f/w is very long:

CC2530 router (CC2530.ROUTER)

This is causing network map to get "corrupted", where the routers are very wide due to the name and other entities overprint:

Also it incorrectly states cc2530 rather than cc2531.
Obviously this is not a high priority defect, but next time a new bin is compiled please consider to fix these...

@james-fry This problem is related to drawing, but not the router name in the firmware.

@ptvoinfo yes that's one problem, the other problem is that the CC2530 router firmware has the same model as the CC2531 router firmware, therefore they cannot be distinguished.

@james-fry This problem is related to drawing, but not the router name in the firmware.

@ptvoinfo I agree - the renderer for the map should handle a long name.
But I dont agree that the name needs to be that long.

CC2531 Router
would be fine.
Even with a URL shortened link, maybe.
But no need for the length we see with the token "CC2530 router" there twice.
"CC2530 router (CC2530.ROUTER)"

@james-fry this long name has nothing to do with @ptvoinfo firmware, but is a zigbee2mqtt bug.

is a zigbee2mqtt bug.

Ah OK. Thx for letting me know.
Either way, all these are minor issues.


Feature/adaptive

Code for creating an adaptive smolyak grid that allows for arbitrary k indexes.

Thanks for this PR! I tried to review the code, but I am slightly confused on this use case. Can you explain more how this class should be used?

Thanks for this PR! I tried to review the code, but I am slightly confused on this use case. Can you explain more how this class should be used?

The new class is a way to generate a grid with a custom set of smolyak k sets instead of being limited to the exactness specified by the nested basis set. It requires the custom set during initialization and asks for the dimension when called to make it compatible with how the surrogate objects call and use the grid generator classes.

Does that mean that someone would have to specify the entire list of k sets though? That seems pretty clunky. I would think that adaptive sampling would add/remove k sets from some base case.

This PR can be revisited with the new API and algorithms.