Improve error message dialog

Is your feature request related to a problem? Please describe.
The error message dialog shows the whole stack trace of the exception. It can be very good if you know the application and how to read a stack trace, but it can be bad if you just want to see what happened.
Describe the solution you'd like
Have a more complex dialog, that just show the text of the error in the main text box, and shows the whole stack trace in an "advanced" text box which appears only when the "Advanced" button gets clicked.
Describe alternatives you've considered
To show only the message, but in some cases it is a good idea to see the whole stack trace and understand where the error comes from.

The message dialog shows a simple message unless the Advanced button is pressed. In this case if it is an error the whole stack trace is displayed.


Add env wildcards for framework Nitro NITRO_*

Verify canary release

[X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
2.0.4-canary.4
Describe the Bug
Nitro is the server framework that Nuxt is using. It is part of every Nuxt application but is also an awesome API framework on its own that deploys everywhere (e.g. on Vercel Functions and Vercel Edge Functions).
When using Nitro separate all env variables start with NITRO_*. This wildcard should be added to the Framework Inference.
This will also fix deployments of Nuxt that deploy to any given preset that is not node-server (e.g. vercel), see https://github.com/vercel/turbo/issues/8503
Expected Behavior

To Reproduce

Additional context
No response

Works for me! Code is here for you, future me, or anyone else that wants to make this PR: https://github.com/vercel/turbo/blob/131cb0813b2bcee10715609f9f838988719aec47/crates/turborepo-lib/src/framework.rs#L36

I will do a PR, also to update the docs.
btw I wonder why is says NUXT_ENV_*, it should be NUXT_*

Is it meant to be NUXT_*? I think I'm the only one on the team who has ever used Nuxt and it was a hello-world. 😄 If you want to add that to the PR and provide the documentation that shows that it's supposed to be NUXT_*, that would be great!

It is NUXT_* for server variables and NUXT_PUBLIC_ for frontend variables. Docs: https://nuxt.com/docs/guide/going-further/runtime-config#environment-variables
Until now nobody noticed but with v2 all env variables are removed so it will start to break. Also I wonder if Nuxt/Nitro detects some providers by environment variables. If yes than this environments are not zero config anymore when using Turbo.

Happy to support popular frameworks! Just a simple mistake on our part. We don't claim to be perfect.


Types

Would like to get some feedback on this. I wanted to just use the typescript module to do the build however it does not concat UMD builds which lead me down the road of creating CJS and AMD builds.  @chancancode do you know some tricks to get around this issue or is there a preferred output? /cc @rwjblue.

Did you see this branch? https://github.com/tildeio/simple-html-tokenizer/tree/wip

Also,  look at the build here https://github.com/krisselden/fast-source-map
It supports debugging in vscode with sourcemaps. Targets modules to ES6 but code to ES5 and uses roll up just for modules.

😞 Didn't see that branch. Probably need to talk to @wycats, I was working on converting Simple DOM and it was relatively quick to turn this into TS.

Rebased and landed in #42


Add kafka hostname to /etc/hosts

#69

at start, adds the hostname of the Kafka container in /etc/hosts for local resolution (for now works when only one container is launched)
at stop, removes the hostname of the Kafka container from /etc/hosts

@ndegory Thanks for getting this done so quickly. I don't think you need to exit with an error if there is more than one replica. I think it's fine to just return the first hostname since the client should be able to talk to any kafka replica in the cluster.

@subfuzion you're right, commit 2c578a8 should do it

Awesome, works great for me. Thanks. 👍

I'm leaving the issue open while we consider our long term strategy.


Add debug symbols to ./download

This is a tentative attempt at automating the process of grabbing debug .sos and libc sources, which are useful for providing source-level libc debugging in gdb.
The scope of this PR is limited to ubuntu only; non-apt-based libc packages are really outside of my knowledge and I'd rather not attempt that. I tried checking debian packages but a lot of their libc6-dbg packages only contain .debug files that I don't really know what to do with.
The added code has also not been extensively tested. It might work on my machine, but bash is notoriously easy to mess up. Here's an example of what a correct run might look like:
~/libc-database$ ./download libc6_2.27-3ubuntu1_amd64
Getting libc6_2.27-3ubuntu1_amd64
  -> Location: http://security.ubuntu.com/ubuntu/pool/main/g/glibc//libc6_2.27-3ubuntu1_amd64.deb
  -> Downloading package
  -> Extracting package
  -> Package saved to libs/libc6_2.27-3ubuntu1_amd64
Getting debug materials for libc6_2.27-3ubuntu1_amd64
  -> Location: http://security.ubuntu.com/ubuntu/pool/universe/g/glibc//glibc-source_2.27-3ubuntu1_all.deb
  -> Downloading package
  -> Extracting package
  -> Location: http://security.ubuntu.com/ubuntu/pool/main/g/glibc//libc6-dbg_2.27-3ubuntu1_amd64.deb
  -> Downloading package
  -> Extracting package
~/libc-database$ ls libs/libc6_2.27-3ubuntu1_amd64
debug                 libBrokenLocale-2.27.so  libcrypt-2.27.so  libm-2.27.so     libnsl-2.27.so         libnss_dns.so.2        libnss_nis-2.27.so      libpthread-2.27.so  librt.so.1           libutil.so.1
ld-2.27.so            libBrokenLocale.so.1     libcrypt.so.1     libmemusage.so   libnsl.so.1            libnss_files-2.27.so   libnss_nisplus-2.27.so  libpthread.so.0     libSegFault.so       source
ld-linux-x86-64.so.2  libc-2.27.so             libc.so.6         libm.so.6        libnss_compat-2.27.so  libnss_files.so.2      libnss_nisplus.so.2     libresolv-2.27.so   libthread_db-1.0.so
libanl-2.27.so        libcidn-2.27.so          libdl-2.27.so     libmvec-2.27.so  libnss_compat.so.2     libnss_hesiod-2.27.so  libnss_nis.so.2         libresolv.so.2      libthread_db.so.1
libanl.so.1           libcidn.so.1             libdl.so.2        libmvec.so.1     libnss_dns-2.27.so     libnss_hesiod.so.2     libpcprofile.so         librt-2.27.so       libutil-2.27.so
~/libc-database$ ls libs/libc6_2.27-3ubuntu1_amd64/debug/
ld-2.27.so               libc-2.27.so      libdl-2.27.so   libmvec-2.27.so        libnss_dns-2.27.so     libnss_nis-2.27.so      libresolv-2.27.so  libthread_db-1.0.so
libanl-2.27.so           libcidn-2.27.so   libm-2.27.so    libnsl-2.27.so         libnss_files-2.27.so   libnss_nisplus-2.27.so  librt-2.27.so      libutil-2.27.so
libBrokenLocale-2.27.so  libcrypt-2.27.so  libmemusage.so  libnss_compat-2.27.so  libnss_hesiod-2.27.so  libpcprofile.so         libSegFault.so
~/libc-database$ ls libs/libc6_2.27-3ubuntu1_amd64/source/
glibc-2.27
~/libc-database$ ls libs/libc6_2.27-3ubuntu1_amd64/source/glibc-2.27/
abi-tags    ChangeLog       COPYING      dlfcn           gnulib     include    libio              mach         manual   nptl_db        README    shadow          streams  test-skeleton.c
aclocal.m4  ChangeLog.old   COPYING.LIB  elf             grp        inet       libof-iterator.mk  MAINTAINERS  math     nscd           resolv    shlib-versions  string   time
argp        config.h.in     crypt        extra-lib.mk    gshadow    INSTALL    libpthread         Makeconfig   mathvec  nss            resource  signal          sunrpc   timezone
assert      config.make.in  csu          fbtl            hesiod     intl       LICENSES           Makefile     misc     o-iterator.mk  rt        socket          support  version.h
benchtests  configure       ctype        fbtl_db         hurd       io         locale             Makefile.in  NEWS     po             Rules     soft-fp         sysdeps  wcsmbs
bits        configure.ac    debug        gen-locales.mk  iconv      libc-abis  localedata         Makerules    nis      posix          scripts   stdio-common    sysvipc  wctype
catgets     conform         dirent       gmon            iconvdata  libidn     login              malloc       nptl     pwd            setjmp    stdlib          termios

Any feedback is welcome.

Just to set expectations right, I won't have time to look at this in detail within the coming weeks or months. If somebody else like @peace-maker or @ajabep wants to review this, I'll be happy to consider merging it if their feedback is positive

BTW this fails for some libcs, e.g. libc6_2.31-0ubuntu9.7_amd64 on https://github.com/niklasb/libc-database/blob/c7b6d38b7f6178d6ecf9c1b472b0af2ea48c5c09/download#L91
The reason is some weird directory layout in this version, where $tmp/lib/*/* also matches some directory. Maybe this should be $tmp/lib/*/*.so instead (or cp -r if we want to copy that directory as well)

Also, maybe this should unpack to .debug instead of debug, because then gdb will pick them up automatically (unless I'm doing something wrong)
But this might be confusing as dotfiles are hidden


Avoid preloads in lateral subqueries

Relates to #97
Ecto doesn't allow preloads in subqueries, so this PR moves any preloads out to a call to Repo.preload.
This should support basic keyword preloads, but join preloads are dropped.
It also avoids using a lateral join when loading rows by primary key with a limit, as in the example in #97.

Would be super helpful to merge this @benwilson512 when you get the chance to review it.
Thanks a lot @mbuhot for the PR !

Great stuff, thank you!


fix: Incorrect Pod Filtering for Brokers Starts with similar prefixes/names

The filtering of pods works incorrectly when brokers have names that start with similar prefixes. For example, if there are two brokers named ex-aao and ex-aao-1, selecting the ex-aao broker lists the pods for both ex-aao and ex-aao-1. The filtering should only list the pods for the selected broker, not for brokers with similar starting names.
and also add unit tests to ensure filtering logic works as expected.

Closed as completed.


Uncaught ReferenceError: mod_pagespeed_I15t4UCyVJ is not defined

Sometimes I get this following error on my page:
Uncaught ReferenceError: mod_pagespeed_I15t4UCyVJ is not defined
(This about 10 times in the Google Chrome console)
After some refresh the error is gone and everything is working fine - Don't know why.

@jeffkaufman any idea how to overcome similar issue at https://github.com/apache/incubator-pagespeed-mod/issues/634 ? the only solution im thinking of right now is a little bit ugly and requires another proxy layer.

@pySilver Sorry, I don't work on pagespeed anymore.  @oschaaf might be a better person to ask?


Find out process name of whoever sent signals to us

We log details of a signal that was sent to us by other processes. But it contains only the UID/PID of that process. It would be nice to find out the name of the user and the process.
As that seems to be somewhat non-portable thing and may need extra dependencies, we may want to put that behind a feature flag.

This has been released in 0.4.13.

This has been released in 0.4.13.


Annotation next line

Fix for #12
It introduce param for forcing annotation. Current default setting is off.
Before release you could change it to be on by default.

This PR also needs a rebase against https://github.com/scala-ide/scalariform


Mount EFS only once

With this patch, the EFS is only mounted once if it is mountable.  This significantly reduces bootup time by approximately 0.5 s.
Fixes: https://github.com/Nitrokey/nitrokey-3-firmware/issues/440

No significant changes.

Insignifcant changes

metric
value

change

binary-size-nk3am
1423180
:white_check_mark:
-90 (-0.00%)

binary-size-nk3am-test
2021679
:white_check_mark:
-405 (-0.00%)

binary-size-nk3xn
510176
:white_check_mark:
-80 (-0.00%)

binary-size-nk3xn-test
547228
:red_circle:
+120 (+0.00%)

binary-size-nkpk
736524
:red_circle:
+45 (+0.00%)


No fifo present mode

I'm using an Intel(R) Kabylake GT2 (graphics chip of Intel® Core™ i5-7200U) and the following lines
let caps = window.surface()
    .get_capabilities(&physical)
    .expect("Failed to get capabilities");
println!("Present modes: {:#?}", caps.present_modes);

print
Present modes: SupportedPresentModes {
    immediate: false,
    mailbox: true,
    fifo: false,
    relaxed: false
}

However, the docs state that fifo is guaranteed to be true. I'm using winit and vulkano-win for window creation (just like the triangle example).

That's probably a driver bug.
See this: https://github.com/tomaka/vulkano/blob/master/vulkano/src/swapchain/surface.rs#L436-L438


windows defender Virus detected !!

Could you let me know which part of your software triggered the detection?

For dumping mem in android device, the bin file will release  adb.exe file and the gdump file in %APPDATA%/GDA. and bin file is packed by Themida. this is the reasons to trigger the detection.

While I was downloading .zip archieve Windows Defender counted GDA3.65.zip as a virus and deleted it.

For your information, below is scan result of GDA3.66
https://www.virustotal.com/gui/file/42f343bc07bbb522f9ae8f7e055366a00b7efbbdd751e41635e53d0555612b30/detection

"clean" does not mean uninfected. This software is NOT opensource. One can think that there is indeed a virus/trojan build-in intentionally and it got detected. Developers repackaged it so the latest version is not getting detected. This is all speculation, but I strongly advise not to use this software until the source code is available (and you compile it yourself).

"clean" does not mean uninfected. This software is NOT opensource. One can think that there is indeed a virus/trojan build-in intentionally and it got detected. Developers repackaged it so the latest version is not getting detected. This is all speculation, but I strongly advise not to use this software until the source code is available (and you compile it yourself).

I didn't deliberately do the work of bypassing anti-virus software. Please don't speculate maliciously. When each new version is released, it won't be killed and killed in a while. I use Themida to prevent anti-decompilation, which leads to be detected by some anti-virus software .I have my own full load of work, and I don't have much energy to do such work. Most anti-virus software will report virus to any packed PE file. If my goal is to spread the virus, why spend a lot of time developing an decompiler and putting my name and contact information in Gda? Am I stupid? If it is commercialized, is it not more beneficial than spreading the virus? so, If you don't trust it, you can use it in a pure virtual machine, thanks!

sorry, I didn't want to cause an anger or blame anyone. The intention of my message was to encourage you to release an open source version. I expected source code available for a project hosted at github.
I have bad experience with close source programs.  Please consider ;-)
Peace!

I'm sorry, but your explanation really doesn't add up. Windows still keeps detecting even the latest version (3.72) as containing Win32/Occamy.C. And what's worse is that I found the following in my netstat output after I ran the program:
  TCP    <IP_ADDRESS>:62250     <IP_ADDRESS>:9090    CLOSE_WAIT
 [GDA3.72.exe]

Why does your program try to connect to an IP in Beijing, CN?


Move testing and release asset creation to GitHub Actions

This simplifies secrets access, avoids some memory ceiling issues with linting in Travis CI, and provides more control and visibility for developers without access to the Travis CI account.
Also remove a GCP plugin test that was calling the API, and updates to a newer version of golangci-lint that uses less memory (and corrects a few more lint issues).

Only thing that sucks with this is we'll need to make upstream branches to file PRs. But I'm OK with that.

Sorry, accidentally closed

Shouldn't need to make upstream branches to file PRs. I just did that so I could test it easily.


Code passes but not correct output

Challenge Escape Sequences in Strings has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

var myStr = "FirstLine\n\\SecondLine\\\rThirdLine"; // Change this line

@rlegare
I'm not shure what might be your issue but in my case, your code works.

@rlegare Chrome 54.0 and your code is working for me as well.

@rlegare I think that this PR fixes your issue if your issue is what @KonSal points out it to be. Closing this issue as it appears to be resolved when the updates are pushed live. If this is not what you were referring to, feel free to reopen this issue. Happy coding!

Thanks rlegare for pointing this.
I am doing this exercise and can confirm it still exists.


Cargo watch triggered by ignored file with non locked installation

Hi, the main problem is that cargo-watch is triggered by an update of .cargo/.package-cache when /.cargo/.package-cache is in the .gitignore and also marked as ignored by -i ".cargo/*". That leads to an infinite watch loop.
And I've spent half a day trying to narrow down the problem. Here are the results.
It can be reproduced with multiple versions of cargo-watch: 7.7.0, 7.7.1, 7.8.0. The following concerns 7.8.0.
--poll does not have that problem.
I have a version of cargo-watch compiled in May or June 2021 which does not have that problem. If I reinstall it in the exact same setup (basically debian buster), the problem appears.
If I do cargo install cargo-watch --locked then the problem vanishes. That is the first glimpse of hope.
The difference between the two can be summarized to the following diff in dependency versions:
--- aaa4        2021-07-13 14:13:01.771755708 +0200
+++ aaa3        2021-07-13 14:08:53.706883521 +0200
@@ -1,12 +1,12 @@
-   Compiling aho-corasick v0.7.18
+   Compiling aho-corasick v0.7.15
    Compiling ansi_term v0.11.0
    Compiling atty v0.2.14
    Compiling autocfg v1.0.1
    Compiling bitflags v1.2.1
-   Compiling bstr v0.2.16
+   Compiling bstr v0.2.15
    Compiling camino v1.0.4
    Compiling cargo-watch v7.8.0
-   Compiling cc v1.0.69
+   Compiling cc v1.0.67
    Compiling cfg-if v0.1.10
    Compiling cfg-if v1.0.0
    Compiling chrono v0.4.19
@@ -17,11 +17,11 @@
    Compiling derive_builder_core v0.10.2
    Compiling derive_builder_macro v0.10.2
    Compiling derive_builder v0.10.2
-   Compiling embed-resource v1.6.3
-   Compiling env_logger v0.8.4
+   Compiling embed-resource v1.6.2
+   Compiling env_logger v0.8.3
    Compiling filetime v0.2.14
    Compiling fnv v1.0.7
-   Compiling globset v0.4.8
+   Compiling globset v0.4.6
    Compiling glob v0.3.0
    Compiling ident_case v1.0.1
    Compiling inotify-sys v0.1.5
@@ -29,27 +29,27 @@
    Compiling iovec v0.1.4
    Compiling lazycell v1.3.0
    Compiling lazy_static v1.4.0
-   Compiling libc v0.2.98
+   Compiling libc v0.2.94
    Compiling log v0.4.14
-   Compiling memchr v2.4.0
+   Compiling memchr v2.3.4
    Compiling mio-extras v2.0.6
    Compiling mio v0.6.23
    Compiling net2 v0.2.37
    Compiling nix v0.20.0
-   Compiling notify v4.0.17
+   Compiling notify v4.0.16
    Compiling num-integer v0.1.44
    Compiling num-traits v0.2.14
-   Compiling proc-macro2 v1.0.27
+   Compiling proc-macro2 v1.0.26
    Compiling quote v1.0.9
-   Compiling regex-syntax v0.6.25
-   Compiling regex v1.5.4
+   Compiling regex-syntax v0.6.23
+   Compiling regex v1.4.6
    Compiling same-file v1.0.6
    Compiling shell-escape v0.1.5
    Compiling slab v0.4.3
    Compiling stderrlog v0.5.1
    Compiling strsim v0.10.0
    Compiling strsim v0.8.0
-   Compiling syn v1.0.73
+   Compiling syn v1.0.71
    Compiling termcolor v1.1.2
    Compiling term_size v0.3.2
    Compiling textwrap v0.11.0

I did not investigate more, but I think that is a good start for further investigation. Maybe somebody will have a flash when seening that diff :).

This is due to https://github.com/BurntSushi/ripgrep/commit/7534d5144f5c5e89d67c791e663cdc0bee069b0e in conjunction with watchexec adding /** to all entries of .gitignore.
According to the mentioned commit, I suspect watchexec should add 2 entries in that case.

That globset upgrade breaks our tests (and various other behaviour), so I've pinned it back, and that's why --locked works. I'll get cargo-watch to pin without --locked for now; reviewing the entire pattern behaviour so we can upgrade along will come... later.

Done in 7.8.1


Improve "cilium-dbg metrics list" output for histograms/summary metrics

Is there an existing issue for this?

[X] I have searched the existing issues

Version
main branch
What happened?
Output of cilium-dbg metrics list:
...
cilium_endpoint_regeneration_time_stats_seconds       scope="total" status="success"                                                         20.827537
cilium_endpoint_regeneration_time_stats_seconds       scope="waitingForCTClean" status="success"                                             0.036558
cilium_endpoint_regeneration_time_stats_seconds       scope="waitingForLock" status="success"                                                3.502901
cilium_endpoint_regeneration_time_stats_seconds       scope="waitingForPolicyRepository" status="success"                                    0.000004
...

cilium_endpoint_regeneration_time_stats_seconds is a Histogram metric.
Related code-paths:

https://github.com/cilium/cilium/blob/2311f3d7811c8950b7f5e1e2ac290f8216be0dc3/pkg/metrics/registry.go#L232-L235
https://github.com/cilium/cilium/blob/ef305c039326fc50d44dd763ea371c9dfd46608f/operator/metrics/legacy.go#L54-L57
As we can see, we are returning GetSampleSum.

This doesn't really give good insights into what it means:

The sum depends on the number of samples
There could be 1 sample with latency 19s and 100 samples with latency 0.01 for total regeneration time.
So this information does not provide any valuable information.

Instead, we could:

For Histograms metrics, return Buckets, or fixed quantiles "0.99" / "0.9" / "0.5" with samples count
For Summary metrics, return predefined quantiles and sample count

How can we reproduce the issue?
Above
Cilium Version
main branch
Kernel Version
N/A
Kubernetes Version
N/A
Regression
No
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Cilium Users Document

[ ] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I started to work on this today. Please assign me.


Remove left over code from tail call refactoring

There was some left over code in runitme.js after #2022

LGTM


ApiGatewayKeyValue contains the CLI command to get the key - Guidance update

ApiGatewayKeyValue contains the CLI command to get the key - not the key, this should be clear with steps to get the key (e.g. via Cloud9 environment)
https://github.com/aws-samples/aws-iam-temporary-elevated-access-broker/blob/ce85fa42b2a640f6502b6adae0513cc7e4f1be1b/README.md?plain=1#L270

Updated README.md


Broken link on "Hello World" page

The "Get Started" link near the bottom of the Hello World page, is broken (i.e. when I click it, my browser doesn't take me to the Get Started page).
Here's a screenshot showing the link:

According to Chrome's developer tools (shown below), the HTML element associated with the link lacks an href attribute:

Here's a link to the line of source code associated with the link:
https://github.com/grommet/grommet-docs/blob/master/src/develop/HelloWorld.js#L40

Thanks for reporting this. Fixed in https://github.com/grommet/grommet-docs/commit/06abf38a188ea3bfbb87396b793cd33386e001bf


Updated localnet wallet port 1234 to match near-wallet

near-wallet uses port 1234 instead of port 4000

https://github.com/near/near-wallet/blob/ff63d2171cb71c5920f7c824a72c63f34a8cac8a/.gitpod.yml#L5

Related to an issue in another repository

https://github.com/near/near-wallet/issues/3028

Creating new pull request to include github issue

https://github.com/near/near-wallet/issues/3028

Updated pull request

https://github.com/near/near-cli/pull/1060


Create abaplint.json

last error is a bug in abaplint, see https://github.com/abaplint/abaplint/issues/443


Support image in cards

nextra.site shows images being passed as props to the  component, yet they don't work. Example (NEXTRA3):
<Cards>     <Cards.Card         title="Getting Started"         href={"#"}         image={"../../../public/images/preview.jpg"}     /> </Cards>
Nextra2:
<Cards>     <Card         image={"/relativepath"}         title="Getting Started"         href={"#"}     /> </Cards>
passing the NextJS image as a child:
image={<Image src={../../../public/images/preview.jpg} alt="Hello" width={500} height={500} />}
importing the image:
import PREVIEW from "../../../public/images/preview.jpg"
and passing:
image={PREVIEW}
aslo does not work.
Even looking at the compiled package it clearly shows the image prop is being checked.

image prop is a boolean option, u need to pass the image as child and use true for image
<Cards>
	<Cards.Card title="Getting Started" href={"#"} image>
		<Image src={"../../../public/images/preview.jpg"} />
	</Cards.Card>
</Cards>

closing since @imranbarbhuiya is right, thank you!


Segmentation fault (core dumped) while running tesseract

I followed instructions to compile tesseract from https://github.com/tesseract-ocr/tesseract/wiki/Compiling#Compilation

I try running tesseract I get Segmentation fault (core dumped)

gdb logs
(gdb) run
Starting program: /usr/local/bin/tesseract
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
STRING::string (this=this@entry=0x7ffff7dc9a78 <debug_file+24>) at strngs.cpp:203
203	  if (header->used_ == 0)
(gdb) bt
#0  STRING::string (this=this@entry=0x7ffff7dc9a78 <debug_file+24>) at strngs.cpp:203
#1  0x00007ffff7873e41 in string (this=0x7ffff7dc9a60 <debug_file>) at params.h:203
#2  tprintf_internal (format=format@entry=0x7ffff789ad32 "Found AVX\n") at tprintf.cpp:60
#3  0x00007ffff77f2661 in SIMDDetect::SIMDDetect (this=) at simddetect.cpp:63
#4  0x00007ffff7dea10a in call_init (l=, argc=argc@entry=1,
argv=argv@entry=0x7fffffffdb18, env=env@entry=0x7fffffffdb28) at dl-init.c:78
#5  0x00007ffff7dea1f3 in call_init (env=, argv=, argc=,
l=) at dl-init.c:36
#6  _dl_init (main_map=0x7ffff7ffe1c8, argc=1, argv=0x7fffffffdb18, env=0x7fffffffdb28) at dl-init.c:126
#7  0x00007ffff7ddb30a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#8  0x0000000000000001 in ?? ()
#9  0x00007fffffffdecb in ?? ()
#10 0x0000000000000000 in ?? ()

Any clue why this is happening ?

How did you run Tesseract (which command line options, which image)?

I can reproduce the problem. It only happens when Tesseract is built with a shared library (libtesseract.so). The crash occurs because the constructor of the global variable debug_file was not called at the time when SIMDDetect::SIMDDetect is executed. For the moment, removing the tprintf statements in arch/simddetect.cpp helps.

Fixed with pull request #625.

No issues seen now

Messages only shown now when asking for version and not for each image. Thanks!
 tesseract -v
tesseract 4.00.00alpha-238-ge6ccfb2
 leptonica-1.74
  libjpeg 8d (libjpeg-turbo 1.3.0) : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8

 Found AVX
 Found SSE

tesseract san001.jpg san001.tst -l san
Tesseract Open Source OCR Engine v4.00.00alpha-238-ge6ccfb2 with Leptonica


Map / Set polyfills fail on UC Browser

Map / Set polyfills fail in UC Browser on Android (tested with version 11.2.0)  with messages

TypeError: Cannot set property 'Map' of undefined

and

TypeError: Cannot set property 'Set' of undefined respectively.

Moved to https://github.com/Financial-Times/polyfill-service/pull/1173


6 spotworkers 번역

https://github.com/awskrug/eks-workshop/tree/master/content-kr/spotworkers

제가 할게요~


How to add toolbar icon to toggle direction

Hello, thank you for creating this storybook addon.
I have set up this addon using storybook ^8.2.9 and followed the instructions in the README. I see that I can successfully change the direction using the URL parameter, but the video in the README also shows a toggle icon in the toolbar which is clearly changing to/from RTL<->LTR. I do not notice this toolbar icon after setting up the addon. Is there something I'm doing wrong? Or is the video out of date / is there an instruction that is missing from the README?
Thank you for your time.

I have discovered that I was expecting it to show on the main page, but it actually only shows on the specific component's story page. It will not show on docs or any of the pages that have multiple components on it. So maybe not a bug, maybe user error.

Hi, I think you might be running into https://github.com/literalpie/storybook-addon-rtl/issues/12 . Is the "main page" you mention an MDX file, or the documentation created with autodocs?

#12 does seem to reflect my issue. I believe the main page includes both the configuration/mdx file and the autodocs if I understand them correctly.

Closing as a duplicate


Page Logic: App

[x] Layer selection
[x] Any bugs with scenario forms
[ ] Show/hide collapsible panels
[x] Barrier ID search
[x] Handoff to report
[ ] View Scenarios
[ ] Load Scenario

Bugs in scenario forms will be handled by #63
Barrier ID search will be handled by #65

View and Load scenarios handled by # 66

Show/Hide collapsible panels covered by #67


The following tasks/users did not reset the watchdog in time: IDLE (CPU 0)

I'm using this code to read from my HX711/load sensor (using this crate):
use esp_idf_svc::hal::{delay, gpio::PinDriver, peripherals::Peripherals};
use loadcell::{hx711::HX711, LoadCell};

fn main() {
    esp_idf_svc::sys::link_patches();
    esp_idf_svc::log::EspLogger::initialize_default();

    let peripherals = Peripherals::take().unwrap();
    let dt = PinDriver::input(peripherals.pins.gpio1).unwrap();
    let sck = PinDriver::output(peripherals.pins.gpio10).unwrap();
    let mut load_sensor = HX711::new(sck, dt, delay::Ets);

    load_sensor.tare(16);
    load_sensor.set_scale(1.0);

    loop {
        if load_sensor.is_ready() {
            let reading = load_sensor.read_scaled();
            log::info!("Last Reading = {:?}", reading);
        }

        delay::FreeRtos::delay_ms(1000u32);
    }
}

ESPMonitor shows me this error (the code hangs on  load_sensor.tare(16);):
E (75386) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (75386) task_wdt:  - IDLE (CPU 0)
E (75386) task_wdt: Tasks currently running:
E (75386) task_wdt: CPU 0: main
E (75386) task_wdt: Print CPU 0 (current core) registers

What could be the issue?

The hx711 driver is implemented using bit-banging. What that means is that this driver is doing some write on a pin, *then internally using the Ets struct to delay, then reading some pin, and possibly all of this in a loop.
The problem is that when the driver internally calls Ets::delay, this function is not really suspending the current task/thread (i.e. your main one). From the point of view of FreeRTOS, this task is busy looping, because Ets:delay is not implemented in an intelligent way.
Now, there is nothing wrong with busy looping per se, except that you are usually not supposed to do that when you have an RTOS underneath, as that means that other tasks, having lower priority might never or just rarely get executed, because your task is constantly running, and it will only be preempted by higher or same priority tasks threads.
Since the FreeRTOS Idle tasks have the lowest priority possible, they don't get a chance to execute.
These "idle" tasks only exist to actually tell you that you are busy looping, which very often is a bug.
In your case, it is not a bug, so you might want to disable the idle tasks.
The real solution however would be to implement a more intelligent "delay" than Ets. Perhaps a one implemented with the EspTimerService utility plus the FreeRTOS task notification service in esp_idf_svc::task::notification. The idea of this more intelligent delay would be that your task would block, until awoken by a timer.
esp-idf-sys

This example might be a starting point to implement a better Ets::delay alternative. Basically you need something like a TimerDelay struct, where you'll instantiate and keep a Box-ed timer instance. Also when creating the struct you need to call timer::subscribe. Then each time your method TimerDelay::delay is called, you'll reload the timer with the necessary delay, and will enable the timer alarm. After that, you'll block - just like in the example - waiting to be notified via the task notification that you need to notify from within subscribe. Once you are notified, you disable the timer alarm and exit the delay method.

Thanks a lot for the advice. Now I have another problem. The code runs, and I get an (empty) output if my HX711's DT is not connected to my ESP32-C3's giop (0 or 1). If I connect it, the code gets stuck in the load_sensor.tare() method.
Do you think this is related to the issue you're describing, it's a hardware issue (I heard some sparkling noise once, so I wonder if I damaged my HX711).

Thanks a lot for the advice. I used FreeRTOS instead of Ets, and the error disappeared.

FreeRTOS gives you a delay resolution of 10 ms or more. Might be a bit of a too low resolution for HX711?

Look here. This driver wants a delay impl with a resolution of 1 microsecond, while FreeRTOS is giving a resolution of 10 milliseconds.
At the same time, it is also using big delays, like these ones.
You could try this delay impl instead.

I tried this:
use esp_idf_svc::hal::{delay, gpio::PinDriver, peripherals::Peripherals};
use loadcell::{hx711::HX711, LoadCell};

fn main() {
    esp_idf_svc::sys::link_patches();
    esp_idf_svc::log::EspLogger::initialize_default();

    let peripherals = Peripherals::take().unwrap();
    let dt = PinDriver::input(peripherals.pins.gpio0).unwrap();
    let sck = PinDriver::output(peripherals.pins.gpio10).unwrap();
    let delay_provider = delay::Delay::new_default(); // Added this
    let mut load_sensor = HX711::new(sck, dt, delay_provider); // Changed this

    load_sensor.tare(16);
    load_sensor.set_scale(1.0);

    loop {
        if load_sensor.is_ready() {
            let reading = load_sensor.read_scaled();
            log::info!("Last Reading = {:?}", reading);
        }

        delay::FreeRtos::delay_ms(1000u32);
    }
}

But but code still gets stuck in load_cell.tare(). With this output:
I (386) gpio: GPIO[0]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (396) gpio: GPIO[10]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0

Maybe I misunderstood your suggestion? Or my HX711 is broken?

@DaneSlattery @beeb It works now. I had to solder the load cell wires directly to the HX711 instead of soldering them to the jump wires.

By the way, this is the final code:
use esp_idf_svc::hal::{
    delay::{Delay, FreeRtos},
    gpio::PinDriver,
    peripherals::Peripherals,
};
use loadcell::{hx711::HX711, LoadCell};

fn main() {
    esp_idf_svc::sys::link_patches();
    esp_idf_svc::log::EspLogger::initialize_default();

    let peripherals = Peripherals::take().unwrap();
    let dt = PinDriver::input(peripherals.pins.gpio2).unwrap();
    let sck = PinDriver::output(peripherals.pins.gpio3).unwrap();
    let delay = Delay::new_default();
    let mut load_sensor = HX711::new(sck, dt, delay);

    load_sensor.tare(16);
    load_sensor.set_scale(1.0);

    loop {
        if load_sensor.is_ready() {
            let reading = load_sensor.read_scaled();
            log::info!("Last Reading = {:?}", reading);
        }

        FreeRtos::delay_ms(100u32);
    }
}

closing as completed


CI: Add golangci-lint

Signed-off-by: burntcarrot<EMAIL_ADDRESS>Resolves #689.

@Xuanwo Lint is working as expected. Can you open an issue related to the unused variables found in the golangci-lint check, or do you want me to comment the unused imports?

Since the workflow doesn't show a complete traceback, I decided to run it on my local machine:
pkg/iowrap/pipe.go:41:2: `rerr` is unused (structcheck)
        rerr error
        ^
pkg/iowrap/pipe.go:40:2: `werr` is unused (structcheck)
        werr error
        ^
tests/service.go:11:2: `features` is unused (structcheck)
        features     ServiceFeatures
        ^
pkg/iowrap/pipe.go:112:2: S1023: redundant `return` statement (gosimple)
        return
        ^
pkg/iowrap/pipe.go:172:2: S1023: redundant `return` statement (gosimple)
        return
        ^
pkg/fswrap/httpfs.go:46:2: SA4005: ineffective assignment to field httpFileWrapper.store (staticcheck)
        h.store = nil
        ^
pkg/fswrap/httpfs.go:47:2: SA4005: ineffective assignment to field httpFileWrapper.object (staticcheck)
        h.object = nil
        ^
pkg/fswrap/httpfs.go:48:2: SA4005: ineffective assignment to field httpFileWrapper.offset (staticcheck)
        h.offset = 0
        ^
pkg/fswrap/iofs.go:147:2: SA4005: ineffective assignment to field fileWrapper.offset (staticcheck)
        o.offset = 0
        ^
pkg/fswrap/iofs.go:145:2: SA4005: ineffective assignment to field fileWrapper.store (staticcheck)
        o.store = nil
        ^
pkg/fswrap/iofs.go:146:2: SA4005: ineffective assignment to field fileWrapper.object (staticcheck)
        o.object = nil
        ^

Hope this helps!

pkg/iowrap/pipe.go:41:2: rerr is unused (structcheck)
rerr error
^

OK to remove.

pkg/iowrap/pipe.go:40:2: werr is unused (structcheck)
werr error
^

OK to remove.

tests/service.go:11:2: features is unused (structcheck)
features     ServiceFeatures
^

Use it by calling parsePairServiceNew and assign it like https://github.com/beyondstorage/go-service-s3/blob/master/utils.go#L158-L159.

pkg/iowrap/pipe.go:112:2: S1023: redundant return statement (gosimple)
return
^

OK to remove.

pkg/iowrap/pipe.go:172:2: S1023: redundant return statement (gosimple)
return
^

OK to remove.

pkg/fswrap/httpfs.go:46:2: SA4005: ineffective assignment to field httpFileWrapper.store (staticcheck)
h.store = nil
^

OK to remove.

pkg/fswrap/httpfs.go:47:2: SA4005: ineffective assignment to field httpFileWrapper.object (staticcheck)
h.object = nil
^

OK to remove.

pkg/fswrap/httpfs.go:48:2: SA4005: ineffective assignment to field httpFileWrapper.offset (staticcheck)
h.offset = 0
^

OK to remove.

pkg/fswrap/iofs.go:147:2: SA4005: ineffective assignment to field fileWrapper.offset (staticcheck)
o.offset = 0
^

OK to remove.

pkg/fswrap/iofs.go:145:2: SA4005: ineffective assignment to field fileWrapper.store (staticcheck)
o.store = nil
^

OK to remove.

pkg/fswrap/iofs.go:146:2: SA4005: ineffective assignment to field fileWrapper.object (staticcheck)
o.object = nil
^

OK to remove.

All of them are easy to solve, would you be willing to open a new PR to fix them?

Yes, I'll be happy to make a new PR.
I don't think removing werr and rerr would be ideal, because they might be implemented in the future. I'll remove the rest of the ineffectual assignments and redundant return statements in a new PR.

Can you please implement those changes as proposed above? My editor (VSCode) has been checking out to the wrong branch and due to this I've been making improper commits.
Can you also please remove the action from PR 691 if possible. I'll try to fix my development environment, apologies for the fuss created.


python_memory action throwing an Exception

Describe the bug
I am trying to trigger python_memory action via a prometheus alert. All the action in my playbooks get executed except for the python_memory.
I checked the logs of robusta runner and I found this exception happening
2023-07-07 10:43:57.406 ERROR could not parse json:
----------------
ERROR! Timed out after 43 seconds
Traceback (most recent call last):

File "/usr/local/bin/debug-toolkit", line 6, in <module>
sys.exit(app())

File "/app/src/debug_toolkit/main.py", line 193, in memory
inject_string(pid, payload, trampoline=True, trampoline_timeout=timeout_seconds, verbose=verbose)

File "/app/src/debug_toolkit/main.py", line 167, in inject_string
return do_trampoline_injection(pid, payload, verbose, trampoline_timeout)

File "/app/src/debug_toolkit/main.py", line 137, in do_trampoline_injection
with open(abs_done_path, "r") as f:

FileNotFoundError: [Errno 2] No such file or directory: '/proc/403997/cwd/610e2287b9706d9cb14342c8b9c02acb_done.txt'

----------------

2023-07-07 10:43:57.407 ERROR Failed to execute action python_memory cluster_name: ecl***tic, account_id: d5a***477, grafana_api_key: , grafana_dashboard_uid: , grafana_url: , prometheus_url: , signing_key: 551***c3a, seconds: 30
Traceback (most recent call last):
File "/app/src/robusta/core/playbooks/playbooks_event_handler_impl.py", line 213, in __run_playbook_actions
registered_action.func(execution_event, params)
File "/usr/local/lib/python3.9/site-packages/robusta_playbooks/pod_troubleshooting.py", line 201, in python_memory
snapshot = PythonMemorySnapshot(**load_json(output))
File "/app/src/robusta/utils/parsing.py", line 12, in load_json
return json.loads(s)
File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

To Reproduce
This is the playbook which I have
customPlaybooks:
- triggers:
  - on_prometheus_alert:
      alert_name: memory_alert
  actions:
  # Get the logs from pod
  - logs_enricher: {}
  # Get ps details from inside the pod which is exiting
  - pod_bash_enricher:
      bash_command: ps aux --sort=-%mem | awk '{ printf("%s\t%s MB\n", $11, ($6/1024)) }'
  # Now delete the pod and let it auto restart because we are using Deployment
  - python_memory: {}
  - delete_pod: {}

Rule which fires this alert
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
  labels:
    release: prometheus-stack
  name: testalert
  namespace: default

spec:
  groups:
    - name: custom_alert.rules
      rules:
        - alert: memory_alert
          expr: |
            avg(container_memory_usage_bytes{container="myapp-robusta"}) by (pod) /  avg(kube_pod_container_resource_limits{resource="memory"}) by (pod) > 0.8
          labels:
            severity: warning
          annotations:
            summary: "Memory usage (instance {{ $labels.instance }})"
            description: "Memory usage is above 80% (current value is: {{ $value }})"

Expected behavior
Expected behaviour is to get the memory profiling message on slack as mentioned in this url: https://docs.robusta.dev/master/playbook-reference/actions/python-troubleshooting.html#python-memory

got the same error just trying to trigger the playbook manually:
robusta playbooks trigger python_memory name=podname namespace=default
is there a solution ?


Line up site header text with body text

This was bothering me and bad text alignment reflects poorly on us as an organization/community/city/nation/human race.

@RubenSandwich this change offsets/indents at the mobile breakpoint, which will likely be the primary use case during the conference.

@staticmade I'm a bit confused on what you mean, as I did not see any media breakpoints in the code.

Sorry. It was a caching issue on my end. Merged!
inscho.org  |  @jinscho http://twitter.com/jinscho
On Fri, Jun 9, 2017 at 10:52 AM, Ruben Niculcea<EMAIL_ADDRESS>wrote:

@staticmade https://github.com/staticmade I'm a bit confused on what
you mean, as I did not see any media breakpoints in the code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CMP-Studio/mcn-yinzers-guide/pull/1#issuecomment-307410668,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADlXVluh9uhJIgSTIEs7OFTOwEFiQc4Qks5sCVxBgaJpZM4N1Vgp
.


Be more lenient when parsing Bazel's build log.

When Bazel is released with https://github.com/bazelbuild/bazel/commit/c9f9b0b84c4863b5b19220679e610efa17e972f0 the message on build failures changes. In general, we advise not to read the output but use the build protocol instead.

Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md

In general, we advise not to read the output but use the build protocol instead.

If Bazel does not parse and expose in structured form errors from compilers/linkers (which I assume it doesn't) then it won't help much. And even if it does, then we still need to parse compilers/linkers errors ourselves for non-Bazel builds. So I am not sure if it's really the right solution for us. It will only add non-uniformity and complexity.


Upgrade from 1.9 to 1.10

Hi,
i tried to upgrade to 1.10 version but there are a lot of error message like:
tables ost_translation, ost_queue, ost_role already exists.
I tried all the combination, like so:

DB 1.9 dump only DATA (without schema) and after import to DB 1.10, clean installation, upgrade fail

DB 1.9 Upgrade directly from the new software version, upgrade fail

delete the tables that generate these errors and after upgrade, but, fail

any suggestions?
regards,
Fabrizio

ok it's working, below the solution that worked for me:

docker-compose down

for security reason make a db dump of the current version!

launch these commands on DB "osticket":

DROP TABLE ost_translation, ost_role, ost_queue, ost_thread_entry, ost_thread_entry_email, ost_help_topic_form, ost_lock, ost_thread_collaborator, ost_thread_event;
ALTER TABLE ost_task DROP COLUMN lock_id, DROP COLUMN closed;

docker-compose up -d

upgrade from web interface

docker-compose down

docker-compose up -d

ENJOY IT!

Thanks for posting how you successfully managed the software. Someone else might find that useful.


New patch version for dist-laxar-uikit

After changes in dist version a new patch version is required.

Created new patch version with changes from issue #124


Advanced kmdkey scenario returns an error

"Storing the credentials for another user on the machine is very easy: when logged into your account, simply execute the following PowerShell command:"
the command in question returns an error:
Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32>
PS C:\Windows\system32> $password = ConvertTo-SecureString -String "hereGoeshtePassword" -AsPlainText -Force
PS C:\Windows\system32> $credential = New-Object System.Management.Automation.PSCredential -ArgumentList "domain\validAc
count", $password
PS C:\Windows\system32> Start-Process -FileName PowerShell.exe -Credential $credential -LoadUserProfile
Start-Process : A parameter cannot be found that matches parameter name 'FileName'.
At line:1 char:15

Start-Process -FileName PowerShell.exe -Credential $credential -LoadUserProfile

          ~~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [Start-Process], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.StartProcessCommand

PS C:\Windows\system32>

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

ID: c12f1ea9-6446-be01-22fe-885fb945d22c
Version Independent ID: 634f8ace-1a8c-6811-627b-fdfbdd1942a3
Content: Use an Azure file share with Windows
Content Source: articles/storage/files/storage-how-to-use-files-windows.md
Service: storage
GitHub Login: @RenaShahMSFT
Microsoft Alias: renash

@pmdci Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.


Fix critical issues & update the Guide

Fix the guide styling and actualize the links

Added more commits:

Fix using const instead of let in multiple places (includes #9)
Fix improper use of default helper for disabled attributes

@denihs kindly merge this one
@dr-dimitru has approved it

Knock Knock.  This really needs to get merged.....

Hi, I just published the new version!
<EMAIL_ADDRESS>


Target wasm32-wasi by default

We should switch from targeting wasm32-unknown-unknown and target wasm32-wasi by default and automatically link in an adapter for users (at least until preview2 is supported natively in the rust toolchain).

at least until preview2 is supported natively in the rust toolchain

Out of curiosity, is anybody working on this already, or is preview2 still too far out for that to make sense yet?

at least until preview2 is supported natively in the rust toolchain

Out of curiosity, is anybody working on this already, or is preview2 still too far out for that to make sense yet?

See https://github.com/rust-lang/compiler-team/issues/594 which was just posted 😃

Oooh, that is exciting!


Reddit UI Clone added

Closes: #312

Title : Reddit UI Clone
Name: : Chaanakyaa Milkuri
Idenitfy yourself: :
GSSOC'24

Describe the add-ons or changes you've made 📃
Created Reddit UI Clone using HTML, CSS and JS.
How Has This Been Tested? ⚙

Screenshots 📷

Type of change ☑

What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Note to reviewers 📄

Created a new branch for the PR.

Done


Fix autodiff with states

xref #9, but keep this open as the current solution should be considered temporary, and consider to use a safer approach suggested in that issue (old and new state inputs, but that should be kept for next major release, this is just fixing the current bug)

Codecov Report

Merging #10 (aacef15) into main (a05511c) will increase coverage by 0.02%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   93.35%   93.38%   +0.02%
==========================================
  Files           8        8
  Lines         256      257       +1
==========================================
+ Hits          239      240       +1
  Misses         17       17

Impacted Files
Coverage Δ

src/autodiff.jl
98.61% <100.00%> (+0.01%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


loginResponse.headers.raw is not a function

 npx steamworks-init failed with the following error after authentification:
An error occured during install:
loginResponse.headers.raw is not a function

With NodeJS v18.12.1.

I have the same problem, and this is my console log:
npx steamworks-init

><EMAIL_ADDRESS>preinstall-steam
> node ./utilities/preinstall-steam.js

@theace0296/steamworks:
The Steamworks SDK will be downloaded, your Steam credentials are required for this.
Continue? [Y/n]: y
Steam Username:<PHONE_NUMBER>5
Steam Password: ********
Do you use Steam Guard (2FA)? [y/N]: y
Steam Guard Code: 9tnb4
=====================================================
An error occured during install:
loginResponse.headers.raw is not a function
=====================================================
node:child_process:960
    throw err;
    ^

Error: Command failed: npm run preinstall-steam
    at checkExecSyncError (node:child_process:885:11)
    at execSync (node:child_process:957:15)
    at Object.<anonymous> (/Users/wangbin/src/demo-types/steam/demo-steam3/node_modules/@theace0296/steamworks/utilities/init.js:13:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 43180,
  stdout: null,
  stderr: null
}

Node.js v18.14.2

Yeah when Steam changed their login flow, it basically broke this. I haven't had the time to sniff how their logging in now, but I might just have to use a real authorized service for logging in. Granted I'm sure that'd be breaking something in the EULA...

It never has before, the work-around is to download/extract the Steam SDK separately and define STEAMWORKS_SDK_PATH as an ENV variable.


non-ascii-armored, non-vulnerable pgp keys show warning

I'm seeing warnings for PGP keys that should be perfectly fine.
Take for example my own key:
gpg --recv-key FE73757FA60E4E21B937579FA5880072BBB51E42
If you export it with ascii armor it's perfectly fine:
gpg --export --armor FE73757FA60E4E21B937579FA5880072BBB51E42 > foo.asc
roca-detect foo.asc
However if you take the non-ascii-armor version:
gpg --export FE73757FA60E4E21B937579FA5880072BBB51E42 > foo
roca-detect foo
2017-10-16 22:26:18 [17716] WARNING Fingerprint found in modulus foo idx 237
{"type": "mod-hex", "fname": "foo", "idx": 237, "aux": null, "n": "0x1", "marked": true, "time_years": -1, "price_aws_c4": -1}
2017-10-16 22:26:18 [17716] WARNING Fingerprint found in modulus foo idx 237
{"type": "mod-dec", "fname": "foo", "idx": 237, "aux": null, "n": "0x1", "marked": true, "time_years": -1, "price_aws_c4": -1}
My guess is that it's not properly detecting the pgp key format and interpreting the key as something else which triggers the warning. In any case: I'm 100% sure this key was generated with gpg itself and not any infineon chip, so it can't be vulnerable (unless gpg suffers from the same vuln in some strange way).

For PGP key detection you need ASCII Armored key.
If you don't use that roca has autodetection for several formats and here apparently fallbacks to raw modulus detection. JSON output shows "n": "0x1" meaning detected RSA modulus is 1 which would be considered vulnerable which is not your real modulus I suppose :)


Header and Footer widget for StoryItem?

Please allow setting custom header and footer widget for each StoryItem rather than footer for FlutterStoryView.

I've tried but footerWidget doesn't get rebuilt on index change.
footerWidget: Builder(builder: (context) {
        Uri? uri = widget.story.status[controller.storyStatus.index].link;
        if (uri != null) {
          return ElevatedButton(
            onPressed: () {
              print("Click registered");
            },
            child: const Text("Click me"),
          );
        }
        return const SizedBox.shrink();
      }),

@AlcoholicCoder Thanks for raising the issue and shredding light on vital functionality that's having issues. We would soon check this and resolve it.

@AlcoholicCoder Thanks for raising the issue and shredding light on vital functionality that's having issues. We would soon check this and resolve it.

Thank you for this awesome library I've used ValueNotifier to solve this issue. Works fine.


How to get the initial offset value

I am working on a project to search records based on offset.(I have only one partition) My older messages got deleted due to ttl and my initial offset is no longer 0. I want to know the updated initial offset. How to get the initial offset value?

this.offset = new kafka.Offset(new kafka.KafkaClient({opts}));
this.offset.on('ready', () => {
    this.offset.fetchEarliestOffsets(topicName, (error, offsets) => {
        const keys = Object.keys(offsets[this.topic]);
        for (let i = 0; i < keys.length; i++) { // iterate over the partitions
            let partition = keys[i];
            let partitionOffset = offsets[topicName][keys[i]];
            this.consumerGroup.setOffset(this.topic, partition, partitionOffset); // if you have a consumer group already defined, you can set each individual partition at the offset you found
          }
    });

To be safe, I also pause my consumer group before resetting the offset. See https://github.com/SOHU-Co/kafka-node#fetchearliestoffsetstopics-cb and https://github.com/SOHU-Co/kafka-node#setoffsettopic-partition-offset-1 for more info. Also, rather than creating a new kafkaClient, you can reuse the consumer group's client by this.consumerGroup.client although it's probably not best practice.

It works. Thank you.


Where is the description of system status values?

Where is the description of system status values?
Do I know whether the system synchronization is completed or not by using those system status values?

Board TIme > Offset from time reference
Board Time > System time synced to board clock
Board Time > Time reference present
Error Code

The two channels that will provide the information you are looking for are Time reference present and Offset from time reference.
Offset from time reference contains the offset from the corresponding time reference in seconds, assuming the time reference exists. Time reference present tells you if the time reference exists; if Time reference present is zero, then Offset from time reference is meaningless.
If your controller is running PharLap, you will also want to confirm that System time synced to board clock is non-zero. This indicates that the controller time is correctly synchronized with the module time. This happens automatically on NI Linux RT, but requires a reboot after the first deployment on PharLap due to driver limitations (see #10).


spring-boot-prow-9 to 0.0.9

Promote spring-boot-prow-9 to version 0.0.9

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
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

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


Chat colors?

does anyone have a list of the usable colors for the chat?

Here's the code that does chat colors in Bukkit. (This would have been an excellent question for Google.)

thank you sir!

none of the 2 worded colors work, how would i use the code instead of the explicit words?

In what? You're going to need a lot more detail in your question.
In general, you can try:

Using an underscore between the words (DARK_GRAY)
Using nothing between the words (DARKGRAY)
Using hex notation (0x8)
Using the format documented in the plugin (varies)

in the worlds config file under multiverse-core i am changing the color under "alias", i apologize for not being more specific, i attempted to use multiple colors that were DARK_XXXX and none of them worked, while the single word colors do such as red, yellow, etc. i attempted also to use the coding version of the color and it rejected it as well, i am getting no errors, the color simply defaults to white which im sure its supposed to do if it does not recognize the color i submitted.
after typing this out i attempted doing it without the underscore and it worked, thank you for the help!

Here is what we use. This is because I didn't like having to use underscores. Just remove the underscore and you should be good.
https://github.com/Multiverse/Multiverse-Core/blob/master/src/main/java/com/onarandombox/MultiverseCore/enums/EnglishChatColor.java
Also, (I'm a bit tired now, I'll think on it over the weekend) there is a command that will show you all of them. I think if you fail the color it should display them, but I haven't tested that in a while...
https://github.com/Multiverse/Multiverse-Core/blob/master/src/main/java/com/onarandombox/MultiverseCore/enums/EnglishChatColor.java#L50

I have successfully set this up to where when someone is in a world and uses chat it appears as,
[World]: Message
I was wondering what you suggest I use to add a 'Group" or "Rank" section into that. So it appears as,
[World][Group]: Message
I have attempted using Chatmanager with Permissionsex but I cannot give each world the individual colors as I accomplished previously. I do not have any other plugin that affects chat other than Chatmanager, I attempted to change prefixes in Permissionsex but this did nothing. Is there a plugin you suggest I use to accomplish this task, or can I do it with MV somehow?

@Suembeaux: we use ChatSuite for that. It's a bit complex to set up, but once you muddle through the config file it works wonders.
For the < and >, you can use the HTML references &lt; and &gt;.

I was wondering what you suggest I use to add a 'Group" or "Rank" section into that. So it appears as,
[World] [Group] Player: Message

@Suembeaux Honestly, I'd love to do this too, but we can't. We're adhering strictly to the Permissions API (superperms) for the benefit of ourselves and our users. By doing this we can guarantee that MV2 will work with any plugin that implements said API.
With that said, Permissions and Groups are very tightly coupled, and since superperms does not support groups, this is why we do not either.
As @lithium3141 said, our server uses ChatSuite, and he would be more than glad to post our config on the MV2 wiki ;)

@FernFerret why not at least support PermissionsBukkit? It IS the official plugin for the superperms API, after all.

@TheGurw that's a very slippery slope - we choose to stick with pure API support for a number of reasons, one being the very argument you raise. What if someone comes along and asks for support for PEX, because it's the most popular? It's technically another valid argument, but every plugin with some unique claim like that we have to do more work.
Plus, this kind of thing is the very reason APIs were invented in the first place: if we stick to the contract an API provides, we don't have to worry about implementation quirks in each individual plugin, nor are we (or other perm plugin authors) bound by the additional constraints imposed by conforming to one particular "official" plugin. (This is very similar to the reason plugins are developed against Bukkit, rather than CraftBukkit.)
I appreciate your request - groups are a handy thing - but in this case, either they go in the superperms API or we can't in good faith support them.
@FernFerret: I'll get the ChatSuite config up as soon as I get Internet for a laptop back - on my phone right now.

I apologize for the delayed response, with the update I have been frantic about getting my server back online for myself (I did not think about not being able to get on my own server when I updated, thank god for having several accessible computers) so I finally decided to just shut it down until CB updates a new build. I would very much appreciate the ChatSuite config to fiddle with, or maybe just make slight alterations from how your is already set up. Thank you for all the information as well, I am an ameteur at best with coding and trying to learn as much as possible, I feel that Minecraft, and Bukkit is a great place to start.

@Suembeaux you can find our ChatSuite config here. Some background: we have five groups on the server, labeled default, user, moderator, developer, and admin. Each gets a different nickname color in public chat. We also have a bunch of worlds, each with a Multiverse-configured color, and those are displayed as well. We don't really use channels or AFK, but those are enabled in the config just in case.
Happy chatting!

Thank you very much, this seems almost exactly how i want it already and i have a very similar set up with the Worlds and amount of groups. Keep up the good work!


add export stubs in a cjs-module-lexer-friendly way

This approach is more resilient to changes in React, because we're only adding the exports we want to stub, meaning that this doesn't need to get updated every time react adds a new API -- we only need to touch this when a new client-only API is added. In addition, adding fake module.exports.foo assignments makes this cjs-module-lexer-friendly, so we get nice named exports for these (while also preserving any exports coming from React).

This is absolutely amazing, thank you so much! :)
This unblocked me!
I think we can remove some of the repetition by moving things around, so I'll open a follow-up PR on that over in #5.
I'd love to hear your opinion on it!


[CI] Skip Rust test if there's no Rust change

For example, the "rust test" workflow in GitHub CI for https://github.com/MystenLabs/sui/pull/7124 should be skipped since there is not Rust changes

Even more so - if we could auto attach a label to Pull request depending on whether it have rust changes or not, it would allow to filter out relevant PRs letter for email subscription, etc

This has been done: https://github.com/MystenLabs/sui/blob/725091192c84ff11e8b9a1f93c62ed033c52609e/.github/workflows/rust.yml#L41


ng build is broken: Could not resolve fs, net, os, crypto. But ng serve works (latest angular-cli).

Command
build
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
I am a first time Angular user
Description
The package "path" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.

Minimal Reproduction
ng new myApp
cd myApp
npm install --save paper
import paper from 'paper';
console.log(paper);
npm start      // works OK - see the output in the console
npm run build // fails

Exception or Error
No response
Your Environment
Angular CLI: 18.0.4
Node: 18.20.0
Package Manager: npm 10.5.0
OS: darwin arm64

Angular: 18.0.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1800.4
@angular-devkit/build-angular   18.0.4
@angular-devkit/core            18.0.4
@angular-devkit/schematics      18.0.4
@angular/cli                    18.0.4
@schematics/angular             18.0.4
rxjs                            7.8.1
typescript                      5.4.5
zone.js                         0.14.7

Anything else relevant?
No response

Duplicate of https://github.com/angular/angular-cli/issues/27425


Nullable parent for specific crumb

IMHO it could be useful to have no parent for particular crumb. Be very appreciated for feature.
Thanks in advance!

Can you please give me an example? I think it might be implemented without changing gem's code.

I have:
crumb :root do
	link "My Site"
end
crumb :admin_tools do
	link "Admin"
end
crumb :admin_geography do
	link 'Geography'
	parent :admin_tools
end
crumb :admin_geography_regions do
	link 'Regions'
	parent :admin_geography
end

and instruction
<%= breadcrumb :admin_geography_regions %>

generates
My Site > Admin > Geography > Regions
What I'd like to have is to change crumb :admin_tools
crumb :admin_tools do
	link "Admin"
        parent: nil
end

and get
Admin > Geography > Regions
If I set parent to nil I will get the following exception

Thanks!

It looks like you would like to use :admin_tools as a root crumb in given case. If so, then it is easy to achieve:
crumb :root do
        return link("My Site") if SOMETHING #for example unless request.params.fetch(:subdomain).eql?('admin')
        link 'Admin'
end

crumb :admin_geography do
	link 'Geography'
end

crumb :admin_geography_regions do
	link 'Regions'
	parent :admin_geography
end

Will that work for you?

Yeah, I agree with you, I had already implemented the similar logic in my functionality. My proposal is just from the list of nice to have features. It would be great if it's implementable, if not - it's not a big deal to write a custom solution like you proposed. Thanks

The issue was moved to the new repository: link


Helm Chart minor problems

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Current Behaviour
Right now commit to helm chart broke the way postgresql secret was supposed to work with external db, and replaced it with constants in deployment for every installation except bundled postgresql chart from bitnami

Possible Solution
we should revert that and also add rules.tar.gz to .gitignore
I will try to do it myself when I will have time for that
Context
Right now my installation will be  broken on update
Your Environment
k8s, helm

P.S. if one want to hardcode his psql settings - he could use postgresql.secret.create: true in override.variables.yaml for that

@Keramblock , I believe the current version of the helm chart in CVAT should have all your changes. Also, we changed the way how we prepare and send rules. I will close the issue.


TypeError: _lookup_dependency() takes 2 positional arguments but 3 were given

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.14.0-dev20230712
Custom code
Yes
OS platform and distribution
Linux moe 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 GNU/Linux
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Can't load saved model
Standalone code to reproduce the issue
Saved models can't be loaded:

model = tf.keras.models.Sequential([tf.keras.layers.Input((256,256,3)), tf.keras.layers.Dense(1)])
model.save("../models/test")
model = tf.keras.models.load_model("../models/test/")

same thing with more complex models
model = tf.keras.applications.efficientnet.EfficientNetB0()
model.save("../models/test")
model = tf.keras.models.load_model("../models/test/")

### Relevant log output

```shell
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[11], line 1
----> 1 model = tf.keras.models.load_model("../models/test/")

File ~/.local/lib/python3.9/site-packages/keras/src/saving/saving_api.py:262, in load_model(filepath, custom_objects, compile, safe_mode, **kwargs)
    254     return saving_lib.load_model(
    255         filepath,
    256         custom_objects=custom_objects,
    257         compile=compile,
    258         safe_mode=safe_mode,
    259     )
    261 # Legacy case.
--> 262 return legacy_sm_saving_lib.load_model(
    263     filepath, custom_objects=custom_objects, compile=compile, **kwargs
    264 )

File ~/.local/lib/python3.9/site-packages/keras/src/utils/traceback_utils.py:70, in filter_traceback.<locals>.error_handler(*args, **kwargs)
     67     filtered_tb = _process_traceback_frames(e.__traceback__)
     68     # To get the full stack trace, call:
     69     # `tf.debugging.disable_traceback_filtering()`
---> 70     raise e.with_traceback(filtered_tb) from None
     71 finally:
     72     del filtered_tb

File ~/.local/lib/python3.9/site-packages/tensorflow/python/checkpoint/restore.py:606, in _queue_children_for_restoration(checkpoint_position, visit_queue)
    604   continue
    605 child_position = checkpoint_position.create_child_position(child.node_id)
--> 606 local_object = trackable._lookup_dependency(child.local_name,
    607                                             trackable_children)
    608 child_proto = child_position.object_proto
    609 if local_object is None:
    610   # We don't yet have a dependency registered with this name. Save it
    611   # in case we do.

TypeError: _lookup_dependency() takes 2 positional arguments but 3 were given

Hi @ngbusca ,
I have tested the given code with tf-nightl(2.14.0-dev20230712)  and its working fine for me. I can able to save and reload the model. Could you please check the attached gist and let me know whether the code is right one to reproduce the reported behaviour.
Thanks!

Hi @SuryanarayanaY
Thanks for the response. Yes, the code is correct. I've downgraded to 2.13 and don't encounter the issue. I must have had an inconsistency on my system, I'll close the issue and reopen if I encounter it again.


[Compose] Support multiple Transitions in 'constraintSetName' API

Animations will appply the corresponding Transition based on the state
of the Layout, depending on which ConstraintSet are at the start/end.
See StateToStateMotionManager.kt

Moved JSONMotionScene to a separate file
Refactored Transition anonymous implementation into JSONTransition
Fixed MotionParserTest.kt

Lets  VC. I want to understand your thinking here.


fix: resource requests with query parameters

Fixed Bug
#61
Some epubs access their resource by adding query parameter like (/xyzfilename.js?V=2.7.3). This was failing because the resources served were just file. So I added a fallback that if resources request fails to ResourceFailure then try getting the same resource again without query parameters and if this also doesn't work then go with the normal flow.
Also thanks to @vishalgupta7.
Thanks

Thanks for taking the time to contribute!
I'll keep the other PR (https://github.com/readium/swift-toolkit/pull/66) because we want to eventually remove the local HTTP server. Fixing this at the level of the ArchiveFetcher will make sure the problem won't surface again when we do.


VR offsets with commonlibvr

Just wanted to give you a heads-up that if you use my version of commonlibvr, you don't have to necessarily define VR offsets inline like you do here: https://github.com/Seally/yastm/blob/main/src/offsets.hpp#L24
Instead, if you submit the offset to me at vr_address_tools, then you can continue to use the SSE address ID. Of course, I don't have a solution for the in-function offsets, so you'll have to have code like you currently have. You can see everything I've already discovered in this file.
I do have tools to try to basically lint for undefined addresses in my database, but i don't currently support your macro format. https://github.com/alandtse/vr_address_tools/issues/5, but I've opened an issue to add it at some point.

The issue is that I didn't have a clue at the time if the offsets even worked. I actually used your mappings to create the VR port since I have no access whatsoever to Skyrim VR, so when I made it it was basically just hoping those mappings it'll be enough.
I based the function offsets on ones I used for SE v1.5, hoping that Bethesda used the same compiler and didn't touch anything in the patched functions. It took over a month for my "tester" to get back to me and verify it all mostly works.

Oh, next time you can just ask on Discord. Looking for the offsets is pretty quick now.


Fix JobType.get_environment()

This PR updates get_environment() a bit so it's more apparent when there's a problem with the configuration.  Before this you could accidentally provide a non-dictionary for jobtype_default_environment and you'd never know unless you looked at the agent logs.

@guidow, PTAL


nuttx/arch: Remove GCCVER and add compilation options directly.

Summary
Remove the judgment of GCCVER and add compilation options directly. If there is a problem that the compiler cannot recognize the compilation options, add it separately.
Impact
Testing

@cuiziwei1 remove the merge patch from pr

@cuiziwei1 Please check the comments here: https://github.com/apache/nuttx/issues/13776


[Android]Allow changing IP address of JS server

Like iOS, pls allow changing IP address of JS server, so that adb reverse is no longer needed and expecially good for android 4.4 devices, on which adb reverse can not be used.

Problem solved. https://facebook.github.io/react-native/docs/running-on-device-android.html#running-packager-on-a-non-standard-port


Upgrading release server from 3.7 to 4.0 with state installation

upgraded release environment server from 3.7 to cqube-4.0-alpha with state installation

taken the postgres database backup and restored.

Task Completed


issues with EOBS data

There are some known issues with EOBS data that we have to deal with, e.g., there are some regions that have only limited observations and might have to be skipped for monthly and sesaonal means. We have some experience with it. Pinging @paindeer since you have worked a lot with EOBS data to evaluate REMO ERA5 output. I could not find any details in https://doi.org/10.5194/gmd-7-1297-2014 about that.

Here is the fraction of eobs missing values from years 1980 to 2020:
import xarray as xr
from dask.distributed import Client

client = Client(dashboard_address="localhost:8787")

store = "https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/pangeo-forge/EOBS-feedstock/eobs-tg-tn-tx-rr-hu-pp.zarr"
ds =  xr.open_dataset(store, engine="zarr", chunks={}).sel(time=slice("1980", "2020"))

def sum_nan(da):
    return da.isnull().sum(dim="time") / da.time.size

%time tg_nan = sum_nan(ds.tg).compute()
%time pr_nan = sum_nan(ds.pp).compute()

CPU times: user 4.18 s, sys: 671 ms, total: 4.86 s
Wall time: 27.8 s
CPU times: user 2.33 s, sys: 205 ms, total: 2.54 s
Wall time: 9.47 s

tg_nan.plot()

pr_nan.plot()

There are definitely some regions to take care of when computing monthly or seasonal means.

This is the issue showing up in seasonal means:

@larsbuntemeyer Just in case it might be helpful, for the Copernicus Atlas [1], we generated a mask for E-OBS to exclude areas with fewer number of stations or where the stations were not continuous over time. It was created manually, based on simple visual prospections...
[1] https://atlas.climate.copernicus.eu/atlas/gkOVTgS5


cypress/included updates the Chrome version when it's built instead of using the one in cypress/browsers

I believe this is happening due to https://github.com/cypress-io/cypress-docker-images/blob/cb87665632c44d36b1116f0baf0926c7273778e5/included/9.6.1/Dockerfile#L11
This behavior is confusing to me since I see the following in the README, which makes me believe that Cypress 9.6.1 includes Chrome 100:

@Keysox this should be fixed in included:9.7.0

@admah -- amazing, thank you!!


seoNameJS - method not found

I'm using for the first time meta_seo package but calling meta.auth() is crashing the web app:

Restarted application in 157ms.
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building HomePage(dirty, dependencies:
[_LocalizationsScope-[GlobalKey#6ee74]]):
'seoNameJS'
method not found
Receiver: Instance of 'Window'
Arguments: ["author", "Eng Mouaz M AlShahmeh"]
The relevant error-causing widget was:
HomePage
HomePage:file:///Users/liliadassinebelaid/DALIBEL/IDEAS/ProjectX/Titis%20-%20ParentConnect/Flutter/titis/lib/main.dart:107:22
When the exception was thrown, this was the stack:
dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:49  throw
dart-sdk/lib/_internal/js_dev_runtime/patch/js_patch.dart 143:7               callMethod

Can you please help with this.

give the full usage code of meta_seo with screenshots

@Eng-Mouaz-M-AlShahmeh
Here my main.dart:

void main() async {
if (!kIsWeb) {
MetaSEO().config();
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
} else {
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
}
runApp(const MyApp());
}

and the page that crashes:

class HomePage extends StatelessWidget {
static const String name = 'home';
const HomePage({super.key});
@override
Widget build(BuildContext context) {
setUserLanguage(AppLocalizations.of(context)!.localeCode);
// Add MetaSEO just into Web platform condition
if (kIsWeb) {
  // Define MetaSEO object
  MetaSEO meta = MetaSEO();
  // Add meta seo data for web app as you want
  meta.author(author: 'Eng Mouaz M AlShahmeh');
  // meta.description(description: 'Meta SEO Web Example');
  // meta.keywords(keywords: 'Flutter, Dart, SEO, Meta, Web');
}

return Scaffold(

@Eng-Mouaz-M-AlShahmeh  it's not just auth(), it's any function of meta

I understand you feel there are errors, and many developers feel same, and fast they discover if you the MetaSEO().config(); condition. the package runs well without SSR support until the latest version of 3.0.7 and supports only JS Dom... etc

Thanks for interest, @Dassine

I am workin now to product similar to react-helmet, and this may take some time, Thanks again,

@Eng-Mouaz-M-AlShahmeh They are errors! What do you suggest? To remove MetaSEO().config();?

refer the Readme.md file if you want.

Not helpful. I will use something else.

Sure, as I mention before the work not completed yet at SSR,

It is if (kIsWeb), not if (!kIsWeb)


Can't auto-install omnisharp-roslyn with Neovim 0.3.1

Hi
For Neovim 0.3.1, auto installation is broken.
Step to reproduce.

rm -R ~/.omnisharp
nvim -u essai.vim *.cs
==> Result: NeoVim doesn't respond.

All work fine with Neovim 0.3.0. I've tested with the last omnisharp-vim (clone again) and with a lightweight vimrc.
Note than with the last version of Vim (8.1), it works, but lot of errors are prompted. I didn't search further with Vim, because I use Neovim no Vim.
After the installation, omnisharp works well with version 0.3.1. Just install ~/.omnisharp with NeoVim version 0.3.0.
Note: with NeoVim 0.3.1, no prompts appears and ~/.omnisharp isn't created. All freeze !

Thanks @JulioJu, that's good to know this is working properly now.


Selection is very slow

Reopening old Issue in relevant Repo
https://github.com/limetext/lime/issues/406

Resolved by #20


Feature Request: AppArmor, Seccomp profiles, and capability dropping support

Is your feature request related to a problem? Please describe.
Improve zero day exploit protections for containers running untrusted code
Describe the solution you'd like.
Ability to provide AppArmor profiles, Seccomp profiles, and capabilities to drop per container in a revision
Describe alternatives you've considered.
AKS: https://techcommunity.microsoft.com/t5/azure-architecture-blog/azure-kubernetes-service-security-deep-dive-part-2-apparmor-and/ba-p/3013977
Docker Daemon has app armor security profiles options: https://docs.docker.com/engine/security/apparmor/
Docker Daemon has seccomp security profile options: https://docs.docker.com/engine/security/seccomp/
Additional context.
In order to provide better zero day exploit protection for our running application containers when running untrusted code we would like to implement certain linux kernel security features like AppArmor and Seccomp profiles that are similarly implemented in docker daemon and AKS.

Thank you @tylersalminen for raising this. It's an interesting request, can you please explain further. ACA hosts never allow you to run as root. Also, we have a building block for untrusted code which is called Dynamic Sessions. Seccomp and Apparmor usually require root on the host.

Basically I would like to be able to provide apparmor and seccomp profiles to a container when editing one within a revision (see image below). Specifically a way to reference files from for example maybe an azure files store (that way i can update them within my CD pipeline)

My specific use case is that we host a pretty complex web application in azure container apps that contains many disparate dependencies that increase the potential attack surface of our container. Being able to define these profiles would help to reduce that attack surface. In our CD pipeline we use the docker-slim github action to remove unnecessary dependencies and binaries included from the base image we pull from docker hub. This github action also can produce apparmor and seccomp profiles to further harden our container but we are currently unable to use them in azure container apps. However we would like to avoid migrating to a more complex service like AKS just for the ability to define the profiles.

I have a feeling the unspoken answer is this is by design and they want you to move to the more expensive and complex AKS to gain these capabilities.  ;)
I'm just running into this myself trying to stand up a little 2 app stack involving a playwright / puppeteer  container. I would very much like to be able to define seccomp in that container app. It's an annoying catch22 to be blocked from layering on the security to sandbox chrome in what is otherwise a pretty clean way to deploy my stack with container apps.


pydocstyle should not immediately quit when it can't evaluate contents of all

Create a module with the following content:
__all__ = ('a',)
__all__ += ('b',)

a = 1
b = 2

Run pydocstyle on it:
$ pydocstyle.exe mymodule.py
WARNING: Error in file mymodule.py: Could not evaluate contents of __all__.
That means pydocstyle cannot decide which definitions are
public. Variable __all__ should be present at most once in
each file, in form
`__all__ = ('a_public_function', 'APublicClass', ...)`.
More info on __all__: http://stackoverflow.com/q/44834/. ')

I think that even if it can't evaluate __all__, it still can and should warn about D100: Missing docstring in public module.

Fixed by #320.


Implement concat

This is still a bit rough but I'd like to get feedback, especially about frame being a list of DataFrames that I highlighted below

@mrocklin gentle ping. I think this is ready for another look


Upgrade Apache Commons Collections to v3.2.2

Version 3.2.1 has a CVSS 10.0 vulnerability. That is the worst kind of
vulnerability that exists. By merely existing on the classpath, this
library causes the Java serialization parser for the entire JVM process
to go from being a state machine to a turing machine. A turing machine
with an exec() function!
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8103
https://commons.apache.org/proper/commons-collections/security-reports.html
http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/

While I thank you for the patch and have no objections to it, I am a bit puzzled by your statement that is:

By merely existing on the classpath, this
library causes the Java serialization parser for the entire JVM process
to go from being a state machine to a turing machine. A turing machine
with an exec() function!

My understanding is that the attack vector only applies to cases where serialization is involved. There is no such thing either in Shib or in this extension as far as I know. Thus, while the patch is very much welcome, I can't see this as a security issue. Makes sense?

SGTM. Closing.

Githubstatus eas here.

Githubstatus was here.


[Bug]: Failed to Initialize Assets Manager!

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[x] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[x] Tried restarting PC.
[x] Was able to see the Start Screen.

Describe the issue.
Failed to Initialize Assets Manager! error when using MelonLoader in il2cpp game (Per Aspera).
And the Unity version was not recognized at first. After I manually added the parameter (--melonloader.agfvunity) and corrected it, Dumper seemed to be able to export correctly, but an error was reported when loading the mod.
MelonLoader_22-07-22_22-08-08.415.log
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[X] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

As of this commit https://github.com/LavaGang/MelonLoader/commit/946d7add4b825ecbf9b6dd8b1da1b8009b91362b and the upcoming v0.5.5 update:
The --melonloader.agfvunity launch option has been replaced with --melonloader.unityversion
--melonloader.unityversion will now work properly for allowing the user to specify the Unity Version.


bug(customrpc):

Check all the boxes below

[X] I have checked that this bug hasn't already been reported

Discord username
@t_ps
Detailed Info
When I click to enable it nothing happened
Steps to Reproduce
Plugins
CustomRPC
nothing happened
Crash Info
No
Bug Screenshot

System Info
Device: samsung SM-A035F
Model: SM-A035F
Manufacturer: samsung
Brand: samsung
OS: Android
Version: 13
Discord Branch: googleRelease
Discord Version: 193.13
Discord Build: 193013
Vendetta Version: d539e5a
React Version: 18.2.0
Hermes Bytecode: 94

please title the bug properly next time. make sure to enable "Display Activity" and enable the "Display current activity as a status message" in "Privacy & Safety" in settings, thanks