Terminal resizing does not function properly

Product: All
Live Share Version: 0.3.92
OS: All
Terminal resizing is not working properly. You can see this problem by running 'vim' in the shared terminal after resizing or by typing a very-very long line that reaches the end of the terminal width. This also affects shells which have a right prompt (which is common with Fish/Zsh)

This issue has been fixed in the latest release! Let us know if you run into any issues with this experience 👍


Add support for missing keywords to the nginx syntax plugin

This adds support for several keywords from

the built-in HTTP/2 module,
the built-in SSL module,
the built-in uWSGI module,
the experimental QUIC branch,
the third-party SSL CT module,
the third-party dynamic TLS records patch.

Co-Author: @ObserverOfTime<EMAIL_ADDRESS>

I'll include it, thanks.


Can you set a alarm?

Guys I have been wondering how to set an alarm in this SmartMirror which plays a desired song. Can anyone help me on it.

Though my comment is fairly late now, setting up alarm requires you to find out the current time using datetime module and whenever current time is the set time, then let the song play with the help of playsound or something like that.


use R-Tree index for spatial values

https://github.com/meetup/archery
When implementing spatial values, consider R-Tree as its indexing mechanism
Try to look at this project https://github.com/geotrellis/geotrellis to see if it can help in this regard too

this should be in cubefriendly-studio

sorry it is actually here


GCC13 compatibility: XLinkStream.hpp needs to include stdexcept for std::runtime_error

The issue and solution are straight forward, an #include  should be added in XLinkStream.hpp, and then gcc13 will compile the file.
Otherwise you'll see errors as this:
....../depthai-test/depthai-core/include/depthai/xlink/XLinkStream.hpp:81:47: error: expected class-name before ‘{’ token
81 | struct XLinkError : public std::runtime_error {

I tried pushing a branch with a fix to open a PR when I opened this issue, but I don't have write permissions, so instead I'll just say that you should modify this https://github.com/luxonis/depthai-core/blob/main/include/depthai/xlink/XLinkStream.hpp#L16 to include this: #include <stdexcept>

Resolved in develop and main now as well


Dockerfile build fail

Docker build failed with following error log:
github.com/docker/swarm
github.com/docker/swarm
/usr/local/go/pkg/tool/linux_amd64/link: -X flag requires argument of the form importpath.name=value
The command '/bin/sh -c set -ex         && apk add --no-cache --virtual .build-deps     git   && GOOS=$GOOS CGO_ENABLED=0 go install -v -a -tags netgo -installsuffix netgo -ldflags "-w -X github.com/docker/swarm/version.GITCOMMIT git rev-parse --short HEAD -X github.com/docker/swarm/version.BUILDTIME "date -u""       && apk del .build-deps' returned a non-zero code: 2

Thanks @jinuxstyle
I tried as well. Failed with the same error, too.
We will solve it soon.
ping @dongluochen, is it related to PR https://github.com/docker/swarm/pull/2521?


Supporting Ctrl-R requires a more extensive parser

Doing:
Ctrl-R
SELE and selecting:
SELECT * FROM orders WHERE order_total_eur = 0 AND order_total_eur = 1;
leads the wrapper to send "=> SELE" as the statement, even if the whole statement can be found in the program output log.
Requires work on the wrapper parser.

Requires an FSM implementation #27, due to bytes.decode not interpreting terminal control codes as expected. Moved to another sprint.


Error when attempting lookups in Sinopia production

We are getting an error message when trying to use the lookups in Sinopia production. "Network error when trying to fetch resource". This is happening across different formats, including Cartographic, Monographs, and Serials (we are using the base BIBFRAME profiles).  The only workaround is to find the URI in an external authority file and paste it in. In other words, QA seems to not be connecting at all. We are all using Firefox.

Hi @dezel002, is this problem still occurring? If it still is, could you provide the Resource Template ID and a screen-shot? Thank-you and that will help us investigate this problem.

It seems to be working now. There might have been a cookie issue or other
problem with the computer I was using. I moved to another workstation and
things seemed to work better
On Tue, Mar 3, 2020 at 3:55 PM Jeremy Nelson<EMAIL_ADDRESS>wrote:

Hi @dezel002 https://github.com/dezel002, is this problem still
occurring? If it still is, could you provide the Resource Template ID and a
screen-shot? Thank-you and that will help us investigate this problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LD4P/sinopia_editor/issues/2091?email_source=notifications&email_token=AGKX6XBASFLKBDHNF2C36P3RFV4D7A5CNFSM4K5DRMNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVJ75Y#issuecomment-594190327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKX6XFNZXH3YCZDGVBJJD3RFV4D7ANCNFSM4K5DRMNA
.

--
Christine DeZelar-Tiedman
Metadata and Emerging Technologies Librarian | University of Minnesota
Libraries
160 Wilson Library | 309 19th Ave. S. | Minneapolis, MN 55455
<EMAIL_ADDRESS>|<PHONE_NUMBER>
she, her, hers


Example VectorTile Styling Needed

Using an old version of the library I get to work mapbox styles but in a slowly way. Now, I am using the last version of this library but I don't see how I do to make it work.
I am doing something like this:
Layer definition
const vtLayer = new ol.layer.VectorTileLayer({
 declutter: true,
 renderMode: 'image',
 renderBuffer: 2,
 source: new ol.source.VectorTileSource({
   format: new ol.format.MVT(),
   overlaps: false,
   url: 'http://<IP_ADDRESS>:8080/geoserver/gwc/service/tms/1.0.0/bl:B_PARC@EPSG:900913@pbf/{z}/{x}/{-y}.pbf?1537872297191'
 })
});

note that I am using my own Geoserver as a MVT server

VT Style definition
var stylelyrs= {
    "version": 8,
    "name": "test",
   "sources": {
     "test": {
        "type": "vector"
      }
    },
    "layers": [{
        "id": "bl:B_PARC",
        "type": "fill",
        "source": "bl:B_PARC",
        "paint": {
          "fill-color": "#00cc00",
          "fill-opacity": 0.6,
          "line-color": "#004d00",
          "line-width": 1
        }
}]
  };

Assigning style function
 olms.stylefunction(vtLayer, stylelyrs, 'bl:B_PARC');

pbf's are loading behind but I can't see any geometry on my map, I guess it must be something related with olms applyiing style (as I said, with old version is working - getStyleFunction method). Do you know why is not working with the newest? Do you have more examples or documentation?
Thank you.

Please see https://npmjs.com/package/ol-mapbox-style for the API documentation.
Instead of olms.stylefunction(vtLayer, stylelyrs, 'bl:B_PARC'), you'll probably want to do
import {applyStyle} from 'ol-mapbox-style';

applyStyle(vtLayer, stylelyrs, 'bl:B_PARC');

I have already again the documentation and I tried what you suggested to me but still is not working.
Could you please give me an example of how I could style a Vector Tile Layer instead of a GeoJSON Layer format.
In the API documentation says:
import stylefunction from 'ol-mapbox-style/stylefunction';
// OpenLayers imports from https://npmjs.com/package/ol
import VectorLayer from 'ol/layer/Vector';
import VectorSource from 'ol/source/Vector';
import GeoJSON from 'ol/format/GeoJSON';

var layer = new VectorLayer({
  source: new VectorSource({
    format: new GeoJSON(),
    url: 'data/states.geojson'
  })
});

fetch('data/states.json').then(function(response) {
  response.json().then(function(glStyle) {
    stylefunction(layer, glStyle, 'states');
  });
});

What I would like to get is:
const vtLayer = new ol.layer.VectorTileLayer({
 declutter: true,
 renderMode: 'image',
 renderBuffer: 2,
 source: new ol.source.VectorTileSource({
   format: new ol.format.MVT(),
   overlaps: false,
   url: 'http://<IP_ADDRESS>:8080/geoserver/gwc/service/tms/1.0.0/bl:B_PARC@EPSG:900913@pbf/{z}/{x}/{-y}.pbf?1537872297191'
 })
});

const stylelyrs = {
    'version': 8,
    'name': 'test',
    'sources': {
      'test': {
        'type': 'vector'
      }
    },
    'layers': [{
      'id': 'parc1',
      'type': 'fill',
      'source': 'parc1',
      'paint': {
        'fill-color': '#00ff00',
        'fill-opacity': 1
      }
    },
    {
      'id': 'parc2',
      'type': 'line',
      'source': 'parc2',
      'paint': {
        'line-color': '#ff0000',
        'line-width': 0.2
      }
    }
    ]
  };

  stylefunction(vtLayer, stylelyrs, 'parc2');
  map.addLayer(vtLayer);

If I change my Vector Tile Layer into a GeoJSON format, this is working (but it is not what I would like to get, VectorTile will give a better performance I think).

Please see the examples in the example/ folder.

Your style document is quite incomplete. As a bare minimum, you need to set the source-layer property for the vectortile source, i.e. 'B_MANZ' in your case. See my updated fiddle: http://jsfiddle.net/8kyp19qz/5/.


Data adapter: Broadcasting causes issue with sampling

When using a Adapter with a Broadcast transform where to="inference_variables", training runs normally, but when I try sampling it complains that it cannot find the key "inference_variables" which I did not include from the conditions dictionary following the example notebooks.
My guess is the Broadcast transform also needs a strict argument in the forward method for sampling as in the FilterTransform class?

An you show the simulator and adapter you used? I will then check what we
can do about it.
Malte Lüken @.***> schrieb am Fr., 22. Nov. 2024, 14:55:

When using a Adapter with a Broadcast transform where
to="inference_variables", training runs normally, but when I try sampling
it complains that it cannot find the key "inference_variables" which I
did not include from the conditions dictionary following the example
notebooks.
My guess is the Broadcast transform also needs a strict argument in the
forward method for sampling as in the FilterTransform class?
—
Reply to this email directly, view it on GitHub
https://github.com/bayesflow-org/bayesflow/issues/258, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCW2AHQIYHVTPJL7TCIGFL2B4ZVJAVCNFSM6AAAAABSJNAJ36VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY4DGMRZGAZTGOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

thanks!
Malte Lüken @.***> schrieb am Fr., 22. Nov. 2024, 15:41:

Sure! Here is my simulator:
class CustomSimulator(bf.simulators.Simulator):
def init(self, prior_fun: Callable, design_fun: Callable, simulator_fun: Callable):
self.prior_fun = prior_fun
self.design_fun = design_fun
self.simulator_fun = simulator_fun
def sample(self, batch_shape: Shape, **kwargs) -> dict[str, np.ndarray]:
    prior_dict = self.prior_fun(batch_shape)

    design_dict = self.design_fun(batch_shape)

    design_dict.update(**kwargs)

    sims_dict = self.simulator_fun(batch_shape, **prior_dict, **design_dict)

    data = prior_dict | design_dict | sims_dict

    data = {
        key: np.expand_dims(value, axis=-1) if np.ndim(value) == 1 else value for key, value in data.items()
    }

    return data

def batch_simulator(batch_shape, simulator_fun, **kwargs):
data = batched_call(simulator_fun, batch_shape, kwargs=kwargs, flatten=True)
data = tree_stack(data, axis=0, numpy=True)
return data
def rdm_experiment_simple(
v_intercept,
v_slope,
s_true,
s_false,
b,
t0,
num_obs,
rng
):
"""Simulates data from a single subject in a multi-alternative response times experiment."""
if np.any(np.array((v_intercept, v_slope, s_true, s_false, b, t0)) <= 0):
raise ValueError("Model parameters must be positive")
num_accumulators = 2

# Acc1 = false, Acc2 = true
v = np.hstack([v_intercept, v_intercept + v_slope])
s = np.hstack([s_false, s_true])

mu = b / v
lam = (b / s) ** 2

# First passage time
fpt = np.zeros((num_accumulators, num_obs))

for i in range(num_accumulators):
    fpt[i, :] = rng.wald(mu[i], lam[i], size=num_obs)

resp = fpt.argmin(axis=0)
rt = fpt.min(axis=0) + t0

return {"x": np.c_[rt, resp]}

And here is my adapter:
inference_variables = ["x"]
inference_conditions = ["v_intercept", "v_slope", "s_true", "b", "t0"]
adapter = (bf.adapters.Adapter()
.to_array()
.convert_dtype("float64", "float32")
.drop("num_obs")
.concatenate(inference_variables, into="inference_variables")
.concatenate(inference_conditions, into="inference_conditions")
.broadcast("inference_conditions", to="inference_variables", expand=1)
)
—
Reply to this email directly, view it on GitHub
https://github.com/bayesflow-org/bayesflow/issues/258#issuecomment-2493917453,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCW2AHJ5V2KYTKRFMO2SWL2B47DNAVCNFSM6AAAAABSJNAJ36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJTHEYTONBVGM
.
You are receiving this because you commented.Message ID:
@.***>

I have checked and I don't think a strict argument would fix it. The issue is that without the inference variables (inferred during approximator.sample), we cannot broadcast properly, which we need for the forward pass. In other words, the broadcast to argument should not receive inference variables. I will add this to the documentation. For your example, what would be the easiest way for you to broadcast as you intented without using to = "inference_variables?

Thanks for looking into this! I could also modify my prior function (which requires broadcasting) to achieve the same result, but I thought using the broadcasting transform would be more elegegant. Perhaps it would be good to add an explicit exception when people use to="inference_variables"? The error message that appears is not super informative on what the actual issue is I think.

Yeah, something like this could make sense. Even better, we would need to throw an error whenever a variable is used for broadcasting that includes an inferred variable, which will not be present during inference time at the time broadcasting is called. It may take a while until we can implement this smart checking as we have to wait for other features but I think it would be very nice to have indeed.


Don't check for reason phrase in 100 continue response

As per the HTTP RFC, the reason phrase is intended for the
human user and the "client is not required to examine or
display the Reason-Phrase...they MAY be replaced by local
equivalents without affecting the protocol."
This isn't an issue for S3, but allows for better interop
for other services.
cc @kyleknap @danielgtaylor

Coverage decreased (-0.61%) to 93.92% when pulling e51e29d96ad24a9326ed1c00d76caa5189df434b on jamesls:100-continue-check into 97443cdf2c72b7c9f979188191de9d9307e6e00a on boto:develop.

Looks good. :ship:


Add support for outbound port exclusion at per pod level

Please describe the Improvement and/or Feature Request
Create an annotation for pods openservicemesh.io/outbound-port-exclusion=<port number> such that if mesh joined pod annotated with this, would prevent any outbound traffic (with the specified port number) from being redirected and routed by the envoy proxy.
This would be an extension of the feature mentioned in issue #3249, restricting the exclusion to a pod rather than a global level (i.e. all pods in the mesh)
Scope (please mark with X where applicable)

New Functionality          [X]
Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [ ]
CI System                  [ ]
Demo                       [ ]
Project Release            [ ]

Possible use cases

This Github Issue is a quick follow up to #3249


chore: bump core to v1.15.1

This PR bumps celestia-app to using v.1.15.1 which includes a patch to fix SignedBlockEvents which were causing validator hash mismatches.
Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

:exclamation: No coverage uploaded for pull request base (v0.12.x@1943735). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             v0.12.x    #1534   +/-   ##
==========================================
  Coverage           ?   48.34%
==========================================
  Files              ?       79
  Lines              ?     4433
  Branches           ?        0
==========================================
  Hits               ?     2143
  Misses             ?     2109
  Partials           ?      181

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


Add strongly typed resources

Fixes #18
@abarrak @Muhammad-Altabba hope you like this, no magic string needed anymore :)

sorry for the late response @hishamco
Great work .. 👍
The library is promising and the culture-based approach for localization is:

JSON-friendly.
Plays nicely with JS framworks (e.g. Angular and ngx-translate).
Intuitive (unlike the clumpsy ones in community).

It should be promoted (e.g. in community awesome .NET listing here in github) and gets branded new name instead of the current My.** name ..

Great work ..

Thanks Abdullah, I hope I can get a feedback from you guys anytime, also it's the time to update the NuGet package

It should be promoted (e.g. in community awesome .NET listing here in github) and gets branded new name instead of the current My.** name ..

i called my because I did some ASP.NET Core stuff for 'My' purposes, perhaps its Our now 😄


Support macOS platforms

Hi!
I'm trying to use esparanto to build portable binaries but I just discovered that I can't use it from macOS (my dev platform). Is restriction still accurate? it seems like cosmopolitan should be usable on macOS.

Thank you for trying to use Esperanto! First of all, Esperanto is a toolchain focused on "build and distribute" rather than "build and run". I have consciously limited Esperanto support because:

at first, Cosmopolitan could only be built with GCC on Linux
I don't have a Mac to really try

It should be possible to install Esperanto on MacOS and it would be enough to change this line:
https://github.com/dinosaure/esperanto/blob/cc91c49e9f8aa35970e0151316d338495e840dbb/opam/esperanto-cosmopolitan.opam#L21
Still not owning a Mac, if you want to test, you could fix the problem with:
$ git clone https://github.com/dinosaure/esperanto
$ cd esperanto
$ cat >mac.patch <<EOF
diff --git a/opam/conf-cosmopolitan.opam b/opam/conf-cosmopolitan.opam
index 4d63e0c..667a919 100644
--- a/opam/conf-cosmopolitan.opam
+++ b/opam/conf-cosmopolitan.opam
@@ -12,7 +12,6 @@ build: [
 ]
 synopsis: "Virtual package relying on APE/Cosmopolitan"
 description: "This package can only install if we can run an APE/Cosmopolitan binary"
-available: [ arch = "x86_64" & (os = "linux" | os = "freebsd" | os = "openbsd") ]
 extra-source "hello.com" {
   src: "https://justine.lol/hello.com"
   checksum: "sha512=31a5a023c17a4eba236596d299c5e197e28d7ad2f59bbe2216a62b048b44c11190271e8df5f7d54f8a443a56d4ddbcdf50ef95fcc143fe5d3865e181897682a3"
diff --git a/opam/esperanto-cosmopolitan.opam b/opam/esperanto-cosmopolitan.opam
index d87bf90..07eb81f 100644
--- a/opam/esperanto-cosmopolitan.opam
+++ b/opam/esperanto-cosmopolitan.opam
@@ -18,4 +18,3 @@ build: [
 install: [ make "-C" "toolchain" "install" ]
 synopsis: "Cosmopolitan toolchain for OCaml compiler"
 description: "A little toolchain for OCaml with Cosmopolitan"
-available: [ arch = "x86_64" & (os = "linux" | os = "freebsd" | os = "openbsd") ]
EOF
$ git apply < mac.patch
$ opam pin add -y .

I made a similar change locally but the toolchain/configure script it's also hardcoded to bail on macos, I haven't been able to get the tool chain compiling yet.

I've pushed my local patch here.
The output of the build log is:

```
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫
⬇ retrieved esperanto-cosmopolitan.0.0.2  (no changes)
+ /Users/xavier/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd toolchain && ./configure.sh --prefix=/Users/xavier/Code/esperanto/_opam" (CWD=/Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2)
- configure.sh: Using cc for host compiler (arm64-apple-darwin22.1.0)
- -n configure.sh: Checking that cc works:
- yes
- configure.sh: Using cc for target compiler (arm64-apple-darwin22.1.0)
- -n configure.sh: Checking if ld is available:
- yes
- -n configure.sh: Checking if ld is LLD:
- no
- -n configure.sh: Checking if ld understands aarch64:
- yes
- -n configure.sh: Checking if /opt/homebrew/opt/binutils/bin/objcopy is available:
- yes
- -n configure.sh: Checking if /opt/homebrew/opt/binutils/bin/objcopy understands aarch64:
- yes
- -n configure.sh: Checking if /opt/homebrew/opt/binutils/bin/objcopy understands -w -G:
- yes
- configure.sh: Using ld for target linker
- configure.sh: Using /opt/homebrew/opt/binutils/bin/objcopy for target objcopy
- configure.sh: Target toolchain triple is aarch64-esperanto-none-static
- configure.sh: cc is clang 14.0.3
+ /Users/xavier/.opam/opam-init/hooks/sandbox.sh "build" "make" "-C" "toolchain" "all" "V=1" (CWD=/Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2)
- mkdir -p bin
- SUBST bin/aarch64-esperanto-none-static-cc
- SUBST bin/aarch64-esperanto-none-static-ld
- SUBST bin/aarch64-esperanto-none-static-objcopy
- UNZIP cosmopolitan.zip for dst/cosmopolitan.a
- GEN include/cosmopolitan/cosmopolitan.h
- HOSTCC startup.o
- cc -MT startup.o -MMD -MP -MF startup.Td -g -Os -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone -fno-omit-frame-pointer -pg -I/Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include -c startup.c -o startup.o
- clang: warning: argument unused during compilation: '-no-pie' [-Wunused-command-line-argument]
- In file included from startup.c:1:
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:11169:1: error: unknown type name '__intrin_xmm_t'
- __intrin_xmm_t __mpsadbws(__intrin_xmm_t, __intrin_xmm_t);
- ^
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:11169:43: error: redefinition of parameter '__intrin_xmm_t'
- __intrin_xmm_t __mpsadbws(__intrin_xmm_t, __intrin_xmm_t);
-                                           ^
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:11169:27: error: a parameter list without types is only allowed in a function definition
- __intrin_xmm_t __mpsadbws(__intrin_xmm_t, __intrin_xmm_t);
-                           ^
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:11494:1: error: unknown type name '__intrin_xmm_t'
- __intrin_xmm_t __palignrs(__intrin_xmm_t, __intrin_xmm_t);
- ^
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:11494:43: error: redefinition of parameter '__intrin_xmm_t'
- __intrin_xmm_t __palignrs(__intrin_xmm_t, __intrin_xmm_t);
-                                           ^
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:11494:27: error: a parameter list without types is only allowed in a function definition
- __intrin_xmm_t __palignrs(__intrin_xmm_t, __intrin_xmm_t);
-                           ^
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:12181:1: error: unknown type name '__intrin_xmm_t'
- __intrin_xmm_t __pslldqs(__intrin_xmm_t);
- ^
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:12181:26: error: a parameter list without types is only allowed in a function definition
- __intrin_xmm_t __pslldqs(__intrin_xmm_t);
-                          ^
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:12305:1: error: unknown type name '__intrin_xmm_t'
- __intrin_xmm_t __psrldqs(__intrin_xmm_t);
- ^
- /Users/xavier/Code/esperanto/_opam/.opam-switch/build/esperanto-cosmopolitan.0.0.2/toolchain/include/cosmopolitan/cosmopolitan.h:12305:26: error: a parameter list without types is only allowed in a function definition
- __intrin_xmm_t __psrldqs(__intrin_xmm_t);
-                          ^
- 10 errors generated.
- make: *** [startup.o] Error 1
```

First of all, Esperanto is a toolchain focused on "build and distribute" rather than "build and run".

I understand and that's a very valid approach, unfortunately for me since I only have a Mac, I do need to be able to locally build with it to use it in my projects. I'm happy to be a cobaye and help you where / if I can, I'd love it if esperanto were a drop-in tool to write cross-platform ocaml.

hmmhmm, the error seems more related to #12 than MacOS. Currently, Esperanto can works only on x86_64 and artifacts was built with such architecture. As you can see, Intel intrinsics are not available (obviously). Recent changes on Cosmopolitan allow us to work with arm64 architectures but I did not upgrade Esperanto yet with that. Fortunately, it was on my TODO list but it will require more days to fix that.

Ah yea, that would make sense since I'm running on an M2 mac. Supporting macOS means supporting Arm now that the 'official transition period' is over, but that was the issue from reading the output.

Currently, a Cosmopolitan application can run into a Mac - but you can not compile it. You probably needs something to compile an OCaml application with Esperanto with an x86_64 host system. I'm not an expert of Mac but I know that Docker is able to run an operating system with another architecture, it can be a solution to compile the artifact.
Again, we are more focus on the distribution instead of the compilation. I will close this issue but if you need any help, you can fill the same issue with your questions :+1:.


Question: Is this the same as this other mod?

It seems like this is the same mod as the LethalAutocomplete ( https://thunderstore.io/c/lethal-company/p/red_eye/LethalAutocomplete/ ), except without the autocomplete. Am I missing something?

Nope, its just a Terminal History mod.


Change assert(is_err()) to assert_noop to check state consistency on errors

fixes #8545

That failing test is strange, it sometimes works and sometimes not. Maybe due to sccache?

I think I need some help here with the failing test.
When I change the expected error type to a wrong value e.g. TransactionValidityError::Invalid(InvalidTransaction::BadProof) I get this, which is what I expect:
---- tests::bad_extrinsic_not_inserted stdout ----
on_initialize(1)
thread 'tests::bad_extrinsic_not_inserted' panicked at 'assertion failed: `(left == right)`
  left: `Err(TransactionValidityError::Invalid(InvalidTransaction::Future))`,
 right: `Err(TransactionValidityError::Invalid(InvalidTransaction::BadProof))`', frame/executive/src/lib.rs:860:13

When I change the type to the right value: TransactionValidityError::Invalid(InvalidTransaction::Future) I get this strange error:
---- tests::bad_extrinsic_not_inserted stdout ----
on_initialize(1)
thread 'tests::bad_extrinsic_not_inserted' panicked at 'assertion failed: `(left == right)`
 left: `[43, 22, 252, 42, 247, 106, 220, 153, 188, 63, 218, 120, 117, 228, 9, 45, 42, 26, 239, 243, 16, 226, 217, 97, 143, 195, 251, 246, 181, 70, 68, 178]`,
right: `[65, 171, 6, 54, 28, 188, 146, 219, 140, 67, 51, 124, 41, 234, 137, 189, 241, 58, 79, 94, 30, 245, 108, 142, 60, 124, 58, 24, 198, 160, 189, 158]`', frame/executive/src/lib.rs:860:13

@hirschenberger this means you caught a bug :)

Yippie ;-)
Any hints where it goes wrong? The lists are no UTF-8 strings and I assume also no SCALE encoded data. Do you think it's a substrate or rust issue?

@hirschenberger it means that in the test, there is some extrinic which is being called, and returning an error. But it is also changing the state of the chain. This is ultimately what the noop assert tests for.
You need to look into the extrinsic to see if you can catch where it can fail after already changing state. I will look into this now, it can be a little complex and sensitive to solve these issues.
BTW can you please include your DOT / KSM address? Have you done that already in another PR?

I see, excited to see what the reason for the state change is. I'll also look in the code and try to help with the analysis.
Yes I already got a tip from you in another PR: https://github.com/paritytech/substrate/pull/8541#issuecomment-815245007

There is no bug here.
The function in question (apple_extrinsic) is not a dispatchable, therefore it does not conform to the usual no-change-on-error. apply_extrinsic is allowed to, and indeed will, mutate the state if given an erroring transaction since it is assumed that the transaction is added to the block regardless of whether it happened to be successful or not.

@hirschenberger no force push please :)
If you need help with git, happy to do so.

@hirschenberger no force push please :)
If you need help with git, happy to do so.
Ok, no force pushing and no squashing, so it's ok to accumulate several commits in a PR?

I think I'm done. CI got stuck.

bot merge


using OpenWebRTC release

can anybody  help me to use  the pre-release in my xcode project.
thanks.

We should document this indeed. For OS X development, install the two packages for OS X. For iOS either install the package for iOS or use the cocoapod. More info about iOS here: https://github.com/EricssonResearch/openwebrtc-examples/wiki/Developing-iOS-apps

I downloaded the release and my question is how i can install packages for
OS X and for iOS.
and thanks Robert
2015-05-16 6:53 GMT+00:00 Robert Swain<EMAIL_ADDRESS>
We should document this indeed. For OS X development, install the two
packages for OS X. For iOS either install the package for iOS or use the
cocoapod. More info about iOS here:
https://github.com/EricssonResearch/openwebrtc-examples/wiki/Developing-iOS-apps
—
Reply to this email directly or view it on GitHub
https://github.com/EricssonResearch/openwebrtc-examples/issues/97#issuecomment-102580666
.

The simplest way to use the iOS release is through the iOS SDK: https://github.com/EricssonResearch/openwebrtc-ios-sdk. It has been used to build our native sample app NativeDemo: https://github.com/EricssonResearch/openwebrtc-examples/tree/master/ios/NativeDemo

For OS X we only have one simple sample app: https://github.com/EricssonResearch/openwebrtc-examples/tree/master/osx


Keybind crash Hyprland session

Version: 3d48469cb43ac0609b112aea4e233276e04c4118dirty
[LOG] Keybind triggered, calling dispatcher (64, 68)
[LOG] Executing WAYLAND_DISPLAY=wayland-0 DISPLAY=:1 QT_QPA_PLATFORMTHEME=qt5ct rofi -no-config -no-lazy-grab -show drun -theme ~/.config/hypr/rofi/launcher.rasi
[LOG] Process Created with pid 10279
[LOG] New XWayland Surface created.
[LOG] Registered signal for owner 7939fd10: 792f53f8 -> 7939fd78 (owner: XWayland Window)
[LOG] Registered signal for owner 7939fd10: 792f5408 -> 7939fde0 (owner: XWayland Window)
[LOG] Registered signal for owner 7939fd10: 792f5378 -> 7939fe48 (owner: XWayland Window)
[LOG] Searching for matching rules for Rofi (title: rofi - drun)
[LOG] Window rule float -> Rofi matched 7939fd10 [rofi - drun]
[LOG] Set keyboard focus to surface 7939a800, with window name: rofi - drun
[LOG] Registered signal for owner 792bb790: 7939aad0 -> 792bb798 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 792bb790: 7939aac0 -> 792bb800 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 792bb790: 7939aae0 -> 792bb868 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: 7939fd10)
[LOG] Window got assigned a surfaceTreeNode 792bb790
[LOG] Registered signal for owner 7939fd10: 792f53d8 -> 7939ff18 (owner: XWayland Window Late)
[LOG] Registered signal for owner 7939fd10: 792f53e8 -> 793a0200 (owner: XWayland Window Late)
[LOG] Registered signal for owner 7939fd10: 792f5388 -> 793a0268 (owner: XWayland Window Late)
[LOG] Registered signal for owner 7939fd10: 792f5418 -> 7939feb0 (owner: XWayland Window Late)
[LOG] Map request dispatched, monitor DP-1, xywh: 0.000000 0.000000 2560.000000 1440.000000
[CRITICAL]
==========================================================================================
ASSERTION FAILED!

Tried to render rect with width/height < 0!

at: line 259 in OpenGL.cpp

The same error goes for every GTK app started through a keybind (firefox, thunar), but with kitty it starts just fine. After I started kitty, though, everything works just fine

was fixed in bc5fc7fad60bfd7db903b8606b8709abaf21cf1a


Adds a space

The most minor issue ever, but adding since hopefully helpful on net.
Bumping releases adds a space after the version number:
diff --git a/prql-compiler/prqlc/Cargo.toml b/prql-compiler/prqlc/Cargo.toml
index a02a8ff1..079471ca 100644
--- a/prql-compiler/prqlc/Cargo.toml
+++ b/prql-compiler/prqlc/Cargo.toml
@@ -20,7 +20,7 @@ concolor-clap = {version = "0.1.0", features = ["api"]}
 env_logger = {version = "0.10.0", features = ["color"]}
 itertools = "0.10.3"
 notify = "^5.1.0"
-prql-compiler = {path = '..', version = "0.8.0"}
+prql-compiler = {path = '..', version = "0.8.1" }
 regex = {version = "1.8.1", features = ["std", "unicode"]}
 serde = "^1"
 serde_json = "1.0.81"

Thanks for reporting this!
Yes, we are overwriting not just the value bit the "decor" which we instead need to preserve.  There are likely other cases where we mess this up, like setting package.version and setting workspace.package.version


Move Gulp package in standard dependencies

Since our deployment system has been updated, we have to provide our own Gulp binary. But Gulp is loaded only for dev environment and then be don't loaded while deployment.

:+1:


Width setting differently depending on browser

On Chrome

On Firefox

Bottom horizontal scroll bar shows on chrome and not on firefox.
How to Fix this.
Also when i set maxHeight on table it exceeds that given height.

@Skeetfly sorry for lately reply,  what's the version of you chrome? I know there're some bug on chrome 61


add getter methods to structs to deal nicely with nil objects

When you have nested queries that can return nothing it becomes quite cumbersome to keep verifying that something intermediate structs are nil. For instance:
type A struct {
    B *B
}

type B struct {
    C *C
}

type C struct {
    S string
}

With the example above you'd have to do something like:
var a *A
var s string
if a != nil && a.B != nil && a.B.C != nil {
   s = a.B.C.S
}

With the proposed change you can simply do:
// generated
type A struct {
    B *B
}

func (t *A) GetB() *B {
   if t == nil {
       t = &A{}
   }
   return t.B
}

type B struct {
    C *C
}

func (t *B) GetC() *C {
   if t == nil {
       t = &B{}
   }
   return t.C
}

type C struct {
    S string
}

func (t *C) GetS() string {
   if t == nil {
       t = &C{}
   }
   return t.S
}

// example
var a *A
s := a.GetB().GetC().GetS()

There is no need to check for anything.
I am opening this as a draft because I am not very familiar with the codebase so I may be missing something. I am also unsure if there is an easier way to work with the struct fields. You may also want to gate this behind a configuration option.

Ok, so I think this one is ready to review (linter errors will be fixed in #179). I am not sure if this is the best way to solve this problem as I am not entirely familiar with this codebase or the way gqlgen works but as it is right now this does what's described in the description of the PR successfully. If there is a better way to do this let me know and I will gladly fix it.

// example
var a *A
s := a.GetB().GetC().GetS()
if s != nil {
...

Yes, the idea is to avoid errors by checking if the receiver is nil but returning the actual value. That way we can chain the GetXXX methods without actually hiding that something is nil, which might be useful information. FWIW what I am doing in my production code is the following:
func deptr[T any](t *T) T {
	if t == nil {
		return *new(T)
	}
	return *t
}

...

// I care something is nil
if a.GetA().GetB().GetC() == nil {
   ...
}

// if I don't care something is nil and the 0-value is good
// IsEnabled is a boolean
if deptr(a.GetA().GetB().GetC().GetIsEnabled()) {
   ...
}

@dbarrosop Fix Lint!

@Yamashou rebased branch to get fixes from master branch


Deprecated "[=]" on query where (2.1.2 => 2.1.3)

Information

Version of Medoo: 2.1.2 OK => 2.1.3 fail
Type of Database (MySQL, MSSQL, SQLite...): MySQL
System (Linux\Windows\Mac): Linux

Describe the Problem
When we migrated from 2.1.2 to 2.1.3 some test fail in a query with a "[=]" conditions. Make sense that 'status[=]' => 0 is the same as 'status' => 0, and [=] is not neccesary but I can not find a changelog with this deprecated issue.
Detail Code
$medoo->select(
'rule',
[
[>]services'  => [service_uuuid => rule]
],
[
service_uuuid
],
[
'date[=]' => 0
]
);
Expected output
We expected find an error when run the query or deprecate warning somewhere.
Kind regards

Sorry for the delayed response.
It's good to throw errors for the invalid operator.
I updated it on 8ab1206. It supports for [=] and simplified the matching (may be easier for extending the operation for the next).


Ato 1009/identity for authorize endpoint

Add identity to authorize

check for identity
check return code

I've overwritten this to get rid of the return code - we should not be making return codes public

Think it would be good to have a chat about how return codes work in this ticket, as I've been doing some thinking about it today 🙂

#https://github.com/govuk-one-login/simulator/pull/111

The checking of return codes should be done in https://github.com/govuk-one-login/simulator/pull/111 . Since the only check for identity is the check for the flag itself and that it has no effect on the auth code, closing down this PR. All the validation for claims is already done and checking for identity should be done before returning the return codes.


Fix PHP 8.4 compatibility / drop support for PHP < 7.1

PHP 8.4 deprecates implicitly nullable parameters, i.e. typed parameter with a null default value, which are not explicitly declared as nullable.
Ref: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
There are multiple ways to fix this, though most involve breaking changes:

Remove the type declaration and do in-method type validation.
As this is not a final class, nor are these final or private methods, this would be a breaking change for any class extending the Parser class as parameter types are contra-variant, so this would cause a signature mismatch.
Remove the null default value.
This, again, would be a breaking change and an even bigger one as it turns an optional parameter into a required one, so this wouldn't just have an impact on overloaded methods, but on all calls to the methods too.
Declare the parameters as nullable.
This would not cause a signature mismatch.
This is the change with the least impact, although it does require PHP 7.1. If this is released as a next minor though, the impact will be minimal as Composer can handle the version negotiations and will just install an older version for PHP 5.6/7.0.
Also note that based on the Packagist stats, this version negotiation would rarely be needed as the users of this package hardly use PHP 5.6/7.0 anymore: https://packagist.org/packages/mf2/mf2/php-stats

With this in mind, I'm proposing dropping support for PHP < 7.1 and fixing the PHP 8.4 deprecations by making the relevant parameters explicitly nullable.
Includes updating CI and the PHPCS config.

FYI: once this PR has been merged (providing it is accepted), I have a commit ready to turn on testing on PHP 8.2/8.3/8.4 in CI.

Thanks for this PR! We're still discussing the best route forward. Historically we've kept PHP5.6 support around longer due to WordPress' extended support for it. We might work on some parsing updates, package one final release that supports PHP5.6, then move forward with 7.2+ only.

Historically we've kept PHP5.6 support around longer due to WordPress' extended support for it.

@gRegorLove Much appreciated! Just so you know, WP has dropped support for PHP < 7.2 in WP 6.6 (released July 2024), so doesn't have to be a blocker anymore ;-) (at least for this version bump)


Some GUI advice on detail

Hello. There're some advice I think useful.
1 Button size
I think buttons'll be more comfortable to see if there're more pixels on height. Is it changeable with css? I may try later.
2 Menu ease in
Many widgets have their animations. Will menus have one? I think FireFox's multi-tab selector is an example on displaying.
3 Menu too
In directory tree, if I right click when there's one menu of it open, it looks like ths existing menu "move" to my mouse. I'm not sure it's ok or not ok, only mention it there. Moreover, I think if the main setting menu appears under the multi-tab bar will look more tidy? Hope I haven't expressed it strangely.
4 Editor cursor flashing
I think it's useful. But I translated this key, naming "cursor_blinking_time", but I can't find it. Is it hided?
5 Editor Minimap merging lines
I think the gap of minimap's lines is too long, making it seem a little strange. See that:

6 Editor minimap triple clicking
Triple click with make one line selected. But it's only when release the third click. If I do not release the third click, it should keep selected on words, and when I drag, words may be selected by word-matching, not letter-matching. You can try this simpling click my words in browser.
7 Editor scroll by pixel
If do that, scrolling will be more smooth. Considering this GUI Frame is based on SDL2, this may be easy to make?

Hi, thanks for the feedback, I'll give you my perspective:

I simply don't agree, they are high enough. Yes, it can be customised really easily overriding the CSS.

They are disabled, there's a very defined philosophy on how I accept animations: if the animation can delay the user interaction, then there will be no animation, if it's just a "decoration" then it is allowed, for menus, introducing animation is just introducing delay. You can add them if you like them by setting a transition in the CSS.

In directory tree, if I right click when there's one menu of it open, it looks like ths existing menu "move" to my mouse.

IDK what you mean, menu appears just were you click.

Moreover, I think if the main setting menu appears under the multi-tab bar will look more tidy? Hope I haven't expressed it strangely.

I've tried it and I don't like it. It looks like part of the current editor, which is confusing.

Setting -> Document -> Global Settings -> Cursor Blinking Time or just type blink on the command palette.

I'm not sure what you mean, I really like how ecode's minimap looks, the other two examples look blurry an ugly to me. But I can say that I could add some config since the minimap already has a config but it's not exposes to the editor.

Triple click with make one line selected. But it's only when release the third click.
This one I agree. I don't use the mouse to code so I never noticed.

If I do not release the third click, it should keep selected on words, and when I drag, words may be selected by word-matching, not letter-matching. You can try this simpling click my words in browser.

I don't agree with this one, for editing this should never be the behaviour. Browser behave like that because you're selecting read-only content. Usually if you triple-click select and drag it will keep selecting by line, not word or letter (check other editors).

Scrolling is already done by pixel. You can easily test it by scrolling from the scrollbar. What you probably want is a smooth animation when scrolling with the mouse wheel or the mimimap. This can be done and I'll probably add it optionally in the future, but I don't personally like it if forces an interpolation between two points (adds delay).

I appreciate the feedback. Thanks


Firebase issue - UpdateValueAsync and listeners

Unity editor version:
Firebase Unity SDK version: 6.2.2
Firebase plugins in use (Auth, Database, etc.): Auth, Database
Additional SDKs you are using (Facebook, AdMob, etc.):  Mapbox
Platform you are using the Unity editor on (Mac, Windows, or Linux): Windows
Platform you are targeting (iOS, Android, and/or desktop): Android
Hello. I just installed new version of sdk and it still didnt fix the Update issue for me.
I have an issue with update and listener. I am getting an error while I am updating two different paths with listener attached to one of this path. When I make two updates with each updating just one path, everything works fine.
The error is actualy on the listener:
System.NullReferenceException: Object reference not set to an instance of an object.
Edit: Read bellow - Edit.
Also this update actualy gave me another issue with listener. After the update of firebase one of the listeners I have in my app is called twice doing same operation twice in same time which leads to duplication of some things. Very very strange. Changed to previous version with same code = no issues with that. Of course I can fix it with some checking if its been already processed, but ...
I think there is something wrong with listeners overall. No update included here. Just Pushing a new record, then listening for an event - called twice for no reason I think. At least in previous version it was called just once.
Edit:
Tried to debug some things, there is an example of which works and which doesnt. Little bit differenet example of the bug, but I think it has something to do with it.
Works:
Dictionary<string, object> childUpdates = new Dictionary<string, object>();
childUpdates["node3/" + someString] = true;
firebaseRootRef.Child("node1").Child(node2).UpdateChildrenAsync(childUpdates);
Doesnt work (Object reference not set to an instance of an object on the listener Handle function):
Dictionary<string, object> childUpdates = new Dictionary<string, object>();
childUpdates["node2/node3/" + someString] = true;
firebaseRootRef.Child("node1").UpdateChildrenAsync(childUpdates);

The listener with error is listening to path: node1/node2/node4, when it reads the changes and do something. The error I get is when reading the snapshot. Actualy when using the "path/path" update it does trigger the listener in node4, when i am updating only the node3, which has same parrent node. I dont think this is intended. So I think it gets some wrong snapshot and then error occures.
Also the error doesnt occur, when I first update the data in node4 and then update the data in node3. But its realy very hard to debug.

It seems like, the last child in args.snapshot has much more children than it should has. Its very weird, I have same structure with just different ids, but the snapshot children count is in the last child different from others. When I look into firebase, there is nothing wrong with it. Everything looks same.
This is the debug log from unity, which shows children count of childs in snasphot, which is recieved by listener in response to update change of some parrent node. (which shouldnt be even invoked i believe, since it doesnt do any update on the node I listen to). And actualy in the last child which has weird count of children, there is no child called "duration" found. And it actualy has child of its key. Am I missing something here?
So it returns old childs and new child which has inside the other old childs and itself? I just dont get it.

But of course, when I dont use update with the "/path/path" (I cant of course update multiple paths without that syntax) it just returns what I expect to. Same children count for every child.
Edit2: Okey, I looped through the snapshot recieved from listener. It contains all keys with duration and spawntime, except the last one which contains spawntime and all keys with duration/spawntime.

Hi @craNich, I'm looking into what might be happening here.
I want to make sure I understand that case where you're seeing the error so that I can reliably recreate the situation you're talking about.
Would this code recreate the issue you're seeing? I'm going to test it in a bit, but I want to make sure I have the test case set up right.
DatabaseReference testRef = FirebaseDatabase.DefaultInstance.GetReference("Test");
// Should only react to changes at Test/Base/Child/ChildWithListener and below.
testRef.Child("Base").Child("Child").Child("ChildWithListener").ValueChanged +=
    (object sender, ValueChangedEventArgs e) => {
      if (e.DatabaseError != null) {
        Debug.LogError(e.DatabaseError.Message);
        return;
      }
      Debug.Log("Received value changed event at " + e.Snapshot.Key);
      if (e.Snapshot.Key != "ChildWithListener") {
        Debug.LogError("Expected key = \"ChildWithListener\", got \"" +  + e.Snapshot.Key + "\"");
      }
      Debug.Log("Snapshot JSON is: " + e.Snapshot.GetRawJsonValue());
    };

// Create an update to set the relative path Child/ChildWithoutListener to true
// at the location Test/Base.
Dictionary<string, object> childUpdates = new Dictionary<string, object>();
childUpdates["Child/ChildWithoutListener"] = true;

// Apply the update. Only Test/Base/Child/ChildWithoutListener should be updated.
testRef.Child("Base").UpdateChildrenAsync(childUpdates);

// After applying the update, the ValueChanged callback is called when it should
// not have been, since Test/Base/Child/ChildWithListener was not modified.

@alexames
Hello. I am not 100% sure this will make the error. But the callback will be called at least I think.
Error will occure if the "ChildWithListener" has below some children also. So the snapshot returns these children. Then going through these children with
foreach (var child in args.Snapshot.Children) { Debug.Log(child.ChildrenCount); }
will return the error. Or well, not an error in this example, but the last child will return something wrong.
I can provide my code if necessary to an email.

Yeah, it would be very helpful if you could post a minimal example that reproduces the error. It doesn't have to be a full project, just the bit that is important to reproducing the error, with what outcome is occurring for you and what outcome is expected.

Can I send it to your email?

You can, but if possible it would be preferable to just post the relevant snippet here so that others can see what the issue is too. Remember I don't need a whole project, just the minimal number of lines that reproduce the issue.

https://pastebin.com/RWx8Y6Vs
Part of firebase database;
Btw. I have listener on the "coins_info" too. But not like the listener in "coins_expiration" this one is never called when I update "coins_smoked" node.

This is like the snapshot data I get from listener from what I have been seeing so far

Thanks for the code, I'll let you know what we find.

Thanks!

Just reporting: This bug is fixed for me in newest firebase unity sdk version.

@alexames it this expected?

Yes, this should have been fixed with the 6.5.0 release.  Sorry for not keeping this issue up to date, and thank you for letting us know that this issue has now been solved for you!


Updated Icon File

Minor update to file.
Knocked out exclamation from triangle fill. Fixes icon appearing 1 solid color.

+1

Minor update to 0179
* Knocked out exlamation from triangle to fix "all gray" triangle.


Fix order draft back button redirect

I want to merge this change because...

PR intended to be tested with API branch:
Screenshots

Pull Request Checklist

[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Translated strings are extracted.
[ ] Number of API calls is optimized.
[ ] The changes are tested.
[ ] Data-test are added for new elements.
[ ] Type definitions are up to date.
[ ] Changes are mentioned in the changelog.

Test environment config

API_URI=https://master.staging.saleor.rocks/graphql/

Task linked: SALEOR-1282 [Draft Orders] User using '<- Draft Orders' button land on Orders page


Create Proposal for 2.2.x devfile version support

Which area/kind this issue is related to?

/area library
Issue Description
As mentioned in the EPIC #159: With the release of devfile 2.2.0, the devfile spec brings a fair amount of new features, such as outerloop and multi version support. With this in mind, it is important to the consumers of alizer to have support for 2.2.x schema versions.
This item focuses on the creation of the proposal document inside the Alizer project

Target Date: 13 June 2023

As last week was devtools week, PR is still under review


Unable to leave the page submission_done after report of positive test

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[ ] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[x] Bug is not already reported in another issue

Describe the bug

After the report of a positive test the app is trapped on the page "Thank you". The App stays in a state where it is impossible to leave this page, it's only possible to switch between the first and second part. However, some other pages (eg. settings are still reachable).

neither "force stop" or a reboot of the phone makes the app leave this state
resetting the app helps. However, this brings the app back to a state just after installation with all information lost. At least, I hope the faq is correct that random IDs are not deleted.

Expected behaviour

It should always be possible to leave any page even if the page includes two frames.
Minor app states (such as the last open page) should be persisted in a way that it does not require a "reset" to clear this state.
Steps to reproduce the issue

follow the entire procedure to request a TAN (via phone) to submit a positive test result
on the submission page (first part) press Done
now the second part is shown, pressing the right arrow brings you back to the first part
pressing Done again (or the upper left X) brings you back to the first part (unable to leave the submission page)

Reproduced by requesting a second TAN now on mobile data (wifi when the issue has been seen first).

Technical details

Mobile device: Fairphone 3
Android version: 10

Possible Fix

Additional context

Internal Tracking ID: EXPOSUREAPP-3550

Hey @sebastian-nagel
Thanks for the feedback. We have created a ticket in the internal Jira for the bug (ticket ID: EXPOSUREAPP-3550 ). The devs will now look into this and provide a fix. We will notify you here in the Github issue once the situation is resolved.
Regards,
CH

Corona-Warn-App Open Source Team

Dear @sebastian-nagel and community.
Thanks again for contributing. This issue has been fixed and therefore will be closed now.

The sub-screen with the "Done" button no longer exists since the new submission flow.
The user lands on the home screen with the "Vielen Dank" card, the rest of the app is still reachable.
It's no longer possible to be stuck on a screen.

Thanks again. Best wishes,
DS

Corona-Warn-App Open Source Team


Install issues, possibly due to python2.  Syntax error in genomes.py when installing hg38 genome reference and bwa

Greetings.  Sorry this is turning into a headache.
I'm trying to install bcbio on a linux cluster.  I'm having trouble getting the install working.  After some messing around (I didn't realize at first that anaconda had to be completely deactivated) I deactivated anaconda then installed bcbio:
python bcbio_nextgen_install.py /bcbio --tooldir=/bcbio/tools --nodata
I think everything installed, but it didn't quit, even after a couple days.  Eventually I killed the process.
If Anaconda is deactivated and I run "which bcbio_nextgen.py", I get "no bcbio_nextgen.py in (various folders)"
If I activate Anaconda and use my base env, it finds the file and properly outputs a version number.
Then I tried to install data and got this error (substituting "[etc]" for the rest of the path):
(base) [dsiegel@dev2 tools]$ bcbio_nextgen.py upgrade -u skip --genomes hg38 --aligners bwa
Upgrading bcbio
Upgrading bcbio-nextgen data files
Traceback (most recent call last):
File "[etc]/anaconda2/bin/bcbio_nextgen.py", line 221, in
install.upgrade_bcbio(kwargs["args"])
File "[etc]/anaconda2/lib/python2.7/site-packages/bcbio/install.py", line 106, in upgrade_bcbio
upgrade_bcbio_data(args, REMOTES)
File "[etc]/anaconda2/lib/python2.7/site-packages/bcbio/install.py", line 346, in upgrade_bcbio_data
cbl_genomes = import("cloudbio.biodata.genomes", fromlist=["genomes"])
File "[etc]/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 690
cmd= f"bismark_genome_preparation ."
^
SyntaxError: invalid syntax
So I went in and removed the f before the double-quote (here and in a few other places that gave errors).  I'm guessing this is a python2 vs python3 issue.  The same thing happens whether I run the first install command with python or python3.
Next error:
Upgrading bcbio
Upgrading bcbio-nextgen data files
List of genomes to get (from the config file at '{'install_liftover': False, 'genome_indexes': ['bwa', 'rtg'], 'genomes': [{'name': 'Human (hg38) full', 'validation': ['giab-NA12878', 'giab-NA24385', 'giab-NA24631', 'platinum-genome-NA12878', 'giab-NA12878-remap', 'giab-NA12878-crossmap', 'dream-syn4-crossmap', 'dream-syn3-crossmap', 'giab-NA12878-NA24385-somatic', 'giab-NA24143', 'giab-NA24149', 'giab-NA24694', 'giab-NA24695'], 'annotations': ['ccds', 'capture_regions', 'coverage', 'prioritize', 'dbsnp', 'hapmap_snps', '1000g_omni_snps', 'ACMG56_genes', '1000g_snps', 'mills_indels', '1000g_indels', 'clinvar', 'qsignature', 'genesplicer', 'effects_transcripts', 'varpon', 'vcfanno', 'viral', 'purecn_mappability', 'simple_repeat', 'af_only_gnomad', 'transcripts', 'RADAR', 'rmsk', 'salmon-decoys', 'fusion-blacklist', 'mirbase'], 'dbkey': 'hg38', 'indexes': ['seq', 'twobit', 'bwa', 'hisat2']}], 'install_uniref': False}'): Human (hg38) full
Running GGD recipe: hg38 bwa 1000g-20150219
Traceback (most recent call last):
File "[etc]/anaconda2/bin/bcbio_nextgen.py", line 221, in
install.upgrade_bcbio(kwargs["args"])
File "[etc]/anaconda2/lib/python2.7/site-packages/bcbio/install.py", line 106, in upgrade_bcbio
upgrade_bcbio_data(args, REMOTES)
File "[etc]/anaconda2/lib/python2.7/site-packages/bcbio/install.py", line 348, in upgrade_bcbio_data
args.cores, ["ggd", "s3", "raw"])
File "[etc]/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 354, in install_data_local
_prep_genomes(env, genomes, genome_indexes, ready_approaches, data_filedir)
File "[etc]/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 480, in _prep_genomes
retrieve_fn(env, manager, gid, idx)
File "[etc]/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 875, in _install_with_ggd
ggd.install_recipe(os.getcwd(), env.system_install, recipe_file, gid)
File "[etc]/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 30, in install_recipe
recipe["recipe"]["full"]["recipe_type"], system_install)
File "[etc]/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 62, in _run_recipe
subprocess.check_output(["bash", run_file])
File "[etc]/anaconda2/lib/python2.7/subprocess.py", line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['bash', '[etc]/genomes/Hsapiens/hg38/txtmp/ggd-run.sh']' returned non-zero exit status 8
I'm really not sure what's going on here, any advice would be welcome.
Thanks,
David

Ah, I see.  I did this, and now "which bcbio_nextgen.py" and "bcbio_nextgen.py --version" both work.
But I get a new error when I try to install the data:
Upgrading bcbio
Upgrading bcbio-nextgen data files
Traceback (most recent call last):
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/bin/bcbio_nextgen.py", line 228, in
install.upgrade_bcbio(kwargs["args"])
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.7/site-packages/bcbio/install.py", line 107, in upgrade_bcbio
upgrade_bcbio_data(args, REMOTES)
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.7/site-packages/bcbio/install.py", line 359, in upgrade_bcbio_data
args.cores, ["ggd", "s3", "raw"])
File "/wynton/home/slee/dsiegel/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 349, in install_data_local
os.environ["PATH"] = "%s/bin:%s" % (os.path.join(system_installdir), os.environ["PATH"])
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.7/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
The problem seems to be that "system_installdir" is empty and shouldn't be.  When I print(args.tooldir) in "upgrade_bcbio" in install.py, I get None.  When I print(args) in "upgrade_bcbio" in install.py, I get:
Namespace(aligners=['bwa'], cores=1, cwl=False, datatarget=['variation', 'rnaseq', 'smallrna'], distribution='', genomes=['hg38'], install_data=True, isolate=False, revision='master', toolconf=None, tooldir=None, toolplus=[], tools=False, upgrade='skip')
It looks like the problem is in "_get_data_dir()" in install.py, I don't know what this is really doing.
When I type os.environ["PATH"] I get my PATH variable:

os.environ["PATH"]
'/wynton/home/slee/dsiegel/anaconda2/condabin:/opt/sge/bin:/opt/sge/bin/lx-amd64:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/wynton/home/slee/dsiegel/bin:/wynton/home/slee/dsiegel/tools/bcbio/anaconda/bin:/wynton/home/slee/dsiegel/tools/bcbio/tools/bin'

Thanks,
David

Hi David @david-a-siegel !
A potential issue is anaconda2 in your path:
wynton/home/slee/dsiegel/anaconda2/condabin:/opt/sge/bin:/opt/sge/bin/lx-amd64:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/wynton/home/slee/dsiegel/bin:/wynton/home/slee/dsiegel/tools/bcbio/anaconda/bin:/wynton/home/slee/dsiegel/tools
It should rather be something like:
/wynton/home/slee/dsiegel/tools/bcbio/anaconda/bin:/wynton/home/slee/dsiegel/tools/bcbio/tools/bin:/opt/sge/bin:/opt/sge/bin/lx-amd64:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/wynton/home/slee/dsiegel/bin:
Another potential issue is empty tooldir, maybe it has been missed during the initial install?
wget https://raw.github.com/bcbio/bcbio-nextgen/master/scripts/bcbio_nextgen_install.py
python bcbio_nextgen_install.py [bcbio_installation_path] \
--tooldir=[tools_installation_path] \
--nodata

Sergey

I got the same issue after trying installation
python3 bcbio_nextgen_install.py ./bcbio --tooldir=./bcbio/tools
--genomes hg38

as described at https://bcbio-nextgen.readthedocs.io/en/latest/contents/installation.html
My installation freezes here
Checking for problematic or migrated packages in default environment
Initalling initial set of packages for default environment with mamba
# Installing into conda environment default: age-metasv, arriba, bamtools=2.4.0, bamutil, bbmap, bcbio-prioritize, [....],r-knitr, r-pheatmap, r-plyr, r-pscbs, r-reshape, r-rmarkdown, r-rsqlite, r-sleuth, r-snow, r-stringi, r-viridis>=0.5, r-wasabi, r=3.5.1, xorg-libxt

It passes the install check:
seqme@seqme-template:~$ which bcbio_nextgen.py
/home/seqme/bin/bcbio_nextgen.py
seqme@seqme-template:~$ bcbio_nextgen.py --version
1.2.7

However it fails to download genome
Upgrading bcbio-nextgen data files
Traceback (most recent call last):
  File "/home/seqme/bcbio/anaconda/bin/bcbio_nextgen.py", line 228, in <module>
    install.upgrade_bcbio(kwargs["args"])
  File "/home/seqme/bcbio/anaconda/lib/python3.7/site-packages/bcbio/install.py", line 107, in upgrade_bcbio
    upgrade_bcbio_data(args, REMOTES)
  File "/home/seqme/bcbio/anaconda/lib/python3.7/site-packages/bcbio/install.py", line 359, in upgrade_bcbio_data
    args.cores, ["ggd", "s3", "raw"])
  File "/home/seqme/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 349, in install_data_local
    os.environ["PATH"] = "%s/bin:%s" % (os.path.join(system_installdir), os.environ["PATH"])
  File "/home/seqme/bcbio/anaconda/lib/python3.7/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

There is no tool-data folder in the bcbio/galaxy which is mentioned to be necessary for genomes.

Hi @yavit1!
Thanks for reporting!
Sorry, I did not get the result of your mamba step - did it finish successfully, did it finish halfway, or did not finish at all?
Conda solve can take a lot of time (hours) - make sure your terminal session is not freezing during that time -
use nohup or a batch job. I just have had a successful (well, with one issue) installation described here:
https://github.com/bcbio/bcbio-nextgen/issues/3459
Also, conda solve can require a lot of RAM - I had installation issues with 2G session, I have increased it to 20G, it helped.
We are rarely installing the data, since we are maintaining and reusing it for years, but I'm trying to reproduce your issue with a fresh data installation.
Sergey

Hi Sergey @naumenko-sa
I apologize for the delay, I'm trying to fit this in between other things.
I changed my PATH variable.  Now it looks like this:
echo $PATH:
/wynton/home/slee/dsiegel/tools/bcbio/anaconda/bin:/wynton/home/slee/dsiegel/tools/bcbio/tools/bin:/wynton/home/slee/dsiegel/anaconda2/bin:/wynton/home/slee/dsiegel/anaconda2/condabin:/opt/sge/bin:/opt/sge/bin/lx-amd64:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/wynton/home/slee/dsiegel/bin
Still doesn't work.
The second directory is the tools directory, which seems to be present.  It just has a "bin" folder, and 4 python scripts inside: bcbio_fastq_umi_prep.py, bcbio_nextgen.py, bcbio_prepare_samples.py, bcbio_setup_genome.py.
It's possible that the initial install didn't finish completely, as I said it froze or something at a certain point and I killed it after 24+ hours (I did run it with nohup using the --nodata flag), but the install checks worked.  There are a couple of potentially temporary directories that didn't get cleaned up, "tmpbcbio-install" and "bcbiotx" are both present in addition to "bcbio".
It looks like the line that was causing problems was just looking for the tool directory, so I've hard-coded it in and it seems to be working now (it's currently downloading hg38.fa.gz with wget).  I'll let you know if there are further problems.  Thanks for all your help...
David

Greetings Sergey @naumenko-sa
Here's the next error:
Upgrading bcbio-nextgen data files
List of genomes to get (from the config file at '{'genomes': [{'dbkey': 'hg38', 'name': 'Human (hg38) full', 'indexes': ['seq', 'twobit', 'bwa', 'hisat2'], 'annotations': ['ccds', 'capture_regions', 'coverage', 'prioritize', 'dbsnp', 'hapmap_snps', '1000g_omni_snps', 'ACMG56_genes', '1000g_snps', 'mills_indels', '1000g_indels', 'clinvar', 'qsignature', 'genesplicer', 'effects_transcripts', 'varpon', 'vcfanno', 'viral', 'purecn_mappability', 'simple_repeat', 'af_only_gnomad', 'transcripts', 'RADAR', 'rmsk', 'salmon-decoys', 'fusion-blacklist', 'mirbase'], 'validation': ['giab-NA12878', 'giab-NA24385', 'giab-NA24631', 'platinum-genome-NA12878', 'giab-NA12878-remap', 'giab-NA12878-crossmap', 'dream-syn4-crossmap', 'dream-syn3-crossmap', 'giab-NA12878-NA24385-somatic', 'giab-NA24143', 'giab-NA24149', 'giab-NA24694', 'giab-NA24695']}], 'genome_indexes': ['bwa', 'rtg'], 'install_liftover': False, 'install_uniref': False}'): Human (hg38) full
Moving on to next genome prep method after trying ggd
GGD recipe not available for hg38 rtg
Downloading genome from s3: hg38 rtg
Moving on to next genome prep method after trying s3
No pre-computed indices for hg38 rtg
Preparing genome hg38 with index rtg
Moving on to next genome prep method after trying raw
Command 'export RTG_JAVA_OPTS='-Xms1g' && export RTG_MEM=2g && rtg format -o rtg/hg38.sdf /wynton/home/slee/dsiegel/tools/bcbio/genomes/Hsapiens/hg38/seq/hg38.fa' returned non-zero exit status 127.
Traceback (most recent call last):
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/bin/bcbio_nextgen.py", line 228, in
install.upgrade_bcbio(kwargs["args"])
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.7/site-packages/bcbio/install.py", line 112, in upgrade_bcbio
upgrade_bcbio_data(args, REMOTES)
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.7/site-packages/bcbio/install.py", line 364, in upgrade_bcbio_data
args.cores, ["ggd", "s3", "raw"])
File "/wynton/home/slee/dsiegel/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 356, in install_data_local
_prep_genomes(env, genomes, genome_indexes, ready_approaches, data_filedir)
File "/wynton/home/slee/dsiegel/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 497, in _prep_genomes
.format(idx, gid, last_exc))
OSError: Could not prepare index rtg for hg38 by any method
Traceback (most recent call last):
File "/wynton/home/slee/dsiegel/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 482, in _prep_genomes
retrieve_fn(env, manager, gid, idx)
File "/wynton/home/slee/dsiegel/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 521, in _prep_raw_index
get_index_fn(idx)(env, ref_file)
File "/wynton/home/slee/dsiegel/tools/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 852, in _index_rtg
subprocess.check_call(cmd.format(**locals()), shell=True)
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'export RTG_JAVA_OPTS='-Xms1g' && export RTG_MEM=2g && rtg format -o rtg/hg38.sdf /wynton/home/slee/dsiegel/tools/bcbio/genomes/Hsapiens/hg38/seq/hg38.fa' returned non-zero exit status 127.

Hi @david-a-siegel !
It looks like the reference genome has been downloaded: /wynton/home/slee/dsiegel/tools/bcbio/genomes/Hsapiens/hg38/seq/hg38.fa but there is no rtg command available (conda installation has not been finished?), so it can't make an rtg index for validation runs.
Can you check which rtg, conda list rtg and rtg --version?
It should be installed in bcbio/anaconda/bin/rtg.
Sergey

Hi @yavit1!
Thanks for reporting!
Sorry, I did not get the result of your mamba step - did it finish successfully, did it finish halfway, or did not finish at all?
Conda solve can take a lot of time (hours) - make sure your terminal session is not freezing during that time -
use nohup or a batch job. I just have had a successful (well, with one issue) installation described here:
#3459
Also, conda solve can require a lot of RAM - I had installation issues with 2G session, I have increased it to 20G, it helped.
We are rarely installing the data, since we are maintaining and reusing it for years, but I'm trying to reproduce your issue with a fresh data installation.
Sergey

Please advice how do I increase the RAM allocation for the install?

It depends on how you are running the installation.
If you are working in an interactive session (srun in slurm), try srun --mem=20G --pty /bin/bash).
If you are submitting an sbatch job (slurm) try also #SBATCH --mem=20G. Other batch systems also have similar parameters.

@david-a-siegel
if you think that your installation did not finish properly and you have killed the script - just restart it and conda should continue the installation. There are several environments to deploy.

Thanks @naumenko-sa.  I did find that rtg was not installed -- there is no folder for it and your which/conda list/--version commands came up empty.  I tried to reinstall it and just let it run yesterday.
Your suggestion is to re-run the command when it times out?  I'm trying it now.
nohup python3 bcbio_nextgen_install.py bcbio --tooldir=bcbio/tools --nodata &
Thanks,
David

@naumenko-sa
How can I figure the RAM size requested  by the installation process? Thank you

@yavit1
It depends on how you are running the installation.
If you are working in an interactive session (srun in slurm), try srun --mem=20G --pty /bin/bash).
If you are submitting an sbatch job (slurm) try also #SBATCH --mem=20G. Other batch systems also have similar parameters.
@david-a-siegel
See https://github.com/bcbio/bcbio-nextgen/issues/3462 had a successful install.
Sometimes it is conda server's timeouts.

@naumenko-sa
Mine has failed even after reproducing   #3462 . I'm trying to run it on
ubuntu 16.04 LTS
Memory 8Gb
64-bit
Disk 60.4 GB
Is worth the effort to do it in such a compact setting?
....................tzdata                2021a  he74cb21_0           conda-forge/noarch       Cached
  wheel                0.36.2  pyhd3deb0d_0         conda-forge/noarch       Cached
  xz                    5.2.5  h516909a_1           conda-forge/linux-64     Cached
  zlib                 1.2.11  h516909a_1010        conda-forge/linux-64     Cached

  Summary:

  Install: 33 packages

  Total download: 0  B

─────────────────────────────────────────────────────────────────────────────────────

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Out of memory allocating<PHONE_NUMBER> bytes!
Killed
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done

Thanks @naumenko-sa.  I will try to re-run it a few times over the next couple days.  The machine has 512 GiB of RAM so I don't think that's the issue for me.  I can't run a batch job because our compute nodes don't connect to the internet, only the dev nodes.  Do you have another way to install and run the software?

@yavit1
I have installed 1.2.8 yesterday - conda sometimes freezes but re-running helps to pick it up from the last successful transaction.
Unfortunately, 8G RAM could be not enough for conda solves. Also if you are going to run analyses on that node, there is not much you can do - you will need to run 1-threaded analyses (4G/core is a min). Still, if you just experimenting with bcbio, you could try running variant2 bwa/vardict analyses using chr22. RNA-seq STAR needs 30G RAM min. HDD limitation is also crucial: --nodata installation currently is 36G and the references would add more Gb. hg38/seq = 3.2G, hg38/snpeff=1.8G, hg38/variation = 260G. Even if you fit bcbio into this machine, you won't have the space for input data (10X GB) and work directory (tmp files could be 50GB-1T depending on the project size).

I was able to install bcbio-rnaseq and bcbio-vc from Docker. Then I went ahead to get the hg38 genome (I had to create the genomes  directory manually). The genome was successfully downloaded, however, I ran on the same issue with rtg as   @david-a-siegel
subprocess.CalledProcessError: Command 'export PATH=/usr/local/bin:$PATH && export RTG_JAVA_OPTS='-Xms1g' && export RTG_MEM=2g && rtg format -o rtg/hg38.sdf /mnt/biodata/genomes/Hsapiens/hg38/seq/hg38.fa' returned non-zero exit status 127.
This file is missing in /usr/local/share/bcbio-nextgen/anaconda/bin

@naumenko-sa An update: I actually got the first step of the installation to finish without hanging.  It just took a very long time.  Here's what I did:

Make sure conda is deactivated
Removed all instances of anaconda from my PATH variable
After the install seemed to hang the first time, I killed the process, then added 4 threads to default in the .condarc file (this was suggested to me by our network admin):
cat ~/tools/bcbio/anaconda/condarc
channels:

conda-forge
bioconda
defaults

default_threads: 4

It eventually finished in 35 hours(!).  The node had 512GiB ram, Intel Xeon E5-2640 v3 2.60GHz

Now I'm running
bcbio_nextgen.py upgrade -u skip --genomes hg38 --aligners bwa

@david-a-siegel !
Thanks for debugging! Glad it worked. 35h is definitely too much.
I switched back to conda instead of mamba - the install took 2h without data and not stalling.
Those who prefer mamba could do it with --mamba option.

Hi @naumenko-sa
Back at it.  I tried to upgrade bcbio using:
bcbio_nextgen.py upgrade -u skip --genomes hg38 --aligners bwa
At some point there was an error:
Upgrading bcbio
Upgrading bcbio-nextgen data files
List of genomes to get (from the config file at '{'genomes': [{'dbkey': 'hg38', 'name': 'Human (hg38) full', 'indexes': ['seq', 'twobit', 'bwa', 'hisat2'], 'annotations': ['ccds', 'capture_regions', 'coverage', 'prioritize', 'dbsnp', 'hapmap_snps', '1000g_omni_snps', 'ACMG56_genes', '1000g_snps', 'mills_indels', '1000g_indels', 'clinvar', 'qsignature', 'genesplicer', 'effects_transcripts', 'varpon', 'vcfanno', 'viral', 'purecn_mappability', 'simple_repeat', 'af_only_gnomad', 'transcripts', 'RADAR', 'rmsk', 'salmon-decoys', 'fusion-blacklist', 'mirbase'], 'validation': ['giab-NA12878', 'giab-NA24385', 'giab-NA24631', 'platinum-genome-NA12878', 'giab-NA12878-remap', 'giab-NA12878-crossmap', 'dream-syn4-crossmap', 'dream-syn3-crossmap', 'giab-NA12878-NA24385-somatic', 'giab-NA24143', 'giab-NA24149', 'giab-NA24694', 'giab-NA24695']}], 'genome_indexes': ['bwa', 'rtg'], 'install_liftover': False, 'install_uniref': False}'): Human (hg38) full
Running GGD recipe: hg38 seq 1000g-20150219_1
Running GGD recipe: hg38 bwa 1000g-20150219
Traceback (most recent call last):
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/bin/bcbio_nextgen.py", line 228, in
install.upgrade_bcbio(kwargs["args"])
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 107, in upgrade_bcbio
upgrade_bcbio_data(args, REMOTES)
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 359, in upgrade_bcbio_data
args.cores, ["ggd", "s3", "raw"])
File "/wynton/home/slee/dsiegel/tools/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 354, in install_data_local
_prep_genomes(env, genomes, genome_indexes, ready_approaches, data_filedir)
File "/wynton/home/slee/dsiegel/tools/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 480, in _prep_genomes
retrieve_fn(env, manager, gid, idx)
File "/wynton/home/slee/dsiegel/tools/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 875, in _install_with_ggd
ggd.install_recipe(os.getcwd(), env.system_install, recipe_file, gid)
File "/wynton/home/slee/dsiegel/tools/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 30, in install_recipe
recipe["recipe"]["full"]["recipe_type"], system_install)
File "/wynton/home/slee/dsiegel/tools/bcbio/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 62, in _run_recipe
subprocess.check_output(["bash", run_file])
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/wynton/home/slee/dsiegel/tools/bcbio/anaconda/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bash', '/wynton/home/slee/dsiegel/tools/bcbio/genomes/Hsapiens/hg38/txtmp/ggd-run.sh']' returned non-zero exit status 8.
Do you know what this error might mean?  It did download hg38, but some of the other files and directories don't appear to have finished.
Thanks!

Hi @naumenko-sa
It says it completed without error, but it didn't download all the files in that script.  It downloaded the hg38.fa.sa, *.bwt, *.alt, *.ann, and *.pac files, but not the *.ann or *.amb (it created a file with the *.amb name but downloaded zero bytes).  I downloaded them manually -- will let you know if there's another error.
David


Code quality

Now I'm using Codacy in my projects for automatic review and check code quality. I want to increase the code quality of ReadTools by using the rules implemented there, so this issue requires:

[x] Setup codacy in ReadTools
[x] Add README badge for code quality
[x] Clean the code to reach the highest level in develop (A)

Develop is already in A (d5cc725a5771b6b4b3b7cbb482c546cb5a3d4413)


feat: ELK monitoring

Implement ELK monitoring system for all the platform services

Implementation was completed on a separate branch, but testing is queued due to other changes being deployed on the instance.


Adjust swing modes

@bigmoby here's one approach to support vertical only modes at this stage

@bigmoby this is now working with my unit and the latest update to pyfujitsugeneral, see how it goes with your unit

Thank you @drc38 🙏

@drc38 different pyfujitsugeneral library version?
  File "/config/custom_components/fglair_heatpump_controller/climate.py", line 163, in __init__
    self._swing_modes = self.swing_modes
                        ^^^^^^^^^^^^^^^^
  File "/config/custom_components/fglair_heatpump_controller/climate.py", line 377, in swing_modes
    modes_list = self._fujitsu_device.swing_modes()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SplitAC' object has no attribute 'swing_modes'

@bigmoby the manifest needs to be updated to 1.0.11 ie latest version

Yes, it's updated to 1.0.11 🤔

https://github.com/bigmoby/pyfujitsugeneral/blob/master/pyfujitsugeneral/splitAC.py

https://github.com/bigmoby/pyfujitsugeneral/blob/master/pyfujitsugeneral/splitAC.py there's no swing_modes

Sorry, missed deleting this line of code from repo when making changes on my local machine. I'll update and re-pull.

ok no prob thanks 👍

Unfortunately, the integrations don't work. The entity is not created and no error log appears.


Melloware Inc

cc @holly-cummins

@melloware just curious, is this related to KSM or is it a new company?

Holly said its because my Personal account uses melloware inc its being confused by her parser.  So she sent me a note.

@gastaldi see, for example, https://quarkus.io/extensions/io.quarkiverse.antivirus/quarkus-antivirus/?tab=community. @melloware has done all the commits, but the contributing company is "other" because @melloware's company is set to Melloware, not KSM.


Setting donotloadtotrue then sending go command causes console messages not to print

Because the GoWithLoad method is run on the same thread that responded to the go command, any console messages are deferred until the GoWithLoad method is complete. This can make it appear that nothing is happening, or something is wrong. My suggestion is to add a GoWithLoadDeferred method that is actually the one called by the go command. Then call the GoWithLoad method using CrestronInvoke.BeginInvoke to run the method on a new thread.

Not sure what happened, but this got removed. Reopening to add it to a current milestone and fix


updated free-programming-books-langs.md

Added 3 java books in free-programming-books-langs.md

All of these appear not to be authorized distributions. Please see docs/CONTRIBUTING.md guidelines.


Deprecate the /self API endpoint across all routes

Issue Description

Deprecate the /self API endpoint across all routes from the website-backend. And introduce a new route that will serve the purpose of /self.
Below is the mentioned list of routes where /self is currently being used:

[ ] GET     /arts/user/self

[ ] GET    /extensionRequests/self

[ ] GET    /stocks/user/self

[ ] GET    /tasks/self

[ ] PATCH  /tasks/self/:id

[ ] PATCH  /tasks/assign/self

[ ] POST   /trading/stock/new/self

[ ] PATCH  /users/self

[ ] GET    /users/self

[ ] PUT    /users/self/intro

[ ] GET    /userStatus/self

[ ] PATCH  /userStatus/self

Expected Behavior

Current Behavior

Screenshots

Reproducibility

[ ] This issue is reproducible
[ ] This issue is not reproducible

Steps to Reproduce

Severity/Priority

[ ] Critical
[ ] High
[ ] Medium
[ ] Low

Additional Information

Checklist

[ ] I have read and followed the project's code of conduct.
[ ] I have searched for similar issues before creating this one.
[ ] I have provided all the necessary information to understand and reproduce the issue.
[ ] I am willing to contribute to the resolution of this issue.

Can you please assign this issue to me?
@vinit717


[Question]

Required prerequisites

[X] I have read the documentation https://omnisafe.readthedocs.io.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[ ] Consider asking first in a Discussion.

Questions
Thank you very much for your work! I would like to inquire about the related issues of Epcost and Epret stored in the logger. The averagecost in the resulting.txt file generated after evaluate saved_policy output video is significantly different from the one stored in the logger during the training process. May I ask how to solve this?

Thank you very much for your work! I would like to inquire about the related issues of Epcost and Epret stored in the logger. The Averagecost in the resulting.txt file generated after evaluatethe saved_policyoutput video is significantly different from the one stored in thelogger` during the training process. May I ask how to solve this?


Extend query size using scroll

Issues Resolved
#703
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #708 (7e2030d) into main (592c58b) will decrease coverage by 31.98%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #708       +/-   ##
=============================================
- Coverage     94.74%   62.76%   -31.99%
=============================================
  Files           283       10      -273
  Lines          7676      658     -7018
  Branches        560      118      -442
=============================================
- Hits           7273      413     -6860
+ Misses          349      192      -157
+ Partials         54       53        -1

Flag
Coverage Δ

query-workbench
62.76% <ø> (ø)

sql-engine
?

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

Impacted Files
Coverage Δ

...a/org/opensearch/sql/analysis/AnalysisContext.java

...ain/java/org/opensearch/sql/analysis/Analyzer.java

.../main/java/org/opensearch/sql/planner/Planner.java

...rc/main/java/org/opensearch/sql/storage/Table.java

...ch/sql/opensearch/client/OpenSearchNodeClient.java

...ch/sql/opensearch/client/OpenSearchRestClient.java

...logical/OpenSearchLogicalPlanOptimizerFactory.java

...request/system/OpenSearchDescribeIndexRequest.java

...search/sql/opensearch/storage/OpenSearchIndex.java

...ch/sql/opensearch/storage/OpenSearchIndexScan.java

... and 263 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


The template deployment 'ai-textanalytics' is not valid according to the validation procedure.

Describe the issue:
When executing azd provision, failed to create TextAnalytics.

Repro Steps:

azd init -t <template_name>
azd package
azd provision

Environment:
OS: Windows
Azd version: azd version 0.8.0-beta.1-daily.2689578 (commit 3b28fc8f84717d732f646a3e3b9521204f122112)
Expected behavior:
TextAnalytics can be created successfully.
@rajeshkamal5050, @paulyuk for notification.

Hi @zedy-wj thank you for the report!  I'm looking at it today.

Hi @zedy-wj , the template is technically valid but it does lead to the issue you report.  I had tried to default to the Free F0 sku.  Unfortunately you get a limit of 1 and after that it fails at deploy after you use up your 1 resource.  I'm changing the default to S0 (standard 0) which will avoid this issue.  See PR #5
You can still choose F0 if you are ok with limitation.  For real dev test beyond kicking the tires S0 or better is probably right choice.
Let me know if this doesn't resolve.


Make CppMicroservices installable via vcpkg

Hi everyone,
I would like to ask if there is the possibility to be able to install CppMicroservices with the command line utility vcpkg which makes package installation really simple.
an example use case would be on the command line:
vcpkg install cppmicroservices
Project repo : https://github.com/CppMicroServices/CppMicroServices
Feature request : https://github.com/CppMicroServices/CppMicroServices/issues/329

We are on the move from three parties right now to close this feature port. The conversation can be tracked on the other ticket CppMicroServices/CppMicroServices#329.

We encountered the same problem as others concerning the output of executables by vcpkg. Is there any plan to fix that problem?
https://github.com/Microsoft/vcpkg/issues/834#issuecomment-288529839


TypeScript prevents use of animationName inside styled

Bug report
Describe the bug
I'm unable to set animationName or animation on an element (it works, but TypeScript errors). TS does not error when this is nested inside styled.
The TS error:
src/components/ContextMenu/ContextMenuContent.tsx:11:3 - error TS2322: Type 'GlobalRule' is not assignable to type 'InternalCSS<TMedias & { initial: ""; }, { borderStyles: {}; borderWidths: {}; colors: { "danger-base": string; "danger-contrast": string; "danger-hover": string; "primary-base": string; "primary-contrast": string; ... 16 more ...; "text-highlight": string; }; ... 10 more ...; zIndices: {}; }, { ...; }, CSSProperties...'.
  Type 'GlobalRule' is not assignable to type '"none"'.

11   animationName: fadeIn,

To Reproduce

Go to this sandbox
View TS error on line 10
View no TS error on line 13

Expected behavior
Allow animationName usage inside styled, without nesting.
Screenshots

System information

OS: mac
Version of Stitches: 0.1.9 and 0.2.1
Version of Node.js: 14.x

Nice one. TS related stuff are being worked on as we speak 🎉

BW, as a workaround, this should do the trick: animationName: ${fadeIn}`

Fixed in V1. Please refer to migration guide and changelog


Add normal lasso tool for grayscale images.

Related to #119 - there are annoying mistakes made by the trimmed lasso. Normal lasso should be available.

TrimmedLasso actually fulfills this function.


Transfer the repository to the deltachat organization

So others can develop it too, create branches in the repo etc.
cc @dignifiedquire

done


Error building site

Any ideas what could be causing this error and how to resolve it?
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:1:2: executing "_default/single.html" at <partial "main.html" (dict "root" . "contentTemplate" "theme/content.html")>: error calling partial: execute of template failed: template: partials/main.html:4:4: executing "partials/main.html" at <partial "theme/includes-head.html" .root>: error calling partial: "G:\me\themes\shadocs\layouts\partials\theme\includes-head.html:21:10": execute of template failed: template: partials/theme/includes-head.html:21:10: executing "partials/theme/includes-head.html" at <.>: range can't iterate over css/shortcuts.css

Hello @pensivedog ,
Can you provide more context regarding your issue ?

what command did you use ?
did you follow the installation part of the documentation ?
which version of Hugo are you using ?

Thanks for the reply and for your work on this wonderful theme.
I'm using the R blogdown package for the installation, which runs Hugo version 0.98.0.
All the assets mentioned in the installation part of the documentation are successfully added, except for Bulma, which I had to download and add separately.
Any ideas?

I'm not using version control in my project at this point. Still just trying to get shadocs up and running. A few other hugo themes I've tested have built fine with blogdown. I'm not so concerned about bulma not importing, which doesn't seem to be the cause of the error mentioned in the OP. Any other ideas on how I might troubleshoot that?

@pensivedog Currently blogdown::new_site() and blogdown::install_theme() do not support themes that use submodules because Github doesn't include submodules when we download a repo as a zip archive: https://github.com/dear-github/dear-github/issues/214 I can consider adding the support in blogdown, but it will require you to have Git installed first. For now, I think the easiest way for you is to download the submodule bulma manually: https://github.com/jgazeau/shadocs/tree/main/assets (link to zip) and unzip the files to the themes/shadocs/assets/bulma directory.

Thanks for your answer @yihui .
Indeed @pensivedog for your case, because you are not relying on git, you will need to download bulma manually.

@yihui Thank you for the reply! I had already downloaded and added bulma prior to opening this issue. Those files not being there caused a different error:
Error: Error building site: TOCSS: failed to transform "css/main.sass" (text/x-sass): SCSS processing failed: file "stdin", line 3, col 1: File to import not found or unreadable: bulma.
Once the bulma files are in place, the error changes to the one in the original post.
I apologize for persisting with this... am I missing something?

@pensivedog , can you provide a reproducer so I can help you ?
The error actually refer to an array problem in the configuration. To include assets files in the html you can be declare all the files within the params.includes section. But they have to be declared as an array.
As an example here is the config.toml used for the example (shadocs) website

The only way I know how to reproduce this error is in RStudio as per the blogdown documentation quick setup guide:

Create a new project and specify jgazeau/shadocs for the theme
Download bulma and place the files in themes/shadocs/assets/bulma/
Serve site via blogdown::serve_site()

The project's config.yaml file seems to accurately reflect the content of the Shadocs example site config.toml file.
Thank you again for your help and my apologies for my limited ability to troubleshoot this myself, as I'm not a web developer.

@pensivedog Open config.yaml and change css/shortcuts.css to [css/shortcuts.css], and js/shortcuts.js to [js/shortcuts.js] (this is probably a blogdown bug when converting TOML to YAML; I'll see). Then you have to initialize git for your website project (git init and at least commit once). After that, you should be able to preview your site with blogdown::serve_site().

@yihui Problem solved! Thank you for helping and for all your brilliant work on blogdown!

Perfect and thanks @yihui for the help :).
I'll try to check blogdown and also enhance the shadocs documentation to explain how to install the theme with it.


How Fonts Should Degrade

Challenge Specify How Fonts Should Degrade has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
 Please visit Help Chat Room, for assistance to coding.