calico 3.15.1 manifest invalid yaml

The yaml manifest available here https://docs.projectcalico.org/manifests/calico.yaml does not appear to be valid.
❯ kubectl apply -f calico.yaml
configmap/calico-config unchanged
customresourcedefinition.apiextensions.k8s.io/bgpconfigurations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/bgppeers.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/blockaffinities.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/clusterinformations.crd.projectcalico.org configured
error: error parsing calico.yaml: error converting YAML to JSON: yaml: control characters are not allowed

From https://codebeautify.org/yaml-validator:
Error : Unexpected characters near "'s BPF maps and cannot insert their own".
Line : 402    users cannot access Calico''s BPF maps and cannot insert their own

@marshallford thanks for raising this, it looks like there are extra quotes in that manifest in the FelixConfiguration CRD. You should be able to workaround this by removing them for now.
I'll make sure we get a fix in the docs ASAP.

@marshallford can I ask if you've made any changes to that manifest locally?
When I run the following command on a fresh v1.16.13 Kubernetes cluster, I get a successful apply:
kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml
configmap/calico-config created
customresourcedefinition.apiextensions.k8s.io/bgpconfigurations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/bgppeers.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/blockaffinities.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/clusterinformations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/felixconfigurations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/globalnetworkpolicies.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/globalnetworksets.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/hostendpoints.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/ipamblocks.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/ipamconfigs.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/ipamhandles.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/ippools.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/kubecontrollersconfigurations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/networkpolicies.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/networksets.crd.projectcalico.org created
clusterrole.rbac.authorization.k8s.io/calico-kube-controllers created
clusterrolebinding.rbac.authorization.k8s.io/calico-kube-controllers created
clusterrole.rbac.authorization.k8s.io/calico-node created
clusterrolebinding.rbac.authorization.k8s.io/calico-node created
daemonset.apps/calico-node created
serviceaccount/calico-node created
deployment.apps/calico-kube-controllers created
serviceaccount/calico-kube-controllers created

The only difference I can think of is that mine is a fresh cluster and yours seems to already have Calico installed. What version is the cluster currently running?

So, I'm led to believe that both the version of kubectl you're using as well as the linked yaml validator are not correct, which is very surprising, so I might be wrong. What version of kubectl are you using?

Ahhhh I may have cracked it. I'm seeing different behavior between wget https://docs.projectcalico.org/manifests/calico.yaml -O test.yaml && kubectl apply -f test.yaml (or just kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml) and copy and pasting the yaml in the browser to a local file. The difference lies within the encoding? of the apostrophes. L205 for example on a default install.
// direct download L205
remote AS number comes from the remote node’s NodeBGPSpec.ASNumber,

// C&P
remote AS number comes from the remote nodeâ€™s NodeBGPSpec.ASNumber,

I literally just ran into this myself. Copy-pasting https://docs.projectcalico.org/manifests/calico-typha.yaml into IntelliJ IDEA makes me run into the following:
customresourcedefinition.apiextensions.k8s.io/bgpconfigurations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/bgppeers.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/blockaffinities.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/clusterinformations.crd.projectcalico.org configured
error: error parsing /Users/qmachu/Workspace/bitmex/k8s-configs/modules/kubernetes/spec/resources/k8s_resources/networking/.calico.upstream.yaml: error converting YAML to JSON: yaml: control characters are not allowed

The file yielded by wget/curl is quite different than the new I got by copy-pasting into my IDE.  That kind of encoding issues all over the place -->
-                    remote AS number comes from the remote nodeâ€™s NodeBGPSpec.ASNumber,
+                    remote AS number comes from the remote node’s NodeBGPSpec.ASNumber,

It now works properly.
Adding another data point - I copy/pasted from the browser into vim and the original escaping of the apostrophe is left intact and the yaml applies cleanly. So, I think this might be something to do with how the editor you're pasting into handles the escaped characters?

This appears to be a problem with the way some editors handle pasted yaml, rather than the Calico manifest themselves being malformed.

Just wanted to mention here, that this is still a problem if you open the yaml in chrome and copy it from there. I'll try to paste it here, the diff is, for example:
wget
                  iptables “DROP” action. If you want to allow some or all traffic
copied from chrome
                  iptables â€œDROPâ€ action. If you want to allow some or all traffic

is there any reason to use “ over " or ' in the crd descriptions?

is there any reason to use “ over " or ' in the crd descriptions?

That was my thought as well. I looked at making a PR but couldn't find the true "source" or input that is used to generated the released manifests. Maybe someone else can poke around?

There's no reason we need to use those characters.This has been on the back of my mind for a while but I haven't gotten around to fixing it yet (I think there's another issue open tracking it).
The yaml itself is generated from code comments in this package, if you'd like to look at fixing it!
https://github.com/projectcalico/libcalico-go/tree/master/lib/apis/v3


Move the main nydus image conversion code to nydus-snapshotter

As we have moved the main nydus image conversion code to containerd/nydus-snapshotter in containerd/nydus-snapshotter#127, to keep consistency, we can simplify the conversion logic of the nydus driver by just import the helper functions of containerd/nydus-snapshotter and remove the github.com/goharbor/acceleration-service/pkg/driver/nydus/backend package in this repo.
Signed-off-by: Nan Li<EMAIL_ADDRESS>

@loheagn Thanks!


Fix #97192 - delete bad setting validation

This whole function is questionable, and the check I had for numeric type settings doesn't make sense. Just deleting it for release and I'll rewrite the whole thing in master.
Fix #97192

Maybe makes more sense to replace with a proper isNumber check? (as proper as a typecheck can be in JS lmao)
value === +value?

It's going to be a string with a numerical value, but, the whole function is kind of dumb and written backwards isn't worth fixing as a candidate.


Remove a workaround comment exists in goci-interfaces/goci-curation/pom.xml file since the workaround has been adopted.

I think the workaround for https://github.com/spring-projects/spring-boot/issues/2124 has been adopted in goci project, since this bug has been fixed in spring-boot-starter-actuator:1.4.2 according to https://github.com/spring-projects/spring-boot/issues/2142#issuecomment-259115996
Thus, this workaround comment could be removed.
The comment:
https://github.com/EBISPOT/goci/blob/af9d82a2690cdf721f2be7d35a93b8a3f993bd58/goci-interfaces/goci-curation/pom.xml#L66

@sprintell please review

@sprintell please review


Can we provide custom wav file for voice recognition in jasper?

Hey Guys, I know that Jasper is always listening for audio commands from mic. But is it possible to write a script such that a custom audio (.wav) file can be provided as input to Jasper for voice recognition?
If yes, can somebody post a method explaining the same.
Thank you.

Not possible yet. What's the use case? If you just want to transcribe an audio file, you could use pocketsphinx/sphinx/etc. directly.


Detokenization not supported

As in another libraries, detokenization is a wanted feature like at https://opennlp.apache.org/documentation/1.5.3/manual/opennlp.html#tools.tokenizer.detokenizing.
Do you have plans on supporting this? Or a way we can help adding it?

i dont think anyone is working on it actively, i'd be happy to help in anyway if you wanted to work on it!

Came across this issue while searching for openNLP within this repo. How does natural relate to the apache openNLP project and are there any considerations on whether this should leverage anything from the apache project efforts? Thanks.


'Lint files on save' - Linter not working on save

JSLint/JSHint works perfectly on 'linting files on save' when I am editing the same Javascript file. However, when I switch to another file, 'linting files on save' just stops working. Just to have the linter lint my Javascript file again, I tend to switch to another file and then back to my original file to run the linter. I already tried uninstalling JSHint and Brackets itself and reinstalling them, but that not fix the bug.
I am currently running the latest version of Xubuntu on an Acer Aspire S3 machine. I attached an example where in Line 9, I omitted a semicolon ending and saved the file. The linter reports a green checkmark signaling that everything about the file is fine, but once I switch from another file back to this file, the linter (which I guess automatically runs whenever you open a file), reports back a warning sign.

I'm experiencing the same problem on Windows 10.  To get around it, I will sometimes disable lint on save and then re-enabled it.  But when I switch to a different file, it breaks again and has to be disabled and re-enabled again.  It works fine on a Windows 7 PC at my workplace, though.

@timothylrobb
What Brackets version do you use?
What extensions you have installed?
Do you have any errors in the developer console?

Hi Martin,
After looking at the questions you asked, I started digging more into the
issue. I began removing extensions one by one that I had installed.
It turns out that the issue is caused by an extension called "PHP Linter
for Brackets". For some reason it is breaking jslint.
Thanks,
Tim
On Fri, Sep 9, 2016, 1:46 PM Martin Zagora<EMAIL_ADDRESS>wrote:

@timothylrobb https://github.com/timothylrobb
What Brackets version do you use?
What extensions you have installed?
Do you have any errors in the developer console?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/adobe/brackets/issues/11213#issuecomment-246034799,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMKLB93lYLNwvYYVdDDhkQ7wLJt8jFT7ks5qocWmgaJpZM4E47sn
.

Forgot, @alastairparagas as for the original issue, I recommend testing again with Brackets-Electron - https://github.com/zaggino/brackets-electron/releases


Generate connection info only when server is ready

Currently the connection information is generated immediately after launching the Jupyter notebook server. But the server may not be fully loaded, and so the "Connect to Jupyter" button fails. That is why we warn the user with the following text:

The new Dashboard (not yet released) includes ood_core v0.2.0 which provides a helper Bash function that can wait until a port is used. Calling this in after.sh can postpone the connection file generation until the server is listening for connections.

This was patched in 24ef4e93b0830b26989055d55e2cb3ebd0d8e5c3


Set page title dynamically

I am trying to set the page title (in the TopAppBar) dynamically but can't find a way to do this.  Can anyone please tell me how to do it through Javascript?
I have tried many different ways, but the method I thought should work (ace.getHostPage().setTitle('My Title');) just fails silently.

What happens if you use this branch?
https://github.com/frederikbosch/ace/tree/merged?files=1
There are more nice features in there but I am lacking time to create PRs

I decided to not use Ace in the end, but I tried that branch anyway but with it added I could not run my project.  To be honest it could be something I did wrong when adding the plugin as I'm not too experienced with git.  What I did was to fork your branch then downloaded it locally and added it to my project with the "phonegap plugin local add" command.  I did not get any build errors, it was as if a javascript error was occurring, terminating the code.


email is deprecated in Docker > 1.13

In docker 1.13 the email flag for the registry login is deprecated, but the code in registry.pp https://github.com/garethr/garethr-docker/blob/master/manifests/registry.pp#L46 requieres it.

Just ran into this issue..
I'm running Docker v1.12.2 and attempted to call docker::registry passing in only a username and password.  As a result my puppet run failed with the following error:
Error: Cannot perform an interactive login from a non TTY device
If I include the email parameter and populate it with anything, puppet runs fine and configures docker with the provided username and password.

Relates to https://github.com/garethr/garethr-docker/issues/657

Son Docker 17.06, you get an error if you use the -email tag in your docker login command. So since Docker 17.06 it is impossible to login into a registry using Puppet :(
If you specify the email in docker::registry you get an error because the -email tag has been removed. If you don't specify the email in docker::registry you thet the "Cannot perform an interactive login from a non TTY device" error.
Houston, we have a problem!!

+1


Set PID_DIR to /var/run/cdap

Put pids under /var/run/cdap, rather than /var/cdap/run

:+1: lgtm

Actually, I am going to close this. The settings in #19 are way better and configurable by the user via the UI (win)...


x/pkgsite: package removal request for [github.com/jefferyjob/go-redis-lock]

What is the path of the package that you would like to have removed?
github.com/jefferyjob/go-redis-lock

Are you the owner of this package?
Yes

What is the reason that you could not retract this package instead?
The original github warehouse has been deleted

The original github warehouse has been deleted

Presumably you still control the GitHub account. Can you recreate the repo to publish a retraction, as described in https://github.com/golang/go/issues/60985#issuecomment-1607712161?

The version has not been revoked, and the license has not been updated

@jefferyjob, the commit containing the retract directive needs to be tagged with a release version so that cmd/go can notice that the retraction is supposed to be live.
I would suggest adding v1.1.1 to the retract directive and tagging the resulting commit as v1.1.1 (which will then retract its own tag as well).


Make Gulpfile generic

This copies the Gulpfile from the suppliers app, which is now generic, and makes the necessary changes to the setup of this app so that it works.

I have a feeling that the gulpfile change in the suppliers app may have caused the app to break in preview (e.g. see: https://preview.development.digitalmarketplace.service.gov.uk/suppliers/services).  Let's hold off merging this until we get the supplier app fixed and find if there is a problem with the generic version.

Is this ok to merge? Admin app is currently broken since there was a merge after the new AWS stuff went out.

@allait I've assigned it to @tombye so he can check that the comments he left on the supplier Gulpfile have also been addressed in this app.

:+1:


Binary not on PATH in nix-shell

Hello, I tried installing a package with Naersk.
I'm not sure whether I'm doing something wrong or there's an issue.
I expected grex to be on PATH but it isn't. I made a repo to help reproduce what I'm seeing:
git clone https://github.com/energizah/naersk-demo.git
cd naersk-demo
nix-shell
grex --help

Gives grex: Command not found
On the other hand,
git clone https://github.com/pemistahl/grex
cd grex
cargo build
cargo run grex --help

works fine.

I believe this makes all the dependencies of grex available in the shell. If you need access to grex itself consider using mkShell.

My mistake, that does the trick. Thank you.


make a dev branch

We need a dev branch, or branches for each open issue.
currently :

trulens evaluation
interface
app + coding tasks

we'll need to add a contributing guide to the readme @jsaluja ;-)

https://github.com/Tonic-AI/DataTonic/tree/dev
general dev branch to protect main -- please modify your upstreams to push to dev branch rather than main. once dev branch is stable, we can create pr's from dev to main as a team if we're happy with it. let me know if you need help with this.
after forking the repo, i've currently created yikes-dev on my copy, but if we'd like to standardize branch names per-issue, i'll start using the naming convention after my first contribution to dev and the closure of my current branch.
i think it's best to leave this issue open until we all confirm our repos are configured correctly in the agreed-upon configuration, so please leave a comment on the issue once you've got your setup finished, and whoever the last commenter is can go ahead and close the ticket.


Added Head First Java 2nd Edition pdf

This is not a free book. It will be a copyright issue.

Yep. This is why I closed this PR.


Error at installing  php on OSX（10.11.2）

I got an error when installing php from Homebrew.
I use Mac OSX（10.11.2）.
I tried this command line and an error occurred.
My English is not good. sorry
=====================================
$ brew tap homebrew/php
$ brew install php56 --with-apache --with-pgsql --mbstring
checking whether to use system default cipher list instead of hardcoded value... no
checking for krb5-config... /usr/bin/krb5-config
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for RAND_egd... no
checking for pkg-config... no
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE library to use... bundled
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
configure: error: Cannot find libz
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/php/issues
=====================================

$ xcode-select --install
and solved.


Release Version 2.2.6

Could you please release Version 2.2.6 because i am using netbox 4.1.0 and i am getting the NESTED_SERIALIZER_PREFIX can not be imported and i see the code has been merged but the release have not yet their still pip 2.2.5 available only.

The version is now released. Please report any issue.


Gremlin like builder

Added an alternate docker-compose.yml file for 3 dgraph instances(dev,test,prod)
(Attention! These using some other ports. 9092 for the test server and 8088 for ratel)
Added first gremlin functions like Graph Traversal Steps. Gremlin AddVertex Step and AddProperty Step
`
{:ok, channel} = GRPC.Stub.connect(Application.get_env(:exdgraph, :dgraphServerGRPC))
{:ok, graph} = Graph.new(channel)
graph
|> addV(Toon)
|> property("name", "Bugs Bunny")
|> property("type", "Toon")`

And some tests

Hey @Fulnir
thank you for your contribution! But I am not quite sure what to do with it right now. First priority is to establish a stable way to connect to the dgraph server. I started implementing the DBConnection behaviour to achieve that. This and supporting regular GraphQL+ queries, mutations etc. is the first thing to to in my pov.
About Gremlin support in general. The DGraph docs state

Neo4j supports Cypher and Gremlin query language. Dgraph supports GraphQL+-, a variation of GraphQL, a query language created by Facebook. As opposed to Cypher or Gremlin, which produce results in simple list format, GraphQL allows results to be produced in a subgraph format, which has richer semantics. Also, GraphQL supports schema validation which is useful to ensure data correctness during both input and output.
While GraphQL is modern, Gremlin and Cypher are a lot more popular. Dgraph plans to support them after v1.0.

So as far as I see Gremlin isn't even supported yet. But I'm open to input and discussion.
Thanks,
Ole

The goal is alternate functions to support queries and mutations.
In my own dgraph client(under development) I can mutate a struct in this way:
person = %Person{person_id: "Edwin", name: "Ed", alchemist: true, gender: :male, age: 99}
{:ok, edwin_node} = mutate_node_from_struct(person)

Or in a gremlin style:
{:ok, edwin_vertex} =
    graph
    |> addV(Person)
    |> property("person_id", "Edwin")
    |> property("name", "Ed")
    |> property("alchemist", true)

BTW, on my local machine, all tests are green. But not with travis-ci. I have no idea why!

That looks interesting. But I first want to have a stable DBConnection implementation before going into the direction of Gremlin. I hope you understand. But it looks like a very nice addition!
Are you interested in helping with the basics? That would get us quicker in the direction of adding Gremlin.
About travis-ci: I accidentally added the docker-compose.yml to the .gitignore file, which caused it to fail. I removed it again a bit late. Maybe this was the issue?

I move the gremlin code in an extra repository.
Then I close my pull request. Later I make a new one with some basics but without the gremlin code.


Enable translation pruning

https://github.com/stolostron/backlog/issues/23473
Signed-off-by: Kevin Cormier<EMAIL_ADDRESS>

/cc @RobDolares


How to call the Gobid service from a Java application

Hello, I need to call the Gobid service from a Java application, can you help me build the URL and the Java code?

Hello!
If you want to use the GROBID web service from a Java application, you can have a look at our following project code here (this is a multithreaded client):
https://github.com/anHALytics/anhalytics-core/tree/master/anhalytics-harvest/src/main/java/fr/inria/anhalytics/harvest/grobid
If you want to use the GROBID Java library from a Java application, a complete example is available here:
https://github.com/kermitt2/grobid-example

I'm adding also the documentation section on the subject: https://grobid.readthedocs.io/en/latest/Grobid-java-library/

@juanluis17 did you manage? If so please feel free to close this issue


Use context cancellation in mempool, and remove shared context in mempool testing package

Fixes #809, fixes #817

Codecov Report

Merging #818 (851cec0) into master (671f161) will increase coverage by 0.24%.
The diff coverage is 58.77%.

@@            Coverage Diff             @@
##           master     #818      +/-   ##
==========================================
+ Coverage   48.42%   48.66%   +0.24%
==========================================
  Files         140      142       +2
  Lines        6914     7007      +93
==========================================
+ Hits         3348     3410      +62
- Misses       2969     2989      +20
- Partials      597      608      +11

Impacted Files
Coverage Δ

pkg/core/consensus/comms.go
0.00% <ø> (ø)

pkg/core/consensus/fixtures.go
0.00% <ø> (ø)

pkg/p2p/wire/topics/topics.go
68.00% <ø> (ø)

pkg/core/consensus/reduction/firststep/step.go
50.42% <11.53%> (-5.24%)
:arrow_down:

pkg/core/consensus/selection/step.go
48.20% <25.00%> (-0.71%)
:arrow_down:

pkg/core/consensus/reduction/secondstep/step.go
73.77% <33.33%> (-1.23%)
:arrow_down:

pkg/p2p/peer/peer.go
36.45% <39.62%> (-0.72%)
:arrow_down:

pkg/core/chain/sequencer.go
66.66% <40.00%> (-33.34%)
:arrow_down:

pkg/core/candidate/validator.go
57.14% <50.00%> (ø)

pkg/util/nativeutils/rpcbus/rpcbus.go
66.66% <50.00%> (-1.42%)
:arrow_down:

... and 16 more

Continue to review full report at Codecov.

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


Add executable file for windows

Added a run.bat file so that it becomes easy for Windows users like us to run SuperAGI!

Looks good to me, .bat file was needed for windows user.


Update basic tutorial

Deliverable 0b.
We will provide both inline documentation of the code and a basic tutorial that explains how a user can (for example) spin up one of our Substrate nodes and send test transactions, which will show how the new functionality works.
This task covers updating basic tutorial made in Milestone 1.

https://github.com/eigerco/pallet-move/pull/135
https://github.com/eigerco/pallet-move/pull/135


adding regression test workflow in container

@shahzebsiddiqui Regression test is at least running in container now. Still need to debug on failing tests if any.

Details

@shahzebsiddiqui Regression test is at least running in container now. Still need to debug on failing tests if any.

thanks for getting this running for now, we should try getting checkout to work inside the container. I also merged #1789 which should address issue with tcsh, zsh not being in container. I recently added a PR to install pip automatically #1792

Hi @shahzebsiddiqui, I added check repo and now is running as expected. I downgraded from v4 to v3 to avoid version GLIBC_2.28' not found bug.
Still, need to fix some failing tests but that is out of scope of this PR.

thanks @Xiangs18 for working on this.


[Feature]: Search result logo

Description
Now, if you search for 'aifusion vercel' on a browser (I am using Bing), this is the first result you get.
Currently, the results look like this:

This is how we want it to appear, with our logo:

Provide Screenshot
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines.
[ ] I am willing to work on this issue (optional)

Hey @rajkaranm, are you working on it?


Windows build problem

I have installed rust on linux and MacOS and got my project to build.  I installed rust on a fresh Windows 10 machine and cannot get my fltk project to build.  I have installed the VC buildtools C++ module. I can build the hello world program and that works fine.  I get getting errors about linking with link.exe failing code 1120.  Any idea as to what could be the problem.

What’s the output of cargo build -vv?
There are instructions for windows here:
https://github.com/fltk-rs/fltk-rs/wiki/Setup#windows-msvc-toolchain
The link issue sounds like you might be using a gnu terminal which has link.exe which creates path links, and the toolchain isn’t using the VC linker "link.exe".


Internal Mapping from License-URL to License-Type

Maybe it would be enough to provide a mapping from package to license-information?


Highlight doors in Pyramid Plunder

Pyramid Plunder doors aren't always that easy to see.
It would be great if the doors which let you advance to the next room were highlighted in some way to make them more distinguishable.
There is currently no way to highlight this.
Thank you in advance.

Duplicate of #2446


Manual Python 3.11 migration

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Duplicate of gh-111.
(This also needs some extra work to that I'm handling in gh-111.)


Impl Color for f64 (+ f32, i64, i32, ...)

Hey there!
I noticed that someone had raised an issue regarding the removal of impl Color for f64 in a previous version (#141). I also had this issue and to be honest, I don't even know how one would use the colorscales with a scatter plot without being able to use a reference vector.
I went ahead and created a very simple pull request to reimplement it, along with impl Color for other types (f32, i64, i32, ...).
Additionally, I expanded the 3d_charts example to include a plot that showcases the now working colorscales.
I also fixed the customized_scatter3d_plot() where colorscales were not working because of this.
If there is any reason why this wouldn't just work like this please let me know.

Thanks for the PR! Will merge it. Closes #141


disable indicator with --no-indicator

The indicator can panic.
✓ Checklist:

[ ] This PR has been added to CHANGELOG.md (at the top of the list);
[ ] Tests for the changes have been added (for bug fixes / features);
[ ] Docs have been added / updated (for bug fixes / features).

This was tested manually when panics were seen from the indicator.

@evgeniy-r @akirill0v


Board Review: Event Grid System Events

This is a placeholder for the arch board review for any new system events that come in for Event Grid for the May release. This is a new monthly archboard meeting that we are trying out. Artifacts will be added if/when they are available.
Contacts and Timeline

Responsible service team: Azure SDK .NET Team
Main contacts: @lmazuel @JoshLove-msft
Expected code complete date: 5/6
Expected release date: 5/10

About the client library

Name of the client library: Azure.Messaging.EventGrid
Languages for this review: C#, Swagger

Artifacts required (per language)
Please read through “API Review” section here to understand how these artifacts are generated. It is critical that these artifacts are present and are in the right format. If not, the language architects cannot review them with the SDK Team’s API review tool.

Swagger PR: https://github.com/Azure/azure-rest-api-specs/pull/18723/files
APIView Link: https://apiview.dev/Assemblies/Review/154ddfea5f3842bbaff0fd8c92708b3b/263453e412374fdf9fb07e3b7c8ec1db?diffRevisionId=d929683a390e4cae885a788acf073a7a&doc=False&diffOnly=True

Thank you!

scheduled for 5/2 2-3pm pst

Recording (MS INTERNAL ONLY)


refactor(protocol-runner): map legacy module loading to engine

Overview
Closes #8608
Changelog

Review requests

Risk assessment

Let's keep that ticket open until we meet the requirement:

Yep. That's from before we decided to limit the scope of this PR to mapping just module load, without labware.
Will update the description when un-drafting.


Regression in BM_StyledRunsGetRun

See https://flutter-engine-perf.skia.org/e/?begin=1611107042&end=1611167642&keys=X3d1a3d68fd0a4ed1cbfb19af6d60c95d&num_commits=50&request_type=1&xbaroffset=21035.
Started with the Dart roll https://github.com/flutter/engine/pull/23791, which is goofy, because that's a revert.
May need help from someone on @a-siva's team to help us pin this down.

The benchmark measures what is effectively a constant time operation. The time went from 2 to 3 ns.

The benchmark measures what is effectively a constant time operation. The time went from 2 to 3 ns.

Since this is not measuring anything useful, I vote we repurpose this issue to remove the benchmark.

Since this is not measuring anything useful, I vote we repurpose this issue to remove the benchmark.


Include install instructions

Awesome work! Thanks for providing access to it. Would it be possible to add a short hint on where to put the files to make use of the functionality?

Hey @BjoernLudwigPTB : Good point. I prepared the publication to CTAN during the last few days and now:

the package is on CTAN:
there is a nice pdf documentation
based on your suggestion, I provided a installation helper

That's beautiful! Thank for your work on that! Would it be appropriate to link the nice package_helper.md in your README?


Weird encoding issue

Some mails are coming in with odd encoding with stuff like src=3d"http://..."

I seem to be seeing this when HTML is submitted from the older HTMLArea WYSIWYG editor


Invalid Open API Schema

I am new to this project, so please forgive me if i'm misusing the framework.
If I define my API as follows:
from apistar import App, Route, types, validators

class Name(types.Type):
    name = validators.String()

class Greeting(types.Type):
    msg = validators.String()

def greet(name: Name) -> Greeting:
    return Greeting({"msg": f"Hello {name.name}!"})

routes = [
    Route('/greet', method='GET', handler=greet),

]

app = App(routes=routes)

The schema generated is as follows:
{
    "openapi": "3.0.0",
    "info": {
        "title": "",
        "description": "",
        "version": ""
    },
    "paths": {
        "/greet": {
            "get": {
                "operationId": "greet",
                "responseBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Name"
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "Name": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "required": [
                    "name"
                ]
            }
        }
    }
}

On the surface there are two obvious issues:

responseBody is not in the OpenAPI spec. To link a model to a path you need something like this:

paths:
  /greet:
    get:
      operationId: greet
      responses:
        200:
          description: "greet"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Name'

Name is in the input to the handler, it should appear in the parameter section, not the responses section. There is also no mention of Greeting in the model.

Am i missing something here?

Your code seems ok.
It is a bug in the schema generator, see #434.

Sorry, I meant:
How far are we from the 3rd point (support for response in schema)

@nicolas-leydet Done & released.


fix russian translation

Codecov Report

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

@@           Coverage Diff           @@
##           master     #443   +/-   ##
=======================================
  Coverage   98.59%   98.59%
=======================================
  Files         199      199
  Lines        2699     2699
=======================================
  Hits         2661     2661
  Misses         38       38

Continue to review full report at Codecov.

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


Fix dist with monorepo setup

Another leftover from #154 support for monorepos

@michielvandergeest any news on merging this?

Hey @MLangendijk
Thanks for your contribution, the changes will be part of the next release


Tables starting with an underscore should be treated as hidden

Plugins can then take advantage of this pattern, for example:

https://github.com/simonw/datasette-auth-tokens/pull/8

Relevant code: https://github.com/simonw/datasette/blob/0f7192b6154edb576c41b55bd3f2a3f53e5f436a/datasette/database.py#L391-L451

For filtering virtual table's "shadow tables" (ex the FTS5 _content and most the spatialite tables),  you can use pragma_table_list (first appeared in SQLite 3.37 (2021-11-27), which has a type column that calls out type="shadow" tables https://www.sqlite.org/pragma.html#pragma_table_list

We really need this for Datasette Cloud, we have _hidden_but_not_hidden tables all over the place!

Had to figure out how to run a LIKE query with a literal _ in it - this is the syntax:
or name like '\_%' escape '\'

There isn't any documentation on hidden tables right now, fixing that.

For filtering virtual table's "shadow tables" (ex the FTS5 _content and most the spatialite tables), you can use pragma_table_list (first appeared in SQLite 3.37 (2021-11-27), which has a type column that calls out type="shadow" tables

Neat!

Aside: Datasette doesn't allow select * from pragma_table_list() now but I can fix that easily.

Added new documentation listing all of the different types of hidden table here: https://docs.datasette.io/en/latest/pages.html#hidden-tables


Add With<Camera> query filter to many_sprites example

https://github.com/bevyengine/bevy/blob/052094757aee671c66190b63a640900f15ee300d/examples/2d/many_sprites.rs#L76
We don't want to move everything, just the camera.

the camera is the only entity with a Position component in the example

Apparently, the code is confusing, or there would be no issue. That's problematic, since the examples are most likely used to learn bevy! After taking a look, I too think that it's not directly clear how that query yields only the camera. Maybe a comment why the query is like this will help :)

duplicate of #2075, fixed by #2078


Remove asyncio from offscreen gui

When working on a unit test for canvases in #403, I realized that the behavior in gui/offscreen.py was a bit weird. We use asyncio for the event loop, but we also make run() behave as if there is no loop. We've had to change this code one or two times because of lingering refs due to the call_later.
This PR removes the event loop entirely, and fakes call_later a bit to make examples that use it still behave more or less as can be expected.

so it's not really changing the API at all

Correct. Even the behavior should be the same. The advantage is that the code is simpler, and that it also works in an application that already has asyncio running (which before this pr was not working well).


Don't create secrets.env file while install-chef-suse run

Creating the secrets.env file is now part of the package.

:+1:

:+1:

@rsalevsky can we not do this in the package, but in the systemd service file of crowbar with ExecStartPre? That would make it easier for people to develop from git...

@vuntz I develop from git and there is no issue and you shouldn't use the service while developing anyway.

@rsalevsky can we not do this in the package, but in the systemd service file of crowbar with ExecStartPre? That would make it easier for people to develop from git...

While you are working from git you should run the rails app in development mode, there you don't need this env variable anyway as the secrets.yml from crowbar already provides it. We need this env variable only for production environment.


Support relative techdocs paths in config

Feature Suggestion
Allow the following configuration option in app-config.yaml, and make it default as it is unlikely to need change by adopters:
techdocs:
  requestUrl: /api/techdocs
  storageUrl: /api/techdocs/static/docs

Possible Implementation
Not sure how it is used today, but my guess would be to go with either of:

Use relative paths through the documentation site
Detect absolute paths using another mechanism

Context
I aim to deploy backstage in multiple environments, e.g. localhost, stage and prod, with different URLs. As a convenience I tried to configure Backstage to use a relative techdocs config path and forgot about it, and then spent a few hours trying to troubleshoot why docs did not work. Error printed in Javascript console when trying to view docs in the browser:
TypeError: Failed to construct 'URL': Invalid base URL
    at TechDocsStorageApi.getBaseUrl...

Hmm, I guess this is a duplicate of #3715, closing it.

Hmm, I guess this is a duplicate of #3715, closing it.


HDDS-7800. Use persistent map and set to generate snapshot diff report

What changes were proposed in this pull request?
This change is to use persistent map and set (backed by RocksDB) to store intermediate objects to generate Snapshot diff.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7800
How was this patch tested?
Manually using snapshot diff command
ozone sh snapshot snapshotDiff /${volume}/${bucket} snapshot1 snapshot2

@hemantk-12 let us rebase this PR to master branch now.

Thanks @hemantk-12 for this important improvement to SnapDiff. Thanks @GeorgeJahad @prashantpogde @sadanand48 @DaveTeng0 @duongkame for the reviews and comments.


dynamically bound sources

It seems strange to me that there is dynamically bound destinations, but no dynamically bound sources. Is there a reason for that?
It seems to be easy implementable by copying BinderAwareChannelResolver, BeanFactoryMessageChannelDestinationResolver, DynamicDestinationsBindable, renaming them and changing logic to create inputs instead of outputs

@Shohou How would a dynamic source work? For destinations the concept is to support routers so that messages with different payload/headers would map to different endpoints. Now for sources? What does that mean, how you switch sources? Based on what criteria?
There's a new story on allowing programmatically creation of sources instead of just relying on @StreamListener if this is what you meant, we are addressing this for 2.0

@viniciusccarvalho Is there a way to define Input with channel name not hard coded into the application? Let's say I have the application which I want to deploy multiple times as multiple nodes of some service and attach each node to the different channel. Channel name must be configurable somehow, for example it could be based on spring.application.name plus some prefix. Is it possible right now? I couldn't find.

@Shohou ,
Seems for me you are mixing MessageChannel bean in the application internals with the external destination. As far as I see you are saying that you "want to deploy multiple times", that sounds like you really have only one compiled code base. I really don't see reason to make the channel bean name dynamically determined - it is only for internal logic. See Spring Integration for more information.
Looks like what you need is called binding in Spring Cloud Stream. That is definitely an external destination, e.g. Kafka topic, to which we bind our internal message channel. And that is already indeed can be configured in the application.properties: https://docs.spring.io/spring-cloud-stream/docs/Ditmars.RELEASE/reference/htmlsingle/#binding-properties. Seek for the:
spring.cloud.stream.bindings.input.destination=ticktock

where input is a channel bean name, and ticktock is a destination in the target binder system - Kafka topic, RabbitMQ exchange, Hazelcast topic, AWS Kinesis stream etc.
Does it make sense to you?

somehow i missed destination property... or well... its because of evolution of some ideas... anyway destination solves my problem
Thank you!


fixed issue #961 #969 #974 #983 - [closed]

In GitLab by @liyanq528 on Mar 5, 2018, 07:31
Merges 20180228 -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the API Server Coverage is  %   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the it is failed check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the API Server Coverage is  %   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the it is failed check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the API Server Coverage is  %   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the it is failed check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the API Server Coverage is  %   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the it is failed check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the API Server Coverage is  18.2%   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the API Server Coverage is  18.2%   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the API Server Coverage is  18.2%   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the API Server Coverage is  21.2%   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
closed


Finalize a functionality and the design of the nhs.portal.web

To finalize the first version of the nhs.portal.web we need to have these things done:

[x] Add Docker build
[x] Replace the logo from NHS to eHealth
[x] Replace the icons (favicon, app icons, etc)
[x] Update meta information
[x] Add MIS's pages
[x] Check the link in navbar and the sections of the site
[x] Update Map section according to the new design
[x] Select an active tab in JOIN page based on the URL hash. (eg. #manager, #doctors, .etc), to have the direct link to the active tabs from the Home page to the tab on the Join page.
[ ] #document anchor link should scroll to the top of the document's block, not to the title.
[ ] Specify link on the "Show details" in the top section of the Home page.
[ ] Specify link About us in the Navbar.

http://portal.demo.ehealth.world/
@AlekzandrV waiting for your review.


Move repository to ocaml-multicore

Before the release we should move the repository to ocaml-multicore along with dscheck and ocaml-tsan.

Done!


pma loss run

added anonymized pma loss run to config library + updated readme

@damonbogich Since, we're handling the configuration library differently, I'm closing this PR.


Publishing is now done via service account

This prevents us from running into the required pull requests instead of pushing to main, because the service account is whitelisted to push directly.

eh, i can just test it myself i guess


to_zarr(append_dim='dim0') doesn't need mode='a'

[x] Closes #3100
[x] Tests updated
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

Hello @davidbrochart! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file xarray/backends/api.py:

Line 1128:21: E126 continuation line over-indented for hanging indent

@shoyer do you think this PR can be merged?

thanks!


Add $manage_mailx boolean to control whether mailx is managed

This supercedes #141.
I wonder if $ensure_mailx and $manage_mailx are a little redundant, though obviously ensure absent is slightly different from not managing it at all.
I did add a unit test, but got some Hiera errors when trying to run the spec tests locally (would be great if someone could fix whatever is causing the Travis CI tests to fail, as it seems to be happening for all PRs; some more docs about what is needed to run tests locally would also be helpful)

@raphink thanks for feedback! Does this look better?
After I fixed one thing, the unit tests seem to be passing in the 2 I looked through, however build is exiting 1 for reasons that aren't totally clear (maybe the PENDING tests?)
BTW, some variables (e.g., $mailx_ensure) don't seem to be documented in README.md; I added this one, but didn't try to add others. It seemed like some variables were in alphabetical order while others weren't; I added mine in alphabetical order, but let me know if you want it with the other mailx-related variable ($ensure_mailx) instead. Additionally, it seems like some booleans (e.g., $manage_conffiles) don't have a validate_boolean call, not sure if that's intentional. Happy to try to do some minor doc fixes or other stuff in another PR if you want.

There was a problem with a puppet-lint plugin, but your tests look fine. I'll merge as is. I'd welcome a doc PR if you want to document the missing parameters.


"name" instead of "permission_target_name"

looks like a bug in the docs

Thanks, will be fixed in a future release.


Use without browserify

Hey guys! Anyway we can get a standalone version of virtual-dom?

download https://github.com/Matt-Esch/virtual-dom/blob/master/dist/virtual-dom.js and put it somewhere; anywhere.

@Raynos This is misleading, as that file points to 1.3.0. See #244

https://wzrd.in/standalone/virtual-dom@latest


update database cleaner to 1.7.0

Summary
Updating database cleaner ahead of upgrading this app to rails 5.1. This is due to a deprecation warning that is accounted for in newer versions of database cleaner here.
/domain @betterzega @samandmoore
/no-platform

<<domainlgtm


[Feat] spinner while result is loading

Added spinner when result is loading

Looks good to me @HarshitT00 - thank you so much for contributing! 🌷


Dollar Amount in Text Changed

I am using the WebClient getPage() method to load a page containing this tag:

$24.43

When I use the HtmlElement getTextContent() method, I get "24.431" instead of "$24.43".  Why is it being changed?

You are sure, the '$' sign is really in the source and not part of the result-item-price css class?
Looks really strange.
Any chance to reproduce your case here?

Sorry, but your code fails here with 'missing results summary' - maybe the web page has changed in
between.
can you please add some lines of code
            System.out.println(pharmacy.get(0).asXML());
            System.out.println(price.get(0).asXML());

before
            String pharmacyValue = pharmacy.get(0).getTextContent();
            String priceValue = price.get(0).getTextContent();
            System.out.println(pharmacyValue + "=" + priceValue);

and report the output.

It says that the method asXML() is undefined for the type HtmlElement.

Here are the library versions that I am using.

It says that the method asXML() is undefined for the type HtmlElement.

ups wrong spelling asXml()

  WALGREENS

  24.431

$24.43
was taken from the real browser?

Yes.

Looks like the page is in some way geoblocked. From witch country do you call the  page?

Looks like i'm able to reach the page if i use a vpn and connect from US. Will try to figure out why you see the wrong value.

The number is only wrong in some cases, but the dollar sign ($) is always removed.
I added some code to my test program to set the location so that it is easier for you.
RX_Scanner2.txt

Thanks for that, i'm really busy and i like to fix the image handling issue first. Will come back to this later.
Sorry


SPFx 1.15 - Webpack 5.x -  webpack setup doesn't support for export * as ns syntax

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
macOS
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details
browser version: Version 103.0.5060.53
SPFx version: 1.15 GA
Node.js version: 16.15.1
ESLint version: 8.18.0
TypeScript version 4.7.4
Webpack version: 5.73.0
Describe the bug / error
In my SPFx project I use the package css-tree. With SPFx 1.14 it works fine. With SPFx 1.15 GA I get a wepack error. See also https://github.com/csstree/csstree/issues/189
Which webpack plugins/parser are used in SPFx 1.15?
Where could the problem come from?
[17:28:36] Error - [webpack] 'dist':
./node_modules/css-tree/lib/index.js 8:9
Module parse failed: Unexpected token (8:9)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export { Lexer } from './lexer/Lexer.js';
| export { tokenTypes, tokenNames, TokenStream } from './tokenizer/index.js';
> export * as definitionSyntax from './definition-syntax/index.js';
| export { clone } from './utils/clone.js';
| export * from './utils/names.js';
 @ ./lib/webparts/helloWorld/components/HelloWorld.js 17:0-36 25:18-31 27:8-20 33:20-36
 @ ./lib/webparts/helloWorld/HelloWorldWebPart.js

Steps to reproduce

clone repo https://github.com/MarkusLanger/css-tree-webpack-5
npm install
npm run package:prod

Expected behavior
A package with a statement export * as ns should work with SPFx 1.15.

SPFx 1.15 (and SPFx 1.14 as well) uses webpack 4.44 to bundle sources. I've tried your repro in SPFx 1.14 and had the same error. It seems that something else was applied to your SPFx 1.14 build since on OOB SPFx 1.14 your sample doesn't work with exactly the same issue.
The problem is in the javascript parser used by webpack, acorn, it supports export * as ns starting from version 7.2.0, but<EMAIL_ADDRESS>uses version<EMAIL_ADDRESS>You can fix it by using import from esm build, which already contains compiled javascript, i.e.
import * as csstree from 'css-tree/dist/csstree.esm';

In this case, you will lose type intellisense coming from @types/css-tree, but you can kind of "restore" it by applying the below trick:
import * as ct from 'css-tree/dist/csstree.esm';
import { CssNode } from 'css-tree'; // this will work, because we import only type here

type CssTree = typeof import('css-tree');
const csstree: CssTree = ct;

export default class HelloWorld extends React.Component<IHelloWorldProps, {}> {
    public render(): React.ReactElement<IHelloWorldProps> {
      console.log(csstree);
        // parse CSS to AST
        const ast: CssNode = csstree.parse('.example { world: "!" }');
		.....
    }
}

@s-KaiNet Thank you for your detailed information. That works for me. In my SPFx 1.14 project are several other modifications (ESLint, newer TypeScript, some other compilerOptions). This configuration seems to make it possible to import in a different way.


Unable to convert ImgLib2 BooleanType image to numpy/xarray bool

imglyb does not support converting bool type images to numpy. This means that users are unable to convert masks/thresholded images into python numpy/xarray objects.
Here is a minimal example:
import imagej
import scyjava as sj

# initialize
ij = imagej.init()

# load blobs
img = ij.io().open('blobs.tif')

# threshold image w/ ops
CreateNamespace = sj.jimport('net.imagej.ops.create.CreateNamespace')

img_invert = ij.op().namespace(CreateNamespace).img(img)
ij.op().image().invert(img_invert, img)
threshold = ij.op().threshold().otsu(img_invert)

# get threshold from java
py_threshold = ij.py.from_java(threshold)

Returns the traceback:
File "/home/edward/Documents/repos/loci/imglyb/imglyb/util.py", line 149, in _to_imglib
    raise NotImplementedError("Cannot convert dtype to ImgLib2 type yet: {}".format(source.dtype))
NotImplementedError: Cannot convert dtype to ImgLib2 type yet: bool

Technically this is an imglib2 BitType.
Adding support for this conversion requires:

Implementing a converter in NumpyToImgLibConversions
Creating a link to that converter in imglyb's util.py

This runs into several challenges including:

Unsafe does not provide a getBoolean(address) method in the way it does for every other data type. Presumably you can use getByte(address) and cast? But I don't know for sure.
BitType uses a LongAccess for storage. This makes the associated infrastructure that must be implemented much less straightforward.
NativeBoolType seems like a simpler direct match for booleans but would require conversion of BitType images to NativeBoolType, and again only is reasonable if it's compatible with Unsafe.getByte(address).

At the moment we have logic to catch upsupported types and default them to float64. In the short term I think we should comment out the BitType support since it is not actually supported, and rely on the fallback support.

@hinerm It looks like NumPy bool typed images are booleans each stored as a byte, same as in Java. I.e. each element ends up being 8 bits under the hood. Therefore, as you say, NativeBoolType would indeed be the direct mapping.
For converting a BitType image to NumPy, we can use net.imglib2.converter.RealTypeConverters.copyFromTo(bitImg, nativeBoolImg), since it uses getReal/setRealDouble to do the copy, rather than get/set directly like net.imagej.util.Images.copy does.
So then the plan to implement this initially would be:

Augment imglyb to support conversion between Python bool and ImgLib2 NativeBoolType images.
Augment pyimagej's rai_to_numpy function to be smarter about types, with a new case covering conversion of BitType RAIs by allocating the new_numpy_image result as a NativeBoolType instead, and using RealTypeConverters rather than Images to do the copy.
Later down the line, consider doing something like what this SO post describes to create a NumPy image backed by 1-bit elements, and figure out if we can directly go between that and a BitType ImgLib2 image with zero copying.

I noticed this issue completely ignorant of this one, and just filed imglib/imglib2-unsafe#8


Improve preemptions

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Break out from preemptions in case of resouce is met the preemptor so that preempt pods as less as possible.
Special notes for your reviewer:
Release note:

/reopen

/ok-to-test

Repo is to be archived, for more information please see: https://github.com/kubernetes/org/issues/4200
/close


[Metadata] Implementation: Make "Read" visibility the default/unsuffixed case

#1518 was approved. This tracks implementation thereof. See design issue for details.

est: 5


Plot SeriesType.Scatter does not work

Expected Behavior

Plot SeriesType.Scatter expected to work as in sample code https://www.quantconnect.com/docs/v2/writing-algorithms/charting#05-Examples
Actual Behavior

Plot SeriesType.Scatter does not work and fails with browser console error:
ERR [Extension Host] {"success":false,"error":"Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'QuantConnect.ScatterChartPoint' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.\nTo fix this error either change the JSON to a JSON object (e.g. {"name":"val
Potential Solution

Reproducing the Problem

https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_bc14ce54f78e8b0db856a7356d04ff17.html
System Information

Chrome Latest
Checklist

[x ] I have completely filled out this template
[x ] I have confirmed that this issue exists on the current master branch
[ x] I have confirmed that this is not a duplicate issue by searching issues

[ x] I have provided detailed steps to reproduce the issue

Thank you for the report @vguruv, we will fix this asap


SideBar not showed at right side

Describe the bug
If user check "Side" mode with sidebar Op, the right bar is not displayed in the canvas zone.
But it is when the canvas is pop out.
Platform

Windows 11, standalone version 0.48

works fine for me, can you make a video?

Sorry, it works now... lt was certainly a bad resolution on my screen. Closing!


Roblox crashes with the error "Roblox Game Client has stopped working" after either exiting the game or getting teleported to a different place

https://github.com/pizzaboxer/bloxstrap/assets/90973963/39242eab-4bd0-4df8-8e45-5dc4ab68df6c

Does this happen without Bloxstrap? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

I guess is because the desktop program thing is disabled? Same happens to me when leaving game

Does this happen without Bloxstrap? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

It only happens when I use Bloxstrap

Can I see your flag list? Open the Bloxstrap menu and show the FastFlag editor. Make sure preset flags are shown too.

Do you have the desktop app disabled?

it's not disabled, how would i disable it?

Was just asking, as that's the only other thing I can really think of. Send me Roblox's latest log file from %localappdata%\Roblox\logs, I'll try and spot anything wrong if I can.

alright,
0.591.0.5910633_20230826T112759Z_Player_DA5CD_last.log

You sure you didn't disable the Desktop app? Show me what the option is set to, it's in the Mods tab of the Bloxstrap Menu.

It is disabled

it's not disabled, how would i disable it?

???

I thought you were referring to something else (I woke up 5 minutes ago when you said that)

okay i actually didn't know disabling it would cause the crash so that's my bad
https://github.com/pizzaboxer/bloxstrap/assets/90973963/b6487753-38ce-4713-a925-823ae4d2a517


Auto download index

Instead of showing that error "you don't have an index blahblah"

You mean on the Discover activity? I decided it to be this way for two reasons:

The user might be using a data connection rather than being connected to a network. The index is ~1MiB, undesirable in some cases.
I thought that perhaps it would be a bit intrusive if the user got in the activity and suddenly saw a pop-up saying "Downloading index…". This dialog is cannot be canceled either.

Counter-arguments? Advantages/disadvantages?

Ok, that makes sense.
Now, the vanishing nature of a toast makes it not user friendly, can you add some text to that white empty view if no repos are downloaded, say "Repo index not dowloaded use the sync icon above" ?

the vanishing nature of a toast makes it not user friendly

I have to agree on that.

can you add some text to that white empty view

That is a way nicer way to fix this problem. Will do I fix some other issues.


(PRQ-2022) Istio

istio values overrides for datadog

Whats a good way for me to test this if any?

Would it make more sense for these changes to belong in https://github.com/motorefi/refi-datadog?


Corrupt Pre-trained Models

Hi,
It seems like the tar files in the Google drive are corrupt - I am unable to extract them. Are you able to look into this?
Best,
Andrew

Oops - nevermind, I realize I need to load the file with torch. Thanks!


Energy traversal service gets cloned

speed_grade_energy_model_builder.rs has a service defined inline with the builder; in total, the chain looks like this:
SpeedGradeEnergyModelBuilder (1)
|
SpeedGradeModelService (2)
|
SpeedGradeEnergyModelService (3)
|
SpeedGradeModel (4)
there's an extra layer there. in the process, we end up cloning SpeedGradeModelService (2) each time we build the SpeedGradeModel, which now means cloning the hashmap of prediction models (cloning the speed lookup table is ok, that is cloning an Arc).
the cloning is likely leading to longer runtimes as each query creates a clone. this should be rewritten so that no cloning is needed.

i think our problem here is that we in fact do need 4 layers to a traversal model:

builder at the top, an empty struct, builds a service
engine loaded once, may have heavyweight dependencies, tables, prediction models, whatever
service holds a persistent Arc<Engine> and builds a model by cloning the engine
model implements TraversalModel and holds an Arc<Engine> that lasts the duration of a search query

whatever we name (2), i think we actually need this much. a builder lives only at the top of the application and is stateless. a service lives as long as the application after initialization with the CompassApp holding a reference to it, but there is some final delayed initialization that comes from calling build on the service which gives us a model. it's function is to keep a reference to the persistent object with the heavyweight dependencies and then provide a method for the final build phase. so, maybe that sets it apart from being an engine, which is that object with heavyweight dependencies.

Yeah this brings up a good point. Could we just let the traversal model handle the details with respect to dealing with the heavyweight assets? The TraversalModel trait could require a new method, initialize_from_query or something that takes a json query and then returns a clone of itself in which it modifies the cheap things (like energy cost coefficient) and does an inexpensive arc clone of the large items (like speed tables and prediction model hashmaps). Then, we would just need a builder and a traversal model which might cut down on the complexity a bit.

Could we just let the traversal model handle the details with respect to dealing with the heavyweight assets?

but what is the type that results from initialize_from_query? either it is different than whatever it's being called on, because it's possible we will scrape some details off the query and append it to the persistent object. or, we need to add a bunch of optional fields, by default set to None that will be replaced later. but that has a code smell to me, like it's mimicking OO in FP.

struct MyTraversalModelService

struct MyTraversalModel {
  service: Arc<MyTraversalModelService>,
  energy_coef: Option<f64>
}

impl MyTraversalModel {
  fn initialize_from_query() -> Result<MyTraversalModel, Error> {
    // sets the `Option<f64>` to `Some(value)` here
  }
}

ah, here: if we want to know if a TraversalModel like this is fully prepped for a query, we have to inspect all of it's fields. we actually need to know a lot about the implementation, in case some fields can be left optional. but, if we separate TraversalModel from the persistent "engine-y" bit, we always know that, if we have a TraversalModel, it has been fully initialized.

if we separate TraversalModel from the persistent "engine-y" bit, we always know that, if we have a TraversalModel, it has been fully initialized.

yeah that makes sense and is good justification for separating them.


Remaining changes

@brightche please take a look

Please solve the conflict. Please squash

@brightchen Can you please confirm the required commits?

I don't have any idea what you changed. I was asked by you to get source code from your repository.
Following is the log, it maybe helpful for you:
commit 72bae0eb737c0f7e1761712a99defae37e7f5412
Merge: 47b895b b452690
Author: brightchen<EMAIL_ADDRESS>Date:   Wed Jul 13 17:28:14 2016 -0700
Merge branch 'master' of github.com:sandeshh/streaming-benchmarks into mergeSandesh

commit b45269091656e32cc65555339beecbd4fcf9bf7d
Author: sandeshh<EMAIL_ADDRESS>Date:   Wed Jul 13 17:15:03 2016 -0700
changes 2

commit 47b895b0b55a296c67aacc9be7a499c11b58ad60
Merge: 6f54bd3 9bafdb0
Author: brightchen<EMAIL_ADDRESS>Date:   Wed Jul 13 16:53:06 2016 -0700
Merge branch 'master' of github.com:sandeshh/streaming-benchmarks into mergeSandesh

commit 9bafdb094371dd921a597129e8a11a714c74b0c0
Author: sandeshh<EMAIL_ADDRESS>Date:   Wed Jul 13 16:39:19 2016 -0700
changes


components++: ActionSheet

1 add actionsheet component;
2 update popup style, so that it can be better used in other component;

Coverage decreased (-0.02%) to 65.127% when pulling 3a5bc2813a3efd1c72f8110abc6ea479ca925828 on whatwewant:dev-rn into debf931a26bf150c6d40eb9fd1a654a572f712aa on ZhonganTechENG:dev-rn.


Floating Button is hidden when setting IsEnabled="False"?

Floating Button is hidden when setting IsEnabled="False"?

I will try to take the time and investigate it soon.

Try to check


Prompt when flight is not biddable anymore

Is your feature request related to a problem? Please describe.
When bidding is enable, and multi bidding is disable; there is no UI feedback on why a certain flight is not biddable by user.  This causes confusion to new comer.
Describe the solution you'd like
Add/remove bid icon should turn red. When user click on bid it should prompt this flight is no longer available.
Describe alternatives you've considered
By default hide flights that are no longer available (biddable). Supply a toggle button to make them visible.
Additional context
Suggested UI change.

What about hiding the bid icon/button if the flight is not available ? It will be much easier compared to changing the color of the icon with some more logical checks.

What about hiding the bid icon/button if the flight is not available ? It will be much easier compared to changing the color of the icon with some more logical checks.

Hiding works but there needs to be a way to unhide. Many times users likes to know what are all the flights configured in a VA.

I am talking about hiding the bid button/icon if that flight is already
bidded by someone else.
Not talking about hiding the flight itself, so users will be able to see
the flight but the bid icon/button will not be there.
On 30 Apr 2021 Fri at 13:46 Sims Smith @.***> wrote:

What about hiding the bid icon/button if the flight is not available ? It
will be much easier compared to changing the color of the icon with some
more logical checks.
Hiding works but there needs to be a way to unhide. Many times users likes
to know what are all the flights configured in a VA.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nabeelio/phpvms/issues/1160#issuecomment-830009890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXKVMIPVMZARBMW2J7H4F3TLKDCDANCNFSM4326XHLA
.

--
B. Fatih KOZ
Sent from mobile device / Mobil cihaz ile gonderildi.

I think #1580 closes more or less this one
When the add bid doesn't work it displays an alert with the error message of the exception return by the api.
We can maybe do a PR to add the red color on the button but if we just want the alert that's already done.
https://github.com/nabeelio/phpvms/pull/1580/files#diff-ceed2f8498467aabda8ef043837bc0ad365751696a5c27891b4747f5c05ee013R84-R86

@arthurpar06 What I was thinking for this was including info in the api response of if it's already been bid on or not. Then an alert box to show the user

@nabeelio When a bid already exists the api returns a 409 error with the message A bid already exists for this flight (BidExistsForFlight Exception) and then the code I mentionned above will display an alert saying "Error adding bid: a bid already exists for this flight"

Ah, awesome. @FatihKoz does that work for you?

Why not, as long as it is understandable and readable by anyone I am ok with it :) And I assume it will follow v7 settings and allow multiple bids for a flight according to va settings.

it only displays the error message returned by the api (if it returns one) so it supports multiple bids depending on the va settings and all other settings we have related to bids


Data directory setting

I know it's not just simple config file change but also moving the data dir after apt package install, but do you have any plans to support that?
I'll try to do that but and submit PR but I'd like to let you know in case someone is already working on this.

I just checked and this is what I ended up with few months ago:

I can't remember now if this was enough or I just abandoned the thing (most probably it's not 100% solution)

@teamon Thanks this was helpful :+1:


Add new dataset

Hi, can you add this dataset, which we have published: https://arxiv.org/abs/2303.09797

Hi! Thanks for the dataset suggestion. I've added it to the project. Appreciate your contribution!


Folding

From the Bifunctor, it seems a Promise has two states:

Error value
Successful value

I would like to "run" a Promise and act on each state:
/* forall x. */ Promise.of(x).fold(a => false, b => true) == true
/* forall x. */ reject(x).fold(a => true, b => false) == true
never.fold(a => true, b => true) == undefined

Hey @puffnfresh.  I'm having trouble wrapping my head around use cases of it for a few reasons.  Do you have any in mind that you can share?
Where I'm getting hung up is it seems fold for any non-settled promise would need to return undefined (like your never example).  E.g.:
delay(1000, 'delayed').fold(a => true, b => false) == undefined

That seems to imply that folks would often find themselves wanting to call isSettled before using .fold.  Or perhaps it makes the type more like fold :: Promise e a ~> (e -> b) -> (a -> b) -> Maybe b. Do you have any thoughts on other ways it could work?
Creed promises aren't lazy, since one of the original design goals was to be ES-Promise compatible while also implementing Fantasy Land. So, fold wouldn't so much "run" the promise, as synchronously observe it's state at the instant of call (which may be why you quoted "run" in the first place).
Is that what you have in mind?

Yes, I wasn't thinking right - it should always return undefined. I want to use this for performing side-effects.

No, a promise has more than two states. It's not Either. It just allows to bimap over two of those states.
fold (like you described it) cannot return a b, as the e and a values will only be available asynchronously. At best, it could return a Promise Void b.
I still don't see your use case. Why not simply use .then(val => true, err => false)?

Thanks @puffnfresh.  I think @bergus's question about .then is valid.  People tend to use then for side-effects, but I'm interested to hear why you'd prefer an undefined-returning fold over ES then.
Thinking about it myself, I can imagine a few potentially interesting things about fold (I'm not sure all of these are actually good things, but they're at least interesting)

The fact that it returns undefined is a reasonably clear signal of intent: you're going to consume the final error or value, and cause a side-effect.
Because fold wouldn't return another Promise, the caller is assuming responsibility for any failure.  An exception that escapes a function passed to fold could be made fatal (simply by creed's machinery not catching it and letting it hit the VM).
The argument ordering is like bimap, further making then the outlier.
Making the arguments required means you have to explicitly ignore the error by providing a function that squelches it.

Any thoughts on those?

@briancavalier yeah, those are pretty much my thoughts.
Particularly the first one, if I want to do side-effects, I don't want to have a value.

It looks like there's some precedent for an operation named fold in fluture and folktale, which in creed's case would return a Promise.
So, maybe we actually want 2 operations here:
Map either side of the promise to a new fulfilled promise:
Promise e a ~> (e -> b) -> (a -> b) -> Promise e b

Consume either side of the promise and perform side effects:
Promise e a ~> (e -> b) -> (a -> b) -> undefined

Any thoughts on those two, and why we'd favor the name fold for one over the other?  And what would we call the other?

FWIW, I'm still in favor of at least the "perform side effects and return undefined" function.  I'm possibly in favor of the "map error or value to fulfilled" function, but seems harder to envision use cases for it.

Here's a proposal:
when :: Promise e a ~> (e -> f) -> (a -> b) -> undefined

fulfill(x).when(e => console.error(e), x => console.log(x)) === undefined // logs x
reject(e).when(e => console.error(e), x => console.log(x)) === undefined // logs e
never().when(e => console.error(e), x => console.log(x)) === undefined // doesn't log, ever

when():

Calls the first function when the promise rejects, and the second when it fulfills,
Discards the result of calling either function
Does not catch exceptions thrown by either function (since they're called asynchronously, these will be fatal, i.e. they'll crash Node.

Note that if either function returns a rejected promise, creed's existing unhandled rejection machinery will make that rejection fatal as well (since it's discarded and no one can ever handle it)


Delete lobby and users if leader closes lobby

tried with closing tab but was wierd with window.onbeforeunload


Trademark "Hack Club"

Create first draft of our trademark application.

Any updates on this @gemmabusoni?

Ooops, I closed this by accident!

Pinging @gemmabusoni again.
On Tue, Aug 18, 2015 at 11:46 AM, Jonathan Leung<EMAIL_ADDRESS>wrote:

Ooops, I closed this by accident!
—
Reply to this email directly or view it on GitHub
https://github.com/hackedu/meta/issues/33#issuecomment-132315100.

--
Zach Latta
hackEDU |<EMAIL_ADDRESS>

@zachlatta, do you think we need to file a trademark on Hack Club? Should we just do it to be safe?

Unassigning gemma from the issue because it seems that @zachlatta would probably be the person taking lead on this.

Renamed the title of this issue to update its relevance.

@zachlatta Do you know if our application was ever submitted?

It hasn't been yet.
--
Zach Latta
Hack Club |<EMAIL_ADDRESS>On Jan 11, 2016, 6:27 AM -0800, Max<EMAIL_ADDRESS>wrote:

@zachlatta(https://github.com/zachlatta)Do you know if our application was ever submitted?
—
Reply to this email directly orview it on GitHub(https://github.com/hackclub/meta/issues/33#issuecomment-170566769).

Going to remove the discussion tag because it seems like we're going to do it.

Lawyer is handling trademark application, just blocking on them now.

@zachlatta Any updates on this?

Paperwork filed, waiting blocking on the United States Patent and Trademark
Office
On Mon, Mar 27, 2017 at 7:32 PM, Max Wofford<EMAIL_ADDRESS>wrote:

@zachlatta https://github.com/zachlatta Any updates on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hackclub/meta/issues/33#issuecomment-289644401, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA8j-Lit9mn5uhH2cPQ0FjDotGPqFiwYks5rqHEygaJpZM4EAcl8
.

--
Zach Latta
https://zachlatta.com http://zachlatta.com

This issue was moved to hackclub/hackclub#1010


Only accept 2..36 as Number.toString() param

lib Update Request
PR: #42347

Missing / Incorrect Definition
Number.prototype.toString() should only accept numbers between 2..36 inclusive.

Sample Code
(99).toString(99), this will throw RangeError.

Documentation Link

This is going to be a breaking change in a nonzero number of places and just seems like an incredibly difficult mistake to make. This isn't worth the churn on our side or anyone else's.

This is going to be a breaking change in a nonzero number of places and just seems like an incredibly difficult mistake to make. This isn't worth the churn on our side or anyone else's.

Ok fair enough.

Ok fair enough.


fix(event): addEventListener set passive option to false by default

When I bind the wheel event to the input, and then call e.preventDefault() to prevent the default event under certain circumstances, a warning message will appear on the console.

example

What you want is @wheel.prevent. See https://vuejs.org/guide/essentials/event-handling.html#event-modifiers

No, the prevent modifier will prevent all default behaviors, but the scenario I need is to prevent the default behavior under specific conditions. You can check out the example I provided above.

/ecosystem-ci run

I'm not sure if I understand your problem, in what browsers are these warnings shown? I can't reproduce them.

It can be reproduce on both chrome and edge. You should click on the Show console sidebar icon and then select verbose as shown below:

From my understanding:

You either make the event passive (which means you can't preventDefault())
Or you preventDefault() on the event which is not passive (and get the warning)

So the point of this PR is just to suppress the warning but the code is still doing what it warns you against. If that's the case, I don't think this PR makes sense. Vue should not default to hiding meaningful warnings.

Yes, the above modifications are only for handling warning messages.
For this scenario, if I want to solve this warning message, then I can only manually bind the event el.addEventListener('wheel', fn, { passive: false }) myself, and cannot rely on Vue's event binding mechanism to solve it (it seems there is no way to set passive: false).


The terminal displays "The system cannot find the path specified" when I try to use the wsl command

Windows Version
Microsoft Windows [Version 10.0.26100.2605]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
Type wsl --install or any wsl command in the terminal. (I have windows subsystem for Linux installed in the windows features)
Expected Behavior
The command does something.
Actual Behavior
"The system cannot find the path specified" is displayed.

Diagnostic Logs
No response

WslLogs-2024-12-28_11-24-35.zip

Just reinstall WSL. Download MSI Installer from here and install it.

Indeed it looks like WSL is in a bad state. @willyblah: Does installing https://github.com/microsoft/WSL/releases/download/2.3.26/wsl.<IP_ADDRESS>.x64.msi manually solve the issue ?


Publish on packagist.org

We should also let Harvest know that there's a new client library, see https://help.getharvest.com/api-v1/introduction/overview/libraries-samples/ for v1.

🚢 https://packagist.org/packages/wearerequired/harvest-api-php-client


Similarity between module and let in / where.

I think that it is possible to think of let in / where as an anonymous module, that is immediately exposed to local scope and vice versa.
Thus one of them can be replaced with the other.

Yes, they are.
x =
  foo = 1
  bar = 2

(foo = 1, bar = 2) is anonymous record but with in
x =
  foo = 1
  bar = 2
  in
  foo + bar

this record is exposed to foo + bar expression.


"Uncaught TypeError: Cannot read property 'loadJSON' of undefined" at start

Started after system reinstall. Logs are filled with
[0817/103559:INFO:CONSOLE(9)] "Uncaught TypeError: Cannot read property 'loadJSON' of undefined", source: https://<bitrix-domain>/bitrix/js/prostiezvonki/pz.js (9)
[0817/103559:INFO:auth_client.cc(177)] Successful auth

The GUI itself is white screen even if started with --disable-seccomp-filter-sandbox.

The problem went away on its own ._.


Refactor cashAddr conversion

Remove inline JavaScript
Load JavaScript at the end of the body
Add comments

tested, seems working


Change from Docker Hub to AWS ECR

GOV.UK containers are already being built and pushed into our own AWS
ECR (see #149 and #158).
This PR involves changing the code base so that the task definitions
refer to the images in the AWS ECR rather than Docker Hub.
Other work include:

giving permission to the test environment to pull from the AWS ECR in
production
creating a concourse user which is able to pull from AWS ECR so that
concourse can monitor new container versions and automatically deploy
them

Some caveats:

for content-store and publishing-api, we were using special versions
for our ECS environment. Therefore, we have pushed these container
versions from Docker Hub to AWS ECR. Hence, if these versions are
modified, these container images will have to be updated manually.
(see
ecr manual)

Ref:

trello card

Thanks for sorting this out btw! Will be awesome to have this working.


900 single member group display

Solves 900. Removed the code to add lists of members when group names are shown in the results view and the submissions table.

@Eitredes Thanks, I think you may have misunderstood me, but I used your first commit to great success.


Xiaomi Air Purifier 4 Compact

I just took this one apart, and it looks promising. The board varies from your picture only slightly, and uses an ESP-WROOM-32D.
Before I do anything else, maybe I should try to extract the stock firmware on the chip?  I have only flashed such chips before, so, if you are interested in it, would it be something like this: https://cyberblogspot.com/how-to-save-and-restore-esp8266-and-esp32-firmware/?

So, I finally got around to downloading the original firmware on the device using epstool.py.  Attached is the firmware
esp32_firmware.tar.gz

I have already flashed it, but there are problems. I was using a fork of this code, but the ESP32 board just keeps crashing.

Can you share a log?

Sure:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun  8 2016 00:22:57

sorry for never answering, i was busy doing other work :/ were you able to find a solution?

stale

Sorry, got tied up in other things. It looked to me like the chip might have been locked down, so I desoldered it to put in another one. Unfortunately, the binary doesn't flash successfully to a new chip. I have an ESP32-WROOM-32D in one of these things, so it is easy flash. Is there a binary to test?

@jds11111 did you manage to flash your firmware back ? I also have this model, I'd be happy to have your feedback and give your help if needed

Naw, I sort of quit. I realized that there was not too much need to connect it. Maybe later this summer, when I have free time.


'create-release' fails when path to release folder contains symlink

Hello,
I believe there is a bug in the BOSH CLI tool version 5.0.1-2432e5e9-2018-07-18T21:41:06Z and in the newer versions as well.
Here is what we do:

Navigate to the folder where we have our BOSH release that we are trying to create.
cd /home/apama/cloudfoundry/repos/cf-apama/cf-Apama
Note that /home/apama/cloudfoundry is symlink to another folder:
/home/apama/cloudfoundry => /FS/fslocal/cloudfoundry

Execute the following command: bosh2 create-release --name cf-apama --force

The expected output is to successfully generate new release. However, what we get as output is this failure:
Building a release from directory '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama':
  - Constructing packages from directory:
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/Zementis':
          Collecting package files:
            Missing files for pattern 'Zementis/Zementis.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/apama':
          Collecting package files:
            Missing files for pattern 'apama/apama.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/apama_broker':
          Collecting package files:
            Missing files for pattern 'apamabroker/apamabroker.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/apama_common':
          Collecting package files:
            Missing files for pattern 'apamacommon/apamacommon.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/apama_security_manager':
          Collecting package files:
            Missing files for pattern 'apama-security-manager/apama-security-manager.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/apama_server':
          Collecting package files:
            Missing files for pattern 'apamaserver/apamaserver.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/broker':
          Collecting package files:
            Missing files for pattern 'broker/common-servicebroker.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/common':
          Collecting package files:
            Missing files for pattern 'common/common.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/common_cfc':
          Collecting package files:
            Missing files for pattern 'common_cfc/common_cfc.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/google-oauth':
          Collecting package files:
            Missing files for pattern 'oauth/google-oauth.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/icons':
          Collecting package files:
            Missing files for pattern 'icons/*'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/java8':
          Collecting package files:
            Missing files for pattern 'java8/jvm-1.8.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/jetty':
          Collecting package files:
            Missing files for pattern 'jetty/jetty-jersey.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/jnats':
          Collecting package files:
            Missing files for pattern 'jnats/jnats.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/passman':
          Collecting package files:
            Missing files for pattern 'passman/common-passman.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/plans':
          Collecting package files:
            Missing files for pattern 'plans/*'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/scg':
          Collecting package files:
            Missing files for pattern 'scg/scg.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/server':
          Collecting package files:
            Missing files for pattern 'server/common-serviceinstance.tar.gz'
      - Reading package from '/home/apama/cloudfoundry/repos/cf-apama/cf-Apama/packages/um':
          Collecting package files:
            Missing files for pattern 'umlib/umlib.tar.gz'
  - Constructing jobs from manifest:
      - Expected to find package 'java8' since it's a dependency of job 'apama_broker'
      - Expected to find package 'java8' since it's a dependency of job 'apama_server'

Exit code 1

The full strace output for this failure can be found here. The above mentioned error message can be found here. Please have in mind that the gist page contains 2 files and the upper one contains the error.
We observed that there is no problem to generate new release when we navigate to the release folder but without using symlinks:

Navigate to the folder where we have our BOSH release that we are trying to create.
cd /FS/fslocal/cloudfoundry/repos/cf-apama/cf-Apama
This time the folder path contains no symlinks.

Execute the same command as before: bosh2 create-release --name cf-apama --force

In this particular use case we see the following output:
Added dev release 'cf-apama/<IP_ADDRESS>+dev.8'

Name         cf-apama
Version      <IP_ADDRESS>+dev.8
Commit Hash  17e004d+

...jobs and packages are omitted...

19 packages

Succeeded

The full strace output of the successful execution can be found here.
We confirmed that the release generation fails even for very simple releases, e.g. @mariash's learn-bosh-release if there is symlink involved somewhere in the path to the release folder.
The BOSH CLI versions that we tested were 5.0.1 and the latest released 5.1.2. They both fail when we try to generate release with symlink in the path to the release folder. The issue is not observed with BOSH CLI version 2.0.28.
Could you please confirm whether or not this is a bug or expected behavior? In the latter case, is this behavior documented somewhere? Thank you!
Regards,
Ivan Davidov

We believe this has been fixed by https://github.com/cloudfoundry/bosh-cli/commit/5f5f3d55c0c5160517cfa408dddfefefc9239994 as part of this story: https://www.pivotaltracker.com/story/show/159641167.
Try using the latest CLI (currently 5.1.2) which contains the fix and re-open this if it's still an issue.
Best,
@belinda-liu & @luan, CF BOSH

The latest released version of the BOSH CLI is from 17-Aug-2018 (you can check here) and the commit you refer to seems to be from approximately 20-Aug-2018. I am not that good at math but to me it seems there is no way the fix could have been applied in the 17-Aug version of the BOSH CLI tool. Besides, in our team we already tried the 5.1.2 version and the issue is there.

You seem pretty good math, to me. Sorry for the confusion; the fix has not yet been included in a release. We'll keep this issue open until the release if you want to use it to track. Shouldn't be too long.

Hey @ivandavidov, we just released another version of bosh-cli yesterday, v5.2.x which should resolve these issues. Please re-open this issue if it continues to be a problem.


inline result unreadable in light syntax themes.

I'm using the One Light Syntax Theme and inline results still end up printed in dark in a dark box.

I took a look at this and it's all styled by Atom ink. The latest code on master looks like it's doing the right thing https://github.com/JunoLab/atom-ink/blame/master/styles/ink.less#L90 That current release of Atom ink sets the background using some other value. The next release of ink should fix the problem. In the meantime you can add the following to you Atom styles.less which seems to fix the problem
div .ink .tree  {
  background: contrast(@syntax-background-color,
                             darken(@syntax-background-color, 4%),
                             lighten(@syntax-background-color, 4%))
                    !important;
}


fix npm start according https://github.com/webpack/webpack/issues/3645

Hi, I ran in this issue#14 and made a pull request of it.
See here for more informations about webpack upgrade
Please let me know if I can help.
Thanks for your work !

thanks @Ugarz


update goroutine panic wrong stack text formate.

Similar to the native panic error output format, the error message of the panic and the corresponding function stack of the panic are output in a separate line, which is more intuitive.

thanks


Lefty/righty copy/paste errors

calculate_splits.py is riddled with copy/paste errors; particularly I noticed these in lines 27-34.  I'll submit a pull request with this fix as well as a fix for the divide-by-zero issues I've been getting.

Never mind, ignore this one.  I misunderstood the code.


I would like to contribute

Hello 👋
I would like to contribute to this project.
I can help creating screens, components or styling them.
Another way could be adding a tool for static code analysis.
Looking forward to help. Thank you!

Hi @beatrizrezener !
Thanks for your interest in contributing to this project. I'm creating an issue for you right away.

What about this issue #6 @beatrizrezener ? Lets do it?

Hi @tiagostutz, I would also like to contribute to this project.

Hello @tiagostutz, I couldn't help on #6, but I'm excited that styled components have been chosen.
I have more time this week, would it be possible to get a new issue?

Absolutely, @beatrizrezener !
@bearcub3 would you like to open that issue about building the tests for the events of the cards?
If you don't have time to do, I can create the issue. But if you want to do so, go on.

@tiagostutz If you don't mind, yes please do so. I will take the other test issue and rework the previous one based on your comment tomorrow.  Cheers!

Sure, @bearcub3 ! I got this. Thanks a lot! =)
@beatrizrezener I'm working on your issue today and will let you know when its ready.

Hi there @beatrizrezener .... first of all: I'm really sorry for the delayed.... I got a bit desorganized here and couldn't open another issue for you in the expected timing. Sorry for that.
I was thinking whether you would like to help @rafamarts on #4 . I mean, I created an over-sized issue and maybe if you could give him some help we could end this over-sized issue before the code becomes too outdated to be merged. If you think that's a good option, we can discuss in #4  what's the best way for you to help with.
What do you think?

Hi, Thiago!
Sure! If he tells us that I can help with something, I can contribute with that.

Hi @beatrizrezener ! ☀
What do you think about offering a helping hand to finish @bearcub3 work in #13 by the PR #14 ?

Hello, @tiagostutz! Unfortunately I will need to stay a week away, starting tomorrow. If when i return the issue is still open, I will be happy to collaborate!

That’s ok! Thanks for your valuables contributions here.!
When you come back, wave your hand and will see if this or other issue needs help. ❤
Best regards.! 🙏🏻


Update chart on new data

Hi, is there an option to update the whole chart based on new data?
Something like chart.updateData(newData)
For example
updateData: function (newData) {
const attrs = this.getChartState();
// Reassign data
attrs.data = newData;
const updateNodesState = this.updateNodesState.bind(this);
// Update state of nodes and redraw graph
updateNodesState();
return this;
};
I know you are working on this project mostly for free, I have mentioned this feature more as a suggestion than as a request.
And to find out if the feature exists and I somehow haven't seen it.
Thank you.

Hi, have you tried
chart.date(newDate).render()?

That's it, chart.data()... It was too easy to spot, that's why I haven't seen it. :)
Thank you, sorry for bothering you.

No problem, I am sure this question will be helpful to someone


Make compatible with .nvmrc files?

For a Node.js project which has developers using both nvm and fin, it seems redundant to have both a .nvmrc and a .finrc file. Thoughts about making fin compatible with .nvmrc files?
The obvious issue is that fin's lts / latest aliases differ from nvm's stable / unstable / node / iojs aliases; I'd be ok with having fin fail silently if it finds an nvm-specific alias, I only ever put specific Node versions in .nvmrc files anyway.

TODO

[ ] Read .nvmrc files.
[ ] Read .node-version files.

@elliottsj I would be okay with making fin more compatible with nvm. I'll add support to .nvmrc in the next release.
WRT to nvm aliases, we could support some or as you say, fail silently, since some of them exist just for historical reasons.

Would it be possible to configure the name of the version file? At my work we use https://github.com/wbyoung/avn which uses a .node-version file rather than .nvmrc.

@jamesmoss I think we could make fin support all three of them without much penalty checks. The check order would be .finrc > .nvmrc > .node-version.

That would work for us.

Perfect. I'll ping you as soon this is done.

👍 to this

fin now searches for any existing, non-empty, .finrc, .nvmrc or .node-version file to version switch, and in that order. If none is found, it uses the currently selected node version, .eg., fin 6.0.0 if there is any available.