Fix late static bindings

We use Illuminate\Container\Container and it lives outside of Roots code.
Without this PR, we get:
Fatal error: Uncaught TypeError: Argument 1 passed to Foo\{closure}() must be an instance of Roots\Sage\Container, instance of Illuminate\Container\Container given, called in /srv/www/example.com/current/vendor/illuminate/container/Container.php on line 726 and defined in /srv/www/example.com/current/web/app/themes/foo/app/setup.php on line 113
(Code from here: https://github.com/roots/sage/blob/master/app/setup.php#L113 )
The reason this happens is that there can only be one global instance of Illuminate\Container\Container. If \Roots\Sage\Container is indeed supposed to be different than Illuminate\Container\Container then it needs to override $instance to fix late static bindings.
@see http://php.net/manual/en/language.oop5.late-static-bindings.php
Thank you for your consideration.

Option B, this code:
https://github.com/roots/sage/blob/master/app/setup.php#L113
Should accept  Illuminate\Container\Container (class) or \Illuminate\Contracts\Container\Container (interface)

Hi, is this something you'll consider for merge? Anything we can do?


Support Behaviors and related data

Adds CLI to run actions, and adds actions to create IdentityX behavior elements
Adds support to the Omeda API client for Brand Behaviors, Actions, Categories, and Attributes.
Adds Brand Behavior repos for the same
Expands sync logic for brand comp data for use with behavior data
Support displaying and updating customer behaviors via the rapid identification mutation

 Utilize Behaviors for tracking verification status in Omeda


[SPARK-1600] Refactor FileInputStream tests to remove Thread.sleep() calls and SystemClock usage (branch-1.2 backport)

(This PR backports #3801 into branch-1.2 (1.2.2))
This patch refactors Spark Streaming's FileInputStream tests to remove uses of Thread.sleep() and SystemClock, which should hopefully resolve some longstanding flakiness in these tests (see SPARK-1600).
Key changes:

Modify FileInputDStream to use the scheduler's Clock instead of System.currentTimeMillis(); this allows it to be tested using ManualClock.
Fix a synchronization issue in ManualClock's currentTime method.
Add a StreamingTestWaiter class which allows callers to block until a certain number of batches have finished.
Change the FileInputStream tests so that files' modification times are manually set based off of ManualClock; this eliminates many Thread.sleep calls.
Update these tests to use the withStreamingContext fixture.

Test build #27577 has started for   PR 4633 at commit e5d3dc4.

This patch merges cleanly.

Test build #27577 has finished for   PR 4633 at commit e5d3dc4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27577/
Test PASSed.

Since this backport passes tests, I'm going to merge it to branch-1.2 (1.2.2) to see if this reduces flakiness there.


[New] Print the version is going to be installed

For user experience enhancement/improvement
before:
$ nvm i 7
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v7.0.0 (npm v3.10.8)

$ nvm i 5
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v5.12.0 (npm v3.8.6)

after:
$ nvm i 7
Start to download and install node v7.0.0
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v7.0.0 (npm v3.10.8)

$ nvm i 5
Start to download and install node v5.12.0
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v5.12.0 (npm v3.8.6)

Oops ... @ljharb do you have any suggestion about how to fix this?

@ljharb thanks for your review, may I have some hints about the output part? Thanks again.

@PeterDaveHello open the test files in question, look for the "EXPECTED_OUTPUT" variables, and add your new expected output

@ljharb thank you so much! After tracing the code you mentions, it became much more clear, maybe we could also improve the expected and got error message to make it much more human readable in future  😄

Should be good now, waiting for the CI test!

@ljharb all done!


Documentation doesn't match config file

I've been playing around with software-mentions with some success. I'd like to use the scibert fine-tuned model, but the documentation doesn't match what appears in the config.yaml file.
The documentation says to use:
model:
  name: "software"
  engine: "delft"
  delft:
    architecture: "scibert"

But the config file contains a models: section. I've tried:

Removing the models: section entirely and replacing it with what's in the documentation.
Leaving all models intact but changing only "software" to use scibert.
Changing all models to use scibert.

In all cases I get errors saying the model can't be loaded.

Hi @mpfl
Thanks for the issue.
Indeed the name of the base tranformer model needs to be indicated in the config. file in the latest version, I update the documentation right now. The line transformer: "allenai/scibert_scivocab_cased" need to be added for the models in the config under the deflt: block.
For example, my config file with all the scibert fine tuned models (the ones automatically donwloaded with ./gradlew installScibert) is as folllow:
models:
  - name: "software"
    #engine: "wapiti"
    engine: "delft"
    wapiti:
      # wapiti training parameters, they will be used at training time only
      epsilon: 0.00001
      window: 30
      nbMaxIterations: 1500
    delft:
      # deep learning parameters
      #architecture: "BidLSTM_CRF"
      #useELMo: false
      #embeddings_name: "glove-840B"
      architecture: "BERT_CRF"
      transformer: "allenai/scibert_scivocab_cased"

  - name: "software_context"
    engine: "delft"
    delft:
      #architecture: "gru"
      #embeddings_name: "glove-840B"
      architecture: "bert"
      transformer: "allenai/scibert_scivocab_cased"

  - name: "software_context_used"
    engine: "delft"
    delft:
      #architecture: "gru"
      #embeddings_name: "glove-840B"
      architecture: "bert"
      transformer: "allenai/scibert_scivocab_cased"

  - name: "software_context_creation"
    engine: "delft"
    delft:
      #architecture: "gru"
      #embeddings_name: "glove-840B"
      architecture: "bert"
      transformer: "allenai/scibert_scivocab_cased"

  - name: "software_context_shared"
    engine: "delft"
    delft:
      #architecture: "gru"
      #embeddings_name: "glove-840B"
      architecture: "bert"
      transformer: "allenai/scibert_scivocab_cased"

Also note that the scibert fine-tuned models are the default ones used in the Docker image.

So very sorry, I forgot to update the documentation regarding the yaml config for the latest version (which has quite a lot of changes regarding the deep learning models to match the new DeLFT release with the support of TensorFlow 2.* and HuggingFace).
Normally it is now updated to match the latest version of the module (including the new context classification models). It remains complicated to run because of the required python deep learning libraries, but not impossible :)
Note that the docker image is up-to-date and reliable if you want to simply run the tool and explore its default functionalities.


Cannot import compute environment from file when Labels are included

As the title says when I am trying to make a compute environment via
tw compute-envs import -n test1 test-no-label.json
everything is ok
New AWS-BATCH compute environment 'test1' added at [ClearNote_Health / discovery-pipeline-prod] workspace
however when I am trying to use a pre-existing resource label
tw compute-envs import -n test1 test.json
I get the following error
java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to io.seqera.tower.model.LabelDbDto
	at java.base@17.0.8/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base@17.0.8/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
	at java.base@17.0.8/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base@17.0.8/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base@17.0.8/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
	at java.base@17.0.8/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base@17.0.8/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
	at io.seqera.tower.cli.commands.computeenvs.ImportCmd.exec(ImportCmd.java:68)
	at io.seqera.tower.cli.commands.AbstractApiCmd.call(AbstractApiCmd.java:413)
	at io.seqera.tower.cli.commands.AbstractApiCmd.call(AbstractApiCmd.java:65)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
	at picocli.CommandLine.access$1300(CommandLine.java:145)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
	at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
	at picocli.CommandLine.execute(CommandLine.java:2078)
	at io.seqera.tower.cli.Tower.main(Tower.java:99)

The only difference between the two input json files is the addition of the label field
"labels" : [{
    "id" :<PHONE_NUMBER>15802,
    "name" : "pipeline",
    "value" : "overlord",
    "resource" : true
  }]

Seqera Platform version: 23.4.3_46971e7
Tower CLI version: 0.9.2 (build 39a2ec6)
I suspect the error is related to how the stream / map is implemented here https://github.com/seqeralabs/tower-cli/blob/2d10b5b9ab61195b685ff2f809240d88864375be/src/main/java/io/seqera/tower/cli/commands/computeenvs/ImportCmd.java#L67

Seems to be a result of the way Jackson deserializes things in the object mapper. Just need to supply the type info. The relevant bit of code is here:
https://github.com/seqeralabs/tower-cli/blob/2d10b5b9ab61195b685ff2f809240d88864375be/src/main/java/io/seqera/tower/cli/shared/ComputeEnvExportFormat.java#L135C58-L135C82
Need to return
   return mapper.readValue(node.toString(), new TypeReference<List<LabelDbDto>>() {});
And in L124
List labelDbDtos = extractJsonNodeValue(root, "labels", mapper);

Just to confirm, I am observing the same error when trying to use a json from a pre-existing CE with pre-existing labels.


Linux gcc build

This is my fork which I build on Arch linux x64. Core library does not require changes in CMakeLists.txt but samples are trick.

Nice!

I got samples running on Raspberry Pi OS. I think the only issue I hit not capture in main are the Open GL restrictions.


Update local run/debug to use the common library

@etanshaul as discussed, going to take over this. Feel free to assign other existing similar issues on the run/debug with commlib to me!

Currently, running an app locally is very tightly coupled with running a Java process (because in any other way, e.g., an API call, the debugger can't work).
So, for this work, my suggestion is to first change all SDK location mechanisms to be performed using the library and, on a second stage, change the Java process run into an API call (if possible).

The CloudSdk builder has a callback (startListener) which gives the running process. I wonder if this can be used? Check out AppEngineRunner#run() to see how I'm using it for deploy.

Also regarding the changing of the SDK locations - I'm also working on #787 and #781 which are tightly coupled to each other, and to this.
So we may want to coordinate a plan - my approach currently is to keep all the old SDK (appcfg) code as is, deprecate it, and move the new gcloud SDK code alongside it. After that is done, and after all consumers use the gcloud sdk, we can remove the deprecated appcfg code.

The current implementation with AppEngineServerConfigurationType relies on JavaCommandLineStartupPolicy to run code on start and shutdown, and to run a Java process with arguments given by us.
The whole IDEA framework seems to be geared towards Run/Debug Configurations only running processes, whereas we only want to make a library call.
http://www.jetbrains.org/intellij/sdk/docs/basics/run_configurations/run_configuration_execution.html
Because the com.intellij.javaee framework appears to be limited in functionality and severely lacks documentation, I'm going to give it a shot at creating a new Run/Debug Configuration for devappserver, with a ProgramRunner that only calls the library.

@joaoandremartins should this be linked to your last PR?


Home Page URL broken

Hi,
This home-page in the project's .asd file is broken:
https://Shirakumo.github.io/redist/
Is there an alternative link?

It's up now.


Create 17-12-Test.java

View detailed results in CodeScene

CodeScene PR Check

Recommended Review Level
Inspect the code that degrades in code health.

Warnings
Low Code Health for new/renamed Modules17-12-Test.java has a low code health score with 7.55.

Review of New Files
1 new file(s) below the threshold for new code (8.1).0 new file(s) where the code health is above the threshold.ObjectiveSql/17-12-Test.java Bumpy Road : A Bumpy Road is a function that contains multiple chunks of nested conditional logic inside the same function. The deeper the nesting and the more bumps, the lower the code health. Detected Bumpy Roads: start, poll.  Deeply Nested Logic : Deeply nested logic in: start (depth = 4) Many Conditionals : Overall Code Complexity is measured by the mean cyclomatic complexity across all functions in the file. The lower the number, the better. Complex Method : Complex implementations in: start (cc = 31), validateNonNullable (cc = 16). A Complex Method has a high cyclomatic complexity. The recommended threshold for the Java language is  a cyclomatic complexity lower than 9.


Add markdown_row test

Pull Request Test Coverage Report for Build 26

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.8%) to 26.786%

Totals

Change from base Build 25:
1.8%

Covered Lines:
15

Relevant Lines:
56

💛  - Coveralls

@yuh-pen Can you review it?

looks good!


Refactor project

Encapsulate all project properties in a class.

For further enhancement, some changes need to be implemented.
The following is the structure of ltd's home.
%LTD_HOME%
    +-- pkg
    |
    +-- prj
    |
    +-- tmp

pkg, this folders contains released builds
prj, this folders contains the source files
tmp, this folders is used to store temporary build files


Add the Feature of anabling an environment variable to determine the colors of output

I'd like to add a feature that the program honors the CLICOLOR environment variable. If CLICOLOR=1 is set, the program can use colors in the output. If CLICOLOR=0 is set, do not output any color.

I will work on this myself.

https://github.com/isabellaliu77/urlChecker/commit/795dea5ace416559d954af7dda1a962cd138e95b

Closed by https://github.com/isabellaliu77/urlChecker/commit/795dea5ace416559d954af7dda1a962cd138e95bv

closed by https://github.com/isabellaliu77/urlChecker/commit/795dea5ace416559d954af7dda1a962cd138e95b


fix: fix plugin name

Looking at https://github.com/pmizio/typescript-tools.nvim/issues/169, does it refer to nvim-ts-autotag?

Yes it is, thank you


Unsigned XcodeGr8 app spinning beachball wo/any plugins

I have the signed and unsigned app.  The unsigned app will spin when an attempt is made to edit a file.  I have no plugins (although when I do, it works).
Oct  3 16:59:40 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.user.503): Attempt to re-bootstrap service from different path, will use existing: service = com.apple.CoreSimulator.CoreSimulatorService, existing = /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc, conflicting = /Applications/XcodeGr8.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc

Check activity monitor. Is tccd using tons of CPU when Xcode was responding slowly?

I cannot make it spin again.  I suspect it was the update to 10.12.  But, tccd is definitely hogging the CPU.  I have not upgraded to the latest Xcode8 or macOS because I don't want to upset my system which is still running Xcode 7 for compatibility.  Any ideas?

This issue will be closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍


The recognition lexicon

On the format of recognition data, you just say to like to the format of  MJSynth data,  and I want to know in your data, How a dictionary is defined, Your target is 11 in length and has 11 characters to recognize, and your lexicon will have the length of 11^11???  It is too long, I doubt if my understanding is correct.
Please give me help

@xudh1991 hi, for MJSynth data, the lexicon is a file  that  records the characters on each image, as follow

I've downloaded  MJSynth data,  And know the format, But in your project,  the goal is to identify numbers that are 11 in length, according to the format of MJSynth data,  You should list all the possibilities to form a lexicon file, and all the possibilities is the length of 11^11 =<PHONE_NUMBER>11,
like:
1_00000000000.jpg 0
2_00000000001.jpg 1
3_00000000002.jpg 2
4_00000000003.jpg 3
5_00000000004.jpg 4
6_00000000005.jpg 5
......
285311670611_99999999999.jpg<PHONE_NUMBER>10
It is too long, I wonder if you do this.

I've downloaded  MJSynth data,  And know the format, But in your project,  the goal is to identify numbers that are 11 in length, according to the format of MJSynth data,  You should list all the possibilities to form a lexicon file, and all the possibilities is the length of 11^11 =<PHONE_NUMBER>11,
like:
1_00000000000.jpg 0
2_00000000001.jpg 1
3_00000000002.jpg 2
4_00000000003.jpg 3
5_00000000004.jpg 4
6_00000000005.jpg 5
......
285311670611_99999999999.jpg<PHONE_NUMBER>10
It is too long, I wonder if you do this.

@xudh1991 I think you misunderstood it. It just records the characters to be recognized in each picture. I just guarantee that the length of the numbers in each picture is 11, and the numbers are randomly generated (the length is less than 11, which is OK, and cannot be greater than 11). It does not need to arrange the numbers completely.


Updated SilverShop\Checkout\Component\Member.php

With the stepped checkout process, a new member can be created at the beginning of the checkout process.  If the customer does not complete the checkout process, we end up with a member in SilverStripe without a group.  Therefore, add the Customer Group to a new member immediately after creation.  Thank you.

Thanks!


Adopt an inclusive code style guide.

Describe the solution you'd like
A clear and concise description of what you want to happen.
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/styleguide/inclusive_code.md is a good example, there may be others.

Refactor the names of our helper functions relating to file exclusion patterns: manualBlacklist, globBlacklist
This part was completed via https://github.com/codecov/uploader/commit/35824398650981d9b08ff7a2a9bd2124af6f7512

Marking as completed for now given the steps outlined. A more inclusive style guide would be welcome for the entire Codecov org


to/from_json: add a MSVC-specific static_assert to force a stacktrace

Hi,
This PR add a static_assert inside from_json_fn/to_json_fn to help users understand the following message:

could not find to_json in T's namespace

Sometimes Visual Studio does not show the stacktrace, thus making it tricky to know which type is T.
Pull request checklist

[x]  Changes are described in the pull request, or an existing issue is referenced.
[x]  The test suite compiles and runs without error.
[x]  Code coverage is 100%. Test cases can be added by editing the test suite.

Can one of the admins verify this patch?

Can one of the admins kill this bot?

I already reported it at GitHub twice. :-(

Coverage remained the same at 100.0% when pulling c9a02cbc59e9e0bc9bdab96c5ef2e030c79a21a1 on theodelrieu:fix/force_msvc_stacktrace into f4c01601faea6157341481734c6711716dd1c1e8 on nlohmann:develop.

Thanks!


parse_obj_as fails with Optional generic type in a specific situation

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.8.1
            pydantic compiled: True
                 install path: /home/fernandocamargo/.cache/pypoetry/virtualenvs/bento2seldon-j7OH65zf-py3.7/lib/python3.7/site-packages/pydantic
               python version: 3.7.6 (default, Jan  8 2020, 19:59:22)  [GCC 7.3.0]
                     platform: Linux-5.10.30-1-MANJARO-x86_64-with-arch-Manjaro-Linux
     optional deps. installed: ['typing-extensions']

I tried to create a simplified version of the code as follows:
from typing import Any, Dict, Generic, Optional, TypeVar
import pydantic
from pydantic.main import BaseModel
from pydantic.generics import GenericModel
from pydantic.tools import parse_obj_as

R = TypeVar("R", bound=BaseModel)

class SeldonMessage(GenericModel, Generic[R]):
    jsonData: Optional[R]

class RankingRequest(BaseModel):
    user_id: int

class Feedback(GenericModel, Generic[R]):
    request: Optional[SeldonMessage[R]]

obj = parse_obj_as(Feedback[RankingRequest], {"request": {"jsonData": {"user_id": 1}}})
assert obj.request.jsonData.user_id == 1

And it was supposed to fail, but strangely it doesn't. So, here is more complex way to reproduce the bug:
First, install pip install bento2seldon==0.1.0 or copy the following file:
https://github.com/fernandocamargoai/bento2seldon/blob/v0.1.0/bento2seldon/seldon.py
Create a module called model.py with the following code (for some reason the error only happens if those classes are specified in another module):
from typing import Union, List, Optional

from pydantic.main import BaseModel
from pydantic import validator

ID = Union[int, str]

class RankingRequest(BaseModel):
    user_id: Optional[ID]
    item_id: Optional[ID]
    top_k: int = 10

    @validator("item_id", always=True)
    def item_is_required_if_user_id_none(cls, item_id: Optional[ID], values: dict, **kwargs):
        if values.get("user_id") is None:
            assert item_id is not None, "Either user_id or item_id must be provided"
        return item_id

class RankingResponse(BaseModel):
    item_ids: List[ID]

And run the following:
from pydantic.tools import parse_obj_as

from bento2seldon.seldon import SeldonMessage, Feedback

from model import RankingRequest, RankingResponse

obj = parse_obj_as(Feedback[RankingRequest, RankingResponse], {'request': {'jsonData': {'user_id': 0, 'top_k': 10}}, 'response': {'status': {'code': 200, 'status': 'SUCCESS'}, 'meta': {'puid': '13deee6a-52d6-4021-ba21-76ba2aff1332', 'tags': {'predictive_unit_id': '0'}, 'routing': {}, 'requestPath': {}}, 'jsonData': {'item_ids': [4231, 1392, 3598, 1253, 4062, 2234, 2224, 4289, 833, 4112]}}, 'truth': {'status': {'code': 200, 'status': 'SUCCESS'}, 'meta': {'puid': '13deee6a-52d6-4021-ba21-76ba2aff1332', 'tags': {'predictive_unit_id': '0'}, 'routing': {}, 'requestPath': {}}, 'jsonData': {'item_ids': [1253]}}, 'reward': 1})
assert obj.request.jsonData.user_id == 0

It raises:
Traceback (most recent call last):
  File "/home/fernandocamargo/anaconda3/envs/rurax_recsys_training/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3427, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-4-7a27ea4a18b8>", line 2, in <module>
    assert obj.request.jsonData.user_id == 0
AttributeError: 'BaseModel' object has no attribute 'user_id'

But if I change the SeldonMessage and Feedback, replacing <field>: Optional[R] by <field>: R = None, it works. But then, MyPy starts complaining that it thinks those fields can't be None.
This bug is very strange and It was quite hard to reproduce it. If RankingRequest and RankingResponse are specified in the same module, for example, it doesn't happen.

Perhaps you can try to isolate the issue further to simplify the reproduction.
I used you instructions

copy file: https://github.com/fernandocamargoai/bento2seldon/blob/v0.1.0/bento2seldon/seldon.py
Add model.py as stated
Ran code (replace bento2seldon.seldon with "seldon" because the file is directly copied)

to reproduce the error and could not reproduce the issue on 1.8.1 and also not on master. (assert statement runs through fine object.request.jsonData prints to user_id=0 item_id=None top_k=10).

@daviskirk, I've tried to reproduce it and the error happens. When looking for the version, I noticed that I was using Pydantic 1.7.3. Then, I upgraded to 1.8.1. After that, the error is gone. I guess whatever it was, it got fixed.


Converter to allow spot forecast outputs to be read into SBV

As an IMPROVER scientist, I want to be able to store spot forecast outputs in a Station-Based Verification system (SBV) database, so that I can measure their performance using standard scores.
Related issues: #203
Acceptance criteria:

Write a program to convert IMPROVER NetCDF deterministic and ensemble spot forecast outputs to Comma-Separated Values (CSV) which a separate script could then ingest into the database. You can assume all ensemble forecasts will have been converted back to ensemble members if necessary before the converter is called.
Demonstrate ability to get one deterministic and one ensemble forecast into a sample database, with an acceptable implied execution time per cycle. Precise unit testing requirements to be agreed with Clare Bysouth (to provide reasonable confidence of successful integration into a suite in September).
Code and interface to be reviewed by Clare Bysouth in addition to standard Scrum team technical review.
Since the converter adapts generic NetCDF to the specific requirements of VER, it will be stored in the VER repository with Laurence Beard's IMPROVER-NetCDF->VER-fieldsfile converter for gridded forecasts. This requires a high-level acceptance review by Anette Van Der Wal.
At a minimum, the converter should be tested for wind speed. Where possible, it should anticipate or be tested against other common variables, eg those required for the PWS customer metrics (temperature, including daily maximum/minimum, wind speed, wind direction; weather symbols may have to wait until these outputs are more fully defined).

For now, it is assumed the converter only needs to handle the forecasts, with matching to observations handled in a separate database script as in the operational system.
Acceptance criteria:

Write an IMPROVER CLI to convert IMPROVER NetCDF deterministic and ensemble spot forecast ensemble member outputs to a SQLite database.
CLI acceptance tests
Table layout to be agreed with Clare Bysouth and Jonathan Flowerdew.
Demonstrate ability to get one deterministic and one ensemble forecast for wind speed into a sample database
Report estimated execution time of task
Code and interface to be reviewed by Clare Bysouth in addition to standard Scrum team technical review.
If time allows, test other diagnostics such as surface temperature and wind direction.
Preserve netCDF data type in output table.

Update for October sprint
We are now implementing deterministic spot verification only this financial year; ensemble support is postponed to FY18/19.

As a verification scientist I would like IMPROVER to produce SpotData in a format that can be readily ingested into a verification database for alignment with observations. This must be conducted without use of the Oracle database, with uncertainties about the ability of SQLite to handle very large table manipulations.
The tool as envisaged will let spot NetCDF files accumulate until all lead times for a given validity time are available. A cube will then be constructed that contains all lead times for a given validity time in one numpy array. The structure of this cube will be something like:
Metadata: Date, site, diagnostic

Array:
Validity Time | Lead Time | Diagnostic Value

Such cubes can be constructed for each day. As the cubes are already structured in the way needed to the database, they can be combined with a simple join statement, rather than trying to manipulate a very large table to achieve the same effect.

To clarify, an SQL table for deterministic data (being two dimensional) currently has the form:

Validity Date
Validity Time
Station  ID
Diagnostic
Ob
T+1
T+2
T+3
T+4..

While a probabilistic/ensemble table may have the form:

Validity Date
Validity Time
Station  ID
Diagnostic
FCR
Ob
M1
M2
M3..

(in both cases a the diagnostic column stands in place of the model code columns which will need to be mapped, and other columns will require inclusion as per the current form of tables which VerPy expects)
Where the separation of concerns lies, between IMPROVER output and verification input is the issue which requires consideration, it seems.

Original text (preserving background information and alternative options developers could argue for if appropriate):
As an IMPROVER scientist, I want to be able to store spot forecast outputs in a Station-Based Verification system (SBV) database, so that I can measure their performance using standard scores.
Related issues: #203
For trials, we anticipate the SBV using a local SQLite database; the later operational system will use the corporate Oracle database. IMPROVER writes spot forecasts in NetCDF, whilst database ingestion requires either Comma-Separated Values, or direct writing to tables using a tool such as pandas.
Acceptance criteria:

Write a program to convert IMPROVER NetCDF deterministic and ensemble spot forecast outputs to either Comma-Separated Values (CSV, which a separate script could then ingest into the database), or to directly write the data into the database using a tool such as pandas. You can assume all ensemble forecasts will have been converted back to ensemble members if necessary before the converter is called.
Table layout to be agreed with Clare Bysouth and Jonathan Flowerdew. For deterministic forecasts, this should fit the conventions required to calculate the PWS Customer metrics.
Demonstrate ability to get one deterministic and one ensemble forecast into a sample database.
Depending on the degree of code overlap, this program could be an extension of Laurence Beard's IMPROVER-NetCDF->VER-fieldsfile converter for gridded forecasts (stored in the VER repository and subject to review by Anette Van Der Wal), or a separate program to be stored in an agreed repository and subject to it's review procedures. If stored in VER/VerPy/etc, this ticket only requires reviewed code on a branch consistent with other code being used with IMPROVER, not necessarily merged to the trunk.
At a minimum, the converter should be tested for wind speed. Where possible, it should anticipate or be tested against other common variables, eg those required for the PWS customer metrics (temperature, including daily maximum/minimum, wind speed, wind direction; weather symbols may have to wait until these outputs are more fully defined).

For now, it is assumed the converter only needs to handle the forecasts, with matching to observations handled in a separate database script as in the operational system.

#203

PR: #311

Completed.


bug: temperature decoding from DAT files

It looks like temperatures in C below zero are getting decoded from the .dat files incorrectly.

I looked at the original .DAT files, and they simply record temperatures like that. Here is a time series of the A101 winter temperatures, with any absurdly high temperatures cut out:

Now, if I open a .DAT file from the SD card from one of the months without any reasonable temperature measurements, the temperatures are indeed recorded to be that high:

What are you using to open the dat files?

Textedit

I see. Could you attach an affected dat file here?

I reckon the temperatures are just stored on the ApRES that way. Maybe the MATLAB scripts have a conversion, or maybe this is just a bug in how the ApRES records temperature. I think it would make sense that it's subtracting from 512, seeing that the values are all around 500.
I cannot attach a file of that size or type, but here is a google drive link: https://drive.google.com/file/d/1aDRwOpr7qBH6e8jGIIDanWLpK3bogs9s/view?usp=sharing

Ok, I am convinced that the temperatures are supposed to be stored like that. In the Nicholls MATLAB scripts, there is this block of code at the end of LoadBurstRMB6.m:

if vdat.Code == 0
% Clean temperature record (wrong data type?)
bti1 = find(vdat.Temperature_1>300);
if ~isempty(bti1)
vdat.Temperature_1(bti1) = vdat.Temperature_1(bti1)-512;
end
bti2 = find(vdat.Temperature_2>300);
vdat.Temperature_2(bti2) = vdat.Temperature_2(bti2)-512;
end

So it looks like they manually clean it, and they do indeed remove 512. We'll need to add in a similar adjustment as well when reading in the data - it can be a simple if statement

Oh, interesting! Yes, we should that around here.


Keep multi-paragraph comments intact in GraphQL docs

Just a minor tweak to make sure multi-paragraph documentation comments are kept together logically.
Before, kind of confusing

After, solid!

Looking at those docs really shows the docs we're missing, hey?


Negative margin mixin solution

Hi,
Any mixin solution for negative margin with gutter? Like a @include pad(1 of 12);
pad(1 of 12) output is:
padding-left: 5.6603773585%;
padding-right: 5.6603773585%;
solution needed with:
margin-left: -5.6603773585%;
margin-right: -5.6603773585%;
Thanks, Gabor

No special mixin needed - this just works:
.negative-padding {
  @include pad(-1 of 12);
}

Hello Eric,
Thanks for your answare, but the negative padding is an invalid property.
What do you think about this solution: http://codepen.io/gabormeszoly/pen/VYxLWY
Thanks, Gabor

I think you are looking for squish(-1 of 6); maybe? You need to pass in the context to get the correct relative math.

I see :) Thanks for your time again!


Update two more conan recipe revisions

Just like cctz, there have been two more packages (pcre2 and double-conversion) whose recipe revision need to be updated such that they work on the public remotes.
Both are Qt-dependencies, that's why only the windows lockfiles need to be updated. On Linux we use system-installed Qt.

LGTM. Thanks!

LGTM. Thanks!

Thanks Florian!


Is it possible to get the current animation of a lua sprite?

What is your question?
the title says it all!
issue opened by @Acap09

getProperty('boyfriend.animation.curAnim.name') or getProperty('dad.animation.curAnim.name')

getProperty('boyfriend.animation.curAnim.name') or getProperty('dad.animation.curAnim.name')

i dont want the dad or boyfriend sprite, what i mean is that a lua sprite that i created with lua, not created by game

Then change it to your object tag dude

Then change it to your object tag dude It's a basic flxanimation property, all animated objects have it

like getProperty('myLuaSprite.animation.curAnim.name');?

Yes

close this

close this

ok


font-family: system-ui has two entries & different data

system-ui as font-family value has 2 entries showing different data.
https://caniuse.com/#search=system-ui
The first entry (system-ui value for font-family) is correct.

One of those is the actual caniuse data, and the second one is the Mozilla data.

Yeah, the MDN one isn't supposed to appear since it has a caniuse equivalent. Should be removed soon.

Fixed now.


Add spectral methods for HMM learning

In addition to SGD and EM, we should support spectral learning methods. See for example,

Anandkumar, Animashree, et al. "Tensor decompositions for learning latent variable models." Journal of machine learning research 15 (2014): 2773-2832. link

@JeanKossaifi, it sounds like you may have some code for this in Tensorly?
Thanks @Anima-Lab for suggesting this!

Thanks @slinderman!
TensorLy does provide all tools for tensor learning (including tensor decomposition) and is backend agnostic (and tested with JAX) so will also work transparently with dynamax. We will also be adding Tensor LDA soon.

I didn't realize TensorLy worked on JAX — cool! I am most familiar with the tensor decomposition approach described in the paper above, but to be honest I need to dig into the details. It's been many years, but I remember liking this short note too: https://arxiv.org/pdf/1204.2477.pdf. Any suggestions welcome.


Does ui-validate support asynchronous/deferred functions?

<input class="form-control" type="email" name="email" data-ng-model="public.registration.email" placeholder="Email" required autocomplete="off" ui-validate="'emailInvalid($value)'" />

$scope.emailInvalid = function(email) {
        var deferred = $q.defer();
        if(isValidEmail(email)){
            UserSvc.isValidEmail(email, function(result){
                deferred.resolve(result);
            }, function(err){
                deferred.resolve(false);
            });
        }else{
            deferred.resolve(false);
        }
        return deferred.promise;
    };

This doesn't appear to work at all.  Never updates
Perhaps my validation function is written incorrectly?

UI.Utils modules was split in individuals repositories. If still valid, please consider re-submitting on its dedicated repository: https://github.com/angular-ui/ui-validate
See the README for details.


🐛 Bug Report: S3 shares are not deleted on S3 compatible buckets

👟 Reproduction steps
Trying to delete shares in sharemanagement, uploaded on S3
👍 Expected behavior
Share is deleted from bucket
👎 Actual Behavior
Website seems to remove share,  refresh share management, share is again visible, check bucket, share is still there,
additional info: my hosting says this about compatibility and API for S3 compatible buckets, perhaps something is missing?
https://docs.hetzner.com/storage/object-storage/faq/buckets-objects
📜 Logs
pingvin-share-1  |     at S3FileService.deleteAllFiles (/opt/app/backend/dist/src/file/s3.service.js:177:19)
pingvin-share-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
pingvin-share-1  |     at async ShareService.remove (/opt/app/backend/dist/src/share/share.service.js:233:9)
pingvin-share-1  |     at async ShareController.remove (/opt/app/backend/dist/src/share/share.controller.js:69:9)
pingvin-share-1  | 2024-12-24 08:03:32.887248954 +0000 UTC m=+520.491887298 write error: can't make directories for new logfile: mkdir /var/log/caddy: permission denied
pingvin-share-1  | [Nest] 47  - 12/24/2024, 8:03:40 AM   ERROR [ExceptionsHandler] Could not delete all files from S3
pingvin-share-1  | Error: Could not delete all files from S3

I will take a look at this issue in the next few days.

Thanks @m-mattia-m :)

@GitNees, I can't reproduce this bug with my S3 provider (see attached video). Could you check if you have object locking enabled (how-do-i-protect-my-objects-from-getting-deleted-by-accident) (which doesn't allow you to delete files)? If not, could you please send me more information about what you are doing step-by-step?

Bingo! I found the problem because of your video.
But this was confusing.
When my bucket was created, my provider, it gives me a full url i can copy like "testbucket.ger1.mystorageexample.com"
as this included the bucketname also, and now learned that is not the endpoint URL, i did find it strange that in the bucket, I saw after an upload, a new folder was created with the same bucketname with in there the path folder. so like /testbucket/shares/ instead of /shares/.
But isnt that strange that it worked then if i put a "full" url including the bucketname in the endpoint? shouldnt it have failed if the endpoint was filled in like that? Perhaps there is a way to improve this? For n00bs like me. A check before saving if the bucketname is part of the endpoint url.

Glad to hear it works now and that my video helped you :)
I think you can't really check for the endpoint and see if it's included because different providers (or even self-hosted providers like MinIO) can generate their own FQDNs. So it may be that some providers (or your own chosen MinIO URL) require the bucket name in the FQDN. However, if you google for " object storage/s3 endpoints/api" (choosing either "object storage" or "s3" and the same for "endpoint" or "api"), you will usually get a page describing the endpoints.
See, for example, the Hetzner endpoints or my chosen provider: Exoscale.
I'm creating a merge request to describe this in more detail in the documentation.

@stonith404 Could you please close this issue? :)


sporadic broken connections

Hi-
I've been getting getting sporadic broken connections to MariaDb, but most of the time the same query works. It appears to be happening under fairly heavy load.  Here's the error I see:
2016-05-25 13:02:24 WARN  [c.zaxxer.hikari.pool.ProxyConnection]: HikariPool-0 - Connection org.mariadb.jdbc.MariaDbConnection@215ac0f5 marked as broken because of
SQLSTATE(08), ErrorCode(-1)
java.sql.BatchUpdateException: Could not read resultset: unexpected end of stream, read 0 bytes from 4
And here is the relevant portion of the stack trace:
    at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeInternal(MariaDbServerPreparedStatement.java:378) ~[mariadb-java-client-1.4.4.jar:na]
    at org.mariadb.jdbc.MariaDbServerPreparedStatement.execute(MariaDbServerPreparedStatement.java:342) ~[mariadb-java-client-1.4.4.jar:na]
    at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeQuery(MariaDbServerPreparedStatement.java:323) ~[mariadb-java-client-1.4.4.jar:na]
    at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52) ~[HikariCP-2.4.3.jar:na]
    at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java) [HikariCP-2.4.3.jar:na]

And then a bit after this occurs, I see a line like this for every connection in the pool:
2016-05-25 13:03:22 DEBUG [com.zaxxer.hikari.pool.PoolBase]: HikariPool-0 - Closing connection org.mariadb.jdbc.MariaDbConnection@2bb274e: (connection evicted or dead)
Any ideas what could be causing this?
Thanks,
Kevin

Actually, this appears to be an issue with MariaDb. Sorry about the premature report. I was able to reproduce this error using the Apache dbcp2 connection pool.


Remote disconnect on timeout is not suppressed as expected

(Using Confluent.Kafka 1.7.0 on Windows 10, 1909.)
When the server disconnects a socket for one of our producers (in my example, an AdminClient), I get an "Info" level log message
and an error reported to the client. This is unexpected since librdkafka seems to include code to specificially suppress such messages.
I'm not sure this is actually a bug, but I have tried to debug it as much as possible, from the .NET perspective, without a clear conclusion.
The issue is that I am getting log output (via my log handler) from the producer in the AdminClient like this:
Facility: FAIL | Level: Info | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Disconnected (after 299890ms in state UP) | rdkafka#producer-1

And via the error handler right after:
Local_Transport | ssl://some-server:9094/bootstrap: Disconnected (after 299890ms in state UP) | True | False | False | True

(Here "True | False | False | True" is "IsError | IsFatal | IsBrokerError | IsLocalError".)
This happens when the server closes the connection after 300 seconds, presumably the idle connection reaper. What I don't understand is how this makes it into my log with level "Info". Debugging for a while, and digging into the C code in librdkafka, I find the following central function:
void rd_kafka_broker_conn_closed (rd_kafka_broker_t *rkb,
                                  rd_kafka_resp_err_t err,
                                  const char *errstr) {
        int log_level = LOG_ERR;

        if (!rkb->rkb_rk->rk_conf.log_connection_close) {
                /* Silence all connection closes */
                log_level = LOG_DEBUG;

        } else {
                /* Silence close logs for connections that are idle,
                 * it is most likely the broker's idle connection
                 * reaper kicking in.
                 *
                 * Indications there might be an error and not an
                 * idle disconnect:
                 *  - If the connection age is low a disconnect
                 *    typically indicates a failure, such as protocol mismatch.
                 *  - If the connection hasn't been idle long enough.
                 *  - There are outstanding requests, or requests enqueued.
                 *
                 * For non-idle connections, adjust log level:
                 *  - requests in-flight: LOG_WARNING
                 *  - else: LOG_INFO
                 */
                rd_ts_t now = rd_clock();
                rd_ts_t minidle =
                        RD_MAX(60*1000/*60s*/,
                               rkb->rkb_rk->rk_conf.socket_timeout_ms) * 1000;
                int inflight = rd_kafka_bufq_cnt(&rkb->rkb_waitresps);
                int inqueue = rd_kafka_bufq_cnt(&rkb->rkb_outbufs);

                if (rkb->rkb_ts_state + minidle < now &&
                    rd_atomic64_get(&rkb->rkb_c.ts_send) + minidle < now &&
                    inflight + inqueue == 0)
                        log_level = LOG_DEBUG;
                else if (inflight > 1)
                        log_level = LOG_WARNING;
                else
                        log_level = LOG_INFO;
        }

        rd_kafka_broker_fail(rkb, log_level, err, "%s", errstr);
}

I am almost 100% sure the message passes through here, because it is suppressed if I set the LogConnectionClose configuration setting, which translates to the rk_conf.log_connection_close property which is only accessed here.
Now, to see why the crucial "if" under the first "else" doesn't kick in, I have looked at statistics output from the statistics handler,
since I am unable to directly access any of these values at this point (from .NET). I set up the timing so the statistics handler kicks in right before the error (after something like 297 seconds), and I have studied the statistics producing code (rd_kafka_stats_emit_all) to make sure I interpret the values correctly. For the relevant server (since I have three other brokers, all constantly in state "INIT"), I get the following output right before the error:
{ "name":"ssl://some-server:9094/bootstrap", "nodeid":-1, "nodename":"some-server:9094", "source":"configured", "state":"UP", "stateage":297397360, "outbuf_cnt":0, "outbuf_msg_cnt":0, "waitresp_cnt":0, "waitresp_msg_cnt":0, "tx":3, "txbytes":104, "txerrs":0, "txretries":0, "txidle":297397251, "req_timeouts":0, "rx":3, "rxbytes":10226, "rxerrs":0, "rxcorriderrs":0, "rxpartial":0, "rxidle":297368487, ...etc.

I note that "stateage" is 297 seconds, "outbuf_cnt" and "waitresp_cnt" are 0 and "txidle" is also 297 seconds. In the rd_kafka_broker_conn_closed code above, these values are central in the decision to suppress the log message (by moving it to level Debug). As far I as can see:

stateage is rd_clock() - rkb_ts_state, which is around 300 seconds, so rkb_ts_state + 60 seconds should certainly be smaller than rd_clock(). This should mean that the first term of the if-condition is true.
txidle is rd_clock() - rkb_c.ts_send (with some caveats), which is also around 300 seconds, so by a similar reasoning the second term of the if-condition should be true.
outbuf_cnt is rkb_outbufs.rkbq_cnt, the same as inqueue, which is 0. Likewise, waitresp_cnt is rkb_outbufs.rkbq_cnt, the same as inflight, which is also 0. This should mean that the third term of the if-condition is true.

1, 2 and 3 together should mean that the if condition is true, and the log level will be set to Debug. However, what I observe is that I get the entry logged as Info, and get the error handler activated. I don't understand why and how.
For reference, enabling producer debug gives a bit more output, but nothing that, to me, indicates where the problem might lie:
FAIL | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Disconnected (after 299890ms in state UP) (_TRANSPORT) | rdkafka#producer-1
FAIL | Info | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Disconnected (after 299890ms in state UP) | rdkafka#producer-1
STATE | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Broker changed state UP -> DOWN | rdkafka#producer-1
STATE | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Broker changed state DOWN -> INIT | rdkafka#producer-1
STATE | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Broker changed state INIT -> TRY_CONNECT | rdkafka#producer-1
CONNECT | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: broker in state TRY_CONNECT connecting | rdkafka#producer-1
STATE | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Broker changed state TRY_CONNECT -> CONNECT | rdkafka#producer-1
REQERR | Debug | [thrd:main]: ssl://some-server:9094/bootstrap: MetadataRequest failed: Local: Broker transport failure: actions Retry | rdkafka#producer-1
ERROR  HANDLER: Local_Transport | ssl://some-server:9094/bootstrap: Disconnected (after 299890ms in state UP) | True | False | False | True
CONNECT | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Connecting to ipv4#A.B.C.D:9094 (ssl) with socket 776 | rdkafka#producer-1
CONNECT | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Connected to ipv4#A.B.C.D:9094 | rdkafka#producer-1
STATE | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Broker changed state CONNECT -> SSL_HANDSHAKE | rdkafka#producer-1
CONNECTED | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Connected (#2) | rdkafka#producer-1
STATE | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Broker changed state SSL_HANDSHAKE -> APIVERSION_QUERY | rdkafka#producer-1
STATE | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Broker changed state APIVERSION_QUERY -> UP | rdkafka#producer-1
RETRY | Debug | [thrd:ssl://some-server:9094/bootstrap]: ssl://some-server:9094/bootstrap: Moved 1 retry buffer(s) to output queue | rdkafka#producer-1

This just seems to show the reconnect, as expected.

It just occurs to me that I forgot to include reproduction code. The problem can be reduced to something like this:
// options.KafkaClientConfig contains BootstrapServers and Ssl config.
var config = new AdminClientConfig(options.KafkaClientConfig);
//config.LogConnectionClose = false; // setting this will remove the logs/errors, as expected.
config.StatisticsIntervalMs = 59500; // to get statistics close to but before 300 seconds.
//config.Debug = "broker,topic,msg"; // to produce more debug, as posted above.

var builder = new AdminClientBuilder(config);
builder.SetLogHandler((_, m) =>
{
    Console.WriteLine($"LOG: {m.Facility} | {m.Level} | {m.Message} | {m.Name}");
});
builder.SetErrorHandler((_, m) =>
{
    Console.WriteLine($"ERROR: {m.Code} | {m.Reason} | {m.IsError} | {m.IsFatal} | {m.IsBrokerError} | {m.IsLocalError}");
});
builder.SetStatisticsHandler((_, m) =>
{
    Console.WriteLine();
    Console.WriteLine(m);
    Console.WriteLine();
});
var adminClient = builder.Build();
var metadata = adminClient.GetMetadata(TimeSpan.FromSeconds(20));

...here we construct a consumer and sit in a loop until keypress. The adminClient is not used again.


Dims not extracting band information

Hi,
I have a Raster which has 1 band.
julia> radiance_datacube
84×155×123 Raster{Float32,3} unnamed with dimensions:
  X Mapped{Float64} Float64[72.7250001018, 72.72916676850001, …, 73.0666667712, 73.0708334379] ForwardOrdered Explicit Intervals c
rs: EPSG mappedcrs: EPSG,
  Y Mapped{Float64} Float64[19.495832889299994, 19.491666222599996, …, 18.858332884200003, 18.8541662175] ReverseOrdered Explicit
Intervals crs: EPSG mappedcrs: EPSG,
  Ti Sampled{Int64} Int64[201204, 201205, …, 202205, 202206] ForwardOrdered Irregular Points
and reference dimensions:
  Band Categorical{Int64} Int64[1] ForwardOrdered
extent: Extent(X = (72.72291676845, 73.07291677125001), Y = (18.85208288415, 19.497916222649994), Ti = (201204, 202206))
crs: EPSG:4326
mappedcrs: EPSG:4326

When I try
julia> dims(radiance_datacube)
X Mapped{Float64} Float64[72.7250001018, 72.72916676850001, …, 73.0666667712, 73.0708334379] ForwardOrdered Explicit Intervals crs: EPSG mappedcrs: EPSG,
Y Mapped{Float64} Float64[19.495832889299994, 19.491666222599996, …, 18.858332884200003, 18.8541662175] ReverseOrdered Explicit Intervals crs: EPSG mappedcrs: EPSG,
Ti Sampled{Int64} Int64[201204, 201205, …, 202205, 202206] ForwardOrdered Irregular Points

It doesn't give the Band. I believe in an earlier version, it used to give the Band information.

Yes I dropped the single band dimension because people were complaining about it! I think that was part of the 0.7 breaking release.
You can keep it with the dropband=false keword if you want to.


Routing redirect causes double pageview when initially loading angular application

This happens when the application is approached without a known path in the routing configuration and trackRoutes in enabled. So any redirects due to the use of the otherwise function of angular routing result in an extra $routeChangeSuccess, which is picked up and results in another pageview to ga.
Is this known, or is there something I might be missing in relation to the routing of angular, or is this something that would be nice to fix? :)

We had the same problem in a project, initially being very happy with lots of pageviews compared to similar periods in the past :). After reading the source code and looking for better ways to handle redirection we came up with this solution:
Instead of having AnalyticsProvider.trackPages(true);which records every state change including the redirects, we tracked the pages manually like this:
$rootScope.$on("$stateChangeSuccess", function(event, currentRoute, previousRoute) {
  if (currentRoute.url !== "/live" && $state.current.name !== "main.redirect") {
    Analytics.trackPage($location.$$url);
    }
}

where state main.redirect is actually a wrapper on the otherwise like this:
$stateProvider.state('main.redirect', {
        //NO URL here
        views: {
            'main.content@': {
                controller: function($rootScope) {
                    $rootScope.gotoHome = true; //or whatever you want to do
                }
            }
        }
    });
    $urlRouterProvider.otherwise(
        function($injector, $location) {
            $injector.invoke(['$state', function($state) {
                $state.transitionTo('main.redirect', {
                    "url": $location.$url
                }, {
                    location: false
                });
            }]);
            return $location.path();
        });

On the otherwise route you can do whatever you want, here we just wanted to keep the current URL before doing the redirect from somewhere else (that's why we did transitionTo(state, {location:false}))
This approach helped us avoid tracking some pages and all redirects.
If anyone has a better solution, please share.

@ArnieDude @rbosneag Could you not just do the following configuration options?
AnalyticsProvider.trackPages(true);
AnalyticsProvider.ignoreFirstPageLoad(true);

Thats what I thought, but this only prevents the pageview fired when analytics adds the google analytics tag.
TrackPages always sends a pageView to google analytics, regardless of when this happens, since it simply adds a listener to the $routeChangeSuccess event and triggers a pageView.

If this is still relevant I would like to take a closer look.

This might not be a global solution, but for applications using $route it will skip all those redirect routes.

I added an option to define routes in $routeProvider that shall not be tracked.  New behaviour will only track pages that define 'templateUrl' which implicitly excludes redirects as well as skipping routes that carry the 'dontTrack' property.
Usage:
$routeProvider     .when('/member/:sessionId/:memberId', {       templateUrl : 'member.html',       controller: 'CardController',       pageTrack: '/member',     })     .otherwise({       	templateUrl: '404.html',       	dontTrack: true     })


First time panel is displayed after login no visualization is drawn

the first time I open a dashboard after signing in no graphic shows up:

After a minute or so it autorefreshes and the graph displays:

If you need a tester I'm in
This is what I see on the console log:

Submitted Pull request #8 that solves this issue for me.

Yeup, solves it for me too (influxdb and grafana 4.1)! Would be nice with a new version on grafana.net that includes the fix.


Add mechanism to set default status(on/off) of plugin

Coverage increased (+0.01%) to 69.508% when pulling ace2e638878a25e7885aaa2bc9a593bd954ca5f7 on ascrutae:zhangxin/feature/force-enable-plugin into 0b4b4b17590d45c95f494964c8883947a0057574 on wu-sheng:master.

Relate #245

Ref #242 , and cc @pengys5 You must be interested in this feature. Your Kafka plugin must use it.

Coverage increased (+0.01%) to 69.45% when pulling 9efff4bc63c86964e2ea6cefd6a9f608d5dc27df on ascrutae:zhangxin/feature/force-enable-plugin into cf2d0c7fff905992e17c9f03297f57d44c87ca77 on wu-sheng:master.

Coverage increased (+0.1%) to 69.541% when pulling 6e1d0d602fb63f2394bf1b1d42930c84ecc22767 on ascrutae:zhangxin/feature/force-enable-plugin into cf2d0c7fff905992e17c9f03297f57d44c87ca77 on wu-sheng:master.

I had added test case for Plugin Define.

cc @pengys5 This feature has been merged. Kafka plugin should follow this.


fix: Fix hide issue

Removes double connect
Removes timepoint from state (cause of the issue even tho I don't fully get it why)

https://github.com/MetaCell/geppetto-NeuroSCAN/assets/19196034/7b5de05f-b639-44e9-8933-7c1e902b2032

https://github.com/MetaCell/geppetto-NeuroSCAN/assets/19196034/1e73f768-3b60-4dff-a182-3afd4fa2a154

lgtm

hi @afonsobspinto can you please re-review? I refactored the custom search

looks good to me :+1:


[dotnet] Various updates based on issue #460

Tests are failing, as they're pointed to staging environment, but they're all passing against dev locally


[Bug]: Error when trying to benchmark SPU latency in 2PC setting.

Issue Type
Usability
Modules Involved
MPC protocol, SPU runtime
Have you reproduced the bug with SPU HEAD?
Yes
Have you searched existing issues?
Yes
SPU Version
spu 0.9.0b1
OS Platform and Distribution
Linux Ubuntu 22.04
Python Version
3.11.5
Compiler Version
No response
Current Behavior?
I'm trying to benchmark the latency of performing one matrix multiplication using the SPU. I'm working with a 2PC setting so I open two servers and run the following commands (one on each node): I've included the full code in the code section.

python nodectl.py -c 2pc.json start --node_id node:0 &> node0.log &
python nodectl.py -c 2pc.json start --node_id node:1 &> node1.log &
Afterwards, I run my multiplication test script on node 0 (script found below). I get an error (shown in the log section). Any idea what I can fix? Also one additional note, both of my nodes are running Singularity Containers. Not sure if that plays any part in this.

Standalone code to reproduce the issue
#nodectl.py file

import argparse
import json
import multiprocess
import sys

import grpc
import jax

import spu.utils.distributed as ppd
from spu.utils import distributed_pb2_grpc

parser = argparse.ArgumentParser(description='SPU node service.')
parser.add_argument(
    "-c", "--config", default="examples/python/conf/3pc.json", help="the config"
)
subparsers = parser.add_subparsers(dest='command')
parser_start = subparsers.add_parser('start', help='to start a single node')
parser_start.add_argument("-n", "--node_id", default="node:0", help="the node id")
parser_up = subparsers.add_parser('up', help='to bring up all nodes')
parser_list = subparsers.add_parser('list', help='list node information')
parser_list.add_argument("-v", "--verbose", action='store_true', help="verbosely")

if __name__ == '__main__':
    args = parser.parse_args()

    with open(args.config, 'r') as file:
        conf = json.load(file)

    nodes_def = conf["nodes"]
    devices_def = conf["devices"]

    if args.command == 'start':
        ppd.RPC.serve(args.node_id, nodes_def)
    elif args.command == 'up':
        workers = []
        for node_id in nodes_def.keys():
            worker = multiprocess.Process(
                target=ppd.RPC.serve, args=(node_id, nodes_def)
            )
            worker.start()
            workers.append(worker)

        for worker in workers:
            worker.join()
    else:
        parser.print_help()

#2pc.json file
{
    "id": "colocated.2pc",
    "nodes": {
        "node:0": "<IP_ADDRESS>:9320",
        "node:1": "<IP_ADDRESS>:9321"
    },
    "devices": {
        "SPU": {
            "kind": "SPU",
            "config": {
                "node_ids": [
                    "node:0",
                    "node:1"
                ],
                "experimental_data_folder": [
                    "/tmp/spu_data_0/",
                    "/tmp/spu_data_1/"
                ],
                "spu_internal_addrs": [
                    "<IP_ADDRESS>:9330",
                    "<IP_ADDRESS>:9331"
                ],
                "runtime_config": {
                    "protocol": "SEMI2K",
                    "field": "FM128",
                    "enable_pphlo_profile": true,
                    "enable_hal_profile": true,
                    "enable_pphlo_trace": false,
                    "enable_action_trace": false
                }
            }
        },
        "P1": {
            "kind": "PYU",
            "config": {
                "node_id": "node:0"
            }
        },
        "P2": {
            "kind": "PYU",
            "config": {
                "node_id": "node:1"
            }
        }
    }
}

#Multiplication Test Code
import sys
import os
sys.path.append(os.path.abspath('..'))
import argparse
import json
import jax
import jax.numpy as jnp
import jax.nn as jnn
import numpy as np
import flax
import spu.utils.distributed as ppd
import spu.spu_pb2 as spu_pb2

parser = argparse.ArgumentParser(description='distributed driver.')
parser.add_argument(
    "-c", "--config", default="2pc.json"
)
parser.add_argument('--workers', default=1, type=int, metavar='N', help='number of data loading workers (default: 4)')
parser.add_argument('--batch', default=1, type=int, metavar='N', help='batchsize (default: 64)')
args = parser.parse_args()
with open(args.config, 'r') as file:
    conf = json.load(file)
ppd.init(conf["nodes"], conf["devices"])

def test_matmul(x, y):
    result = jnp.matmul(x,y)
    return result

def run_on_spu(input1, input2):
    input_p1 = ppd.device("P1")(lambda x: x)(input1)
    input_p2 = ppd.device("P2")(lambda x: x)(input2)
    outputs = ppd.device("SPU")(test_matmul)(input_p1, input_p2)
    outputs = ppd.get(outputs)
    return outputs

if __name__ == '__main__':
    torch.manual_seed(0)
    print('\n------\nRun on SPU')
    out_spu = run_on_spu(np.random.rand(1,1), np.random.rand(1,1))

Relevant log output
[2024-04-23 10:55:03,934] [MainProcess] Starting grpc server at <IP_ADDRESS>:9320
[2024-04-23 10:55:14,235] [MainProcess] Run : builtin_spu_init at node:0
I0423 10:55:14.238981 1591474 external/com_github_brpc_brpc/src/brpc/server.cpp:1181] Server[yacl::link::transport::internal::ReceiverServiceImpl] is serving on port=9330.
W0423 10:55:14.239002 1591474 external/com_github_brpc_brpc/src/brpc/server.cpp:1187] Builtin services are disabled according to ServerOptions.has_builtin_services
I0423 10:55:14.340871 1591476 external/com_github_brpc_brpc/src/brpc/socket.cpp:2506] Checking Socket{id=0 addr=<IP_ADDRESS>:9331} (0x154c8804b8c0)
I0423 10:56:53.474580 1591474 external/com_github_brpc_brpc/src/brpc/server.cpp:1241] Server[yacl::link::transport::internal::ReceiverServiceImpl] is going to quit
[2024-04-23 10:56:53.475] [warning] [channel.h:163] Channel destructor is called before WaitLinkTaskFinish, try stop send thread
[2024-04-23 10:56:53,476] [MainProcess] Traceback (most recent call last):
  File "/ext3/miniconda3/lib/python3.11/site-packages/spu/utils/distributed_impl.py", line 326, in Run
    ret_objs = fn(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/ext3/miniconda3/lib/python3.11/site-packages/spu/utils/distributed_impl.py", line 552, in builtin_spu_init
    link = libspu.link.create_brpc(desc, my_rank)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: what:
	[external/yacl/yacl/link/context.cc:194] connect to mesh failed, failed to setup connection to rank=1
stacktrace:
#0 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x154ce94615c4
#1 pybind11::cpp_function::dispatcher()+0x154ce94353eb
#2 cfunction_call+0x525f07

@wilyub hey,Please note that rank=1 is mostly due to connection issues with the participating parties. Please check and ensure that your 2PC is connected.

It seems to be a network problem. Please make sure the two nodes/ports are accessible by each other. Besides, using port range 60000-65535 is recommended to eliminate the possible conflicts with other processes/services.


Speaker Section for Home page

[x] Added Speaker Section as proposed in Issue.
[ ] Optimize SCSS
[ ] Plan out a design approach for  issue according to this layout.
[ ] Responsive Bugs

Current coverage is 47.26% (diff: 100%)

Merging #600 into development will not change coverage

@@           development       #600   diff @@
=============================================
  Files                5          5
  Lines              548        548
  Methods             52         52
  Messages             0          0
  Branches            88         88
=============================================
  Hits               259        259
  Misses             289        289
  Partials             0          0

Powered by Codecov. Last update b8b3c52...280f547

Looks good, but I really need to try this out on a sample to get a feel for it. Please solve the hound ci issues. Thank you.

[ ] Please also ensure ratio of speakers stays the same if screen resolution is smaller
[ ] Ensure html is properly displayed in description


wifi_radar_cb no callback succeeded (AEGHB-217)

step:
1、 wifi_config -s TPLinkHome -p<PHONE_NUMBER>.
2、 ping -i 10 -c 0
device error log：
W (81912) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81925) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81931) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81932) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81940) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81946) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81956) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81964) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81971) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81980) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (81987) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (82005) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (82015) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (82027) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (82036) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (82045) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (82055) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (82061) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1
W (82068) esp_radar: value fail, len: 376, secondary_channel: 1, sig_mode: 1, cwb: 0, stbc: 1

This is caused by the wrong judgment when filtering the CSI data. I have fixed it. You can change the channel of the router or use the ESP32 as the AP for testing. I will update it on github as soon as possible.

Hi, @zhanzhaocheng. I am also facing a similar problem, I have tried to set the router channel same as secondry_channel shown in the device logs of @homent-hutu, but it is still giving the same error.
step:
1、 wifi_config -s <ssid_of_router> -p .
2、 ping
my device logs:
(126513) ping_cmd: From <IP_ADDRESS> icmp_seq=36 timeout W (126516) esp_radar: value fail, len: 384, secondary_channel: 1, sig_mode: 1, cwb: 1, stbc: 0 W (126520) esp_radar: value fail, len: 384, secondary_channel: 1, sig_mode: 1, cwb: 1, stbc: 0 W (126526) esp_radar: value fail, len: 384, secondary_channel: 1, sig_mode: 1, cwb: 1, stbc: 0 W (126531) esp_radar: value fail, len: 384, secondary_channel: 1, sig_mode: 1, cwb: 1, stbc: 0 W (126536) esp_radar: value fail, len: 384, secondary_channel: 1, sig_mode: 1, cwb: 1, stbc: 0 W (126541) esp_radar: value fail, len: 384, secondary_channel: 1, sig_mode: 1, cwb: 1, stbc: 0 CSI_DATA,570,0,0,24:d3:f2:95:dd:d5,-56,11,1,7,0,1,1,1,0,0,0,-95,1,1,1,126294475,0,145,0,216,0,"[-19,9,-20,7,-20,6,-20,4,-21,3,-21,3,-21,3,-21,3,-21,2,-21,2,-22,2,-22,2,-22,2,-22,1,-22,1,-22,1,-22,1,-22,2,-22,2,-22,2,-21,3,-21,3,-21,4,-20,4,-20,5,-19,5,-19,7,-19,8,-19,8,-19,9,-18,10,-18,10,-18,11,-18,11,-17,12,-17,13,-17,13,-17,13,-17,13,-16,13,-16,13,-16,13,-16,13,-15,13,-15,13,-14,13,-14,13,-14,13,-15,12,-15,12,-16,11,-17,10,-13,13,-16,11,-18,9,-19,7,-19,6,-19,5,-20,4,-20,3,-20,3,-20,2,-20,2,-20,2,-21,1,-21,1,-22,1,-22,1,-22,1,-22,1,-22,2,-21,2,-21,2,-21,2,-20,3,-20,3,-20,4,-20,4,-19,4,-19,5,-18,7,-18,7,-18,8,-18,9,-18,9,-17,10,-17,10,-17,11,-17,11,-16,12,-16,12,-16,12,-16,12,-16,12,-15,13,-15,13,-15,12,-14,12,-14,12,-14,12,-14,12,-14,12,-14,12,-15,11,-16,11,-17,10,-17,7,-18,5]" CSI_DATA,571,0,0,24:d3:f2:95:dd:d5,-56,11,1,7,0,1,1,1,0,0,0,-95,1,1,1,126297495,0,106,0,216,0,"[-21,-6,-21,-8,-20,-9,-19,-11,-19,-12,-18,-12,-18,-13,-18,-13,-18,-13,-18,-13,-18,-14,-19,-14,-19,-14,-19,-15,-19,-15,-19,-15,-19,-14,-19,-14,-19,-14,-19,-14,-19,-13,-19,-12,-19,-12,-19,-11,-19,-10,-19,-10,-20,-8,-21,-8,-21,-7,-21,-6,-22,-6,-22,-5,-22,-4,-22,-4,-23,-3,-23,-2,-23,-2,-23,-2,-23,-2,-22,-2,-22,-2,-22,-1,-22,-1,-21,-1,-21,-1,-21,-1,-20,-1,-20,-1,-21,-1,-21,-2,-21,-3,-20,-5,-20,1,-21,-2,-21,-5,-20,-7,-19,-9,-19,-10,-18,-11,-17,-11,-17,-12,-17,-12,-18,-12,-18,-13,-18,-13,-18,-13,-18,-14,-18,-14,-18,-14,-18,-14,-18,-14,-18,-14,-18,-13,-18,-13,-19,-12,-18,-11,-18,-11,-18,-10,-18,-10,-19,-9,-20,-7,-20,-7,-20,-6,-20,-6,-21,-5,-21,-5,-21,-4,-22,-3,-22,-3,-22,-2,-22,-2,-22,-2,-22,-2,-22,-1,-21,-1,-21,-1,-21,-1,-21,-1,-20,-1,-20,0,-20,0,-20,-1,-20,-1,-20,-2,-20,-3,-20,-5,-19,-6,-18,-8]" CSI_DATA,572,0,0,24:d3:f2:95:dd:d5,-56,11,1,7,0,1,1,1,0,0,0,-95,1,1,1,126446672,0,94,0,216,0,"[17,-13,17,-12,18,-10,19,-9,19,-8,19,-7,19,-7,19,-7,20,-6,20,-6,21,-6,21,-6,21,-6,21,-6,21,-6,21,-6,21,-6,21,-6,21,-7,20,-7,20,-7,20,-8,19,-8,18,-8,18,-9,17,-9,17,-11,17,-12,16,-12,16,-13,15,-13,15,-14,15,-14,14,-15,14,-16,13,-16,13,-16,13,-16,13,-16,13,-16,12,-16,12,-16,12,-16,11,-16,11,-16,10,-16,10,-15,10,-15,11,-15,12,-15,13,-14,13,-13,11,-16,13,-15,16,-13,17,-11,17,-10,18,-8,18,-8,18,-7,19,-7,19,-7,19,-7,19,-6,20,-6,20,-6,20,-6,20,-6,20,-5,20,-5,20,-6,20,-6,20,-6,19,-7,19,-7,18,-8,18,-8,18,-8,17,-8,17,-9,16,-11,16,-11,15,-12,15,-12,15,-13,14,-14,14,-14,14,-14,13,-15,13,-15,13,-15,13,-15,13,-15,12,-15,12,-16,11,-16,11,-16,11,-16,10,-15,10,-15,10,-15,10,-15,10,-15,11,-14,12,-14,13,-13,15,-10,15,-8]" CSI_DATA,573,0,0,24:d3:f2:95:dd:d5,-56,11,1,7,0,1,1,1,0,0,0,-95,2,1,1,126448691,0,94,0,216,0,"[20,-7,21,-5,21,-3,21,-1,21,0,20,0,21,1,21,1,21,1,21,1,22,1,22,1,22,1,22,2,22,2,22,2,22,2,22,2,22,2,22,1,21,1,21,0,20,-1,20,-1,20,-2,19,-3,20,-4,20,-5,20,-5,20,-6,20,-7,19,-7,19,-8,19,-9,19,-9,18,-10,18,-10,18,-10,18,-11,18,-11,17,-11,17,-10,17,-11,16,-11,16,-11,16,-10,16,-10,15,-10,16,-10,16,-10,17,-9,17,-8,17,-11,19,-9,20,-6,20,-4,20,-2,20,0,20,0,19,1,20,2,20,2,20,2,20,2,21,2,21,2,21,2,21,2,21,3,21,3,21,3,21,3,21,2,21,2,20,1,20,1,19,0,19,-1,19,-1,19,-1,19,-3,19,-4,19,-5,19,-5,19,-6,19,-7,19,-7,18,-8,18,-8,18,-9,17,-9,18,-9,17,-10,17,-10,17,-10,17,-10,16,-10,16,-10,16,-10,15,-10,15,-10,15,-9,15,-9,16,-9,16,-8,17,-7,17,-3,17,-2]" W (127368) esp_radar: value fail, len: 384, secondary_channel: 1, sig_mode: 1, cwb: 1, stbc: 0 W (127545) ping_cmd: From <IP_ADDRESS> icmp_seq=43 timeout W (127548) esp_radar: value fail, len: 384, secondary_channel: 1, sig_mode: 1, cwb: 1, stbc: 0
in between i get this CSI_DATA, i also tried to use the esp_csi_tool.py but i got any data about corr.
screenshot is given below:

@bilalfarooq002 This issue has been fixed, please verify it after update, And the current detection algorithm is optimized

Hi again @zhanzhaocheng, I was actually able to solve the problem in the previous version of CSI tool. but in newer version I am facing a similar issues which I am not been able to resolve.
I have complied the console test example and I am trying to test the new algorithm but there seems to be bug in code maybe that I am able to see the raw data on csi-tool but there is no data related to movement or human status.
Here are the steps that I have followed to get there,

First I upload the console-test code and started the csi-tool.

There is bug in the csi-tool that it sends the radar --csi_output_type LLFT --csi_output_format base64 command too early I think. Anyways I have to send this command manually using csi-tool in order to change the format of data. if I don't send this command, data is sent in wrong format and is never displayed in the csi-tool.

After that I start receiving the raw data, and then I start the calibration. once that is done nothing happens in the radar model windows as shown in the image below

You might be seeing the ping timeout but the ping is working fine, as only the timeouts are displayed in the terminal and not the successful ping attempts.

I have tested and found out that wifi_radar_cb() callback is nevet called. As I don't have the radar library code to troubleshoot the problem maybe you can help me if I am missing something?

@bilalfarooq002 Sorry no one got back to you earlier.
There is no problem with your test process. There was a problem of ping failure in the previous version of esp-idf. Please update esp-idf and esp-csi to test again

Hello, @bilalfarooq002
Closing this issue, feel free to reopen with more updates. Thanks.


Fixed a typo: .ssh/autorized_key -> .ssh/authorized_key

Damn. I fixed one typo, but missed another one. Should be plural: "authorized_keys" (not "authorized_key").

Will one more pull request help to fix the second bug?

OK. Please.

Done: https://github.com/gogits/gogs/pull/1230
Sorry for my inattentiveness…

Thanks your work, but we do not update locale files in source file.  :scream:


chore(master): release 1.3.1 (auto-release)

:robot: I have created a release beep boop
1.3.1 (2024-08-07)
Bug Fixes

release: ensure release actor pushes gpg-signed commit (#19) (ae003eb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/circlefin/circle-public-github-workflows/releases/tag/v1.3.1 :sunflower:


⚠ Bofrost.es has degraded performance

In 77bfc3a, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1463 ms

Resolved: Bofrost.es performance has improved in e6d27d1 after 6 minutes.


Site seems very slow to load the https://jsonstore.io URL but very quick to load the https://www.jsonstore.io

Something up with your server configuration?

Currently, the site https://jsonstore.io is completly offline. Has the project discontinued?

Seems fine to me, it will just redirect to www version for me

maybe it's a browser-specific issue, was on Firefox Nightly for Android,

For me, it went instantly


How can we make the model check the language by itself, without the need to provide a list of languages in advance?

How can we make the model check the language by itself, without the need to provide a list of languages in advance?

@xD0135 Thanks

By assuming that your issue is resolved, I close it now. Please read all the documentation before opening issues. Most questions ought to be covered by the docs. Thank you.


Improve PHPUnit fixtures

Changed log

According to the PHPUnit doc, it should be the protected function setUp(): void method.

Thanks @peter279k!


Icon.DefaultSpec: test leaflet-default-icon-path

Adds test for #4849.

@simon04
You've probably noticed that many tests are failed?
Also consider #7092.

Closing in favour of https://github.com/Leaflet/Leaflet/pull/7092…


'NoneType' object has no attribute 'game'

Deck 1: Tinkmaster Overspark, Duplicate, Dancing Swords, Darkscale Healer, Silverback Patriarch, Novice Engineer, Shattered Sun Cleric, Stonesplinter Trogg, Harvest Golem, Gelbin Mekkatorque, Dragonling Mechanic, Water Elemental, River Crocolisk, War Golem, Frostwolf Warlord, Azure Drake, Dancing Swords, Cult Master, Ship's Cannon, Frostwolf Warlord, Stormpike Commando, Silvermoon Guardian, Frostwolf Grunt, Flamecannon, Flamecannon, Wisp, Murloc Raider, Chillwind Yeti, Defender of Argus, Razorfen Hunter
Deck 2: Ogre Brute, Counterspell, Force-Tank MAX, Vaporize, Frost Elemental, Stalagg, Stampeding Kodo, Ethereal Arcanist, Bloodmage Thalnos, Lil' Exorcist, Wisp, Flesheating Ghoul, Coldlight Seer, Gnomish Experimenter, Gnomish Inventor, Jeeves, Silver Hand Knight, Illuminator, Piloted Shredder, Gnomish Inventor, War Golem, Force-Tank MAX, Mogu'shan Warden, Stranglethorn Tiger, Blood Knight, River Crocolisk, Tauren Warrior, Wee Spellstopper, Abomination, Chillwind Yeti
Traceback (most recent call last):
  File "C:\Users\Ragowit\Documents\GitHub\mcts\hearthbreaker\uct.py", line 429, in GetMoves
    if card.can_use(self.game.current_player, self.game) and isinstance(card, MinionCard):
  File "C:\Users\Ragowit\Documents\GitHub\mcts\hearthbreaker\hearthbreaker\cards\base.py", line 491, in can_use
    return super().can_use(player, game) and self.name not in [secret.name for secret in player.secrets]
  File "C:\Users\Ragowit\Documents\GitHub\mcts\hearthbreaker\hearthbreaker\cards\base.py", line 103, in can_use
    return player.mana >= self.mana_cost(player)
  File "C:\Users\Ragowit\Documents\GitHub\mcts\hearthbreaker\hearthbreaker\cards\base.py", line 121, in mana_cost
    for p in self.player.game.players
AttributeError: 'NoneType' object has no attribute 'game'

I'm having trouble replicating this one.  I've tried 40000 games with these decks, and no problem so far.

100 000 games and no error.  I think this one is going to be hard to track down.

Hmm, I will be home from work in about an hour. Will see if I can help out and replicate it.

Well I must admit that it's rare, but I got it again. These were the decks this time.
Deck 1: Chillwind Yeti, Defender of Argus, War Golem, Imp Master, Stranglethorn Tiger, Duplicate, Novice Engineer, Silverback Patriarch, Novice Engineer, Silverback Patriarch, Mechanical Yeti, Jungle Panther, Duplicate, Oasis Snapjaw, Water Elemental, Dalaran Mage, Mana Wyrm, Nightblade, Fen Creeper, Deathlord, Defender of Argus, Stonesplinter Trogg, Nightblade, Boulderfist Ogre, Fen Creeper, Frostwolf Grunt, Clockwork Gnome, Clockwork Gnome, Southsea Deckhand, Murloc Raider
Deck 2: Gazlowe, Stonetusk Boar, Hobgoblin, Boulderfist Ogre, Silvermoon Guardian, Loot Hoarder, Power Word: Shield, Jeeves, Sneed's Old Shredder, Mindgames, Abomination, Light of the Naaru, Captain Greenskin, Bloodmage Thalnos, Novice Engineer, Kel'Thuzad, Burly Rockjaw Trogg, Onyxia, Fel Reaver, Jungle Panther, War Golem, Thoughtsteal, Stampeding Kodo, Amani Berserker, Abusive Sergeant, Fen Creeper, Argent Commander, War Golem, Nat Pagle, Nozdormu

And again. The deck building AI had already chosen "Imp Master", so it was probably doing a lot of iterations on Duplicate.
Deck 1: Imp Master, Duplicate, Murloc Raider, Gelbin Mekkatorque, Darkscale Healer, Silverback Patriarch, Novice Engineer, Shattered Sun Cleric, Stonesplinter Trogg, Harvest Golem, Frost Elemental, Dragonling Mechanic, Water Elemental, River Crocolisk, War Golem, Frostwolf Warlord, Silvermoon Guardian, Unstable Ghoul, Tinkmaster Overspark, Puddlestomper, Frostwolf Warlord, Stormpike Commando, Silvermoon Guardian, Frostwolf Grunt, Flamecannon, Flamecannon, Wisp, Murloc Raider, Dragonling Mechanic, Fen Creeper
Deck 2: Fen Creeper, Holy Light, Kel'Thuzad, Avenge, Voodoo Doctor, Booty Bay Bodyguard, Frostwolf Grunt, Gruul, Murloc Tidehunter, Novice Engineer, Nozdormu, Murloc Raider, Defender, Wailing Soul, Spectral Knight, Blessing of Might, Archmage, King Mukla, Loatheb, Kobold Geomancer, Razorfen Hunter, Stormwind Champion, Bloodmage Thalnos, Nerubian Egg, Blessed Champion, Bloodsail Corsair, Sunwalker, Emperor Thaurissan, Ogre Brute, Cairne Bloodhoof

I found the cards in common between the two games and we have:

Bloodmage Thalnos
Frostwolf Grunt
Jeeves
Stonesplinter Trogg
Water Elemental
Murloc Raider
Abomination
Novice Engineer
Silverback Patriarch
Defender of Argus
Duplicate
Silvermoon Guardian
Chillwind Yeti
War Golem
Stampeding Kodo
Stranglethorn Tiger

The only card that it seems likely to have caused an issue is duplicate, but it's definitely setting the player.  I'm still pretty baffled by this one.

Again, more deck information. "Dancing Swords, Bloodsail Raider" had been selected by the AI, crashed when doing an iteration on Mad Scientist.
Deck 1: Dancing Swords, Bloodsail Raider, Mad Scientist, Duplicate, Gelbin Mekkatorque, Darkscale Healer, Silverback Patriarch, Novice Engineer, Shattered Sun Cleric, Stonesplinter Trogg, Harvest Golem, Frost Elemental, Dragonling Mechanic, Water Elemental, River Crocolisk, War Golem, Frostwolf Warlord, Silvermoon Guardian, Unstable Ghoul, Tinkmaster Overspark, Puddlestomper, Frostwolf Warlord, Stormpike Commando, Silvermoon Guardian, Frostwolf Grunt, Flamecannon, Flamecannon, Wisp, Murloc Raider, Chillwind Yeti
Deck 2: Puddlestomper, Spider Tank, Clockwork Gnome, Maexxna, Gazlowe, Youthful Brewmaster, Violet Teacher, Hogger, Redemption, Ysera, Sneed's Old Shredder, Pint-Sized Summoner, Jeeves, Piloted Shredder, Silverback Patriarch, Thrallmar Farseer, Gelbin Mekkatorque, Injured Blademaster, Blessing of Wisdom, Voodoo Doctor, Frostwolf Warlord, Sludge Belcher, Stalagg, Recombobulator, Deathwing, Cobalt Guardian, Bloodfen Raptor, Raid Leader, Priestess of Elune, Argent Squire

I encountered it again (deck information below), and I tried to reproduce it but got nothing with 276000 games and counting. This got me thinking, maybe it's the game.copy() event that is the problem? Does that one successfully copy all the secrets correctly?
Deck 1: Dragonling Mechanic, Duplicate, Nerub'ar Weblord, Darkscale Healer, Silverback Patriarch, Novice Engineer, Shattered Sun Cleric, Ship's Cannon, Harvest Golem, Frost Elemental, Dragonling Mechanic, Water Elemental, River Crocolisk, Ice Lance, Gurubashi Berserker, Azure Drake, Unstable Ghoul, Cult Master, Micro Machine, Gurubashi Berserker, Archmage, Silvermoon Guardian, Frostwolf Grunt, Maexxna, Kel'Thuzad, Argent Squire, Murloc Raider, Chillwind Yeti, Defender of Argus, Razorfen Hunter
Deck 2: Ragnaros the Firelord, Grimscale Oracle, Kobold Geomancer, Bloodsail Raider, Snowchugger, Tauren Warrior, Baron Rivendare, War Golem, Sunfury Protector, Argent Commander, Sunwalker, Gnomeregan Infantry, Sylvanas Windrunner, Harrison Jones, Onyxia, Kirin Tor Mage, Captain's Parrot, Dark Iron Dwarf, Southsea Deckhand, Murloc Tidehunter, Spider Tank, Acidic Swamp Ooze, Secretkeeper, Bomb Lobber, Dragon's Breath, Southsea Deckhand, Millhouse Manastorm, Dire Wolf Alpha, Kel'Thuzad, Doomsayer

Does it have to do with duplicating noncollectable cards?  The first game had Tinkmaster and Gelbin, second had Imp Master; third had Imp Master, Gelbin, and Tinkmaster; fourth had Gelbin, Tinkmaster Harvest Golem and Dragonling Mechanic; fifth had Dragonling, Harvest, and Razorfen.

I added try-except into the mana_cost function that would print out the card if it got into the except part.
And it did indeed print out Duplicate.
I have not looked into the game.copy() idea I wrote about earlier.
Deck 1: Master Swordsmith, Duplicate, Nerub'ar Weblord, Darkscale Healer, Silverback Patriarch, Novice Engineer, Shattered Sun Cleric, Ship's Cannon, Harvest Golem, Frost Elemental, Dragonling Mechanic, Water Elemental, River Crocolisk, War Golem, Frostwolf Warlord, Silvermoon Guardian, Nerubian Egg, Tinkmaster Overspark, Micro Machine, Frostwolf Warlord, Stormpike Commando, Silvermoon Guardian, Frostwolf Grunt, Kel'Thuzad, Flamecannon, Wisp, Murloc Raider, Chillwind Yeti, Defender of Argus, Razorfen Hunter
Deck 2: Mana Wyrm, Murloc Tidecaller, Stormpike Commando, Sneed's Old Shredder, Gnomish Experimenter, Illuminator, Spellbreaker, Murloc Warleader, Worgen Infiltrator, Wee Spellstopper, Southsea Captain, Mirror Image, Twilight Drake, Raid Leader, Piloted Shredder, Murloc Tidecaller, Gurubashi Berserker, Hobgoblin, Lord of the Arena, Ironforge Rifleman, Harrison Jones, Stormpike Commando, Duplicate, Frostwolf Grunt, Sunwalker, Ravenholdt Assassin, Flesheating Ghoul, Piloted Sky Golem, Frost Elemental, Blizzard

I figured it out.  Some secrets are setting self.player to None when they are deactivated.  What I don't understand is how a de-activated secret is making it back into a player's hand.

I guess I could try and take a look into implementing the replay feature, saving it if I encounter a problem.

If I did everything right with the replay thingie so is this the replay to get this error: https://gist.github.com/Ragowit/68bd9718e80dfc330ff5


feat: integrate wasmd

Description

This PR adds wasmd module to support CosmWasm in Crescent Core.
closes: #132
Tasks

[x] Add wasmd v0.29.2
[x] Resolve failing test cases
[ ] Update docs

Design Decision

Permissioned vs Permissionless --> Permissioned

References

CosmWasm Docs - Integration
wasmd v0.29.2

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Appropriate labels applied
[ ] Targeted PR against correct branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

This PR has been tangled with #131. I will work this with new PR.


[IntellijPlugin] Restrict users to create ballerina files right clicking module directory

Description:
The files created will not be recognized as ballerina file. May be we can provide creating ballerina files only right clicking src file or project directory.

Closing since fixed by #17964.


Regarding the issue of excessive FID

Thank you very much for your  guidance in #29 ! But after that, I encountered other issues.I can't calculate the correct FID score.
I used the CelebA 64 x 64 model you provided on GitHub, but I found that the images generated by the model scored over 30 when calculating the FID compared to the images from the CelebA dataset. I believe there might be some mistakes on my part, and I hope you can provide some guidance.
Could I trouble you to offer some guidance once again? And thank you for your previous generous assistance!

Additionally:
My sampling command is "python main.py --config celeba.yml --exp ./ --doc celeba_train --sample --fid --timesteps 1000 --eta 0 --ni," and I used the CelebA 64 x 64 model provided by you directly for sampling.

I have resolved the issue; it was just a mistake in the data preprocessing stage. Thank you for your assistance.


python312Packages.yt-dlp: 2024.3.10 -> 2024.4.9

Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2024.04.09
Fixes CVE-2024-22423 (https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-hjq6-52gw-2g7p) (only relevant for Windows)
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.


Add problem styling

Updated the css styling of add-problem page to match figma.

Could you fix this so that the left side has fixed vertical spacing? (or just make it so that the description box cannot be resized)

Bug should be fixed, please review.


Minor doc updates

I used the User and Project objects for the first time and noticed that their fields are not documented. I added this in this PR as well as a few other minor enhancements (mainly for consistent looks).
@mmcev106, did you mean the framework reference in these objects to be private? Maybe the classes should then be amended to specify the privacy of this field?

Any undocumented variables/methods are intentional, and are not currently supported (they may be refactored at any time).

Wouldn't username and project_id, respectively, be sensible documented fields in these objects?
If I am not mistaken, there currently is no method (like getProjectId) to get the name of the current user (except from the USERID constant). IMO it would make sense to have this exposed on a User object.
Anyways, I can eliminate the fields, if you want, so that at least the cosmetic (and version info) additions can me merged.

I think it would be more appropriate to create getter methods for each, as opposed to exposing them directly.  That's our standard or other "static" values in other documented methods, and provides more flexibility for future refactoring.

How about this?

Looks great.  Thanks!


Hangouts no connection on gsuite accounts

The company I work for uses the gsuite for employee accounts so instead of<EMAIL_ADDRESS>the email address looks like<EMAIL_ADDRESS>but it's still a google account. With a regular google account, hangouts works like a charm, with the company account it just says  No connection Couldn't connect to the server
Try again doesn't help and cancel, well, closes the app

This is the result on a OnePlus 3T with SkyDragonOS (Android 9) using microG ver. <IP_ADDRESS>85-beta-1 mapbox (Installed with NanoDroid 22.2 I think).
On <IP_ADDRESS>80 I at least got it to work using the Wiki workaround (although on an outdated version without media support)

Same here on Xiaomi Mi8 with the mirog variant of LineageOS 17.1 (microG ver <IP_ADDRESS>915).


Spring Boot version is hard coded in the plugin - it should be configurable.

This is already addressed through a maven plugin configuration.


Update from dependencies

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (561d8aa) to head (c9b09e1).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #27   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           94        94
  Lines         2607      2607
=========================================
  Hits          2607      2607

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix start failed in enhanced kernel-native mode

What type of PR is this?
/kind bug

What this PR does / why we need it:

start failed in enhanced kernel-native mode
fix workload tail_call wrong pin in SetMapPinType, move it in SockConnWorkload attach

Which issue(s) this PR fixes:
Fixes #1099
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/lgtm

/retest

/lgtm
/approve


ReferenceError: Request is not defined

i have got this problem when i browered in my chrome,here is the full error message:
ReferenceError: Request is not defined
at getRequest (file:///Users/xxxxx/xxxxx/devika/ui/node_modules/@sveltejs/kit/src/exports/node/index.js:107:2)
at file:///Users/xxxxx/xxxxx/devika/ui/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:497:27
at processTicksAndRejections (node:internal/process/task_queues:96:5)
i have started all the servic and installed all requements by flowing documentary steps, meanwhile updated my base enverament, but i still got this error, what should i do to fix this issue?

+1

I am also experiencing the same problem. Could you please give a detailed solution? How to under the node from the environment?

If you use nvm switch to version 20 or Install latest node version.
nvm install 20  nvm use 20
This should fix the issue.

If you use nvm switch to version 20 or Install latest node version.
nvm install 20 && nvm use 20
This should fix the issue.

Thanks a lot. This fixed it.


Static files should be shared from STATIC_ROOT, not project/static

In its intended behavior, every app in Django has its own /static/ directory with its own static files, which are then all combined into one directory (or server if you use S3 or similar) by the collectstatic management command. In this repo, only the /static/ of the main app is shared and STATIC_ROOT is not set. This also precludes post-processing via collectstatic, for example using ManifestStaticFilesStorage to automatically cache-bust files.

Fixed. Thanks for reporting!


About the ver

Will you please add the correctlly version of the package?
It's always 'latest' now.
I've ported the package to AUR edgetx-buddy-bin , but the version was always '0.1.0'.

Agree. I think that requires some changes, for example in translation is a fixed word "(Latest)": " but of course is very helpful to have a version number, users think to have the latest version and it well could be that is not.

That would require a tagged/versioned release, however, there hasn't been one, hence why it is always latest.

@pfeerick should we start incrementing the release numbers and have some proper "releases"? It would probably make sense for downstream packaging.

No complaints from the peanut gallery... especially if it makes the lives of potential contributors or other package maintainers better 🤭

I'm happy to implement automated versioning. I've done this before using semantic-release which will auto increment the version number on merge to main depending on the conventional commitments which were merged to main

I'm happy to implement automated versioning.

Sounds great :-) Let do it!

Where did this end ?

Where did this end ?

Nowhere for now 😅


Cannot change the zoom position left-to-right

I want to change the zoom image position from right to left, but I can't. It just accepts the beside and over value as position.

Use the enlargedImageContainerStyle to achieve this:
<ReactImageMagnify
  {...{
    smallImage: {
      width: 500,
      height: 500,
      src: imageSrc
    },
    largeImage: {
      width: 1200,
      height: 1800,
      src: imageSrc
    },
    enlargedImageContainerStyle: {
      left: 'unset',
      right: '100%',
      marginLeft: 'unset',
      marginRight: '10px'
    }
  }}
/>


Unit testing

There are no test yet and they perform a real network call. This code needs some love and unit tests that don't require unit testing

Xcode code coverage currently seems not to be working (only test covering the Example app are taken into account)
cfr https://github.com/CocoaPods/CocoaPods/issues/3706

I made an issue #23 for enable code coverage. For now we can leave this but good find! @herre


Continue with google authentication using firebase

Describe the feature
Using firebase we can create authentication through google.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Go ahead