Provide a logrotate conf for subagent logs

The rationale is provided in #251. This PR adds a default logrotate conf for Linux packages.
The config is based on the default debian syslog rule, and does:

maintain up to four copies (up to a month)
rotate weekly
don't fail if log files are missing
don't rotate if log is empty
compress logs two generations older

We don't need to restart fluent-bit because currently fluent-bit opens and closes log files every time it writes something.

I'll address the comments shortly. I haven't used it on Windows and don't know, but it looks like fluent-bit is configured to produce a log file on Windows as well? In that case I'd assume yes. Windows doesn't have logrotate so we would need to work around it (I think many services use the system event log instead of local files).

We have a fleet of RHEL and OEL machines affected by this issue, and while @igorpeshansky's suggestion to implement Windows log rotation is made in good faith, it may be the perfect preventing good from happening.
I think that Windows log rotation is a valid thing to ask for, but can we merge the Linux–only log rotation for the time being since the log files in the wild are not getting any smaller?

I just investigated an issue with one of the VMs running out of space and the culprit was the logging from the agent resulted in 22G file. Please merge this.

I don't know why the check is failing. I didn't change anything about Windows but somehow it's Windows that's failing? Let me know if there's anything I can do.


build with error msg: Can't resolve ngx-formly-primeng.ngfactory

Hi, i use the formly with primeng and it work well in dev but when i build the project, it occurs errors as following:
ERROR in ./src/app/app.module.ngfactory.js
Module not found: Error:
Can't resolve<EMAIL_ADDRESS>in 'myPath\src\app'
resolve<EMAIL_ADDRESS>in 'myPath\src\app'
using description file: F:\www\orderFiance\apps\contract\package.json (relative path: ./src/app);
please help me, thanks!

sorry, i import the FormlyPrimeNGModule with wrong way.


Add Rexmeck's attachment system to SLZ guns inside buy menu

Similarly to the VR game Pavlov, we want to have attachments that can be bought and attached to weapons. Luckily, BONELAB modder Rexmeck has done the heavy lifting by creating an attachment system. This mod is free to download by anyone and needs to be added as a dependency to this game mode. The attachment "sockets" that need to be added to a gun by gun basis need to be embedded into the assembly of this game mode.
In this issue:

Embed the attachment socket prefabs into the DLL. Alternatively, to avoid having to bundle third-party assets into the assembly, simply load an attachment from Rexmeck's gun attachments mod which we will just assume is already installed during runtime, and spawn a gun attachment that itself also contains an attachment socket, for example the canted picatinny rail attachment, and harvest the attachment socket from there.
For our default configuration of weapons consisting of only SLZ weapons, dynamically load and add the attachment socket prefab to the default guns. This needs configuration of the attachment socket inside of the Unity Editor and can end up to be a major task. We do this in order to prevent having to create and have a dependency to yet another SDK mod that introduces attachment sockets to default SLZ guns, although something similar has already been started here.
Remove any already existing stock attachments from the default guns, like the UMP's vertical grip (don't forget to remove the actual Grip scripts as well alongside removing the mesh renderers).
Due to BONELAB's use of asset pooling, remove the attachments from a weapon upon weapon despawn, since the weapon prefab will be reused and another player might end up buying a weapon with already existing attachments on it.

This will require a lot of specific code just for the default guns. In conclusion, it would be wise to create a new class or namespace for these operations.

After playing around with this and trying to bring this feature into the game, it is evident that it massively over-complicates everything, so I will just stick to adding attachment slots and extra grips etc. to the in-game weapons and let them load into the game as a normal mod ("pallet").


[BUG] Stable docker image release failure

🐛 Bug Report
Version is not parsed as expected.
https://github.com/tinkoff-ai/etna/actions/runs/1762258638
Expected behavior

How To Reproduce

Environment
No response
Additional context
No response
Checklist

[X] Bug appears at the latest library version

Was fixed in https://github.com/tinkoff-ai/etna/pull/576


better error message for mismatched java versions

Tried to run with old java version, error message was:
Traceback (most recent call last):
  File "py/vm250/analysisFromDailyFile.py", line 16, in <module>
    from utilities import startJPype
  File "/Users/labov1/Documents/Simon/PROJECTS/ERNIE/ERNIE.NSDD/software/12_18_ERNIE_VM250/proj-ernie4/py/utilities/startJPype.py", line 65, in <module>
    '-Djava.class.path=%s' % javaClasspath(), convertStrings=False
  File "/Users/labov1/opt/anaconda3/lib/python3.7/site-packages/jpype/_core.py", line 219, in startJVM
    _jpype.startup(jvmpath, tuple(args), ignoreUnrecognized, convertStrings)
jpype._jclass.UnsupportedClassVersionError: org/jpype/classloader/JPypeClassLoader : Unsupported major.minor version 52.0

Can you make this less obscure and say that finding java 1.7, needs java 1.8?

Thank you for the bug report.
I was able to replicate your issue.  I can replace it with a better error such as the one shown below.
$ python testVersion.py
Traceback (most recent call last):
  File "C:\cygwin64\home\nelson85\devel\open\jpype\jpype\_core.py", line 228, in startJVM
    _jpype.startup(jvmpath, tuple(args), ignoreUnrecognized, convertStrings)
RuntimeError: java.lang.UnsupportedClassVersionError: org/jpype/Utility has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 56.0

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "testVersion.py", line 3, in <module>
    jpype.startJVM(classpath="build/lib/org.jpype2.jar", convertStrings=False)
  File "C:\cygwin64\home\nelson85\devel\open\jpype\jpype\_core.py", line 236, in startJVM
    raise RuntimeError("%s is older than required Java version %d"%(jvmpath, version)) from ex
RuntimeError: C:\Program Files\Java\jdk-12.0.1\bin\server\jvm.dll is older than required Java version 14

We have just completed a release so this will likely need to wait until our next maintenance release.

Dr. Nelson,
Thank you for addressing this problem.  Your contributions to the community are appreciated.
-Simon Labov
From: Karl Nelson<EMAIL_ADDRESS>Reply-To: jpype-project/jpype<EMAIL_ADDRESS>Date: Wednesday, December 18, 2019 at 10:22 PM
To: jpype-project/jpype<EMAIL_ADDRESS>Cc: "Labov, Simon E."<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [jpype-project/jpype] better error message for mismatched java versions (#549)
Thank you for the bug report.
I was able to replicate your issue. I can replace it with a better error such as the one shown below.
$ python testVersion.py
Traceback (most recent call last):
File "C:\cygwin64\home\nelson85\devel\open\jpype\jpype_core.py", line 228, in startJVM
_jpype.startup(jvmpath, tuple(args), ignoreUnrecognized, convertStrings)

RuntimeError: java.lang.UnsupportedClassVersionError: org/jpype/Utility has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 56.0
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "testVersion.py", line 3, in
jpype.startJVM(classpath="build/lib/org.jpype2.jar", convertStrings=False)

File "C:\cygwin64\home\nelson85\devel\open\jpype\jpype_core.py", line 236, in startJVM
raise RuntimeError("%s is older than required Java version %d"%(jvmpath, version)) from ex

RuntimeError: C:\Program Files\Java\jdk-12.0.1\bin\server\jvm.dll is older than required Java version 14
We have just completed a release so this will likely need to wait until our next maintenance release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/jpype-project/jpype/issues/549?email_source=notifications&email_token=AGDXNUQQNUQDTMQOXNIMJULQZMHJ7A5CNFSM4J4SP322YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHIR4FA#issuecomment-567352852, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGDXNUWMKDQMPJGMAA2ZV4LQZMHJ7ANCNFSM4J4SP32Q.


Show more information on ASR tab

For example: Listing all VMs where ASR setup was completed and last operation (state). Did ASR resource replicate to a secondary location? did resource failover via ASR? did resource failback via ASR? Showing also percentages of success/failure ration can help customer to have a better method to measure RPO per resource/workload.

### Tasks
- [ ] Show replication health(replicationHealth)
- [ ] Show failover health(failoverHealth)
- [ ] Show status of test failover(lastSuccessfulTestFailoverTime
- [ ] Show protection description(protectionStateDescription)

Show protection description(protectionStateDescription)
After failover before commit:
    "currentProtectionState": "UnplannedFailoverCommitPendingStatesBegin",
    "protectionStateDescription": "Failover completed",

After failover after commited:
    "currentProtectionState": "UnplannedFailoverCommitted",
    "protectionStateDescription": "Failover committed",


Changing the resolution of the CNN to do RAM

In the paper chapter 4.5.1 Network settings for RAM: it is mentioned that the network is changed to produce larger RAM images - 54x54. How is then the RAM (of the changed network) comparable to the results of the original network (e.g net-5)?

If you have a network you dont want to modify - like say - InceptionV4 where the input is (299,299) and the output width is (8,8) how can you increase the resolution without removing alot of layers, and therefore change the architecture significantly? Can you insert GAP layers in the middle of the network to produce RAMs? What should the weights, w, on the conv layer to GAP be?


WiFi Profiles

Hello. I've added database creation for WiFiProfile and also added  WiFiProfiles script to the "search" list in ilap_artifacts.
Please review.

It worked flawlessly.

Yeah Oleg!!!


[release] merging crate-release-update into crate

cc @GuillaumeGomez @EPashkin

Docs in gtk still not updated (as lgpl-docs not updated), glib don't have docs features


Able to configure Runtime and ModuleConfig for plugin

Issue #, if available:
fixes #21
Description of changes:
This PR allows to provide custom options for following configurations during plugin initialization

Runtime
ModuleConfig
CompilationCache

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

main thing here is that the runtime allocated by NewRuntime should be closed on plugin.Close. This prevents resources leaks which would be more obvious later. This implies adding a field for it that defaults to nil (so that it is lazy allocated).
func (p *GreeterPlugin) Close(ctx context.Context) (err error) {
	return
}

Yes, good point, thanks. As we create runtime for each plugin load, seems to multiple runtime should be kept and closed. Current approach implemented, please review.

@dmvolod I think this change should happen, so will pick up where you left off. Sorry things didn't work out but thanks for all your feedback and help!


2.2.3 Optimize Parsing Logic

Refine and optimizing the parsing logic used in the data pipeline. Based on the results from testing, adjustments may be needed to improve the accuracy and efficiency of data extraction and transformation. Tweaking the parsing logic ensures that the pipeline produces high-quality, consistent data for embedding and storage.

Related to: https://github.com/raid-guild/gaianet-rag-api-pipeline/issues/21

Introdced some optimizations in 55f5317f1261ded640a42ae1887dd082678d4ce5


Uncaught TypeError: Cannot read property 'continue' of undefined

This error occurs when I click any function in the menu like Run, Step In, Step Over etc...

...
...

Atom Version: 0.188.0
System: linux 3.13.0-24-generic
Thrown From: PHP-Debug package, v0.0.6
Stack Trace
Uncaught TypeError: Cannot read property 'continue' of undefined
At /home/kervan/.atom/packages/PHP-Debug/lib/php-debug.coffee:143

TypeError: Cannot read property 'continue' of undefined
    at Object.module.exports.PhpDebug.stepOut (/home/kervan/.atom/packages/PHP-Debug/lib/php-debug.coffee:256:57)
    at atom-workspace.subscriptions.add.atom.commands.add.php-debug:stepOut (/home/kervan/.atom/packages/PHP-Debug/lib/php-debug.coffee:114:26)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:242:29)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app/src/command-registry.js:157:19)
    at EventEmitter.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:73:30)
    at EventEmitter.emit (events.js:116:17)

Commands
     -2:06.8 atom-terminal-panel:toggle (atom-text-editor.editor)
     -1:56.8 pane:reopen-closed-item (ul.list-inline.tab-bar.inset-panel)
     -0:26.1 php-debug:run (atom-text-editor.editor)
     -0:12.9 php-debug:clearAllBreakpoints (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:00.7 php-debug:stepOut (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config
{
  "core": {
    "themes": [
      "one-dark-ui",
      "one-dark-syntax"
    ],
    "disabledPackages": [
      "language-perl",
      "language-python",
      "language-ruby",
      "language-ruby-on-rails",
      "language-shellscript"
    ]
  },
  "PHP-Debug": {}
}

Installed Packages
# User
PHP-Debug, v0.0.6
atom-terminal-panel, v4.4.4

# Dev
No dev packages

It happens to me as well

This would happen when there was no active debugging session.
The error should no longer come up now.

But how to start a debug session? I'm using Xdebug Helper with PHP storm works great. On port 9000
Do I need a configuration?

As long as the debugging view is open (ctrl-alt-d or 'Toggle Debugging' from the menu), it should accept incoming connections.


Some unicode characters break the ToC links in HTML and PDF exports

Apologies, I was blaming the wrong extension, and realized after submitting the issue.
Feel free to close
for info, the issue I was wrongly reporting here is that one https://github.com/yzane/vscode-markdown-pdf/issues/69

Doesn't matter 😄

any update on the issue? It would be great to have the issue addressed...


[v3.1.0] - include sonar scanner coverage

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

When execute sonar scanner, projects do not send coverages
Issue Number: N/A
The new version
New release version candidate: v3.1.0

Reviewers, please check if the release candidate is present in the changes of this PR in the examples section!

What is the new behavior?
Now the unit-test and sonarqube jobs has the ability to create and send coverage profiles
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/dafiti-group/orb-standard-pipeline?version=dev:8f7a0809a3ebf91f8c7873fa862fa39a9c88f1e0

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/dafiti-group/orb-standard-pipeline?version=dev:cdaa93b22d23afa4ad5e4b5aca15404a70a3751c

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/dafiti-group/orb-standard-pipeline?version=dev:96236c2e3a00c871849211ab03fa4edd089c6fa2

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/dafiti-group/orb-standard-pipeline?version=dev:7218106d42dfdb2bba609009312084d011dd6d69

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/dafiti-group/orb-standard-pipeline?version=dev:7218106d42dfdb2bba609009312084d011dd6d69

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/dafiti-group/orb-standard-pipeline?version=3.1.0


i m writing hack，who konw GetEyePosition how to write

i m writing hack，who konw GetEyePosition how to write

const auto localPlayer = interfaces.entityList->getEntity(interfaces.engine->getLocalPlayer());  auto eyepos = localPlayer->getEyePosition();
?

i  just want to judge the enemy isVisible，but i  cant understand how  the Osiris  get that

const auto localPlayer = interfaces.entityList->getEntity(interfaces.engine->getLocalPlayer()); auto eyepos = localPlayer->getEyePosition();
?

i just want to judge the enemy isVisible，but i cant understand how the Osiris get that

const auto localPlayer = interfaces.entityList->getEntity(interfaces.engine->getLocalPlayer()); auto eyepos = localPlayer->getEyePosition();
?

i just want to judge the enemy isVisible，but i cant understand how the Osiris get that

i don't get what you mean with that

const auto localPlayer = interfaces.entityList->getEntity(interfaces.engine->getLocalPlayer()); auto eyepos = localPlayer->getEyePosition();
?

i just want to judge the enemy isVisible，but i cant understand how the Osiris get that

i don't get what you mean with that

i just want to judge the enemy is Visible or not

yeah but there is an esp for enemy with different visible & occluded config

yeah but there is an esp for enemy with different visible & occluded config

can  you give me the code

https://prnt.sc/qdesnb
make sure that "All" option is disabled, when u want different config for visible & occluded

https://prnt.sc/qdesnb
make sure that "All" option is disabled, when u want different config for visible & occluded

He is coding his "own" cheat and wants to know how to make a visibility check.

yeah but there is an esp for enemy with different visible & occluded config

can you give me the code

https://github.com/danielkrupinski/Osiris/blob/b84979d7eaadf67693f9e4ea3efd5d07f0332661/Osiris/SDK/Entity.h#L107
Should be self-explanatory.

kk sorry, eng not my native


lp-332 : add makeApiCallWithRetry

JIRA link
https://companieshouse.atlassian.net/browse/LP-332
Change description
add makeApiCallWithRetry function
Work checklist

[ ] Tests added where applicable
[ ] UI changes look good on mobile
[ ] UI changes meet accessibility criteria

Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found


The deployment failed: Relative import path, but import path was specified in deno.json imports section

Hi!
I am having troubles deploying Hono project (deployctl 1.12.0):
❯ deployctl deploy --env-file=./.env --project=currency-exchange-rates
i Using config file 'C:\Users\morph\proj\pet-react-hono-currency\display-currency-widget\server\deno.json'
√ Deploying to project currency-exchange-rates.
√ Entrypoint: C:\Users\morph\proj\pet-react-hono-currency\display-currency-widget\server\main.ts
i Uploading all files from the current dir (C:\Users\morph\proj\pet-react-hono-currency\display-currency-widget\server)
√ Found 5 assets.
√ Uploaded 1 new asset.
× Deployment failed.
error: The deployment failed: Relative import path "hono/cors" not prefixed with / or ./ or ../

maybe Deno Deploy does not fully read "imports" section inside my deno.json (?):
{
  "imports": {
    "hono": "jsr<EMAIL_ADDRESS>    "@std/dotenv/load": "jsr:@std/dotenv/load"
  },
  "tasks": {
    "start": "deno run --allow-net --allow-read --allow-env main.ts"
  },
  "compilerOptions": {
    "jsx": "precompile",
    "jsxImportSource": "hono/jsx"
  },
  "deploy": {
    "exclude": [".env"],
    "include": ["./jsons", "*.ts"],
    "entrypoint": "./main.ts"
  }
}

main.ts:
import { Hono } from "hono";
import { serveStatic } from "hono/deno";
import { cache } from "hono/cache";
import { cors } from "hono/cors";
import "@std/dotenv/load"
import { parseKnownCurrencies } from "./processData.ts";
import { CurrencyApiResponse } from "./types.ts";
...

I am getting:
× Deployment failed.
error: The deployment failed: Relative import path "@std/dotenv/load" not prefixed with / or ./ or ../

Which is strange for me - because locally with deno task start it all runs just fine on Deno version: 🦕 v1.45.4+8bab761

then is tried this:

import { Hono } from "hono";
import { serveStatic } from "hono/deno";
import { cache } from "hono/cache";
import { cors } from "hono/cors";
- import "@std/dotenv/load"
+ import "jsr:@std/dotenv/load"
import { parseKnownCurrencies } from "./processData.ts";
import { CurrencyApiResponse } from "./types.ts";

and now I am getting:

error: The deployment failed: Relative import path "hono/cors" not prefixed with / or ./ or ../

but hono is definitely in my imports

looks similar to #139

Hi @m0rphed, thanks for the issue report with detailed information. I think the reason your config isn't loaded correctly is because you don't specify deno.json in your include property. deployctl respects your config and decides to not upload your deno.json to the build pipeline where dependency resolution happens using import maps declared in deno.json if present.
So can you try again with the following change?
{
  "imports": {
    "hono": "jsr<EMAIL_ADDRESS>    "@std/dotenv/load": "jsr:@std/dotenv/load"
  },
  "tasks": {
    "start": "deno run --allow-net --allow-read --allow-env main.ts"
  },
  "compilerOptions": {
    "jsx": "precompile",
    "jsxImportSource": "hono/jsx"
  },
  "deploy": {
    "exclude": [".env"],
-    "include": ["./jsons", "*.ts"],
+    "include": ["./jsons", "*.ts", "deno.json"],
    "entrypoint": "./main.ts"
  }
}

Yes, thank you!
I included deno.json - "include": ["./jsons", "*.ts", "deno.json"], and it now works and everything is imported. It was very unclear to me that I needed to specifically include deno.json, maybe I misread the docs 😓

Glad your second attempt succeeded!

It was very unclear to me, that I needed to explicitly include deno.json, maybe I misread the docs 😓

I totally agree. I think what makes users particularly confused is this message line:
i Using config file 'C:\Users\morph\proj\pet-react-hono-currency\display-currency-widget\server\deno.json'

This is likely giving users wrong idea that import maps in deno.json will be used in module resolution, although it's not the case. We definitely would like to improve or add messages to tell users that no import maps are found if they either explicitly specify deno.json in the exclude field, or don't include deno.json in the include field.

JFYI I've created a patch to improve messages when the import map is not included possibly against user's expectation. #326


Small-SATRN infer time

When I use https://github.com/clovaai/deep-text-recognition-benchmark for the experiment, the model of the experiment is TPS-ResNet-BiLSTM-Attention, when the batch size is 1, TPS-ResNet-BiLSTM -Attention's derivation time is about 30ms, but when using the small-SATRN model, the inference time becomes 300ms. Is there any problem? Why does small-SATRN reason so long?
ref:
https://github.com/Media-Smart/vedastr/blob/93924e917bca1d5eada3bbeaf8ac7e5ba66d3de1/vedastr/runner/runner.py#L139-L154

When I use https://github.com/clovaai/deep-text-recognition-benchmark for the experiment, the model of the experiment is TPS-ResNet-BiLSTM-Attention, when the batch size is 1, TPS-ResNet-BiLSTM -Attention's derivation time is about 30ms, but when using the small-SATRN model, the inference time becomes 300ms. Is there any problem? Why does small-SATRN reason so long?
ref:
https://github.com/Media-Smart/vedastr/blob/93924e917bca1d5eada3bbeaf8ac7e5ba66d3de1/vedastr/runner/runner.py#L139-L154

No problem.

@ChaseMonsterAway
Isn't this article using the transfer module, why is the speed slower than the LSTM when calculating, I look forward to your answer

@whuhangzhang
Yes, this artical use the transformer module, but he model is too big. You can write a small demo to test them.


[Proposal] Make SqliteConnectionExtensions public

It would be nice to make SqliteConnectionExtensions public, so that constructs like
    var command = _connection.CreateCommand();
    command.CommandText = "PRAGMA foreign_keys=ON;";
    command.ExecuteNonQuery();
    command.Dispose();

can be simplified to
    _connection.ExecuteNonQuery("PRAGMA foreign_keys=ON;");

Dupe of #226


Add workspaces overview to README

Summary
This PR adds a brief overview of workspaces to the README.
This is a more evolved version of #1213

Just those two nits. Otherwise, I like it.

/ok-to-test

/retest

/lgtm
/approve


Add a vm.isSimulation() cheatcode

Component
Forge
Describe the feature you would like
I would like for my scripts to skip certain operations in the pre-broadcast simulations.
if (vm.isSimulation() == false) {
    stdJson.write(json, filepath);
}

Without the ability to differentiate whether the script is executing in a simulation at runtime, I can't perform certain operations that require persistent storage because the simulation gets in the way.
Additional context
No response

this is useful to have imo.
supportive of this.
I think we can add this via bool field that is set before and unset after simulation.

One note is we don't have any script-only cheats yet, so what should this return during tests? Perhaps a better way to implement is as part of https://github.com/foundry-rs/foundry/issues/2900, and make the "Script" context more granular

right, forgot about this. #2900 is the right way to do this

so, would you rather even have this implemented? @mattsse

Marking as completed by https://github.com/foundry-rs/foundry/pull/7377


Rule proposal: Layout rule - No blank line after attributes

Attributes defined for type or member should never be followed by blank line.
Rationale - they should be kept as close to the code as possible. Similar rule for XmlDocComments already exists

:+1:

:+1:

:+1:

I'm interested in implementing this, I'll give it a try

👍


Customize the order in which properties are displayed

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.
[X] I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
[X] I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

🔖 Feature description
I've looked at the docs and issues but can't find anything similar, so I'm requesting a feature.
I want to specify properties to make the output of tasks more beautiful.
The origin task is as follows:
- [ ] #task Do stuff 1 🔼 📅 2023-09-15
- [ ] #task Any task with very long long text 🔼 📅 2023-09-15
- [ ] #task short 1 🔼 📅 2023-09-15
- [ ] #task This is the main task that I have to do every day 🔼 📅 2023-09-15
- [ ] #task Another stuff 1 📅 2023-09-16

```tasks
not done
hide edit button
```

and it looks like this:

But I think the form below is easy to read

(This feature is not currently supported by Tasks, so I wrote it for output.)
✔ Solution
Currently, I understand that the property is read from the back and parsed.
It would be nice if I could work on it myself and ask for a merge, but sadly I've never dealt with Typescript.
so I guess, it would be good to use it like this:
```tasks
not done
order by due, priority  # Add this line
hide edit button
```

❓ Alternatives
No response
📝 Additional Context
Of course, each user has different settings, but I think it's a feature that's worth considering!
Thank you for creating a great plug-in :)

Hi, thanks for the suggestion, and the kind words.
In Obsidian and so also in Tasks, tags are text beginning with #.
So I understand what you mean, but the title and description are confusing when first read.
Would you be able to edit the title and description to use property instead please?

If you don’t mind having your tasks displayed on two lines, you can achieve a similar thing currently by creating a CSS snippet in Obsidian with this content:
/* Add newline after description */
.task-description span:after  {
    content:"\a";
    white-space: pre;
}

If you haven’t used snippets before, search the obsidian docs for snippet to find out how to create and use a CSS snippet file.

Oh, I'm sorry. I couldn't think of the right word.
About the feature, the opinion was that it would be easier to read if the properties such as due date and priority, were aligned forward, rather than not liking two lines.
For people like me, I will modify CSS snippets and let you know the results.
Thank you!

The point about the CSS was that you might find it a possible workaround for the time being. I know it’s not a total solution for your request but it does at least offer alignment.

In view of this size of the backlog for this project, and the demotivating effect of a very long backlog on volunteer energy levels, I'm going through a slow process of reviewing tasks for things that are one or more of the following:

unlikely to be realistically achievable, from the design of the current code, and the planned future refactorings
not sufficiently high priority to a broad community of users, based on the feedback I receive from a variety of sources
do not fit the core purpose of the Tasks plugin
are better covered by a different plugin - to share the development and maintenance effort

So I'm marking this one as 'not planned'. This doesn't mean 'won't fix' - it means not likely to be done in the foreseeable future.


[Bug] Global require paths don't seem to work

Describe the bug
When using global paths, the Lua Language Server doesn't give any autocompletion.
To Reproduce
Steps to reproduce the behavior:

Create a file outside the project
Add a path to Lua.runtime.path
Try to require the module
See no autocompletion

Expected behavior
Autocompletion for given functions.
Environment (please complete the following information):

OS: Log is from Manjoro Arch, but having the same problem with Windows
No WSL
Client: VSCode (On Manjoro I used OSS - Code, on Windows VSCode)

Additional context
I'm trying to get autocompletion for Lua modules downloaded via LuaRocks. Because these projects doesn't lie in the project folder, I cannot get any autocompletion. I mentioned this problem a week ago at #453, but since this issue was closed, it didn't got any attention. That's why I opened this one.
Edit:
When using workspace library, it works again (used as a workarround with relative require paths).
End of edit.
Provide logs
Log from Manjoro Arch.

You should add them in Lua.workspace.library instead of Lua.runtime.path

That does work, but I thought you intented to add global paths in Lua.runtime.path.

I will improve the description of the settings

The settings still do not seem very descriptive, to date.


Reduce published artifact size

Summary
Our final artifact that is published is over 3MB when it should be under 200KB.
AC:

[ ] Find causes of increased artifact size
[ ] Reduce the artifact size

Steps to Reproduce
Steps to reproduce the behavior:

Download our v3.0.0-rc2 release from Puppet Forge
Check file size

Expected Results
Small file (<200KB)
Actual Results (including error logs, if applicable)
Large file (3MB+)
Reproducible

[x] Always
[ ] Sometimes
[ ] Non-Reproducible

Version/Tag number
v3.0.0-rc2
Environment setup
N/A
Additional Information
Add any other context about the problem here.

Released with v3.0.0rc3. Closing.


Include same files in PLT as rebar2

First step towards rebar2 compatibility.

Only include direct dependencies + base plt
Error on missing direct dependency
Always use beams in ebin instead of reading .app file (copying rebar2)
Remove fake unknown warnings (will clash with unknown warning in 18.0)
Remove redundant search for .app file (code path includes deps)

Apart from my comment and limited understanding, this sounds good. +1.

I would like to do the changes in steps so don't plan to add anything to this PR.

Alright. @tsloughter this looks good to you? I'm ready to merge when you are.

I have completed the rest of the changes, would you like me to add a second commit here?

The remaining changes are in #507.


HBASE-24031 TestHRegion.testCheckAndMutate_WithFilters is flaky

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
10m 12s
the patch passed

+1 :green_heart:
compile
1m 50s
the patch passed

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

-1 :x:
shadedjars
0m 22s
patch has 7 errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
1m  7s
hbase-server in the patch failed.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
6m 22s
the patch passed

+1 :green_heart:
compile
1m 10s
the patch passed

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

-1 :x:
shadedjars
0m 10s
patch has 7 errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 40s
hbase-server in the patch failed.

_ Other Tests _

-0 :warning:
unit
5m 29s
hbase-server in the patch failed.

24m 53s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1316/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux<PHONE_NUMBER>ee 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
dev-support/hbase-personality.sh

git revision
master / 5592d0c191

Default Java
2020-01-14

shadedjars
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1316/2/artifact/yetus-jdk11-hadoop3-check/output/branch-shadedjars.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1316/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

shadedjars
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1316/2/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1316/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1316/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1316/2/testReport/

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

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1316/2/console

versions
git=2.17.1 maven=2018-06-17T18:33:14Z)

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

Merged. Thank you for reviewing this! @virajjasani


sol-oic-gen: make it works for external projects

Required by PR
https://github.com/solettaproject/soletta-demos/pull/1
@lpereira could you please review this pr?
Signed-off-by: Bruno Dilly<EMAIL_ADDRESS>

LGTM

LGTM, with @barbieri's comments.
(I'm about to overhaul the script but haven't started yet, so this won't conflict with my current work.)

merged with corrections


feat(restore-indices): add additional step to also clear system metadata service

Not directly connected, but theses changes were also the result of this PR in the datahub-helm repository (see my thoughts there for context and more information): https://github.com/acryldata/datahub-helm/pull/475
If we say, that the database is the single-point-of-truth, then the SystemMetadataService also has to be cleaned-up, when the other search indices/services (i.e. EntitySearchService and GraphService) are cleaned-up. Otherwise there could be entries left in the search index, which are not present in the database anymore.
As far as I understand, the UpdateIndicesService, which is used by the MAE consumer, is always updating the SystemMetadataService (similar to the EntitySearchService and GraphService in case of the restore-indices job), therefore it should be save to also clean-up the SystemMetadataService before resp. to have a consistent result it must be cleaned-up (I am not sure for what the system metadata is used, however if one service is cleaned-up the others should be cleaned-up too?).
I am not sure regarding the removal of the @VisibleForTesting annotation - I am not an experienced Java developer 😉 - the "clear" method of the ElasticSearchGraphService and ElasticSearchSystemMetadataService are not only used for testing, therefore those methods are not only visible for testing...additionally and the interface which defines the methods does not have this annotation, therefore implementing classes should also not have this annotation?
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[x] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[x] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Apologies, I see that we are already doing this in the search and graph step based on the same args context. We should be good on this. Removing @VisibleForTesting now that we are using the "clear()" method makes sense

Unclear why so many smoke tests are failing. Trying to force run them again.


schema description doesn't match what the text says for unit/scale/offset

The schema says that:

unit is "Unit denomination of the pixel value"
scale is "multiplicator factor of the pixel value to transform into the value
offset is "number to be added to the pixel value to transform into the value"

note the specific use of "pixel value" rather than "the value"
However, the example in the README of how to transform a unitless DN to Radiance seems to specify the unit after the conversion:
"unit": "W⋅sr−1⋅m−3",
"scale": 0.0145,
"offset": 3.48

maybe the "pixel" word is superfluous.
Concerning the scale and offset, those are parameters of a function for the data value to get the proper value in the specified unit. Initially, it was proposed to have an array of objects to specify several values (e.g. radiance, TOA reflectance, BOA, ...)
Maybe a clarification may help in the readme.

Also, shouldn't the radiance units be watts * sr-1 * m^2 instead of m^3?


Add DOM checker

See nolimits4web/Framework7#1487

Close this point as there is no resource for it currently - feel free to reopen it if you want to support :-)


Feature request: 2022-6 SDP generation

Hello,
When looking at the implementation I see SDP generation for 2022-6 (mux flows) is not implemented. It wasn't mentioned in the current feature list, so it was expected. Are there any plans for adding support for 2022-6 SDP files?
Thanks!

Hi Wesley,
The high-level SDP functionality could certainly be expanded - see also #38, #39.
IS-05 Interpretation of SDP Files doesn't discuss how to write SDP files for ST 2022-6, and I'm not aware of an implementation with ST 2022-6 myself. ST 2022-6 itself also isn't any help.
It looks like there are snippets/example SDP files in VSF TR-04:2015 that may serve as a starting point, but they're probably incomplete (e.g. no source-filter lines).

Gareth,
Thanks for the quick reply! That can indeed be a good example. I've also seen the following implementation:
v=0
o=-<PHONE_NUMBER>640<PHONE_NUMBER>640 IN IP4 <IP_ADDRESS>
s=eth1-1-video-talker
t=0 0
m=video 10000 RTP/AVP 98
c=IN IP4 <IP_ADDRESS>/128
a=source-filter:incl IN IP4 <IP_ADDRESS> <IP_ADDRESS>
a=rtpmap:98 SMPTE2022-6/27000000
a=ts-refclk:local

In order to ensure that we implement something that achieves interoperability, would you raise the topic of ST 2022-6 SDP files in the AMWA Basecamp?

Sure, I will raise the topic. One thing I find strange though; There is no clear definition, but they do provide an example in their own testing tool: https://github.com/AMWA-TV/nmos-testing/blob/master/test_data/IS0401/mux.sdp

That's a good point. It means that the deprecated Node API connection management /target endpoint of a Receiver with format urn:x-nmos:format:mux would be tested by the IS-04-01 suite (IS0401Test.test_13). However, the IS-05 tests use https://github.com/Streampunk/sdpoker which doesn't look like it supports an a=rtpmap line with encoding SMPTE2022-6, so the test suite could do with some enhancements in this area.

Hi Gareth,
I did receive a response from the AMWA Basecamp. It is actually defined in the ST2022-8 standard. At the moment I only have a draft of the standard, so I don't have a complete picture yet. Looking at the standard it says that it should comply with the definition in the St2110-10 standard, with the exception that the rtpmap has the following format:
a=rtpmap:<PT> SMPTE2022-6/27000000
However this still raises questions. For example should it also include the a=fmtp key? And if so what parameters should be included? Again I only have the draft, so no clear conclusions yet.

Yes, good to have Thomas point us in the right direction! I think I can get hold of the final ST 2022-8, so I'll update this issue with relevant info.

So, ST 2022-8:2019 is terse, with no examples of the SDP.
Section 7.1, Session Description of SMPTE ST 2022-6 Streams, says:
"SMPTE ST 2022-6 senders compliant to this standard shall comply with the Session Description Protocol as specified in SMPTE ST 2110-10, with the exception that the requirement of separate SDP objects for each RTP stream is relaxed for the case of SMPTE ST 2022-5 FEC which shall be as described below.
Mapping of the 2022-6 media type into SDP shall use the media type definition defined in section 8.1. "
Section 8.1 just defines video/SMPTE2022-6 that @wsneijers mentions above.
I agree that doesn't make it clear whether/what fmtp attribute should be included, since ST 2110-10 only explicitly mentions requiring the mediaclk and ts-refclk attributes, and then says "Additional requirements of the SDP object may be specified in the media essence-specific requirements documents".
I'll respond on Basecamp.

OK, based on Thomas's most recent response, fmtp is not specified for video/SMPTE2022-6.
Therefore I see only a few problems with your sample SDP file above (https://github.com/sony/nmos-cpp/issues/74#issuecomment-494320735):

If I'm being picky, it's missing a space before incl in the source-filter attribute
I think ST 2110-10 requires ts-refclk attribute to use either the ptp form or the (ST 2110-10 invented) localmac form, not local
I think ST 2110-10 requires a mediaclk attribute with the direct form

Extending nmos/sdp_utils.h to generate and parse such SDP files should be relatively straightforward.

Gareth,
I agree. However I keep finding it strange that key information about a stream is not included in ST2022-6 SDP. Though as far as I understand you can still add it if you want. Also the S2022-8 is a bit vague to say the least. And indeed now you mention it the example SDP does have some quirks.
Is adding ST2022-6 SDP support to nmos-ccp something on your roadmap? Or can I add it myself?

I think there are two things to do then.
(a) If you would like to make a PR for update to nmos/sdp_utils.{cpp,h} to add matching functions that parse/generate SDP files for urn:x-nmos:transport:mux according to current ST 2022-8, I'll happily review and look to merge; otherwise I would get to this at some point, but not immediately
(b) If you would like to list up the additional info/params that you think ought to be included in SDP for ST 2022-6, we seem to have Thomas's attention, so contributing that feedback in Basecamp would be great.


Add new help link to business survey config

What is the context of this PR?
Adds new help link in top left corner of the page, for business schemas only and both when signed in and out.
How to review
New unit tests added to test this behaviour, check some default themed schema (which uses business config class). Try signing out and check if help is still there with different link address (no ru ref and survey id in link).
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Help section in RAS (2 SP)

Can you change the base branch so that only the relevant changes are displayed?.

I need to change the branch to master temporarily sometimes just to see if all the checks are passing.


Items not hidden in groups outside of "Default View"

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.38.1
Python release (python3 --version):
3.5.2
Description of problem:
Groups that contain hidden entities are visible if seen in a 'view group' that isn't 'default view'.
In 'default view', hidden items are not visible as expected.
Expected:
Items with hidden flags should be hidden at all times. This was the behaviour pre-0.38.x

I see something similar: I have a custom default_view that, among others, includes
- group.all_scripts
- group.all_lights
- group.tracked_devices

I have hidden several entities via customize, like this:
- entity_id: script.bedroom_timed_lamp
  hidden: true
- entity_id: light.wohnzimmer
  hidden: true

and since 0.38.x they all show up on my default_view page.
Sebastian

It was very difficult to explain when trying to write the initial post. Just attempting to clarify...
In short, in what the HA docs refer to as the 'Home' view/tab, I can see all my groups, and if some of the those groups have hidden entities, they are as expected: hidden.
Outside of this view/tab, including various rooms I have created and such, these same groups will show all their entities regardless if they have hidden: True marked against them or not.

I am seeing similar behavior, however my 'hide_if_away' entities are showing on the default 'Home' view/tab as well.

Also seeing this behaviour on my groups, lots of hidden sensors etc. showing up that shouldn't be there after upgrade to 0.38.

I'm seeing the same with the new Alerts. In 0.38.0 they were hidden when not active, with 0.38.2 they're visible at all times.

I can confirm that this behavior persists in v. 0.38.3 as well.

The issue was fixed in .39.0 and just reappeared with .39.1.


Gcp Function Middleware

Summary
Added a new GPT Action - Google Cloud Function. I will be following up with a Pinecone GPT soon
Motivation
This should serve as the template to build other Google Cloud Function actions that connect to 3rd party systems - like SQL databases, etc

For new content
When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

[yes ] I have added a new entry in registry.yaml (and, optionally, in authors.yaml) so that my content renders on the cookbook website.
[yes ] I have conducted a self-review of my content based on the contribution guidelines:

[ yes] Relevance: This content is related to building with OpenAI technologies and is useful to others.
[yes ] Uniqueness: I have searched for related examples in the OpenAI Cookbook, and verified that my content offers new insights or unique information compared to existing documentation.
[yes ] Spelling and Grammar: I have checked for spelling or grammatical mistakes.
[ yes] Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
[yes ] Correctness: The information I include is correct and all of my code executes successfully.
[yes ] Completeness: I have explained everything fully, including all necessary references and citations.

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contribution guidelines for more details.

Done!


Open the build file with universal-newlines mode

To make sure platform specific newlines ('\r\n' or '\r') are converted to '\n' which otherwise will fail eval().
Reference to python docs (Note: this mode is deprecated in python3 but needed in python2)
https://docs.python.org/2.7/glossary.html#term-universal-newlines
https://docs.python.org/2.7/library/functions.html#open
This should handle multiple issues reported on syntax error reading binding.gyp (partial list):
https://github.com/nodejs/node-gyp/issues/979
https://github.com/nodejs/node-gyp/issues/199
https://github.com/stephenwvickers/node-net-ping/issues/24
https://github.com/stephenwvickers/node-net-ping/issues/21
https://github.com/mathiask88/node-snap7/issues/11
https://github.com/node-hid/node-hid/issues/28
https://github.com/xdenser/node-firebird-libfbclient/issues/24

Hi @bnoordhuis
See this regarding the discussion in #979.
The solution is straightforward with python's universal-newline file open mode.
Thanks!

CI looks happy.  Your author name is "Guy", is that how you want to show up in the release notes?

Oh didn't notice, fixed my profile to my full name. Thanks

Thanks, landed in 05c4494.


Compile ARM Linux 64 bit

Could you complie ARM Linux 64 bit for Raspberry PI?

Not looking into it.


US 02.01.01

As a doer, I want to denote a habit event when I have done a habit as planned.

Maybe just use different icons to indicate on-time/late/failed to do?


No exception when number of constructor arguments don't match

There seems to be no check on type/# of arguments passed in the RegisterController method.

This is now implemented in #98.


Update index.js

Hey, we completely rebuild this component, if you could resolve conflicst and add this to the newest codebase it would be great!


Replace sparse with sparse_output in 09_saving_and_loading_models.ipynb

Summary
This PR replace sparse with sparse_output in 09_saving_and_loading_models.ipynb.
Fixes #661.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.915%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2649

Relevant Lines:
2851

💛  - Coveralls


quicklisp fails in ecl

I was running into an issue with ECL in my own docker container, and thought maybe I had done something wrong. I tried lisp-devel to see if that was the case, but I get the same error, namely:
$ docker run --rm -it daewok/lisp-devel:latest ecl
;;; Loading "/home/lisp/quicklisp/setup.lisp"
;;; Loading #P"/usr/local/lib/ecl-16.1.3/asdf.fas"
ECL (Embeddable Common-Lisp) 16.1.3 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
Copyright (C) 2016 Daniel Kochmanski
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level in: #<process TOP-LEVEL>.
> (ql:quickload :flexi-streams)
To load "flexi-streams":
  Load 1 ASDF system:
    asdf
  Install 2 Quicklisp releases:
    flexi-streams trivial-gray-streams

Condition of type: INVALID-ARGUMENT-ERROR
Socket error in "socket": EINVAL (Invalid argument)
Available restarts:

1. (ABORT) Give up on "flexi-streams"
2. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at SI:BYTECODES. [Evaluation of: (QUICKLISP-CLIENT:QUICKLOAD :FLEXI-STREAMS)] In: #<process TOP-LEVEL>.
>>

After some digging, I've found this boils down to an inline C call in sockets.lisp that ends up returning -1 (error), instead of the TCP protocol number (which should be 6). That call depends on /etc/protocols being available. It seems your docker is also missing this file.
For me, the solution was to install the package netbase (as I'm using an ubuntu base for my docker).

Fixed by 0f507f0
Thanks!


[FLINK-11974][streaming] Introduce StreamOperatorSubstitutor to help table perform the whole Operator CodeGen

What is the purpose of the change
If we need CodeGen an entire Operator, one possible solution is to introduce an OperatorWrapper, then generate a CodeGen sub-Operator in OperatorWrapper's open, and then proxy all methods to the sub-Operator.
Doing so results in multiple virtual function calls, so we introduce a StreamOperatorSubstitutor
Verifying this change
ut
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (JavaDocs)

cc @pnowojski  @sunhaibotb @KurtYoung

@StephanEwen you may want to look at this. For table API & SQL, all codegen operators will implements StreamOperatorSubstitutor, and we ship the operator codes with it. In runtime, we will compile the actual stream operator when getActualStreamOperator is invoked.

LGTM. The implementation touches little to the runtime, I think it's safe to get it in.

Hi @pnowojski I responded to you in JIRA.


TypeScript errors when using<EMAIL_ADDRESS>

Intended outcome:

TypeScript projects compile without errors when using react-apollo with<EMAIL_ADDRESS>Actual outcome:

When compiling a TypeScript project that depends on react-apollo and<EMAIL_ADDRESS>typing errors appear:
      TS2345: Argument of type 'Element' is not assignable to parameter of type 'ReactElement<any>[]'.
  Property '[Symbol.unscopables]' is missing in type 'Element'.

How to reproduce the issue:

Create a TypeScript project with tsconfig.json:
{
  "compilerOptions": {
    "jsx": "react",
    "target": "es6",
    "module": "commonjs",
    "sourceMap": true,
    "lib": [
      "es5",
      "es6",
      "dom",
      "es2015.core",
      "es2015.collection",
      "es2015.generator",
      "es2015.iterable",
      "es2015.promise",
      "es2015.proxy",
      "es2015.reflect",
      "es2015.symbol",
      "es2015.symbol.wellknown",
      "esnext.asynciterable"
    ]
  }
}

Add apollo-client, react-apollo, react, react-dom<EMAIL_ADDRESS>and<EMAIL_ADDRESS>dependencies.
List of dependencies:
...
"dependencies": {
    "@types/react": "^16.0.20",
    "@types/react-dom": "^16.0.2",
    "react": "^16.0.0",
    "react-apollo": "^2.0.0",
    "react-dom": "^16.0.0",
    "typescript": "^2.6.1"
}
...

Create index.ts with this code:
import { ApolloClient } from 'apollo-client';
import { HttpLink } from 'apollo-link-http';
import { InMemoryCache } from 'apollo-cache-inmemory';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { ApolloProvider } from 'react-apollo';

const client = new ApolloClient({
  cache: new InMemoryCache(),
  link: new HttpLink({
    credentials: 'same-origin',
    uri: '/graphql',
  }),
});

document.addEventListener('DOMContentLoaded', () => {
  ReactDOM.render(
    <ApolloProvider client={client as any}>
    </ApolloProvider>,
    document.getElementById('root'));
});

Compile the project with tsc. Get an error:
ERROR in ./src/index.tsx
      TS2345: Argument of type 'Element' is not assignable to parameter of type 'ReactElement<any>[]'.
  Property '[Symbol.unscopables]' is missing in type 'Element'.

Version

<EMAIL_ADDRESS><EMAIL_ADDRESS>

➤ Maxime Fabre commented:
Same issue here


Links to .ipynb instead of .html for running locally

In the index.ipynb, links to chapters have .html suffix, instead of .ipynb, which gives 404 errors when running locally and on Github. However it is working perfectly on https://community.qiskit.org/textbook/. Why is that? Do Github pages automatically generatre html pages for each ipynb file?
It would be also nice if the textbook can be interactive online, similar to the qiskit tutorials (https://quantum-computing.ibm.com/jupyter/tutorial/fundamentals/1_getting_started_with_qiskit.ipynb)

Perhaps you are the best person to ask for the question @1ucian0

Great idea @HuangJunye -- we'll update the index to point to ipynbs. As you've guessed, the htmls are autogenerated, and that's why this fails locally. We are updating to jupyterbook, which gets around this issue. Jupyterbook also gives you interactivity via navigation buttons and search. Integration with the IBM Q Experience is coming up next 👍

@aasfaw Jupyterbook looks really nice. It’s a good direction to go! Look forward to the IQX integration :)


Issues with adding TV shows

Adding a TV show has some issues. It says HTTP 201, but it didn't create a new TV show into the watchlist (or other lists).
Creating a new Postman Request ends in an HTTP 403.
--> POST https://api.trakt.tv/sync/watchlist
Content-Type: application/json; charset=UTF-8
Content-Length: 280
{"episodes":[],"movies":[],"shows":[{"collected_at":"2020-08-31T15:53:14.422Z","ids":{"imdb":"tt6461346","mediaType":1,"tmdb":70626,"trakt":116840,"tvdb":324596},"mediaType":1,"rated_at":"2020-08-31T15:53:14.422Z","rating":0,"seasons":[],"watched_at":"2020-08-31T15:53:14.422Z"}]}
--> END POST (280-byte body)
<-- 201 https://api.trakt.tv/sync/watchlist (328ms)
date: Mon, 31 Aug 2020 15:53:19 GMT
content-type: application/json; charset=utf-8
set-cookie: __cfduid=d11c9be7032e0ac67e5c7a59e5e0d7ccf1598889199; expires=Wed, 30-Sep-20 15:53:19 GMT; path=/; domain=.trakt.tv; HttpOnly; SameSite=Lax
cache-control: max-age=0, private, must-revalidate
cf-railgun: 096cf54345 99.99 0.080858 0030 57da
etag: W/"32218beb663664559383608d97f53631"
referrer-policy: strict-origin-when-cross-origin
vary: Accept-Encoding
x-content-type-options: nosniff
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-request-id: 215c31ae-0224-4bc0-839e-43fcec2d917a
x-runtime: 0.073417
x-xss-protection: 1; mode=block
cf-cache-status: DYNAMIC
cf-request-id: 04e6d21ef80000d45f4dae7200000001
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
cf-ray: 5cb7ec77fdb4d45f-HAM
{"added":{"movies":0,"shows":0,"seasons":0,"episodes":0},"existing":{"movies":0,"shows":0,"seasons":0,"episodes":0},"not_found":{"movies":[],"shows":[],"seasons":[],"episodes":[],"people":[]}}
<-- END HTTP (192-byte body)

You are sending a blank seasons array, so there is nothing for it to add. I recommend sending the JSON as mentioned in the API examples, and not including all the extra and blank info.
https://trakt.docs.apiary.io/#reference/sync/add-to-watchlist/add-items-to-watchlist

Why you close the topic as a question? I am in huge trouble that the TV shows not working anymore.  It worked for the last 3 years and a few thousands of users per day cannot use the TV show feature anymore...
https://play.google.com/store/apps/details?id=com.moviebase

The JSON being sent is invalid if you are adding a TV show. Since seasons is sent, it is looking for the array of seasons to be added, but it is blank so nothing is added. If you match the JSON example in the API docs, then it should work. We didn't change anything related to this API, so not sure how the above would have worked previously.

Thank you. Weird issue :(


fix: basename in faas

几点改动：

构建时，在 server bundle 外层模拟 url
SSR 支持运行时修改 basename
如果 Server 端透传了 basename，CSR 以 Server 端透传的为准

Codecov Report

Merging #328 (644a216) into release-next (79a9349) will decrease coverage by 0.01%.
The diff coverage is 75.00%.

@@               Coverage Diff                @@
##           release-next     #328      +/-   ##
================================================
- Coverage         77.71%   77.69%   -0.02%
================================================
  Files                52       52
  Lines              4720     4725       +5
  Branches            550      552       +2
================================================
+ Hits               3668     3671       +3
- Misses             1047     1049       +2
  Partials              5        5

Impacted Files
Coverage Δ

packages/ice/src/utils/generateHTML.ts
89.28% <66.66%> (-0.96%)
:arrow_down:

packages/ice/src/commands/build.ts
84.68% <75.00%> (-0.51%)
:arrow_down:

packages/ice/src/createService.ts
92.39% <100.00%> (ø)

Continue to review full report at Codecov.

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


[TRG 4.05 & TRG 4.06] Released image must be place DockerHub as mandatory container registry

Introduction
Move the image release to dockerhub
What needs to be done:

Change the url to dockerhub
TRG 4.06 Notice File for DockerHub has all necessary information
TRG 4.06 Link to the source of your base image (Container registry and GitHub if available)
TRG 4.06 Link to your product image on DockerHub
TRG 4.06 Link to your repository on GitHub
TRG 4.06 Direct link to the Dockerfile used to build your image
TRG 4.06 Link to LICENCE file in your repo as Project License (make clear, that this is the PROJECT licence, not an image license

TRG 4.05
Refactored contianer workflows and tested them in PR https://github.com/eclipse-tractusx/digital-product-pass/pull/68
The following images are available on Docker Hub:

https://hub.docker.com/r/tractusx/digital-product-pass-frontend
https://hub.docker.com/r/tractusx/digital-product-pass-backend

TRG 4.05 included in the following release #74 v1.0.0-alpha

TRG 4.06 - Notice for docker images
Notice for docker images is included in release v1.0.0.
PR: https://github.com/eclipse-tractusx/digital-product-pass/pull/83


Create screen for selecting the lightwalletd server

This will be reachable from the advanced settings screen (#1234).

This is the design we have in Figma atm: https://www.figma.com/file/vYQD6uZtkPgtmgJ3zfauq0/Zashi-UI?type=design&node-id=3512-18147&mode=design&t=tMaLogYWxx3VAjBi-4

Possible values for testing: https://status.zcash-infra.com/


Bump rocket-chip and matching dependencies

This bumps  the rocket-chip dependency to today's (5/5/2020) master which contains the following significant feature upgrades:

Configurable bus topologies (supplied in rocketchip.subsystem package)
New Attachable API (required upgrade of sifive-blocks)
Stage/Phase execution management and generator CLI (required upgrade of api-generator-sifive)
Chisel v3.3.0 (uses rocket-chip's dependency)
FIRRTL v1.3.0 (uses rocket-chip's dependency)

I unpinned the (very old) chisel and firrtl dependencies, instead choosing to rely on the ones in rocket-chip's wit-manifest.
I plan to perform another (hopefully trivial) bump to the forthcoming stable release of rocket-chip in coming weeks.
So far I have only tested this against block-pio-sifive.

@richardxia this build works for me locally with wake 0.17.2 but is failing CI with some wake syntax errors, i think. what version of wake does sifive/environment-blockci/0.3.0/ have installed?

environment-blockci-sifive v0.3.0 has Wake v0.17.1: https://github.com/sifive/environment-blockci-sifive/releases/tag/0.3.0

Yeah, we'll need to cut another release of environment-blockci-sifive with wake 0.17.2 (or maybe we should just go with 0.18?). I don't have time right-now right now, but I think I could cut a newer release (v0.4.0, since it's backwards-incompatible with older Wake code?) sometime tonight.

@richardxia OK makes sense. I don't feel like I can evaluate the effort of getting everything to 0.18 so i would be happy with an intermediary using 0.17.2 since that seems to be what all the ASIC stuff is using. It's not a huge rush to merge this on my end, though I think @mwachs5 had something more specific in mind? But I think anytime this week is fine?

"It's not a huge rush to merge this on my end, though I think @mwachs5 had something more specific in mind? "
This is great for my testing purposes, i don't need this merged to make forward progress, thanks!

@richardxia OK makes sense. I don't feel like I can evaluate the effort of getting everything to 0.18 so i would be happy with an intermediary using 0.17.2 since that seems to be what all the ASIC stuff is using. It's not a huge rush to merge this on my end, though I think @mwachs5 had something more specific in mind? But I think anytime this week is fine?

To follow up on this, I just released environment-blockci-sifive v0.4.0 with wake 0.17.2, so you can point to that now.

Oh, I had not merged in https://github.com/sifive/api-generator-sifive/pull/64 yet. I guess I should not remove that comment that I embedded into the wit-manifest.json now, since this is pointed at that comment, and I guess I should create a normal merge commit and not a squash merge like I normally do.


Clean up workspace maven

What is the goal of this PR?
Group maven related statements together and add maven to all imported maven artifact aliases in the WORKSPACE file for clarity.
What are the changes implemented in this PR?

Group together all maven related statements in WORKSPACE file
Rename maven related artifacts to be consistent in WORKSPACE file

PR Review Checklist
Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.

Code

[ ] Packages, classes, and methods have a single domain of responsibility.
[ ] Packages, classes, and methods are grouped into cohesive and consistent domain model.
[ ] The code is canonical and the minimum required to achieve the goal.
[ ] Modules, libraries, and APIs are easy to use, robust (foolproof and not errorprone), and tested.
[ ] Logic and naming has clear narrative that communicates the accurate intent and responsibility of each module (e.g. method, class, etc.).
[ ] The code is algorithmically efficient and scalable for the whole application.

Architecture

[ ] Any required refactoring is completed, and the architecture does not introduce technical debt incidentally.
[ ] Any required build and release automations are updated and/or implemented.
[ ] Any new components follows a consistent style with respect to the pre-existing codebase.
[ ] The architecture intuitively reflects the application domain, and is easy to understand.
[ ] The architecture has a well-defined hierarchy of encapsulated components.
[ ] The architecture is extensible and scalable.


Delete Plume Related Code and Introduce jimple2cpg

So most of what I could find of Plume I removed but I think there might be an additional step left in codepropertygraph or this project to fully integrate this.

fyi i just pushed c63714e to your branch

what might be missing is to update https://github.com/ShiftLeftSecurity/codepropertygraph/blob/master/console/src/main/scala/io/shiftleft/console/cpgcreation/JavaCpgGenerator.scala, or is joern-parse still the correct thing to invoke here?

something's odd when i try and use jimple2cpg - i tested 2 ways, my jar is 30m.
prereq: sbt clean stage

./joern
`importCode.java("some.jar")`

calls joern-parse, which doesn't ever seem to finish, keeps my cpus busy and memory grows until it's killed...
meanwhile, log output is empty.

cd joern-cli/target/universal/stage/
./jimple2cpg some.jar

prints a few warnings about missing slf4j bindings and then exits, leaving behind a 12k cpg.bin which looks like an overflowdb binary, albeit it seems to be empty (only judging by it's size)

I think there must be an issue in the JAR unpacking - perhaps unpacking it to the target directory is causing a recursive re-execution of classes or something. I'll see if unpacking the JAR to a temporary directory will fix this.

https://github.com/ShiftLeftSecurity/codepropertygraph/blob/master/console/src/main/scala/io/shiftleft/console/cpgcreation/JavaCpgGenerator.scala

This might be the next thing to change

something's odd when i try and use jimple2cpg - i tested 2 ways, my jar is 30m.
prereq: sbt clean stage
./joern
`importCode.java("some.jar")`

calls joern-parse, which doesn't ever seem to finish, keeps my cpus busy and memory grows until it's killed...
meanwhile, log output is empty.
cd joern-cli/target/universal/stage/
./jimple2cpg some.jar

prints a few warnings about missing slf4j bindings and then exits, leaving behind a 12k cpg.bin which looks like an overflowdb binary, albeit it seems to be empty (only judging by it's size)

I have fixed number 2 in jimple2cpg 0.0.4 - now to find out the way to connect it with Joern

@mpollmeier PR in codepropertygraph now looks for jimple2cpg https://github.com/ShiftLeftSecurity/codepropertygraph/pull/1408

This works fine, and generates a cpg, albeit it's pretty empty...
joern> cpg.graph
res1: Graph = Graph [407 nodes]

joern> cpg.meth
method        methodRef     methodReturn
joern> cpg.method.name.l
res2: List[String] = List()

Mind pointing me to the JAR you're testing to validate the output?

I tested with something internal, but you get the same results with https://github.com/ShiftLeftSecurity/HelloShiftLeft
Here's a few things i tried:
git clone https://github.com/ShiftLeftSecurity/HelloShiftLeft.git
cd HelloShiftLeft
mvn clean package

./joern
importCode.java("/home/mp/tmp/hsl-public/HelloShiftLeft/target/hello-shiftleft-0.0.1.jar")

cpg.graph
// Graph [396 nodes]

joern> cpg.method.count.head
// 0

cpg.graph.nodes.label.groupCount.l
res10: List[(String, Int)] = List(
  ("NAMESPACE_BLOCK", 77),
  ("TYPE_DECL", 77),
  ("NAMESPACE", 11),
  ("META_DATA", 1),
  ("FILE", 153),
  ("TYPE", 77)
)

I tested with something internal, but you get the same results with https://github.com/ShiftLeftSecurity/HelloShiftLeft
Here's a few things i tried:
git clone https://github.com/ShiftLeftSecurity/HelloShiftLeft.git
cd HelloShiftLeft
mvn clean package

./joern
importCode.java("/home/mp/tmp/hsl-public/HelloShiftLeft/target/hello-shiftleft-0.0.1.jar")

cpg.graph
// Graph [396 nodes]

joern> cpg.method.count.head
// 0

cpg.graph.nodes.label.groupCount.l
res10: List[(String, Int)] = List(
  ("NAMESPACE_BLOCK", 77),
  ("TYPE_DECL", 77),
  ("NAMESPACE", 11),
  ("META_DATA", 1),
  ("FILE", 153),
  ("TYPE", 77)
)

Fixed it in v0.0.5 but SonaType has taken forever now - hopefully this will be up by tomorrow

Just checked and it seems everything is working, just need a confirmation and merge @mpollmeier

thanks @DavidBakerEffendi , will bring in https://github.com/joernio/joern/pull/609 first and then test everything together and merge

frontend works just fine, we just need to wire up the slf4j logging correctly - i'll see what i can do

frontend works just fine, we just need to wire up the slf4j logging correctly - i'll see what i can do

I think the logging issue may be a Soot-related as that is the only difference between, say JavaSrc2Cpg, is that one uses JavaParser and one uses Soot.

I added an slf4j bindings so the warnings about "no slf4j binding available" disappear.
That being said, it doesn't look like jimple writes many log entries, be it info/success messages or error e.g. if I pass it a file it can't handle.
But I guess that's a separate issue from this jimple/joern integration, wdyt @DavidBakerEffendi ?

I added an slf4j bindings so the warnings about "no slf4j binding available" disappear.
That being said, it doesn't look like jimple writes many log entries, be it info/success messages or error e.g. if I pass it a file it can't handle.
But I guess that's a separate issue from this jimple/joern integration, wdyt @DavidBakerEffendi ?

Yeah I can make an issue for it and we can handle it as a separate bug?


How to import macros by one macro, maybe we can name it meta-macro?

Hi, thanks for the write-up, but I have got some problems.
Here is my example.sjs:
'lang sweet.js'

export operator add left 1 = (left, right) => #`${left}.push(${right})`
export operator pip left 1 = (left, right) => {
  return right.type === 'CallExpressionE'
  ? #`${right.callee}(${left}, ${right.arguments})`
  : #`${right}(${left})`
}
export operator == left 10 = (left, right) => #`${left} === ${right}`
export operator != left 10 = (left, right) => #`${left} !== ${right}`

In usual, I can import these macros by:
import {add, pip, ==, !=} from 'example.sjs'

It works.
But in the future, maybe it will become:
import {add, pip, log, a, s, do, ==, !=} from 'example.sjs'

or longer.
So, I have tried to import all macros by another macro:
'lang sweet.js'

...

export syntax patch = ctx => {
  let dummy = #`dummy`.get(0)
  return #`import { add, pip, ==, != } from ${fromStringLiteral(dummy, __dirname)}`
}

then:

import { patch } from 'example.sjs'
patch

...

But failed.
In past version, we can use sjs -m to import all macros from specified .sjs file.
So I can use cat export.sjs import.sjs > temp && sjs temp and remove export keyword to get the same effect.
But is there any way for a more elegant, or new feature in plan such as:
import * from 'example.sjs' by sweet
import syntaxes from 'example.sjs' by sweet
import operators from 'example.sjs' by sweet
import some_macro_set from 'example.sjs' by sweet

to import macros by one macro?
Thanks.

@Shy07 your use case should be covered by extending the utility of the 'lang ...' directive.
The idea is to allow extending the reader. This would allow you to create custom punctuators among other things. It would also allow you to specify a set of macros to be implicitly imported.
I think your patch example fails to work because Sweet currently only has a single macro expansion phase.
@disnet please correct me if I'm wrong on any of these points.

@gabejohnson , thanks.
I have found the 'lang ...' directive in #697.
That all sounds sweet, thank you.


Parth Shah details added

This Pull Request resolves Issue #1
Description:
In this Pull Request we have done the following additions/edits for the code:

Implement the other bitwise operators as well #28


Added PageCache info of in log

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

not found:

found:

shouldn't the log level be trace instead of info?

I don't think that print_r is suitable in application logs at all

May be ArrayHelper:toArray ?

It is enough to trace whether the valid cache was found

IMHO  'Valid page content is not found in the cache.' is worthless without details.

What information is the most valuable in this print_r?

Looks fine to me. @SilverFire how about merging it into 2.0.10?

I'm fine with it. @githubjeka could you add a CHANGELOG line please?

I don't like this. Logging should be implemented in cache component, which would make this PR obsolete.

@kidol do you suggest to trace all cache->get() and cache->set() calls?

Yes. Here you can see how it was done in Yii1: https://github.com/yiisoft/yii/blob/master/framework/caching/CCache.php#L102
Also DebugToolbar could make use of these logs to show cache hits/misses (#2365).
Though, I'm not interested in working on this in any way. So, see it as my 2 cents on this topic...

I don't know the original reasons why this trace has been removed, by I guess because of performance reasons. @cebe @samdark

Could be added. Trace is rarely used in production.

guess it was performance, not sure.

Merges as is, thank you

@kidol if you want you could send your PR for all cache by deleting this code.
Thanks.


Please add a license file

Awesome to see a Polar Go SDK!
Please add a license file so that pkg.go.dev will display the documentation.
Thank you!

Great idea! MIT License added :)

Now. That. Was. Fast. 🤯

@emilwidlund  BTW, it seems that pkg.go.dev needs to see a version update to re-scan the repo for a license.


Fix API repo preparation step

Description
The current apidocs workflow is largely based on the apidoc script. Up until now, there's a typo in the script preventing the removal of the contents of the api/docs folder:

rm -rf api/docs*

As you can see, instead of deleting the contents this tries to delete files starting with api/docs which doesn't exist. This PR fixes that and makes the output more verbose.
Checklist:

[x] Securely signed commits

Another issue is the misplaced git reset. If the current rm -rf works, which TIL, the changes are reset by the git command.


time accura

(you don't have to strictly follow this form)
Describe the bug
A clear and concise description of what the bug is.
How to reproduce

Which ClickHouse server version to use
Which interface to use, if matters
Non-default settings, if any
CREATE TABLE statements for all tables involved
Sample data for all these tables, use clickhouse-obfuscator if necessary
Queries to run that lead to unexpected result

Expected behavior
A clear and concise description of what you expected to happen.
Error message and/or stacktrace
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

?


bind gulp to <IP_ADDRESS>

How do you get gulp to bind to <IP_ADDRESS> instead of localhost ?

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

ID: 6c25a90e-829c-b436-d8ab-f9c010588ee1
Version Independent ID: 768fa9a1-2375-fb5a-be58-cb66320cc789
Content: Build your first SharePoint client-side web part (Hello World part 1)
Content Source: docs/spfx/web-parts/get-started/build-a-hello-world-web-part.md
Service: unspecified
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Potentially you could do that by updating the serve.json file in config folder. Not though sure why you would do that or what would be the benefit to do so. SPFx toolchain will by default enable things served from your localhost and adjusting settings different might cause unexpected implications.

Binding to <IP_ADDRESS> is necessary in case you want to use SPFx in Docker container. In that case <IP_ADDRESS> or localhost point to an address inside Docker that can't be accessed from the host. This has been addressed with a PR recently and should be available by default in the future versions of SPFx.


object of type 'NoneType' has no len()

isin() received an invalid combination of arguments - got (elements=Tensor, test_elements=int, ), but expected one of:

(Tensor elements, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
(Number element, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
(Tensor elements, Number test_element, *, bool assume_unique, bool invert, Tensor out)

!!! Exception during processing!!! object of type 'NoneType' has no len()
Traceback (most recent call last):
File "F:\ComfyUI-master\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "F:\ComfyUI-master\execution.py", line 95, in get_output_data
output_is_list = [False] * len(results[0])
TypeError: object of type 'NoneType' has no len()

这个有段时间没有维护了，我回头更新一下，因为现在comfyUI已经支持audio的文件的保存 。

This was never fixed and is still a problem.

There will be an update for version V2 today


Transaction signing

I know it was mentioned that transaction signing would be supported soon in #5. But, I see there's no issue created for it, so I'm just making one here. I'm just wondering is the eta is still for this month? Also, if any help is needed I'd be to contribute, lmk!

Hello! Probably we won't implement this in a near future, but we have already integrated this library with web3j (jvm) and trustwallet (ios, native library). So we could add this modules here.

Also, it's not hard to implement this kind of functionality for js using web3js. What about ETA, it's not actual for me since in our project it is already integrated, so I can't promise that I will do this soon, but I will try within a week.

Okay cool, sounds good 👌. Thanks for the update.

@y9san9 any shot you'll be able to take a look at this soon? I can possibly do a pr if not.

@y9san9 ?

Working on this now. In symbiosis-finance/moko-web3


claude-3-haiku

AWS has a model that I want to explore.

Here are some use cases for using Claude 3 Haiku:

Customer interactions: quick and accurate support in live interactions, translations
Content moderation: catch risky behavior or customer requests
Cost-saving tasks: optimized logistics, inventory management, fast knowledge extraction from unstructured data

Moving to translation project


Add codec integration test

and fix codecs so that codecs can encode and decode data against real PostgreSQL.

@davecramer I would have guessed that I built these codecs based on the JDBC driver, but I've just gone through and that certainly doesn't seem to be the case, so I have no idea where they came from.  If you've got the time, can you please give this a review and ensure that it matches up with your understanding of how encoding and decoding should happen for these types?
I also have a specific question about UUID changing from binary to text.  Could that be related to our discussion about connection configuration preferring binary or text?

I haven't had time to go through all of it but as I am reviewing something on JDBC this jumps out as something that has to be dealt with.
https://github.com/pgjdbc/pgjdbc/blob/08631ccdabdb8ba6d52f398e2b0b46a9cf0cafbf/pgjdbc/src/main/java/org/postgresql/PGStatement.java#L21-L24
these are MIN and MAX values for PostgreSQL times and dates..
FYI, times and dates are the cause of many issues, mostly due to assumptions made about time zones

Those problems with dates and times are one of the reasons I want to convert straight to the rich Java 8 types which take these things into account, where we can.  That special case seems to be centered around java.sql.Date and its contract.  With what you know there, do you think it pertains to java.time types as well?  Is the problem actually a mismatch between ANSI/ISO SQL date/time and Java time?

@davecramer Thanks for the clarification.

I also have a specific question about UUID changing from binary to text. Could that be related to our discussion about connection configuration preferring binary or text?

When I tried the integration test with BINARY format, I got the following error
java.lang.AssertionError: expectation "expectNext(a3b245fe-ac1b-4e57-bef0-be257952147c)" failed (expected: onNext(a3b245fe-ac1b-4e57-bef0-be257952147c); actual: onError(java.lang.IllegalArgumentException: Cannot decode value of type java.util.UUID))

	at reactor.test.ErrorFormatter.assertionError(ErrorFormatter.java:105)
	at reactor.test.ErrorFormatter.failPrefix(ErrorFormatter.java:94)
	at reactor.test.ErrorFormatter.fail(ErrorFormatter.java:64)
	at reactor.test.ErrorFormatter.failOptional(ErrorFormatter.java:79)
	at reactor.test.DefaultStepVerifierBuilder.lambda$addExpectedValue$10(DefaultStepVerifierBuilder.java:487)
	at reactor.test.DefaultStepVerifierBuilder$SignalEvent.test(DefaultStepVerifierBuilder.java:2105)
	at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.onSignal(DefaultStepVerifierBuilder.java:1401)
	at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.onExpectation(DefaultStepVerifierBuilder.java:1349)
	at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.onError(DefaultStepVerifierBuilder.java:1023)
	at reactor.core.publisher.MonoFlatMap$FlatMapMain.secondError(MonoFlatMap.java:185)
	at reactor.core.publisher.MonoFlatMap$FlatMapInner.onError(MonoFlatMap.java:251)
	at reactor.core.publisher.MonoFlatMap$FlatMapMain.secondError(MonoFlatMap.java:185)
	at reactor.core.publisher.MonoFlatMap$FlatMapInner.onError(MonoFlatMap.java:251)
	at reactor.core.publisher.MonoSingle$SingleSubscriber.onError(MonoSingle.java:141)
	at reactor.core.publisher.FluxMap$MapSubscriber.onError(FluxMap.java:126)
	at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106)
	at reactor.core.publisher.FluxZip$ZipCoordinator.drain(FluxZip.java:735)
	at reactor.core.publisher.FluxZip$ZipInner.onNext(FluxZip.java:894)
	at reactor.core.publisher.FluxRepeatPredicate$RepeatPredicateSubscriber.onNext(FluxRepeatPredicate.java:78)
	at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:114)
	at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1476)
	at reactor.core.publisher.MonoProcessor.subscribe(MonoProcessor.java:457)
	at reactor.core.publisher.MonoMap.subscribe(MonoMap.java:55)
	at reactor.core.publisher.Mono.subscribe(Mono.java:3590)
	at reactor.core.publisher.FluxRepeatPredicate$RepeatPredicateSubscriber.resubscribe(FluxRepeatPredicate.java:112)
	at reactor.core.publisher.MonoRepeatPredicate.subscribe(MonoRepeatPredicate.java:47)
	at reactor.core.publisher.Flux.subscribe(Flux.java:7734)
	at reactor.core.publisher.FluxZip$ZipCoordinator.subscribe(FluxZip.java:579)
	at reactor.core.publisher.FluxZip.handleBoth(FluxZip.java:326)
	at reactor.core.publisher.FluxZip.handleArrayMode(FluxZip.java:267)
	at reactor.core.publisher.FluxZip.subscribe(FluxZip.java:136)
	at reactor.core.publisher.FluxMap.subscribe(FluxMap.java:62)
	at reactor.core.publisher.MonoSingle.subscribe(MonoSingle.java:58)
	at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:150)
	at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1476)
	at reactor.core.publisher.MonoSingle$SingleSubscriber.onComplete(MonoSingle.java:171)
	at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onComplete(FluxMapFuseable.java:144)
	at reactor.core.publisher.FluxWindowPredicate$WindowPredicateMain.checkTerminated(FluxWindowPredicate.java:487)
	at reactor.core.publisher.FluxWindowPredicate$WindowPredicateMain.drainLoop(FluxWindowPredicate.java:435)
	at reactor.core.publisher.FluxWindowPredicate$WindowPredicateMain.drain(FluxWindowPredicate.java:379)
	at reactor.core.publisher.FluxWindowPredicate$WindowPredicateMain.onComplete(FluxWindowPredicate.java:290)
	at reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onComplete(MonoFlatMapMany.java:248)
	at reactor.core.publisher.FluxWindowPredicate$WindowFlux.checkTerminated(FluxWindowPredicate.java:715)
	at reactor.core.publisher.FluxWindowPredicate$WindowFlux.drainRegular(FluxWindowPredicate.java:609)
	at reactor.core.publisher.FluxWindowPredicate$WindowFlux.drain(FluxWindowPredicate.java:695)
	at reactor.core.publisher.FluxWindowPredicate$WindowFlux.onComplete(FluxWindowPredicate.java:761)
	at reactor.core.publisher.FluxWindowPredicate$WindowPredicateMain.onNext(FluxWindowPredicate.java:241)
	at reactor.core.publisher.FluxHandle$HandleSubscriber.onNext(FluxHandle.java:113)
	at reactor.core.publisher.FluxHandle$HandleConditionalSubscriber.onNext(FluxHandle.java:320)
	at reactor.core.publisher.FluxHandle$HandleConditionalSubscriber.onNext(FluxHandle.java:320)
	at reactor.core.publisher.FluxHandle$HandleConditionalSubscriber.onNext(FluxHandle.java:320)
	at reactor.core.publisher.FluxHandle$HandleConditionalSubscriber.onNext(FluxHandle.java:320)
	at reactor.core.publisher.FluxPeekFuseable$PeekConditionalSubscriber.onNext(FluxPeekFuseable.java:826)
	at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.innerNext(FluxConcatMap.java:275)
	at reactor.core.publisher.FluxConcatMap$ConcatMapInner.onNext(FluxConcatMap.java:849)
	at reactor.core.publisher.FluxGenerate$GenerateSubscription.next(FluxGenerate.java:169)
	at io.r2dbc.postgresql.message.backend.BackendMessageDecoder.lambda$decode$1(BackendMessageDecoder.java:133)
	at reactor.core.publisher.FluxGenerate$GenerateSubscription.slowPath(FluxGenerate.java:262)
	at reactor.core.publisher.FluxGenerate$GenerateSubscription.request(FluxGenerate.java:204)
	at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set(Operators.java:1849)
	at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onSubscribe(Operators.java:1723)
	at reactor.core.publisher.FluxGenerate.subscribe(FluxGenerate.java:83)
	at reactor.core.publisher.Flux.subscribe(Flux.java:7734)
	at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.drain(FluxConcatMap.java:442)
	at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.onNext(FluxConcatMap.java:244)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:192)
	at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:114)
	at reactor.netty.channel.FluxReceive.drainReceiver(FluxReceive.java:211)
	at reactor.netty.channel.FluxReceive.onInboundNext(FluxReceive.java:327)
	at reactor.netty.channel.ChannelOperations.onInboundNext(ChannelOperations.java:310)
	at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:141)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:628)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:528)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:482)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
	at java.base/java.lang.Thread.run(Thread.java:834)
	Suppressed: java.lang.IllegalArgumentException: Cannot decode value of type java.util.UUID
		at io.r2dbc.postgresql.codec.DefaultCodecs.decode(DefaultCodecs.java:91)
		at io.r2dbc.postgresql.PostgresqlRow.get(PostgresqlRow.java:82)
		at io.r2dbc.postgresql.codec.CodecIntegrationTest.lambda$testUuid$82(CodecIntegrationTest.java:557)
		at io.r2dbc.postgresql.PostgresqlResult.lambda$map$0(PostgresqlResult.java:69)
		at reactor.function.TupleUtils.lambda$function$7(TupleUtils.java:143)
		at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:100)
		... 73 more

And confirmed the uuid came as a TEXT.

I may miss something. Is there any way to take an uuid as BINARY ?

rebased

@making Merging in now as-is.  I think we'll need a couple more passes over the Codecs as time goes on, but this is a strong improvement as it exists today, so worth it to go now.  Please take a quick look at the polishing commit, specifically CodecIntegrationTest which is 1/3 as long now.

Thanks for polishing!


markers plugin: trigger click event on wavesurfer

Short description of changes:
Changes: When you click labelDiv, the marker-clickevent of wavesurfer is triggered (not previously).
Reasons:  In fact, when I want to do more when I click on marker, event is necessary
Breaking in the external API:
No
Breaking changes in the internal API:
No
Todos/Notes:
Related Issues and other PRs:

Offhand I'd say we probably don't want to fire a general "click" event, consumers will probably mostly be treating those as clicking inside the waveform.
I like the marker-click one tho

I like the marker-click one tho

So what do you suggest for @Wangbaogang to follow up with?

Coverage remained the same at 82.312% when pulling 48a3d537c330b74011b9dec97dce17d606eb400a on Wangbaogang:master into 2e49044b53680cdd30ec83e65d4fd49b36075e1d on katspaugh:master.

I think just remove the wavesurfer-level click event

@osheroff In fact, using marker-click event on wavesurfer is a handy way, just like region-click of RegionsPlugin, I think.

I'm talking about this line:
            this.fireEvent("click", e);

I think this line is problematic as it will appear to an event listener that the user clicked on the waveform, which they did not.

The new event also needs to be documented (at top of class) and a changelog entry needs to be added.

@Wangbaogang

the new event needs to be documented (at top of class)
a changelog entry needs to be added
remove the click fireEvent

Added changelog and removed click. But It seems there is no place to edit the plugin information in the repo. Maybe I didn't find it?

there is no place to edit the plugin information in the repo

@Wangbaogang it's in the gh-pages branch. Also add a jsdoc for the new event.


Fix status after audio is exported

Also removed the console logging. If we want it back, it should be at least a parameter so it can be disabled for production builds.

Fair enough RE logging. Thanks!


Add missing 'visit_accessors' function for "Intrusive" syntax

This patch adds missing 'visit_accessors' function for structure registered with the "Intrusive" syntax.

Thank you!

Thank you!


Switched the space shooter demo from none fixed process to fixed process.

The space shooter demo was stuttering alot, so I have minimized the
stuttering by switching from a none fixed process to a fixed process.

Apparently the commit(s) are not being attributed to your Github account. The reason may be that your git configuration uses a different e-mail address to your Github account. Read this article for more information.
However, that does not prevent from merging the Pull Request.

I think I have fixed my git config now, will that attribute the commits to my account retroactively?

I think I have fixed my git config now, will that attribute the commits to my account retroactively?

You have to amend the commit. This should do the trick: git commit --amend --reset-author. Then you force push to your fork which updates this PR.

Okay I dont mind if only my future commits are attributed to my github account. I am a bit confused about what just happend, I (think) I pulled down updates from the main godot repo to my fork, but then Travis started testing my commit again and it looks like I made a new commit. Does anyone know what happend? If this is too much off topic let me know and I will stop with the github related questions I was just curious. :)

Try git reset HEAD~ to remove the weird commit and then force push (with -f). Don't worry about asking git questions :)

It looks like the commit and pull request have dissapeard after I force pushed.  If you add another commit to your master branch this PR can be reopened.

I have made a commit to my master branch, but this PR is not opening. Other then making a new PR I am not sure what else to do?

So I reopened this but it has a bunch of conflicts because your fork is lagging behind and you pushed the changes in this repo to your fork in the same commit. Here's what you need to do:
git reset --soft HEAD^ # revert your commit without changing the files
git reset # clear staged files
git add demos/2d/space_shooter # stage your intended changes
git commit # add a commit with only your changes
git push --force # overwrite your GH fork with the new commit

After you do those steps this PR will update once again with only your changes which should not conflict with anything.

WOW thanks for all the assistance, it looks like everything is in order :D.

Nice git crash course :D

I cherry-picked the change in a9d246e to remove the unnecessary .tscn changes.


Question: OSMC version

Hi, I'm new here so I'm setting up my first media center in Rpi3 so I ask if is working with latest version of OSMC or I need to downgrade to 2015-08 build of OSMC to work correctly? How proceed about this?
PS: By the way, great project, I'll be grateful if I can help with something.
Thanks.

The latest version has never been tested, but some changes have been made thanks to issue #9 . With this info I believe you can have it running with the latest version.


Evaluate the usage of the findmissing command to see if it is still needed

With the lessons learned from calibrating Burkina Faso, Rwanda, and Uganda, it appears that the findmissing  script/command might be unnecessary and could inject more calibration points than are needed. Reassess it to see if the command should be removed.

With the latest approach to calibration, the findmissing command is no longer missing - indeed it can actually result in too much data being produced.


Display error if configuration validation fails

Description
When configuration validation fails, the user is shown a blank page. On mobile devices, users see the spash screen and then a blank page.

See React Error Boundararies

See react-error-boundary