SNlM0e (Compiled thread)

#29
#11
#8

Attempts to solve:

Ensure you are only signed in to 1 account.
Ensure your IP address is in the US (or other supported regions)

I'm seeing the same error. My IP address is in the US, and I'm only signed in to one account.

For everyone's convenience (as an easy meanwhile solution while this is being resolved), you can obtain the SNlM0e directly from your Bard browser session. I mean if you were already going to open the dev tools in that window to get the cookie from 'Applications' tab, might as well just use console.log(WIZ_global_data.SNlM0e); in the console window to get the SNlM0e value, then you could copy and paste both in one trip to the browser window.

How do you get the module to use the value that you've extracted?

Similar to how you pass the cookie string value to the Bard.py script
bard () {
	export BARD_QUICK=true
	export BARD_SESSION=<REDACTED>.
	python3 -m Bard "${@:-$(</dev/stdin)}" | tail -n+7
}

you could do the same for SNlM0e:
        export BARD_SNlM0e=<REDACTED>.

Then you could modify your __get_snlm0e(self): function to just call it from os env and avoid the whole api request:
def __get_snlm0e(self):
        SNlM0e= os.getenv("BARD_SNlM0e")
        return SNlM0e

I do something similar using NodeJS in my project DuelGPT  (a front-end for using ChatGPT and Bard side-by-side - minimal backend code)

Exporting SNlM0e from console gives me a different error:
Google Bard encountered an error:
b')]}'\n\n38\n[["wrb.fr",null,null,null,null,[7]]]\n56\n[["di",52],["af.httprm",51,"-8317639822438177330",23]]\n25\n[["e",4,null,null,131]]\n'.

Exporting SNlM0e from console gives me a different error:
Google Bard encountered an error:
b')]}'\n\n38\n[["wrb.fr",null,null,null,null,[7]]]\n56\n[["di",52],["af.httprm",51,"-8317639822438177330",23]]\n25\n[["e",4,null,null,131]]\n'.

Yep having this too…

Works great when I call it from the command line, but when I try to use it in a script I keep getting the same error.
from Bard import Chatbot token = "Current Cookie Value" chatbot = Chatbot(token) chatbot.ask("Hello, how are you?")
produces 'NoneType' object is not iterable. I'm sure I'm missing something obvious

@karlzipple You can go to Bard.py to change the functionality of 'def ask(self, message: str) -> dict:', print out the 'json_chat_data' to see what is your task-oriented requirement, and customize the 'results' yourself to skip the Nonetype error. That could be a cheap solution.

How do you get the module to use the value that you've extracted?

Similar to how you pass the cookie string value to the Bard.py script
bard () {
	export BARD_QUICK=true
	export BARD_SESSION=<REDACTED>.
	python3 -m Bard "${@:-$(</dev/stdin)}" | tail -n+7
}

you could do the same for SNlM0e:
        export BARD_SNlM0e=<REDACTED>.

Then you could modify your __get_snlm0e(self): function to just call it from os env and avoid the whole api request:
def __get_snlm0e(self):
        SNlM0e= os.getenv("BARD_SNlM0e")
        return SNlM0e

I do something similar using NodeJS in my project DuelGPT  (a front-end for using ChatGPT and Bard side-by-side - minimal backend code)

can you please retype this.   Does it contain <  > ?  Does it end with a period?  <1687168999467>. ?  is it <DFuTz6sfj1k3Bu814Vj8_3JhXhvE:1687168999467> ? is it DFuTz6sfj1k3Bu814Vj8_3JhXhvE:1687168999467?  is it "DFuTz6sfj1k3Bu814Vj8_3JhXhvE:1687168999467" ?  Please. Be specific.

The latest release resolves this issue. Here's my working code, copied from the README.md in ~/.bash_profile
# USAGE1: bard QUESTION
# USAGE2: echo "QUESTION" | bard
bard () {
	export BARD_QUICK=true
        export BARD_SESSION="REDACTED"
	python3 -m Bard "${@:-$(</dev/stdin)}" | tail -n+7
}

i still cant get it to work :( Im using the chatbot usecase, with ChatGPT-DIscord-Bot-1.5.1.  By commenting out the errors and pasting in the SNlM0e directly instead of using the __Secure_1*** cookie, because it gives me the "must end with a dot" error even though it DOES end with a dot, i finally get it to fully load the discord bot, but when i go to get a response it says
Google Bard encountered an error: b')]}'\n\n38\n[["wrb.fr",null,null,null,null,[7]]]\n56\n[["di",60],["af.httprm",60,"-8234551735768967562",38]]\n25\n[["e",4,null,null,131]]\n'.
I know its still related to the cookie.
I dont know how
bard () {
export BARD_QUICK=true
export BARD_SESSION="REDACTED"
python3 -m Bard "${@:-$(</dev/stdin)}" | tail -n+7
}
relates in any possible way

async def __get_snlm0e(self):
# Find "SNlM0e":""
#if not self.session_id or self.session_id[-1] != ".":
#    raise Exception(
#         "__Secure-1PSID value must end with a single dot. Enter correct __Secure-1PSID value.",
#    )
resp = await self.session.get(
"https://bard.google.com/",
timeout=10,
follow_redirects=True,
)
if resp.status_code != 200:
raise Exception(
f"Response code not 200. Response Status is {resp.status_code}",
)
SNlM0e = re.search(r"SNlM0e":"(.*?)"", "AFuTz6sfj1k3Bu814Vj8_3JhXhvE:1687168999463")
##if not SNlM0e:
#    raise Exception(
#        "SNlM0e value not found in response. Check __Secure-1PSID value.",
#    )
return "(.1687168999463?)"

Worked yesterday; Not working today. I wonder why it happen, but getting site with cURL (and cookie) doesn't include SNlM0e too.


Create CLI command to show the secret values

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (afac11f) 100.00% compared to head (6dc9bd8) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         2    +1
  Lines           41        51   +10
  Branches         9        10    +1
=========================================
+ Hits            41        51   +10

Files Changed
Coverage Δ

src/aws/secret.ts
100.00% <100.00%> (ø)

src/index.ts
100.00% <100.00%> (ø)

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


is this version meant to be equal and not greater equal?

https://github.com/taurr/embedded-template-rs/blob/e66b8372a74c2d128ee4ee6269c0948c2a3a5e39/application/cargo-generate.toml#L2

I mean like
cargo_generate_version = ">=0.10.0"

the reason I'm asking is because during tests I found this problem:
Error: ⛔   Required cargo-generate version not met. Required: ^0.10.0  was: 0.11.1

Hmm, weird.
It should be >=10.0, but I can't just write "10.0" as we'd like for cargo-generate - I have to write ">=10.0"
This is definitely a bug in my template, bu do we have a bug in cargo-generate too?

Anyway, the template needs an overhaul :-)

Your bevy template works flawlessly, so I believe it's only with the version string in this very template here.


[RFC][consensus] multi proposer election with per-epoch seed

Since each epoch resets the round number to 0, we are going to generate the exact same round proposers through each epoch. This PR attempts to use a per-epoch seed to randomize the election for each epoch.
There are a lot of options, but I chose to simply use the seed = genesis ledger info's consensus hash. (That is, the real genesis, or the last ledger info before the epoch change.)
To make this change, I needed to address two cases:
1. (re)starting a validator.
Since storage is read during start up, I can obtain the last ledger info of the previous epoch (if the current epoch is not 0):
fn start(config: &NodeConfig) -> (Arc<Self>, RecoveryData<T>) {
    // ...
    let seed = match ledger_info.ledger_info().epoch() {
        0 => ledger_info.ledger_info().consensus_data_hash(),
        epoch => {
            let previous_epoch = epoch - 1;
            let genesis_ledger_info = read_client
                .get_latest_ledger_infos_per_epoch(previous_epoch)
                .expect("unable to read genesis ledger info from storage")
                .pop()
                .expect("storage does not contain genesis ledger info");
            genesis_ledger_info.ledger_info().consensus_data_hash()
        }
    };

2. new epoch change.
In this case, the last ledger info comes for free as part of the function call:
pub fn start_new_epoch(&mut self, ledger_info: LedgerInfoWithSignatures) -> EventProcessor<T> {

In both case, I simply add the seed to initial_data: RecoveryData which is always available when calling create_proposer_election()

However, I'm not sure I understand the problem we're trying to solve with the per-epoch seed. Are you concerned with an attack, in which a certain proposer can be regularly chosen via constantly proposing a new epoch? I don't think it's possible with the current reconfiguration design, and to be honest if we're forced to switch epoch every other round then we'll have much bigger problems anyway :). Even if we do decide that different epochs should better have different orderings, a simpler approach would be to choose a leader deterministically based on the (epoch, round).

It's worth pointing out that even if we switch epochs every N rounds, if the sequence of proposers is always the same then there will be some proposers that propose slightly more often (because by luck of the draw they show up more in the first n rounds).
That said, right now my impression is that we're not headed down a trajectory where being a proposer more or less often results in a financial reward. So at least in our configuration I'm not sure how critical this is.

a simpler approach would be to choose a leader deterministically based on the (epoch, round)

The problem with this approach is that you can compute at genesis who will be the leader at any epoch and round.
If we care about thwarting attacks that target leaders in advance, this is an improvement compared to the current protocol.
I'm not sure how much we care about it though, and if we really care: is this change good enough? (others are using VRFs after all)

I don't think we're planning on changing epochs fast enough for something like this to really prevent an attacker from targeting a DDoS attack.
Something to consider is if there's a way we could have a secret that is only known to the current validator set. I think the biggest risk of a DDoS attack is from the outside world knowing who the current proposer is. A world where only validators know this is an improvement on one where the outside world knows

I think it's a great idea to consider the issue of pre-computing the leader upon epoch change, however, the current proposal of the genesis ledger info's consensus hash also opens up the possibility that a dishonest leader can attempt to produce a hash that biases the next epoch's leader toward another dishonest leader.  A VRF based approach (assuming it also solves the initial seeding problem as well) where a leader embeds its VRF output cannot be attacked the same way.

A VRF based approach (assuming it also solves the initial seeding problem as well) where a leader embeds its VRF output cannot be attacked the same way.

The VRF still relies on a seed, which needs to be public data.
There's always some degree of influence if we use a naive VRF scheme.

Agreed (as per my comment) on the VRF seed issue, although a VRF seed seems like a more tractable issue, for instance, perhaps a based an account resource or the account address itself.

I'd like to question the motivation for the per-epoch seed again :). I don't see how this approach is going to help: what's the attack that we're trying to tolerate better?

:umbrella: The latest upstream changes (presumably 49101a008465a3a9a4a1747c8033744f6a044d54) made this pull request unmergeable. Please resolve the merge conflicts.

@dmitri-perelman I think this summarizes it:

From what I understand, there's this idea in other cryptocurrencies of an attacker knowing in advance the leaders of round k, k+1, k+2, k+3, etc. and using this to target them in either a DDoS attack or an attack on consensus by attempting to corrupt them. (edited)

There's also the idea of fairness, if you're the leader you can more or less control the ordering of transaction that will be included, and also collect the transaction fees. If we always produce the same series of leaders at every epoch then there's going to be a growing bias of leaders that will appear more often than others (pointed out by Ben I think in the PR) (edited)

@mimoo thanks for the summary! Imho both these concerns are not valid, but I might be wrong. Do you want to meet and discuss it?

proposing a simpler approach with the epoch as the seed: https://github.com/libra/libra/pull/1784


Hotfix missing discussion items url

I'm aware it's not super clean, but it does the trick until Github fix its REST API (see #424). If so, the first test will pass and this code will never reach out again and we will be able to remove it without second thought 😉
Again, it's just an idea for the mean time, feel free to say that it's a bad idea. I didn't update the test due to the very “temporary” aspect of this code, but I can do so if needed.

Looking forward to this enhancement.  Thanks @Yago for contributing this PR

@manosim - do you think this enhancement is ready to merge and release?

@manosim if this really fix the issue, why not merge this?
Its really annoying that discussions notifications straight up don't work

we can get the actual Discussion url using GraphQL
I have created a repo to easily test this: https://github.com/Araxeus/github_discussion_notification_url
Any thoughts?

Will merge #538 over this one.


Option for displaying lint issue through mouseover

It would be really useful to have an option to show the lint error on mouseover instead of clicking the problem line. I'm used to it in other editors and IDE's that do that.

My primary objection regarding the current implementation is that the tooltip covers the two lines below the focused line. An alternative would be to show the tooltip as an "actual tooltip", i.e. one that appears when you hover the cursor over the highlighted code.


(PUP-9556) Add puppet ssl bootstrap action

Run the SSL state machine to ensure we have a CA bundle, CRL bundle (if
revocation is enabled), and a private key and signed client cert. This makes it
possible to bootstrap an agent without having to apply a catalog. The bootstrap
command behaves like the agent command, waiting every waitforcert seconds if
the cert is not signed. The wait interval can be changed via the setting of the
same name, or disabled by setting it to 0:
puppet ssl bootstrap --waitforcert 0

In order to see any useful information, set the log level to :info. But don't
lower the log level from :debug, if that's what the user requested.

PR https://github.com/puppetlabs/puppet/pull/7431 needs to be merged first

CLA signed by all contributors.

jenkins please test this on debian9-64a,fedora29-64a,osx1013-64a,redhat7-64a,ubuntu1804-64a,windows2012r2-64a with servertests


Create an example and CI build to test the 'install' target

At the end of this task we will have:

A test for the install target: this is a program that uses the Cloud Bigtable C++ client as installed by make install.
A CI build that exercises this test.

This is because it is too easy to forget header files, or libraries in the install rules and then the library is unusable.

See my comments in the last commit:

We are including absl/*.h headers from our headers. That would
force users to have the absl headers around.  But the headers
for abseil are not installed by abseil.

We are using the absl libraries, which are not designed, nor do
they support, to be installed.

But how will a user link against our libraries?  At this point they can only
use them as a submodule.
]

@coryan wrote:

We are including absl/*.h headers from our headers. That would
force users to have the absl headers around. But the headers
for abseil are not installed by abseil.

We are using the absl libraries, which are not designed, nor do
they support, to be installed.

Maybe this should be filed as a bug / feature request for Abseil?
Surely they would like their library to be used by developers through the standard methods of including headers and linking against shared libraries; I don't think it's reasonable that every project that uses Abseil should be including it as a submodule — what if some projects use Mercurial and some use Git? What if the project wants to #include Abseil headers directly, and not transitively via a project such as this one?

Maybe this should be filed as a bug / feature request for Abseil?

There is one, with active discussion.
https://github.com/abseil/abseil-cpp/issues/38


Code analysis Widget does not show Private SONAR projects

Hi,
The Code Analysis Widget when used for static analysis using SONAR is not displaying any private projects on the respective domain to which the configured account in the collector has access to. However it shows the public projects which are listed on the SONAR server perfectly but does not show up the private ones.
Is there any Workaround for the same.

Resolved Refer https://github.com/Hygieia/hygieia-codequality-sonar-collector/issues/32


how to use flask driver in python splinter

all my code is just:
from splinter import Browser
from flask import Flask, request
from splinter.driver.flaskclient import FlaskClient
app = Flask(__name__)

browser = Browser('flask', app=app)
browser.visit('https://www.google.com')
print(browser.html)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>404 Not Found</title>

Not Found

The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.

there is anything I should do?

@haoflynet what was the problem?

@andrewsmedina Sorry, that's my fault, I didn't understand the function of the flask driver,  I think it can instead the ChromeDriver, but at last, I know it's just used by flask to test the flask web application. Thanks a lot!


Add nodeAffinity to csi daemonset

Description
In order to align operator components, we should add nodeAffinity to the CSI Deamonset, as Operator/webhook already have it.
How can this be tested?
Rollout the CSI Driver on a kubernetes cluster -> check if nodeAffinity is set (GKE currently has another bug, as normal GKE is detected as autopilot, will fix that in another PR) so try to not use GKE for testing

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

Project coverage is 58.77%.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3222   +/-   ##
=======================================
  Coverage   58.77%   58.77%
=======================================
  Files         326      326
  Lines       18172    18172
=======================================
  Hits        10680    10680
  Misses       6308     6308
  Partials     1184     1184

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


Live Demo not working

Hey guys,
your project looks great.
I'd love to try it, but the live demo is not working.
Is there any additional code necessary?

Hey guys,
your project looks great.
I'd love to try it, but the live demo is not working.
Is there any additional code necessary?

Hello, thank you! What exactly doesn’t work? I tried it and it works for me, try to see the demo from another browser or drop me a screenshot

thanks for the reply!
i use firefox. so tried using brave and it worked without a problem.
strangely it worked in firefox then, also (which was running in the background).
killing brave and reloading in firefox resulted in an error again. very strange. i cant reproduce this behaviour anymore, either.
Anyway, the error in Firefox:
SyntaxError
Could not fetch dependencies, please try again in a couple seconds: JSON.parse: unexpected character at line 1 column 1 of the JSON data
hope it is of any use


I don't understand how the batching work in the Mask Generator or the Predictor

As I can see in the Blog Post:

You're using different batch sizes of 1, 8, 32
After checking the code: it seems that the batching isn't on the image and on the points

Which I don't comprehend why would the points need batching?

Hello @bely66 - Thank you for your interest in the project! There's a different number of points per image. See https://github.com/pytorch-labs/segment-anything-fast/blob/main/experiments/README.md#data .

Hello @bely66 - Thank you for your interest in the project! There's a different number of points per image. See https://github.com/pytorch-labs/segment-anything-fast/blob/main/experiments/README.md#data .

@cpuhrsch thank you for the timely reply
The documentation doesn't mention anything about batching or how it works


Quickstart.md: Fixed missing component imports in the Quickstart exam…

Fixed the missing component imports in the Quick Start example page (http://element.eleme.io/#/en-US/component/quickstart), without them the client page gets js errors that prevent vue components from loading.

Thanks. Could you also fix the Chinese Quickstart.md?

Also fixed the Chinese Quickstart.md.


Add totalItems property to Collection objects

The totalItems property contains an integer expressing the total number of items in the collection, specified in ActivityPub here. In my brief tests returning an array of URLs from an OutboxDispatcher, Fedify 0.5.0 did not add this property to the OrderedCollection object. Per the spec, it is applicable to all Collections.
In terms of interoperability, adding this property would allow Mastodon and other platforms to display the total number of posts by an Actor, assuming the outbox is populated with an OrderedCollection.

Congrats on the release of 0.5.0! If you don't mind, I'm going to keep leaving my feature requests here as I run into problems, but none of my stuff is particularly urgent. 🙂

Ah nevermind, I found out from studying the blog example how I can achieve this using setCounter.


proxy 2 http/https

How to forward only http/https traffic to http proxy server

Read the wiki of this project?

Read the wiki of this project?
阅读该项目的 wiki？

I have integrated it into the Android project and forwarded it successfully, but it reports an error，The http proxy is written in goproxy, but it reports an error when forwarded through tun2proxy，I successfully configured the http proxy connection using the Android's wifi, but it doesn't work with tun2proxy. I don't know where I went wrong
tls: first record does not look like a TLS handshake

I found through the debugger in the goproxy project that all the traffic forwarded through tun2proxy is connect request, which causes goproxy to treat http request as https request and cause an error. Can you give me some ideas on how to troubleshoot this problem?


Decrease suggest-typed attempts from 100 to 50.

The 100 attempts was originally set in https://github.com/sorbet/sorbet/commit/385ccb7be8c8fbb281670b9eedc4c890785d349d.
Motivation
It's probably pretty unlikely that the sigils will converge after 100 attempts if they haven't after 50. This reaches the failure state a bit faster so the user isn't stuck waiting for as long. It takes around 10 minutes (for me, at least) to hit the 100 attempts mark. The length of my wait might have been because of the library that was causing the problem, or something else. I'm not entirely sure.

@connorshea , I believe this number was obtained through one of our tests for a rails codebase(was it gitlab? I'm unsure).
Would you be up to convert this into a user prompt to ask if they want to continue?

@DarkDimius that'd make sense then, yeah sure :) Would you be alright if I added a progress message every 10 attempts as well? Right now it doesn't output anything while you wait.

Would you be alright if I added a progress message every 10 attempts as well?

that would be great!
Could you send it as a separate followup please?
Thank you!

I've updated the suggest-typed file to ask the user if they want to continue after 50 attempts, the code was mostly lifted from srb-rbi. I'm not sure how exactly I should test this, though. Is there an easy way to generate a gem I can use locally with bazel?

Is there an easy way to generate a gem I can use locally with bazel?

https://github.com/sorbet/sorbet/blob/master/.buildkite/test-static-sanitized.sh#L27-L28 is the invocation that we use in CI, it builds the gems and tests them with bazel

@connorshea would it be possible for you to rebase and run ./tools/scripts/update_exp_files.sh?
Unfortunately I can't push to your branch to do that for you

@DarkDimius Weird, I definitely have 'Allow edits from maintainers' checked for the PR.
I can regenerate the expectations, but I don't think that should actually be necessary for this PR. Do you mean #1265?

I definitely have 'Allow edits from maintainers' checked for the PR.

Interesting. Either I'm doing something wrong, or this option only allows edits via github UI.
I wasn't able to push to your repo via command line.

I'm guessing you can push 'normal' commits, it just doesn't allow force pushes.

Thank you!


If there is anything I can help

This summer I decided to develop a general purpose sparse tensor computation toolkit in rust.
Then I searched github for sparse tensor lang:rust to see if there is anyone doing something similar.
It seems like this repo is the only entry popping up and it has been a while since you update anything in this project.
I think sparse tensor computation can model a wide range of computational problems, and I don't want this project to abort.
Let me know if I can help maintain this repository.

Hi @Y-jiji, it is very exciting to see interest in supporting general purpose sparse tensors in Rust. I think this is absolutely an area that needs some love in Rust-land. Currently there is quite a bit of work dedicated to dense linear algebra (e.g. ndaarray, nalgebra, faer), but not much work on sparse linear algebra.
To the best of my knowledge, there are currently two main projects still active working on sparse matrices: nalgebra-sparse which lives here and sprs.
There is quite a lot you can do in sparse land, with tensr, I wanted to create lazily evaluated linear algebra system (like in the C++ Eigen library) that supported arbitrary sparse structures somewhat like in taco but I think the goal was too ambitious and relied too heavily on the Rust trait system, making it very difficult to develop the library and keep it general. I think if you care about higher order tensors (or rather multidimensional arrays), and lazy evaluation then tensr can be a good reference point for what works well and what doesn't or even as a starting point. However, I think a better approach is to leverage procedural macros for generating optimized kernels (like in taco) instead of relying on traits. I would be very happy to help out with another version of such a library, but sadly I don't have the bandwidth to continue with the development of tensr.
I believe @Andlon has also experimented with a lazy linear algebra system, and maybe has some thoughts on this.

I like your idea about laziness and making a kernel compiler in general. However, leveraging laziness in evaluation may not be a good idea. From my point of view, laziness is useful in that it taps into operator fusion at kernel compilation time. Anyway, I want to work from tensr as a starting point and thank you for sharing these helpful information about proceedings in this area.

Sounds good! I'm happy to help, feel free to contact me by email if you want to discuss anything further.

From my point of view, laziness is useful in that it taps into operator fusion at kernel compilation time

I am using "lazy evaluation" here in contrast to "eager evaluation" where the result of a single operation (e.g. matrix multiplication or addition) needs to be stored before being passed to the next operation, which is typically much more expensive for large systems. In contrast, in lazy evaluation you could do a single write for a more complex string of matrix operations. But, I 100% agree that by compiling kernels you have a lot more control (in my mind this is also lazy since evaluation is likewise delayed when compared to "eager evaluation").


Added Swedish translation

Hi! Thanks.
I've added sv: 'Svenska', to locale list in main.js.
May you change that file also?

Added another commit now. Was that what you were referring to?

@kajes Perfect! Thank you.


Ledger Increase Check

Summary

RFCs: $\emptyset$.
Categories:util

Adds an overlay that will crash the docker-compose application if the ledger has not increased in a given amount of time. This is useful for detecting node asynchrony and similar conditions without a more advanced monitoring setup.
Most of the changes here are permissions changes on compose files.
Testing
To validate
# to ensure that it will run normally
LEDGER_INCREASE_PERIOD_SECONDS=300 just suzuka-full-node docker-compose local.ledger-should-progresst will run normally

# to ensure the crash occurs
LEDGER_INCREASE_PERIOD_SECONDS=1 just suzuka-full-node docker-compose local.ledger-should-progress

Added
No automated tests have yet been added.
Outstanding issues

We may want to build a monitoring util container. This is a quick solution. More advanced solutions would fall under.
Main still has issues with containers--owing to a bad setup script. Please use an older container when testing.

Inside the nix shell I run
LEDGER_INCREASE_PERIOD_SECONDS=1 just suzuka-full-node docker-compose local.ledger-should-progress
Running docker-compose for suzuka-full-node with override files: -f docker/compose/suzuka-full-node/docker-compose.local.yml -f docker/compose/suzuka-full-node/docker-compose.ledger-should-progress.yml...
Couldn't find env file: /Users/movses/movement-dev/.env
error: Recipe `suzuka-full-node` failed on line 6 with exit code 1

Assume this is because of the aforementioned bad script. For using an old container, should I just go back one commit on main and run docker compose? And then go back to this branch and re run the command? I need some clearer instructions to test.

Inside the nix shell I run
LEDGER_INCREASE_PERIOD_SECONDS=1 just suzuka-full-node docker-compose local.ledger-should-progress

Running docker-compose for suzuka-full-node with override files: -f docker/compose/suzuka-full-node/docker-compose.local.yml -f docker/compose/suzuka-full-node/docker-compose.ledger-should-progress.yml...
Couldn't find env file: /Users/movses/movement-dev/.env
error: Recipe suzuka-full-node failed on line 6 with exit code 1
Assume this is because of the aforementioned bad script. For using an old container, should I just go back one commit on main and run docker compose? And then go back to this branch and re run the command? I need some clearer instructions to test.

To this point we have assumed a .env file. If we want to remove this, it's a line here, but this will change some assumptions in other places the docker-compose target is used.  I would recommend you put in an empty .env or populate accordingly.

@0xmovses


OneTouch

Will OneTouch be supported in authy-ssh ?

bump

it looks like this project is dead

Yeah

Love to see support for this feature added

pssst @danpal ☝

Please get this project up and running again!


Get all Templates deeply, including all their Recipients and their Recipient Tabs in one go

Hi there,
we are currently trying to load all templates in a deep-include mode, including all their Recipients and their Recipient Tabs in one go.
However, this seems to not be possible.
We can only:

either, first load all templates including their Recipients // here we are still mising the Tabs
or load templates only (without Recipients) and then for each template to load their Recipients including their Tabs // here we have too many over-the-network requests.

It would be optimal if we could load them all deeply in one go.
Any plans to support this.
Thanks.
/GJ

That's correct, DocuSign doesn't have a single method that will allow you to go wide (multiple templates) and deep (template tags). You'll need to iterate through the list and for each template make the GET call with include=recipients,tabs. If you have a significant number of templates, you may consider using the version of that call that returns the HTTP info so you can track the API Rate Limits (by default 1k calls per hour, and there's a burst limit of 500 calls over 30 seconds).

yes indeed we have a lot of templates over 150 per country and there are 6 countries... so doing separate HTTP requests just to include addional data, will easily reach that 1k requests per hour limit.
Ok since this is done for company as user of docusign API, my colleagues will probably reach out via other channels, to increase this limit.
The option to enable include on Tabs might be worth while considering...
Closing it for now... Thanks for your quick response.


Add support for RealmEvents and Realm UserProfile

Description of your changes
Add support for keycloak_realm_events and keycloak_realm_user_profile
I have:

[x] Read and followed Crossplane's [contribution process].
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Tested it on my local k3d instance with default keycloak (https://github.com/codecentric/helm-charts/tree/master/charts/keycloakx).
Known issue
During testing I discovered that when creating the UserProfile resource from scratch in an incorrect way (e.g. removing the attribute "username" or "email"), it is shown as synced and ready in K8s, but not actually reflected in Keycloak. This is resolved by adding the missing attribute. Then it is correctly reflected in Keycloak (and K8s). If one then applies the resource in the initial invalid state again, it is correctly shown as non-synced in K8s.
Probably an issue with the terraform provider.

lgtm


Upsert results in an QueryException on MS SQL

Laravel Version: 8.13.0
PHP Version: 7.4.12
Database Driver & Version: sqlsrv, Microsoft SQL Server 2017

Description:
The newly introduced upsert() function results in the following QueryException:
SQLSTATE[HY000]: General error: 20018 A MERGE statement must be terminated by a semi-colon (;). [20018] (severity 15) [merge [foo] using (values (1, 'Foo'), (2, 'Bar')) [laravel_source] ([id], [name]) on [laravel_source].[id] = [foo].[id] when matched then update set [name] = [laravel_source].[name] when not matched then insert ([id], [name]) values ([id], [name])] (SQL: merge [foo] using (values (1, Foo), (2, Bar)) [laravel_source] ([id], [name]) on [laravel_source].[id] = [foo].[id] when matched then update set [name] = [laravel_source].[name] when not matched then insert ([id], [name]) values ([id], [name]))
Steps To Reproduce:

Use the sqlsrv driver with an MS SQL database

Create a simple database table, for example:

CREATE TABLE [dbo].[foo] (
    [id] bigint,
    [name] nvarchar
);

Execute a simple upsert statement, for example:

DB::table('foo')->upsert(
    [
        ['id' => 1,'name' => 'Foo'],
        ['id' => 2,'name' => 'Bar'],
    ],
    'id',
    ['name']
);

@paras-malhotra do you have any ideas on this?

Sent a PR to fix this: https://github.com/laravel/framework/pull/35112
@jasperjorna can you confirm that this fixes the issue?

@paras-malhotra Confirmed this fixes the issue, a typical case of a missing ;.
Thank you for the quick update. 👍


users felt the process was too long winded, wouldn't recommend to a friend

Without using a lower level of assurance, the only real option we have here is making it clearer to people before they start Verify that it will take a while

@sanjaypoyzer agreed - LOA1 is the only way to reduce the length of the Verify registration journey. However - perceptions such as these are usually indicative of an imbalance between effort and perceived value, so perhaps we can do something in terms of increasing perceived value?
Also - the design pattern for 'one thing per page' says that this should be the starting oint until user research suggests otherwise. Could this be a case of user research suggesting otherwise?

@petegale Yep, agreed that this could be linked to perceived value, although only if the user's quote came at the end of the process. Was that the case here @joanneSouthern?
Which 'one thing per page' parts of the process do you think are contributing to the feeling that the process take a long time?

First thoughts on this, might be worth discussing in more detail
There are some elements of the journey that feel repetitive. I reckon they might be a good place to start. Could we consider "confirm your information is correct" as one thing? That could bring confirm address and confirm d.o.b. into one.
I wonder also wether those who are eligible need to be told they can proceed? Couldn't we just let them proceed and only include a page for those that aren't eligible?

Closing this as a duplicate of #190.


All slides generated in one file when DOS line ending

I'm trying to generate some slides from a markdown file, but all slides are generated in one slide001.md file instead of many.
After some digging, it seems that it is because of my setlocal fileformat=dos in my after/ftplugin/markdown.vim.
I'm running ubuntu, but I like my markdown files to use a DOS line ending so they can more easily be shared (and diffed) with co-workers under windows.

@pixelastic hey there. have you tried this in a while? is it working now?

I must say I switch to another tool to make my slides, and I don't remember if that specific issue was fixed. I'll have to give it a try. Still, I do not own a Windows machine so I might not be the best person to test :)

Ok. Thanks. Closing for now. Will re-open if Windows users are still seeing this.


Record oslc options in comment in the oso file

Makes debugging a little easier for me, I don't need to wonder what command line options (defines or include directories, etc.) were used.

LGTM


Makefile | Fix invalid target name

Replace .PHONE with .PHONY as intended.
fixes GH-345

Linting errors are unrelated to this change. Proceeding with merge.


ISRC get deleted on linking the recording with a Spotify track

On linking the recording with a Spotify track, cause an existing assigned ISRC to be deleted.

Reported commit is not related to the issue.


Commented-out line in Servo Backend needs investigating.

https://github.com/j5api/j5/blob/7c90ee9886ddf9fbc88ca942639e94aa53611a50/j5/backends/hardware/sr/v4/servo_board.py#L65
I believe this was due to them crashing every time I tried with this line in there, despite it being in the protocol. Possibly a side-effect of the buggy firmware.

This caused it to not work. It shouldn't be commented.


Feedback

Hi,
I've been trying to use wherehows and I'd like to give a little bit of constructive feedback.
I think the user interface is great for the front-end, it really achieves its goal.
But I think the backend could be way better. As per my understanding, the backend is what's allowing data to go into the mysql database, which will in turn feed the front-end.
I have given up trying to make the backend work. I see where it's headed, but I don't think it's usable nor maintainable for an average user. It probably is working as intended when configured, but configuring it is way too hard.
Here is what I think is missing to make this product great: a backend UI:

Filling the properties in wh_property table should be the first thing asked by the user in case these properties don't exist.

Any API call shouldn't succeed until these properties are filled. There, a UI would be great.
Some of these properties could be filled by the backend itself I think: jdbc connection url, username, password, etc... all accessible properties within the backend play app.
the encryption file could be randomly generated and placed at a well defined location. Think of how much the average user (like me) shouldn't know about
wherehows.ui.tree.dataset.file	: these should be standard if you also reference a location for these in your front-end application.conf.

Already as you can see, a bit of hurdle just getting this one table right.

Adding a database:

there should be a UI for that. If I'm supposed to reference a few details to allow the backend to connect to my db, I don't want to make an API call for it, I just want to fill that info in a form. I also would like to see all the databases that my backend covers without logging in directly into mysql database. Getting stats such as last job date, how long it took to run, how much metadata was extracted, would be amazing too!
The backend should check whether or not the provided driver class exist. If it doesn't, it should offer a way to download the drivers, and the backend itself should place these drivers into the jar folder. I guess you don't want to bundle any drivers for licensing issues, but there's a lot of added value to just guiding the user in that process, by automating it entirely. In the end, as a guy who has information about a few databases my company uses, I just want a UI to reference them, and I expect WhereHows to do its magic.

Adding an application: same as above, an UI would be great to put everything together.

Pretty much any endpoint of the API: if the user is expected to manually run a query, create a UI for it (form / table, not much more).

Also:

Distribute binaries, or docker images of these binaries. Show people which config file they should edit, and that's how much anyone trying to setup your product should do. In today's IT world, I think it's key to have as little setup steps as possible.
Be consistent in your config variables. web/application.conf and backend-service/application.conf both reference the WHZ database, but one uses env variables, one doesn't. IMO they both should.
Clarity of the documentation. I'm having a lot of trouble navigating the documentation, reading the main README.md or the Getting Started Wiki, jumping around between pages, etc etc. I suggest you take someone within your company, and try to have them install / run wherehows from scratch. Just observe how they read the docs, what they don't understand, etc.
If you don't want to re-write the docs, I understand you, it's long and painful. You guys are the ones who truly own and understand the product, so why not make a short video, that shows the entire process to stand wherehows up? Just show me how to install, configure, deploy, and add one application and one database (hive, oracle, teradata, whatever). The rest, the users can figure out. At least they'll get a good understanding.
You might have included some confidential LinkedIn information somewhere. Please contact me at stephane at simplemachines dot com dot au to discuss that.

Hopefully this feedback helps. Happy to see your thoughts on it. You guys have an amazing product, it just needs a tiny push to become an amazing, and an usable product.
Best regards,
Stephane

It sounds great! The cmd line is too hard to use.

Thanks for the great feedback!
WhereHows has planed several usability improvement besides our feature development.

Documentation improvement.
Configuration simplification, including config files.
(Long term) Backend admin UI for configuration, management and monitoring.

Stay tuned for our updates!

Dear issue owner,
Thanks for your interest in WhereHows. We have recently announced DataHub which is the rebranding of WhereHows. LinkedIn improved the architecture of WhereHows and rebranded WhereHows into DataHub and replaced its metadata infrastructure in this direction. DataHub is a more advanced and improved metadata management product compared to WhereHows.
Unfortunately, we have to stop supporting WhereHows to better focus on DataHub and offer more help to DataHub users. Therefore, we will drop all issues related to WhereHows and will not accept any contribution for it. Active development for DataHub has already started on datahub branch and will continue to live in there until it's finally merged to master and project is renamed to DataHub.
Please check the datahub branch to get familar with DataHub.
Best,
DataHub team


feat(transformer): add methods to BoundIdentifier

BoundIdentifier helper previously only had methods to create a read-only IdentifierReference. Add methods to also create write-only or read-write IdentifierReferences.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4897  👈
#4896
#4895
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

Ah, The BoundIdentifier looks very helpful! I just learned about it.


Added Superdense endcoding and decoding circuits to CircuitZoo

Running the circuits from this PR is somehow returning inconsistent results:
using QuantumSavory
using QuantumSavory.CircuitZoo: SDEncode, SDDecode

##Set up an entangled bell pair
ra = Register(1)
rb = Register(1)

initialize!(ra[1], Z1)
initialize!(rb[1], Z1)

apply!(ra[1], H)
apply!((ra[1], rb[1]), CNOT)

message = [1, 1]

SDEncode()(ra, message)

rec = SDDecode()(ra, rb)

versus when simply running a program without using any registers:
using QuantumSavory
using QuantumClifford, QuantumOpticsBase

function alice_node1()
    message = rand(0:1, 2)
    println("Sending message: $message")
    state = S"XX
              ZZ"
    if message[1] == 1
        state = P"ZI"*state
    end
    if message[2] == 1
        state = P"XI"*state
    end
    return state
end

function bob_node2()
    state = alice_node1()
    apply!(state, tCNOT, [2,1])
    apply!(state, tHadamard,[2])
    msg = Ket(state)
    println("Message Received by Bob: $msg")
end

bob_node2()

Does there seem to be any mistake with the encoding or decoding circuit or could there be a bug somewhere?

could you try to investigate what is happening step by step
the register has a staterefs property which you can use to see what state is being stored in it
julia> r = Register(3); initialize!(r[1], X1);

julia> r.staterefs[1].state[]
Ket(dim=2)
  basis: Spin(1/2)
 0.7071067811865475 + 0.0im
 0.7071067811865475 + 0.0im

You can also try the clifford representation given that you already have a related test
julia> r = Register(3, CliffordRepr()); initialize!(r[1], X1);

julia> r.staterefs[1].state[]
𝒟ℯ𝓈𝓉𝒶𝒷
+ Z
𝒮𝓉𝒶𝒷
+ X

I will not always be able to review quickly after you submit a pull request. Please proceed with trying to investigate and fix even if I have not reviewed.

Needs the next QOBase release


[Refactor] A working Search Component

File Name
script.js , index.html
Reason for Refactoring the Code
I want to add search bar functionality using performSearch() functionality assigned in the html file. Currently, the search functionality is not present in the website, only a search bar is present so I would like to change that.
Please assign me this issue @swaraj-das @AnitSarkar123
Checklist

[X] I have checked the existing issues.
[X] I have read the Code Of Conduct
[X] The changes don't break the code
[X] Please attach the screenshots and video of the development work once it is done

@swaraj-das Please check my PR and review it.


The turn-off must be utilization-based (Red-Cells!)

Simple time-triggering can cause network issues; the app must take into account the current traffic utilization
•  Turn-off cannot be based solely on time, but must be based on current traffic utilization
•  The utilization must be monitored continously, time granularity: 15min
•  There is no fixed threshold for utilization, as for links with smaller capacity the limit will be reached faster, as for links with higher capacity; Sven’s team is working on finding a suitable definition, which possibly could be used here as well
•  a suitable threshold must be found/defined
•  the treshold must be configurable
•  it would be better if the monitoring would run on the device itself, rather than be done from an outside app

This issue seems to be redundant with issue #21 .
Text of the requirement has been copied into the requirement box of issue #21 .


Design logical database model and schema

As a developer
I need to execute Create, Read, Update, & Delete (CRUD) operations on customer information
So that I can define functions to list, read, create, delete, update customers
Details & Assumptions:

We need to define how the data is organized and how the relations among them are associated
We need to store customer information including customer’s first, last name,  customer id, password, and address
We need to formulates all the constraints that are to be applied on the data like customer id is unique, customers also have at least one address

Acceptance Criteria:
When the database model covers all information we need
And facilitate rapid data lookup, retrieval, and analysis
And support and ensure the accuracy and integrity of information
Then the logical database model and schema is feasible

I think we also need nickname and create_date, which is the date the customer account was created.


Prevent certificate recreation

Description
it seems the API returns the values in random order.
      ~ subject_alternative_names = [ # forces replacement
          - "*.example.net",
          - "*.prod.example.com",
            "*.prod-eu-west-1.example.com",
          + "*.example.com",
          + "*.prod.example.net",
        ]

Motivation and Context

Breaking Changes
it might force recreation of the certificate for the last time.
How Has This Been Tested?
yes
Terraform v0.12.26
+ provider.aws v2.66.0
+ provider.kubernetes v1.11.3
+ provider.local v1.4.0
+ provider.null v2.1.2
+ provider.random v2.1.0

Unfortunately, this is not an acceptable fix for everyone. There are still the same amount of cases when sort is not going to help.
See #20 and https://github.com/terraform-providers/terraform-provider-aws/issues/8531 for long discussions.
I am going to close this PR.


Make RequirementSummary equality and hash unsentive to version format variation

Fixes #1192
packaging.specifiers.SpecifierSet (ireq.specifier) provides equality and
hash definition that are based on a canonical specifier representation.
Basing RequirementSummary equality and hash on those allows to easily
side-step any version/specifier normalization concerns on our side.
Effectively, makes equality and hash of
test_package==1.2.0 and test_package==1.2 to be the same, as expected.

Changelog-friendly one-liner: Fix pip 20.2 compatibility issue that caused pip-tools to sometime fail to stabilize in a constant number of rounds.
Contributor checklist

[X] Provided the tests for the changes.
[X] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
[X] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

Argh, forgot to check with pip<20.2 before submitting 🤦♂ .

I locally tested, and the new code actually works with pip 20.0, 20.1 and 20.2.
But only pip 20.2 has the updated vendored packaging version such that the canonical SpecifierSet is used for equality and hashing.
But it's also only with pip 20.2 that pip-tools needs that enhanced equality/hash on RequirementsSummary.
So I should be able to put a condition mark on some specific test case, and this should be good.

@vphilippon

Alternatively, we can drop the older pip versions as per our new policy, right?

Yeah, there is a #1191 to drop 20.0.

Thanks @vphilippon!


pull request for e2e test at 11/21/2016 08:56:05

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[1.9.4] WAILA Integration reports the wrong machines

You're probably aware of this but I'm going to report it anyway, WAILA reports the wrong machines:

I think this is an issue with WAILA. It seems to only be able to display information based on the block ID and ignores any metadata.

Good point, it doesn't work for Iron Chests either.

Yeah, not on my end. I'll wait to see if WAILA fixes the issue.

has it been reported to WAILA? or should I report it?


Navigator is not defined

I am currently facing an issue when trying to build my project. Vue social sharing module is throwing an error at vue-social-sharing.common.js line 235 var ua = navigator.userAgent.toLowerCase(); which says that navigator is not defined. I tried changing the version of vue social sharing to see if the error maybe was in the latest versions but tried all the versions from 0.x.x to 2.x.x and had no luck getting rid of that error.
My project is built on Nuxt 2.8.1

Hello @jdospina95,
indeed the navigator object is only available in the browser and not on the server side.
Could you try to follow the instructions on this page so that vue social sharing gets only loaded in the browser?
Thank you.

I'm running into a similar error message using Gridsome when I attempt to build the app.
Failed to render /posts/how-to-teach-science-through-play-with-a-cheap-pulley-and-rope
ReferenceError: navigator is not defined
    at a.createSharingUrl

Any suggestions? Thanks for creating this -- it's working terrific in development.

@jdospina95 This solution worked for me - https://github.com/nicolasbeauvais/vue-social-sharing/issues/26#issuecomment-304405995

@jdospina95 Thanks!


Question: is the type NodePort service needed to function?

In the README.md and the example-serviceaccounts.yml
we got
---
apiVersion: v1
kind: Service
metadata:
  name: goldpinger
  namespace: default
  labels:
    app: goldpinger
spec:
  type: NodePort
  ports:
    - port: 80
      nodePort: 30080
      name: http
  selector:
    app: goldpinger

which exposes the service to the outside world over the NodePort.
Question is: does goldpinger need it to function or can we just use a normal ClusterIP service?
Security wise it doesn't seems to be a good default to me.
If I wanted, I also just could use kubectl port-forward or create a nginx resource for it.

No, the NodePort is not necessary. You could use an ingress controller, a host port, or any other means of reaching out to them.
NodePort is just easy to use in an example, because mostly everyone understands it.
Thanks for the question !


[Paddle] Fix device memory leak

Description
Fix device memory leak caused by pp forward hook.
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Infra/Build change
[ ] Code refractor

Changes

Avoid register PP fwd begin hook when CUDA graph is not enabled or PP is not enabled.

Checklist:

[ ] I have read and followed the contributing guidelines
[ ] The functionality is complete
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Add @eee4017 to review

@zlsh80826  Would you please trigger pipeline?

/te-ci paddle

/te-ci paddle

@zlsh80826 Would you please trigger pipeline?

/te-ci paddle


Layout glitch in notebook

The top of the in-between cells code / markdown buttons is cut off.

Looks like a regression of zindex update.

I don't see this, I think it went away


[#3432] improvement(test): Add kerberos authentication IT for HDFS cluster

What changes were proposed in this pull request?
Add test cases to test Kerberos authentication for the HDFS cluster.
Why are the changes needed?
To make code more robust.
Fix: #3432
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
test cases.

@yuqi1129 please check the CI failure in this PR.

@yuqi1129 please check the CI failure in this PR.

I have noticed it and am working on it.

Close as it was replaced by #3527


Provide nested line item modal for container items

1. Why is this change necessary?
With the introduction of the container line item in version 6.5, a framework was set for enabling custom integrations. However, there's an existing gap: for orders containing a container line item, there is currently no functionality allowing users to view the child items within the order detail view.
2. What does this change do, exactly?
Introduced the new line item container in the order.types.ts.
Updated the sw-order-line-items-grid component logic to provide the nested line item modal.
3. Describe each step to reproduce the issue or behaviour.

Create an order with a container line item.
Navigate to the order detail view.

4. Please link to the relevant issues (if any).
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

🤖 Generated by Copilot at 66eec88
This pull request adds support for container line items in orders, which can group other line items together. It introduces a new container type for line items, and modifies the sw-order-line-items-grid component to allow opening a nested line item modal for container items.

🤖 Generated by Copilot at 66eec88

Add a new line item type container that can hold other line items (link, link)
Enable opening a nested line item modal for container items in the order line items grid (link, link)
Adjust the label of line items to be a link if they are product or container items (link)

Hi @stefanpoensgen, apologies for taking so long to process your PR. Would you mind adding a jest test, that checks, if that div is rendered for container line items?

Thank you for your contribution, your PR has been merged 🎉 💙
Deeply sorry for how long it took.


Cleaning of canvas.html and adding proper comments to css and js

Cleaning of canvas.html required since there is lots of unnecessary CSS and js  and adding proper comments to css and js

@ankitapuri kindly assign me this issue


Allow multiple correct answers for "radio" type questions

We had a usecase where a single-choice question (using radiobuttons) had multiple correct answer options, and the user (obviously) had to choose one of them to pass that question. This PR implements this.
The previous mode of specifying one correct answer for a radiobutton-type question is still possible, so this PR is backwards compatible.
Additionally, when clicking "Check Answers" and the answers are highlighted, this new mechanism would profit from highlighting all correct answers to a radiobutton type question even if a correct answer was chosen (so users can resolve the doubts they had when choosing an answer). I didn't implement that, though.

Thanks for the update! Definitely a useful feature to support.


Version range comparison

Proposed fix for #2

I tested this branch on 3.10.7 and just installed 3.10.8 and the IR control is working on both (after changing the version in the API file).

Thanks @Hexagon! Looks good on first glance. I'm still on 3.9.12 but will try to find the time to update in the coming week and will handle #2 and merge after I've had a chance to run this.


DIV gets replaced by P

Customers report an unexpected behavior of divs being transformed to p tags. The expected behavior was to remain div.

You need to set semantic option to false. Cf. http://alex-d.github.io/Trumbowyg/documentation.html#semantic

Thanks Alex. I made no note of div in the documentation but I will see if that does the trick.

divs still keep changing to p, even though semantic: false

Experiencing the same problem, though semantic is set to false; any solution?


Wouldn't i18n files be more accessible?

Hi,
Wouldn't i18n files be more accessible if you change angular 1 style guide link on the README.md to
https://github.com/johnpapa/angular-styleguide/tree/master/a1/
not
https://github.com/johnpapa/angular-styleguide/tree/master/a1/README.md
?
so people landing on the first page from other countries might find it easier that there are translated docs.
thanks

help me understand how this helps?


Advanced mode: Blocking Constraints

One example where this library doesn't work well:
have a Paragraph with some inline spans that have different styling (e.g. bold, different fontSize etc.)
currently the library assumes styling is uniform across paragraph.
The way to solve this is to offer an API function that work per Span and not per Paragraph, but being able to pass on constraints. Such as for a given "line" how much of the available space is blocked already (could encode it as vectors, e.g. if line width is 100, 0-20 blocked, 60-80 blocked etc).
This would also allow Text to "wrap around" objects (e.g. image inside text), which is currently not possible with HTML / CSS.
The result of this advanced function call could be used for Canvas or SVG text rendering.
Essentially for a given Array of Spans with different Style and array of line blocking vector (which one could manually precompute), one wants returned an array of "TextFragments", that each have their own bounding box, X and Y etc.

Wouldn't having a "first line indent" px be enough? If you want to split styling you need only split your outputs and track your indents. The bigger issue here is the space between the spans. Only you now what it should be and there is no way in canvas to teaching the kerning/hinting engine that you are mixing styles.

true that could work, would just require more work for the developer.
But yes with firstLineIndent, technically it should be possible to have multipleSpans with different styles render together.
perhaps we could start there and down the line offer a more advanced API that takes care of producing TextFragment arrays automatically including for content it should wrap around.

The problem with a convenience API is its likely going to be a less efficient API. The most efficient way to deal with spans would be:

split text into spans
configure context for span
measure span
draw span
go to 2

since we don't do the drawing for the user and only they know what state they are changing between draw calls, we would have to be very obtuse about state changes and span setup.

That is correct, except for that you don't have to draw the Span, you can also collect the result in bulk and draw later or do the calculations in a WebWorker for improved latency.
And you are also correct that it would be a less efficient API.
Currently the library emulates the text splitting behaviour of the inbuilt browser so that the logic can be brought into contexts with no native line splitting (canvas, svg).
You could consider if you wanted the library to be more than that: mainly that now that you control the rendering stack, one could offer features that HTML does not support, such as wrapping around / inside objects, which can be done in all professional publishing software (InDesign, ...) but not yet in the browser:
Example Image:

Which would only require to pass on "block" segments of a given line etc.
But I understand if its out of scope for this library, it is yours after all!


DOC: Negative binomial distribution clarification

The negative binomial distribution can be parametrized with either
the number of succeses or failures. The tutorial explains what was
chosen in the scipy implementation, but the reference does not.
In my opinion it's worth to describe it here, to me it is a must have
to be able to look it up quickly in the reference.

This is certainly a very good idea, thanks for working on this!
The wording however could be improved. First of all, these are not necessarily keywords, positional arguments are also accepted. I'd suggest something along the lines of "Negative binomial distribution describes a sequence of i.i.d. Bernoulli trials, repeated until a predefined, non-random number of failures occurs. nbinom is parameterized via the number of successes n and a probability of a single success p". And it should go into the Notes section.

@ev-br  your sentence sounds a bit mixed up
either number of successes or failures is fixed, the other one is the random variable
e.g. if successes is fixed at parameter n, then k is the number of failures
AFAIU
(In statistics I'm more used to the interpretation that it is a Poisson distribution with a gamma mixture for poisson/mean parameter.)

@ev-br Ad keywords: The doc for the normal distribution talks about keywords, by the way, aren't they positional args as well?
Another thing: scale and location for the normal dist are described not in the notes sections. Which way should it be - if Notes, I can change the doc for the normal distribution as well (to make it consistent).
@josef-pkt Your perspective (Poisson distr with gamma mixture) got me thinking that maybe the best documentation is the bare pmf. That's what I enjoy about maths in general - everyone has their own intuition of what certain mathematical concepts 'mean' but at the end of the day there is just one formula to be shared amongst people :)
What do you think about such wording, now in the notes section we have:
The probability mass function for nbinom is:

nbinom.pmf(k) = choose(k+n-1, n-1) * p**n * (1-p)**k

for k >= 0.

nbinom takes n and p as shape parameters.

I suggest:
Negative binomial distribution describes a sequence of i.i.d. Bernoulli trials, repeated until a predefined, non-random number of failures occurs.

The probability mass function of the number of failures for nbinom is:

nbinom.pmf(k) = choose(k+n-1, n-1) * p**n * (1-p)**k

for k >= 0.

nbinom takes n and p as shape parameters where n is the number of successes, whereas p is the probability of a single success"

@Kornel ping. It'd be nice to follow up: if you add a commit to your local branch and push, it'd show up here in the PR. Your wording with Josef's correction (number of failures is not fixed) sounds fine.

@ev-br there you go, I've changed the doc and merge master.

@Kornel thanks! Some more work still, I've left a couple of comments. Once you push, it'd be great if you rebase instead of merging master and force-push.

@ev-br Done :)

Thanks @Kornel ans congrats with what I believe is your first scipy commit. Keep them coming!

Thanks :) it is, I'll do my best.


Diff

Added tests for ct hook.
Do not merge (just for diffing)

It is already in master, there was some issues creating a first commit :)
Tip for future: create new repos with empty first commit :)


Successful run of visualize_detector_output.py outputs empty file "anno_"

After successfully running the run_tf_detector_batch.py on a test-subset of 10 images I'm getting stuck after running visualize_detector_output.py.
I'm able to successfully run visualize_detector_output.py as referenced by this log:

C:\git\cameratraps>python visualization\visualize_detector_output.py G:\Datasets\Test\test.json G:\Datasets\Annotations.jpg -i G:\Datasets\Test\test.json

Options to the script: Namespace(confidence=0.8, detector_output_path='G:\Datasets\Test\test.json', images_dir='G:\Datasets\Test\test.json', out_dir='G:\Datasets\Annotations\.jpg', output_image_width=700, random_seed=None, sample=-1, sas_url=None)
detection_categories provided
Detector output file contains 10 entries.
Starting to annotate the images...
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:00<00:00, 17.83it/s]
Rendered detection results on 10 images, saved to G:\Datasets\Annotations.jpg.

But the output of the script is an empty file "anno_G" with no discernible extension.
Where have I gone wrong!

Oops, there was a bug in that script when running on Windows.  Fixed!  Get latest and try again?  Sorry about that.
FWIW, this is not the script we typically use for previewing output from our detector, we usually use:
https://github.com/microsoft/CameraTraps/blob/master/api/batch_processing/postprocessing/postprocess_batch_results.py
...which produces a nice html page, like this one:
http://dolphinvm.westus2.cloudapp.azure.com/data/snapshot-serengeti/s7-eval/postprocessing-no-gt/
...and - if you have the "right" answers for your data - can also be used to produce precision/recall analyses, like this one:
http://dolphinvm.westus2.cloudapp.azure.com/data/snapshot-serengeti/s7-eval/postprocessing-detection-gt/
Hope that helps!
-Dan

Awesome, thanks for the support and info!


Unrolling subtrees for entities with multiple super-entities

If a repository contains entities that have multiple parent entities, clicking on one unravels the tree structure for every other instance. This results in the view jumping around and potentially additional long loading time. Maybe this should be changed?

All three instances of "Süßwasser" are selected at the same time:

The problem is that entities with multiple super entities are rendered as tree nodes with identical ids. We cannot distinguish them. So it is not possible to know which super entities must be expanded, if we only get the selected entity (e.g. via entity search or deep link).
We could add an option to disable auto expansion, for the user or based on the repository type (I think this is only a problem in concept repositories).


[@azure/openai] - ListCompletions API hanging for 5 mins before terminated

Package Name
@azure/openai

Package Version
1.0.0-beta.8

Operating system:

[X] nodejs

version:

[X] browser

name/version:

[X] typescript

version:

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
In the @azure/openai, I found an issue with listCompletions API. While calling this API, if the request is stopped in the middle, then the program just hangs for about 5 minutes instead of getting terminated.
To Reproduce
Steps to reproduce the behavior. Execute the following program:
import {
    OpenAIClient,
    AzureKeyCredential
} from "@azure/openai";
import * as dotenv from "dotenv";
dotenv.config();

const azureSDKOpenAIApiKey: string = process.env.AZURE_SDK_OPENAI_API_KEY ?? "dummy";
const endpoint: string = process.env.AZURE_SDK_OPENAI_ENDPOINT ?? "dummy";
const deploymentName: string = process.env.AZURE_SDK_OPENAI_DEPLOYMENT ?? "dummy";

const azureSDKOpenAIClient = new OpenAIClient(
    endpoint,
    new AzureKeyCredential(azureSDKOpenAIApiKey)
);

const stream = await azureSDKOpenAIClient.listCompletions(
    deploymentName,
    [
        'How is your day going? Be extremely verbose.'
    ],
    {
        maxTokens: 50,
        model: 'gpt-3.5-turbo-instruct'
    }
);

let i = 0;
for await (const chunk of stream) {
    console.log(chunk);
    i += 1;
    if (i > 5) {
      break;
    }
}

Expected behavior
It seems to terminate immediately using the Open AI SDK.  I expect the same behavior in this SDK also.

So I think what is happening here is that the keepalive on the socket is preventing Node from exiting. If you modify the repro to have a custom policy that turns off keepAlive, the hang goes away:
const azureSDKOpenAIClient = new OpenAIClient(
  endpoint,
  new AzureKeyCredential(azureSDKOpenAIApiKey),
  {
    additionalPolicies: [{
      policy: {
        name: "disableKeepAlive",
        sendRequest: (request, next) => {
          request.disableKeepAlive = true;
          return next(request);
        }
      }, position: "perCall"
    }]
  }
);

I found out that disableKeepAlive is not exposed on request options so the user can't set this request property on the request, but perhaps the codegen could set the flag on requests where we have an SSE response?
Alternatively, we could consider having core-rest-pipeline be a little smarter about turning keep alive off on the socket when it notices a streaming response is requested or calling unref on it to prevent the socket from blocking the runtime from exiting.


Issue: Aw, Snap! Something went wrong while displaying this webpage, Err code:SIGSEGV

What version of daisyUI are you using?
^4.12.14
Which browsers are you seeing the problem on?
Chrome
Reproduction URL
https://daisyui.com/
Describe your issue
When I visit the DaisyUI website and click or even hover on the "How to Use" button (or the area nearby), the page crashes and shows the following error:
"Aw, Snap! Something went wrong while displaying this webpage."
The associated error code is:
ERR_CODE: SIGSEGV
This issue seems to be browser-specific, as it occurs on Google Chrome, but it works perfectly fine in Firefox. The problem persists even after clearing the browser cache and using incognito mode.
Google Chrome: Version 124.0.6367.78 (Official Build) (64-bit)
My Laptop Specification:
Hardware Modal: Dell Inc. Latitude 3400
Processor: Intel® Core™ i5-8265U CPU @ 1.60GHz × 8
My OS Specification
Distributor ID:	Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04

Thanks for reporting, but this is not something I can help with. It's either browser issue or hardware (Memory maybe?) issue.
Usually updating the browser fixes this, or if it's the latest version of chrome, maybe downgrade to previous version 🤷♂


Plugin doesn't work, throws "command sftp.config is not found" error

Do you read the FAQ?

[x] Yes.
[ ] I am going to read now.

Describe the bug
Plugin version 1.12.3, VSCode 1.33.1, macOS Mojave 10.14.4
SFTP doesn't start, can't see config file. When i try to SFTP: Config, it throws error: "command sftp.config is not found".
Reinstalling the plugin and VSCode didn't help.
To Reproduce
Steps to reproduce the behavior:

Run VSCode with any (or without) project.
SFTP doesn't start and does not have any SFTP-commands in Command palette.
The only available command there is SFTP is SFTP: Config, but when chosen, it throws an error "command sftp.config is not found".

Expected behavior
SFTP should work.
Desktop (please complete the following information):

OS: macOS Mojave 10.14.4
VSCode Version 1.33.1
Extension Version 1.12.3

Extension Logs from Startup - required

Open User Settings.

On Windows/Linux - File > Preferences > Settings
On macOS - Code > Preferences > Settings

Set sftp.debug to true and reload vscode.
Reproduce the problem, get the logs from View > Output > sftp.

There is no any logs there, just empty.

I have installed previous version of plugin (1.12.2) and everything works correct with it.
After updating to 1.12.3 it stops working.

Try a completely uninstall.

Try a completely uninstall.

So, turns out, i should completely uninstall all extensions? I have a plenty of them, that will be tough to restore.

I uninstalled just a plugin folder, and the new error appeared.
When i do Sync Local > Remote, vscode is showing a "Failure" popup error.
[05-06 12:24:19] [error] Error: Failure
	at SFTPStream._transform (/Users/lovebeam/.vscode/extensions/liximomo.sftp-1.12.4/node_modules/ssh2-streams/lib/sftp.js:412:27)
	at SFTPStream.Transform._read (_stream_transform.js:190:10)
	at SFTPStream._read (/Users/lovebeam/.vscode/extensions/liximomo.sftp-1.12.4/node_modules/ssh2-streams/lib/sftp.js:183:15)
	at SFTPStream.Transform._write (_stream_transform.js:178:12)
	at doWrite (_stream_writable.js:410:12)
	at writeOrBuffer (_stream_writable.js:394:5)
	at SFTPStream.Writable.write (_stream_writable.js:294:11)
	at Channel.ondata (_stream_readable.js:672:20)
	at Channel.emit (events.js:182:13)
	at Channel.EventEmitter.emit (domain.js:442:20)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Channel.Readable.push (_stream_readable.js:219:10)
	at SSH2Stream.<anonymous> (/Users/lovebeam/.vscode/extensions/liximomo.sftp-1.12.4/node_modules/ssh2/lib/Channel.js:167:15)
	at SSH2Stream.emit (events.js:182:13)
	at SSH2Stream.EventEmitter.emit (domain.js:442:20)
	at parsePacket (/Users/lovebeam/.vscode/extensions/liximomo.sftp-1.12.4/node_modules/ssh2-streams/lib/ssh.js:3295:10)
	at SSH2Stream._transform (/Users/lovebeam/.vscode/extensions/liximomo.sftp-1.12.4/node_modules/ssh2-streams/lib/ssh.js:693:13)
	at SSH2Stream.Transform._read (_stream_transform.js:190:10)
	at SSH2Stream._read (/Users/lovebeam/.vscode/extensions/liximomo.sftp-1.12.4/node_modules/ssh2-streams/lib/ssh.js:252:15)
	at SSH2Stream.Transform._write (_stream_transform.js:178:12)
	at doWrite (_stream_writable.js:410:12)
	at writeOrBuffer (_stream_writable.js:394:5)
	at SSH2Stream.Writable.write (_stream_writable.js:294:11)
	at Socket.ondata (_stream_readable.js:672:20)
	at Socket.emit (events.js:182:13)
	at Socket.EventEmitter.emit (domain.js:442:20)
	at addChunk (_stream_readable.js:279:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at TCP.onread (net.js:636:20)
[05-06 12:24:19] [debug] Outgoing: Writing OPENDIR
[05-06 12:24:19] [debug] Outgoing: Writing CHANNEL_DATA (0)
[05-06 12:24:19] [debug] Outgoing: Writing OPENDIR
[05-06 12:24:19] [debug] Outgoing: Writing CHANNEL_DATA (0)
[05-06 12:24:19] [debug] Outgoing: Writing OPENDIR

And then the latest strings:
[05-06 12:24:19] [debug] Outgoing: Writing CHANNEL_DATA (0)
[05-06 12:24:19] [debug] Outgoing: Writing OPENDIR

are repeating endlessly.
I tried to rollback plugin to 1.12.3 version, and got the same error.

I installed it on the same configuration as @kolnogorov has. For me "No Commands Matching".

This issue was resolved for me when I updated VS Code to 1.35.1.
Sadly I do not know which version I had before the update, but it was MANY months old.  Here is the about info of my VS Code version and system
Version: 1.35.1 (system setup)
Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f
Date: 2019-06-12T14:30:02.622Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

I updated VS Code to 1.40.0, and even after this update, SFTP doesn't work. If I select the option SFTP: Config, the sftp.config appears again.


Log in - internal users (IDIR)

User Story
As an analyst, I want to login with IDIR so that I can securely access the received applications.
Preconditions
Developers have a list of IDIRs that are granted Analyst access to all features in the Portal, and IDIRs that are granted Administrator additional access to configuring intake dates
Acceptance Criteria

[ ] Create analyst and admin roles in Single Sign On app

[ ] If there is SSO, Analyst is automatically authenticated and redirected to the analyst dashboard,
otherwise, Analyst must log in with IDIR
Landing page url: www.connectingcommunitiesbc.ca/analyst
"Login with IDIR" button leads directly to IDIR login page.

[ ] Given that an Analyst or Administrator is on the IDIR login page,
When the credentials match the list of IDIRs that have access to the Portal,
Then they will be redirected to the analyst dashboard

[ ] When the credentials do not match the list of IDIRS with access,
Then they will receive an error alert saying "Your IDIR has not been granted access"

Design
Landing Page

Dashboard

If there is SSO, Analyst is automatically authenticated and redirected to the analyst dashboard,

Can we remove this? Matthieu has identified that this is not possible

Blocked by:  need to determine if we will use siteminder or Azure for login

needs design for if log in fails

@MarsRomer @marcellmueller did the meeting with SSO team and security happen, and do we have recommendations for the identity provider choice?

yes, we decided to use the IDIR route through SSO instead of Azure.

Super duper minor, but maybe we should change "NWBC members" to "Government of BC employees" seeing as some people from connectivity & other divisions will likely also have access.

@marcellmueller FYI I have run Mars through the role management process

there is a small bug where the user has to logoff after their first attempt otherwise when they try to come back to https://test.connectingcommunitiesbc.ca/analyst they are autorouted to show the 'you do not have access' banner and don't have the option to log in, but the top right of the header has a logout button.


refactor: merge entries and batch_index in raw_curp

Close #256
Please briefly answer these questions:

what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

what changes does this pull request make?

are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

@liubog2008 Thank you for your contribution. Some CI jobs in this pr have failed. Please perform a self-test before submitting.  For specific requirements, please refer to the CONTRIBUTING.md doc. A better way to do a self-test is to use the pre-commit tool. Xline provides a pre-commit configuration file to install some pre-commit hooks and commit-msg hooks. You can install these hooks by executing `pre-commit install --hook-type pre-commit --hook-type commit-msg·.

Please squash these two commit as one and add a Signed-off-by line in the commit message.

I can't reproduce the failed case in my local side and I think the failure is not introduced by this PR?

I can't reproduce the failed case in my local side and I think the failure is not introduced by this PR?

Sorry about the confustion, it seems there's a bug in the test. I'll resolve this in another PR.

Please rebase based on the latest commit, as some CI steps have changed. This may be the reason why the Test Normal job was inexplicably canceled.


local_variable_names: change logic for data-begin structures, check only first level

resolves #868
logic changed for data-begin: only check data structures with depth 1 (in relation to method/form etc)

thanks 👍

Thanks guys 👍


added v2 suffix to go.mod module name

The v2 suffix was dropped in commit 934520f5b.  Was this intentional?

I've signed the CLA.

Dropping the v2 was intentional. Go modules does not require a major version change to have a v2 suffix. The only requirement is that the import path be different from previous major versions.


Improve CI builds for ripple-libpp support (RIPD-1255):

Simplify Travis APT config.
Automatically retry Travis build and test script. Will result in fewer
false negatives.
Travis install scripts use absolute paths.
Update cmake config so that it can succeed under Travis and Appveyor CI.
Build a library of cmake functions for reuse.
Put intermediate cmake output files and executable in
build/.cmake.

No changes to rippled executable code.

@bachase You may also want to take a look at this one, since you have some experience changing the cmake config.

@ximinez FYI http://genbattle.bitbucket.org/blog/2016/01/17/c++-travis-ci/

Current coverage is 64.27% (diff: 100%)

Merging #1838 into develop will decrease coverage by <.01%

@@            develop      #1838   diff @@
==========================================
  Files           704        704
  Lines         50786      50786
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          32645      32642     -3
- Misses        18141      18144     +3
  Partials          0          0

Powered by Codecov. Last update 87756b9...e4eaa22

looks good to me  👍

:+1:

:+1: Left one more nit.

This set of changes holds great promise!!!

Addressed nit, and rebased on 0.40.0-b2.

Still :+1:

Lest anybody think I'm trying to pull a fast one, in addition to rewriting the root-dir error message, I also flipped Appveyor to do its one build with cmake instead of scons. This was inspired by the fact that I had to retry a branch 3 times before it was able to download the scons installer. Problem solved!

@mellery451 @seelabs Rebased on to 0.40.0-b4, squashed, and significantly updated the commit message to reflect the changes made during review.

Rebased on to 0.40.0-b6. Extra care applied to ensure the changes to CMakeLists.txt were propagated to CMakeFuncs.cmake. https://github.com/ximinez/rippled/compare/231a5ae...ximinez:develop#diff-af3b638bc2a3e6c650974192a53c7291


Bug with calculating binary expression

I ran the following query on metrics exported from cAdvisor and kube-state-metrics
container_memory_working_set_bytes{namespace="monitoring", pod=~"kube-state-metrics-.+"}
/ on (k8s_cluster, pod) group_left
kube_pod_container_resource_requests{namespace="monitoring", pod=~"kube-state-metrics-.+", resource="memory"}

The engine returned the following error
execution: unexpected error: runtime error: index out of range [1385] with length 1385

Can reproduce. With a bit different query I got:
Error executing query: unexpected error: runtime error: index out of range [279] with length 20


Make run npm run test on push to features/* branch

You need to prepare .env and dtc.config.json files to make run on github actions.


find_package(mc_rtc REQUIRED) doesn't work correctly from catkin_ws, catkin build.

Hello.
About 6 months before, I was using "find_package(mc_rtc)" in CMakeLists.txt of my ROS package.
And I was able to compile it with catkin build easily.
However, now I cannot run it.

I am purely using "find_package(mc_rtc)" in CMakeLists.txt.
As far as I can see, the error is caused in a deep part.
And I confirmed that FindPkgConfig.cmake and mc_rtc_3rd_party_rosTargets.cmake are existing.
Does anyone have ideas?
Thank you.

Hi @TsuruMasato
Can you check or copy the full message? The message would indicate pkg-config cannot find one of mc_rtc ROS dependencies which are:
set(MC_RTC_ROS_DEPENDENCIES roscpp;nav_msgs;sensor_msgs;tf2_ros;rosbag;mc_rtc_msgs)


Extend CRB styling to also apply in the journal editing windows

Currently, CRB styling only applies in the final rendition of the journals, but not when you edit the content.
Someone told me it might be possible to fix this (https://discord.com/channels/880968862240239708/938840774357970967/1079033924556181525).
Thanks in advance!

Included in 1.12.7


Qeta backend failing with 500 for search requests with special characters included

Hello, dear friends. Here's the gist of it: some of the characters that could trigger such behavior  are : /  \  and sometimes it fails when combined with other ASCII and cyrillic characters. So special characters are the culprit I guess.
Consider this url https://backstage.pyn.ru/api/qeta/questions?limit=10&includeEntities=true&order=desc&orderBy=created&noAnswers=false&noCorrectAnswer=false&noVotes=false&searchQuery=Cannot+read+config+file%3A.
An example response for that would be:
{ "error": { "name": "error", "message": "select \"questions\".*, (select sum(\"score\") from \"question_votes\" where \"question_votes\".\"questionId\" = \"questions\".\"id\") as \"score\", (select count(*) from \"question_views\" where \"question_views\".\"questionId\" = \"questions\".\"id\") as \"views\", (select count(*) from \"answers\" where \"answers\".\"questionId\" = \"questions\".\"id\") as \"answersCount\", (select count(*) from \"answers\" where \"answers\".\"questionId\" = \"questions\".\"id\" and \"answers\".\"correct\" = $1) as \"correctAnswers\", (select count(*) from \"user_favorite\" where \"user_favorite\".\"user\" = $2 and \"user_favorite\".\"questionId\" = \"questions\".\"id\") as \"favorite\" from \"questions\" left join \"question_votes\" on \"questions\".\"id\" = \"question_votes\".\"questionId\" left join \"question_views\" on \"questions\".\"id\" = \"question_views\".\"questionId\" left join \"answers\" on \"questions\".\"id\" = \"answers\".\"questionId\" left join \"user_favorite\" on \"questions\".\"id\" = \"user_favorite\".\"questionId\" where (to_tsvector('english', questions.title || ' ' || questions.content) @@ websearch_to_tsquery('english', $3)\n          or to_tsvector('english', questions.title || ' ' || questions.content) @@ to_tsquery('english',$4)) group by \"questions\".\"id\" order by \"created\" desc limit $5 - syntax error in tsquery: \"Cannot+read+config+file::*\"", "length": 257, "severity": "ERROR", "code": "42601", "where": "unnamed portal with parameters: $1 = 'true', $2 = 'user:default/guest', $3 = 'Cannot read config file:', $4 = 'Cannot+read+config+file::*', $5 = '10'", "file": "tsquery.c", "line": "723", "routine": "makepol" }, "request": { "method": "GET", "url": "[/questions?limit=10&includeEntities=true&order=desc&orderBy=created&noAnswers=false&noCorrectAnswer=false&noVotes=false&searchQuery=Cannot+read+config+file%3A](https://backstage.pyn.ru/questions?limit=10&includeEntities=true&order=desc&orderBy=created&noAnswers=false&noCorrectAnswer=false&noVotes=false&searchQuery=Cannot+read+config+file%3A)" }, "response": { "statusCode": 500 } }
Is this expected behavior?

Some pointers:

https://github.com/drodil/backstage-plugin-qeta/blob/main/plugins/qeta-backend/src/database/DatabaseQetaStore.ts#L122
https://dba.stackexchange.com/questions/135030/filtering-special-characters-in-to-tsquery

Should implement a fix and add test for that, might take a look at some point I have time. Feel free to contribute if someone comes up with a fix!


memory leak when merging reports

Describe the bug
We're using tarpaulin to collect coverage of end-to-end test of kwctl, a Rust cli tool.
The tests are running fine and produce many profraw files. I've seen we are generating 138(!!!) files, maybe we're doing something stupid?!
It looks like there's a memory leak when these files are aggregated. The "Merging coverage reports" step takes a long time and, while running, the memory usage increases significantly.
On my system I've witnessed tarpaulin consume up to 28 GB of memory.
When running inside of a GitHub Action, tarpaulin is killed because it's consuming too much memory.
To Reproduce
We're using tarpaulin 0.31.2, with Rust 1.82.0, on x86_64 Linux.
The issue can be reproduced in this way:

Checkout kwctl code
Ensure docker daemon is running. This is needed to start the registry image locally.
Run make coverage-e2e-tests or just cargo tarpaulin --verbose --skip-clean --engine=llvm --all-features --implicit-test-threads --test e2e --out xml --out html --output-dir coverage/e2e-tests

You can also run these command by prepending GNU Time to have a rough idea about the amount of memory being used:
/usr/bin/time -v make coverage-e2e-tests

Expected behavior
The usage of memory should not be so high.

So each executable ran will generate a prof raw, so how rust's test stuff decides to split things into binaries and any spawned processes built as part of the tests will generate one.
As for the memory usage, unfortunately rust flags are applied to every crate in your dependency tree and all of them will be instrumented for coverage information as a result. This can result in an enormous amount of bloat with a full dependencies instrumented with counters that are often just 0 if it's library functionality you never use...
Still there is likely some room for me to minimise this some more... Out of curiosity have you tried with cargo-llvm-cov and seen if it hits similarly high memory usage?

Still there is likely some room for me to minimise this some more... Out of curiosity have you tried with cargo-llvm-cov and seen if it hits similarly high memory usage?

I've tried cargo-llvm-cov, it's memory consumption is significantly lower:
    Finished report saved to /home/flavio/hacking/kubernetes/kubewarden/kwctl/target/llvm-cov/html
	Command being timed: "cargo llvm-cov --html"
	User time (seconds): 1710.16
	System time (seconds): 34.59
	Percent of CPU this job got: 590%
	Elapsed (wall clock) time (h:mm:ss or m:ss): 4:55.32
	Average shared text size (kbytes): 0
	Average unshared data size (kbytes): 0
	Average stack size (kbytes): 0
	Average total size (kbytes): 0
	Maximum resident set size (kbytes): 3972312
	Average resident set size (kbytes): 0
	Major (requiring I/O) page faults: 995
	Minor (reclaiming a frame) page faults: 5570003
	Voluntary context switches: 86879
	Involuntary context switches: 423985
	Swaps: 0
	File system inputs: 136
	File system outputs: 12062096
	Socket messages sent: 0
	Socket messages received: 0
	Signals delivered: 0
	Page size (bytes): 4096
	Exit status: 0


Send email when long analysis finishes

In the same way we do with the long import processes, we could send an email when an analysis finishes after more than 5 min running. Take care of analysis generated by the public view.

This probably should be done in the analysis API, as Rails doesn't have the information on when the analysis finished. cc @rochoa


Fix headers MMM Notebook

The notebook had many first-level headers 🙈

While we are at it, I noticed a typo in the second sentence: " of the MMM presented in thw paper".


Snake Mini-Game End Screen

Description
Task: Snake Mini-Game End Screen #137
Feature: Mini Games #6
Create an end game screen. Display the score and medal. Change the background colour to represent the medal. Also integrate en exit button, try again button and mini-games menu button. Ensure integration with button style and fonts as well as placement of ui is consistent.
End Screen Design: Create an end screen that displays the player’s final score, medals earned, and other relevant statistics.
Buttons for exit, try again and minigames menu: Ensure buttons follow game skin and work accordingly.
Example (optional)

Part: Depending on the task, you may want to provide some examples of how it would play out in the game. See next point for example...
Armour Benefits: Players can wear different classes of armour. Armour takes damage until it breaks. Armour cannot be healed but can be replaced. If a player is wearing armour, its health is not affected when it takes damage unless the armour is broken.

Dependencies

[x] Snake Mini-Game Termination #117

Milestones

[x] Implement end screen layout and content. (Aug 24)
[x] Implement buttons (Aug 26)
[x] Visually test (as implemented)
[x] Implement escape key and R key to exit and restart the game (respectively) (Aug 26)
[x] Integrate existing font conistent with the game (Aug 26)

Completion Deadline: Aug. 26
Documentation

Main description of feature
JavaDoc EndSnakeScreen

Member
Ella Berglas
@EllaBerglas
EllaBerglas
Rajanya Paul Choudhury
@rp3002
rp3002

Completed in Sprint 1


[decomp] entity-camera and entity-ambient deftypes missing from all types

Why?
We do see (define-extern entity-camera type) and (define-extern entity-ambient type).

We figured this out - they are just types without inspect methods.