🖐 Unifying CUE struct disjunctions with client.env values

Dagger Cloud run URL
https://dagger.cloud/runs/38b70464-c8b4-4be0-8342-15ad9872ec15
What happened? What did you expect to happen?
The referenced run was successful, but not quite what I was trying to do.
Apparently the telemetry wasn't getting uploaded for my failed runs.
In any case, this is what I was actually trying to do:
package main

import (
  "dagger.io/dagger"
  "dagger.io/dagger/core"
)

_alpine: core.#Pull & { source: "alpine:latest" }

#cfgs: {
  _param: "x"
  msg:    "hi"
} | {
  _param: "y"
  msg:    "bye"
}

dagger.#Plan & {
  _cfg: #cfgs & {
    _param: client.env.PARAM // This was hardcoded to "y" in the uploaded example run
  }

  client: {
    env: {
      PARAM: string | *"x"
    }
  }

  actions: {
    run: core.#Exec & {
      input:  _alpine.output
      args:   [ "echo" , _cfg.msg ]
      always: true
    }
  }
}

But this doesn't work — instead I get:
$ PARAM='y' ./dagger do run --experimental --log-format plain --log-level debug
12:45PM ERR system | failed to load plan: "_cfg" is not set: :
    ./main.cue:19:3
    ./main.cue:1:1

failed to load plan: "_cfg" is not set: :
    ./main.cue:19:3
    ./main.cue:1:1

$ cue eval -a
import "dagger.io/dagger"

_alpine: {
    $dagger: {
        task: {}
    }
    source: "alpine:latest"
    auth?: {
        username: string
        secret:   dagger.#Secret
    }
    resolveMode: "default"
    output: {
        $dagger: {
            fs: {}
        }
    }
    digest: string
    config: {
        user?: string
        expose?: {
            [string]: {}
        }
        env?: {
            [string]: string
        }
        entrypoint?: [...string]
        cmd?: [...string]
        volume?: {
            [string]: {}
        }
        workdir?: string
        label?: {
            [string]: string
        }
        stopsignal?:  string
        healthcheck?: #HealthCheck
        argsescaped?: bool
        onbuild?: [...string]
        stoptimeout?: int
        shell?: [...string]
    }
}
_cfg: {
    _param: "x"
    msg:    "hi"
} | {
    _param: "y"
    msg:    "bye"
}
client: {
    filesystem: {}
    network: {}
    env: {
        $dagger: {
            task: {}
        }
        PARAM: "x"
    }
    commands: {}
    platform: {
        $dagger: {
            task: {}
        }
        os:   string
        arch: string
    }
}
#cfgs: {
    _param: "x"
    msg:    "hi"
} | {
    _param: "y"
    msg:    "bye"
}
actions: {
    run: {
        $dagger: {
            task: {}
        }
        input: {
            $dagger: {
                fs: {}
            }
        }
        mounts: {}
        args: ["echo", _cfg.msg & string]
        env: {}
        workdir: "/"
        user:    "root:root"
        always:  true
        hosts: {}
        output: {
            $dagger: {
                fs: {}
            }
        }
        exit: 0
    }
}

It seems as though the unification is performed/eliminated before client.env.PARAM is fixed/determined, leaving _cfg to be a disjunction of possible values? Maybe?
Is there any way that I can specify a disjunction of possible CUE values, and then unify them in my plan using values from environment variables?
Am I going about this the wrong way, or is it entirely precluded by (implicit/implementation) constraints on evaluation order?

For now, I'm working around this with something like the following:
package main

import (
  "dagger.io/dagger"
  "dagger.io/dagger/core"
)

_alpine: core.#Pull & { source: "alpine:latest" }

#cfgs: {
  _param: "x"
  msg:    "hi"
} | {
  _param: "y"
  msg:    "bye"
}

cfg: #cfgs & {
  _param: "\( param )"
}

param: *"x" | string @tag(param)

dagger.#Plan & {
  actions: {
    run: core.#Exec & {
      input:  _alpine.output
      args:   [ "echo" , cfg.msg ]
      always: true
    }
  }
}

Which yields:
$ ./dagger do run --log-format plain
3:26PM INF _alpine | computing
3:26PM INF _alpine | completed    duration=600ms
3:26PM INF actions.run | computing
3:26PM INF actions.run | completed    duration=200ms
3:26PM INF actions.run | #3 0.142 hi

$ ./dagger do run --log-format plain --with 'param: "y"'
3:26PM INF _alpine | computing
3:26PM INF _alpine | completed    duration=600ms
3:26PM INF actions.run | computing
3:26PM INF actions.run | completed    duration=200ms
3:26PM INF actions.run | #3 0.147 bye

Specifying the @tag() can be useful if you split the configuration CUE file from the Dagger one (which I do in my non-toy example).

I'm closing this issue since it's outdated. We're no longer working on the CUE SDK


Suggestion: Rebindable Controls

When I first tried this mod I didn't really know the controls, and so I looked at controls to see what they were and couldn't find anything, I looked at the page to to see if it listed any controls... Nothin'
From what I noticed while trying every key on the keyboard there were also two sets of controls as well.
If these were rebindable it would remove the need to have two sets as people can just change to what controls they're comfortable with.

From what I can tell:
Left arrow: Move left
Right arrow: Move right
Down arrow: Fast drop (move down the board faster)
Space bar: Hard drop (push to bottom and summon next part instantly)
Up arrow: Rotate clockwise
X: Rotate clockwise
Z: Rotate counterclockwise
C: Hold piece for later


Docs for #39

Add docs for the is_utf8 parameter introduced in #39. I also replaced some of the HTML in the readme.md with markdown primitives, but of course you can leave that out if you want.

:+1:
Looks good. I added you as a contributor, so now you should be able to push and merge. Do you want to try merging this?

Thanks! :) If you want to add me for npm (and that’s completely up to you), I’m sqrt over there.

I'll think about it.
Do you want to create a v3 branch with the other changes you had made? I think they are good, but since there's a lot of changes, I'd like to make sure we have it thoroughly tested first.

Mh, that would probably have been a good idea, but since you already merged #28 (and the others, but mostly that one) into master, I’m not sure how exactly that branch (except maybe the version number in the package.json) would be different from the current head?

Yeah...I just realized that. I most have forgotten. Well, I think it's working well, so it shouldn't be a problem. Let's just keep master passing.

Other than that, I guess I have some time in the next days to see if I can add some automated browser testing to the CI (already did that for object-hash).
And btw, I’ve been using those changes in a production environment for a while now, with no problems whatsoever.

Or maybe not... Travis is complaining about node 0.8 not working. I must not have minfied the merged code earlier. I think I will try to revert and then make a new branch.

Or is 0.8 too old to care about?

0.10 came out 2013-03-11, and I don’t think any OS ships an earlier version anymore. And yes, I haven’t seen any modules explicitly supporting < 0.10 for months now, so that should be fine.


[UI] Design Login Page

Design Login Page
Description
As the project is getting started I would like to see a basic email and password login screen on the frontend.
Screenshots
If applicable, add screenshots to help explain the problem.
Additional context
Add any other context about the problem here.

Kindly assign this issue to me


DDNS server field doesn't accept ipv4 addresses

Trying to add a DDNS server via an ipv4 address right now results in "Enter a valid hostname or IP address"
https://github.com/sjm-steffann/netbox-ddns/blob/d962420de71cc92410ab8226bcd32f65d63f6db4/netbox_ddns/validators.py
ipv6_re is used here, but nothing for ipv4.

I added the ipv4 validator , I think it should work fine with it.  See pull request #15


"Stack overflow" exception in JavaScript execution mode (with Js_of_ocaml)

Within the JavaScript mode the compilation of the recursive functions is not optimized (c.f. http://ocsigen.org/js_of_ocaml/3.7.0/manual/tailcall).
There is the Javascript translation of our Ppx_deriving_yojson_runtime.map_bind function :
 function map_bind(f,acc,xs)
     {if(xs)
       {var
         xs$0=xs[2],
         x=xs[1],
         _b_=function(x){return map_bind(f,[0,x,acc],xs$0)};
        return symbol_bind(caml_call1(f,x),_b_)}
      return [0,caml_call1(Stdlib_list[9],acc)]}

So, the conversion of a Yojson.Safe.t data into a long list of elements (~10.000) could raise a Stack overflow exception.
Notice that kind of implementation (without acc) solves the problem:
let save_map_bind f xs =
  let exception Error_map_bind of string in
  try
    Result.Ok (List.rev (List.rev_map
                                     (fun x -> match f x with
                                      | Result.Ok x -> x
                                      | Result.Error s -> raise (Error_map_bind s)) xs))
  with Error_map_bind s -> Result.Error s

Of course, the proposed implementation can certainly be improved since the type of that save_map_bind function is less generic than your map_bind function (but it seems to me that the proposed implementation is compliant with the .mli interface except about the removed accumulator).

I believe that exception-raising is also fairly slow with js-of-ocaml, so I suspect that the version you propose could be a noticeable performance regression for small lists.

The performance regression mainly depends on the number of lists. Of course, if these lists are small it is more noticeable.
I looked at this implementation :
     let rec map_bind f acc xs =
       match xs with
       | x :: xs -> (match f x with
           | ((Result.Error _) as x) -> x
           | Result.Ok x -> map_bind f (x :: acc) xs)
       | [] -> Result.Ok (List.rev acc)

It seems to be ok with my example (no stack overflow), but I wasn't able to extract its javascript translation since the debugger shows me only my Ocaml source code !
So, I can't confirm that is the solution.

Yes; what you did is to inline the implementation of >>=, and I believe that the result is using a form of tail-recursion that is properly supported by js_of_ocaml. Would you like to propose a PR with this new implementation?
Note: what we learned here is that common monadic-programming idioms (recursive functions with bindings inside) are not properly supported by js_of_ocaml. I wondered if this may be a problem as well for the code generated by ppx_deriving_yojson.
I inspected the uses of >>= in the codebase, and it appears that they are all in fact use-cases in which map and pair would suffice (in other words, we are only using the applicative structure of the monad), because they are of the form <foo> >>= (fun x -> <bar> >>= fun y -> Result.Ok (... x ... y ... )). This means that there may be no problem in practice, and that it should be possible to rewrite the code generator to guarantee that there is no problem -- if instead we wrote the code above like map (pair <foo> <bar>) (fun (x, y) -> Result.Ok (... x ... y ...), we would know for sure that the recursive calls are never "hidden" inside a closure like they are today. Let me know if you would be interested in contributing this change, I'm happy to provide more explanations.

I move my latest implementation in a part where I can see the javascript translation :
    function safe_map_bind(f,acc,xs)
     {var acc$0=acc,xs$0=xs;
      for(;;)
       {if(xs$0)
         {var xs$1=xs$0[2],x=xs$0[1],x$0=caml_call1(f,x);
          if(0 === x$0[0])
           {var x$1=x$0[1],acc$1=[0,x$1,acc$0],acc$0=acc$1,xs$0=xs$1;continue}
          return x$0}
        return [0,caml_call1(Base_List[35],acc$0)]}}

That looks safe since there is no recursion into the generated code!
I do hope you will modify your Ppx_deriving_yojson_runtime.ml in that way.
Thanks.

I do hope you will modify your Ppx_deriving_yojson_runtime.ml in that way.

I asked above if you would be willing to send a Pull Request to implement the change. (Is this an implicit way to decline the invitation?). I think that a PR is nicer than a maintainer doing the change, in particular as it directly tracks authorship of the contribution.

I would have greatly preferred to let the authorship of that inline to the compiler!


Safari Notifications (Aka Website Push)

Is this a supported feature? The information I found wasn't helpful enough to get it working.
As far as I understand, they're actual push notifications, but for websites (not sure if it's OS X only, or also on iOS). I'm still going through Apple's documentation/WWDC videos on the subject, but would be nice to have something like this working, especially when the web app is not open.

The client code is implemented (needs some updating + testing though)
The server-side needs to be implemented - I looked into it a while back but am short on time. The idea was to have the push package help create the manifest files etc. needed (kind of the same with chrome web push)


begin some cleanup work

Codecov Report
Base: 85.24% // Head: 99.95% // Increases project coverage by +14.71% :tada:

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

Additional details and impacted files
@@             Coverage Diff             @@
##              1.2     #813       +/-   ##
===========================================
+ Coverage   85.24%   99.95%   +14.71%
===========================================
  Files          52       48        -4
  Lines        3057     2428      -629
  Branches      413      353       -60
===========================================
- Hits         2606     2427      -179
+ Misses        450        0      -450
  Partials        1        1

Flag
Coverage Δ

foundry
?

production
100.00% <100.00%> (ø)

reference
99.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

contracts/lib/ConsiderationEncoder.sol
100.00% <100.00%> (ø)

contracts/lib/CriteriaResolution.sol
100.00% <100.00%> (ø)

contracts/lib/OrderCombiner.sol
100.00% <0.00%> (ø)

contracts/lib/CounterManager.sol
100.00% <0.00%> (ø)

contracts/lib/OrderFulfiller.sol
100.00% <0.00%> (ø)

contracts/lib/ZoneInteraction.sol
100.00% <0.00%> (ø)

contracts/helpers/TransferHelper.sol
100.00% <0.00%> (ø)

contracts/lib/GettersAndDerivers.sol
100.00% <0.00%> (ø)

reference/ReferenceConsideration.sol
100.00% <0.00%> (ø)

... and 26 more

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

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


Added a United Kingdom Phone Number Generator

Hi,
I've been using the Object Hydrator for a while, and I've added a few generators, so I thought I'd submit them for review and inclusion :-)
This is a generator for UK formatted phone numbers.

Merged into 1-3Pre
Thank you!


Reword glossary entry for “Cloud provider”

I think this wording works better. Happy to hear feedback.
Preview

Page preview:
https://deploy-preview-17429--kubernetes-io-master-staging.netlify.com/docs/reference/glossary/?all=true

@tengqm how about we merge this and also log an issue to expand this entry so that it covers the 3 possible meanings of “cloud provider”.
Not merging means the existing, deficient entry stays in place.

@sftim, no objections on merging this.
/lgtm

Thanks!
/approve


new repo address in README.md does not work

The change brought in with https://github.com/resin-io/etcher/commit/c3ff03054238a4973c961f7c234b6211e0857b5c points to a 404 on https://etcher.io/static/etcher-rpm.repo
It is not possible to install on Fedora using these instructions.

I wonder if that's because https://github.com/resin-io/etcher-homepage/pull/133 hasn't been merged yet?

Likely, yes. It's a shame there's not a way to have PRs depend on others in GitHub.

Should be fixed in https://github.com/resin-io/etcher-homepage/commit/e7ab84d0f297f7ccfc4fafb7eb7dc9ed05297b13 @kurbeco @lurch , check now


[Feature]: shopify.theme.toml config automatically used

What area(s) will this request affect?
Theme, Running your code locally, Deployment
What type of change do you want to see?
Substantial change to existing feature
Overview
Shopify CLI commands use config specified in shopify.theme.toml without need to re-specify --store or --environment when changing project.
Motivation
Say you have two separate shops/projects, both in their own repository/folder locally, with a shopify.theme.toml file in each, containing:
[environments.default]
store = "my-shop"
password = "XXXXX"

Expectation would be that when running shopify theme dev, it will use the environment config. This would mirror common practices around ENV files.
However, it runs whatever the last shop/environment was used with shopify theme dev, which may not be the current project folder we are in.
If you don't remember to check shopify theme info or run a CLI command with --store or --environment specified, there is a high risk of being connected to the wrong environment, and syncing project files to the wrong store/theme.
Not sure if bug, feature request or am I misunderstanding the documentation? Is there any guidance/tips on how to make the active environment always based the folder/env you're working from?
I tried the forums but got crickets: https://community.shopify.com/c/shopify-cli-and-tools/how-to-use-environments-shopify-theme-toml/m-p/2106269#M20
Also sanity checked with some other Shopify devs:
https://twitter.com/bengourley/status/1671783437026353159
https://twitter.com/garylake/status/1671524884982247426

@Arkham thanks for your input. I should have been more clear, “default” could be named anything, but yes the goal is a default.
As @davidalexander asked, how do we use the Shopify flag mentioned? That may well do the trick.

@iamkeir it's just an environment variable. How you set it depends on your OS.

@amcaplan so in my context I am using Shopify CLI via Terminal on Mac OS but I haven't a clue where/how to set the SHOPIFY_FLAG_ENVIRONMENT value.

Hey guys, it would be very useful if that setting could be implemented without modifying system variables. That would greatly help teams of developers working with multiple stores (i.e. Shopify agencies).

I would love this feature as well for managing multiple projects locally.


Fixed client.go - Heartbeat Packet Length

Fixed HeartBeat Packet Length. it should be 1, not 3. Tested on real exchange staging

@markwinter Hi, I would like to inform you that it seems that the Heartbeat packet length is should be 1 not 3.


How to get MYSQL NODE in node-red?

Hi
I am new to node-red.I want to connect with mysql database from node-red. I have
installed npm install node-red-node-mysql.It successfully installed.But I need Mysql node in node red.
If you have any idea about this please help me for how to get Mysql Node in node red.
I want this

Thank u
Name : Chaitanya
mail<EMAIL_ADDRESS>

As per the contribution guide please use the Google Group (Mailing list) or the Slack channel for general questions, both are linked to from the bottom of the Node-RED website. Issues are for actual defects in Node-RED

If you installed it correctly it should appear in your palette. Depending on how you installed it you may need to stop and restart the server, and refresh the browser page.

As per the comments above, for support questions like this please using the mailing list/slack channel.


feat: show a warning message for a duplicate warning

The type of this PR is: Feature

This PR resolves []
Description

PR Checklist (tick all before merging)

[ ] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[ ] I have tested my changes on iOS and Android.
[ ] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[ ] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added an app state migration, or my changes do not require one. (What are migrations?)
[ ] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Show a warning message for a duplicate warning - dimatretyak

iOS user-facing changes

Android user-facing changes

Dev changes

This PR contains the following changes:

Cross-platform user-facing changes (Show a warning message for a duplicate warning - dimatretyak)

  Generated by :no_entry_sign: dangerJS against 891ca7b89e1fc90357b4fe57a1b1eafff3a7d27e


Unpack fails with error

[ ] Please attach a sample .msapp to this Issue which demonstrates the issue you are experiencing. (Please do not attach any file which may contain sensitive personal or company data.)
[ ] Cannot attach file because of sensitive data.

Describe the bug
Error   PA3001: Internal error. An item with the same key has already been added. Key: Microsoft.PowerPlatform.Formulas.Tools.Utility.FilePath
Stack Trace:
at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)    at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value)
at Microsoft.PowerPlatform.Formulas.Tools.CanvasDocument.StabilizeAssetFilePaths(ErrorContainer errors) in C:\Users\Dave\Documents\GitHub\PowerApps-Language-Tooling\src\PAModel\CanvasDocument.cs:line 587
at Microsoft.PowerPlatform.Formulas.Tools.CanvasDocument.ApplyAfterMsAppLoadTransforms(ErrorContainer errors) in C:\Users\Dave\Documents\GitHub\PowerApps-Language-Tooling\src\PAModel\CanvasDocument.cs:line 394
at Microsoft.PowerPlatform.Formulas.Tools.MsAppSerializer.Load(Stream streamToMsapp, ErrorContainer errors) in C:\Users\Dave\Documents\GitHub\PowerApps-Language-Tooling\src\PAModel\Serializers\MsAppSerializer.cs:line 417
at Microsoft.PowerPlatform.Formulas.Tools.CanvasDocument.<>c__DisplayClass29_1.b__0() in C:\Users\Dave\Documents\GitHub\PowerApps-Language-Tooling\src\PAModel\CanvasDocument.cs:line 128
at Microsoft.PowerPlatform.Formulas.Tools.CanvasDocument.Wrapper(Func1 worker, ErrorContainer errors) in C:\Users\Dave\Documents\GitHub\PowerApps-Language-Tooling\src\PAModel\CanvasDocument.cs:line 227    at Microsoft.PowerPlatform.Formulas.Tools.CanvasDocument.LoadFromMsapp(String fullPathToMsApp) in C:\Users\Dave\Documents\GitHub\PowerApps-Language-Tooling\src\PAModel\CanvasDocument.cs:line 128    at PASopa.Program.<>c__DisplayClass0_0.<Main>b__1() in C:\Users\Dave\Documents\GitHub\PowerApps-Language-Tooling\src\PASopa\Program.cs:line 135    at PASopa.Program.TryOperation(Func1 operation) in C:\Users\Dave\Documents\GitHub\PowerApps-Language-Tooling\src\PASopa\Program.cs:line 280
To Reproduce
Steps to reproduce the behavior:

Unpacking or packing

Screenshots
If applicable, add screenshots of error messages to help explain your problem.
Additional context
Add any other context about the problem here.
Add any helpful context on the .msapp like created from teams, contains custom pcf components, etc.

@DaveStabilify : Can you confirm if this was reproduced using PAC Cli or PASopa? Also please specify the version used. Thank you

@DaveStabilify this seems to be the same issue as what you logged in microsoft/powerplatform-vscode#188, but one repro with PASopa (this 385) and the other in pac CLI (188)?
As requested in 188, our internal team will likely need the .msapp for a repro
CC @NavneetThekkumpat

@DaveStabilify : From error logs above, it looks like

It seems like an asset name collision.
That said, please confirm if there are multiple assets with the same name. If so, try changing the name to be different.
If its an image asset, try changing

To confirm the renaming, you could unzip the .msapp. Then asset details (including Name) could be found in References/Resources.json and assets are found in the Assets folder.

You could try this as a workaround.

@DaveStabilify Also can you confirm the version of PAC or PASopa used ?

This fix will be available in the next version of PAC CLI.


⚠ ClamAV has degraded performance

In 093ebc1, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 5718ea5 after 29 minutes.


status of this project

Hi,
is this pinning project still being developed for production or dead? Whats the best way to ensure my orbitdb is being replicated and decentralized?
kind regards
Philipp

This project is being redeveloped to use the latest version of OrbitDB.


!numplayers appears to be dead

:cry:
Time to come up with an alternative.

Probably had fixed this with c8455490fb244f1e1f10dd890283a28ca1caf2ba.


Zarr at Scipy 2019

I think someone should propose a talk about Zarr to Scipy. This would really help raise the profile of the project to a broad audience.
Deadline is Feb. 11:
https://www.scipy2019.scipy.org/talk-poster-presentations

Happy to contribute some examples. One or both of the below sentences could be used.

Zarr is being used within the Human Cell Atlas (HCA) project [9_], which is building a reference atlas of healthy human cell types. This project hopes to leverage this information to better understand the dysregulation of cellular states that underly human disease. The Human Cell Atlas uses Zarr as the output data format because it enables the project to easily generate matrices containing user-selected subsets of cells.
[Optional] The Human Cell Atlas is also exploring the use of Zarr for the input and output of all of its image-based cellular assays [10_], as the format supports cloud-based analysis and visualization of these data.
.. _9: https://www.humancellatlas.org/
.. _10: https://spacetx-starfish.readthedocs.io/en/latest/

Wonderful, thanks @ambrosejcarr.
Just heard deadline has been extended to February 15, so we have a few extra days to contemplate.

I've pushed another commit to the abstract in #397 adding in the short summary, the HCA example from @ambrosejcarr, and an author list. In the author list I've included everyone who has contributed code or is a member of @zarr-developers/core-devs or who participated in the first zarr/n5 conference call or who contributed to the abstract. The list comprises @rabernat, @sbalmer, @ambrosejcarr, @tjcrone, @dazzag24, @martindurant, @funkey, @meggart, @jhamman, @shoyer, @jeromekelleher, @jakirkham, @alimanfoo, @joshmoore, @csnoyes, @onalant, @constantinpape, @mzjp2, @mrocklin, @axtimwalde, @vincentschut, @shikharsg, @jmswaney, @ryan-williams. Apologies I did not know everyone's name or affiliation. If you would prefer not to be included in the author list or would like me to edit your name or affiliation please let me know asap. If you are not in this list but have contributed in some way to the project and would like to be included then please let me know (and apologies for not including you already). Submission deadline is noon CST so I'll submit in a couple of hours.

The deadline is 11:59pm, so midnight, not noon. 😉

The deadline is 11:59pm, so midnight, not noon.

Ha, I should pay more attention! I'll probably still submit in a couple of hours, before I go home.

FYI: I have submitted a proposal for Intake, and I believe there will be one for Dask (although I haven't heard for sure). Supposing that not all of these are accepted, perhaps we could merge some content, catalog of zarrs, dask-parallel processing of zarrs, etc.

Any news on the zarr scipy talk? Was it accepted?

Looks like it.
ref: https://www.scipy2019.scipy.org/talks-posters/Zarr---Scalable-Storage-of-Tensor-Data-for-Use-in-Parallel-and-Distributed-Computing

Ok, it looks like they just listed the first three authors in alphabetical order. Is @alimanfoo planning to attend / present this?

Yes good news, it was accepted. I'm planning to present.
On Thu, 18 Apr 2019, 22:15 Ryan Abernathey<EMAIL_ADDRESS>wrote:

Ok, it looks like they just listed the first three authors in alphabetical
order. Is @alimanfoo https://github.com/alimanfoo planning to attend /
present this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zarr-developers/zarr/issues/396#issuecomment-484528957,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFLYQUR5PR66WVKXL36G53PRB7A7ANCNFSM4GRRUXMQ
.

For interest, here are the review comments. Also interesting is that I initially got a rejection notice, then a couple of hours later got an acceptance notice, so I guess we initially just missed the cut but then someone above us dropped out. If so suggests that scipy is really competitive, and we had a bit of luck. In any case, great to see the positive reviews.
----------------------- REVIEW 1 ---------------------
Overall evaluation: 4 (accept)
This talk illustrates the use of Zarr with examples from several scientific domains. It is used for several interesting projects such as to store genome variation data from next-generation sequencing of natural populations of malaria parasites and mosquitoes and within the Human Cell Atlas project. It will be great for this conference and health care researchers will get to learn the utilization of Zarr.
----------------------- REVIEW 2 ---------------------
Overall evaluation: 5 (strong accept)
The need for storage of tensor data is only increasing in applications involving parallel and distributed computing of large data sets such as used in machine learning applications.  This paper presents an important and ongoing research effort in this area by a large group of accomplished data scientists.  The abstract is clearly written, and the work is novel and significant.  Although the topic covers a technical implementation, the focus on case studies of real-world problems is a strength.
----------------------- REVIEW 3 ---------------------
Overall evaluation: 4 (accept)
The authors have proposed a talk on Zarr project for distributed and parallel computing. It is also related to the application of Python to life science (Malaria genomics and Human cell atlas) and climate studies.
The proposal is certainly interesting. All relevant resources are also clearly cited.

Btw does anyone have a suggestion for how to author the slides for the talk in a way that is amenable to putting in a PR and collaborating on?
I suppose the only text-based PR-friendly format would be latex+beamer, haven't used it before but happy to have a go.
Suppose could also be done with jupyter+reveal, although it's impossible to do line comments on a jupyter notebook.
Failing that, google doc?

I use reveal.js without Jupyter and like it
https://github.com/mrocklin/slides/tree/gh-pages
https://github.com/mrocklin/slides/blob/gh-pages/dask-short.md (this is
content in markdown)
https://github.com/mrocklin/slides/blob/gh-pages/dask-short.html (this is
boiler plate)
produce
http://matthewrocklin.com/slides/dask-short.html#/
On Tue, Apr 23, 2019 at 11:30 AM Alistair Miles<EMAIL_ADDRESS>wrote:

Btw does anyone have a suggestion for how to author the slides for the
talk in a way that is amenable to putting in a PR and collaborating on?
I suppose the only text-based PR-friendly format would be latex+beamer,
haven't used it before but happy to have a go.
Suppose could also be done with jupyter+reveal, although it's impossible
to do line comments on a jupyter notebook.
Failing that, google doc?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zarr-developers/zarr/issues/396#issuecomment-485878099,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTDPAK6WO6O7OEQC7YLPR42RVANCNFSM4GRRUXMQ
.

Who will be at SciPy? Also how long are people planning to be there? Finally would it be worth doing a sprint?

I'll be there for the main conference.
On Thu, 6 Jun 2019 at 18:53, jakirkham<EMAIL_ADDRESS>wrote:

Who will be at SciPy? Also how long are people planning to be there?
Finally would it be worth doing a sprint?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zarr-developers/zarr/issues/396?email_source=notifications&email_token=AAFLYQQ2EHJTYAZRX4TX3A3PZE6H5A5CNFSM4GRRUXM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXDPPBQ#issuecomment-499578758,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFLYQWEBE6P76IQP5P2HMDPZE6H5ANCNFSM4GRRUXMQ
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health
Big Data Institute
Li Ka Shing Centre for Health Information and Discovery
University of Oxford
Old Road Campus
Headington
Oxford
OX3 7LF
United Kingdom
Phone: +44 (0)1865 743596 or +44 (0)7866 541624
Email<EMAIL_ADDRESS>Web: http://a http://purl.org/net/alimanlimanfoo.github.io/
Twitter: @alimanfoo https://twitter.com/alimanfoo
Please feel free to resend your email and/or contact me by other means if
you need an urgent reply.

I'll be there for the main conference. @jhamman and I are also hosting an
xarray sprint on Saturday. Would gladly do that in conjunction with a zarr
sprint.
On Thu, Jun 6, 2019 at 7:25 PM Alistair Miles<EMAIL_ADDRESS>wrote:

I'll be there for the main conference.
On Thu, 6 Jun 2019 at 18:53, jakirkham<EMAIL_ADDRESS>wrote:

Who will be at SciPy? Also how long are people planning to be there?
Finally would it be worth doing a sprint?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/zarr-developers/zarr/issues/396?email_source=notifications&email_token=AAFLYQQ2EHJTYAZRX4TX3A3PZE6H5A5CNFSM4GRRUXM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXDPPBQ#issuecomment-499578758
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAFLYQWEBE6P76IQP5P2HMDPZE6H5ANCNFSM4GRRUXMQ
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health
Big Data Institute
Li Ka Shing Centre for Health Information and Discovery
University of Oxford
Old Road Campus
Headington
Oxford
OX3 7LF
United Kingdom
Phone: +44 (0)1865 743596 or +44 (0)7866 541624
Email<EMAIL_ADDRESS>Web: http://a http://purl.org/net/alimanlimanfoo.github.io/
Twitter: @alimanfoo https://twitter.com/alimanfoo
Please feel free to resend your email and/or contact me by other means if
you need an urgent reply.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zarr-developers/zarr/issues/396?email_source=notifications&email_token=AAJEKJWC3ZLP3MJDMQEZWCTPZGMFXA5CNFSM4GRRUXM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXEOBZY#issuecomment-499704039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJEKJXO5UQ7DRJKNGPTFQ3PZGMFXANCNFSM4GRRUXMQ
.

That could be good. Will also be there for the sprints.
Related: There is an N-D image analysis sprint that overlaps with a few projects. I wonder if we can set it up so we have neighboring rooms or share the same room given that there will likely be a lot of common interest between participants.

@hanslovsky will be at SciPy and present his ImgLib2 <-> Numpy bridge ImgLyb https://github.com/imglib/imglib2-imglyb and Paintera https://github.com/saalfeldlab/payntera


Differ between "device not secure" and other exceptions on initialization

The issue is that I dont know of a way to differ between "device just not having sufficient screen lock set up exception" and possibly some other exceptions occurring during SecureStorage initialization. The example in the Readme regarding checking for device being secure leaves an impression that ONLY time that an exception occurrs during initialization is when the device does not have sufficient screen lock set up. But I guess this is not the case, definitely there is a possibility of some other exceptions occurring internal to the library.
let secureStorageAvailable = false;
let deviceSecure = false;

const successCallback = function () {
    secureStorageAvailable = true;
    console.log('OK');
};

const errorCallback = function (err) {
if(err.name = 'Some specific error name describing device not having a screen lock'){
    secureStorageAvailable = false;
    device
} else {
    secureStorageAvailable = false;
    console.error(err);
}
};

const storeName = 'my_app';

const ss = new cordova.plugins.SecureStorage(successCallback, errorCallback, storeName);

I would like to know specifically when initialization raises an error because of device not having a screen lock set up. This way I could invoke the secureDevice() method, show a message describing the problem to the user and bring in the device screen lock settings page. If any other exception occurs I want to simply disable the SecureStorage functionality in my app entirely.
Does the error being thrown for device not being secure have a specific name to check against?
I'm thinking of doing something in lines of:
let secureStorageAvailable = false;
let deviceSecure = false;
let ss = null;

const successCallback = function () {
    secureStorageAvailable = true;
    deviceSecure = true;
    console.log('Device secure. Continue saving client\'s data.');
    // ...
};

const errorCallback = function (err) {
    if (err.name = 'Some specific error name describing device not having a screen lock') {
        secureStorageAvailable = true;
        ss.secureDevice(() => {
                deviceSecure = true;
                console.log('Device secure. Continue saving client\'s data.');
                // ...
        }, () => {
                deviceSecure = false;
                console.log('Device still not secure. Retry initialization or cancel.');
                // ...
        });
    } else {
        secureStorageAvailable = false;
        deviceSecure = false;
        console.error(err);
        // Some other exception occurred. Retry initialization or cancel.
    }
};

const storeName = 'my_app';

ss = new cordova.plugins.SecureStorage(successCallback, errorCallback, storeName);

When initialization fails due to device not being secured the errorCallback is called with the string "Device is not secure" as a parameter.


Including column names when saving LightGBM native model?

When using LightGBMBooster.saveNativeModel() function, it looks like the model doesn't include original column names, but using "Column_*" instead. Do I miss any config here? @little-eyes @imatiach-msft

I think this is because I use spark pipeline model, where assembles all feature columns into one vector, and the lightgbm library doesn't have the original feature column names.. Not sure any good solution to add column names back, or need to implement sth like https://github.com/jpmml/jpmml-sparkml-xgboost?

@ywskycn yes, this is definitely something that needs to be fixed and @little-eyes already saw this issue before.  I need to figure out a way to pass the column names to vector assembler and then from vector assembler pass them to native lightgbm code.  It's something that would need to be investigated.

closing as PR to include column names (when they are available on slot metadata in features column) has been merged, see PR #526
The fix should be available in next release.


Configure jitpack to use Java 17

After 1fd181c40ad67ef7c0aa3d5061d03a2317e12a10 it appears like Geyser-Fabric is no longer pushed to the opencollab maven. Assuming this is intentional, this pr would at least allow Jitpack to function on this repo. This is the same method lithium also uses.

Hey, thanks so much for the PR!
Deploying should now be re-setup through our OpenCollab repository as of a minute ago if you want to re-test that.

That works too! Thank you


Latest release download failing (s3 urls depricated )

Latest release download failing because s3 urls have been deprecated https://twitter.com/Dinnerbone/status/993773511469686784
fatal: [minecraft]: FAILED! => {"changed": false, "dest": "/srv/minecraft/minecraft_server.1.13.1.jar", "msg": "Request failed", "response": "HTTP Error 403: Forbidden", "state": "absent", "status_code": 403, "url": "https://s3.amazonaws.com/Minecraft.Download/versions/1.13.1/minecraft_server.1.13.1.jar"}
New urls are may not be constructed programmatically but can be retrieved from this new json file:
http://jsonviewer.stack.hu/#http://launchermeta.mojang.com/mc/game/version_manifest.json

Thanks for reporting this. This should be simple enough to fix.

Hey @benwebber
Is it possible that you can resolve this issue?
I would be very glad.
It looks, like there is even a nice pull request, that only need your approval to do this.
Thanks


feat: add queries for nvim-treesitter-textobjects

Adds queries for the nvim-treesitter/nvim-treesitter-textobjects plugin, enabling users to navigate, select, and modify ReScript code using text objects. See nvim-treesitter-textobjects/CONTRIBUTING.md for more info.
Notes:

I had trouble writing a query to select uncurried function parameters so they currently aren't handled properly. Suggestions are welcome 😅

I had included a sentence in the README mentioning this feature in the previous PR, but I left it out of this one because this repo isn’t directly targeted towards nvim. Do you think it should be included, either here or in the nvim repo?

Previous PR: https://github.com/nkrkv/nvim-treesitter-rescript/pull/5

Thanks!

I had included a sentence in the README mentioning this feature in the previous PR, but I left it out of this one because this repo isn’t directly targeted towards nvim. Do you think there should be a, either here or in the nvim repo?

I think it’s OK to have it here, in this repo. Those who don’t need it for their editors/tools can just ignore the file during bundling.

Sounds good! Should be ready to merge if everything looks good to you.

Thank you!


Fix include path in README

In #72, the include path in README has been changed from <toml11/toml.hpp> to <toml.hpp>, but there is still an example of including <toml11/toml.hpp>.
This PR fix it.

Thank you for finding it! After waiting the CIs, I will merge it.


onTouchEnd in android not work

Which OS ?
android
Version
Which versions are you using:
8.0

react-native-swiper :1.5.13
react-native v 0.55.4

Expected behaviour
Actual behaviour
How to reproduce it>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
Steps to reproduce

我也遇到同样的问题


feat: Check for broken pipe errors in Gin integration

Fixes https://github.com/getsentry/sentry-go/issues/69
cc @macklin-10x

CI unhappy though: gin/sentrygin.go:90: line is 145 characters (lll)


Asks for a Private Key when uploading to an existing storage account

Hello,
I am trying to use the SDK to upload a file to my Shadow Drive.  I have my wallet, the drive, find the correct account, and then I attempt to upload my file as a ShadowFile:
const pngFileBuffer = fs.readFileSync(`${__dirname}/../output/0.png`);
const pngShadowFile: ShadowFile  = {name: '0.png', file: pngFileBuffer}
const pngFileUploadResult = await drive.uploadFile(shadowAccount.publicKey, pngShadowFile, "v2" );

And it responds with
}
Error: TypeError: Cannot read properties of undefined (reading 'secretKey')
    at ShdwDrive.<anonymous> (upload-file.ts:93:27)
    at Generator.next (<anonymous>)
    at upload-file.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (upload-file.js:4:12)
    at ShdwDrive.uploadFile (/upload-file.js:29:12)
    at shadowUtils.ts:33:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Waiting for the debugger to disconnect...

I am not sure how to go about debugging this - can you point me in the correct direction?  Short of that, if you have a working example of uploading files through Node, I'd be very happy to see it.
Thanks!

Can you please share more of the code you're using? Including things like initializing they drive object and how you're pulling in your wallet would be very helpful here.
Along with that, are you using this with nodejs or a browser environment?

Thanks for quickly responding!  Sure:
Firstly, I'm in a Node.js environment (v18 to be exact)
I am pulling in a file wallet.  Here's how I'm doing it:
const decodedKey = new Uint8Array(
    JSON.parse(
        fs.readFileSync(`${__dirname}/../../exchanger_support_files/SHADOW_WALLET.json`).toString()
    ));
const wallet = Keypair.fromSecretKey(decodedKey);

const drive = await new ShdwDrive(conn, wallet).init();
const shadow = await drive.getStorageAccounts("v2");

const shadowAccount = shadow.find((thisAcct) => {
                                       let sAcctId = thisAcct.account.identifier;
                                       if (sAcctId === SHADOW_ACCOUNT_ID) {
                                          return thisAcct
                                       }
                                  });

And it appears that the function you have to upload - in @shadow-drive/sdk/dist/methods/upload-file, on line 80 - it's expecting the wallet object to have a "payer" member - but this method of getting the wallet doesn't provide it.

Is there a better way of bringing in a wallet from a file system so that it'll work this way?  I'd be happy to adjust that.  I really do need to get this piece working pretty soon.
Thanks so much!

And I just tried removing the payer member and ran it, and it worked for me.  I will attempt to add to my wallet object (if typescript will let me) the payer member with the child secret key to see if that does it.  But I'm sure I won't be the only one to hit this as adoption continues (because the platform is so much better than anything else out there IMO)....so if you can handle it with a null check I think that could fix the issue.

Instead of initializing your wallet with Keypair.from, you should do something like this:
import * as anchor from "@project-serum/anchor";
const decodedKey = new Uint8Array(
    JSON.parse(
        fs.readFileSync(`${__dirname}/../../exchanger_support_files/SHADOW_WALLET.json`).toString()
    ));
const wallet = new anchor.Wallet(decodedKey);

Where you're using the anchor javascript package to instantiate a new Wallet object.
The Keypair object from Solana's Web3.js package doesn't include the other necessary functions that the anchor client we use internally requires.

Thanks a bunch!  Didn't think I'd need anchor here.  I'll give it a shot and close the ticket if I'm all good!

THANK YOU SO MUCH!!!
Had to keep the keypair in there because the keypair is the correct parameter to anchor.Wallet().  Here's the correct wallet-getting code for anyone else struggling with it:
const decodedKey = new Uint8Array(
    JSON.parse(
        fs.readFileSync(`${__dirname}/../../exchanger_support_files/SHADOW_WALLET.json`).toString()
    ));

const keypair = Keypair.fromSecretKey(decodedKey);
const wallet = new anchor.Wallet(keypair);

After that, it works swimmingly!
Thanks again Tracy!  I'll close this.


Refactor linting tasks to remove Gulp

What
Update tasks/gulp/lint.js to replace Gulp with our own lint scripts. There are two tasks in this file, one to lint SCSS and one to lint JS. Note that we currently spawn a process to run the linting tasks. We could probably tidy this up a bit.
Why
We have made the decision to move away from Gulp and write our own build scripts.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when

[x] tasks/gulp/lint.js no longer sdepends on Gulp
[ ] standard and stylelint are as up to date as feasible
[x] docs/contributing/tasks.md has been updated
[x] NPM scripts lint, lint:js and lint:scss work correctly
[ ] ~lint.js has been relocated to tasks folder~

I've struck off the last "Done when" task as we no longer need a separate lint.js file for 'lint:scss'
We have a new task helper npmScriptTask() which calls npm scripts directly:
/**
 * Umbrella styles tasks (for watch)
 * Runs Sass code quality checks and compilation
 */
gulp.task('styles', gulp.series(
  npmScriptTask('lint:scss', ['--silent']),
  'scss:compile'
))

I've unintentionally done three of the tasks (sorry) so I'll assign myself to this one

✅ All our stylelint and standard packages are up to date too
There's one more related change so I've opened https://github.com/alphagov/govuk-frontend/pull/2916


Update to mc-publish v3.3.0

Describe the bug
mc-modpack-kit fails to publish
https://github.com/Aninuscsalas/wynncraft-101/actions/runs/7652140532/job/20851328526
Error: Unable to resolve action<EMAIL_ADDRESS>unable to find version `v3.2`

mc-publish v3.2.0 is deprecated, as GitHub no longer supports actions based on Node.js 12.

Thanks for providing the issue for me!
Updated with commit https://github.com/jh-devv/mc-modpack-kit/commit/2772ee596fb1f3e92674217a5aa0ff6bd68dc74a


[feature request] WindowHeight can be auto adjusted according to content

Actual behaviour
Expected behaviour
Lf_WindowHeight can be a max height value of window, but if there are just one or two line in the windows, it's better to auto adjust the window height to minimize it.

If show the content in reverse order, the height can be auto adjusted.
If in regular order, the first line always is the best match, the focus of eyes should change the position  when the  window height changes, this is not a good experience.

You can try the popup mode, the height can be auto-adjusted.

OK, thank you~


Make react-native-material-ui compatible with react-native-web

Demo app in https://github.com/dalcib/react-native-material-ui-web-app

Codecov Report

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

@@          Coverage Diff          @@
##           master   #169   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines           2      2
  Branches        1      1
=====================================
  Hits            2      2

lgtm

@dalcib does the ripple effect work for you as well? Currently, all components that make use of RippleEffect render a TouchableOpacity with activeOpacity 0.2 and focusedOpacity 0.7 (default props of react-native-web's TouchableOpacity @ https://github.com/necolas/react-native-web/blob/master/src/components/Touchable/TouchableOpacity.js). This looks a bit strange (element becomes transparent when focusing) so I guess we need to change the activeOpacity and focusedOpacity to 1 to prevent this.

I'm getting the next errors related to the split of the getPlatformElevation file:
Error in ./~/react-native-material-ui/src/styles/getTheme.js
Module not found: ./getPlatformElevation in /home/piranna/Trabajo/Quantum/flowtag_react/node_modules/react-native-material-ui/src/styles

 @ ./~/react-native-material-ui/src/styles/getTheme.js 1:677-710

Error in ./~/react-native-material-ui/src/Button/Button.react.js
Module not found: ../styles/getPlatformElevation in /home/piranna/Trabajo/Quantum/flowtag_react/node_modules/react-native-material-ui/src/Button

 @ ./~/react-native-material-ui/src/Button/Button.react.js 1:1356-1397

Error in ./~/react-native-material-ui/src/ActionButton/ActionButton.react.js
Module not found: ../styles/getPlatformElevation in /home/piranna/Trabajo/Quantum/flowtag_react/node_modules/react-native-material-ui/src/ActionButton

 @ ./~/react-native-material-ui/src/ActionButton/ActionButton.react.js 1:1462-1503

How can I be able to fix them?

By copying getPlatformElevation.web.js to getPlatformElevation.js it works on the web platform (react-native-web), probably it would makes sense to add a getPlatformElevation.js file that detects the platform and require one or another as a fallback, similar to what's done with other multi-platform libraries, what do you think?
I'll try to do a pull-request when I have some time for it.

@jaulz, I'm not able to test this for now because I am traveling, but I will see since I can.
@piranna, if you aren't using create-react-app then you need to use the code above in your webpack.config.js
...
  resolve: {
    // `web` extension prefixes have been added for better support
    // for React Native Web.
    extensions: ['.web.js', '.js', '.json', '.web.jsx', '.jsx'],
...

@piranna, if you aren't using create-react-app then you need to use the code above in your webpack.config.js
...
resolve: {
// web extension prefixes have been added for better support
// for React Native Web.
extensions: ['.web.js', '.js', '.json', '.web.jsx', '.jsx'],
...

Ok, that worked, thanks :-) I'm somewhat new to the react environment at all :-)


Waypoint: Use Conditional Logic with IfElse Statements fails at random

The first test case fails at random, even with a right solution. Reported in Gitter

Yes it seems the test is wrong 50% of the time.
It tests:
function(){
    if ( myFunction() === "heads" || myFunction() === "tails"){
        return(true);
    } else {
        return(false);
    }
}

It first runs the function and checks if the value is "heads" (50% chance),
then it runs the function again and checks if the value is "tails" (50% chance).
The test needs to store the value of one invocation of the function in a variable
and test that like:
function(){
    var result = myFunction(); // <---only one invocation
    if ( result === "heads" || result === "tails"){
        return(true);
    } else {
        return(false);
    }
}

Sorry about the reference spam.  Looks like it was actually only wrong 25% of the time because the two expressions which each had a 50% chance of being correct were being ORed.

@benschenker :+1:

also, it is unclear to me why "Math.random() * (1 - 0 + 1)" is used instead of simply "Math.random() * 2" (in the starter code).


raftstore: ignore stale read states

What is changed and how it works?
Issue Number: Close #12046
What's Changed:
If a read index request travel too long in the network, a leader may receive the
request it sent when it's still follower and break the strict order pending read
assumption.

This PR solves the problem by ignoring invalid read states. It also adds a defense
check to ignore all ReadIndex messages when it's sent by current leader.

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test

Release note
Fix panicking when replica read is enabled and there is a long time network condition

/merge


[ISSUE #246] feat: implement flow control

Which Issue(s) This PR Fixes
Close #246
Brief Description
implement flow control for MQTT 5.0
How Did You Test This Change?
UT

hi @DongyuanPan , i have updated this PR according to the review comments, pls take a look when you are free. Thx.


Can not connect to remote server through a proxy

Hello,
First of all thank you so much for the plugin!
When using it to sync with a remote server through a proxy, I got some timed out errors.
Suppose that my remote server is 123.456.789.0 (access with username and password) and my proxy server is<EMAIL_ADDRESS>(access with public SSH key). I created a file ~/.ssh/config  with the following content:
Host 123.456.789.0
    ProxyCommand ssh -W %h:%p<EMAIL_ADDRESS>123.456.789.0

Now in the terminal I can do ssh<EMAIL_ADDRESS>without any problem, but when setting the plugin in VS Code:
 {
    "protocol": "sftp",
    "host": "123.456.789.0",
    "port": 22,
    "username": "username",
    "remotePath": "/home/username/",
    "uploadOnSave": true,
    "connectTimeout": 30000,
    "agent": "$SSH_AUTH_SOCK",
    "privateKeyPath": "/Users/username/.ssh/id_rsa"
}

I obtained the following error after saving a file:

[error] Error: Timed out while waiting for handshake
at Timeout._onTimeout (/Users/username/.vscode/extensions/liximomo.sftp-1.3.5/node_modules/ssh2/lib/client.js:695:19)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)

My remote server is running Ubuntu and my local machine is on Mac OS High Sierra.
Thank you in advance for your help!
Specifications

Version: 1.3.5
Platform: Mac OS High Sierra

It doesn't support proxy. ☹
D. Khuê Lê-Huu<EMAIL_ADDRESS>于 2018年8月7日周二 18:37写道：

Hello,
First of all thank you so much for the plugin!
When using it to sync with a remote server through a proxy, I got some
timed out errors.
Suppose that my remote server is 123.456.789.0 (access with username and
password) and my proxy server is<EMAIL_ADDRESS>(access with public
SSH key). I created a file ~/.ssh/config with the following content:
Host 123.456.789.0
ProxyCommand ssh -W %h:%p<EMAIL_ADDRESS>123.456.789.0
Now in the terminal I can do ssh<EMAIL_ADDRESS>without any
problem, but when setting the plugin in VS Code:
{
"protocol": "sftp",
"host": "123.456.789.0",
"port": 22,
"username": "username",
"remotePath": "/home/username/",
"uploadOnSave": true,
"connectTimeout": 30000,
"agent": "$SSH_AUTH_SOCK",
"privateKeyPath": "/Users/username/.ssh/id_rsa"
}
I obtained the following error after saving a file:
[error] Error: Timed out while waiting for handshake
at Timeout._onTimeout
(/Users/username/.vscode/extensions/liximomo.sftp-1.3.5/node_modules/ssh2/lib/client.js:695:19)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
My remote server is running Ubuntu and my local machine is on Mac OS High
Sierra.
Thank you in advance for your help!
Specifications

Version: 1.3.5
Platform: Mac OS High Sierra

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/liximomo/vscode-sftp/issues/277, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJXIoSk0P80GS4QWdFkDJovhV-MOiVujks5uOW3PgaJpZM4Vx6Lu
.

Planning...

See connection hopping.


Add Github workflow to publish an experimental build of @shopify/shopify-app-remix

WHY are these changes introduced?
We want to be able to have an experimental build published to NPM.
WHAT is this pull request doing?
This creates a new Github workflow that builds the experimental branch,  creates an experimental snapshot version and publishes it to NPM under the experimental tag.
Type of change

[ ] Patch: Bug (non-breaking change which fixes an issue)
[ ] Minor: New feature (non-breaking change which adds functionality)
[ ] Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] I have used yarn changeset to create a draft changelog entry (do NOT update the CHANGELOG.md files manually)
[ ] I have added/updated tests for this change
[ ] I have documented new APIs/updated the documentation for modified APIs (for public APIs)

@paulomarg that's right, any change that goes into that branch will be released in the experimental track when we run this workflow.
So for instance if we make a change to shopify-app-remix plus another change to shopify-app-session-storage-prisma, it will create a release for each of these packages with a version 0.0.0-experimental-202312110927, for instance.
This makes me realize that I left the name of the workflow referencing remix, because I was trying to get the release to be exclusive to the remix package, but that doesn't work with the current dependency graph, so I'm pushing a rename of the file.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1850 ms

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


Added Bright Data details

Injecting the Bright Data details.

This is far too much detail for this page. Can you provide a high level summary and link to existing web pages? Please do not exceed 2-3 paragraphs.

@arun-gupta
Fixed

@danielpi-bright-data I still see ~60 lines of text. Can you bring it down to ~10-15? We need to make sure all credits are equitable.

@danielpi-bright-data I still see ~60 lines of text. Can you bring it down to ~10-15? We need to make sure all credits are equitable.

@arun-gupta the changes were made here: https://github.com/danielpi-bright-data/information-2024/blob/patch-1/Credits-and-Collaborators.md
Perhaps I fixed on the patch-1 by mistake?

@arun-gupta Checking to see that our updates are approved and there are now additional adjustments needed.

@danielpi-bright-data I'm still seeing 60 LOCs. You can close this PR and open up a new PR, if you prefer

@arun-gupta
https://github.com/danielpi-bright-data/information-2024/blob/main/Credits-and-Collaborators.md
Added to the main branch, please review


Please explain -v option in similar matter as run -rm

File: engine/reference/commandline/rm.md
The note under https://docs.docker.com/engine/reference/run/#clean-up---rm explains in a better way that only anonymous volumes will be removed with -v option.
Please consider using this explanation instead of what is currently written about -v

Thanks for sharing this issue. This particular content is maintained in an upstream repo. If the issue is still applicable, please help create an issue or PR in the repo at https://github.com/docker/cli/tree/master/docs/reference/commandline


Added a test case for #962: DateTime field value may become incorrect when an object persisted to MySQL is later retrieved

#962

Fails on latest, but not in the expected way.
1) Propel\Tests\Issues\Issue962Test::testTimeStampIsStoredCorrectly
TypeError: Argument 1 passed to Propel\Runtime\Connection\ConnectionFactory::create() must be of the type array, null given, called in /home/travis/build/spryker/Propel2/src/Propel/Runtime/Connection/ConnectionManagerSingle.php on line 76

Test will need minor changes.


Addressed feedback.

The travis script seems to be missing install dependencies.

Yeah. I’m still working on it but I’m on vacation with limited
connectivity. I’ll get back to it next week.
On Sat, Mar 31, 2018 at 9:09 AM Martin Durant<EMAIL_ADDRESS>wrote:

The travis script seems to be missing install dependencies.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ContinuumIO/intake-netcdf/pull/1#issuecomment-377691934,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmNGmwkloj73sW66QIielJQlWn5pa36ks5tj3_7gaJpZM4S9ooN
.

--
Mike McCarty
Senior Software Engineer
571-317-1628 <(571)%20317-1628> | anaconda.com
https://anaconda.com/
https://twitter.com/anacondainc
https://www.linkedin.com/company-beta/2636430/
https://www.facebook.com/anacondainc/
https://www.slideshare.net/continuumio

That's fine, enjoy your relaxation

Thanks @martindurant   I'll try to find spare cycles to make progress.  I went ahead an renamed this GH repo.
We should probably go ahead and merge this PR and create issues to follow up.  For tracking, I moved this bullet list to an issue and created an issue for fixing CI.

Merging to allow further progress in subsequent PRs.


Support for older browsers (Mobile safari & chrome)

First off - great app. Thanks for sharing it with the world.
I have an older iPad I'd like to use as a little kiosk with Muse. It's stuck on iOS13 which does not seem to be supported by Svelte. (Both Chrome and Safari don't work)
Do you know what the best course of action might be? Do you think it's possible to add a polyfill into the build tooling that will allow for support of these older browsers? Or is the problem larger?
Muse is the nicest looking snapcast-supporting Mopidy frontend, and I'd like to use it, so if you could point me in the right direction I would appreciate it. I am happy to contribute, just thought I would check in first.

Hi @jgladch
Thanks for your feedback. I haven't tested muse in a lot of browsers, but I think it's a good point.
I will try to add some babel to rollup (something like it's made here https://github.com/ifahrentholz/svelte-3-ie11 ) , that should improve IOS support.

That's great, I really appreciate it. Happy to help test on my old iPad 👍.

Would you mind to test this url in your ipad: https://cristianpb.github.io/muse/
I'm trying an easyfix.
I'm not sure that you would be able to connect to snapcast server, but you will be able to see if the html&js works.

No change - menu items like "Now playing", "Search", "Browse", "Playlists" are clickable, but the hamburger menu in top right and player controls at the bottom are not clickable, same with "+" button on Playlists page.

I tried another fix using commonjs and babel. It should work in Safari 13 (at least opening the burger and the bottom navigation bar), I used an online test page. Would you mind to test ?

Do you know the version of Chrome that you have in IOS ?

Is it the same url (cristianpb.github.io/muse)?
If that is correct, it still does not work with my iPad - same behavior, nothing but the text menu items is clickable.
Also, I realize I gave incorrect information. It turns out that my iPad is stuck on iOS 10.3 using Chrome version 71 and Safari version 10 (not iOS 13 like I originally thought). Apologies for that. What do you think?

Thanks for the information. It have more sense like that. I saw an error SyntaxError: Cannot declare a let variable twice 's' in Safari 10. I will try to solve that.
On the other hand, Chrome v71 should work :ok_hand:

I appreciate your efforts! Chrome v71 on iOS 10.3 does not seem to work. Same issue - only text menu items are clickable. All icons (hamburger, player controls, buttons, etc) don't register clicks.


clearpath_nav2_demos: 0.0.1-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository clearpath_nav2_demos to 0.0.1-1:

upstream repository: https://github.com/clearpathrobotics/clearpath_nav2_demos.git
release repository: https://github.com/clearpath-gbp/clearpath_nav2_demos-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: null

clearpath_nav2_demos
* Added space to package.xml.
* Updated package.xml order.
* Added test dependencies.
* Added Github actions.
* Config updates
* Namespacing fixes
* Updated odom topics
* Fixed footprint and adjusted velocity/accel limits on J100
* Use config to set namespace and platform model
* Current best parameters for Husky
* Cleanup
* Jackal params
* Initial commit
* Initial commit
* Contributors: Hilary Luo, Roni Kreinin, Tony Baltovski

[ ] At least one of the following must be present

[ ] Top level license file:
[ ] Per package license files:

[ ] License is OSI-approved:
[ ] License correctly listed in package.xmls
[ ] Public source repo:
[ ] Source repository contains ROS packages
[ ] Each package meets REP-144 naming conventions


Tray doesn't use icon color from gtk theme

Describe the issue
I using dark background on polybar, and dark gtk-3 theme that sets all symbolic icons color to white. Also i using icon theme with light symbolic icons by default, but as fallback (if needed icon not found) it using "hicolor" icon theme with default dark icons. On polybar tray i see all that icons in they default color.
Expected behavior:
I expected that polybar will take into account gtk theme and change icons color according to it. For example gnome and cinnamon are doing that for they own status bars. Really it's not so important to polybar get color from gtk-3 theme (but it will be perfect variant), i just need a way to change icon color.
Actual behavior:
Polybar just don't changing color for symbolic icons in tray. So icons that my main theme includes are white, other icons are black.
To Reproduce
It happens even with default polybar config. No matter what background or foreground color i set or what is my current gtk-3 theme.
Polybar Log
I removed all custom scripts and leaved only basic modules, and got this log on start:
polybar|warn:  pulseaudio: using default sink alsa_output.pci-0000_00_05.0.iec958-stereo
polybar|error: tray: Failed to put tray above 0x1000001 in the stack (XCB_MATCH (8))

Second error appears only when i (re)start i3 with polybar.
Screenshots

Environment:

WM: I3
Distro: Linux mint 20
Output of polybar -vvv:

polybar 3.4.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: None
Compiler: /usr/bin/c++
Compiler flags: -g -O2 -fdebug-prefix-map=/build/polybar-udaYph/polybar-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic
Linker flags: -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now

Polybar isn't really responsible for rendering the individual tray icons, this is done by the application that provides the tray icon.
So I would guess this isn't specific to polybar. Does this also happen for other applications that have a system tray (i3bar, stalonetray, tint2)?
Also, does this happen when you start polybar from the terminal instead of during i3 startup?

Polybar isn't really responsible for rendering the individual tray icons, this is done by the application that provides the tray icon.

Of course polybar don't have to choose icon for application, that what icon theme and application itself does. But i think that it can change icon color.

Does this also happen for other applications that have a system tray (i3bar, stalonetray, tint2)?

For example, in i3bar i can set statusline color:
bar {
	status_command i3status
	colors {
		statusline "#aaaaaa"
	}
}

And this will affect tray icons color:

I forgot to mention that only "hicolor" icon theme supports changing color for symbolic icons, when my main icon theme ("korla") doesn't. And the only icon in screenshot from "hicolor" is "mintupdate" (third). As you can see, it's color same as "statusline" in i3 config. So i expected that polybar have similar color setting as i3bar, or will inherit that color from gtk like cinnamon or gnome bars does.

Also, does this happen when you start polybar from the terminal instead of during i3 startup?

No matter how i launch polybar. Only difference between launch with i3 or singly, that's string in log what i considered it important:
polybar|error: tray: Failed to put tray above 0x1000001 in the stack (XCB_MATCH (8))

I just looked through the code and where i3bar is using the statusline color, we basically do the same thing but with the tray-background color.
Can you try changing the tray-background color to see whether this affect the icon color?
This will also change the actual background of the tray, but if it works I think we should introduce tray-foreground for this.
Just for me for future reference: _NET_SYSTEM_TRAY_COLORS is a non-standard atom and seems to be exclusive to gtk: https://bugzilla.gnome.org/show_bug.cgi?id=679591

I wrote this in bar config:
tray-background = #333333

But icon color didn't changed. It's still black:

@IkorJefocur could you solve the problem?

@OmarAmell , No. I just reported problem.

Same issue, can't get icons to become white no matter how hard I try.

I just looked through the code and where i3bar is using the statusline color, we basically do the same thing but with the tray-background color.

@patrick96, I read through the i3bar code, and you're right, but i3bar colors the tray background with a different color (the background settings, not statusline). That's really important: i3bar ends up using a different color for the background vs the foreground, whereas polybar uses the same color, which ends up making the icon impossible to see. (Also, i3bar bit shifts the color values differently, it ends up maxing the colors out at 0xffff, whereas polybar maxes out at 0xff.

This will also change the actual background of the tray, but if it works I think we should introduce tray-foreground for this.

This does work and affects the icon colors, but is hard to tell because it also changes the background color, so the icons are still invisible. I've introduced the tray-foreground setting you mentioned over here: https://github.com/polybar/polybar/pull/2552/

@jfly Just built and tested this, and it seems to work perfectly for fcitx and xfce4-power-manager, but, for some reason, it doesn't work for wpa_gui. Granted, that's a very weird Qt app in the way it handles its icon, but I wonder if this was tested for symbolic icons under Qt applications.

We use _NET_SYSTEM_TRAY_COLORS to set the tray foreground. This is a gtk3-specific atom and likely won't work with/affect any other applications.
I don't think there is even a way in the system tray standard to set an icon's foreground color.

Honestly wish I could disable symbolic icons as a whole, but apps seem keen on using them...

@patrick96: I'm very new to all this. I don't understand what the difference is/should be between the "tray foreground" and an "icon's foreground". In my mind, they're the same thing. With my change, polybar draws a background of a particular color, and then uses this _NET_SYSTEM_TRAY_COLORS hint to tell gtk applicantions to draw their icons using a particular color.
@mid-kid eep! I didn't even think about Qt applications, but I'm not surprised this has no effect on them. Perhaps Qt provides its own way of hinting to applications that they should draw symbolic icons in a particular color?

In my mind, they're the same thing.

They should be. The tray doesn't really have a "foreground", it doesn't have any text. Most icons are multicolored as well so they also don't really have a foreground. Maybe just using the term "foreground" makes things a bit confusing. Once the update comes out, we should also probably clarify this in the documentation that tray-foreground really only is a hint to gtk applications (I'm assuming to figure out whether to show the light or dark version of an icon).
I don't know of any Qt specific ways to hint at the tray icon color, but I also couldn't really find anything about symbolic icons.
@mid-kid Is it possible that your Qt theme is a light theme where the icons are darker?

To quote the specifics of my Qt setup, I'm using QT_QPA_PLATFORMTHEME=qt5ct, which is configured to use the kvantum style, with the Adwaita icon theme. The app I'm using specifically is wpa_gui, I'm not really aware of any other Qt apps using symbolic icons... The icon is being set by QIcon::fromTheme().

Once the update comes out, we should also probably clarify this in the documentation that tray-foreground really only is a hint to gtk applications

Sounds good! I'll follow up after the next release to make sure that happens.

(I'm assuming to figure out whether to show the light or dark version of an icon).

It's actually quite a bit fancier than that! Gtk is able to recolor symbolic images according to some hard-to-find-documented rules.

My reminder to check in on the documentation just fired. Looks like a new version of polybar hasn't been released yet, though? @patrick96, any idea when that'll happen?

No, not yet sorry. I'm really busy atm and there are some things that I need/want to do for 3.6

@patrick96, looks like you (or somebody else) already updated the docs? https://github.com/polybar/polybar/wiki/Configuration seems to have a pretty good explanation about the tray-foreground setting.

Yes, that was me. Thanks for the review :)


Update CITATION.cff metadata

This PR adds the publication month (June), book website URL, ISBN, and publisher website for the Natural Language Processing with Python book in the CITATION.cff file. This additional information (especially the ISBN) will help enable proper/complete attribution.

Bumping this @tomaarsen

I don't think it's my place to approve the changing of the citation without permission from @stevenbird, as it's not my name on the citation.

Fair enough. Wasn't sure who would be the right person to tag

No worries!

Thanks @cgobat


VCF Filters

Dear developers,
Using the default config.ini file in the program repository, I don't know how to filter the output vcf properly. What would be the command parameters that would avoid false positives? In the paper you state:

We run NanoSV on the MinION data of each patient using the default parameters: “-t 8 -s 10 -p 0.70 -m 20 -d 10 -c 2 -f 100 -u 20 -r 300 -w 1000 -n 2 -q 80 -i 0.80 -g 100 -y 20”

How is this translated to the config.ini file format? On the other hand, why is the filter MapQual set to 80 by default? Do you get something with no MapQual flag?
Thank you in advance.

We didn't change the default settings in the config.ini. So if you want to use the default settings you can use the default config.ini file. If you want to change something you need to create your own ini file with only the parameters that you want to change. For example:
[Output filter options]
mapq_flag = 50

The MapQual flag is set on 80 by default because we experienced that SV's with a higher mapping quality are likely more true than SV's with a lower mapping quality. This 80 is based on LAST mapping (has a maximum mapping quality value of 100), if you use Minimap2 or NGMLR you should lower this (e.g. 50) , because the maximum mapping quality for these is 60.


If no write permissions to .ops folder, ops download returns that files are downloaded

Fixed in aed2e2c


Pipe example for practical linux usage

Hi, maybe you want to add this code that I wrote.
It will transmit standard input if any, otherwise listens and prints received data to stdout. Transmission info is sent to stderr. Best used with fifo files.
Demo in operation:

This enables really nice two way communication. Very easy to integrate with scripts. It does not have message confirmation - think of it as UDP connection.
Personally I use it to send sensor data from my garage and send commands back to the garage to control some relays.

Thank you, bro! I didn't see your request all this time, excuse me.

Bro, also there is an issue, you have to check transmitted and received data not by "\n", but just by size. Because the ic buffer is no larger than 255 bytes, and while you are waiting for "\n" you can get overflow or data loss of the line is longer then 255 symbols.
Test this moment, please.


Windows 10 users reporting a lag / freeze with autocomplete

A few Windows 10 users have reported a lag or the app freezing when creating time entries. Have not seen reports of the same issues with other Windows versions so far.
It is running frustratingly slowly. When I start to type in what I am doing it is clearly trying to search an ever expanding database of previous narratives I have already put in. This means everything gets stuck. It used to be for a couple of seconds but now it's 10 seconds and getting longer.
case/672684 (with logs)
I recently started using Toggl on a new Windows 10 computer and I've been having many issues with the desktop app locking up the entire machine, which eventually forces me to hard reset. This has happened multiple time now and usually occurs when I'm selecting a project for a time entry.
case/672446

Case/672446 has now included log files via case/672696

@IndrekV Is Windows version 7.4.138 coming with revamped autocomplete? In other words, is it coming with similar tweaks such as version 7.4.137 for macOS?

@vedr4n
The next windows stable release will have updated autocomplete that is fast like crazy. It's not ready in the version 7.4.138. Visually it will not differ but the engine behind it will be new. It's not ready yet, so it will take some more time to put all this new power working with the UI.

Freezing reported also in case/678384

Connected to #2042
New fast autocomplete that fixes this issue was released with version 7.4.184


Ledger iOS support - Testers wanted

Status: UNTESTED - Needs verification before merging.
This PR is an attempt at adding Ledger Nano S/X support for iOS and iPadOS version 13.3+ via USB.
A deployed version of the branch is available for testing here: https://nault-git-ledger-safari-support-aleksre.vercel.app/
To get this working, the u2f-api package, which itself is a dependency of the deprecated @ledgerhq/hw-transport-u2f library, had to be force resolved to the latest version 1.2.1 with Safari support. What's more, this release seems to be bugged and fails the Safari user agent check, so I created a patch for it.
In other words, quite a few hoops we had to jump through to get this (potentially) working.
In theory this should also work for MacOS Safari, but on my M1 MacBook Pro the connect button is still disabled 🤷

I just tried it with an adapter and it didn’t work. Will see if I can get a direct USB C to lightning cable.

Thanks for testing. Was an error message displayed? Feel free to post a screenshot.

Alright, so same as if nothing is connected at all. Thanks again!


hugo import jekyll support nested _posts directories

Fixes #1890

 You should sign our Contributor License Agreement in order to get your pull request merged.

@bep please have a look at why  continuous-integration/travis-ci/pr  hang?


Bug Report: Difficulty icons not showing in story mode

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Im using Windows (x86_64)
What version of the game are you using? Look in the bottom left corner of the main menu.
1.7 Kade Engine
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.

Please describe your issue. Provide extensive detail and images if possible.
in the story mode menu no difficulty icons are showing

Did you try to add a custom difficulty?

Can I see you campaign_menu_UI_assets in /assets/images.

Can I see you campaign_menu_UI_assets in /assets/images.

does your .xml look like this


Help avoiding Auth Rate Limit Exceeded

Issue
I am logging in once per day and retrieving contacts, conversations, and messages from conversations. But I get the dreaded Auth rate limit exceeded.
I use tokenFile when logging in however I suspect this is not helping me much as I login once per day. My script is usually able to log in but while it is performing it's activities the rate limit triggers, so I suspect it's due to the number of calls I make.
When I go to the web interface no captcha is presented and I am able to click on all conversations and scroll upwards and view all messages. So I'm not really sure what Skpy is going differently.
Is there any way to avoid the Auth rate limit exceeded? Do you know if editing my local version of Skpy to insert a time.sleep(0.1) between each call would help? Any other ideas?
Account type
Using a couple of Live (Microsoft) accounts.
Conversation details
All types of conversations.
Steps to reproduce

Login
Retrieve contacts
Retrieve conversations
Call getMsgs on each conversation

Result or traceback
Result: Auth rate limit exceeded
Traceback: TBD

You're getting Auth rate limit exceeded as a direct result of calling getMsgs() on a conversation?  I was of the impression that the error code for that was specific to logging in.  Please include some sample code showing how you're logging in and retrieving messages.
No rate limiting here from requesting messages of all an account's known conversations (x169) in a loop.

I am able to log in. I then get contacts. I then get recent() chats in a loop until all have been retrieved. I then getMsgs() on each chat in a loop until all has been retrieved. Sometime during the recent() calls or the getMsgs() calls I receive the Auth rate limit exceeded. It would look like this:
from skpy import Skype
session = Skype("username", "password", "tokenFile")

for contact in session.contacts:
    print(contact)

while session.chats.recent()
    print('populating chats')
    continue

for chat in session.chats.cache:
    print('populating messages')
    msgs = []
    while true:
        print(f'getting messages for chat {chat}')
        new = chat.getMsgs()
        msgs += new
        if not new:
            break
    print(msgs)

I guess I'll need to get you the debug log transcript, maybe somethings getting blocked in the firewall leading to each request being a new auth or something?

I tested the sample code I provided in my previous comment and had no issue, so I found the difference with my real code which turned out to be a lookup for people in the Skype directory. It was indeed this lookup to the Skype directory https://skypegraph.skype.com that was resulting in the Auth rate limit exceeded error.


Add STMIK Jabar College Indonesia

STMIK Jabar is one college located in Bandung, West Java, Indonesia focusing on IT Major.
website :
http://stmikjabar.ac.id/ or
https://www.stmik-jabar.ac.id/

@mgsolid1234 The official university website is stmik-jabar.ac.id.
Please provide us with a proof, which shows that the school recognizes the domain stmikjabar.ac.id you are submitting as an official email domain for the students.

@mgsolid1234 You might miss my previous comment. Please react.

Dear Mr. @philipto,
Sorry for my late respon,
Due to the proof, these are Cpanel Screen Capture for the domains:

Waiting for your consideration later.
Thank You.

@mgsolid1234 I am sorry, the provided materials are not the proof which I would expect. Your ability to access a web panel of a website does not prove that the university assigns email addresses in the domain stmikjabar.ac.id to the students. Could you please find another proof? The official letter from the university administration to the students would be good.
Regrettably, WHOIS and MX records for the two domains are also quite different and cannot be used as such a proof.
If you don't have better proof, I would recommend you to apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).

@mgsolid1234 I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!

Dear @philipto,
I still need time for preparing required proof documents from the College.
Is it ok to close for a while. I will update, after the documents are available.
Thank you.


Adding audio to a background video

Hi,
I'd like to unmute the audio on a background Vimeo video I'm using in my Cover section. According to the Vimeo docs, this can be achieved by add the the param &mute=0 to the video url alongside background=1. However, this is not working with storymap-cascade.
On line 196 of Video.jsx, where Vimeo iFrames are constructed, a player Id is added to the URL string: &player_id=player-' + this._domID. It seems to be this player ID that overrides the &mute=0 param. Assuming that Esri has a custom player that is being loaded with this ID and is muting the audio, is there anyway that the muting functionality could be turned back over to the developer? Any other suggestions?
Thanks for any help.

Oops, I realized it's not being controlled by some custom player, but by line 392 of the same file:
if (! this._isBuilderAdd) {
        this._videoPlayer.api('setVolume', 0);

I'ma close the issue. Thanks.