Fix : simulate evoked with different sensor types + take into account…

this fixes 2 problems:

simulate evoked with different sensor types. Symptom was not the noise was not scaled properly for mags. Noise was too strong.
take into account projs from the cov to make sure that the noise and the signal belong to the same subspace.

thanks @QB3 for the bug report.

@Qb3 this guy is faling
https://github.com/mne-tools/mne-python/blob/12a85495333e07a80d676dcb0e19a562bd7d380f/mne/beamformer/tests/test_rap_music.py#L115

I will check this this evening

Pushed the fix suggested earlier

@agramfort suggested fix pushed, see simpler more unified code + new test that would have failed with the not-positive-semidef error

... and reverted a now-unnecessary residual tolerance change in test_dipole.py

thx heaps @larsoner for finishing this one !
@QB3 you can know switch back to MNE master for your experiments.


Build fails when make invocation overrides CFLAGS

Overview
Starting from a vanilla 1.7.0 source tree, I am attempting to package soundpipe for Void Linux2. However, the build fails with the following error:
...
cc -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -c -static modules/base.c -o modules/base.o
modules/base.c:8:10: fatal error: soundpipe.h: No such file or directory
    8 | #include "soundpipe.h"
      |          ^~~~~~~~~~~~~
...

Looking at the above cc invocation, it is clear that the appropriate CFLAGS are not getting picked up. This is happening because Void's package builds provide a CFLAGS variable override to their make invocations.
Proposed Fix
Currently, I am working around the problem by patching override directives to all the CFLAGS variable assignments:
$ find -regex '.*Makefile\|.*config.def.mk' -exec sed -i 's/^\(\s*\)CFLAGS/\1override CFLAGS/' '{}' \+

Since it looks like the makefiles are already using GNU extensions, perhaps it would be reasonable to also upstream the above?

This looks like a brute force solution to a very specific problem. I would recommend using a custom config.mk instead.

Agreed. This shouldn't be fixed on the soundpipe end. Thanks for taking a look.


lax.squeeze: ensure DeviceArray is returned

Why? Our convention is that lax functions return device arrays or tracers. See for example similar logic in convert_element_type: https://github.com/google/jax/blob/fd799742e2b48392329d3a8187d2d0d564c431ef/jax/_src/lax/lax.py#L573-L575
Discovered in the course of experimenting with stricter type annotations in #12018

Test?

Done


Collections

See munificent/wren#29

What are you thinking about adding here? Just more basic collection types or something more expansive?

Start with basic collections, then something more expansive. I put in the pure-wren Set example upstream. Once Maps are in upstream, we should think about Sequence / Collection root classes / interfaces.

See #11


"Placeholder" attribute for text-based inputs

I noticed the textarea widget has a placeholder attribute for showing some text before any text is actually input (using the HTML placeholder input attribute). Can this functionality be extended to other text-based inputs (fields.string, fields.email, fields.password, fields.number) as well? For example:
Full_Name: fields.string({
    errorAfterField: true,
    placeholder: "Please enter your full name.",
    required: validators.required("Please enter your full name."),
    validators: [
        validators.maxlength(50)
    ]
}),

produces:
<input type="text" name="Full_Name" placeholder="Please enter your full name.">

It can; but placeholders MUST NOT be used as replacements for labels - ie, infield labels. Placeholders, by spec (and for a11y/UX) must only be example input - there must always be a label visible the entire time one is typing into the field. "Please enter your full name:" is label text, not placeholder text.

So something like this would be better instead of what I initially described?
Full_Name: fields.string({
    errorAfterField: true,
    placeholder: "Please enter your full name.",
    required: validators.required("Shea Belsky"),
    validators: [
        validators.maxlength(50)
    ]
}),

produces:

Yes, totally - altho I'd say "full name" doesn't really need a placeholder :-) it's more useful for things like date fields, when you'd want the placeholder to show the example syntax for dates you expect.

So, is the placeholder attribute supported by these types of inputs? I tried it out and wasn't able to emulate that functionality. Is there any other of populating the placeholder attribute server-side (e.g. without needing any client-side JavaScript)?

It should be supported on anything that takes text input.
I'm happy to add this functionality, but first I wanted to clear up what the proper purpose of placeholders is :-)


Hub stop after a while

Hub stops after a while because of connection to mysql. Here is the log:
terminate called after throwing an instance of 'sqlpp::exception'
what():  MySQL error: Could not execute MySQL-statement: Lost connection to MySQL server during query (statement was >>START TRANSACTION<<
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1551832003" if you are using GNU date ***
PC: @                0x0 (unknown)
Have anyone faced this problem ?

Hi @mhmazrooei
a) please make sure you're running MariaDB & not MySQL
b) this might be a simple socket timeout issue (in which case the correct solution is to just restart the Hub) or a networking issue (outside of Hub's control)
The socket timeouts could be changed via the connection code though I don't particularly favour this. A regular heartbeat comman to the Hub would probably solve this (e.g. call GetStats every once in a while)

Hi @th0br0
Thanks for your answer.
I'm using MariaDB. I also checked the network you mentioned and there was no problem with it. This only happens on "START TRANSACTION"
I'm still searching for it. if I found a solution i'll post it here.

How much time has elapsed since the last query to Hub when you get the error?
Pretty much every DB transaction the Hub does (if it has side-effects) is wrapped in a transaction, hence why it's failing on START TRANSACTION.


Errors when adding multiple text tracks

I'm trying to convert my existing video component, which uses Plyr, into this new library. I have followed the documentation and was able to do everything so far, but now I'm stuck on text tracks.
My code
if (options.source.tracks && options.source.tracks.length > 0) {
    plyr.player.textTracks.clear();

    for (const track of options.source.tracks) {
        plyr.player.textTracks.add(track);
    }
}

Errors in the console

The video still can play, but there is another issue. All tracks are selected, even though I have defined one of the tracks with default=true.

Thanks for reporting! A reproduction is required for me to debug this issue. I'll reopen when a valid one is provided.


Enabled setting is ambiguous when added to other settings panels

https://github.com/ljleb/sd-webui-neutral-prompt/blob/ab5c46d44b0324991b4c1fb5008da3b55e9dd073/lib_neutral_prompt/ui.py#L86
The enable option isn't very clear when it's added to the quicksettings_list or extra_options. Should probably be changed to Neutral Prompt extension enabled or similar.
The Prompt Fusion extension actually has this same issue btw: https://github.com/ljleb/prompt-fusion-extension/blob/c8748ddc2d3c05b745a5ecfa03b1e2d4b3129a0c/scripts/promptlang.py#L23

IMO this is more a problem with the quicksettings display not showing which tab it comes from. It is easier to change in the extensions so I'll rename the labels.


Drizzle migrations receive connection errors

Expected result
Migration script is able to connect successfully
Actual result
The script is not able to connect to the database
Environment
Node 18
Logs, links
Drizzle migration script:
import { drizzle } from 'drizzle-orm/neon-http';
import { migrate } from 'drizzle-orm/neon-http/migrator';
import { raise } from '../util/raise.ts';
import { neon } from '@neondatabase/serverless';
import * as dotenv from 'dotenv';

dotenv.config({
  path: './.env.local',
});

console.info('Using environment variables:');
console.info(JSON.stringify(process.env, null, 2));

const url = process.env.DATABASE_URL ?? raise('DATABASE_URL is not set');

const sql = neon(url);
const db = drizzle(sql);

migrate(db, { migrationsFolder: 'src/data/migrations' });

Running this locally, it hangs indefinitely. In preview deployments on nextjs, it times out. Tried running migrations with the plain pg driver as well which did not work

Also from the drizzle discord:

I receive
NeonDbError: Error connecting to database: fetch failed
    at /Users/isaacspiegel/Documents/drop-of-wisdom/drop-of-wisdom/node_modules/@neondatabase/serverless/index.js:1523:86
    at async migrate (/Users/isaacspiegel/Documents/drop-of-wisdom/drop-of-wisdom/node_modules/src/neon-http/migrator.ts:26:2) {
  code: null,
  sourceError: TypeError: fetch failed
      at Object.fetch (node:internal/deps/undici/undici:11457:11)
      at async /Users/isaacspiegel/Documents/drop-of-wisdom/drop-of-wisdom/node_modules/@neondatabase/serverless/index.js:1521:61
      at async migrate (/Users/isaacspiegel/Documents/drop-of-wisdom/drop-of-wisdom/node_modules/src/neon-http/migrator.ts:26:2) {
    cause: HeadersTimeoutError: Headers Timeout Error
        at Timeout.onParserTimeout [as callback] (node:internal/deps/undici/undici:9647:32)
        at Timeout.onTimeout [as _onTimeout] (node:internal/deps/undici/undici:7948:17)
        at listOnTimeout (node:internal/timers:569:17)
        at processTimers (node:internal/timers:512:7) {
      code: 'UND_ERR_HEADERS_TIMEOUT'
    }
  }
}
error Command failed with exit code 1.

Team is blocked on this, so any help is much appreciated 🙏

hey @spigelli.
Thanks for submitting the issue. We found the bug on our side. WIll try to ship the fix to prod ASAP

@spigelli, we shipped the patch to prod. May I ask you to recheck?

Yes it is working now, surprised at the turn around on this! Thanks!


fix:Do not output information that contains confidential data.

What type of PR is this?
/kind bug

Any specific area of the project related to this PR?
/area plugins

What this PR does / why we need it:
This rule has an issue where it detects a configmap that seems to contain confidential information, but still outputs its content. For example, the content could potentially be notified to Slack. Therefore, it would be better not to output the object's content in this case.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

4ab7fd0 fix:Do not output information that contains confidential data.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Welcome @pyama86! It looks like this is your first PR to falcosecurity/plugins 🎉

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

Needs approval from an approver in each of these files:

OWNERS

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

LGTM label has been added.  Git tree hash: fd4ef21e4eb34711041e866da414972c5dd7579f

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

Needs approval from an approver in each of these files:

OWNERS [leogr]

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

Thank you for merging. I always appreciate your wonderful contributions.


feat(avatar): crop non-square images

Description
When Avatar is used with non-square images, they are displayed stretched (forced to square aspect ratio) unless an override is used. This makes the default behavior to center & crop using object-fit: cover.
Scope

[ ] Patch: Bug Fix
[x] Minor: New Feature
[ ] Major: Breaking Change

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


<EMAIL_ADDRESS>factor out conversions

Pull Request Test Coverage Report for Build 731524419

16 of 16 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.0%) to 89.873%

Totals

Change from base Build 721321706:
1.0%

Covered Lines:
51

Relevant Lines:
55

💛  - Coveralls

Pull Request Test Coverage Report for Build 731524419

16 of 16 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.0%) to 89.873%

Totals

Change from base Build 721321706:
1.0%

Covered Lines:
51

Relevant Lines:
55

💛  - Coveralls


az resource link command lack description

parallels@ubuntu:~$ az resource -h

Group
    az resource: Manage Azure resources.

Subgroups:
    link

Commands:
    create: Create a resource.
    delete: Delete a resource. Reference the examples for help with arguments.
    list  : List resources.
    move  : Moves resources from one resource group to another(can be under different subscription).
    show  : Get information about a resource.
    tag   : Tag a resource. Reference the examples for help with arguments.
    update: Update a resource.

@ravbhatnagar and @vivsriaus : something for you guys to look into.

If we dive into the link command, there are more descriptions to be filled.

Ack. We'll send out a PR for this. Do we need this for //build? @troydai

I hope. But @mayurid can comment on if we can accept change of documentation at this point.


Fallback is not documented in usage

Following the example here: https://github.com/pacak/bpaf/blob/4f64f34b2370b30b3ec98872f5ba1a936a6a9e81/examples/multiple_fallback.rs
If I have something like:
use bpaf::Bpaf;
use once_cell::sync::Lazy;

pub static CONFIG: Lazy<Config> = Lazy::new(|| Config {
    http_port: 3000,
});

#[derive(Clone, Debug, Bpaf)]
#[bpaf(options, version)]
pub struct Config {
    /// Listening port of HTTP server
    #[bpaf(long, env("APP_HTTP_PORT"), fallback(CONFIG.http_port))]
    pub http_port: u16,
}

Expected:
        --http-port <ARG>                [env:APP_HTTP_PORT: N/A]
                                         Listening port of HTTP server
                                         [default: 3000]

Actual:
        --http-port <ARG>                [env:APP_HTTP_PORT: N/A]
                                         Listening port of HTTP server

This feature was requested a few times and I'm still thinking about the best way of implementing this. At the moment fallback imposes no restrictions on the argument type. To display the default value I can either use Display or Debug. Display means no fallback for PathBuf since they don't have Display, Debug means newtyped values can look strange - Distance(30.0) instead of 30.0 for struct Distance(f64)...

Or let the user (optionally) override the item to use for Display, so they could easily call .display()

Like this?
#[derive(Clone, Debug, Bpaf)]
#[bpaf(options, version)]
pub struct Config {
    /// Listening port of HTTP server
    #[bpaf(long, env("APP_HTTP_PORT"), fallback(CONFIG.http_port), display_fallback)]
    pub http_port: u16,
}

This or debug_fallback... Yea, this might work.

Of course, types that don't implement Display should still be allowed to be used for fallback, but just can't be printed.

Unfortunately this is not Haskell, derive macro can't tell if something implements some trait or not...

What about using sigils like tracing does?

This works for derive macro but not for combinatoric API and I'm trying to keep those two in sync.


automatic shield does not work on svelte-kit

When I adjust the official example like this no error is being thrown and the value is passed just fine to the telefunc'tion. Manually writing the shield guard works, though.
Only tested this in svelte-kit, might be a problem for other frameworks too.

	Counter: {count}
	<button on:click={async () => {count = await onCounterIncrement("im a string, booh")}}>-1</button>
	<button on:click={async () => {count = await onCounterIncrement(+1)}}>+1</button>
	<button on:click={async () => {count = await onCounterIncrement(-10)}}>-10</button>
	<button on:click={async () => {count = await onCounterIncrement(+10)}}>+10</button>

Pretty scary to be honest. Would have expected automated tests that make sure validation works e2e.

Also when I have manual shield for this the error thrown on the client does not mention exactly what went wrong:
Error: Aborted telefunction call onCounterIncrement()
According to the docs it should be: throws an error that textshould be astring(instead of anumber)
The body of the network response looks like this: {"ret":"!undefined","abort":true}

The shield() automatic generation is done at build time so it only works
for production. Try in production and you should see the error as expected.
As for the abort message, check the server logs.
Marking this ticket as documentation as the docs should be improved to
mention all that.
On Sat 29. Apr 2023 at 13:30, samuba @.***> wrote:

Also when I have manual shield for this the error thrown on the client
does not mention exactly what went wrong:
Error: Aborted telefunction call onCounterIncrement()
According to the docs it should be: throws an error that textshould be a
string(instead of anumber)
The body of the network response looks like this:
{"ret":"!undefined","abort":true}
—
Reply to this email directly, view it on GitHub
https://github.com/brillout/telefunc/issues/74#issuecomment-1528766425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHVQRR6TMKUCY6IYVWF5EDXDT3URANCNFSM6AAAAAAXQFAEBY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Is there any way to enable this in local dev? I just deployed some changes and found that some telefunc calls fail in PROD now but worked out fine locally. No doubt it is because I did something messy in my code (no typescript error though), but still having that surprise only surface in production is difficult.

I agree but the automatic shield() generation takes a non-negligible amount of time. Slowing down dev isn't ideal either.

Let's track progress on documentation at https://github.com/brillout/telefunc/issues/104.


Made build.gradle.kts

This adds a build.gradle.kts and correctly configures it.
Note that there should be a lot of errors because intellij screwed up when cloning the repo and gradle got corrupted, so I couldn't auto import stuff, but I verified that it works in another project.

This is neat, I will look into it, can't merge the PR though as it is outdated.


[Feature Request] Support CSS Variables in color variables

Existing Component
Yes
Component Name
theme-chalk
Description
It would be awesome, if css variables can be used for setting the theme colors.
This would enable the immediate change of theme colors on the fly even after compillation.
unfortunately the mix($color1, $color2, $weight) method does not support, that, but it should be possible to use rgba(var(--primary-color), $weight) method.

Can anyone from the team at lease react to this?
I would love to be able to change the theme using css variables.


Added Uniform Cost Search

This algorithm is used as a base for the famous algorithm A* search which is based on heuristics and ucs, to find the optimal path in the graph, also a variant of Djkstra's Algorithm.
Hoping to merge for Hactoberfest-2020 !!
Also, mark hacktoberfest-2020 label if feasible, i am beginner to github.

Can You add comment lines to explain your approach in program.

Try to explain the program's components through comments...

You have 3 days before this PR will be marked as spam.

You have 3 days before this PR will be marked as spam.

Added the comment, please re-verify.
Thank you for bringing in my notice to add comments to code.
Also please do let me know if other changes are required to be done or not, and don't forget to add the label, "hacktoberfest-2020 accepted" if it is merged,

We have labelled this repo for hacktoberfest, so it is not necessary yo add hacktoberfest-accepted label.


tensorflow.Session() Hangs on 24-Logical Core Machine

We have a newish (<6 months old) server with two hyperthreaded 6-core processors, and when we try to create a tensorflow.Session(), it hangs indefinitely in what top reports is state D (uninterruptible sleep), unresponsive even to SIGKILL. Relevant output is below.
>>> sess = tf.Session()
I tensorflow/core/common_runtime/local_device.cc:40] Local device intra op parallelism threads: 24
[...indefinite hang...]

Does it hang if you run with "--brain_num_operation_threads=1 --brain_num_eigen_threads=1"?
If it still hangs, maybe you could compile in debug mode, attach GDB to hanging process and do "bt" to see where it's stuck

I couldn't find documentation on where to specify those arguments (certainly not to Python, and I could find no such ConfigProto flags. However, I did try setting intra_op_parallelism_threads to 1, and the same issue occurred. I'll try seeing if GDB can shed some light on the matter.
>>> sess = tf.Session(config=tf.ConfigProto(
...     intra_op_parallelism_threads=1))
I tensorflow/core/common_runtime/local_device.cc:40] Local device intra op parallelism threads: 1
[...indefinite hang...]

Oops, brain freeze, updated to use the proper ConfigProto object rather than unsupported flags

After a machine reboot, this problem no longer occurred. It seems that our cards' driver might have been hung somewhere, as other CUDA code was also hanging.


Propagate error message for why leaf value serialization failed

Supersedes https://github.com/webonyx/graphql-php/pull/730

The stack trace of the original error should be preserved if possible, but simply adding https://github.com/webonyx/graphql-php/pull/730#issuecomment-724230511 seems to prevent the debugMessage from being displayed at all.

This PR lacks an improved stacktrace, but I am fairly confident that combining the error messages is a great idea. The wrapping InvariantViolation provides additional context from a client perspective, but does not aid the server developer that much in finding the underlying cause.

did you have a chance to investigate a reason?

Got it.

I'm not sure about joining those messages as the original one should be available in $previous in any stacktrace explorer, right? But I fancy the rest 👍🏾.

I'm not sure about joining those messages as the original one should be available in $previous in any stacktrace explorer, right?

The client would have no way to see them if they are not in debugMessage. The trace within the response has no such data.


Rendering large SVGs.

Hello Dan,
I'm maintaining an SVG renderer for Flutter that is optimized for rendering huge GraphViz graphs (i.e. hundreds of bezier curves and thousands of text/rectangle/ellipse nodes).
It employs various necessary optimizations (that make little sense for small SVGs) such as rendering at different levels of detail or an RTree for efficiently finding groups that need to be rendered for any given viewport.
Would it be correct to assume that it's not a goal of vector_graphics to support rendering vector graphics that are that big, or do you plan to eventually support use cases like that?

That's not a current goal of this project - but I'm not opposed to it in principle and would be interested if you have any ideas/documentation to contribute.
/cc @jonahwilliams fyi

This library is designed with trade-offs in mind that make sense for minimal to no iteraction of SVGs and that are sized for assets on mobile applications. I'm not really aware of the extent of the changes we'd need to make to support more interactive viewing or online processing to render large SVGs.
You can always file more specific issues for features you think are missing, but I'd imagine you'd need an entirely different rendering strategy - and this isn't something we're planning on providing.


Integrate flows with parallel ODE problem

This is an idea that came up after observing that https://github.com/Deltares/Ribasim/issues/1431 is very bad for performance, see also https://github.com/Deltares/Ribasim/pull/1444#issuecomment-2107871589. So my thought was:
What if set up a parallel ODE problem next to the main one, where the du is given by the flows that come from the main solver? For performance and lack of information at intermediate timesteps it should use a relatively simple explicit algorithm. I would like to hear your thoughts on this regarding code complexity etc.

This can probably be closed if #1468 works out well.


[DNM] Test build.ps1 on VS2022 CI

Testing https://github.com/apple/swift/pull/64948 on the main-windows-vs2022 to see if the CI hits the same issues.

@swift-ci please build toolchain Windows platform

All projects' cloning fail with:
Cloning into 'swift-argument-parser'...
warning: Could not find remote branch main-windows-vs2022 to clone.
fatal: Remote branch main-windows-vs2022 not found in upstream origin

Should it be trying to checkout this branch name on all repos?

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

@swift-ci please test Windows platform


Lag when using Tom's simple storages crafting terminal

Reported on Discord
"Apparently there is an issue with artis and Tom's simple storage. If you use the crafting terminal while artis is present, severe lag occurs. Players deleted artis.to find out this was the cause
Not sure how it happens because of this"
Mod in question: https://www.curseforge.com/minecraft/mc-mods/toms-storage

Just using Artis and Toms Simple Storage - and a few utility mods, like REI including Chalk and Spectrum - does not seem to cause lag issues alone. Profiling via Spark did not show anything out of the ordinary (https://spark.lucko.me/OS3QcUdWPP).
@itsdinkd:
Can you get me any more information about how I can reproduce the performance issue or upload a spark profiling run with the issues, please?

could not reproduce

Sorry this got lost on me. I couldn't retrieve any more info, not sure how
these people came to this as the cause. If someone gives me good info I
will reply
On Sat, Mar 26, 2022, 5:04 AM DaFuqs @.***> wrote:

Closed #11 https://github.com/DaFuqs/Artis-Recrafted/issues/11.
—
Reply to this email directly, view it on GitHub
https://github.com/DaFuqs/Artis-Recrafted/issues/11#event-6311622556,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIL5CKCHXD3L2MD2BRUBB7LVB34M7ANCNFSM5P7OWENQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

No problem at all. If you stumble over that issue again feel free to reopen this issue :)


Remove "use client" and mark packages as client-only instead

Closes #5639
This reverts #5498 where we added "use client" to our packages to support Next.js server components. I now believe this was a mistake. "use client" indicates a boundary between a server component and a client component, so the idea was to enable RSP/RAC components to be used directly from server components without needing to create your own client component wrapper. However in reality this did not work well because all of the props sent from a server component to a client component must be serializable. Therefore, things like event handlers could not be sent. Most of our components require some kind of event, so you'd end up needing to move the component that used RSP/RAC to your own client component anyway. In addition, some bundling issues with next.js caused code splitting not to work properly, resulting in massive bundles (#5639).
This PR instead uses import "client-only" to enforce that RAC and RSP can only be imported from a client component. Next.js will throw a build time error when this package is imported from a server component, providing a better error message than the one you get by default (either something deep inside RSP/RAC trying to import useState or another React hook not available in server components, or when trying to pass an event handler from a server component to a client component). Now the error is something like "this package can only be imported in a client component". Outside of Next.js this package is an empty file and has no effect.

ehhhh we could, but it seemed like a lot of effort and I don't think many people use the individual packages (especially with next.js).

I am curious what makes use client more limiting than import 'client-only'.  As a library maintainer that is using React Aria to build out our own component library, we have been getting questions about RSC support.  People seem to be split between the use of client-only and use client


chore: partially forward-port leanprover-community/mathlib#18746

Unfortunately this seems to need extra universe annotations in Lean 4.

Most of the rest of this PR is waiting on other forward-ports.

<EMAIL_ADDRESS>

Ugh, @vihdzp already forward-ported this but forgot to tag their PR with mathlib-pair so it didn't appear in the dashboard.


Minpoly quotient (Liam's trick)

On M1 Pro 16gb, difference is in the first fold in matrices:
Main:
eli Plonky3 [main] % RUSTFLAGS='-Ctarget-cpu=native' RUST_LOG=debug cargo run --release --example prove_baby_bear_keccak
    Finished release [optimized] target(s) in 0.06s
     Running `target/release/examples/prove_baby_bear_keccak`
INFO     generate Keccak trace [ 600ms | 100.00% ]
INFO     prove [ 2.48s | 0.23% / 100.00% ]
INFO     ┝━ commit to trace data [ 497ms | 0.00% / 20.07% ]
INFO     │  ┝━ compute all coset LDEs [ 275ms | 11.11% ]
DEBUG    │  ┕━ build merkle tree [ 222ms | 8.96% ] dimensions: "[2733x32768]"
INFO     ┝━ compute quotient polynomial [ 104ms | 4.19% ]
INFO     ┝━ decompose quotient polynomial [ 1.77ms | 0.07% ]
INFO     ┝━ commit to quotient poly chunks [ 6.61ms | 0.00% / 0.27% ]
INFO     │  ┝━ compute all coset LDEs [ 1.39ms | 0.06% ]
DEBUG    │  ┕━ build merkle tree [ 5.20ms | 0.21% ] dimensions: "[8x32768]"
INFO     ┕━ prove batch opening [ 1.86s | 0.00% / 75.17% ]
INFO        ┝━ compute opened values with Lagrange interpolation [ 346ms | 13.97% ]
INFO        ┕━ FRI prover [ 1.52s | 0.28% / 61.20% ]
INFO           ┝━ commit phase [ 1.44s | 4.04% / 58.23% ]
DEBUG          │  ┝━ fold in matrices [ 1.33s | 53.78% ] height: 32768
DEBUG          │  ┝━ build merkle tree [ 2.45ms | 0.10% ] dimensions: "[8x16384]"
DEBUG          │  ┝━ fold_even_odd [ 1.02ms | 0.04% ]
DEBUG          │  ┝━ build merkle tree [ 1.49ms | 0.06% ] dimensions: "[8x8192]"
DEBUG          │  ┝━ fold_even_odd [ 535µs | 0.02% ]
DEBUG          │  ┝━ build merkle tree [ 898µs | 0.04% ] dimensions: "[8x4096]"
DEBUG          │  ┝━ fold_even_odd [ 262µs | 0.01% ]
DEBUG          │  ┝━ build merkle tree [ 827µs | 0.03% ] dimensions: "[8x2048]"
DEBUG          │  ┝━ fold_even_odd [ 137µs | 0.01% ]
DEBUG          │  ┝━ build merkle tree [ 515µs | 0.02% ] dimensions: "[8x1024]"
DEBUG          │  ┝━ fold_even_odd [ 71.8µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 325µs | 0.01% ] dimensions: "[8x512]"
DEBUG          │  ┝━ fold_even_odd [ 34.7µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 379µs | 0.02% ] dimensions: "[8x256]"
DEBUG          │  ┝━ fold_even_odd [ 18.2µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 217µs | 0.01% ] dimensions: "[8x128]"
DEBUG          │  ┝━ fold_even_odd [ 9.50µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 167µs | 0.01% ] dimensions: "[8x64]"
DEBUG          │  ┝━ fold_even_odd [ 5.42µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 128µs | 0.01% ] dimensions: "[8x32]"
DEBUG          │  ┝━ fold_even_odd [ 3.33µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 129µs | 0.01% ] dimensions: "[8x16]"
DEBUG          │  ┝━ fold_even_odd [ 3.50µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 145µs | 0.01% ] dimensions: "[8x8]"
DEBUG          │  ┝━ fold_even_odd [ 1.71µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 75.1µs | 0.00% ] dimensions: "[8x4]"
DEBUG          │  ┝━ fold_even_odd [ 1.29µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 33.3µs | 0.00% ] dimensions: "[8x2]"
DEBUG          │  ┕━ fold_even_odd [ 1.25µs | 0.00% ]
INFO           ┕━ query phase [ 66.5ms | 2.69% ]
Error: OodEvaluationMismatch

This branch:
eli Plonky3 [minpoly-quotient] % RUSTFLAGS='-Ctarget-cpu=native' RUST_LOG=debug cargo run --release --example prove_baby_bear_keccak
    Finished release [optimized] target(s) in 0.06s
     Running `target/release/examples/prove_baby_bear_keccak`
INFO     generate Keccak trace [ 570ms | 100.00% ]
INFO     prove [ 1.78s | 0.24% / 100.00% ]
INFO     ┝━ commit to trace data [ 396ms | 0.00% / 22.19% ]
INFO     │  ┝━ compute all coset LDEs [ 178ms | 9.96% ]
DEBUG    │  ┕━ build merkle tree [ 218ms | 12.23% ] dimensions: "[2733x32768]"
INFO     ┝━ compute quotient polynomial [ 101ms | 5.65% ]
INFO     ┝━ decompose quotient polynomial [ 1.64ms | 0.09% ]
INFO     ┝━ commit to quotient poly chunks [ 9.31ms | 0.00% / 0.52% ]
INFO     │  ┝━ compute all coset LDEs [ 2.11ms | 0.12% ]
DEBUG    │  ┕━ build merkle tree [ 7.19ms | 0.40% ] dimensions: "[8x32768]"
INFO     ┕━ prove batch opening [ 1.27s | 0.15% / 71.31% ]
INFO        ┝━ compute opened values with Lagrange interpolation [ 346ms | 19.38% ]
INFO        ┕━ FRI prover [ 923ms | 0.11% / 51.77% ]
INFO           ┝━ commit phase [ 921ms | 1.65% / 51.63% ]
DEBUG          │  ┝━ fold in matrices [ 881ms | 49.38% ] height: 32768
DEBUG          │  ┝━ build merkle tree [ 4.00ms | 0.22% ] dimensions: "[8x16384]"
DEBUG          │  ┝━ fold_even_odd [ 1.04ms | 0.06% ]
DEBUG          │  ┝━ build merkle tree [ 1.35ms | 0.08% ] dimensions: "[8x8192]"
DEBUG          │  ┝━ fold_even_odd [ 516µs | 0.03% ]
DEBUG          │  ┝━ build merkle tree [ 852µs | 0.05% ] dimensions: "[8x4096]"
DEBUG          │  ┝━ fold_even_odd [ 258µs | 0.01% ]
DEBUG          │  ┝━ build merkle tree [ 594µs | 0.03% ] dimensions: "[8x2048]"
DEBUG          │  ┝━ fold_even_odd [ 132µs | 0.01% ]
DEBUG          │  ┝━ build merkle tree [ 415µs | 0.02% ] dimensions: "[8x1024]"
DEBUG          │  ┝━ fold_even_odd [ 69.7µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 279µs | 0.02% ] dimensions: "[8x512]"
DEBUG          │  ┝━ fold_even_odd [ 34.4µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 256µs | 0.01% ] dimensions: "[8x256]"
DEBUG          │  ┝━ fold_even_odd [ 17.9µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 196µs | 0.01% ] dimensions: "[8x128]"
DEBUG          │  ┝━ fold_even_odd [ 9.88µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 166µs | 0.01% ] dimensions: "[8x64]"
DEBUG          │  ┝━ fold_even_odd [ 5.33µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 134µs | 0.01% ] dimensions: "[8x32]"
DEBUG          │  ┝━ fold_even_odd [ 3.42µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 88.6µs | 0.00% ] dimensions: "[8x16]"
DEBUG          │  ┝━ fold_even_odd [ 2.21µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 94.4µs | 0.01% ] dimensions: "[8x8]"
DEBUG          │  ┝━ fold_even_odd [ 1.67µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 57.0µs | 0.00% ] dimensions: "[8x4]"
DEBUG          │  ┝━ fold_even_odd [ 2.54µs | 0.00% ]
DEBUG          │  ┝━ build merkle tree [ 23.8µs | 0.00% ] dimensions: "[8x2]"
DEBUG          │  ┕━ fold_even_odd [ 1.38µs | 0.00% ]
INFO           ┕━ query phase [ 633µs | 0.04% ]
Error: OodEvaluationMismatch

(still gotta fix that boundary constraint...)
Sadly, folding in the initial matrices is only twice as fast. I had hoped it would be more. Without const_generic_exprs, I can't tell LLVM to unroll the SIMD loops that really should be unrolled. Oh well.
At this point I'm not sure how much of fold in matrices is quotient eval and how much is extension folding. I should figure out how to measure that.

fwiw, when I split out reduce_matrices like this:
    let rows = info_span!("compute quotient rows").in_scope(|| {
        (0..height)
            .map(|r| {
                matrices
                    .iter()
                    .map(move |m| m.row(r).into_iter().collect_vec())
                    .collect_vec()
            })
            .collect_vec()
    });
    info_span!("reduce").in_scope(|| {
        rows.into_iter()
            .enumerate()
            .map(|(r, mat_rows)| {
                let mut reduced = init[r];
                for row in mat_rows {
                    for col in row {
                        reduced *= alpha;
                        reduced += col;
                    }
                }
                reduced
            })
            .collect()
    })

on main:
INFO     ┕━ prove batch opening [ 14.1s | 0.00% / 96.60% ]
INFO        ┝━ compute opened values with Lagrange interpolation [ 344ms | 2.36% ]
INFO        ┕━ FRI prover [ 13.7s | 0.06% / 94.25% ]
INFO           ┝━ commit phase [ 13.7s | 0.86% / 93.70% ]
DEBUG          │  ┝━ fold in matrices [ 13.5s | 0.00% / 92.77% ] height: 32768
INFO           │  │  ┝━ compute quotient rows [ 7.32s | 50.22% ]
INFO           │  │  ┕━ reduce [ 6.21s | 42.55% ]

on this branch:
INFO     ┕━ prove batch opening [ 5.87s | 0.04% / 91.67% ]
INFO        ┝━ compute opened values with Lagrange interpolation [ 350ms | 5.47% ]
INFO        ┕━ FRI prover [ 5.51s | 0.03% / 86.15% ]
INFO           ┝━ commit phase [ 5.51s | 0.46% / 86.11% ]
DEBUG          │  ┝━ fold in matrices [ 5.47s | 0.00% / 85.49% ] height: 32768
INFO           │  │  ┝━ compute quotient rows [ 251ms | 3.92% ]
INFO           │  │  ┕━ reduce [ 5.22s | 81.57% ]

so I'm going to rewrite fold_in_matrices to take advantage of packed base

some cleanup to be done, but I'm now hitting almost 700 keccaks/s :-)

Ok, should be ready for review!
INFO     generate Keccak trace [ 575ms | 100.00% ]
INFO     prove [ 941ms | 0.44% / 100.00% ]
INFO     ┝━ commit to trace data [ 356ms | 0.01% / 37.84% ]
INFO     │  ┝━ compute all coset LDEs [ 149ms | 15.78% ]
DEBUG    │  ┕━ build merkle tree [ 208ms | 22.05% ] dimensions: "[2733x32768]"
INFO     ┝━ compute quotient polynomial [ 104ms | 11.02% ]
INFO     ┝━ decompose quotient polynomial [ 1.68ms | 0.18% ]
INFO     ┝━ commit to quotient poly chunks [ 6.34ms | 0.00% / 0.67% ]
INFO     │  ┝━ compute all coset LDEs [ 1.36ms | 0.14% ]
DEBUG    │  ┕━ build merkle tree [ 4.97ms | 0.53% ] dimensions: "[8x32768]"
INFO     ┕━ prove batch opening [ 469ms | 0.29% / 49.84% ]
INFO        ┝━ compute opened values with Lagrange interpolation [ 347ms | 36.88% ]
INFO        ┕━ FRI prover [ 119ms | 0.22% / 12.67% ]
INFO           ┝━ commit phase [ 116ms | 0.28% / 12.37% ]
DEBUG          │  ┝━ fold in matrices [ 104ms | 11.08% ] height: 32768
DEBUG          │  ┝━ build merkle tree [ 2.52ms | 0.27% ] dimensions: "[8x16384]"
DEBUG          │  ┝━ fold_even_odd [ 1.03ms | 0.11% ]
DEBUG          │  ┝━ build merkle tree [ 1.43ms | 0.15% ] dimensions: "[8x8192]"
DEBUG          │  ┝━ fold_even_odd [ 508µs | 0.05% ]
DEBUG          │  ┝━ build merkle tree [ 930µs | 0.10% ] dimensions: "[8x4096]"
DEBUG          │  ┝━ fold_even_odd [ 270µs | 0.03% ]
DEBUG          │  ┝━ build merkle tree [ 735µs | 0.08% ] dimensions: "[8x2048]"
...

680 / .941 = 722, so next up is interpolate_coset so we can clown on plonky2


toctree directive missing in index.rst

Introduction cannot reached via navigation because toplevel toctree directive is missing.

Just noticed the same, will fix it in the next PR that adds a page for perun-node.

@manoranjith, saw your comment a bit to late. I've already submitted a PR fixing this.

That is fine. I was doing the same fix, will merge your PR and merge the pending one.


reports disappears to #2677

reports disappears
If  it should  have been fixed, why does then still, happens on the Danish BC here in June

@clausmacali please provide us with proper repro steps. This is not how you are supposed to report issues.

Closing the issue as we couldn't get any repro steps.


[CI] cache the GH stars count per project between 2 builds

We could use a Redis instance for this (via UpStash for example), but let's try to keep things simple at the moment and use the fact that Vercel will automatically cache the .next/cache folder across builds
https://vercel.com/docs/concepts/deployments/build-step#caching

It's now live, but... It doesn't seem to work :pensive:
Probably because the static pages generation uses multiple Node.js processes in parallel, which are competing to write data in the same JSON file - so in the end it contains the data of only one of those processes :thinking:


chore: release  chart 0.2.2

:package: Staging a new release
0.2.2 (2024-06-05)
Bug Fixes

use latest actions because of node image deprecation (28663e1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/carbynestack/thymus/releases/tag/chart-v0.2.2 :sunflower:


Compose file './docker-compose.yml' invalid

Bug description
I followed https://superset.apache.org/docs/installation/docker-compose/ and I got this
~/superset$ docker-compose up
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.db.env_file contains {"path": "docker/.env", "required": true}, which is an invalid type, it should be a string
services.superset.env_file contains {"path": "docker/.env", "required": true}, which is an invalid type, it should be a string
services.superset-init.env_file contains {"path": "docker/.env", "required": true}, which is an invalid type, it should be a string
services.superset-node.env_file contains {"path": "docker/.env", "required": true}, which is an invalid type, it should be a string
services.superset-tests-worker.env_file contains {"path": "docker/.env", "required": true}, which is an invalid type, it should be a string
services.superset-worker.env_file contains {"path": "docker/.env", "required": true}, which is an invalid type, it should be a string
services.superset-worker-beat.env_file contains {"path": "docker/.env", "required": true}, which is an invalid type, it should be a string

on an ubuntu ARM machine
How to reproduce the bug
I followed https://superset.apache.org/docs/installation/docker-compose/
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

I just tried to upgrade to latest docker-compose (ob my macbook pro M2 from 2.25.0 to 2.28.1) and fired $ docker-compose up without issues, what version are you on?

docker-compose version 1.29.2, before running
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

# Apply executable permissions to the binary
sudo chmod +x /usr/local/bin/docker-compose

# Verify the installation
docker-compose version

then I got
docker-compose version 1.29.2, build unknown and same error

Time to upgrade your docker-compose

Adding this utility, it should help people set up dev environments -> https://github.com/apache/superset/pull/29609

Solved doing something I feared:
**sudo rm /usr/local/bin/docker-compose**
and ofc then
sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

now I got v2.29
It took over 10 minutes to complete the docker-compose up, though (ARM, 4VCPU)

In case anyone else ends up here as a result of SUPERSET_SECRET_KEY=TEST_NON_DEV_SECRET and you are looking in config.py, constants.py, superset_config.py .. don't forget to check /docker/.env and /docker/.env_non_dev if you are having issues with these settings.
I spent quite a while chasing down the location of that env over-ride, before realizing where it was.


Invalid format of Environment variables when using Rancher app install

What kind of request is this : bug
Steps to reproduce (least amount of steps as possible):
Create a values.yaml file in order to use it when deploying the chat.

After that, we run the command
$ rancher app install --namespace akhq \      --values logging/helm-akhq-values.yaml \       --version 0.14.2 \       cattle-global-data:konvervence-akhq-master-akhq   akhq
Result:
Values configured in values.yaml file are not well configured.
When checking in Rancher interface, configured values are not in the correct format
So the application is on error.

Other details that may be helpful:
I reproduce this issue in Rancher CLI (Rancher Client) : v2.4.5 and v.2.4.6
Theres's no issue with previous rancher version ( I can't reproduce this bug in v2.3.2 version)
Normally, this issue related to rancher-cli version.
Environment information

Rancher version : v2.4.5

Kubernetes version : v1.18.6

Docker version : 19.3.12

Hi Adrian (@oskapt) ,
As discussed in slack, I have just raised an issue.
Kind Regards.


add one more redirect to gh-pages

Fixes broken links to Operation (e.g. here https://github.com/googleapis/nodejs-spanner/pull/610).

I'm pretty sure we might have more of those. Eventually, I just need to update the snip files to put the correct links in the generated code.


Error: 18 duplicate symbols for architecture arm 64

Using CocoaPods with pod 'Cosmos', '~> 20.0' on XCode Version 11.2 (11B52) and iOS Version 13.2.
Getting an error on initial run right after installing pods. When I pod install, I get the error in terminal:
[!] CocoaPods could not find compatible versions for pod "Cosmos":
  In Podfile:
    Cosmos (~> 20.0)

which is solved by just doing pod install --repo-update or just adding pod 'Cosmos' to the podfile without the 20.0 part.
Full error I am getting is on the leveldb-library level, 18 duplicate symbols for architecture arm 64.
Let me know if there is a fix for this, thanks!

Found a solution by simply running pod install --repo-update, moving forward with using library now.


add hotkeys support

Added a support of hotkeys in addition to cursor up/down way of choosing.
Hotkeys are available for the first 60 choices (0-9,a-z,A-Z barring q/Q)

Hi Lakshman, thanks for contributing to the picker repo. Having reviewed your edits in some depth, I found that they changed the program's behavior too significantly so unfortunately I didn't accept the pull request.  However, I used this opportunity as a reminder to improve navigation a tiny bit from the old wishlist hopefully making the program less frustrating to use for larger lists -- adding page up, down keys, a 'select all', and having the window resize with the terminal. Those changes have been updated in the master branch moments ago.
Specific reasons are that I've already hijacked the 'q' key in the original interface and it seemed inconsistent to have a q hole in 1-9|0|a-z hotkeys without changing cancel to something else, which would have broken backward compatibility.  That aside, I was concerned that behavior of the hotkeys might be confusing because the letters don't match up to alphabetization of any list options and only apply to the first 35 items.  Most of all I felt that the change would be too unpredictable for repetitious use.  For example, in a script that gets run often you might train yourself that p is deleting a garbage file, and that works well until one day there's a new option that changes it.
Kind regards,
-Dino

Sure. Thanks for the review.


Better error messages

Codecov Report

Merging #7 (882a7be) into main (77c8fe4) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          300       309    +9
  Branches        18        19    +1
=========================================
+ Hits           300       309    +9

Impacted Files
Coverage Δ

selenium_testing_library/locators.py
100.00% <ø> (ø)

selenium_testing_library/screen.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


The "Applies to" section should be per overload

Only Contains(String) exists in .NET Framework and .NET Core 1.x. The other overloads only exist in .NET Core 2.x. Yet the "Applies to" section seems to indicate they're available for all frameworks.

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

ID: 04df3272-a949-c303-8cf1-a8db2620a30d
Version Independent ID: d0860c14-0cce-c669-b391-67af08fd4d67
Content: String.Contains Method (System)
Content Source: xml/System/String.xml
Product: dotnet-api
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

@dend Should this be moved to the MicrosoftDocs/Feedback repo?

Closing as a duplicate of MicrosoftDocs/Feedback#314


Multiple Images at once

Maybe make an option so you can set how many images you want to download at once?
The slowest part of using this tool (for me) is that it goes meticulously one at a time, I blaze though each image, but there's a huge delay when an image ends and another begins.

Sadly, it appears that it can't be done easily. See GIL. And that's a pity.
It would be great if even downloading and checking for new images in other pixiv members could happen concurrently, so when one image gets downloaded, another is ready to get done.

Yap, no plan for multithreading for this app.
Your best plan is by running multiple instances on separate folder.
as for delay, maybe due to parsing or db access (not sure, need to check the logging).

I'll look into making multiple instances, thank you.


Added Bianet dataset

Hi :hugs:, This is a PR for Bianet: A parallel news corpus in Turkish, Kurdish and English; Source dataset

merging since the Ci is fixed on master


ERROR c.github.freeacs.tr069.Provisioning - Something went wrong

Hi @jarlah
Today I saw the need to reinstall the FreeACS from a new copy using the "install.sh"
I already had CPEs that authenticated with the tr069, at this time I still do not register them, so they can not be authenticated.
But when checking the LOG I see that it marks some errors, (you can confirm if it is normal to see these messages):
The log is from tr069.log
2018-11-29 18:44:14 [qtp1101643590-713] DEBUG c.g.freeacs.tr069.HTTPReqResData - Sessionid node02hnkh4oi5v5810asxst4470b207 did not return a SessionData object from cache, must create a new SessionData object
2018-11-29 18:44:14 [qtp1101643590-713] DEBUG c.g.freeacs.tr069.HTTPReqResData - Sessionid node02hnkh4oi5v5810asxst4470b207 created:<PHONE_NUMBER>945, lastAccess:1543538654945, mxInactiveInterval:-1
2018-11-29 18:44:14 [Cache Cleanup] DEBUG com.github.freeacs.common.util.Cache - Cache.Cleanup.run() starts
2018-11-29 18:44:14 [qtp1101643590-713] DEBUG c.g.freeacs.tr069.HTTPReqResData - Adding a HTTPReqResData object to the list
2018-11-29 18:44:14 [qtp1101643590-713] INFO  c.g.f.base.http.BasicAuthenticator - Send challenge to CPE, located on IP-address <IP_ADDRESS>
2018-11-29 18:44:14 [Cache Cleanup] DEBUG com.github.freeacs.common.util.Cache - Key node01g32cl5iki80y12c4jciifaynv203SESSION with CacheValue com.github.freeacs.common.util.CacheValue@f577dae is to be removed
2018-11-29 18:44:14 [Cache Cleanup] DEBUG com.github.freeacs.common.util.Cache - CacheValue has a cleanupnotifier-class which will be executed
2018-11-29 18:44:14 [Cache Cleanup] ERROR c.g.f.base.SessionDataCacheCleanup - SessionData for null (key:node01g32cl5iki80y12c4jciifaynv203) was removed from cache after timeout - indicate a session which did not terminate correctly
2018-11-29 18:44:14 [Cache Cleanup] DEBUG com.github.freeacs.common.util.Cache - Cache removed 1 elements out of 2 in 1 ms.
2018-11-29 18:44:14 [qtp1101643590-704] DEBUG c.g.freeacs.tr069.HTTPReqResData - Adding a HTTPReqResData object to the list
2018-11-29 18:44:14 [qtp1101643590-704] DEBUG c.g.f.base.http.BasicAuthenticator - Basic verification of CPE starts, located on IP-address 0:0:0:0:0:0:0:1
2018-11-29 18:44:14 [Cache Cleanup] DEBUG com.github.freeacs.common.util.Cache - Cache.Cleanup.run() starts
2018-11-29 18:44:14 [qtp1101643590-704] DEBUG c.g.f.base.http.DigestAuthenticator - Basic verification identifed unit id ADTN14170685 from CPE IP-address 0:0:0:0:0:0:0:1
2018-11-29 18:44:14 [qtp1101643590-704] DEBUG com.github.freeacs.tr069.SessionData - Will load unit data
2018-11-29 18:44:14 [Cache Cleanup] DEBUG com.github.freeacs.common.util.Cache - Key 0:0:0:0:0:0:0:1Basic SVBITzAwNTBBMTA5OnBhc3N3b3JkMTIz with CacheValue com.github.freeacs.common.util.CacheValue@55847ce5 is to be removed
2018-11-29 18:44:14 [Cache Cleanup] DEBUG com.github.freeacs.common.util.Cache - Cache removed 1 elements out of 2 in 0 ms.
2018-11-29 18:44:14 [qtp1101643590-704] DEBUG c.g.f.dbi.UnitQueryCrossUnittype - [      0.39 ms] SELECT u.unit_id, u.profile_id, u.unit_type_id, up.unit_type_param_id, up.value FROM unit u LEFT JOIN unit_param up ON u.unit_id = up.unit_id WHERE u.unit_id = 'ADTN14170685'
2018-11-29 18:44:14 [qtp1101643590-704] WARN  com.github.freeacs.tr069.SessionData - Did not find unit in unit-table, nothing exists on this unit
2018-11-29 18:44:14 [qtp1101643590-704] ERROR c.github.freeacs.tr069.Provisioning - Authentication failed because unitid was not found (CPE IP address: 0:0:0:0:0:0:0:1) (username: ADTN14170685)
2018-11-29 18:44:14 [qtp1101643590-704] ERROR c.github.freeacs.tr069.Provisioning - Something went wrong
com.github.freeacs.tr069.exception.TR069AuthenticationException: Authentication failed because unitid was not found (CPE IP address: 0:0:0:0:0:0:0:1) (username: ADTN14170685)
        at com.github.freeacs.base.http.BasicAuthenticator.verify(BasicAuthenticator.java:145)
        at com.github.freeacs.base.http.BasicAuthenticator.authenticate(BasicAuthenticator.java:30)
        at com.github.freeacs.base.http.Authenticator.authenticate(Authenticator.java:98)
        at com.github.freeacs.tr069.Provisioning.doPost(Provisioning.java:178)
        at com.github.freeacs.common.spark.ResponseHelper.process(ResponseHelper.java:23)
        at com.github.freeacs.App.lambda$processRequest$3(App.java:117)
        at spark.RouteImpl$1.handle(RouteImpl.java:72)
        at spark.http.matching.Routes.execute(Routes.java:61)
        at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:134)
        at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1568)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.server.Server.handle(Server.java:503)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.github.freeacs.base.NoDataAvailableException: Desired data is not available in the database
        at com.github.freeacs.tr069.SessionData.updateParametersFromDB(SessionData.java:159)
        at com.github.freeacs.base.http.BasicAuthenticator.verify(BasicAuthenticator.java:79)
        ... 26 common frames omitted
2018-11-29 18:44:14 [qtp1101643590-704] DEBUG c.github.freeacs.tr069.Provisioning - End of session is reached, will write queued unit parameters if unit (null) is not null
2018-11-29 18:44:14 [qtp1101643590-704] DEBUG com.github.freeacs.common.util.Cache - Key ADTN14170685SESSION will be removed from Cache (explicitely - not by Cache.Cleanup.run())
2018-11-29 18:44:14 [qtp1101643590-704] DEBUG com.github.freeacs.common.util.Cache - Key node02hnkh4oi5v5810asxst4470b207SESSION will be removed from Cache (explicitely - not by Cache.Cleanup.run())

Without staring at the log too much i can see that the unit did not exist in the db while trying to be authenticated. The something went wrong is just a try catch thing. It could have said Failed to provision unit.

Ah i understand now. Sorry me being slow. Yes all those messages are legit but shoukdnt need to be error. They are warn

The cache things should be debug actually

Do you want me to tune the log levels? You have reported such things several times. And its pretty legit from an "end users perspective". If something is not an actual error it should be warn

Hi :) Nice to hear that this was merely a confusement rather than a bug report. The project is open source and thus stack traces helps me a lot. However i will look into this issue with regards to not include stack trace for unauthorized or when unit does not exist.


Removing FractalSys

FractalSys will need rebuliding, and it's now 2nd priority to core psibase work.
Also, a big part of the work now lives in InviteSys.
So we're removing it for now until we rebuild it.

@James-Mart and I discussed this, and he'd like this left in until he rewrites it in Rust


Find all points to the wrong line

VSCode Version:1.12.2 19222cdc84ce72202478ba1cec5cb557b71163de

OS Version: 4.11.2-1-ARCH

VSCode Version:1.12.2 19222cdc84ce72202478ba1cec5cb557b71163de

OS Version: Windows 10 Pro

I work a lot with log files and I have noticed when using Find All (CTRL+SHIFT+F) the wrong line is selected on click. Most of the time it work properly.
Log file example: log on pastebin

Duplicates #27733


chore: enable prerelease builds

Description of changes
Enable GitHub workflow for prerelease branch and package VSIX using --pre-release flag
Issue #, if available
n/a
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):

[X] A change "invisible" to users (e.g., documentation, changes to tests, refactoring, etc.)

I confirm that this PR (choose one, and delete the other options):

[X] Does not update the CHANGELOG because my change does not significantly impact released code.

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

I pushed a similar change to prerelease git branch to test that branch of GitHub action if check (see https://github.com/cedar-policy/vscode-cedar/actions/runs/8424820558/job/23069575219)


Add ability to merge multiple documents into a single document

Add: merge multiple markdown documents into single document functionality. Includes making
conflicting references between documents unique by adding an integer numeric suffix.

Conflicting headings will get a unique explicit id attribute by the
flexmark-ext-attributes extension.
Link mapping based on document's Formatter.DOC_RELATIVE_URL and
Formatter.DOC_ROOT_URL properties.

Implemented see: Merge API


onSuggestSelect is not fired when geocoding is unsuccessful

When you select some location that has no gps coordinates associated with it (why that happens beats me) from the suggestions, neither onSuggestSelect nor onChange callbacks are fired.
This is because if the suggest does not have a location property, the Geosuggest tries to geocode it and if the geocode fails, it just does nothing and only fires the onSuggestSelect if the location is found.
I would expect it to either fire the onSuggestSelect callback anyway or at least calling the onChange callback, so I know that the user input has changed.
How to reproduce

Go to http://ubilabs.github.io/react-geosuggest/
Open the console
Type "1294 U.S. 1" into the input
Check the console - it says "input changes to :1294 U.S. 1"
Choose the "1294 U.S. 1, ME, United States" from the suggestions
Check the console again - it says nothing - input was not changed according to the console, which is wrong, because the input was "1294 U.S. 1" and now it is "1294 U.S. 1, ME, United States" and no suggestion was selected either...

Thanks for reporting!

Hey, any progress with this one? I'm facing the same issue

I don't know what exactly geocodeSuggest does, but next fix works for me...
{ address: suggest.label }
  value: function geocodeSuggest(suggest) {
      var _this4 = this;

      this.geocoder.geocode({ address: suggest.label }, function (results, status) {
        if (status !== _this4.googleMaps.GeocoderStatus.OK) {
         // just return what we have
          _this4.props.onSuggestSelect(suggest);
        }

        var gmaps = results[0],
            location = gmaps.geometry.location;

        suggest.gmaps = gmaps;
        suggest.location = {
          lat: location.lat(),
          lng: location.lng()
        };

        _this4.props.onSuggestSelect(suggest);
      });
    }

Yeah seeing this issue as well.

Ran into this issue today as well!


Speaker can't be found

No matter which speaker I try using, it allways tells me that there wouldn't be such a speaker. I allready checked the assets and they indeed exist. I can't figure out what's the problem.

What platform are you running on? Colab, Windows, mac, etc?


Merge configuration keys

Fix for #99
I can create a single commit, if that is preferred, but I thought for reviewing this is easier.
I added functionality to ContentNegotiationOptions that merges the - i call them legacy - config keys into one big one, so that different modules do not overwrite each other anymore.
Also I found a bug in the ContentNegotiationOptionsFactoryTest. The service key config has to be written in lower case, at least for your factory setup. I corrected that and recognized, that the test was not covering the whole factory. So I added two more test cases that should cover the whole factory class and its paths.

Thanks, @func0der; merged to develop for release with 1.4.0.


[BrutBridge] New bridge

A bridge for Brut. Returns the 5 newest videos by category and edition. closes #1092

Looks good to me. Thanks again for the PR :+1:

@VerifiedJoseph The bridge is currently broken.


Cannot upgrade services with Sidekicks (after upgrade)

Rancher Version: v1.0.0-rc4 (NOTE: upgraded from v0.63.1)
Docker Version: Docker version 1.10.1, build 9e83765
OS: RancherOS v0.4.3
Steps to Reproduce:

Create a Service with a Sidekick in v0.63.1 (in this case the prometheus Service from the Community Catalog)
Upgrade to v1.0.0-rc4
Try to upgrade the Service from the UI.

I don't know whether the upgrade causes these issues or this also happens with a clean install of rc4.
When creating services with sidekicks from the catalog in 1.0.0-rc4 eg. the Prometheus Stack containers with Sidekicks can still not be upgraded.
Results:
Empty UI page (except the header) shows up and the following error appears in the debug console:
parse-healthcheck.js:7 Uncaught TypeError: Cannot read property 'trim' of undefined
Expected:
Should show the normal Upgrade UI page.

Thanks, error parsing an empty requestLine (for a TCP healthcheck).  Will be in next RC

Version - master 3.27
Verified fixed


Crash on start (elementary OS 5.1.6 Hera)

When installing Norka from packaging and running on a fresh elementary OS 5.1.6, it crashes on start with the following Terminal output:
Traceback (most recent call last):
  File "/usr/bin/com.github.tenderowl.norka", line 53, in <module>
    from norka import main
  File "/usr/lib/python3.6/site-packages/norka/main.py", line 30, in <module>
    gi.require_version('Granite', '1.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 130, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Granite not available

Hey! I've added it as dependencies to deb control file and pushed version 0.4.2 to appcenter. Now it is awaiting review.
By now issue reviewed in #19 with a hotfix solution.
My bad. I thought such cases will be the reason to decline with a human review on the submission process.

Oh, seems like it was found in the review. @danrabbit do you have this issue with 0.4.2?

Thank you for the advise. Pushed 0.4.3 to review.

It looks like we have a new crash point :)
Traceback (most recent call last):
  File "/usr/bin/com.github.tenderowl.norka", line 53, in <module>
    from norka import main
  File "/usr/lib/python3.6/site-packages/norka/main.py", line 31, in <module>
    gi.require_version('GtkSpell', '3.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 130, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GtkSpell not available

It looks like we have a new crash point :)
Traceback (most recent call last):
  File "/usr/bin/com.github.tenderowl.norka", line 53, in <module>
    from norka import main
  File "/usr/lib/python3.6/site-packages/norka/main.py", line 31, in <module>
    gi.require_version('GtkSpell', '3.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 130, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GtkSpell not available

I was able to fix this by installing gir1.2-gtkspell3-3.0

@stormchaser3000 yup this is a known bug due to lack of dependencies in deb package. Hotfix described in #19
@danrabbit this is kinda weird because control  file contains these libraries. Maybe I miss something in the release or build process? I did a fresh build on my machine and tested it against fresh Elementary 5.1.6 and it works just fine, but it was a manual build.

@amka it looks like these packages are listed under build-depends which means they will be installed to the build environment while your source code is compiled. If these packages are runtime dependencies that need to be installed to the users' system then you'll need to list them further below under depends

@danrabbit thanks for the advice. Now, when I pushed runtime dependencies to control file and made a new release, how to push it to AppCenter?

Hey @amka the latest one is writeas:
Traceback (most recent call last):
  File "/usr/bin/com.github.tenderowl.norka", line 53, in <module>
    from norka import main
  File "/usr/lib/python3.6/site-packages/norka/main.py", line 40, in <module>
    from norka.widgets.preferences_dialog import PreferencesDialog
  File "/usr/lib/python3.6/site-packages/norka/widgets/preferences_dialog.py", line 28, in <module>
    from norka.services.writeas import Writeas
  File "/usr/lib/python3.6/site-packages/norka/services/writeas.py", line 25, in <module>
    import writeas
ModuleNotFoundError: No module named 'writeas'

@danrabbit I've updated deb files by adding python packages to build. After building the .deb package via debuild -b -us -uc I've tested it on fresh Elementary install and it worked absolutely fine.
I'm not experienced with .deb packaging and AppCenter, for now, I just see that there are issues but what exactly goes wrong?

It looks like you added a new feature that requires a new runtime dependency (writeas), but didn't update the runtime dependencies in your packaging. The result is that Norka crashes immediately when you try to start it.

Yup, that is the problem I tried to solve in current deb-packaging https://github.com/TenderOwl/Norka/blob/8f5b014b5d566db19577ac90832c72c4f927bba6/debian/rules#L26.
And after these changes, I tested it as mentioned above. Does this problem still exist?

@amka I don't think you have access to the internet like that on the builds server, so my guess would be that the package would fail to build. I suppose you can try it. Another option might be using a git submodule for writeas

Ok, but can I see logs of the current build? Because seems like build bot doesn't start any issues about it.
Let's make it clear, it will be much more convenient and easier for us to see what's exactly goes wrong. Just wanna fix it as quickly as I can, but don't have enough info about crashes or failed builds...

@amka have you submitted another build? If a build fails, you should get an automatic issue report filed with a build log

@danrabbit ah yes, the current build of 0.4.5 was sent to the store.

Was just looking at the review for 0.4.5 today. The deb (http://packages.elementary.io/testing/pool/main/c/com.github.tenderowl.norka/com.github.tenderowl.norka0.4.5-28400a.deb) seemed to build fine, and installs and runs on elementary OS 5.1.7 Hera now.

Not as easy as flatpak but it is awesome news!


glibc 2.41 will break fastbin examples

ik the repo is following the ubuntu's glibc releases, however i just wanted to give a heads-up
this patch adds tcache support to calloc, so it's no longer possible to use calloc to get into fastbin, author also explains this:
Also fix tst-safe-linking failure after enabling tcache. In previous,
calloc() is used as a way to by-pass tcache in memory allocation and
trigger safe-linking check in fastbins path. With tcache enabled, it
needs extra workarounds to bypass tcache.

so the fastbin examples that use the following technique to get into the fastbin will no longer work:
	fprintf(stderr,"Fill up tcache first.\n");

	void *ptrs[7];

	for (int i=0; i<7; i++) {
		ptrs[i] = malloc(8);
	}
	for (int i=0; i<7; i++) {
		free(ptrs[i]);
	}

        ...

        int *a = calloc(1,8);
	int *b = calloc(1,8);
	int *c = calloc(1,8);

as a, b and c will be allocated from the tcache
ofc it's still possible to get into fastbin, for example i tried fixing fastbin_dup.c:
int main() {
  setbuf(stdout, NULL);

  printf("This file demonstrates a simple double-free attack with fastbins.\n");

  printf("Allocate buffers to fill up tcache.\n");
  void *ptrs[7];

  for (int i = 0; i < 7; i++) {
    ptrs[i] = malloc(8);
  }

  printf("Allocating 3 buffers.\n");
  int *a = malloc(8);
  int *b = malloc(8);
  int *c = malloc(8);

  printf("Fill up tcache first.\n");
  for (int i = 0; i < 7; i++) {
    free(ptrs[i]);
  }

  printf("1st malloc(8): %p\n", a);
  printf("2nd malloc(8): %p\n", b);
  printf("3rd malloc(8): %p\n", c);

  printf("Freeing the first one...\n");
  free(a);

  printf("If we free %p again, things will crash because %p is at the top of the free list.\n", a, a);
  // free(a);

  printf("So, instead, we'll free %p.\n", b);
  free(b);

  printf("Now, we can free %p again, since it's not the head of the free list.\n", a);
  free(a);

  printf("In order to use the free list for allocation, we'll need to empty the tcache.\n");
  for (int i = 0; i < 7; i++) {
    ptrs[i] = malloc(8);
  }

  printf("Now the free list has [ %p, %p, %p ]. If we malloc 3 times, we'll get %p twice!\n", a, b, a, a);
  a = malloc(8);
  b = malloc(8);
  c = malloc(8);
  printf("1st malloc(8): %p\n", a);
  printf("2nd malloc(8): %p\n", b);
  printf("3rd malloc(8): %p\n", c);
}

but from an exploitation standpoint it's significantly less viable now

It is good to know that the examples will break in the next release. Thank you so much for that.
I'll leave the issue open. So when the next ubuntu release is out, I'll be able to fix the examples.
==
And yeah, it seems fastbin is less relevant in terms of exploitation now that we cannot directly access them. But they should still be in the repo for education purposes.


How to use GradCAM for multichannel 1D CNN models?

Hi, have you figured out how to use it with 1d CNNs ?

No.
----------Reply to Message----------
On Thu, Nov 23, 2023 09:04 AM Alaa @.***> wrote:
Hi, have you figured out how to use it with 1d CNNs ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Add more methods to the AppDelegate

Problem
#22001 proposed to change the AppDelegate methods to events, but it seems like AppDelegate is better than events. As it doesn't force using Matter event loop to process this, and can actually defer to application logic. This also simplifies writing tests.
Proposed Solution
List down and implement the methods that can be added to AppDelegate.

Listing down few items here after discussing with @tcarmelveilleux

OnOperationalNetworkEnabled()
OnOperationalNetworkReady()
OnPairingWindowOpened()
OnPairingWindowClosed()
OnPairingFailed()
Transition from Pairing -> Commissioning
Transition from OnOperationalNetworkEnabled -> OnOperationalNetworkReady

ping!


Add an explicit license

Adds an explicit LICENSE file to go with the one only documented in the package.json. This allows github to automatically detect the license and display an icon on the landing page for the project.
Closes #10

@rygine I no longer have commit access, so you'll have to approve and merge the PR. Thanks!


[EN] Feedback for: /web/shows/new-in-chrome/?hl=en

The embedded YouTube video can't go fullscreen. :(

I think this should be fixed with #2193

I doubt those changes will actually affect this.
Not sure why fullscreen is blank and not sure why it has the header and side bar.

Looking at this - it might be an MDL issue.
It looks like the iframe is getting a ridiculous height awarded to it in full screen - initially I thought it was completely broken, but looking at this on my vertical screen, half the video is visible at the bottom of the screen.

cc @sgomes as an FYI.
Looked at this again, I'm not sure what the solution should be.
I'm partly wondering if this is an issue with the layout again. If you set the height of the body to 100% you get the video iframe filling up the space of the screen in full screen, but you can still scroll down to reveal that the video is just covering some content and revealing the rest.
I'm not sure what more to do / debug. I suspect fixing layout.js in MDL to use fixed headers and not manipulate the DOM might make this problem go aware.
For now I'm going to remove fullscreen feature since it simply doesn't work.

@sgomes found the fix for this.
will-change: translate is causing everything to go wonk. I've reverted this for just shows.


(PUP-10309) Reduce UTF-8 acceptance risk

This commit reduces the audit risk level of UTF-8 acceptance tests from
"audit:high" to "audit:medium".

CLA signed by all contributors.


FiveReborn

How to setup to FiveReborn?

I've not tried FiveReborn, but I guess that what you need is to ensure the game has asi loader, script hook v, and Community Script Hook V .NET. Then copy my script to "Grand Theft Auto V/scripts" folder (create that folder if necessary) and it should work.
You can download my script here:
https://www.gta5-mods.com/scripts/custom-camera-v
If it doesn't work, even following the above steps, then it could be hard to fix. I would needs more details on what's happening (scripthook log, script hook dotnet log), and a clear explanation of what happens. Then I'll see what I can do. I hope you understand that possibly I cannot support every setup or integrate to any-other mod that presents some incompatibility.
Can you try and post here if it works? Thank you.

Also, I've updated readme.md to provide a download link.

Not work.
I copy
ScriptHookVDotNet.asi
GTAV_CustomCamera.dll
ScriptHookVDotNet.dll
GTAV_CustomCamera.ini
To this folders
d:\FiveReborn\client
d:\FiveReborn\client\plugins
Grand Theft Auto V
Grand Theft Auto V\Scripts
ScriptHookV.log from Grand Theft Auto V folder
// GTA V SCRIPT HOOK (build Dec 15 2016, v1.0.944.2)
//     (C) Alexander Blade 2015-2016
[16:26:05] INIT: Started
[16:26:05] INIT: Success, game version is VER_1_0_944_2_STEAM
[16:26:21] INIT: Pool 1 extended
[16:26:21] INIT: Pool 2 extended
[16:26:21] INIT: Pool 3 extended
[16:26:21] INIT: Pool 4 extended
[16:26:26] INIT: GtaThread collection size 188
[16:26:26] INIT: wnd proc 0x00000000FFFF0E2C
[16:26:26] INIT: IDXGISwapChain 0x000007FEF8FF5AE0 (0x000007FEF901B2F8)
[16:26:26] INIT: IDXGISwapChain set
[16:26:26] INIT: DX init started
[16:26:26] INIT: DX feature level B000
[16:26:26] INIT: DX init succeeded
[16:27:08] CORE: Requesting thread creation
[16:27:08] CORE: Creating threads
[16:27:08] CORE: Started control thread, id 28 active 1

I rename
d:\FiveReborn\client\plugins\scripts\GTAV_CustomCamera.dll to GTAV_CustomCamera.net.dll
FiveReborn\client\plugins\ScriptHookVDotNet.asi to ScriptHookVDN.asi
Now it work.
can I make camera inside in car more height?

You can change camera height by editing heightOffset in the ini file.
I think this issue can be closed.

@VladimirPobedinskiy
I also face this problem, and renaming the file not worked for me.
Can you show the full installations of these files?


NIFI-12428 Expanded Java version Enforcer rule to not allow building with Java 21

Summary
NIFI-12428
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[ ] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Merged in https://github.com/apache/nifi/commit/d40cb369a3653db12f2713ac2e339b6340025b1a

This is the wrong fix for the problem.
The readme specify:
Minimum Requirements

  JDK 8 Update 251
  Apache Maven 3.6.0

And the reference bug says:
 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project nifi-hl7-query-language: Compilation failure: Compilation failure:
 [ERROR] error: Source option 7 is no longer supported. Use 8 or later.
 [ERROR] error: Target option 7 is no longer supported. Use 8 or later.

This happens when the variable maven.compiler.source and maven.compiler.target are not correctly propagated.
Anyway those 2 variables are deprecated and maven.compiler.release should be used instead.
And to be exhausted, the bug talk about a problem with org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile. But if I have a look at the plugin home page (https://maven.apache.org/plugins/maven-compiler-plugin/), for the latest version (3.13.0), it says:
 Also note that at present the default source setting is 1.8 and the default target setting is 1.8, independently of the JDK you run Maven with. You are highly encouraged to change these defaults by setting source and target as described in [Setting the -source and -target of the Java Compiler](https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html).

So a very simple and easy quick-fix would be to update the org.apache.maven.plugins:maven-compiler-plugin.


add service save in etcd

Relates to #162
This PR add services data in ETCD
Verification
$ ./swarm start
$ make test-stack

Waiting for the last Tony's service proto service message to update the PR accordlingly

#177 has been merged.

Waiting for new parsing using service.ServiceSpect instead of stack.Service

@freignat91 Closing this now -- go ahead and reopen it when you're ready.


Title:Add styling to project cards.

Which pre-existing JavaScript project will you be working on?
Adding styling to project cards for better user experience and enhance website.
Describe your enhancement/improvement
Adding hover on cards.
Adding hover on buttons.
Adding colour.
Anything you need to say to the Reviewers
No response
Add any other context or relevant screenshots about the enhancement here.
No response

@soniya-malviy Thank you for providing your insight but it is not required as of now


using multiple "command" calls only seems to validate the last one in the yaml file

I've got yaml file with multiple command checks (e.g. check the version returned by multiple installed products) but when I validate it only appears to check against the last commnd entry in the yaml file.

Apologies, an error on my part reading the syntax - all resolved now.

Cool, if you feel the documentation is not clear, feel free to submit pull requests with better verbiage.


Null Object Reference When I Load My Character

Describe your problem here.
So basically what's happening rn is that when i load my modded character into the opponent and enter, it gives me this: PlayState.hx (line 3075)
flixel/FlxState.hx (line 202)
flixel/FlxGame.hx (line 747)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 551)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng
I have no idea what happened because i made a early ver. of the character earlier and it worked, i did the same thing but with a different sprite and this happened. If anyone can help me that would be appreciated.

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

character not pixel or other


CAS-355 Bugfix: Upgrade to @onflow/fcl@alpha to fix /v1/accounts calls

Explanation
There's an issue @Sarah Younes flagged when creating communities where the FE is validating the provided addresses for the community strategies, and the FCL call is intermittently returning 400 errors and blocking the community creation.
It looks like the reason is because on our version of FCL, the /v1/accounts call is specifying block_height=final .  This is a problem because if the Execution Node isn't fully synced, then the account wont "exist" at the final block-height.
They made a fix for this 12 days ago in the fcl-js repo (the solution is to specify block_height=sealed which is much more reliable) but we need to upgrade to the FCL alpha release by doing npm install @onflow/fcl@alpha
Solution
npm install @onflow/fcl@alpha

Closing PR instead will use #317


Livekit SDK not up to date - participant not disconnected after CallActivity onExitClick

Describe the bug
Livekit SDK not up to date
To Reproduce
Bug in a call with 2 participants. When participant 2 closes CallActivity by onExitClick participant 1 can still see participant 2 on the call.
Device Info:

Device: Emulator
OS: Android 13
LiveKit SDK version: 1.1.10

Additional context
According to this file https://github.com/livekit/client-sdk-android/blob/main/sample-app-compose/src/main/java/io/livekit/android/composesample/VideoItem.kt#L62 which is implemented by  https://github.com/livekit/client-sdk-android/blob/main/livekit-android-sdk/src/main/java/io/livekit/android/compose/VideoRenderer.kt#L22
VideoRenderer  has mirror argument but when you use VideoRenderer from the library implementation "io.livekit:livekit-android:1.1.10" mirror is not available.

Please file separate bugs if you have multiple issues.
The VideoRenderer mirror argument is recently added and will be released soon. Please understand that we won't make a new release after every commit. If you want to try out the latest commits, you can always try the SNAPSHOT version (currently 1.1.11-SNAPSHOT).

Closing this issue. Open a new issue for the onExitClick if you still see that issue. I'm unable to repro this on sample-app nor sample-app-compose.


Bombers password cutscene doesn't have the correct camera angle

[X] I have checked the known issues and searched Github to ensure this issue has not already been reported.
[X] This is not a feature request, I know those belong on Discord/Github Discussions.

Description of the bug:
When completing the Bombers minigame to get the password for their hideout, the cutscene doesn't show the Bombers members turning around with their numbers shown on their backs. The camera stays facing Link, and you only know that the password reveal is complete when a text box pops up.
Can you reproduce? If so please list the steps:

[ ] No, I cannot reproduce this bug
[X] Yes, here are the steps to reproduce the bug:

Expected behavior:
The camera should be aimed at the Bombers as they reveal the password
Screenshots or videos:

System Information:

OS: Windows
GFX Backend: DirectX
Game Version: 1.0.1
Rom Version: NTSC GameCube

Additional Information:
Resolution: 3840x2160 16:9 widescreen

Thanks for the report! This has been known about for a bit but I guess we forgot to make a github issue!

i'm going to close this as a dupe of 330, thanks for the report!


Dectect PSO component name collisions

Something like this shouldn't be legal:
pipeline pipe {
    vbuf: gfx::VertexBuffer<Vertex> = (),
    vr_left: gfx::RenderTarget<ColorFormat> = "pixcolor",
    vr_right: gfx::RenderTarget<ColorFormat> = "pixcolor",
    monitor: gfx::RenderTarget<ColorFormat> = "pixcolor",
}

cc @Bastacyclop @jaredr

I haven't even the slightest clue as to how to do it with rust's macros. Are you sure it's possible?

@eugene2k I don't think that you can do it with simple macro_rules!, but it should be easy with procedural macros / compiler plugins, we might need those for other features as well. I lost track of what is happening in that area, a new macro API should step in someday and make procedural macros a lot more attractive ?

Currently "Macros 2.0" is far from being stabilized and there's also work on the "Macros 1.1" api, which AFAIK only works for #[derive()] attributes. In other words, I don't think this bug is possible to resolve unless some sort of compiler/translator is added to gfx ecosystem to translate from DSL and into rust. Such a tool would probably solve other problems with current PSO definitions.

I was wondering if something like an artificial match through these names in the macro-generated code would force Rust to ensure the arms (= names) are unique, even if the match result will be unused.

The error in that case would be "unreachable pattern", which would probably be very confusing.

not happened in pre-ll


aws cdk

I see that you are using part of aws-cdk but only for test purposes.
what do you think of using cdk instead of cloudformation ymls?

Thanks @OlafConijn. I'll give it a try

@OlafConijn - quick question about update-cdk. is it possible to reference AccountId? so cdk could create CFN stack for each account in OU?
can you share an example with cdk?

hi, if you change the binding to OrganizationalUnit: !Ref MyOU the cdk project will be deployed to every account in the OU.
you can pass the accountId as a parameter using param1: !Sub 'sub expression ${AWS::AccountId}'
OrganizationUpdate:
  Type: update-organization
  Template: ./organization.yml

CdkWorkload:
  Type: update-cdk
  Path: ./workload/
  RunNpmInstall: true
  OrganizationBinding:
    OrganizationalUnit: !Ref MyOU
  Parameters:
    param1: !Sub 'sub expression ${AWS::AccountId}'
    param2: !GetAtt AccountA.AccountName
  MaxConcurrentTasks: 1
  FailedTaskTolerance: 0


Connect biolink terms directly to instances

The indirection between biolink terms and instance type assertions slows down queries. We should add axioms or rules to directly connect instances to their biolink types.

@patrickkwang there are two ways this can be done:

Whenever an ontology term is mapped to a biolink term, make the ontology term a subclass of the biolink term. This will automatically make the reasoner create rdf:type links from instances to biolink terms.
Whenever an ontology term is mapped to a biolink term, create a SWRL rule which causes the reasoner to link individuals to biolink terms with some other custom relation.

So basically my question is, do you want to distinguish connections from instances to biolink terms from other ontology types they have (do we need to use a different relation)?


Errno 111 when initializing on a Debian PC with strict Proxy Settings.

Hi.
I have installed PIO on my Debian 8.6 Linux, and it fails to initialize. This VM is under very strict Proxy settings, but is set up to work with this proxy as all other apps and things work just right.
jurisl@YuriyLinuxVM:~/Work$ python get-platformio.py

==> Installing Python Package Manager ...
<urlopen error [Errno 111] Connection refused>
[FAILURE]
The installation process has been FAILED!
Please report about this problem here
< https://github.com/platformio/platformio/issues >
jurisl@YuriyLinuxVM:~/Work$

Hi,
Could you try to install using pip package manager?
cd /tmp
virtualenv piotest
source piotest/bin/activate
pip install platformio

Иван, тоже не сработало.
I have tried your suggestion and it fails too.
jurisl@YuriyLinuxVM:/tmp$ virtualenv piotest
Running virtualenv with interpreter /usr/bin/python2
New python executable in piotest/bin/python2
Also creating executable in piotest/bin/python
Installing setuptools, pip...done.
jurisl@YuriyLinuxVM:/tmp$ source piotest/bin/activate
(piotest)jurisl@YuriyLinuxVM:/tmp$ pip install platformio
Downloading/unpacking platformio
  Cannot fetch index base URL https://pypi.python.org/simple/
  Could not find any downloads that satisfy the requirement platformio
Cleaning up...
No distributions at all found for platformio
Storing debug log for failure in /home/jurisl/.pip/pip.log

pip.log.txt
P.S. On exactly the same system at home (with no proxy), everything works perfectly. On this PC I have a corporate proxy and it fails to install. Let me know what you think.
Thanks.

How about https://www.google.com.ua/search?q=pip+proxy?

Just got it working with proxy, and init works:
j```
urisl@YuriyLinuxVM:~$ sudo platformio init
The current working directory /home/jurisl will be used for project.
You can specify another project directory via
platformio init -d %PATH_TO_THE_PROJECT_DIR% command.
The next files/directories have been created in /home/jurisl
platformio.ini - Project Configuration File
src - Put your source files here
lib - Put here project specific (private) libraries
Project has been successfully initialized!
Useful commands:
platformio run - process/build project from the current directory
platformio run --target upload or platformio run -t upload - upload firmware to embedded board
platformio run --target clean - clean project (remove compiled files)
platformio run --help - additional information

Atom IDE still fails with the same error as above (picture). I will use Qt Creator for now though.

Cool! Now, let's fix Atom. What did you do to install PlatformIO above? Looks like need to setup PROXY environment variables and restart PC.

This Linux has been configured to use Proxy, and everything else works just fine with it. For some reason Atom IDE does not pick it up and fails. I used .deb package to install it. I will keep hacking now to fix it.

I got it a bit further, but it still fails on a last step. It updates Atom, can search for packages, so it has the connection working.

Clone this repo to ~/.atom/packages/platformio-ide, change directory to it and run npm install. Open Atom.

 Please be careful. I mentioned above that source code of PlatformIO IDE should be unpacked/cloned to ~/.atom/packages/platformio-ide. What is it ~/.atom/packages/platformio-ide/platformio-atom-ide?

Sorry. That was my mistake. I was not careful. This worked, but there are more errors with Terminal not installing, and side bar not showing up. I use Qt Creator anyway and it works perfectly in it. I don't really need atom anymore, as you have helped to set up platformio anyway.
I think it is very rare case, that someone has the problem with very strict Proxy settings. So it is just that - proxy problems.
So I guess using pip with proxy fixed the thing and now I am using it with Qt.

We have users with Proxy. However, they don't have problems with installation.
If Qt is cool for you, then I close this issue.
Happy Coding with PlatformIO! 😊


Add mosh support?

Hello, I find storm a great tool for managing my ssh mess, but I normally use Mosh, which works using ssh...
Is possible to get mosh support?

Storm just edits your .ssh/config
Since Mosh just calls upon ssh it should work anyway


Route for listing service routes is missing

Right now you cannot do http://localhost:3000/media
Expected result would be that it returns a list of available resources for the service e.g.
{
"status": "ok",
"data": [
{
"name": "renderers",
"uri": "/media/renderers/"
},
{
"name": "collections",
"uri": "/media/collections/"
}
]
}
PR will follow...

http://localhost:3000/media2 should return 404
for an empty service (no resources) an empty list response is expected:
{ "status": "ok", "data": [ ] }

implemented,
https://github.com/wzr1337/viwiServer/commit/781eedde1c03fdf1066e7ba7d1e4144985c43d9f
adds a test accordingly


[WIP] - cuDF Dataframe Support

Support cuDF DataFrames to enable us to take advantage of GPU acceleration
Fixes #722

Just leaving a progress note here:
Tests are passing locally on AWS instance. As part of a current first-pass, I have disabled NaturalLanguage testing. cudf uses a object dtype to represent string data but NaturalLanguage is a child of the string dtype.  Moving forward, we will have to decide whether to support NaturalLanguage inference on cudf.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: sbadithe:x: Gaurav SheniGaurav Sheni seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing as there are no plans to support this at this time.


Missing software / open-source license

Expected Behavior
A software project operated by a commercial entity should decide under which software license the software project operates.
https://opensource.org/licenses
Actual Behavior
The OT-node does not include a reference under which software or open-source license the project is published
Steps to Reproduce the Problem
Browser the repository and search for a software license
Specifications
https://www.apache.org/foundation/getinvolved.html

Licence added.


dsHDMIIn - HAL Interface file update with SEI signalling info

During TV Setting review, it has been suggested by the architect team to provide a note on how the SEI info is being handled for the Picture mode events in the HAL Interface file (dsHDMIIn).  So the function dsHdmiInRegisterAviContentTypeChangeCB should be updated with a note saying " For IP and Tuner Video source, the Picture mode events are updated through SEI info handled from TVSettings module"
Below is the Architecture team feedback.
"As soon as I see "This applies only to IP video sources and Tuner video sources" I ask the question "then where do I get it for HDMI?". So to avoid having to hunt state it. It make life easier and the interface better."

Merged to develop


while using XBOM.IS_SESSION getting DateOutOfBounds error:

Exchange_Calendars package was working good until 31/12/2021 and after that receiving the DateOutOfBounds error during xbom.is_session method. I have updated the package to 3.5 and did check the code yesterday to see XBOM.py file was missing the 2022 calendar entries and at the same time there was a PR pending with changes to be merged with main branch. Today, I see that the changes are merged with main branch. However, I still get the error.
Attaching the screenshot of error.

Hi @srinivasakumar-a, these changes won't be relfected in PyPI until the next release is cut.
In the meantime you could always try installing the package directly from the main branch of the github repo, something like this should work...
$ pip install git+https://github.com/gerrymanoim/exchange_calendars.git#egg=exchange_calendars

Hi @srinivasakumar-a, these changes won't be relfected in PyPI until the next release is cut.
In the meantime you could always try installing the package directly from the main branch of the github repo, something like this should work... $ pip install git+https://github.com/gerrymanoim/exchange_calendars.git#egg=exchange_calendars
Reference: installing packages from git

installing from github main branch directly helped to resolve my issue!
Thanks a lot!
HAPPY NEW YEAR 2022 :)


azureml-train 1.4.0

Type: Missing
Summary:
azureml-train 1.4.0
Details:
PyPi license field indicates OTHER. License:  https://github.com/Azure/MachineLearningNotebooks/blob/master/Licenses/sdk-license/LICENSE
Resolution:
Declared license is OTHER
Affected definitions:

azureml-train 1.4.0

Already curated as OTHER. Closing.