Under zing24, double parsing returns an abnormal value.

environment：openjdk version "21.0.4" 2024-09-27 LTS
OpenJDK Runtime Environment Zing<IP_ADDRESS>+5 (build 21.0.4+4-LTS)
Zing 64-Bit Tiered VM Zing<IP_ADDRESS>+5 (build 21.0.4-zing_<IP_ADDRESS>-b5-release-linux-X86_64, mixed mode)
`
public static void main(String[] args) {
    for (int i = 0; i < 100000000; i++) {
        double doubleValue = JavaDoubleParser.parseDouble("6.2810452735993785");
        if (doubleValue > 7) {
            System.out.println("doubleValue = " + doubleValue);
        }
    }
}

`
print:
doubleValue = 9.124181094397514
doubleValue = 9.124181094397514

Can you reproduce the problem in the interpreter mode of the JVM? With option -Xint

The problem cannot be reproduced in the interpreter mode of the JVM,
Under zing24, Double.parseDouble also works as expected.
It is also normal under the java version “21.0.1” 2023-10-17 LTS.

You should report this as a bug in the JIT to the Zing JVM.

The problem was also reproduced in openJdk21, and it was found that only lengths greater than 18 would be parsed as incorrect data after jit optimization.
java version "21.0.3" 2024-04-16 LTS
Java(TM) SE Runtime Environment (build 21.0.3+7-LTS-152)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.3+7-LTS-152, mixed mode, sharing)
    public static void main(String[] args) {         for (int i = 0; i < 100000000; i++) {             double value = 3044.07953904259;             double doubleValue = JavaDoubleParser.parseDouble("1785.0198847606475");             if (doubleValue != value) {                 System.out.println("i:"+i + ",doubleValue:" + doubleValue);             }         }     }
print:
i:8660634,doubleValue:1785.0198847606475
i:8660635,doubleValue:1785.0198847606475
i:8660636,doubleValue:1785.0198847606475
i:8660637,doubleValue:1785.0198847606475
i:8660638,doubleValue:1785.0198847606475
i:8660639,doubleValue:1785.0198847606475
i:8660640,doubleValue:1785.0198847606475

Maybe java.lang.Math.unsignedMultiplyHigh(long,long) is the problem?
I have copied the relevant code into a single source file.
I have attached it as a .zip file, because githut does not let me attach a .java file.
Can you reproduce the problem with this file?
If yes, then replace the code of the method unsignedMultiplyHigh with this code:
    static long unsignedMultiplyHigh(long x, long y) {//before Java 18
        long x0 = x & 0xffffffffL, x1 = x >>> 32;
        long y0 = y & 0xffffffffL, y1 = y >>> 32;
        long p11 = x1 * y1, p01 = x0 * y1;
        long p10 = x1 * y0, p00 = x0 * y0;

        // 64-bit product + two 32-bit values
        long middle = p10 + (p00 >>> 32) + (p01 & 0xffffffffL);

        // 64-bit product + two 32-bit values
        return p11 + (middle >>> 32) + (p01 >>> 32);
    }

ZingAbnormalMain.java.zip

It's true that unsignedMultiplyHigh is causing the problem, I replaced the unsignedMultiplyHigh code you provided and it runs fine!

Intriguing. What is your processor? ARM or x64?

Kernel: Linux 5.10.134-16.3.al8.x86_64
Architecture: x86-64

I have made a shorter version here. Can you please try if it still reproduces the bug, and then report it to the Zing team?
Do you need a patched version of the FastDoubleParser library that does not call Math.unsignedMultiplyHigh?
ReproduceZingMain.java.zip

I have published a workaround as version 1.0.90 on central.sonatype.com.

Ok, thanks, version 1.0.90 works fine!

@HaoClassmate can you link the Zing issue?


vhost example references nonexistent django-admin.py script

https://github.com/graphite-project/graphite-web/blob/cda34860709eaf7bb41b887a3701968f851010cf/examples/example-graphite-vhost.conf#L42
        # XXX You need to generate this directory by running:
        # django-admin.py collectstatic --noinput --settings=graphite.settings

Did this script used to exist? Is it somewhere I'm no looking? I don't see it in any of the graphite repos.

django-admin.py is installed with django. If you used pip to install graphite, synthesize, or operating system packages it should be available. Feel free to send a pull request making the documentation more clear but since this isn't an issue, I'm going to go ahead and close it.

Actually, Synthesize still installs Graphite 0.9.x + Django 1.4 (per requirements.txt) which doesn't use the collectstatic command.


Check performance of PanelOLS and AbsorbingLS in large models

Check performance and defer expensive operations

Hi @bashtage! Are there any improvements on that?
I also wanted to raise this issue. For my pretty large dataset, running FE panel model works ~20 times slower than just going manual OLS way with substracting corresponding mean values and utilizing  np.linalg.solve. Any particular reasons for that?
Also I wanted to ask whether multiprocessing is used here, cannot figure out (but it seems that all of my cores are used)?

There is no multiprocessing, but there should be multithreading.  Can you post an example with a simulated dataset that is like the one you are fitting (similar group structure), along with the command.
One reason why it might be expensive is that it performs more checks then are necessary, and may also create new data structures.  This is a cost but the benefit is large in terms of long term maintainability and shallowness of bugs. In complicated models, those with 2 effects and really large datasets, e.g., 5 million + rows with many relatively small groups (1million+ groups) it should be nearly identical to the best methods available.


Replace sync-leader with marathon-leader in readme

sync-leader was replaced with marathon-leader by #211.
This patch updates the readme to reflects this change.
Fixes: #217

Coverage remained the same at 87.453% when pulling ac37c86e0687c1299a27033d9158a8067e698a42 on bug-fix/update_readme into b10c401c00a7e04b6e306f32cc01ed99bbe9993a on master.


Error AL0133 Problem that solved itself

For the second time I'm facing the same issue while I'm upgrading solution to AL.

error AL0133: Argument 2: cannot convert from 'DotNet "Newtonsoft.Json.Linq.JToken"' to 'DotNet "Newtonsoft.Json.Linq.JToken&"'

error occurs in function TryGetvalue of dotnet Json object, expecting JToken& object instead of JToken.
JObject.TryGetValue('', JToken)
Things that I did to skip this problem are copy Newtonsoft library to .netpackages, and restart VS Code. After I successfully publish extension, I remove .netpackages folder, and I didn't have that problem again. Did I have problem or this is bug?
This code works properly on C# and NAV.
I'm using BC CU6 on docker.

Hi @tomasevicstefan, which version of the AL extension of BC are you using? Can you attach a small sample reproducing your issue (including the dll for Newtonsoft that you are trying to use in AL) ?

This issue has been closed because it needs more information and has not had recent activity. Please open a new issue if you believe this has not been resolved and reference the current issue.


feat(decl): add CLI support to run declarative tests

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind tests

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area commands

/area pkg

/area events

What this PR does / why we need it:
This PR introduces the declarative commands namespace and the declarative run subcommand to enable users to run tests via a YAML description of them.
It also introduces a new log package, leveraging logr and the zap logger, that is going to replace the actual logrus logger in the future. However, for the moment, it lets logrus and logr coexists until is decided to completely replace logrus with logr.
Finally, it enable support for providing an empty test step list, since some rules can be triggered even without performing any step (i.e. by creating specific resources and/or by creating a specific process chain).
The following is YAML description sample that can be passed to the CLI to test its behaviour:
tests:
  - rule: StdoutStdinToNetworkConnection
    name: test1
    description: "Redirect stdout/stdin to network connection"
    runner: HostRunner
    context:
      processes:
        - exePath: "/tmp/parent"
          args: "-a -b -c" # these are argv[1], argv[2], etc...; if unspecified default to ""
          exe: "arv0" # this is argv[0]; if unspecified, defaults to name if this is specified, to base("/path/to/exe") otherwise.
          name: "procName" # this is the process name; if unspecified, defaults to base("/path/to/exe")
        - exePath: "/tmp/child"
    before: |
      echo "Hi!"
    resources:
      - type: clientServer
        name: cs1
        l4Proto: tcp4
        address: <IP_ADDRESS>:80
    steps:
      - type: syscall
        name: dup1
        syscall: dup2
        args:
          oldfd: "${cs1.client.fd}"
          newfd: 0
    after: |
      echo "Bye!"

It creates a process chain composed of a parent and a child (it tunes the parent process and its command configuration in order to demonstrate what can be achieved). The last process (i.e. the child process) in the chain is the one that will run the "before" and "after" scripts and will create the specified resources and steps.
The clientServer test resource allows to spawn a tcp4 server listening on <IP_ADDRESS>:80. It also spawns a client that is automatically connected to the server. This resources exposes both the client and the server sockets file descriptors as bindable fields.
The syscall test step performs a dup2 system call and binds the process stdin file descriptor to the the client socket file descriptor. It performs this task by leveraging the field binding feature.
Supposing the aforementioned YAML is stored in the file sample.yaml of the current working directory, the test can be run by issuing the following command:
sudo <event_generator_exepath> declarative run --description-file sample.yaml

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ekoops
Once this PR has been reviewed and has the lgtm label, please assign leogr for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 0ab27d9ae96563904df3b57982e2e5de430f7437

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ekoops, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


server: update default value of setting 'expose.dns.externally' to 'false"

Description
This PR fixes the issue that the DNS is exposed publicly by default.
related to:
https://github.com/apache/cloudstack/commit/6a72e6e9f83145f20364c00e95c4d918f0de86e0
https://github.com/apache/cloudstack/pull/1663

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[x] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8914

@blueorangutan test

@weizhouapache a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

this is a critical issue
@rohityadavcloud @NuxRo @DaanHoogland @JoaoJandre

[SF] Trillian test result (tid-9447)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42419 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8776-t9447-kvm-centos7.zip
Smoke tests completed. 110 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

Merging based on approvals and CI result


Issue with k8s.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/

I can't, for the life of me, figure out why I would need to set periodSeconds on a readinessProbe. It seems like it should be an unused field for the readiness side as a one-time only check.

The periodSeconds is the delay between checks, while you can have the readinessProbe pass after just one successful check you can also make it require several, which is where the periodSeconds comes into play.
If you want your readiness probe to pass three times before becoming ready then the periodSeconds would be the time between each of those checks


importlib.metadata.PackageNotFoundError: No package metadata was found for The 'unsloth' distribution was not found and is required by this application

training env: LLaMaFactory
`01/24/2024 01:53:50 - INFO - llmtuner.model.patcher - Quantizing model to 4 bit.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/versions.py", line 102, in require_version
got_ver = importlib.metadata.version(pkg)
File "/usr/lib/python3.10/importlib/metadata/init.py", line 996, in version
return distribution(distribution_name).version
File "/usr/lib/python3.10/importlib/metadata/init.py", line 969, in distribution
return Distribution.from_name(distribution_name)
File "/usr/lib/python3.10/importlib/metadata/init.py", line 548, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for unsloth
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/workspace/LLaMA-Factory/src/train_bash.py", line 14, in
main()
File "/workspace/LLaMA-Factory/src/train_bash.py", line 5, in main
run_exp()
File "/workspace/LLaMA-Factory/src/llmtuner/train/tuner.py", line 37, in run_exp
run_dpo(model_args, data_args, training_args, finetuning_args, callbacks)
File "/workspace/LLaMA-Factory/src/llmtuner/train/dpo/workflow.py", line 30, in run_dpo
model, tokenizer = load_model_and_tokenizer(model_args, finetuning_args, training_args.do_train)
File "/workspace/LLaMA-Factory/src/llmtuner/model/loader.py", line 66, in load_model_and_tokenizer
require_version("unsloth", "Follow the instructions at: https://github.com/unslothai/unsloth")
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/versions.py", line 104, in require_version
raise importlib.metadata.PackageNotFoundError(
importlib.metadata.PackageNotFoundError: No package metadata was found for The 'unsloth' distribution was not found and is required by this application.
Follow the instructions at: https://github.com/unslothai/unsloth
[2024-01-24 01:53:52,184] [INFO] [launch.py:315:sigkill_handler] Killing subprocess 1551179
[2024-01-24 01:53:52,184] [INFO] [launch.py:315:sigkill_handler] Killing subprocess 1551180
[2024-01-24 01:53:52,206] [INFO] [launch.py:315:sigkill_handler] Killing subprocess 1551181
[2024-01-24 01:53:52,396] [INFO] [launch.py:315:sigkill_handler] Killing subprocess 1551182`

@xiechengmude Did you install Unsloth? I think you might have posted this before but can't remember - did u install Unsloth correctly via Conda or pip?


Chinese translation of Basic Front End Development Projects

[ ] Get Set for Ziplines
[ ] Build a Personal Portfolio Webpage
[ ] Build a Random Quote Machine
[ ] Build a Pomodoro Clock
[ ] Build a JavaScript Calculator

Closing in favor of https://github.com/FreeCodeCamp/TranslationExpansion/issues/10


[Event Request] Table 7311 Warehouse Journal Line - OnBeforeCheckBin

Hi AL team,
could you please pass the Record "WarehouseJournalLine" by ref?
[IntegrationEvent(false, false)]
--- local procedure OnBeforeCheckBin(WarehouseJournalLine: Record "Warehouse Journal Line"; LocationCode: Code[10];
+++ local procedure OnBeforeCheckBin(var WarehouseJournalLine: Record "Warehouse Journal Line"; LocationCode: Code[10];
    BinCode: Code[20]; Inbound: Boolean; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Issue with Authentication and Authorization with mysql

Environment

VerneMQ Version: release,"vernemq","<IP_ADDRESS>","10.7"
OS: Linux (Linux e1554ba7b619 5.8.14-200.fc32.x86_64 #1 SMP Wed Oct 7 14:47:56 UTC 2020 x86_64 GNU/Linux)
Erlang/OTP version (if building from source):
VerneMQ configuration (vernemq.conf) or the changes from the default

########## Start ##########
accept_eula=yes
log.console.level=debug
listener.ssl.default=<IP_ADDRESS>:8884
plugins.vmq_passwd=off
plugins.vmq_diversity=on
vmq_diversity.mysql.port=3306
vmq_diversity.mysql.user=mqttuser
listener.ssl.keyfile=/vernemq/etc/certs/server.key
vmq_diversity.auth_mysql.enabled=on
listener.ssl.certfile=/vernemq/etc/certs/server.crt
vmq_diversity.mysql.database=***********
vmq_diversity.mysql.password=***********
vmq_diversity.mysql.host=<IP_ADDRESS>
vmq_diversity.mysql.password_hash_method=sha256
log.console.file=/vernemq/log/broker.log
allow_anonymous=off
listener.ssl.cafile=/vernemq/etc/certs/ca.crt
plugins.vmq_acl=off
log.console=file
erlang.distribution.port_range.minimum = 9100
erlang.distribution.port_range.maximum = 9109
listener.tcp.default = <IP_ADDRESS>:1883
listener.ws.default = <IP_ADDRESS>:8080
listener.vmq.clustering = <IP_ADDRESS>:44053
listener.http.metrics = <IP_ADDRESS>:8888
########## End ##########

Cluster via haproxy (2 nodes) using Docker
Form docker-compose.yml

    image: vernemq/vernemq
    restart: always
    environment:
      DOCKER_VERNEMQ_ACCEPT_EULA: 'yes'
      DOCKER_VERNEMQ_DISCOVERY_NODE: '<IP_ADDRESS>'
      DOCKER_VERNEMQ_ALLOW_ANONYMOUS: 'off'
      DOCKER_VERNEMQ_PLUGINS__VMQ_DIVERSITY: 'on'
      DOCKER_VERNEMQ_PLUGINS__VMQ_ACL: 'off'
      DOCKER_VERNEMQ_PLUGINS__vmq_passwd: 'off'
      DOCKER_VERNEMQ_VMQ_DIVERSITY__auth_mysql.enabled: 'on'
      DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__HOST: '<IP_ADDRESS>'
      DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__PORT: '3306'
      DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__USER: 'mqttuser'
      DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__PASSWORD: '************************'
      DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__DATABASE: 'mqtt_test'
      DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__PASSWORD_HASH_METHOD: 'sha256'
      DOCKER_VERNEMQ_LISTENER__SSL__CAFILE: '/vernemq/etc/certs/ca.crt'
      DOCKER_VERNEMQ_LISTENER__SSL__CERTFILE: '/vernemq/etc/certs/server.crt'
      DOCKER_VERNEMQ_LISTENER__SSL__KEYFILE: '/vernemq/etc/certs/server.key'
      DOCKER_VERNEMQ_LISTENER__SSL__DEFAULT: '<IP_ADDRESS>:8884'
      DOCKER_VERNEMQ_LOG__CONSOLE: 'file'
      DOCKER_VERNEMQ_LOG__CONSOLE__LEVEL: 'debug'
      DOCKER_VERNEMQ_LOG__CONSOLE__FILE: '/vernemq/log/broker.log'

Expected behaviour
The broker should authenticate and authorize the "right" clients checking credentials and authorizations from mysql
Actual behaviour
The clients can subscribe and publishing, but the subscriber does not get the messages.
Basically, using mosquitto_sub, I am able to connect to the broker:
mosquitto_sub -h localhost -p 8883 -u ENGINE -P<PHONE_NUMBER>4ba360ff232ca96aab316cd99731e7324ce66ebf363bb5f77277da -d --cafile ../vernemqtt/certs/ca.crt --insecure -i ENGINE -t '#' -d -v
Client ENGINE sending CONNECT
Client ENGINE received CONNACK (0)
Client ENGINE sending SUBSCRIBE (Mid: 1, Topic: #, QoS: 0, Options: 0x00)
Client ENGINE received SUBACK
Subscribed (mid: 1): 0
Client ENGINE sending PINGREQ
Client ENGINE received PINGRESP

When I am publish a message, using mosquitto_pub
mosquitto_pub -h <IP_ADDRESS> -p 8883 -u ENGINE -P<PHONE_NUMBER>4ba360ff232ca96aab316cd99731e7324ce66ebf363bb5f77277da -d --cafile ../vernemqtt/certs/ca.crt --insecure -i ENGINE -t /notifications/aaa/12345 -m "hello" -d --repeat 2
Client ENGINE sending CONNECT
Client ENGINE received CONNACK (0)
Client ENGINE sending PUBLISH (d0, q0, r0, m1, '/notifications/aaa/12345', ... (5 bytes))
Client ENGINE sending PUBLISH (d0, q0, r0, m2, '/notifications/aaa/12345', ... (5 bytes))

The messages are not received by the subscriber.
I can't find where is the issue within the configuration if any.
Content of vmq_auth_acl table:
select * from vmq_auth_acl;
+------------+--------------+--------------+------------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------------+
| mountpoint | client_id    | username     | password                                                         | publish_acl                                                              | subscribe_acl                                                            |
+------------+--------------+--------------+------------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------------+
|            | ENGINE       | ENGINE       |<PHONE_NUMBER>4ba360ff232ca96aab316cd99731e7324ce66ebf363bb5f77277da | [{"pattern":"/notifications/aaa/#"},{"pattern":"/notifications/engine"}] | [{"pattern":"/notifications/aaa/#"},{"pattern":"/notifications/engine"}] |
+------------+--------------+--------------+------------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------------+
1 row in set (0.00 sec)

Actual mysql.lua script (from etc/scripts/)
require "auth/auth_commons"

function my_auth_on_register(reg)

    if reg.username ~= nil and reg.password ~= nil then
	sql = "SELECT publish_acl, subscribe_acl FROM vmq_auth_acl WHERE username = '"..reg.username.."' AND password = '"..reg.password.."';"
        results = mysql.execute(pool, sql)
        if #results == 1 then
            row = results[1]
            publish_acl = json.decode(row.publish_acl)
            subscribe_acl = json.decode(row.subscribe_acl)
            cache_insert(
                reg.mountpoint,
                reg.client_id,
                reg.username,
                publish_acl,
                subscribe_acl
                )
	    log.info("[auth_on_register] SUCCESS")
            return true
        else
	   log.info("[auth_on_register] ERROR")
            return false
        end
    end
end

function my_auth_on_publish(pub)
	log.info("[my_auth_on_publish] pub topic: "..pub.topic)
	return true
end

function my_auth_on_subscribe(sub)
	log.info("[my_auth_on_subscribe] sub topic: "..pub.topics[1])
	return true
end

pool = "auth_mysql"
config = {
    pool_id = pool
}

mysql.ensure_pool(config)
hooks = {
    auth_on_register = my_auth_on_register,
    auth_on_publish = my_auth_on_publish,
    auth_on_subscribe = my_auth_on_subscribe,
    on_unsubscribe = on_unsubscribe,
    on_client_gone = on_client_gone,
    on_client_offline = on_client_offline,
    on_session_expired = on_session_expired,

    auth_on_register_m5 = auth_on_register_m5,
    auth_on_publish_m5 = auth_on_publish_m5,
    auth_on_subscribe_m5 = auth_on_subscribe_m5,
}

In your mosquitto commands, you're connecting to localhost in one case, to IP in another case. Don't know if that's what you want?
Also -i ENGINE means you use the same ClientID for both sessions. This will race.

@ioolkos Thank you for your reply.
The usage of localhost/ip was not intentional. I tried all the combinations.
Is it not possible to send a message to itself?
I also used another client and I had an authorization error:
2020-10-30 17:17:04.459 [debug] <0.547.0>@vmq_ranch:teardown:155 session normally stopped
2020-10-30 17:17:05.504 [debug] <0.225.0>@plumtree_broadcast:schedule_lazy_tick:720 0ms mailbox traversal, schedule next lazy broadcast in 10000ms, the min interval is 10000ms
2020-10-30 17:17:11.161 [info] <0.485.0>@vmq_diversity_lager:info:33 [auth_on_register] username.: Frank
2020-10-30 17:17:11.161 [info] <0.485.0>@vmq_diversity_lager:info:33 [auth_on_register] password.: ********
2020-10-30 17:17:11.161 [info] <0.485.0>@vmq_diversity_lager:info:33 [auth_on_register] client_id: Frank
2020-10-30 17:17:11.164 [info] <0.485.0>@vmq_diversity_lager:info:33 [auth_on_register] SUCCESS
2020-10-30 17:17:11.165 [debug] <0.627.0>@vmq_queue:state_change:1092 transition from offline --> online because of add_session
2020-10-30 17:17:11.168 [error] <0.623.0>@vmq_mqtt_fsm:auth_on_publish:727 can't auth publish [<<"Frank">>,{[],<<"Frank">>},0,[<<>>,<<"notifications">>,<<"aaa">>,<<"12345">>],<<"hello">>,false] due to not_authorized
2020-10-30 17:17:11.168 [debug] <0.623.0>@vmq_ranch:teardown:155 session normally stopped

select * from vmq_auth_acl;
+------------+--------------+--------------+------------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------------+
| mountpoint | client_id    | username     | password                                                         | publish_acl                                                              | subscribe_acl                                                            |
+------------+--------------+--------------+------------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------------+
|            | Frank        | Frank        | 4356771cf123ac3d348d029705f48206e2ba6a6d7de68568ef1e3d32b415c876 | [{"pattern":"/notifications/aaa/#"}}]                                    | [{"pattern":"/notifications/aaa/#"},{"pattern":"/notifications/engine"}] |
|            | ENGINE       | ENGINE       |<PHONE_NUMBER>4ba360ff232ca96aab316cd99731e7324ce66ebf363bb5f77277da | [{"pattern":"/notifications/aaa/#"},{"pattern":"/notifications/engine"}] | [{"pattern":"/notifications/aaa/#"},{"pattern":"/notifications/engine"}] |
+------------+--------------+--------------+------------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------------+

mosquitto_pub -h <IP_ADDRESS> -p 8883 -u Frank -P 4356771cf123ac3d348d029705f48206e2ba6a6d7de68568ef1e3d32b415c876 -d --cafile ../vernemqtt/certs/ca.crt --insecure -i Frank -t /notifications/aaa/12345 -m "hello"

Client Frank sending CONNECT
Client Frank received CONNACK (0)
Client Frank sending PUBLISH (d0, q0, r0, m1, '/notifications/aaa/12345', ... (5 bytes))
Client Frank sending DISCONNECT

Any suggestions?

The issue
2020-10-30 17:17:11.168 [error] <0.623.0>@vmq_mqtt_fsm:auth_on_publish:727 can't auth publish [<<"Frank">>,{[],<<"Frank">>},0,[<<>>,<<"notifications">>,<<"aaa">>,<<"12345">>],<<"hello">>,false] due to not_authorized
is gone. I simple forgot to reload the mysql.lua script after the update of the database.
Anyway, the subscriber still not receive the message from the publisher. In the logs no errors.

@ioolkos
I was able to get it working disabling one cluster. Basically inside the docker-compose.yml file I disabled one vernemq node. With this change, the broker works meaning that it authenticates the clients from mysql and the message published are received by the subscriber, even it the clientid/username are the same for subscriber/publisher as you mentioned above.
With both nodes enabled, the "thing" does not work. I observed, with 2 nodes enabled, that one node handled the subscriptions and the other the publishing and the messages received from the publisher are "not routed" to the subscriber.
In the etc/vernemq.conf file the listener.vmq.clustering option is set to the specific broker ip and not to "<IP_ADDRESS>:44053" value suggested by the documentation. I tried to set that option in the docker-compose.yml file, but it's always overwritten. Basically I have the following:
listener.vmq.clustering=<IP_ADDRESS>:44053
listener.vmq.clustering = <IP_ADDRESS>:44053

Any suggestions?
Thank you

I fixed the issue.
In the second vernemq node I added the "join" to the first node. Basically I was missing the following:
DOCKER_VERNEMQ_DISCOVERY_NODE: "IP_ADDRESS_OF_THE FIRST_NODE"
So now I have a vernemq cluster with two nodes using mysql to authenticate the clients.

@westforkfab, I am seraching to overwrite the postgres.lua script. There is very few documentation on how to do that. Can you explain how you proceed to overwrite the mysql.lua file?
Best Regards
CG


chore(build): map dev env to environment.ts

By mapping --env=dev directly to environment.ts we can avoid having an extra file that is never really used.

LGTM!

Wasn't the idea of having environment.prod.ts and environment.dev.ts to allow the build script to copy the correct file onto environment.ts which in turn is the file referenced in our code
import { environment } from "../environments/environment"

Am I misunderstanding something? Is there a way to import the correct file into our code right now?

Yes. Same as before, except now environment is also dev. So in development we don't replace it, while in prod (or others) we replace it with the proper environment.


Pivot #33 - WIP

This is a work in progress PR for Pivot component.
Component works in most cases as expected, but there are couple of things to notice:

spacing between pivot items is not consistent (especially visible on tabs), even though the markup that is generated by the directive is no different from the Fabric UI demo markup,
even though all of the test cases are executed and they pass testing various parts of the component, code coverage is only 40% for the component.

Documentation still to come.
I submit this PR to get feedback on whether functionality is as expected and to get input/feedback how to solve the issues mentioned above.
Closes #33.

LGTM!

I updated the comment in this PR to say "Closes # 33" (no space) to link this up to the issue in our Waffle board (Waffle looks for "Closes #000" in the text of the PR description to link the two up so when the PR is closed, it automatically closes the issue... hence why that exact text is in the PR template).

I pushed final version of pivot to my WIP branch. It has documentation and work around for the spacing issues. However the contextual menu that is in the ellipsis does not display properly now and coverage is still poor.
Feel free to review.

Coverage decreased (-1.6%) to 96.797% when pulling 4cfbc2c35a43db6bbb8c1bf85f142288a36ec8e5 on jjczopek:feat-pivot-#33-WIP into e3ae5e4f8f8993c06fc176ac7525d2bbfff203b4 on ngOfficeUIFabric:dev.

So… are you saying the “WIP” label doesn’t apply now and you’re ready for merge?

@andrewconnell : the demo isn't working as I would like it to work, but other than that it's good. If I'll not figure anything better, I'll squash it and remove WIP and then it will be ready for merge. But maybe someone by that time will figure out how to fix the demo :P

The issue with contextual menu not displaying properly was identified as bug in Fabric. Therefore I will submit make proper PR in the evening.

OK… so I’m not clear if we can merge this as is now with some undesirables with Fabric’s CSS, or if we should wait?
I’m getting confused with open PRs that “aren’t ready” :) If a PR isn’t ready, all good to close it and reopen / resubmit a new one later.

As of now I consider it ready to be merged.

Coverage decreased (-1.06%) to 96.797% when pulling<PHONE_NUMBER>582c5b43e6f2e7c7b38beae6685950 on jjczopek:feat-pivot-#33-WIP into 895a111aded39fdd05c8b027a49dfd3c71bc48a4 on ngOfficeUIFabric:dev.


setting minify_html breaks side display of Index/TOC for page

I'm not sure if this is a bug or not, but currently setting minify_html=true causes the table of contents to be rendered at the bottom of the post(after go to top) rather than the side.

Issue is getting stale. @skewballfox Are you still having issues?

yes, unless it's something specific to my system I'm pretty sure you can test this yourself.
git clone https://github.com/Jieiku/abridge
cd abridge
sed -i 's/minify_html = false/minify_html = true/g' config.toml
zola serve --port 1234

then navigate to the local copy of the code blocks entry, and you should see a missing  Index box, which is now improperly renderered after the body of the post

Thanks, will look into this.

@skewballfox Thanks! I just followed your example to the letter.
here is Firefox:

here is chrome:

What Operating System, Browser, and resolution are you using?

not quite, I'm talking about the page Code blocks and themes, not the index/list of post. I was using that specific post as an example, but the issue will be present for any post which has multiple headings

here is the table of contents for that page rendered below the post when minified. it's correct when not minified though
I've used firefox and chrome on fedora 36, resolution should be 1080p

Perfect, I see the issue as well. This is a new issue, I am able to reproduce this and will figure out the cause.

I was able to reproduce this with another theme, so it does not appear to be abridge specific: https://github.com/Jieiku/zola-minify-test

Closing because it is unrelated to Abridge, for now I simply disabled the minify_html option.


Add French translation of README.md

Hello there! After seeing that an Italian translation of the README.md was added in the latest release, I felt compelled to put my bilingual proficiency to the test. Here's the link if you want to test your French skills too 😁:
https://gist.github.com/nikitamounier/0e93eb832cf389db12f9a69da030a2dc

@nikitamounier This is great!
Please note that one should use "bibliothèque" instead of "librairie" in French (this is a false friend).

@nikitamounier This is great!
Please note that one should use "bibliothèque" instead of "librairie" in French (this is a false friend).

I wasn't sure myself, so I did some research, and I found "librairies Swift" as the translation for Swift libraries - for example, this video calls Alamofire "une librairie open source". Nevertheless, I don't work on Swift in a french environment, but if you do, I'll take your word for it.
It seems like there are a couple of other translation errors I made: for instance, I called side effects "effets dérivés", however Vincent Pradeilles helpfully pointed out that the correct term is "effets de bord". If anyone notices any other errors, make sure to tell me and then I'll package up all the corrections in one big PR.

I'm not working in a French environment, but I'm almost certain that "Bibliothèque" is the correct term. See https://fr.wikipedia.org/wiki/Bibliothèque_logicielle for example. "Librairie" is the place where you sell books.
In my head, I associate side effects with "effets secondaires" which seems closer to the English meaning. The coined term seems to be "effet de bord" (unfortunately, as "effet de bord" has a totally different meaning in mathematics and physics).
Using Wikipedia to reach the French version from the English page is a great way to make sure you're keeping the correct context.
I used the PR because I didn't want to pollute the gist with comments that would be outdated as soon as you fix them, but if one can delete them without traces, I can continue there without issues!

I see, thanks for the help and the advice – I updated the gist. Let me know if there's anything else!


Avoid polluting the user's shell history for automated actions

Environment data

VS Code version: 1.69.2
Jupyter Extension version (available under the Extensions sidebar): v2022.6.1201981810
OS (Windows | Mac | Linux distro) and version: Ubuntu 20.04 LTS

Expected behaviour
When collecting environment data, the extension should not pollute the user's shell history.
Actual behaviour
I observed lines such as printenv > /tmp/tmp-45935fdNhOTkd5hRYtxt in my shell history which appear to have come from https://github.com/microsoft/vscode-jupyter/blob/545c0a7b00b073da4d73ed58bf6c49e0d31b7ee6/src/platform/terminals/helper.node.ts#L81-L93
I'm not sure if that command ending up in my shell history is expected or avoidable, though it is definitely surprising. My (and my colleagues) initial reaction to discovering this was to assume that we had picked up a vulnerability and started work to secure our systems against potential intrusion. Investigation (thankfully) suggests that this extension is a more likely source of the unexpected shell history.
It would be great if the extension could avoid polluting the user's shell history in this manner.

Thanks for the issue.
We're using this at the moment to detect if jupyter is in the path or not. I wonder if process.env would be good enough?

Closed by PR https://github.com/microsoft/vscode-jupyter/pull/10986


Fix crash on model destroy by lifecycle

Fix for #145

Are we expecting to have this in the next release?
And if so when is the next release?

Hi!
Thank you for the pull request!

Are we expecting to have this in the next release?

There are plans to move away from lifecycle events to manual management of Filament entities so this shouldn't be a problem in the new version.

And if so when is the next release?

I'm sorry but I can't give an estimate since, while we are getting close to the desired vision of the framework, this work is done in free time. However, we'll be absolutely happy when the project becomes widely supported by the community and has regular releases.

@grassydragon Thanks for the response.
In the mean while I found a work around.
When you start the models like ArModelNode, just put the lifecycle as null and should not crash.

Hello pecapela can you please add the version should we put inside gradle implemetation to fix the issue

Hello, same thing happens for me. I rollback to 0.8.0 until this fix is merge

Hello, same thing happens for me. I rollback to 0.8.0 until this fix is merge

v0.8.0 also help me

Are there any news about this crash? It's the same issue we see in : https://github.com/SceneView/sceneview-android/issues/176


Support for jinaai/jina-embeddings-v2-base-code

Model description
jina-embeddings-v2-base-code is an multilingual embedding model speaks English and 30 widely used programming languages. Same as other jina-embeddings-v2 series, it supports 8192 sequence length.
jina-embeddings-v2-base-code is based on a Bert architecture (JinaBert) that supports the symmetric bidirectional variant of ALiBi to allow longer sequence length. The backbone jina-bert-v2-base-code is pretrained on the github-code dataset. The model is further trained on Jina AI's collection of more than 150 millions of coding question answer and docstring source code pairs. These pairs were obtained from various domains and were carefully selected through a thorough cleaning process.
Open source status

[X] The model implementation is available
[X] The model weights are available

Provide useful links for the implementation
huggingface page: jina-embeddings-v2-base-code
Also refer to #44

:+1:  To this. Very important for our team as well

TEI works with jina-v2. I've been using it since October 2023.


Update rpi-gpio.js

Changing to generate the list of BCM pins from the currentPins object instead of using a static array. This fixes the issue of missing GPIO pins (such as pin 17) in BCM mode. (FIXES #11)

I'm just trying to understand the intent behind this patch: is it about validating the pins correctly for different versions of the Raspberry Pi hardware?
It'd be useful to improve error-handling here, but this patch breaks the existing tests and we'd need to have some new ones to prove the new error-handling is correct, so I can't take it as is.


Play audio when recording / streaming / low battery

Simple pattern to with (frequency;duration) tuples.

@felixchenier Need patch with transistor to work well. I have also noted that there is noise amplified by the audio circuitry. Please change the "sounds" as you wish.


lstsq pinv vs inv

https://github.com/tclements/Noise.jl/blob/ca996c929b7bbdcef03ca70a40701919a6193211/src/ArrayFuncs.jl#L20-L22
Should this be either coeff = pinv(A) * X or coeff = inv(A' * A) * A' * X? This may affect detrending functions.

pinv is the pseudo-inverse, which inverts the SVD of the matrix. It's numerically more stable than the regular inv

Yes, the regression should be done with pinv, but why are the coefficients of the best fit line not simply pinv(A) * X? I am just making sure that this is not a typo since pinv(A) == inv(A' * A) * A'. Are you one-to-one replacing inv() for pinv()?

Yes, pinv is a replacement for inv. inv(A' * A) * A' * X is the least-squares solution.


Fix contained configuration for Vagrant testbed

Recently provisioning the testbed has been failing with:
containerd: failed to load TOML: /etc/containerd/debug.toml: open /etc/containerd/debug.toml: no such file or directory
I am not sure what changed, so I am just removing the imports
directive, which is not present in the sample configuration given at
https://containerd.io/docs/getting-started/.
Signed-off-by: Antonin Bas<EMAIL_ADDRESS>

Codecov Report

Merging #3438 (56ee16b) into main (efca1bb) will decrease coverage by 6.59%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3438      +/-   ##
==========================================
- Coverage   42.44%   35.84%   -6.60%
==========================================
  Files         200      106      -94
  Lines       24330    14547    -9783
==========================================
- Hits        10326     5215    -5111
+ Misses      12938     8843    -4095
+ Partials     1066      489     -577

Flag
Coverage Δ

integration-tests
35.84% <ø> (?)

unit-tests
?

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

Impacted Files
Coverage Δ

pkg/apis/controlplane/sets.go

pkg/agent/flowexporter/exporter/certificate.go

pkg/antctl/command_list.go

...trollers/multicluster/commonarea/leader_elector.go

...lticluster/commonarea/resourceimport_controller.go

pkg/agent/apiserver/handlers/ovstracing/handler.go

...ontrollers/multicluster/clusterclaim_controller.go

pkg/apiserver/handlers/webhook/validation_crd.go

.../flowexporter/connections/conntrack_connections.go

...er/registry/stats/antreanetworkpolicystats/rest.go

... and 296 more

/skip-all


feat: Adds the basics of Cucumber/Bdd/Gerkhin support using PACFS as …

…an example

Closing following discussion about moving to a PACFS-specific repo - @andrewcharnley hope that's okay, let me know if you'd like this PR to be re-opened.

Closing following discussion about moving to a PACFS-specific repo - @andrewcharnley hope that's okay, let me know if you'd like this PR to be re-opened.


Config option for preserving hard line breaks

By @jcracknell at https://github.com/gogits/gogs/issues/345#issuecomment-77509948
@Unknwon I am suggesting you can make the line break behavior user and repository-configurable, which you can then toggle at modules/base/markdown.go#L211.
type User struct {
  Id int64
  // ...
  Etc string `xorm:"TEXT"` // { "commentOptions": {
                           //     "markdown": { "preserveLineBreaks": true }
                           //   },
                           //   "repositoryOptions": {
                           //     "markdown": { "preserveLineBreaks": false }
                           //   }
                           // }
}

type Comment struct {
  Id int64
  Type CommentType
  PosterId int64
  // ...
  Etc string `xorm:"TEXT"` // { "markdown": { "preserveLineBreaks": true } }
}

type Repository struct {
  Id int64
  OwnerId int64 `xorm:"UNIQUE(s)"`
  // ...
  Etc string `xorm:"TEXT"` // { "markdown": { "preserveLineBreaks": false } }
}

A column storing a blob of JSON would be convenient for storing this and other non-essential data without over-complicating future migrations.

Why all the extra complexity? I haven't found a place besides Gogs that turned on automatic hard linebreaks when rendering Markdown content. This is especially true since Markdown allows hard linebreaks by appending two or more spaces at the end of the line. Just remove this pesky line and everyone will be happy and not surprised.

+1 for @matze's suggestion. The current hard line break is annoying.

Well that was the general motivation, but the impression I had is that there are misguided persons who actually like hard line breaks. ;)

fwiw neither GitHub or Gitlab have hard line breaks in their markdown renderer.

I believe the exception is
GitHub comments. ;)

How about a repository level hard line breaks setting? And default is false.

Well the original suggestion was exactly that, adding JSON blobs to the database for storing this type of non-essential setting.
A question with regards to the current default and requests to disable hard line breaks entirely: is this behavior derived from some sort of semantic meaning or cultural preference for manual wrapping in Chinese/Asian languages?

@jcracknell thanks for your reply!:sunny:

A question with regards to the current default and requests to disable hard line breaks entirely: is this behavior derived from some sort of semantic meaning or cultural preference for manual wrapping in Chinese/Asian languages?

To be honest, we did not notice this(hard line breaks) at all at the beginning, in other words, we didn't what that options does in markdown rendering.

This thread makes more sense about the need or not of hard line breaks and should have been linked by anyone changing the code.
Indeed it seems like github only uses hard line breaks in comments which is confusing.
Having a global option to turn them on or off makes no harm and should be easy to implement.
It can be per repo/user too if needed.

OK, added config option [markdown] ENABLE_HARD_LINE_BREAK.

Default is false:

When enabled:


Use pagenums attribute to toggle page numbers

Only add page numbers if the pagenums attribute is set. Set the attribute by default.

@mojavelinux is there a way to specify page numbers placement (top or bottom of a page) ?

Not at the moment. That would likely be a theme setting.

@mojavelinux Thanks!

Feel free to file a separate issue so we don't forget ;)


0x06 Mode feedback error

When I use the query command (0x107) to query the motor mode (0x06) , I give a mode value of about 20, which is inconsistent with the return value table.

The motor is M1502A-212.


PIT Summary view is empty when no internal web browser is available

Hi there,
I failed in getting a plugin for my eclipse.

In marketplace there is an outdated (?) version (https://marketplace.eclipse.org/content/pitclipse ): <IP_ADDRESS>401081810
1.1 it does not stop but stresses one core to 100%
[...]
17:02:53 PIT >> FINE : processed mutation in 52 ms.
17:02:53 PIT >> FINE : MutationIdentifier [location=Location [clazz=com.mercateo.catalog.deployment.server.command.builder.MediaServerFindCommandBuilder, method=createFindCommand, methodDesc=(Ljava/lang/String;Lcom/mercateo/catalog/deployment/api/serverhosts/MediaServerHost;Ljava/lang/String;ILcom/mercateo/catalog/deployment/api/common/SymlinkSupport;)Ljava/lang/String;], indexes=[98], mutator=org.pitest.mutationtest.engine.gregor.mutators.ReturnValsMutator] KILLED by com.mercateo.catalog.deployment.server.command.builder.MediaServerFindCommandBuilder1Test.test_with_symlinks(com.mercateo.catalog.deployment.server.command.builder.MediaServerFindCommandBuilder1Test)
17:02:53 PIT >> FINE : Exit code was - OK
17:02:53 PIT >> FINE : Slave exited ok

checked out your code
2.1. pitclipse-plugin/pom.xml refers to parent 1.1.4, pitclipse-parent/pom.xml has 1.1.5
2.2. in pitclipse-plugin/pom.xml there is reference to http://localhost:8081/nexus/content/groups/local-p2-mirror/ that does not work
2.3. after fixing 2.1 by setting to 1.1.5 and 2.2. by removing the local stuff I get the following exception
stephan@praetsch:/tmp/pitclipse/pitclipse-plugin> mvn clean install deploy -Pbundle
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
constituent[0]: file:/opt/extern/apache-maven-3.3.3/lib/aether-util-1.0.2.v20150114.jar
[...]
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;
at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:86)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:159)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:141)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:76)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:59)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

your linked release page is an 404 error: http://eclipse.pitest.org/release

Unfortunately there is no way to get a runnable plugin for me. I'd love to use PiTest in my Eclipse.
Can you help me?
Regards
Stephan

Hi,
Apologies, I'm currently in process of tidying up the build.  It's a complete mess in all honesty.
First things first, are you able to run pitest against your project using one of the other plugins e.g. ant or maven?
The version that installed via marketplace is the latest version, marketplace erroneously reports 0.31 for some reason.  You can confirm this by  checking in Help -> About -> Installation Details
I'll be updating the build process in the very near future, but building eclipse plugins with maven is not for the feint hearted!.
Regards

Hi,
that means I won't consider building that plugin on my own because the latest version already is in the marketplace. Fine.
As mentioned on http://pitest.org/quickstart/maven/ PiTest runs well via maven (editing pom.xml and running mvn org.pitest:pitest-maven:mutationCoverage)
While I've been testing pitclipse with a simple code example it works - except of the error message "Browser cannot be initialized". PIT Summary is empty (probably caused by the browser-error?!) but PIT Mutations displays a result.

Do you know how to fix the browser-error? If I open an html-document in eclipse (via double click) it correctly opens my firefox and displays the document. Thus I suppose my eclipse is configured well.

I will simplify an example of my complex code that I want to test with pitclipse but pitclipse does not terminate.

Regards

Could you check Window -> Preferences -> General -> Web Browser
If you are using an external browser, could you try setting it to the internal web browser and seeing what happens?

I cannot use the internal web browser - the radio button is disabled. Strange.

Yes, that would certainly be a problem.  There are several guides for that issue - the actual issue depends on your OS and versions of eclipse etc but seems to hinge on libwebkitgtk.  Hopefully you can get it up and running.
In the medium term, the html view will go away.  The server side work is almost done for that, but I haven't looked at the UI controls yet.

Pitclipse 2.0.0 has just been released and is now available in the Eclipse Marketplace.
I'll close this issue once an alternative for the current PIT Summary view is available — I took the liberty to update issue's title accordingly.

As above "libwebkitgtk" is mentioned: on my Debian Buster, I had to install the package "libwebkit2gtk", and then everything worked..)


Junhao optimize db

This PR uses select_related() to reduce DB queries for Source and Sequence. The model tests are updated to accommodate recent changes in signals and chant counts.

This all looks good - go ahead and merge it (with or without making changes based on my one comment).

When a chant gets created, the triggered signal is captured by our newly implemented receiver, and that receiver tries to update the chant/melody count of the chant’s source. An error is thrown if the chant doesn’t have a source.

From: Jacob deGroot-Maggetti @.>
Sent: Monday, September 5, 2022 8:50:54 AM
To: DDMAL/CantusDB @.>
Cc: Junhao Wang @.>; Author @.>
Subject: Re: [DDMAL/CantusDB] Junhao optimize db (PR #323)
This all looks good - go ahead and merge it (with or without making changes based on my one comment).
—
Reply to this email directly, view it on GitHubhttps://github.com/DDMAL/CantusDB/pull/323#issuecomment-1236974751, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM56D7EEYA4CXYH3M4427I3V4XUC5ANCNFSM6AAAAAAQEPKTNI.
You are receiving this because you authored the thread.Message ID: @.***>


Fixed minor issues on CenturyLink Cloud Page

Fixed some minor issues on  CenturyLink Cloud

Checked https://kubernetes.io/docs/setup/turnkey/clc/#accessing-the-cluster-with-a-browser and https://deploy-preview-14217--kubernetes-io-master-staging.netlify.com/docs/setup/turnkey/clc/#accessing-the-cluster-with-a-browser
Thanks for the PR @hpandeycodeit
/lgtm
/approve

Thank you @Rajakavitha1! :)


Add PR requirements and solutions

If we're going to use tools like pre-commit and Vale, we should document how an extension author can easily fix build errors when they submit a pull request.
For example, using a vscode extension like Trailing Spaces to identify extra spaces at the end of lines.

Also, add common errors and how to fix them and a list of useful VSCode extensions.


Support running tracing profiler with the application

We're planning to support running the applications with tracing profilers, which are generally slightly easier to deal with than those using performance counters (like linux perf, or likwid).
Some of the profilers we're considering supporting:

[ ] Intel Vtune: proprietary, but can be used free of charge, only supports x86 architectures
[ ] Nvidia Nsight Compute: proprietary, but can be used free of charge, supports x86 and aarch64 architectures, currently not available in Spack, supports also MPI and GPU profiling
[ ] Extrae: free and open source, available on a wide range of platforms, less popular than above options, supports also MPI and GPU profiling, but not extremely simple to use (the visualisation counterpart, Paraver, is also powerful but not intuitive to use)
[ ] Score-P: free and open-source, but I'm not familiar with it myself, can't comment more about it

How about Linaro Forge?  (used to be ArmForge)

Unlike all profilers mentioned above, linaro requires a license though, which makes it much harder to test.

Sure, but we do have a licence on (at least!) DiRAC systems.

The license is paid by ExCALIBUR so it might be gone after March :imp: I can ask about this in the next H&ES meeting.


php 8.1 compat

Signed-off-by: Ryan Coe<EMAIL_ADDRESS>

Any chance to merge this PR ?

@mgdm Please merge this commit to the php8 branch!

@mgdm Please merge this commit to the php8 branch!

@mgdm Please merge this commit to the php8 branch!


projeto

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

If you don't give us any information, we can't act.


[Auth unit test] testUseUserAccessGroup usually flakes when run on macos-14 via SPM

Description
The swift-build-run job in spm.yml usually flakes on testUseUserAccessGroup when run on macos-14.
It may be a timing or synchronization issue, since when it succeeds, it takes over 200 milliseconds.
Reenable the test disabled in #12746 after fixing.
Reproducing the issue
https://github.com/firebase/firebase-ios-sdk/actions/runs/8656165601
Firebase SDK Version
10.24.0
Xcode Version
15.3
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication
Targeted Platforms
iOS
Relevant Log Output
Failing tests:
	-[UseUserAccessGroupTests testUseUserAccessGroup]

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

The Swift version of the test is successfully running in Firebase 11.


Ack-able message Microsoft.Azure.SignalR.Protocol.JoinGroupWithAckMessage timed out

I faced connection drops for the SignalR client and I received these errors:
"Ack-able message Microsoft.Azure.SignalR.Protocol.JoinGroupWithAckMessage(ackId: 196215) timed out."
"Unable to write message to endpoint: {{URL of Service}}"

It could happen when the connection drops. And connection drop could happen when: service restarts, service maintenance, or network intermittent issues. Here contains more details of the explanation https://learn.microsoft.com/en-us/azure/azure-signalr/signalr-howto-troubleshoot-guide#server_connection_drop.
In general, we recommend adding retry logic with TimeoutException when adding a connection to a group.

Hello @vicancy
We already have retry logic. It was not happening for a long time but now we again received these errors.
Today Also it's happening again and again as showing in Picture below

Could you email me lianwei(at)microsoft.com your resource id and the timestamps when such issues happen?

Sent the email with required details

@vicancy please see the email from<EMAIL_ADDRESS>

Hello @vicancy We already have retry logic. It was not happening for a long time but now we again received these errors.
Today Also it's happening again and again as showing in Picture below

This issue is caused by app server thread starving with app server thread count peaks during those periods and then server connections were closed by "PingTimeout"

We see this issue as soon as we upgrade from version 1.19.2 upwards. Going back to that version magically "resolves" this issue. Similar issue was reported in the past too #745

This one should be related to this fix https://github.com/Azure/azure-signalr/pull/1779 @KKhurin All the group messages are changed to be sticky to one server connection. We need improve the group sending logic, only the same group needs to sticky to one server connection.

Hello @vicancy We already have retry logic. It was not happening for a long time but now we again received these errors.
Today Also it's happening again and again as showing in Picture below

This issue is caused by app server thread starving with app server thread count peaks during those periods and then server connections were closed by "PingTimeout"

Yes, thanks for your support. I am following the suggestions you shared in your email. Also, I have removed the logic from OnDisconnectedAsync method which may cause thread starving

Also getting this issue, and wondered if there's any guidance that could be shared from the suggestions in the emails conversations you've had?

Many different scenarios can lead to this exception:

Server connection dropped around that period
A peak on such join/leave group requests
Heavy traffic that the server connection is unable to serve
Heavy traffic that the service is unable to serve
App server side high CPU or thread starvation https://learn.microsoft.com/en-us/azure/azure-signalr/signalr-howto-troubleshoot-guide#thread-pool-starvation

The metrics and logs might give hints on the root cause.


Handling false positives because of "not really" affected packages.

Hey,
is there a way of handling false positives of vulnerabilities that affect packages like "kernel-headers" , "*-license" etc.?
for example "RHSA-2016:2574", i installed golang into an Centos image, by this you need to install the "kernel-headers" package. You cant just upgrade this, because the Host Kernel is not on this Version yet.

Is this the wanted behavior, a bug, or so i need to filter those Packages?

The consensus from the Clair maintainers is that this functionality is best built into the UI presenting the data from Clair and that we shouldn't implement it inside Clair. A UI can have user accounts and preferences for managing ignored vulnerabilities which are features beyond the scope of Clair itself.
Kernel headers may be an exception to the rule if we can prove that no container runtime actually uses them.


Document how to make RTD do MkDocs

Maybe with screenshots.

lol... but yes, probably worth adding somewhere.

I don't think this is necessary with doc changes.


Issue 15 add pin config

Added pin configs for sx1302, sx1301, and 2g4. Still need to change the default power pin for all of the Rak models for the 1302. Hopefully everything else looks reasonable :)

I think this looks good. This way we don't have to use all the unwrap_or_default methods in all the module configuration.  I think reset_pin: conf.gateway.get_sx1301_reset_pin("/dev/gpiochip0", 17), is a lot easier to read :)


IDVA6-1631 Extend request type to contain lang property

Link to Jira:
https://companieshouse.atlassian.net/browse/IDVA6-1631
Changes:

Request type extended with lang property
Project configuration updated to use added extension to Request type
Code refactored to remove unnecessary casting to any
No longer needed imports removed

CI: No security warnings found

CI: No security warnings found


Cache the changelog on onboarding page

Currently every time you open the onboarding / settings page via the popup it requests the changelog using the Github API. The request is done js/utils/onBoardingbootstrap.js. The response should be cached as the extension likely won't update while its running.
(don't ask if you can work on this please :pray:, I wouldn't have created the issue otherwise)

Picking it up

hey @mdolr since I saw this wasn't fixed yet, made a quick PR for this issue, #156


Sign In Issue

When i try sign in, i get this error _this5._removeListeners is not a function.
GoogleSignin.android.js 131:15
RCTDeviceEventEmitter.emt

We had same issue.
You should not call GoogleSignin.signIn or any function within then or catch, for any functions in this lib are not binded.
e.g.
// this code would crash
function signin() {
  GoogleSignin.configure().then(GoogleSignin.signIn);
}

// this code work as expected
function signin() {
  GoogleSignin.configure().then(() => GoogleSignin.signIn());
}

@osinakayah

Follow @mickamy suggesting and please open new issue if you still have a problem.


Powershell examples for page are AzureRM and link to archived repo

Powershell examples for page (articles/azure-resource-manager/management/request-limits-and-throttling.md) are AzureRM and link to archived repo

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

ID: 3fb31632-581a-56fc-6ee8-5877388bb0b2
Version Independent ID: 09bc0fef-0e2b-a4dc-c74d-9883c8815be3
Content: Request limits and throttling - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/request-limits-and-throttling.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@frackham - The link will be removed today.  Thank you for your contribution.
#please-close


SSLEOFError

Still seeing a lot of these crop up.  Really important to get these fixed or we have to figure out another way to send pushes.
We have api calls send a lot ~50-100 pushes in a row in 1 call.  Getting a lot of these SSL EOF Errors.  Any ideas?

I meet that problem too, still finding solution.

I am having the same issue, with every push I try to make.

Try regenerating your push certificate using the new Production+Development option

@chrisballinger thanks. We regenerated our push certificates and got it to push without error. Can't figure out why notifications aren't showing up on the devices, but that's probably unrelated to this project.

@williamfligor Double-check that you're sending to the correct endpoint e.g. production vs sandbox

@williamfligor Or make sure that you are sending to correct APNS ids. We experience similar issues when sending a push at too many devices with APNS ids not corresponding to the APNS Certificate. E.g., it happens when developers are register devices compiled agains sandbox endpoint at the production backend. In this case Apple seems to be thinking a DoS attack is launched and breaks the connection (at least this is what I've heard from others) The way to circumvent is is to reduce the size of the APNS batch, so that APNS returns normal errors which allow to remove invalid APNS ids. After that the chunk size can be set back to the original number.

This doesn't appear to be a bug in DPN.


Add prune overload to disable wait parameter

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
Add prune overload which allows to disable the compute_member_count parameter. This can be useful for prunes on large guilds where this computation may timeout the response.

Well done, damn. You scare me, Minn


Don't hash shared libraries for cache key

Shared libraries often contain timestamps of when they were compiled and other non-stable data
hence would often produce different hashes on different machines. This happens often in our CI.
Related to https://github.com/rubocop/rubocop/pull/8633
cc @casperisfine

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

♻ @jonas054 please have another look

Hmm, lots of tests are currently failing.

I'm happy with the changes, but I see some builds are failing.

Looks like there are some RuboCop offense in lib/rubocop/result_cache.rb
Run bundle exec rake internal_investigation
RuboCop failed!
Running RuboCop...
Inspecting 1403 files
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................W..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Offenses:

lib/rubocop/result_cache.rb:208:9: C: [Correctable] Layout/IndentationWidth: Use 2 (not -8) spaces for indentation.
        File.basename(path)
        ^^^^^^^^
lib/rubocop/result_cache.rb:209:7: C: [Correctable] Layout/ElseAlignment: Align else with if.
      else
      ^^^^
lib/rubocop/result_cache.rb:211:7: W: [Correctable] Layout/EndAlignment: end at 211, 6 is not aligned with if at 205, 16.
      end
      ^^^

1[40](https://github.com/rubocop/rubocop/runs/7642059901?check_suite_focus=true#step:8:41)3 files inspected, 3 offenses detected, 3 offenses autocorrectable
Error: Process completed with exit code 1.

Hmm, lots of tests are currently failing.

Fixed my Rubocop violation and rebased on latest master but seems there are still some broken in CI / RSpec 4 (pull_request). I don't think it's related to the changes in this PR though (if so I would appreciate some pointers how I can reproduce this locally, I did run bundle exec rake default which passed).

Thanks!


Failed to Start Minecraft: Solve Method First

Creating this issue to figure out whats going on I'll be post updates in this issue thread until the problem is resolved. You noted that it might not be your mod and it could just be fabric loader but Its only when I use this mod that I have this issue with.
This is the error code I get
[15:31:02] [main/INFO]: Loading for game Minecraft 1.16.1
Failed to start Minecraft:
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.UnsupportedOperationException: Call the solve method first!!!
    at net.fabricmc.loader.util.sat4j.minisat.core.Solver.model(Solver.java:498)
    at net.fabricmc.loader.discovery.ModResolver.findCompatibleSet(ModResolver.java:223)
    at net.fabricmc.loader.discovery.ModResolver.resolve(ModResolver.java:604)
    at net.fabricmc.loader.FabricLoader.setup(FabricLoader.java:202)
    at net.fabricmc.loader.FabricLoader.load(FabricLoader.java:192)
    at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:127)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
    ... 8 more
Exiting with -1
Process exited with code -1.

Here is a screenshot of my friend having the same issue. He also only has FabricAPI and SpeedTrading installed

So it seems that using an older version(v1.1.0) of the mod works fine and doesn't have this issue. I don't know why the version for 1.16.2 doesn't work for 1.16.1, but there are features in the updated version of the mod that is very handy, and I wish that I had, but I assume this won't matter once the server that I play on updates to 1.16.2 which is just waiting on PaperMC to update to 1.16.2

I'm not 100% sure if a version for 1.16.2 would work for 1.16.1, but it should at least let you launch the game.
Unfortunately, I have no idea how to solve this, or even if I can solve this...

Nobody else has reported this, so...


Add noCopy protection

Add noCopy struct similar to https://github.com/valyala/fasthttp/blob/master/nocopy.go
Use it as the first field in all types that have chain field: Expect, Request, and all matcher structs (Value, Object, Array, etc.)
This is needed so that go vet will warn user if they try to copy instances of these structs.

Can I go on this also ?

Sure, thank you


Add Spyder to wikipedia "Comparison of IDEs" page

From mictadlo on 2012-03-31T02:55:31Z
Introduce spyder here http://en.wikipedia.org/wiki/Python_IDE#Python
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=981

From pierre.raybaut on 2012-03-31T02:42:54Z
Status: Accepted
Labels: -Type-Defect -Priority-Medium Type-Task Priority-High MS-v2.1

From pierre.raybaut on 2012-03-31T02:45:47Z
Summary: Add Spyder to wikipedia "Comparison of IDEs" page

From pierre.raybaut on 2012-04-02T10:34:48Z
I tried to add it but it is systematically removed at some point.
I guess that it is somewhat related to the fact that Spyder has no wikipedia page.

From pierre.raybaut on 2012-03-31T02:53:25Z
Status: Started
Owner: pierre.raybaut

From<EMAIL_ADDRESS>on 2012-04-02T02:53:55Z
It was there some time ago - see https://groups.google.com/d/msg/spyderlib/xEmexCIGKz8/OGRv8KLvWMcJ

From pierre.raybaut on 2012-04-09T09:34:06Z
Status: Done


consensus: make Header nonce u64

Component
consensus, eips, genesis
Describe the feature you would like
At the moment, the nonce field in Header consensus struct is B64:
https://github.com/alloy-rs/alloy/blob/e01492a7ea88e13bcfddb357ade539fc5672baad/crates/consensus/src/header.rs#L77
To match the definition we expect in reth and other repos:
https://github.com/paradigmxyz/reth/blob/3a255a1cabd1f19399b42c1fe9bdcc130ac61c2e/crates/storage/codecs/src/alloy/header.rs#L30
it would be nice to make it u64, would you agree @mattsse ?
Additional context
No response

technically this is 8bytes, I think we can keep B64, dont think this type is used that often and we can add a helper that converts this to u64

hi love minecrafttt toooo, oye esta muy biennn

Do we still need a helper to convert it to u64? If so I can take this

I think we can leave this as b64, because for mainnet this field is now useless anyway and b64 would be more beneficial in case OP starts embedding encoded values in there


Any chance to adding new provider to Subliminal?

Hello
In Poland none of already available subliminal providers do a good job, even open subtitles can't fine correct subtitles.
We have here provied called NapiProjekt.
Here is available Synology package which uses pynapi (python).
http://subtitlessh.no-ip.biz Unfortunately it uses MediaInfo lib, which is not available for Intel Atom which is in DS214play.
There are also multiple bash scripts to do that.
I would love to help with integration, as some of docs are only in polish language.
Please let me know if its possible.
Regards
Damian

please show some love to Polish people :) :+1:


DotNet package doesn't work in latest and release 4.15

Tested out with the following steps:
(1) Server.  Python. Used python 3.4 and installed pyro4 using pip
def main():
daemon = Pyro4.Daemon()  # make a Pyro daemon
uri = daemon.register(CenterController)
print("Ready. Object uri =", uri)  # print the uri so we can use it in the client later
daemon.requestLoop()
if name == 'main':
main()
(2) Client. C#. The URI string is coming from the the print out of the python based server
public class TestURI
{
    public static void Run()
    {

        string uri = "PYRO:obj_0de46bb35aa84b729b796b9937cfe6fe@localhost:59773";

        PyroURI pyURI = new PyroURI(uri);

        using (PyroProxy p = new PyroProxy(pyURI))
        {
            dynamic result = p.call("getDst");
            System.Console.WriteLine(result.toString());
        }
    }
}

Exception:
unhandled exception: System.InvalidCastException: Unable to cast object of type
'System.Collections.Generic.Dictionary`2[System.Object,System.Object]' to type '
System.Collections.Hashtable'.
at Razorvine.Pyro.PyroProxy._handshake() in E:\projects\PyroLite\Pyrolite-pyr
olite-4.15\dotnet\Pyrolite\Pyro\PyroProxy.cs:line 385
at Razorvine.Pyro.PyroProxy.connect() in E:\projects\PyroLite\Pyrolite-pyroli
te-4.15\dotnet\Pyrolite\Pyro\PyroProxy.cs:line 83
at Razorvine.Pyro.PyroProxy.internal_call(String method, String actual_object
Id, UInt16 flags, Boolean checkMethodName, Object[] parameters) in E:\projects\P
yroLite\Pyrolite-pyrolite-4.15\dotnet\Pyrolite\Pyro\PyroProxy.cs:line 236
at Razorvine.Pyro.PyroProxy.call(String method, Object[] arguments) in E:\pro
jects\PyroLite\Pyrolite-pyrolite-4.15\dotnet\Pyrolite\Pyro\PyroProxy.cs:line 184
at Pyrolite.TestPyroEcho.TestURI.Run() in E:\projects\PyroLite\Pyrolite-pyrol
ite-4.15\dotnet\Pyrolite.TestPyroEcho\TestURI.cs:line 23
at Pyrolite.TestPyroEcho.Program.Main(String[] args) in E:\projects\PyroLite
Pyrolite-pyrolite-4.15\dotnet\Pyrolite.TestPyroEcho\Program.cs:line 29
Fix:
PyroProxy.cs
//var response_dict = (Hashtable)handshake_response;
var response_dict = (System.Collections.Generic.Dictionary<Object, Object>)handshake_response;
//_processMetadata(response_dict["meta"] as Hashtable);
_processMetadata(response_dict["meta"] as System.Collections.Generic.Dictionary<Object, Object>);
Conclusion
The return result of functions are now returned as Dictionary type and dictionary table is no more directly castable to hash table...

Thanks for reporting this, I failed testing the previous release properly it seems. Will fix soon.

version 4.16 has been released and published to nuget.org


Anyone have any clever solutions for compatability with Python 3.10.0?

I've just had a few messy errors with running a Python 3.9 virtualenv (Ubuntu, CPU based)
I will continue to troubleshoot my issues, but I figured I'd reach out to see if anyone else found an approach accommodating the current Python version.
Thanks!

Hi.
Although this is the Windows case, "stable_diffusion.openvino" is running fine with Python 3.10.10 .
My arrangement is

use the latest version of numpy
use scipy older than version 1.9.0
See my "requirements.txt" at the site below.
https://impsbl.hatenablog.jp/entry/StableDiffusionOnWindowsPCwith8GB-RAM_en

Open requirements.txt, remove numpy version, try again. It worked for me

I actually submitted a PR for this (https://github.com/bes-dev/stable_diffusion.openvino/pull/125), which updates the numpy version to 1.23.4 and thus allows SD to work on Python 3.10. Sadly the team has been pretty slow on accepting PRs recently.


Switching to Angular 2.0.0-beta.16 stops Protractor tests

When switching to Angular 2.0.0-beta.16 from beta.8 previous successful Protractor tests stop running and the following message is displayed:
> webdriver-manager update && protractor protractor.conf.js

selenium standalone is up to date.
chromedriver is up to date.
[16:56:02] I/direct - Using ChromeDriver directly...
[16:56:02] I/launcher - Running 1 instances of WebDriver
[16:56:12] E/launcher - Error: ReferenceError: Zone is not defined
    at Object.<anonymous> (diffing_plugin_wrapper-output_path-WS3jPtnv.tmp/angular2/src/testing/fake_async.ts:4:34)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (diffing_plugin_wrapper-output_path-WS3jPtnv.tmp/angular2/src/testing/test_component_builder.ts:25:1)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
[16:56:12] E/launcher - Process exited with error code 100

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "e2e"
npm ERR! node v5.10.1
npm ERR! npm  v3.8.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>e2e: `webdriver-manager update && protractor protractor.conf.js`
npm ERR! Exit status 100
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>e2e script 'webdriver-manager update && protractor protractor.conf.js'.

If I revert back to angular 2 beta 8 the tests are running OK.
Is this an environmental issue by any chance or an angular 2 beta 9+ config change?
Anyway I will use this issue to congratulate all past and present Protractor contributors for such a great testing tool :)

Node Version: v5.10.1
Protractor Version: 3.3, 3.2
Browser(s): Chrome
Operating System and Version Microsoft Windows [Version 10.0.10586]

It seems this is not an actual bug as I was able to get Protractor tests running on the mgechev/angular2-seed repo that is using Angula2 Beta 16 and Protractor 3.3.
I will investigate to see what needs to be changed as part of the beta16 upgrade and add a comment here.

I could not figure out what was causing the issue and I ended up using protractor with angular 2 beta 8 in my tests folder in order to target sites built using Angular 2 beta 16.

The same issue occurs after I upgraded to Angular 2 RC1

Thanks to the "angular2-seed-advance" project I found the fix for this issue:
I had to add the following line to the protractor.conf.js onPrepare method:
require("reflect-metadata");

Thanks a lot. Adding require("zone.js/dist/zone-node") resolved the issue for me.


Eror ❌

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[ ] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description

Reproducible demo
https://docusaurus.io/
Steps to reproduce

1. Visit https://docusaurus.io/
2. Click search and see the layout shift.

Expected behavior
No layout shift.
Actual behavior
N/A
Your environment

Public source code:
Public site URL:
Docusaurus version used:
Environment name and version (e.g. Chrome 89, Node.js 16.4):
Operating system and version (e.g. Ubuntu 20.04.2 LTS):

Self-service

[X] I'd be willing to fix this bug myself.

There's no info to take any action. I suspect this is a duplicate of #7130. Closing.


Latest update breaks my site

Just started a blank meteor project with only your package and get:
Uncaught ReferenceError: require is not defined
global-imports.js:12 Uncaught TypeError: Cannot read property 'Materialize' of undefined
template.project.js:2 Uncaught ReferenceError: Template is not defined
project.js:9 Uncaught ReferenceError: Meteor is not defined

For now using this to downgrade fixes everything:
meteor add<EMAIL_ADDRESS>

I think that (older) version has broken fonts, though:
https://github.com/Dogfalo/materialize/issues/2217

This is a problem with jspm as well

Duplicate of #2516


Get and show data from firebase references nodes

Hi everyone, I am trying to display data from a referenced node in firebase and it did not seem to work well for me.
In firebase i have two nodes, applicants and students

And I need show the data of participants that are in the students node
This is my code in compent
import { Component, OnInit } from '@angular/core';
import { AngularFire, FirebaseListObservable } from 'angularfire2';

@Component({
  selector: 'app-students',
  templateUrl: './students.component.html',
  styleUrls: ['./students.component.css']
})
export class StudentsComponent implements OnInit {

  students: Array<any> = [];
  final_data: Array<any> = [];
  loading: boolean = true;
  constructor(private af: AngularFire) {
    af.database.list('/students', {
    }).subscribe(res => {
      this.students = res;
      this.final_data = this.students.map(function (key) {
        return af.database.list('/applicants/' + `${key.$key}`);
      });
      this.loading = false;
    });
  }

  ngOnInit() {
  }

}

And this is my code in template
{{final_data}}

            {{user.name}}

the result

Any help?
Thanks a lot

It looks like you are using a list when you don't want to be for that second database call. You should be using the object in this case. You are getting 14 lists instead of 14 objects. So your code should read
af.database.list('/students', {     }).subscribe(res => {       this.students = res;       this.final_data = this.students.map(function (key) {         return af.database.object('/applicants/' + ${key.$key});       });       this.loading = false;     });   }
And if I'm not mistaken, your template should make use of the async pipe since that data won't be available immediately. You're template should then be:
`

{{(user | async)?.name}}

`
Honestly when I am querying 2 parts of the database and I need both pieces of data before I can display anything I start looking at some observable combinators to help with that type of issue. This would let you get data from both places and combine them into 1 observable without subscribing outside of a single async pipe in your template. It results in a little bit cleaner code I find, but it's up to you. In your case you need the list of students and then you use that list to get the info from the other node. You might try using combineLatest or zip, depending on how your data gets updated in the database.

I am not understanding your point very clearly, you would have some example code of the solution that you propose

@atinybeardedman  Hi, As your upper comment can we do that with   items: FirebaseListObservable;  how to better code as below;
work with arrayItems:Array ,but not work with listObservable ,so it array is right rather than firebaseListObservable what different of them , please explain if possible .!
export class AppComponent {
  items: FirebaseListObservable<any>;
  wathlist: FirebaseListObservable<any>;
  arrayItems: Array<any> = [];
  arrayWathlist: Array<any> = [];
  newSubject: Subject<any>;

  constructor(db: AngularFireDatabase) {
    // this.items = db.list('/ktmarket');
    // this.items.subscribe(element => {
    //         console.log(element);
    // });
    // this.wathlist = db.list('/watchlist');
    // this.wathlist.subscribe(element => {
    //         console.log(element);
    // });

    db.list('/watchlist', {
    }).subscribe(res => {
      this.arrayWathlist = res;
      this.arrayItems = this.arrayWathlist.map(function (key) {
        return db.object('/ktmarket/' + `${key.$value}`);
        // console.log(`${key.$value}`);
      });
      // this.loading = false;
    });
    console.log(this.arrayItems);
  }

The solution is print in template as async
and retriev data as a object
Thanks

             {{(user | async)?.name}}

af.database.list('/students', {     }).subscribe(res => {       this.students = res;       this.final_data = this.students.map(function (key) {         return af.database.object('/applicants/' + ${key.$key});       });       this.loading = false;     });

Hi all,
I am trying to read the attribute of an object like the way specified above but I'm getting an error: Cannot read property dateCreated of null.
I was going to ask this question here but then I solved it so I'm writing the solution here. You can correct me if you want.
I solved the error by doing the following

Complaint Submitted on: {{ hello(item | async) }}

and in my typescript file:
hello(item) {
  if(item != null) {
      return item.dateCreated;
  }
}

Hi friend I do this but I get this error, any idea ?

this.db.list('/users/lawyers/').valueChanges().subscribe( result => {
this.specialties = result;
this.finalData = this.specialties.map(function(specialty) {
console.log(specialty)
return this.db.object('specialties' + ${specialty.key})
})
})

HI, Someone can help me please ?
https://stackoverflow.com/questions/50931526/display-data-from-firebase-with-angularfire2

I got similar questions too.
https://stackoverflow.com/questions/50950576/ionic-firebase-how-to-get-and-show-data-from-firebase-references-nodes-using


Order By Query Clauses Test

This branch fails intentionally as there are some design issues as of now.

Ready to be merged. Only needs the addition of the multiple order by's now to work.


JSCAD Organization?

The new organization for JSCAD is complete. We have incorporated the CSG library which was modified by Joostn, but origin from yourself.
It would be really cool if LightGL was also part of the stack. I think maintenance would be easier, as well as innovations.
And of course, any contributions or guidance would be awesome.

@evanw Yoi seem to be contributing these days. Any interest in JSCAD.


Set exit code when commands fail

If I run git node land on a new machine with nothing configured, I'll get the instructions to set required variables, and then the process will exit with status code 0. In order for us to be able to use ncu on a Commit Queue, it needs to return the appropriate status codes when something goes wrong, otherwise automation won't work.
(I didn't check which other failures will exit with 0, but all failures should set the exit code to a non-zero code)

Closed by https://github.com/nodejs/node-core-utils/pull/443

I'd like to keep this open because there are still many situations where the exit code will return zero even if the command failed. Would be good for us to list those as a next step.


Todo
The Async branch is working stable at my end but that is a set of 1 Circle+ and 8 Circle -F types

I must say that I can only tell AFTER the first intial run where the caches have been filled up so you do not get a load of startup messages.
I have seen odd energy baviour at a point in time where I flushed the cache and woke up with this pattern:

but after restart it settled fine and keep running
Here are a few of my observations:

The sawtooth in the above image was caused by the counter rollover and then missing the slot 4 download, that is gone

The energy usage resets bases on server timezone (when my Ubuntu VM is in UTC it rolls on 01:00 in the graphs, CET rolls correctly, as the python-plugwise_usb does no home assistant maybe we should tell it on startup about the HA timezone to correct the last reset time to align in the graphs

vs

When a node has nothing attached to monitor it will not show data:
Power pulse counter for node 000D6F0000995D02 of value of -1, corrected to 0, when you attach a load everything comes back

Strange thing is that the Circle+ ping times are a lot longer (80ms+) then the circles....(20ms)

my branch is till a bit to chatty on energy as I was monitoring the sawtooth but I cannot test any further as I do not have SED or other plugwise equipment.
I do not know how the relation is with my underlying zigbee network, maybe it behaves different in less stable networks. I can up the plugwuse_beta PARALLEL_UPDATES  up to 8 without having issues. Also since i implemented one continious loop for reading and queing/writing I not need any sleeps and I do not have a lot of "network" issues in the normal run. When all nodes are queried for a lot of missing addresses there of course more congestion.

also we should rename to
power_usage_
energy_consumption_today_
for backward compatibiltiy

I've just tagged as a prerelease version of the integration: https://github.com/plugwise/plugwise_usb-beta/releases/tag/v0.40.7a1
This version of the integration migrates the current unique ID of the entities, so no need to rename. It is also linked to the uploaded https://test.pypi.org/project/plugwise-usb/0.40.0a3/ backend version.

Installed .40.4.a1 in my production box 8+1 nodes took 6 minutes to initialise
during initial energy collection got a few:
`
Logger: plugwise_usb.connection.receiver
Source: runner.py:188
First occurred: 07:51:04 (16 occurrences)
Last logged: 07:52:07
No subscriber to handle CircleEnergyLogsResponse, seq_id=b'A290' from 000D6F00009964FC
No subscriber to handle CircleEnergyLogsResponse, seq_id=b'A2F5' from 000D6F000099637F
No subscriber to handle CircleEnergyLogsResponse, seq_id=b'A306' from 000D6F0000995F4E
No subscriber to handle CirclePowerUsageResponse, seq_id=b'A304' from 000D6F0000995F4E
No subscriber to handle CircleEnergyLogsResponse, seq_id=b'A309' from 000D6F000098AB28
`
no 'warnings'  after

0.40.7.a1
24h later
~250 No subscriber to handle ...
~112 No NodeFeature.POWER sensor
both unrelated.
All rotate nicely at 00:00 CET, some very low power usage have a small hickup after the reset ( but maybe just waits for a pulse to happen)

this particular one "lost" updating for some time now... will wait if it restores in the end (putting something in the microwave might help)
I think both warning sets are mitigated by my PR with the await instead of gather and the 5 resend instead of 20

installed .a2
warnings remain at 26 occurances of 'No subscriber to handle xxx after 10 retries'  over various nodes over 24h of runtime
will activate INFO logging to see if there is a "logic" to it
still graph "issue" of the daily reset of low power using nodes, i doubt of it is solvable and due to the PULSES per Wh resolution:

I do see some No subscriber to handle ... too. Haven't found the rootcause of it yet.
The graph issue seems to be some kind of HA behavior. It's only applicable when the (rounded) energy usage is 0.

Got in a intereseting state today:
2024.03. [v0.40.0a6] through [v0.40.7a2] on 2024.3.0

longer time....  something " broke on 13:00 for this node but for other nodes it is different

reset to a1 but no change
my cirle+ is still going strong by my circles are bugging.,.,. I will move my cache and compare

Going back and forth to older version with or without removed cache doesn't solve it I will move my stick to my dev vm if I can replicate the issue there.

Looks like during a "rollover" of the current pulse counter into an energy log record, at least one of the energy log records is not used in the recalculation. Debug logging during a rollover should reveal what's actually going wrong....

Tried to debug it yesterday.... saw some negative pulses but those dissappeared, moved the stick back to my prod env... issue gone.... got me baffled


Evolve[Doc]: Reference Shopify's Liquid and Rust's regex

1 of 2 addressing issues #607 and #609.

looks like a duplicate of #611 to me?

thanks for the clarification, I've missed that.
However, I would suggest grouping all changes into 1 PR that belongs to the same semantical problem.
So this PR and #611 are in fact addressing the same problem.


Updated to show an ssl error page when explicitly receiving ssl error from webview client.

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3858   👈

This stack of pull requests is managed by Graphite.


Appstudio update test-component-pac-cnir

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-cnir-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
24 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
2 minutes
build-container

✅ Succeeded
1 minute
inspect-image

✅ Succeeded
1 minute
deprecated-base-image-check

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
4 minutes
clair-scan

✅ Succeeded
40 seconds
sbom-json-check

✅ Succeeded
16 seconds
optional-label-check

✅ Succeeded
15 seconds
label-check

✅ Succeeded
11 seconds
show-sbom

✅ Succeeded
10 seconds
show-summary

Pipelines as Code CI/test-component-pac-cnir-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
17 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
50 seconds
build-container

✅ Succeeded
2 minutes
deprecated-base-image-check

✅ Succeeded
19 seconds
inspect-image

✅ Succeeded
14 seconds
clair-scan

✅ Succeeded
2 minutes
clamav-scan

✅ Succeeded
1 minute
sbom-json-check

✅ Succeeded
12 seconds
optional-label-check

✅ Succeeded
15 seconds
label-check

✅ Succeeded
12 seconds
show-sbom

✅ Succeeded
15 seconds
show-summary


Publish DACPAC file failed due to bind rule with a user-defined data type in NET Core version

SqlPackage or DacFx Version: 6.1.8089.0
.NET Framework (Windows-only) or .NET Core: Core only
Environment (local platform and source/target platforms): Tested on SQL MI
Issue: When cx try to publish a DACPAC file to an existing databse (Azure SQL MI) that has bind rule with a user defined data type they will get error :SQL72018: SqlRule could not be imported but one or more of these objects exist in your source.

Steps to Reproduce:

Create a database [DBOAD01]
Run the below script 1
Deploy the attached sample bacpac using the NET Core version.

Did this occur in prior versions?  If not - which version(s) did it work in?
(DacFx/SqlPackage/SSMS/Azure Data Studio)

Script -1: to create user defined data types and adding bind rule.