Too Much and Not enough precision with prj2wepp provided files

Oye, great gnashing of teeth today.  Found two fun things.

When prj2wepp merges up the profile, soil, and management breaks, it needs enough decimal precision with the down-the-profile faction to rectify the value to the same point!  It appears providing full decimal precision to the value will make the magic happen.
The flowpath2prj.py has a very small non-zero slope default of 0.00001, this is too small for WEPP it appears, so lets go down to 1cm/3m, which is about 0.003, or 0.3%

Implemented a fix and verified that it is working properly, closing.


Update README.md

Thank you for your contribution to MagicScript Project.
Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved terminology
[ ] You have added unit tests
[x] You have updated documentation

Codecov Report

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

@@           Coverage Diff           @@
##           master     #310   +/-   ##
=======================================
  Coverage   98.68%   98.68%
=======================================
  Files          49       49
  Lines         304      304
  Branches       25       25
=======================================
  Hits          300      300
  Misses          4        4

Continue to review full report at Codecov.

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


fix apply_text_edits implicit bufnr

fixes #273

It works for me! thank you!

Came here to confirm. Nice job @mosheavni!
🎉🎉

Works for me!

@MunifTanjim @zbirenbaum could we please merge this soonish? :)

LGTM - please merge.
Need my copilot.

Looks great, thanks for the PR!


docs: update examples to use recent github action versions

A small update to use recent / supported versions of actions in the example, to avoid warnings when running the examples for the first time.

thanks


Plist parse failure on OSX

#addin "Cake.Plist"

Task("defect").Does(() =>
{
    var plist = File("./Info.plist");

    // Executing task: defect
    // An error occured when executing task 'defect'.
    // Error: Data at the root level is invalid. Line 1, position 1.
    var data = DeserializePlist(plist);

    //data["CFBundleShortVersionString"] = "1.1.1";
    //data["CFBundleVersion"] = "1.1.1+3131";

    //SerializePlist(plist, data);
});

// EXECUTION
RunTarget("defect");

Clone https://github.com/ghuntley/repros/tree/master/cake.plist for a working repro

I am experiencing exact same issue. It would be nice to know a workround.

Hi @donnib I'll fix this issues this weekend. :)

Excellent :+1:

@reicheltp Hey Paul, any progress on this ? ;)

@donnib Yeah I have tested around a lot but I couldn't find the mistake. Maybe something with the BOM from UTF8 but not sure. The plist I've copied into the test project are mysteriously working. 😞
As a workaround try to save your plist again with text editor.
Nevertheless, I will do my best to find some time this week to finally fix this stuff.

Yes i did also my own trials and it's kind of weird, i did try to look at the BOM and UTF8 but could not see anything wrong but neverthe less Cake.plist still failed.....hmmm

I am not sure that i get exact same problem as @ghuntley but i get following
Error: Data at the root level is invalid. Line 1, position 1.
What's weird is that i get this not matter what path i put in var plist = File("blabla") or even if i put some garbage stuff in. I would have expected an exception that the path was invalid or that it couldn't find the file.

I found the bug and it was so obviously that I didn't see it. Since FilePath can be casted into string.
The Roslyn compiler picked the wrong extension method: PlistAliases.DeserializePlist(this ICakeContext context, string xml) instead of PlistAliases.DeserializePlist(this ICakeContext context, FilePath file). And that we can't deserialize a file path as xml is evident. 😆
I renamed the deserialize XML alias and deploy a new NuGet Package later today.

great, that explains everything, thx

Package is deployed and soon available on NuGet. https://www.nuget.org/packages/Cake.Plist/0.2.0

Confirmed that v0.2.0 works on OSX. Excellent 👍  thanks @reicheltp


Spark 1.6 support

Very eager to see this, especially via spark-notebook.io. We are introducing dependencies on Spark 1.6 into our future training sessions.

should work out of the box though, just compile for spark 1.6.0.
I think spark-notebook.io also works with 1.6.0 (one can enter a custom version!)

@alpinegizmo @vidma is right, however a dry run wouldn't hurt. specially the fact that the way services are built and stayed might impact the creation of classes, types, or jars etc.


Object initializer properties not converted to Object.defineProperty when targeting ES5

TypeScript Version:  2.3.3
Properties that are defined on objects are not being converted into ES5 syntax.
Code
var o = {
  get property() {return 1},
  set property(value) {}
};

tsconfig.json
{
    "compilerOptions": {
        "target": "es5",
    }
}

Expected behavior:
The generated code should be:
    Object.defineProperty(o, "property", {
        get: function () { return 1; },
        set: function (value) { },
        enumerable: true,
        configurable: true
    });

Actual behavior:
It does not convert the properties to ES5 syntax
MDN Object initializer syntax: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer

Your example code is already valid ES5

Looks like this was an issue with uglifyjs, sorry.


About Dialog: embed and link to third-party notices

We need a build step to process NOTICES.md into an in-package HTML document that we can display or open in a browser.

i didnt read what i was doing. i am sorry i am now learning the full meaning of every word and code that was created.


Adds text indexes to edition model

https://trello.com/c/v2WB7RzB/187-504-error-when-searching-and-filtering-in-mainstream-publisher-5631736
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

Had no effect on performance


Computing gradients with tf.cond bug

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.4.1
Python version: 2.7.12
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: CUDA 8.0 , CUDNN 7.0.5
GPU model and memory:  GTX 1060 (6 GiB Memory, 6.1 Compute Power)
Exact command to reproduce: python test_cond_gradients.py (or whatever you call the file with source code)

The file test_cond_gradients.py can be found  in the source code below
Describe the problem
I am using a tf.cond to stop gradients from being computed through one part of the graph - depending on which train cross entropy (TCE) is smaller. According to the time however, even with the tf.cond, gradients is still being computed through both parts of the graph which should not be the case.
In the source code, there are three different losses tested. The first and second losses (baseline and loss1) are computed in similar time as shown if you run the script. The third loss tested (loss2) is slower than the first two, even though gradients should only be computed through one part of the graph (depending on the cond condition). The second loss is also using a tf.cond but the true_fn and false_fn passed to it are identical. The third should take about the same time to compute as the first two. This problem is amplified more when the network is more complex and thus back-prop takes more time but I have just created a simple example to run.
Source code / logs
import tensorflow as tf
import numpy as np
import time

def run_test():
    x1 = tf.placeholder(tf.float32, [64,32,32,3])
    x2 = tf.placeholder(tf.float32, [64,32,32,3])

    y = tf.placeholder(tf.int64, [64])

    logits1 = simple_network(x1)
    logits2 = simple_network(x2, reuse=True)

    # TCEs
    train_cross_entropy1 = tf.reduce_mean(
            tf.nn.sparse_softmax_cross_entropy_with_logits(labels=y, logits=logits1))
    train_cross_entropy2 = tf.reduce_mean(
            tf.nn.sparse_softmax_cross_entropy_with_logits(labels=y, logits=logits2))

    # Losses
    loss_baseline = train_cross_entropy1 + tf.stop_gradient(train_cross_entropy2)

    loss1 = tf.cond(train_cross_entropy1 < train_cross_entropy2, lambda: train_cross_entropy1 + tf.stop_gradient(train_cross_entropy2),
                                                                 lambda: train_cross_entropy1 + tf.stop_gradient(train_cross_entropy2))

    loss2 = tf.cond(train_cross_entropy1 < train_cross_entropy2, lambda: train_cross_entropy1 + tf.stop_gradient(train_cross_entropy2),
                                                                 lambda: tf.stop_gradient(train_cross_entropy1) + train_cross_entropy2)
    # Train Step
    train_step = tf.train.AdamOptimizer()

    apply_gradient_op_baseline = train_step.minimize(loss_baseline)

    apply_gradient_op1 = train_step.minimize(loss1)

    apply_gradient_op2 = train_step.minimize(loss2)

    with tf.Session() as sess:
        sess.run(tf.global_variables_initializer())

        ## Baseline
        baseline_s = time.time()
        for i in range(1000):
            sess.run(apply_gradient_op_baseline, feed_dict={x1: np.random.rand(64,32,32,3), x2: np.random.rand(64,32,32,3), y: np.random.randint(0,11,(64))})
        print("Baseline time: ", time.time() - baseline_s)

        ## Cond 1
        cond1_s = time.time()
        for i in range(1000):
            sess.run(apply_gradient_op1, feed_dict={x1: np.random.rand(64,32,32,3), x2: np.random.rand(64,32,32,3), y: np.random.randint(0,11,(64))})
        print("Cond1 time: ", time.time() - cond1_s)

        ## Cond 2 (Should be about the same time as Cond 1)
        cond2_s = time.time()
        for i in range(1000):
            sess.run(apply_gradient_op2, feed_dict={x1: np.random.rand(64,32,32,3), x2: np.random.rand(64,32,32,3), y: np.random.randint(0,11,(64))})
        print("Cond2 time: ", time.time() - cond2_s)

def simple_network(Y, reuse=False):
    with tf.variable_scope("simple_network", reuse=reuse):
        K1 = tf.get_variable("K1", shape=[3,3,3,16], initializer=tf.initializers.random_normal)
        Y = tf.nn.conv2d(Y, K1, strides=[1,1,1,1], padding='SAME')

        K2 = tf.get_variable("K2", shape=[3,3,16,64], initializer=tf.initializers.random_normal)
        Y = tf.nn.conv2d(Y, K2, strides=[1,1,1,1], padding='SAME')

        Y = tf.reduce_mean(Y, [1,2])

        FC_W = tf.get_variable("FC_W", shape=[64, 10], initializer=tf.initializers.random_normal)
        FC_B = tf.get_variable("FC_B", shape=[10], initializer=tf.initializers.random_normal)

        logits = tf.nn.xw_plus_b(Y, FC_W, FC_B)

        return logits

run_test()

Thanks for any advice or work-arounds of this bug

The documentation of tf.cond has said:

Note that the conditional execution applies only to the operations defined in true_fn and false_fn. Consider the following simple program:
z = tf.multiply(a, b)
result = tf.cond(x < y, lambda: tf.add(x, z), lambda: tf.square(y))
If x < y, the tf.add operation will be executed and tf.square operation will not be executed. Since z is needed for at least one branch of the cond, the tf.multiply operation is always executed, unconditionally. Although this behavior is consistent with the dataflow model of TensorFlow, it has occasionally surprised some users who expected a lazier semantics.

I'm not sure, but the story is probably the same for gradients: as long as something is needed by at least one branch, it will be executed.

@ppwwyyxx  But aren't the only things needed by the branches train_cross_entropy1 and train_cross_entropy2? Which I want to execute anyways. I'm not sure but I would think that the gradients are not needed by either branch as they are computed later?

I fixed it by adding the gradient calculation inside the functions  and using tf.gradients like so:
def f1():
    return tf.gradients(train_cross_entropy1, var_list, stop_gradients=[train_cross_entropy2])```

Then applying the gradients after the tf.cond.
Closing

I have the same problem but when using optimizer with tf.cond. Here my simplified code:
def optimize(loss):

    with tf.name_scope('Optimizer'):
        update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)

        with tf.control_dependencies(update_ops):
            optimizer = tf.train.AdamOptimizer(learning_rate=0.001)

		    def prev_grads_are_None():

                # This will compute the local gradient given the loss function (taking into account all trainable variables)
                train_step = optimizer.minimize(loss)
                grads_wrt_initial_state = tf.gradients(loss, initial_state, grad_ys=None)

                return train_step, grads_wrt_initial_state

            train_step, grads_wrt_initial_state = tf.cond(this_is_last_batch, prev_grads_are_None, prev_grads_are_None)
            return train_step, grads_wrt_initial_state

Therefore I would like to know how to solve this problem. In my case, the optimizer is not running, the the kernel always shows busy.


Unexpected endpoint register, endpoint isn't detected from server side. endpoints{xxx}

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
What does this log stand for? How do I resolve this warning?
It did not appear in version 6.5.0, but did appear with the latest master(docker-oap-es7).

2020-01-13 10:11:38,866 - org.apache.skywalking.oap.server.receiver.register.provider.handler.v6.grpc.RegisterServiceHandler -256210310 [grpcServerPool-1-thread-4] WARN  [] - Unexpected endpoint register, endpoint isn't detected from server side. endpoints {   serviceId: 24   endpointName: "Lettuce/SET" } endpoints {   serviceId: 24   endpointName: "/nimserver/team/create.action" } endpoints {   serviceId: 24   endpointName: "/user/info" } endpoints {   serviceId: 24   endpointName: "Mysql/JDBI/Connection/close" } endpoints {   serviceId: 24   endpointName: "Zookeeper/getChildren2" } endpoints {   serviceId: 24   endpointName: "/getIMToken" } endpoints {   serviceId: 24   endpointName: "Mysql/JDBI/PreparedStatement/executeUpdate" } endpoints {   serviceId: 24   endpointName: "/classtalk/prod" } endpoints {   serviceId: 24   endpointName: "/nos/upload" } endpoints {   serviceId: 24   endpointName: "Lettuce/COMMAND" } endpoints {   serviceId: 24   endpointName: "/nimserver/msg/sendMsg.action" } endpoints {   serviceId: 24   endpointName: "Lettuce/PEXPIRE" } endpoints {   serviceId: 24   endpointName: "Lettuce/SUBSCRIBE" } endpoints {   serviceId: 24   endpointName: "Lettuce/HDEL" } endpoints {   serviceId: 24   endpointName: "Lettuce/GET" } endpoints {   serviceId: 24   endpointName: "/out/log/request" } endpoints {   serviceId: 24   endpointName: "Zookeeper/create" } endpoints {   serviceId: 24   endpointName: "Lettuce/PSETEX" } endpoints {   serviceId: 24   endpointName: "/sms" } endpoints {   serviceId: 24   endpointName: "Lettuce/EVALSHA" } endpoints {   serviceId: 24   endpointName: "Cassandra/executeAsync" } endpoints {   serviceId: 24   endpointName: "/nimserver/history/queryTeamMsg.action" } endpoints {   serviceId: 24   endpointName: "/nimserver/team/kick.action" } endpoints {   serviceId: 24   endpointName: "Lettuce/CLIENT" } endpoints {   serviceId: 24   endpointName: "/la-doc-student_stat/_search" } endpoints {   serviceId: 24   endpointName: "/nimserver/team/changeOwner.action" } endpoints {   serviceId: 24   endpointName: "Mysql/JDBI/PreparedStatement/executeQuery" } endpoints {   serviceId: 24   endpointName: "Lettuce/MGET" } endpoints {   serviceId: 24   endpointName: "/nimserver/team/addManager.action" } endpoints {   serviceId: 24   endpointName: "Lettuce/INCR" } endpoints {   serviceId: 24   endpointName: "Zookeeper/getData" } endpoints {   serviceId: 24   endpointName: "Mysql/JDBI/Connection/commit" } endpoints {   serviceId: 24   endpointName: "Lettuce/EXISTS" } endpoints {   serviceId: 24   endpointName: "Lettuce/DEL" } endpoints {   serviceId: 24   endpointName: "Zookeeper/ping" } endpoints {   serviceId: 24   endpointName: "Lettuce/SETEX" } endpoints {   serviceId: 24   endpointName: "Mysql/JDBI/Statement/execute" } endpoints {   serviceId: 24   endpointName: "/nimserver/team/add.action" } endpoints {   serviceId: 24   endpointName: "Lettuce/CLUSTER" } endpoints {   serviceId: 24   endpointName: "/exam/quiz/get" } endpoints {   serviceId: 24   endpointName: "/question/list" } endpoints {   serviceId: 24   endpointName: "/nimserver/user/updateUinfo.action" } endpoints {   serviceId: 24   endpointName: "Zookeeper/delete" } endpoints {   serviceId: 24   endpointName: "Lettuce/HGETALL" } endpoints {   serviceId: 24   endpointName: "/nimserver/team/update.action" } endpoints {   serviceId: 24   endpointName: "Lettuce/PUBLISH" } endpoints {   serviceId: 24   endpointName: "//timer/job" } endpoints {   serviceId: 24   endpointName: "/nimserver/team/updateTeamNick.action" } endpoints {   serviceId: 24   endpointName: "/pushMessage" } endpoints {   serviceId: 24   endpointName: "/nimserver/msg/recall.action" } endpoints {   serviceId: 24   endpointName: "/nimserver/team/removeManager.action" } endpoints {   serviceId: 24   endpointName: "Cassandra/execute" }

Too many warnings made it impossible for me to view the service log properly

https://github.com/apache/skywalking/blob/master/docs/en/FAQ/Unexpected-endpoint-register.md

原因是：Since 6.6.0, SkyWalking cancelled the local span and exit span register. If old java agent(before 6.6.0) is still running, and do register to 6.6.0+ backend, you will face the following warning message.
所以就会出现这个告警：class=RegisterServiceHandler, message = Unexpected endpoint register, endpoint isn't detected from server side.
解决方法如下：/skywalking/config/log4j2.xml
新增一个规则：

完整配置如下：
    <Loggers> 		<logger name="org.apache.skywalking.oap.server.receiver.register.provider.handler.v6.grpc.RegisterServiceHandler" level="ERROR"/>         <logger name="org.eclipse.jetty" level="INFO"/>         <logger name="org.apache.zookeeper" level="INFO"/>         <logger name="io.grpc.netty" level="INFO"/>         <Root level="info">             <AppenderRef ref="RollingFile"/>         </Root>     </Loggers>


Execute only first found binding and add message_dispatch tests

I decided to add factory bot and pry gems which simplify testing.
closes https://github.com/progapandist/rubotnik/issues/6

@progapandist Do you think you could setup a travis CI build? I can help you with that if you'd like

Awesome work! I can definitely learn a lot from you with regards to testing. I'll set up Travis build and close your PR asap.

Thanks @propagandist, nice to hear that :)


Delete unused code

sorry，i only want to delete the function 'passwordFilter'.
but i had tried to add some gitignore , because i can not sync 'gradle-8.2-bin.zip', i want to use mirror local


Add punctuation on the README for easier reading

It's teeny tiny but it makes for more straightforward comprehension

Current coverage is 100.00%

Merging #109 into master will not affect coverage as of f63b19f

@@            master    #109   diff @@
======================================
  Files            6       6
  Stmts          111     111
  Branches         0       0
  Methods
======================================
  Hit            111     111
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of f63b19f

Powered by Codecov. Updated on successful CI builds.

@tomj Thanks for this! Can you rebase this branch against master so we can merge it? Thanks!

@Ben-G of course 😊  685aad0 is a descendant of the current master - just waiting for the tests to go 👍

Thanks for the patience @tomj. As a contributor I'll invite you to the ReSwift org!
Feel free to ignore the invite if you're not interested.


bump version in package.json to v2.22.7

release version v2.22.7

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


added installer.sh

a slick installer.sh for convenience

@microsoft-github-policy-service agree company="SALHN"

@thisismygitrepo have you managed to setup this model correctly? If so would you be willing to assist me please

Hi Sumerian @Dontmindmes
Yes, just run my proposed installer script in a linux ubuntu. I made it a one liner.
https://raw.githubusercontent.com/microsoft/BioGPT/b3f88b7e7419ba333db24385392ffc70463facef/installer.sh

Hi Sumerian @Dontmindmes Yes, just run my proposed installer script in a linux ubuntu. I made it a one liner.
https://raw.githubusercontent.com/microsoft/BioGPT/b3f88b7e7419ba333db24385392ffc70463facef/installer.sh

@thisismygitrepo Thank you for the quick reply, I really appreciate it.
I created a EC2 instance of the type "t2.medium" but it appears to be stuck on unzipping the checkpoint file.
Also where would i put the python code to execute to test the model?
Thank you once again

Yes, that takes a day or so to download as speed drops to hundreds of kilobytes occasionally.
To get up and running quickly, only download of the models that you are interested in, e.g. jus this one that appears in first example of readme Pre-trained-BioGPT. Remove other download lines.
Once the installer finalize, cd to repo location cd ~/code/BioGPT, then source . run.sh that will open a python console. In that console everything you see in README should work by copy pasting it. You can exit the console and install ipython for added convenience.

Yes, that takes a day or so to download as speed drops to hundreds of kilobytes occasionally.
To get up and running quickly, only download of the models that you are interested in, e.g. jus this one that appears in first example of readme Pre-trained-BioGPT. Remove other download lines.
Once the installer finalize, cd to repo location cd ~/code/BioGPT, then source . run.sh that will open a python console. In that console everything you see in README should work by copy pasting it. You can exit the console and install ipython for added convenience.

Thank you for your response,
I just followed your exact instructions but i encounter this issue

2023-02-24 03:52:02 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2023-02-24 03:52:02 | INFO | fairseq.file_utils | loading archive file checkpoints/Pre-trained-BioGPT
2023-02-24 03:52:02 | INFO | fairseq.file_utils | loading archive file data/BioGPT
./run.sh: line 4:  3999 Killed                  python bio.py

the code im running is this

import torch
from fairseq.models.transformer_lm import TransformerLanguageModel
m = TransformerLanguageModel.from_pretrained(
"checkpoints/Pre-trained-BioGPT",
"checkpoint.pt",
"data/BioGPT",
tokenizer='moses',
bpe='fastbpe',
bpe_codes="data/BioGPT",
min_len=100,
max_len_b=1024)
m.cuda()
src_tokens = m.encode("COVID-19 is")
generate = m.generate([src_tokens], beam=5)[0]
output = m.decode(generate[0]["tokens"])
print(output)

I am using this model,  https://msramllasc.blob.core.windows.net/modelrelease/BioGPT/checkpoints/Pre-trained-BioGPT.tgz

@Dontmindmes
Can you remove m.cuda() line from your code?
May be I should have said that when I claimed that all README code will work by copy paste.

@Dontmindmes Can you remove m.cuda() line from your code? May be I should have said that when I claimed that all README code will work by copy paste.

I attempted to comment out m.cuda() but it still gets killed for some reason

2023-02-24 04:33:05 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2023-02-24 04:33:06 | INFO | fairseq.file_utils | loading archive file checkpoints/Pre-trained-BioGPT
2023-02-24 04:33:06 | INFO | fairseq.file_utils | loading archive file data/BioGPT
./run.sh: line 4:   885 Killed                  python bio.py

Please post a longer tracceback of error. The best I can make from the short snippet you provided is that your system killed python, which can happen if python consumed too much memory?
This is what shows up on my console
2023-02-24 15:08:55 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2023-02-24 15:08:55 | INFO | fairseq.file_utils | loading archive file checkpoints/Pre-trained-BioGPT
2023-02-24 15:08:55 | INFO | fairseq.file_utils | loading archive file data
2023-02-24 15:09:00 | INFO | fairseq.tasks.language_modeling | dictionary: 42384 types

COVID-19 is a global pandemic caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), the causative agent of coronavirus disease 2019 (COVID-19), which has spread to more than 200 countries and
territories, including the United States (US), Canada, Australia, New Zealand, the United Kingdom (UK), and the United States of America (USA), as of March 11, 2020, with more than 800,000 confirmed cases and
more than 800,000 deaths.

@Dontmindmes
Please post a longer tracceback of error. The best I can make from the short snippet you provided is that your system killed python, which can happen if python consumed too much memory?
This is what shows up on my console
2023-02-24 15:08:55 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2023-02-24 15:08:55 | INFO | fairseq.file_utils | loading archive file checkpoints/Pre-trained-BioGPT
2023-02-24 15:08:55 | INFO | fairseq.file_utils | loading archive file data
2023-02-24 15:09:00 | INFO | fairseq.tasks.language_modeling | dictionary: 42384 types

COVID-19 is a global pandemic caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), the causative agent of coronavirus disease 2019 (COVID-19), which has spread to more than 200 countries and
territories, including the United States (US), Canada, Australia, New Zealand, the United Kingdom (UK), and the United States of America (USA), as of March 11, 2020, with more than 800,000 confirmed cases and
more than 800,000 deaths.

How can I output the error more detailed? I'm attempting to do so but its not printing

@Dontmindmes
Please post a longer tracceback of error. The best I can make from the short snippet you provided is that your system killed python, which can happen if python consumed too much memory?
This is what shows up on my console
2023-02-24 15:08:55 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2023-02-24 15:08:55 | INFO | fairseq.file_utils | loading archive file checkpoints/Pre-trained-BioGPT
2023-02-24 15:08:55 | INFO | fairseq.file_utils | loading archive file data
2023-02-24 15:09:00 | INFO | fairseq.tasks.language_modeling | dictionary: 42384 types

COVID-19 is a global pandemic caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), the causative agent of coronavirus disease 2019 (COVID-19), which has spread to more than 200 countries and
territories, including the United States (US), Canada, Australia, New Zealand, the United Kingdom (UK), and the United States of America (USA), as of March 11, 2020, with more than 800,000 confirmed cases and
more than 800,000 deaths.

Hey thank you so much, i was able to get it to work but for some reason im given this response

', 'moses_no_dash_splits': False, 'moses_no_escape': False}, 'simul_type': None}
Loading codes from data ...
Read 0 codes from the codes file.
COVID  -@ 19 is, COVIDs ø-1, COVIDs ø-2, COVIDs ø-3, COVIDs ø-4, COVIDs ø-5, COVIDs ø-6, COVIDs ø-7, COVIDs ø-8, COVIDs ø-9, COVIDs ø-10, COVIDs ø-11, and COVIDs ø-12.

it dumps a giant array of something then returns that

Update: thank you so much for all the help @thisismygitrepo i really appreciate it. Thank you for going out of your wait to assist me, i just got it to work!

@Dontmindmes glad to have seen the installer working. Please share insights into what you went through for future readers or to make the installer better.


Test multi-plates support

Upon parsing of the raw images we are currently identifying all the plates which are available in a given input folder. In current examples there is only one plate, but in principle there could be more. This means that several steps have to be plate-dependent: for instance we need to specify lists of channels/wells/sites for each plate. Later on, during workflow execution, each task should read the lists of channels/wells/sites for the correct plate.
Question: is this really needed? Is there a multi-plate usecase where we really want fractal to handle all of them at the same time?
If there is not a strong motivation for keeping this feature, we propose a simplification where create_zarr_structure only handles a single plate. A simple (optional) argument can be used to select a specific plate, if needed (that is, when there are more plates in the same folder). If this argument is not provided, and there are more than one plates, create_zarr_structure would raise an exception and fail.
Note that in this way we would loose the automatic parallelizazion over plates, but this seems a very minor issue since we would be mostly parallelizing things across wells (or even sites, if possible).

I create a small test dataset here:
/data/active/fractal/3D/PelkmansLab/CardiacMultiplexing/Multiplate_2x2_singleWell
It contains 2 folders:
plate1
plate2
Each folder contains a single well, 2x2 sites
(the data is originally from the same plate, we're just pretending it's from separate plates. The metadata has been faked to be correct for both plates and is in each plate folder if we want to test with metadata parsing later as well)

Thanks @jluethi.
Could you also spell out the intended behavior of Fractal on this dataset?
My guess is that we aim at having a single zarr files with a number of channels equal to num_ch_plate1 + num_ch_plate2, and that the channels of the two plates will simply constitute the channels of the single zarr folder. Am I on the right track? Is there something more subtle?

Great question. My expectation here would actually be that each plate is saved as its own OME-Zarr file, as the OME-Zarr HCS spec describes plates.
That would cover the "multi-plate" case, if it actually concerns multiple distinct physical plates.
Another topic is "multiplexing", i.e. multiple folders of images that belong to the same physical plate. There, the behavior you describe above (=> all channels are separate, but belong to the same OME-Zarr file) should apply. We can discuss this case further in this milestone. I will create a respective issue & also create a test dataset for this.


Support Embedded Entities

https://typeorm.io/#/embedded-entities

:tada: This issue has been resolved in version 2.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


listener manager refactor

This is a substantial refactor that moves listener configuration and
socket binding into a new ListenerManager interface and implementation.
This is needed for LDS. This change doesn't add any dynamic capabilities
but sets us up for that in future changes.

@lyft/network-team @htuch @hennna @mrice32
@mrice32 FYI this will conflict with your other configuration change. Let's get that in first and then I will merge master into this.

@lyft/network-team @htuch @hennna @mrice32 merged master from @mrice32 commit whenever you have time to take a look.

@htuch updated


Fix tracking a page view with a custom title sets the title for future page views as well (close #1332)

#1332
Fixes an issue introduced in 3.24.0 where setting a title in the trackPageView call resulted in the title being the same also in the following page views unless overriden again.
The change now enforces the title to be reset on the next page view event.

Thanks @jethron, but I'm not sure I'm following:

I didn't change the behaviour of setDocumentTitle – that still persists across an unlimited number of page views (until it is called again). So don't understand how is it different from setCustomUrl or setReferrerUrl? Unless I am missing something, only the page title can be overriden in the logPageView method, so only in that one we need to handle the case where we can override the title in two ways (from the setDocumentTitle and trackPageView).
It's questionable if this is a breaking change because this was the behaviour before 3.24.0 but we broke it when fixing issue #1317. Also our integration tests expect this behaviour (we just didn't notice they were failing as everything was failing...).
It's a good idea to add overrides for the url and referrer to the trackPageView in v4. Not sure if we can totally drop the global setter functions, but agree that it's better to pass the values when tracking page view rather than set them globally.


Voice Additions

So, I finally had some time and got around to those voice additions in #7 ... sorry about the delay. :grin:
I wanted to get some feedback before I did a PR -- I have not yet finished the changes to the syntax_test file (which would be part of a PR)
https://github.com/danieldjewell/network_tech/commit/778526fb7c33ffb02fc69bc381a2f94d29bf0df5

Hi Daniel,
I am using the test files in the tests directory to visually confirm that changes do not screw up existing syntax highlighting.
Could you write sample configurations for your syntax into the Cisco IOS test as a part of your merge?
/Glen

Yes, absolutely -- I was testing against some real configs and didn't have a chance to rewrite/sanitize for the test file, but I will before submitting a PR. :)

Issue #7 is closed


change backend_init code to workaround bug in VC optimizer

The VC optimizer fails to change tysize[TYnref] when using optimized builds, all other entries seem ok.
This is clearly a MS compiler bug, but removing the non-looping loop seems to help avoid the troubles. Is there a reason to keep these loops running from 0 to 0?
I'm not sure why this worked before the frontend switch to D. Maybe the link time code generation uses a slightly different code generator.
I'm currently using VS2013 Update 4.

With this patch and #5010, I finally get a working (i.e. passing the test suite) release build using VC for the backend. Apart from better debugging, it generates faster code than dmc. Compile times for the D sources of ddmd with -m32 -O -inline using the respective dmd version:

dmd2.067:   45.3 s
dmd2.068.1: 46.3 s
git-master: 47.8 s
vc-win32:   38.3 s
vc-x64:     37.9 s

Building the debug version takes about 2 seconds, so I expect the additional time is spent in the optimizer.

The strange loop is an anachronism from olden code.

The strange loop is an anachronism from olden code.

Which I expect would have been better written as 'do { ... } while (0)' some years later. ;)


Precise volume font is hard to read

When using the precise volume plugin and adjusting the volume level without hovering with the mouse over the image/video so that there is no vignette on top of it, and if the song has a white background, you can not see the volume level
In these two pictures, it is the same corner with and without hovering over the video
I think creating a border or a shadow for the text should fix the issue

fixed due to a5fe8bc5893daa099ce6ace53ea24fd24d1d0e33


TensorFlow 1.14 artifacts on Maven Central?

The latest version of tensorflow and tensorflow-android artifacts is 1.13.1. Will version 1.14.0 be published?

@maksim-m ,
The Artifacts of Official Tensorflow for 1.14 is present in this Github link.
Artifacts for Tensorflow for Java and Andriod can be found in this Github link

Thanks for the reply, but the links you provide only contain the source code and build instructions,  not the artifacts (.jar and .aar files) for Java and Android. Thus, the users have to build TensorFlow themselves first.
Prior to the release of version 1.14 there was always an official release of TensorFlow for Java and Android on Maven Central. Even official documentation suggests to install TensorFlow for Java from Maven Central, but the artifacts for 1.14 are not uploaded there.

I Maxim,
I have this message when I test my installation :
Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
It's mean that i cannot use TensorFlow  on my system ?
Thx
Rick

Thanks for the reply, but the links you provide only contain the source code and build instructions, not the artifacts (.jar and .aar files) for Java and Android. Thus, the users have to build TensorFlow themselves first.
Prior to the release of version 1.14 there was always an official release of TensorFlow for Java and Android on Maven Central. Even official documentation suggests to install TensorFlow for Java from Maven Central, but the artifacts for 1.14 are not uploaded there.

I join the @maksim-m 's request. I think its neccesary to upload the artifacts to Maven Central.

Hi,
Thx
I join the @maksim-m 's request. I think its neccesary to upload the artifacts to Maven Central.
(1.14.0)

I'm working on resolving a missing android_buildinfo.json artifact which is blocking the release to Maven.

I've uploaded artifacts for tensorflow to Maven Central, with the exception of tensorflow-android. There are some changes to how that artifact is released which are causing some delays, sorry about that!

Hi @sjamer, thank you for adding 1.14.0 version to Maven.
When will the tensorflow-android 1.14.0 be released on Maven Central? I'd like to use some operations in my application which are supported only in 1.14.0, such as GatherV2.
Thanks!

I found some issues with the 1.14.0 release of TF Java, I'm working on a <IP_ADDRESS> right now to fix those. This means 1.14.0 is not usable in its current form (at least on Mac and Linux).
Also working on an answer for tensorflow-android, no ETA right now.

Hi @sjamesr are there any updates about the Android package?
I'm waiting for the release.

There will be a 1.15 release soon with the usual release process (release candidates, final release) instead of trying to patch the broken 1.14. Sorry about that

Hi @mihaimaruseac
Thanks for the information! May I also ask when is the expected release date for tensorflow-android 1.15?
Thanks a lot

They should be released at around the same time

Hi @ssrp. There has been a release candidate for 1.15, can you please check that tensorflow-android is also released?

@mihaimaruseac it's not released on Maven Central. The latest version of tensorflow for Java is 1.14.0 (which is not usable in its current form) and the latest version of tensorflow-android is 1.13.1.

Hi @mihaimaruseac, it is not released on Maven Central yet.
Also, I found the 1.15 artifacts of TF for Java and Android here but I couldn't tell if it is updated (comparing with 1.14 Artifacts).

Assigning @jdduke in this case

Apologies for any confusion, we are no longer releasing TensorFlow Mobile Android artifacts on Maven. This can still be built from source, but it will not be part of the official release. TensorFlow Lite Maven artifacts for Android are available at the usual link. Standard (desktop) TensorFlow artifacts for 1.14 have been published, and should be published with future releases.


[storage] trivial: move all get_startup_info() logic to the ledger store

Motivation
Because it belongs there and it makes little sense to split it between the store and the LibraDB.
It's more readable this way.

(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
yes
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
existing coverage
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@bors-libra r+

:pushpin: Commit 41a4fc8 has been approved by wqfish

:hourglass: Testing commit 41a4fc861032398b0ef4916d090417ef9dc570cb with merge f8311304e0cb498bcb12185742f83b5f5b884820...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra  retry

:hourglass: Testing commit 41a4fc861032398b0ef4916d090417ef9dc570cb with merge 2d616dbbecac74b81ea4aea572903db4ee758dd8...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra retry

@bors-libra r+

:pushpin: Commit 35afda7 has been approved by wqfish

:hourglass: Testing commit 35afda72054f7a3f7081065093da68b8a1ef2aa7 with merge 7d5def5214ca4afb671417b95b18e01a6ead7155...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: wqfish
Pushing 7d5def5214ca4afb671417b95b18e01a6ead7155 to master...


Remove the Clone bound from messages where possible.

There was a change that could eliminate most of the times Msg needed to have the Clone bound.

Need to test, but this would be great from an API perspective. As you've discovered, the mandatory clone's a byproduct of implementation - not something desired!

There's a derive(Clone) that was enforcing the trait bound on the message, so this removes that, if that's what you meant.
There's still one place where the message has the Clone bound that I wasn't able to remove easily, but the one that I couldn't remove has a trait bound that's pretty involved and this one hits a ton of files already, so I wanted to work on that one separately.


Tooltip of first button visible automatically after button click on any Toolbar button

Expected Behavior
After button click on toolbar the tooltip of first button should not become visible and the name of the other buttons should be printed as they are named originally
Actual Behavior
After button click on Toolbar the tooltip of first button is enabled which causes the Title of all button to be changed to the visible tooltip
Steps to Reproduce the Problem

Select any button on a toolbar containing more than 1 button
you will notice that the tooltip of first button is now visible automatically
print the control identifiers of the toolbar
notice that all the button are now named the same as the displaying tooltip

Short Example of Code to Demonstrate the Problem
app.dialog.ToolbarButton3.click()
app.dialog.ok.click()
//at this stage tooltip of Toolbar Button1 starts appearing
mouse.wheel_click(coords=(0,0) # hide tooltip
app.dialog.ToolbarButton2.click() # if mouse click is not done then tooltip of first button is visible which causes this line to throw exception
Specifications

Pywinauto version: 0.6.8
Python version and bitness: 3.11 (64 bit)
Platform and OS: Win 10 Enterprise (21H2)

I have encountered the software with a GUI where clicking on a button on the toolbar causes the name to be an empty letter.
From your report, I am thinking that such GUIs may not be uncommon.
Since it was not possible to search by name, I had to sort by coordinates to find the button.
This is a solution that can only be used when the order of button positions does not change.

I have sorted this out temporarily by adding a mouse click to 0,0. As soon as it does that the tooltip disappears and the correct button names are fetched via app dialog. This is working for me as of now.
But i would really like to know as to why after button click the first element on the widget is selected automatically.

It may be that the GUI implementation automatically selects the first element.
If the mouse pointer is on the GUI, it might behave differently.
What happens when you do it manually?

If there is no concerns about NDA, sharing the display capture with the community may help to resolve your problem.

That will not be possible as it's my company's project

It may be that the GUI implementation automatically selects the first element.
If the mouse pointer is on the GUI, it might behave differently.
What happens when you do it manually?

There is no issue when done manually. It's only via pywinauto button click

If you can't upload a screen capture, please show us a code snippet that uses pywinauto and the community might be able to help you find a solution.

app.dialog.ToolbarButton3.click()
app.dialog.ok.click()
at this stage tooltip of Toolbar Button1 starts appearing
mouse.wheel_click(coords=(0,0) # hide tooltip
app.dialog.ToolbarButton2.click()

If you are assigning "uia" to your backend, have you ever used the invoke method instead of click?

No, will try it and update. Thanks for the suggestion.

Please let us know if that worked out for you.

sorry for late reply - using 'invoke' didn't improved the situation

Could you show me the traceback of the errors you encountered for both the invoke and click cases?


draft : room6 New graphics

This change is 95% complete. There's an outstanding issue
See https://github.com/godot-escoria/escoria-issues/issues/177
I'll need to remove the hack (room6.esc lines 14 and 15) that immediately unlock the second door (to allow the bug to be investigated) before the room is production-ready.

Currently broken pending issue 193 for set_state command

@StraToN I'm happy with however you want the commit history to look.  Otherwise we'll just merge this one. Whichever  you like :-)

I'm alright that way :)

@balloonpopper Please remove commit 0f8d53e8e956cfd593bf2968e99ccfa3d0a4ecff from your PR. I fear it will collide with changes on this brought by #554

Already done @StraToN - the only files in the PR now are room06 ones.


Get pfif-tools tests passing.

For context: this is a standalone app, separate from Person Finder itself, that's used for validating data in PFIF format, which runs at pfif-tools.appspot.com.
The tests currently depend on older (no-longer-default) versions of WebOB, so we need to specifically add the older version to the Python PATH. Also, the server tests don't seem to exist so just drop that.
The version of WebOB (v0.9) it wants is no longer supported on App Engine (according to this doc). The site's still running, and I'm not sure if that's because it's somehow grandfathered into running v0.9 or because the problems with later WebOB versions only apply to the tests. Either way, I don't really care, because we're not going to push it again until it's migrated to Django (and possibly not until it's migrated to Python 3).

Sent to Eliah.

Decided to skip this step and migrate it to Django now, which was a lot easier than I expected.


ManagedDatasource construction may fail silently

Code Location:
https://github.com/CivMC/CivModCore/blob/a71661ef833e938969c975c174e1bed4c28b00a5/paper/src/main/java/vg/civcraft/mc/civmodcore/dao/ManagedDatasource.java#L187

Problem:
The check fails silently if no returntype is checked by the caller. The proper behaviour should be a thrown nullpointerexception in this case.

Solution:
Throw a nullpointerexception instead of silently warning to logs.

I'm closing this out as something that we won't fix. It could be revisited in the future, but it's not within our capacity to work on right now.


chore: tidy up comments in ReactiveNotifyPropertyChangedMixins

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Tidying up more comments...
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[ ] The commit follows our guidelines: https://github.com/reactiveui/reactiveui#contribute
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

Coverage remained the same at 66.835% when pulling 3a2a0b0575aa879c6b502a8c25c2fe68d0be69ba on olevett:reactive-property-mixin-comments into b6209cdd1dfcea809449d6736c79c8b34f11c21d on reactiveui:develop.


Allow for a single device to be used.

Allows for a single device to be used, issue is deviceIdNames is a String if one is present, and an array if multiple are present (Ughh..) fix is to detect string and wrap it in array.

Line 57 is strictly not necessary (just a test that snuck through into the pick) -- But worth having anyway AFAIK.  The array wrapping is the meat of the fix that works for me.


I downloaded gguf file manually, how can i add it to LM studio?

I downloaded the gguf file manually; how can I add it to LM studio? I added it to folder, but i have You have 1 uncategorized model files

@JammersUK What is if its a model that didn't come from hugging face?

You can just set a folder named "model" anywhere you want, manually download models and put them in that folder. I always download models using Internet Download Manager since I like to control the speed of the download.
Below is a screenshot of how I achieved that:

This solution worked for me, I opened LM studio's storage location. Made a subdirectory called models, another below it called Llama. Moved all my GGUF files there with corresponding folder names.
Opened LM and did a model re-index. They were all then available for use.
Alternatively you can use the built in model import tool CLI wizard from LM studio. It can be found in your LM studio installation directory for example: Local\LM-Studio\app-0.3.2\resources\app.webpack
Just run "lms.exe" and point it to your GGUF


exclude index.html from precache

I have a react app where one route is normal but another route is cross site isolated (due to SharedArrayBuffer).
It was created with CRA (typescript pwa template).
I do a full-page reload when navigated to the cross-site isolated one, that's why I ignore the index.html in precache so that it can work.
cross site isolation headers are configured in netlify.toml.
I am thinking of moving to vite.
Is it possible to remove index.html from precache in vite-plugin-pwa?
I know it defeats the purpose of the offline factor.

@AnilSonix it depends on your needs, you can use pwa plugin without precache manifest, configure workbox.navigateFallback = null, but then your app will not work on offline.

@AnilSonix it depends on your needs, you can use pwa plugin without precache manifest, configure workbox.navigateFallback = null, but then your app will not work on offline.

I want to precache all build artifacts except index.html.

@AnilSonix check this link https://developer.chrome.com/docs/workbox/modules/workbox-precaching/

Thanks, globIgnore did the trick.
      workbox : {
        globIgnores : ["**/*.html"]
      }


Matrix32 -> Transform2D

I don't think the gles2 driver would even compile now if it was un-commented - @reduz shouldn't you remove it altogether?


Negative sign is not required in discount amount.

Bug report
Title
Negative sign is not required in discount amount.
Issue Description
Negative sign is not required in discount amount.
Preconditions
1. Commit id.-37331c3fb812ce9c20642d0b902fa946cf5cdfca

Steps to reproduce
1. step1- Place an order on which cart rule get apply.

Expected result
Discount should not display in negative
Actual result
Discount displays in negative.

Commit Id: 655d2abf1174ec750d6526038ec650d1484db9be

Fixed


Builtin pagination template doesn´t work with sub root in BaseURL and CanonifyUrls = "false"

If .Site.BaseURL contain paths (e.g., example.com/en/), pagination doesn't work correctly.  The variables URL, Next.URL, Prev.URL, etc. return incorrect values in the pagination templates, resulting in the following behavior:
http://example.com/en/products/page/2/ (correct link) => http://example.com/products/page/2/ (links in generated pages)
I make it working by hacking the source code (hugolib/pagination.go) around line 276:

urlFactory := newPaginationURLFactory(section)

modified as:

urlFactory := newPaginationURLFactory(helpers.RelURL(section))

Since I am new to Hugo and haven't looked at the source codes before, can someone check this issue and fix it in a correct way?

I'm pretty sure the Next.URL etc. are relative to context root, so the examples you give cannot be the string value returned. Can you check?

@bep Actually, I mean the final URL in the generated pages.

And how do you construct the "full URL"?

For testing, I'm just using the default internal template and nothing special:
  {{ range (.Paginator 20).Pages }}
       ....
  {{ end }}
  {{ template "_internal/pagination.html" . }}

The full URLs are constructed by the browser.  To be exact, the links to the pages in generated HTML looks like:
 2

It should be:
2

OK, now I understand it.
The current workaround is to either set CanonifyUrls = "true" or use a custom paginator template.
helpers.RelURL would be the right medicine, but I would do it with the rel variable here:
https://github.com/spf13/hugo/blob/master/hugolib/pagination.go#L367

@bep Using helpers.RelURL() with rel variable doesn't work for me, because rel variable is already of the form /section/page/...  and helper.RelURL()``` doesn't change it.

Hmm, that sound a little bit strange. I guess this should be a safe bet, too:
https://github.com/spf13/hugo/blob/master/hugolib/pagination.go#L273

Note/Update: This issue is marked as stale, and I may have said something earlier about "opening a thread on the discussion forum". Please don't.
If this is a bug and you can still reproduce this error on the latest release or the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.

Yes, it's fixed been since the 0.20 release.  Update your Hugo version.  The latest is 0.25.1.

Sorry! I thought I had the latest version...


schema mismatch for _Session.user; expected Pointer but got String

When i call from JS client newUser.signUp i have error: schema mismatch for _Session.user; expected Pointer but got String

Can you make sure you are on the latest version of Parse Server? This issue should be fixed already.

Same problem to me with parse-server version 2.2.13 using the Parse JavaScript SDK.
@csujedihy if I downgraded deepcopy to v0.61 and with parse-server in v2.2.13 it's still not working.

I had the same error but it worked on v2.2.13

Closing due to lack of activity, please update to latest parse-server version and reopen if the issue persist.
Don't forget to include your current:

node version
npm version
parse-server version
any relevant logs (VERBOSE=1 will enable verbose logging)


fpdf: consider implementing a page-concurrent writing mode

for large documents, it may make sense to have a per-page goroutine worker producing the final bytes of a page, and assemble them in the final document serially.
see https://github.com/phpdave11/gofpdf/issues/17.
this would involve quite a large refactoring of fpdf.Fpdf (into pageWriters ?) though.

I believe using goroutine in a library is not recommended. It should be possible to disable it, but it will still complicate the lib...
For text based document fpdf is already so fast (i compare with Reportlab) even for thousand pages with tables.
If the issue is only about image rendering maybe it could be possible to prepare the image (calling this in an app goroutine if needed), and then use the prepared images ? Don't know enough the code of fpdf neither where is the bottleneck... Just though...


Fix buffer selection logic

The buffer selection logic is nice, I like it, but there are a few bugs, mostly related to the fact that slices in vim are inclusive, which causes to one more buffer to be shown than necessary.
This caused current buffer being sometimes only partially visible, or in unfortunate cases even completely invisible:

One more bug found, Add one buffer on the right does not account for the size of that buffer on the right, and the l:width can become negative - don't merge just yet, I'll push the fix soon.

Now it's good, summary of all bug fixes:

the buffer on the right doesn't necessarily fit
don't add more buffers on the right if the first one didn't fit
remember to reverse the order of buffers on the left when computing how many fit
correctly handle cases when no buffers fit (previously it was impossible to add 0 buffers on either side)

Thanks, fixed 🙂


Request - Typings

We are using Typescript to develop some extensions, could you provide Typings? It would certainly make it easier to use.

This certainly would help as well. It seems like you're using typescript to develop the SDK anyways.

Hello,
We would also need the typings, to work with typescript. Besides, it seems, reading the documentation, that they already exist, for example:
Defined in Namespaces/Extensions.ts:60
Please help us :-)

You'll find that your source code for this API library is smaller, and easier to maintain if you convert it to Typescript.   You will get ES6 compatible modules (that can still be webpacked) and type definitions will be available for the generated javascript, which then provides excellent code assistance.
You'll also be able to use es6 features like async/await even if you are still targeting es5 compatibility.

Good news!
We are starting to work on Typescript bindings as I type this message.
John

I forked this project and added a DataSources-Typescript example which is a conversion of that sample to Typescript, targeting ES2017 and updating the code to use those features such as classes, async/await, arrow functions, etc.
It also uses TSLint which provides some additional guidance (usage of let vs. const).  Added a .editorconfig and prettierconfig.json
If of any interest I can create a PR and further comments about needed modifications can be made on that.
https://github.com/rcollette/extensions-api

We are happy to announce as of today, we released Extensions API 1.3, which includes type definitions library for Extensions API. Release notes here:
https://tableau.github.io/extensions-api/docs/trex_release-notes.html#extensions-api-library-v13


Update swagger ui to latest version and use vite for bundling.

This removes the copied swagger ui js and css artifacts and instead uses vite to bundle our application. That way we won't get any conflicts.
Be aware that you need to change the Pages deployment from /root to /dist after merging this pr.
Closes #98

curious.. why can't we just flatten dist to root like before?

curious.. why can't we just flatten dist to root like before?

This is because vite requires an own index.html etc. If we flatten out at root we would clutter the other necessary files like vite.config.ts. Like this we have a separation of concerns. Dist contains the bundled artifacts and everything else is required for developing.

This is because vite requires an own index.html etc. If we flatten out at root we would clutter the other necessary files like vite.config.ts. Like this we have a separation of concerns. Dist contains the bundled artifacts and everything else is required for developing.

The thing is that we aren't "developing" swagger though, we are just consuming it with a small modification to index.html. If we are "developing" I don't think this is the right approach, and it is also overshooting the requirement by a large margin.
What I asked for help on was a lot simpler, and won't add any new development requirements to the people who are already not developing ;) https://github.com/openzipkin/zipkin-api/pull/101
So, swagger UI is just something we consume. let's KISS (keep it simple and stupid). By unzipping we also don't break things that update this.
The master branch otoh is more like development as it actually has CI, etc. If you'd like to go to town on that and update it to pnpm please do, but make sure you keep the maven build working because the protos are published that way.

ps for longer in case curious on " I don't think this is the right approach," what I mean is that developing off gh-pages is a very bad experience. basically we would want to change master to produce this content and then have some automation to auto-publish the gh-pages branch with the result of that. history tells me each time we try something like this there are some glitches to work out. also, we'd have to want to take on responsibility of the dev side of swagger.. so we'd want to hav a good reason to do that. if all we are doing is making the same dist as they publish, it is kindof doing a lot of work for value already produced. hope the explanation helps and sorry if I misled you down this path!

No worries. Thanks for the explanation. I'm always a bit scared when checking in source code from other vendors. That's why I thought it would be worthwhile to add this to the gh-pages branch. Ideally we would put that in master and change the deployment to GitHub Actions. That way we don't have any artifacts in the repo.

@SamTV12345 the approach you mention is better for sure. How about if you clean up master, and if you feel the same way, give a try there with the build and push to gh-pages via some GitHub action. basically it is the same as any static app like Netlify just we are doing the push manually. As long as the build runs on master (not here), and we can keep the deployment root of gh-pages as-is.. I'm happy!

updating didn't work, so yeah now like it or not, if we want to crush the XSS we have to do something more involved. Made some notes. I'm not sure you can change the base of this PR, but anyway turns out you were on the right path as it wasn't as simple as updating swagger to squash https://github.com/openzipkin/zipkin-api/issues/98#issuecomment-1953255705


Uncaught exception: Error: Cannot find module 'clipboardy'

Error message screenshot:

macOS version info screenshot:

node and npm info: https://gist.github.com/mscottford/3922340252f9b79c2973ecb85e68b167

Yep I'm getting this as well, I can see that the last few commits were to do with the clip board.
I tried rolling back to a few earlier commit points but no joy.

Ok I rolled back to the commit hash eb543b4935356948a198624ddada330927ae6e41 and it builds and runs ok from there.

Thank you for discovering this @mscottford and @jeremy-brooks !
The problem was that the new clipboardy module was defined as a devDependency instead of a dependency. I should have caught this when the new feature was being developed, but I only ran it via npm start in a development mode and didn't remember to do a final build. Sorry about that.
This should be fixed now in 4ef1be8f
I hope you're enjoying the timer, and thanks again!


Provide instructions on how to test service

From @yablokov :

Now available (bibxml-indexer):
http://<IP_ADDRESS>:8001/api/v1/indexer/<dataset_name>/run
http://<IP_ADDRESS>:8001/api/v1/indexer/<dataset_name>/stop
http://<IP_ADDRESS>:8001/api/v1/indexer/<dataset_name>/reset
http://<IP_ADDRESS>:8001/api/v1/indexer/<dataset_name>/status
(as it described: https://github.com/ietf-ribose/bibxml-indexer/blob/master/openapi.yaml )
At indexer settings.py I have configured datasets:

ecma
nist
ietf
itu-r
calconnect
cie
iso
bipm
iho

(get it from https://github.com/relaton?q=relaton-data-&type=&language=&sort= )
You can start indexation at bibxml-indexer instance:
http://<IP_ADDRESS>:8001/api/v1/indexer/ecma/run
And read result from bibxml-service after indexation finish:
http://<IP_ADDRESS>:8000/api/v1/ref/ecma/ECMA-154
You can start indexation at bibxml-indexer instance:
http://<IP_ADDRESS>:8001/api/v1/indexer/nist/run
And read result from bibxml-service after indexation finish:
http://<IP_ADDRESS>:8000/api/v1/ref/nist/LCIRC288
Repo/datasets at  bibxml-indexer reads from configuration: https://github.com/ietf-ribose/bibxml-indexer/blob/master/indexer/settings.py

Documentation has a page on running tests, and Stefano will likely help expand relevant sections.

Thanks, closing.


spec needs to be clear about the coordinate space of the rects in the change record

Rects should be in the coordinate space of the document the root element is in. If root is undefined then they are in the top-level document's space.

Won't this leak information about the top-level document's viewport?  Anyways, in the cross-origin case, reporting information in the coordinate space of the top-level document doesn't seem very useful.
Proposal:

For any notification where rootBounds is exposed (see issue #52 for more info), coordinates are in the root's document's space.

For any notification where rootBounds is not exposed, coordinates are in the space of the document containing the target.

That proposal makes sense to me. @mpb does that break any viewability use case? I think it doesn't.

@szager-chromium and I chatted more and there isn't really a use-case for knowing position in the cross-frame case, so maybe we should just always expose things in the coordinate space of the document containing the target. That seems simplest.

I don't see any issue with that.

sgtm.

Knowing the intersection ratio of the target in the coordinate space of the top-level document is essential for ad viewability measurement. It is no use knowing that an ad has a 'viewable' intersection ratio with its containing iframe if that iframe is scrolled outside of the browser viewport.

@SteveThorpeTM I think you're misinterpreting this.  The intersection rect reported will be the portion of the target which is visible in the top-level frame (not the iframe).  This discussion is just about whether the position of the rect should be translated by the position of the iframe within the top-level document.


PR Title for PR-1045

This is a pull request for PR-1045.

Generating PR code suggestions
Work in progress ...

Preparing review...

PR Reviewer Guide 🔍

⏱ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🏅 Score: 92
🧪 PR contains tests
🔒 No security concerns identified
🔀 No multiple PR themes

⚡ Key issues to review
Configuration ChangeThe PR introduces changes to the model configuration settings which might impact the functionality of the application. Specifically, the new models specified might not be compatible with the existing system.
Best Practices UpdateThe PR updates the best practices settings, including the maximum lines allowed, which could affect how code is reviewed and committed.

Generation Model with RAG True
qwen2.5-1.5b-ins-bf16

Preparing review...

PR Reviewer Guide 🔍

⏱ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🏅 Score: 92
🧪 No relevant tests
🔒 No security concerns identified
🔀 No multiple PR themes

⚡ Key issues to review
Configuration ChangeThe PR introduces changes to the model configurations which might impact the behavior of the application. Specifically, it updates the model, model_turbo, and fallback_models settings, and introduces a new max_lines_allowed parameter in the best_practices section.
Best Practices UpdateThe PR modifies the max_lines_allowed parameter in the best_practices section, which could affect the code quality and maintainability guidelines enforced by the application.

Generation Model with RAG False
qwen2.5-1.5b-ins-bf16


feat(event): add NodeCount, ReplicaCount, VolumeCapacity event fields

There were two sets of values sent for two different sets of engines:

cStor, Jiva --> Replica Count, Capacity
Zfs/LVM/Hostpath LocalPV --> "Running", Node count

It was either or for these values. The Event Category, Action, Label and Value stucture was ported directly from Google Analytics UA's event structure.
This PR removes Event Action, Label and Value and replaces them with 'NodeCount', 'ReplicaCount' and 'VolumeCapacity'. These 3 fields sit directly on the event body (similar to node arch and node OS).

@Abhinandan-Purkait -- Thank you for your review! I've asked you for a second review because I've changed the implementation from what it was when you had reviewed it.

Looks, good. Is it a good idea to collect the extra sc params as a field as well? Maybe call that field ExtraInfo can be a generic field to add extra stuffs whenever we want. One immediate example could be on volume_provision events we set ExtraInfo to sc params. That would help us track what kind of configs people use.

Looks, good. Is it a good idea to collect the sc params as a field as well? Maybe call that field ExtraInfo can be a generic field to add extra stuffs whenever we want. One immediate example could be on volume_provision events we set ExtraInfo to sc params. That would help us track what kind of configs people use.

This needs more discussion. This might be a good item for the next maintainers' meeting. I'm going to hold off on this change for now.


4.8.0 Russian Text : correction of spelling errors

I resolved the merge conflict by picking "4.8.0-ruLang_V2"


Add better concurrency testing to IncrementalIndexTest

Turned out to be queries running to fast (at least on my system). Added in some looping on the query portion to help make it more likely to hit concurrency conditions.

@guobingkun The PR in question

ugh, works locally fails in travis. Fixing

Travis good, bouncing to verify not a fluke

Failed in unrelated io.druid.indexing.overlord.RemoteTaskRunnerTest restarting

Travis good. Firing again to check for errors.

:+1:


Repository Configuration Change

WHAT

the implementations are moved to the implementations folder
the main.py is rewritten to import from the folder

WHY

the number of implementations are increasing.
wanted to make the main.py less informative. (will do this later.)

main.py now has mostly nothing inside. PL#29


build: Add per-feed package lists to aid reviews

As we add/remove/move packages, these lists will change and we can use them to verify before we run the publishing pipeline what will be published. The CI pipeline just publishes the packages in each list to the feed in question. This makes it far less likely that we find out a package is missing in a feed only after we do a release.
They are generated by running the generate:packageList script from the root of the release group. They are also generated during a build, so these files are kept up-to-date as changes are made.

Looks good... but I think ci:build won't (re)generate these files. Do we want it to?

I meant to add this as a "check" in CI. I'll fix it.


Preserve container resources for more hosted control plane components

What this PR does / why we need it:
The changes here simply extends what was already started back in https://github.com/openshift/hypershift/pull/1082 to more components.  Specifically, adding container resource preservation for the following control-plane components:
hosted-cluster-config-operator
cluster-network-operator
konnectivity-server
konnectivity-agent
machine-approver-controller
cluster-autoscaler
olm-operator
packageserver
cluster-node-tuning-operator
ingress-operator
ignition-server
catalog-operator

/test all

/area control-plane-operator
/approve

/retest-required

/retest

Resource preservation testing checklist:
Testing done using a custom built and deployed CPO with these changes...

[ ] hosted-cluster-config-operator
[ ] cluster-network-operator
[ ] konnectivity-server
[ ] konnectivity-agent
[ ] machine-approver-controller
[ ] cluster-autoscaler
[ ] olm-operator
[ ] packageserver
[ ] cluster-node-tuning-operator
[ ] ingress-operator
[ ] ignition-server
[ ] catalog-operator

/restest-required

/retest-required

/retest

/retest

/lgtm

/retitle HOSTEDCP-1438: Preserve container resources for more hosted control plane components

/cherry-pick release-4.15


Fix infection from Range

In general, to_s and inspect on a tainted object should result
a tainted string.  Range#to_s and Range#inspect have bugs.
https://bugs.ruby-lang.org/issues/11767

:bow:  https://github.com/ruby/rubyspec/commit/4146e7ceeef687343d75b7af5aa4049c53d60946#commitcomment-14752999
:joy:

@nobu Good catch!
In general, I try to avoid ruby_bug because it forces other implementations to backport while MRI might not. But since in this case it should be backported in all current versions, it's fine and we'll just remove it when it is backported!


AttributeError: 'NoneType' object has no attribute 'shape'

Hi avolkov1
I get a problem when i run the mnist_tfrecord_mgpu.py, it is as follows:
Traceback (most recent call last):
File "examples/mnist/mnist_tfrecord_mgpu.py", line 266, in
main()
File "examples/mnist/mnist_tfrecord_mgpu.py", line 224, in main
train_model.fit(epochs=epochs,batch_size=128)
File "build/bdist.linux-x86_64/egg/keras/engine/training.py", line 1358, in fit
File "build/bdist.linux-x86_64/egg/keras/engine/training.py", line 1245, in _standardize_user_data
File "build/bdist.linux-x86_64/egg/keras/engine/training.py", line 597, in _standardize_weights
AttributeError: 'NoneType' object has no attribute 'shape'
the version of keras is '2.06',   Can you give me some pointers on how to fix this problem? Thanks !

@taozhiiq I updated the mnist_tfrecord_mgpu.py example. I think you're using the older example I had before that worked with Keras 2.0.1, but it had bugs (refer to issue #6). Pull the latest code from this repo. The updated example is here:
https://github.com/avolkov1/keras_experiments/blob/master/examples/mnist/mnist_tfrecord_mgpu.py
The updated example requires latest Keras version 2.0.8. I think it will work with 2.0.7, but I have not tested it. The new features in Keras to simplify usage of a TF pipeline (tfrecord or queues or whatever) were introduced in 2.0.7. Please upgrade Keras. I use virtualenv for that so usually I upgrade like so:
pip install --upgrade keras --no-deps

That will upgrade to the latest Keras without changing or upgrading anything else.

@taozhiiq Have you had a chance to test with Keras 2.0.8? Let me know if there are still issues for mnist_tfrecord_mgpu.py example, otherwise please close this issue. Thanks.

Thanks  very much for you answer, I have test it with the keras 2.08, and It works well.


renamed master branch to main

NOTE
Please verify that the base repository above has the intended destination!
Github by default opens Pull Requests against the parent of a forked repository.
If this is your personal fork and you didn't intend to open a PR for contribution
to the original project then adjust the base repository accordingly.

Just renamed branch to main

honest mistake, lol. Sorry about this


Initial thrift for datapipeline service

@yurishkuro This is what I imagine the service setup will really be like.


Webcam Video effects camera not detected  in online meet

So I have followed all the instructions for setup and usage and the effects work  with desktop applications such as Teams and Discord.
However, it does not work in online meets such at Google Meet and Teams Online

When using the camera on browsers, it's important to start the shell script before opening the call in your browser or the browser won't detect the webcam. Specifically, make sure you start the scripts in this order:

Turn the webcam on
Start the shell script that sends data to the webcam
Open the call on your browser

Once the browser is opened and it identifies the webcam, you can stop and restart the script as much as you'd like, but it has to be streaming data when the call starts.

That's expected - Changing the video_nr should make the new webcam you play from /dev/video5. That's what the -o 5 command does. Can you confirm that this is the case by pasting the output of v4l2-ctl --list-devices? You should get your existing webcams plus "Webcam Video Effects"

the output is
Webcam Video Effects (platform:v4l2loopback-000):
	/dev/video5

HP Wide Vision HD Camera: HP Wi (usb-0000:06:00.3-3):
	/dev/video0
	/dev/video1

it does not seem like /dev/video2 is the default webcam device

That's expected - Changing the video_nr should make the new webcam you play from /dev/video5. That's what the -o 5 command does. Can you confirm that this is the case by pasting the output of v4l2-ctl --list-devices? You should get your existing webcams plus "Webcam Video Effects"

the output is
Webcam Video Effects (platform:v4l2loopback-000):
	/dev/video5

HP Wide Vision HD Camera: HP Wi (usb-0000:06:00.3-3):
	/dev/video0
	/dev/video1

it does not seem like /dev/video2 is the default webcam device

This is actually a good sign! It seems your webcam works as intended. The config I asked you to change makes /dev/video5 the default instead of /dev/video2. It seems that wasn't a cause of the problem though. You can switch to video_nr=2 to get it back on /dev/video2 if you want, but it really doesn't make much of a difference.

Also when using google Meet it does not ask permission for Webcam Video Effects it asks instead for the default webcam

When using Google meet, by default it doesn't use Webcam Video effects so you'll have to change that in settings. First go to the meet as shown here:

Then click Settings > Video and select "Webcam Video Effects" from the dropdown (make sure you are running video_looper_complete.sh when you're at this page - otherwise start the script and refresh the google meet)
![image](https://user-images.githubusercontent.com/31
703249/136884685-3d9dfabe-432d-47e2-b4ad-9bb8ed5f98cb.png)
Then choose the camera you want and it should ask your permission to use it.

Let me know if these steps work for you!

When i try to click on the dropdown

The other webcams are not listed

Can you run the video looping script
./video_looper_complete.sh -t "test" -b "webcam" # add "-o 5" if you kept /dev/video5 as your default

and then go to https://webcamtests.com/ and check if any of the webcams display Webcam Video Effects?

and while reading through your code, I found that there is no -vodecflag could it be because of that

Thanks for the information! I'll try to figure out if it's related to that, the -re flag, or something else entirely. In the meantime, when you run the video_looper_complete.sh script, while it's running you can run ps aux | grep ffmpeg, copy the command that the script is outputting, and add any flags you want before rerunning it.
I'm still working on fixing the blur options - that's my newest feature, and I'm still trying to fix it (maybe adding a fade-in blur and changing the way blurs are calculated). If you find any other interesting information regarding the commands please let me know in this issue!

Thanks for the information! I'll try to figure out if it's related to that, the -re flag, or something else entirely. In the meantime, when you run the video_looper_complete.sh script, while it's running you can run ps aux | grep ffmpeg, copy the command that the script is outputting, and add any flags you want before rerunning it.
I'm still working on fixing the blur options - that's my newest feature, and I'm still trying to fix it (maybe adding a fade-in blur and changing the way blurs are calculated). If you find any other interesting information regarding the commands please let me know in this issue!

I ran ./video_looper_complete.sh -v "sample.mp4" then ps aux | grep ffmpeg in another terminal which gave-
36055 33.3  0.7 1545136 110576 pts/2  SLl+ 09:42   0:23 ffmpeg -stream_loop -1 -re -i stream.mp4 -filter_complex  [0]   format=yuv420p[v] -map [v] -f v4l2 /dev/video2
36758  0.0  0.0  17636   844 pts/3    S+   09:43   0:00 grep --color=auto ffmpeg

The should be fixed in v0.2.0 as blurred backgrounds were fully rewritten. If there are still problems, please open another issue.


Catch ReferenceErrors on window

Coverage decreased (-0.5%) to 95.181% when pulling 1a8acf21dc9d794fa8568494b53e0147f175b645 on fix-reference-error into d326bb852aa4fc9a8681043da49d5acf0487efec on master.