It does not work with latest PackageDescription

Calling this library through Package.swift causes an error. The Package.swift file and error below:
import PackageDescription

let package = Package(
    name: "SwiftDocopt",
    dependencies: [
        .Package(url: "https://github.com/docopt/docopt.swift", majorVersion: 0)
    ]
)

Now the error:
swift-build: error: the package has an unsupported layout, unexpected source file(s) found: /home/luis/Dropbox/Documentos/Coding/Swift/docopt/.build/checkouts/docopt.swift--9085048256104043035/Tests/DocoptTestCase.swift, /home/luis/Dropbox/Documentos/Coding/Swift/docopt/.build/checkouts/docopt.swift--9085048256104043035/Tests/DocoptTestCaseParser.swift, /home/luis/Dropbox/Documentos/Coding/Swift/docopt/.build/checkouts/docopt.swift--9085048256104043035/Tests/DocoptTestCasesTests.swift, /home/luis/Dropbox/Documentos/Coding/Swift/docopt/.build/checkouts/docopt.swift--9085048256104043035/Tests/DocoptTests.swift

This should work now.

Thanks, does it support the new Swift 4 literals?

Yes, the project has been updated for swift 4.


Decorates StartOnEnter with DefaultValue(true)

…to serialize a value of false into the response, otherwise it's not possible to differentiate between moderator and attendees.
Solves #463

@MarcusKohnert I made a PR to fix the problem here: https://github.com/Vonage/vonage-dotnet-sdk/pull/465
I also changed the test to make sure StartOnEnter is included even when false. At least, I'll be sure it won't appear again.


Volumes are formatted when they shouldn't

What steps did you take and what happened:
We had an issue where we replaced the lvmvolume CRDs.
Previosly we checked in the CRDs alongside the helm-chart, after the change, we set flux to
upgrade:
    crds: CreateReplace

this in order to make CRDs be handled with the chart.
This however set deletion-timestamps on the lvmvolume CRs, so in order to avoid the volumes being deleted on reboots, I did
kubectl -n openebs get lvmvolumes -o yaml > /tmp/orig.yaml
cat /tmp/orig.yaml | grep -v '\- lvm.openebs.io/finalizer' |sed s/finalizers:/finalizers:\ []/ > /tmp/todelete.yaml
cat /tmp/orig.yaml | grep -v deletion > /tmp/toapply.yaml

then shut down all the openebs controllers, applied /tmp/todelete.yaml (in order to delete the resources, then applied /tmp/toapply.yaml to get them back again, started the openebs controllers.

Everything then seems fine, but what we see now, is that if we reboot a node, the volumes comes back empty (!).
There are nothing in the logs or events about the volumes being formatted, they just are empty of data.
What can be the cause of this and how can we get out of this serious situation?
What did you expect to happen:
Data being preserverd and the volumes mounted as noraml
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other Pastebin is fine.)

kubectl logs -f openebs-lvm-controller-0 -n kube-system -c openebs-lvm-plugin: https://gist.github.com/davidkarlsen/7adf3b247002f77cfd821d13f688b838

kubectl logs -f openebs-lvm-node-[xxxx] -n kube-system -c openebs-lvm-plugin: https://gist.github.com/davidkarlsen/e99f2a9a2c7d2b407d73ce539cc67aaf
kubectl get pods -n kube-system: no pods
kubectl get lvmvol -A -o yaml https://gist.github.com/davidkarlsen/6c62b019f5f5624598c618c90bd92805

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

LVM Driver version
Kubernetes version (use kubectl version):
Kubernetes installer & version:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):

The core of the problem is that openebs sees the volume as not formatted:
1 mount_linux.go:366] Disk "/dev/datavg/XXX" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /dev/datavg/XXX]

Did you managed to fix it?

The core of the problem is that openebs sees the volume as not formatted:
1 mount_linux.go:366] Disk "/dev/datavg/XXX" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /dev/datavg/XXX]

@davidkarlsen Do you still have this issue? The mount message w.r.t unformatted appears to be from kubernetes mount utils code.

@dsharma-dc no longer using openebs myself - but I put in a fix in k8s core to force format xfs and we were OK.

I'm closing this issue now as this isn't a problem anymore as mentioned after the changes in kubernetes mount utils.


add support for linux-arm64

Addresses #1911
Adds support for linux-arm64

Note:
Current .NET 2.1.403 release @ https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.403/dotnet-sdk-2.1.403-linux-arm64.tar.gz reports a runtime-id of "ubuntu.18.04-arm64" instead of an expected "linux-arm64".  This needs to be updated in the published dotnet core arm64 releases before this PR will work as intended.  An issue has been filed @ https://github.com/dotnet/sdk/issues/2644

Hey @toolboc - I'm going to close here since we did this in #2881. If you think that's wrong we can reopen here.


Some objects are wrongly placed

Hello, I tried to import an Ifc file, and I noticed that there are some issue with some objects position. I can't really fix this by myself, so I hope that somebody can have a look :)
IFCjs:

Expected:

By the way, the IFCSITE is not drawn, I don't if that is on purpose, or if that is an issue.
Here is the ifc file I used for this test:
FZK-Haus-EliteCAD.zip
Thanks!

Hi, can you please open this issue in web-ifc? Cheers!


Network chart - Use column values for links appearance

Suggested by J P Lee - allow configuration of a column that specifies what colour to use on link lines, what arrow to use etc.

Hey, I have been working on some JSViz visualizations for work & came across your repo. I don't know a good way to reach out other than this so apologies for the unorthodox introduction. Would you be open to a collaborator on this project? I'd be happy to help out in any way I can

Hi @andrew-curthoys - I'm very happy to look at pull requests or suggestions for new features. I'm actually planning on focusing on porting things to Mods in the next few months, so hoping not to put too much effort into adding more JSViz stuff in future :)


chore: debug action inputs

Let's hold on this PR for another hour or two.
I very much want to use rootless builds so we can disable and enable rechunk in a single line, but don't want to risk pushing a build that doesn't allow updates.


feat(schema): allow wasAttributedTo to be a SoftwareApplication

The prov schema says that the value of wasAttributedTo can be any
agent, but it can currently only be a LegalPersonInterface.
We want to use this property to indicate that a node was created
by a particular software application. To do this, introduce an
AgentInterface which is implemented by SoftwareApplication and the
types that already implemented LegalPersonInterface.
This allows us to make queries like "give me all of the MediaObjects created by piece of software x:
query {
  MediaObject(filter:{wasAttributedTo:{identifier:"7a9798bc-abfc-41ca-8861-9c1de850010a"}}) {
    identifier
    name
    wasAttributedTo {
      ... on SoftwareApplication {
        name
      }
    }
  }
}

{
  "data": {
    "MediaObject": [
      {
        "identifier": "31588500-41cc-40ba-91cd-5fa875c374ca",
        "name": "some mediaobjct",
        "wasAttributedTo": [
          {
            "name": "mysoftware"
          }
        ]
      },
      {
        "identifier": "ff703a20-41fe-4cfb-8e82-8b563f4e6154",
        "name": "some other mediaobjct",
        "wasAttributedTo": [
          {
            "name": "mysoftware"
          }
        ]
      }
    ]
  }
}

right, if people have written any mutations that include typing to say that this field should be a LegalPersonInterface?
We can have a look through all code repositories in the org to see if this is a problem - though I can say that I know that I've not used it before now in any of my code

We can release this change to test and notify people about this change.


Help is in the wrong order?

As you can see here, much of the help starts with this pattern
cyclonedx [options] command
Yet you can't put the options before the command, you'll get an error.
It should read
cyclonedx command [options]
c:\temp\cyclone>c:\tools\cyclonedx --input-file MergedBOMs.json validate
--input-file' was not matched. Did you mean one of the following?
--input-file
Unrecognized command or argument '--input-file'
Unrecognized command or argument 'MergedBOMs.json'

validate
  Validate a BOM

Usage:
  cyclonedx [options] validate

Options:
  --input-file <input-file>                        Input BOM filename, will read from stdin if no value provided.
  --input-format <autodetect|json|xml>             Specify input file format.
  --input-version <v1_0|v1_1|v1_2|v1_3|v1_4|v1_5>  Specify input file specification version (defaults to v1.4)
  --fail-on-errors                                 Fail on validation errors (return a non-zero exit code)
  -?, -h, --help                                   Show help and usage information

c:\temp\cyclone>c:\tools\cyclonedx validate --input-file MergedBOMs.json
BOM validated successfully.

This seems to come directly from System.Commandline (see https://learn.microsoft.com/en-us/dotnet/standard/commandline/). I did not see what is causing it or how it could be changed.

If I update the version of System.CommandLine, I get:
'--input-file' was not matched. Did you mean one of the following?
--input-file
Unrecognized command or argument '--input-file'.
Unrecognized command or argument 'MergedBOMs.json'.

Description:
  Validate a BOM

Usage:
  cyclonedx validate [options]

Options:
  --input-file <input-file>                             Input BOM filename, will read from stdin if no value provided.
  --input-format <autodetect|json|xml>                  Specify input file format.
  --input-version <v1_0|v1_1|v1_2|v1_3|v1_4|v1_5|v1_6>  Specify input file specification version (defaults to v1.6)
  --fail-on-errors                                      Fail on validation errors (return a non-zero exit code)
  -?, -h, --help                                        Show help and usage information

i.e. it seems to be fixed by newer version.


Login issue

hi.
i have a problem : i tried to create an account on mtgarena.pro website, and it doesn't works.
it seems it memorized my email adress. but i don't receive nothing in that adress email, neither a new password.
i don't understand, i'm sure i respected all the process...
can you help me please ?

to complete my previous message...
i already complete my profil.
when i want to login i fill the login field and the password field, and i've got this error message :
"ERROR: The password you entered is incorrect. Lost your password?"
(but for sure it's the true password, and the only one it can be).
and when i click on "Lost your password?", i've got this error message :
"ERROR: There was an error while trying to send the activation link to ...@yahoo.fr!"
and when i want to register with my email adress<EMAIL_ADDRESS>i've got this error message :
"This email is already in use."
i tried everything. for sure : i don't know what to do...
can you help me, please ?
thank you

Hi! You can try to use another social logins like facebook, google or twitch to login.

hi.
thanks for your answer.
i saw that, but i don't have a lot of social account, and i don't want them linked to MTGArena.PRO.
i want MTGArena.PRO linked with email adress.
i don't understande this bug, cause it seems i made everything well...
thanks for your help

We will investigate the situation with resetting password. You can try to use another social login before we find the solution.

i tried to login with my twitch account.
but when i done it MTGArena.PRO didn't found my email adress and asked me to write it.
i done it.
and it answered me : "This email is already used by another account"...
what can i do ?
(thanks for your answer and help...)

You have only one account and it doesn't matter what kind of login you use

ok. so it might works.
but i can't login to MTGArena.PRO.
clicking directly on "login" on the website : it doesn't work.
trying to login via twitch : it doesn't work.
i don't know what to do.
can you reinitialized my account ?
i don't know what to do...

Please, try again to recover your pass again. Here is the link https://mtgarena.pro/recover-password/

Send me your full email address to<EMAIL_ADDRESS>I will reset your account and you will be able to register anew.

thank you Aquaman88 for your help and your time.
but your link is the same i got before. and for sure i get the sema error message : "This email is already used by another account"...

Resolved


Replace global balance arrays with std::map

This is a resubmission of https://github.com/mastercoin-MSC/mastercore/pull/258.

Doesn't cover full range of potential properties, can result in out-of-bounds violation
No need to reserve 100000 elements each
[] operator reads an element at position, if key exists, or inserts an element, if not
Balances are int64_t

Agreed, thanks dude :)


Infinite loop when hardlink is enabled and exist incomplete writebatch

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

enable hardlink by
profiles.default.dt_storage_pool_log_gc_force_hardlink_rate : 0.8
profiles.default.dt_storage_pool_data_gc_force_hardlink_rate : 0.8
profiles.default.dt_storage_pool_meta_gc_force_hardlink_rate : 0.8

restart tiflash and check the logging
2. What did you expect to see? (Required)
The hard link optimization can run normally
3. What did you see instead (Required)
Infinite loop
[2022/03/24 11:22:28.315 +00:00] [WARN] [<unknown>] ["PageFile:[expect_batch_bytes=4160631355] [meta_size=36382152] [file=/data0/db/data/t_71/log/page_1788_3/meta] ignored."] [thread_id=29]

4. What is your TiFlash version? (Required)

Hardlink is abandoned, and it is never used in any version. So change the severity to minor.


Fixes documentation and Gives Proper Volto-Core Guide

Fixes #5552
Also #5554

Can I please get a review

In my last PR also there was this @plone/components and @plone/volto which were showing expected. Like are these some kindof of unit test or so?

Sorry for the incoveninece @stevepiercy , but there is some problem in my vscode, even with --no-verify, I am not  able to push the changes.I will be closing this and raising a new one

closing

Sorry for the incoveninece @stevepiercy , but there is some problem in my vscode, even with --no-verify, I am not able to push the changes.

Is your branch current with main?

Sorry for the incoveninece @stevepiercy , but there is some problem in my vscode, even with --no-verify, I am not able to push the changes.

Is your branch current with main?

No  but , I figured out, there was corruption in my vscode, I reinstalled it, and I was able to push the changes


Added Demo for How To Use with Aframe.

This tool is incredibly useful, but the Aframe community has yet to really demonstrate how to get iOS/Safari support for the framework. These changes just give a new example for how people can use this module with Aframe.
https://github.com/aframevr/aframe/issues/900
https://github.com/aframevr/aframe/issues/316

Hello! Sorry it took me so long to review this, but I concluded that this doesn't belong here. IIV is just a polyfill so it doesn't need any more demos than the classic and WebGL ones.
Feel free to include IIV in aframe's repo or link to it with unpkg.


Fix IExplorer forEach error

Fix IExplorer problem.
For each of the for each loop does not work correctly, so I have changed it for a simple for loop. In this way the problem of compativility of this loop in ie is solved.

Thanks for the PR @vmunozre


invalid ELF header in javascript library

Only macOS is supported at the moment. I will be adding support for Linux is the near future.

Okay, thanks for the support.

No support for Linux yet? I have also this issue


Improve error handling and debugging

Improve previous password entry changes
OraclePatchDownloader.java:

Factor out common code from methods readLine and readPassword
to a new method readThing.  Protect from reading EOF in that
method.

Change syntax for reading passwords from environment to a more
explicit env:ENV_VAR.

Simplify calls to readLine, readPrompt.

README.md:

Sync online help.

Change example to the env:ENV_VAR syntax.

Clean up code
OraclePatchDownloader.java:

Reorder definitions of global variables to be more consistent
with rest of code.

Make variable tempdirDelete local to main method, renamed
patchRegexp to patternList.

Completely remove unused code referring to checkPatchList.
(That variable never gets set to true as of commit 7aaba1e.)

Consistently use "private static" methods, make the constructor
a "public static" method.

Check for empty download list after processing all search
results.

Move exception handling from method download to main to avoid
exiting prematurely (thus circumventing clean-up code in main).

Simplify handling of patterns in command line processing.

Streamline error handling
OraclePatchDownloader.java:

Add methods format(), error(), warn(), usage() as main APIs to
handle errors and use them as appropriate.  When none of these
is appropriate, throw a RuntimeExcpetion.  Extend main method
to handle any ExitExceptions thrown by the new methods.

Redo web scraping to use methods that throw
ElementNotFoundExceptions when a page does not look as
expected.  Handle these exceptions.

Simplify download link loop by using an XPath query.

Turn "no dowmloads error" into a warning (since this is a
legitimate use case, not an error).

Use try-with-resource where appropriate.

Another fat PR ... at least I split it up into separate commits this time.  Please check and let me know what you think.
This was (hopefully) the last "infrastructure" work, so the following commits/PRs should be more focused.
I will try to monitor the issues, just in case any of these changes breaks things.  In any case, feel free to CC my as @farblos if there should be need for it!


Fix #52 - Autoplay settings aren't properly setup.

My previous 'fix' for #52 hasn't been working properly. When I tested autoplay settings last Sunday, the script wasn't properly updating the autoplay settings, despite my changes. I didn't notice this when I initially added the lines because I wasn't testing on a completely fresh system. Today, I used VirtualBox's 'snapshots' feature to make sure I was starting with a fresh system every time I ran the command and was able to track down the issue.
One thing to note though: After the script is run, you will need to either logout or reboot for these changes to take effect, so if you ignore the 'reboot' prompt that appears when the script is done, the autoplay settings will not be properly set.

If you're curious why these changes fix the problem, take a look at my comments on the github issue here: #52


[24.05] meson: 1.4.0 -> 1.4.1

Description of changes
(cherry picked from commit 9d76da314b9262ae22086f859f4a815e7b33a54d)
This is a bug fix release, and we haven't seen any problems with it to my knowledge, so I think it makes sense to backport it.  It's a manual backport because the original commit removed a patch that never existed in 24.05.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

The cherry-picks check can be ignored?

Note this should not necessarily be treated as a hard fail, but a reviewer's attention should be drawn to it and github actions have no way of doing that but to raise a 'failure'

and as I explained, this has to be a manual backport due to a patch not being applied on staging.


Update Security-WG-Charter.md

The Slack link looks wrong, so here is an update.

Thanks. Do you know if that link expires or is permanent?

@dcmiddle Good question. I think it should persist, but I am not certain.

This link is set to not expire.


インスタンスごとのチャート

Summary

Environment

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Done


consume core

the core changes for this branch to work will be in the daily build as of the noon build on Wednesday August 9, build 200.3.0-3960
this branch contains

the code to use the runtime API for constructing of forms objects from REST JSON data.
the gradle code to get the build of the Kotlin SDK from mavenLocal

once we exit branch to release, we can rely on the regular Kotlin SDK builds to get the SDK. I'll make another PR at that point to remove all the extra maven stuff.
To use this branch, it is necessary to build the SDK locally with the main branch of runtimecore. There are no automated builds of this during branch to release. There are, however automated builds of runtimecore's main, so we can use those.
Instructions for using this branch:

in the folder  on your filesystem containing kotlin, runtimecore, etc, replace the output folder with this output folder in this archive (warning: huge folder) smb://runtime.esri.com/android/rtc/200.3.0/last_good

to reduce the size issues: just copy output/android_arm64_release to the appropriate local folder. arm64 is needed for running on an arm64 device or emulator on M2 Mac

in the folder on your filesystem containing kotlin, runtimecore, etc, replace the buildnum folder with the buildnum folder in this archive. this should be quick.

build libruntimecore_kotlin.so (expected time: 1 minute):
checkout main of runtimecore and kotlin
run the following:
#!/bin/bash
# cd to runtimecore...
./runtimecore_scripts/scripts/create_build.sh -p android -a android_arm64_release -u -n
./runtimecore_scripts/scripts/build.sh -p android -a android_arm64_release -n -c

ensure all code generation is turned on in the kotlin repo (gradle.properties) and publishToMavenLocal.
checkout toolkit branch sor10874/consume-core (or feature-branches/forms after the consume core branch is merged)
important: change the sdkBuildNum in the toolkit's gradle.properties file to match the number in the buildnum folder mentioned above.
build and run (must run to verify!)

thanks @kaushikrw merging. We should be mindful that merging v.next into this feature branch will likely have conflicts with the gradle.properties changes in this PR. When daily builds resume, we can resolve those conflicts using v.next


Add note that incidents are created by people

Incident creation process had an implicit assumption  of a human being involved that needs to be made explicit

@bobheadxi For me, this PR is a not a change. This was the default prior to the work in RFC 592.  Your comments in that RFC are valid and I think we should have a larger discussion there. But after https://github.com/sourcegraph/deploy-sourcegraph-cloud/pull/16663 this is current state.
This could be changed tomorrow but the above change is what is true currently, correct?

I'm not sure it's a default yet - my understanding was that outside the build incident case where a specific case was made against automated incidents, the only reason we didn't have automated incidents is because of the lack of API (it only became available last month: https://github.com/sourcegraph/sourcegraph/issues/31854#issuecomment-1113175300), not because we had a conscious decision that all incidents were created by humans 🤔

Basically, I'm of the opinion that we do not have a stance in regards to incident creation, and the discussion should be in regards to introducing one now that the API is available and incident automation is an option at all

Okay, I think we have a difference of opinion here. I think the conclusion of https://github.com/sourcegraph/sourcegraph/issues/31854 we should update this handbook page with the result


Unlimited number of ports in DTAF?

Then DTAF which should be uploaded is set to be unlimited lines. That should not be correct, since the config file does only contain SIP credentials for one account? It should get changed in my opinion. =)
If so, switch
<numberOfPorts> <unlimited>true</unlimited> </numberOfPorts>
to following
<numberOfPorts> <quantity>1</quantity> </numberOfPorts>
/ Tobias

I think you are correct on this one as well. I don't see that setting in the project though. Can you point me to the file where you found this?
<numberOfPorts> <unlimited>true</unlimited> </numberOfPorts>

@jodonnell-broadsoft, I have created a pull-request with the adjustment. Also doublechecked and the DTAF zip file was accepted by our R21.sp1 system :)


Make the library header only

Look into organising the library such that it can be moved into a single header.
One problem with this is the hiding of C includes from the user space. Would need to figure out a way to "undefine" these headers at the end of the source file.

The library is now header only.


[Bug] Vertical panel doesn't adjust well between Single and Combined Mode

Applies in Vertical mode:
The panel responds to Combined Fleet sorties, but the option to toggle EXP/morale/equip/fuel option is absent.
After returning to single fleet mode, the Battle mode panel stays in Combined Fleet display, and doesn't display single fleet node encounters.

is this on default theme?

Yes.


fix: Change environment behavior to generate JSON

@major0 the code is generating:
                "environment": [
                    {
                        "name": "PORT,AUTH0_TENANT,ENVIRONMENT,USE_SENTRY,SENTRY_DSN",
                        "value": "PORT,AUTH0_TENANT,ENVIRONMENT,USE_SENTRY,SENTRY_DSN"
                    }

I'm providing a different way to manage this.
The output for my function is:
{ "name": "PORT", "value": "8080" }, { "name": "AUTH0_TENANT", "value": "aplaceformom.auth0.com" }, { "name": "ENVIRONMENT", "value": "qa" }, { "name": "USE_SENTRY", "value": "true" }, { "name": "SENTRY_DSN", "value"<EMAIL_ADDRESS>}

@major0 found other way to fix the issue.


Support is_x86_feature_detected!()

Miri for me is choking on usages of is_x86_feature_detected!() (specifically the inline assembly it uses to invoke cpuid) in two different crates:

memchr
httparse

These crates of course can be patched to use #[cfg(miri)] but it seems to me like Miri could also just override the internals of is_x86_feature_detected!() to return false for all features it doesn't support, so these crates automatically fall back to implementations that Miri may already be able to evaluate. memchr may need further patching to work correctly in Miri but I think this would be worth the effort anyway.

Yeah inline assembly won't happen any time soon...
Do you know where is_x86_feature_detected is implemented?

https://doc.rust-lang.org/stable/src/std/up/stdsimd/crates/std_detect/src/detect/arch/x86.rs.html#82-242
The macro first checks if it is enabled for the whole crate using cfg!(target_feature="...") and if not it goes to std_detect. You can prevent the cpuid intrinsic from being called by patching has_cpuid to return false. https://github.com/bjorn3/rustc_codegen_cranelift/blob/1018a34662e0b8d9dfa650ed0ee1dfd84242ac37/patches/0016-Disable-cpuid-intrinsic.patch

So maybe we could convince the stdarch maintainers to add a cfg(miri) there to disable cpuid? Does someone want to take that over?

ideally we could add a cfg(miri) in std::detect::os::detect_features.

Or actually in the function calling it :)

https://github.com/rust-lang/stdarch/pull/803 landed. What does that mean for this issue? Can we land a new test in Miri for this?

You may have to wait until the change enters libstd, I'm afraid.

So the way is_x86_feature_detected!("foo") is implemented for miri is as follows: it returns the same value as cfg!(target_feature = "foo") would.
This means that, if cfg!(target_feature = "sse") is true, e.g., because the target enables the SSE feature like x86_64-unknown-linux-gnu does, or because the user enables it in its cargo config or RUSTFLAGS, e.g., using RUSTFLAGS="-C target-feature=+sse", then branches for is_x86_feature_detected!("sse") will be taken by the program execution, causing miri to try to execute SSE intrinsics, which would fail.
This implementation of is_x86_feature_detected! is correct. It was proposed to have is_x86_feature_detected! to always return false when running on miri, but that implementation strategy is incorrect because it would mean that the moment the binary starts execution under miri the behavior is undefined. The reason is that "miri hardware" executing the binary does not support a target-feature that the compiler assumes to be supported by any hardware running such a binary.
From a language spec perspective, a user cannot use cfg!(miri) to avoid this undefined behavior. AFAICT the only way to avoid this is to compile the whole binary without the target features that are not supported by miri. For example, by using RUSTFLAGS="-C target-feature=-sse". Since miri probably doesn't support any or many features, I think that the most practical solution for this problem would be to add a "miri CPU" to Rust, so that miri can call rustc with -C target-cpu=miri instead, and that CPU would not have any of the features that miri does not support enabled.
This would mean that targeting, e.g., x86_64-unknown-linux-gnu under miri wouldn't really target that target because it has SSE, SSE2, etc. enabled, but instead, target x86_64-unknown-linux-gnu + -C target-cpu=miri which is a base CPU that's less "featureful" than the one the target requires. This might be problematic in its own ways, but AFAICT this is already the case anyways when code runs under miri, and one could always fix that by making the "miri` CPU" much powerful, e.g., by implementing features for it.
(cc @bjorn3 - this doesn't solve the related Cranelift issue at all which from this perspective is more complicated to solve I think, but it would be better to discuss how to solve that in a different issue).

@gnzlbg That all makes a lot of sense, thank you.

This should also allow miri to instantaneously detect UB related to target features. For example, if the binary is not compiled with -C target-cpu=miri, the behavior of running it under miri is instant UB, and miri could warn on that. Also, if the binary calls any function with target-features not supported by the miri CPU, then the behavior is also undefined, and miri could diagnose that as well.
This wouldn't be of much practical use right now, since there aren't many features that the "miri CPU" currently supports, but could become more useful in the future if the CPU were to support more features.
However, there are some things that the "miri CPU" supports, like atomics, that some targets do not currently support. libstd does not expose Atomic types for these targets, but code could still try to manually use the atomic core::intrinsics. If miri were to disable the "atomics feature" from its CPU for these targets, those uses would be diagnosed as undefined behavior of the target-feature form.


Revert "Bump default milvus version to 2.2.6, operator to 0.7.10 (#240)"

This reverts commit d92a82227f9f3337870cbd4fd626c4018df31da4.
/cc @zwd1208

/lgtm


WIP: Introduce a simple wrapper that wraps a regular bucket with configurable retry backoffs.

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes
The main motivation for this PR is to better cope with potential rate limits that might be enforced by specific S3 providers. Without the possibility of backoff retries at the level of bucket operations, errors caused by those rate limits (e.g. 503, SlowDown/Service Unavailable) are handled at a "too high" level. More precisely, e.g. the main compaction loop of compact catches this as a retriable error and postpones the whole compaction until the next run interval.
One could also take this one step further and delegate the retries one level lower to the actual S3 client (minio in this case). As a matter of fact minio already performs retries under the hood, but those default values might not suffice and are not really configurable from other packages. There is a global variable that could be increased, but this might introduce a too tight coupling to this part of the minio package, and this would possibly affect all thanos components that use the client.
This PR is still WIP (tests, comments etc. missing :-) and should rather be considered a design doc with a POC implementation ready for feedback, if this a feasible way to do this?! If not or if the topic is considered "big enough" I could alternatively start with a "proper" design doc?!
Also, credits where credit's due: The actual retry implementations are inspired by this post as well as minio's retry function.
Unfortunately I didn't completely check other current states of implementations. It looks like https://github.com/thanos-io/thanos/pull/3756 also tries to tackle this in the upload case.
Verification
Deployed and run in Kubernetes cluster
Johannes Frey<EMAIL_ADDRESS>Daimler TSS GmbH (Imprint)

Thank you for this! I have attempted to implement something similar back in the day when it was relevant to me: https://github.com/thanos-io/thanos/pull/2785. Is there a reason you haven't added this config under another key in the regular objstore's config: https://thanos.io/tip/thanos/storage.md/#configuration? Perhaps we could have:
type: S3
config:
  ...
retry:
  ...

Thx for all the feedback and sorry for my late reply. I'm trying to address the mentioned issues, unfortunately I'm a bit burried with some other work, so I hope it's okay that the changes will take a tad longer :pensive:.


[WIP] Provide more server operations.

Provide more middleware server operations for reload/suspend/resume
Needs on MiQ side some way to pass the timeout and potentially other params. See https://github.com/ManageIQ/manageiq/pull/8079#issuecomment-212940500
This builds on the work of #7304 and enhances+generifies it more.
On Hawkular side the agent needs to support them.
@miq-bot add_label providers/hawkular, ui, wip
@abonas

@pilhuhn, haven't read the content yet but I suggest a more detailed description/git commit message (maybe add "middleware server" somewhere to set focus)

@pilhuhn I think it will be easier to perhaps list which exact operations are added here, and which are not supported yet by the agent. Also perhaps worth splitting the PR into several for those that are supported and can be merged soon, and those that are not supported and are blocked on the agent - btw how long will it take to add support there?

The PR doesn't check which power state is currently the server in, correct? (so the "stop" will be disabled for a stopped server, for example)

No, the power state check could be done for a single server. I discussed this with @martinpovolny and he had the good point that it is virtually impossible to get to sensible button enable/disable settings with potentially hundreds of servers in the list.

To quickly summarize our real-life discussion...

since this is the first use of forms in toolbars, right now, it's just another special case - and we already have a mechanism for that, in the form of data-function and data-function-data (json data passed which will get parsed into a POJO and passed to the function) - so we'd prefer to use that instead of adding another case to miqToolbarOnClick

prompt is not really useable, you want to use Patternfly Modals

there is already code that takes a JSON form-field definition and renders it as an actual form - service dialogs - so you want to make your form def use that specific format - and the components to render that are now implemented in https://github.com/ManageIQ/manageiq-ui-self_service/pull/54 .. @romanblanco you may have something to add here...?

you will need to send the form to the server side from that miqShowForm function, I think it would be clearer if you actually added the the full path to send the data to to that function-data object (but this in the function should resolve to the actuall toolbar button so it is possible to read it from there..)

I prefer a single purpose javascript function that creates a modal with a form. I don't think that a single use of a form in this place can justify the work needed to get the stuff from https://github.com/ManageIQ/manageiq-ui-self_service/pull/54 working in this context.
Do this one by hand, then 2-3 more and if we keep adding then we might reimplement this using some JSON backed dynamic form/fields.
prompt can be converted to use Patternfly modal for all the buttons that use it..

I am closing this one now and will reopen a new pull-request soon.


ThreadRun object is missing usage and temperature

The ThreadRun object corresponds to the OpenAI API run object
The OpenAI API run object has two fields: usage and temperature that are missing from the simple-openai ThreadRun object.

@the-gigi Thanks for identifying these missing fields. Checking the history in the OpenAI API spec, I can see that they were added after the first release of the Assistants API on Simple-OpenAI. Looks like there are more new fields.
As I was telling you some days ago, we need a mechanism to detect the differences automatically and that will be the next  functionality for Simple-OpenAI.


Add ability to add or remove components from the EntityInspector

The EntityInspector should allow the user to remove components and to add new ones (only from the supported core components, no custom components yet).

See proposed interactions here: https://www.notion.so/decentraland/Development-roadmap-d0d466934a194a8a92770be84759d559?pvs=4#d5d50582c75e4ea39d817d7c3ed84118


Rework nova

Killed global state ++

I think the "root" and "secondary" buckets are poorly named, I'd prefer something like --metadata-bucket and --data-bucket (and make sure we have data bucket even if metadata and data are in the same region)

Agree with secondary being renamed to data. Not sure about metabucket though. The root bucket is the main bucket, and we'd like nova to just use one for maintenance information and actual data (currently artifacts and cf templates). It just so happens that EB needs artifacts in different region, hence the addition of a (thusly called) data bucket.
Maybe just nova init --main|--primary|--master|--any-other-suggestions ?
Or another options is just nova init. And no need for primary or master flags, but then I'd have to name it something in code (can do mainBucket for e.g. if you dislike root), and if in the future the user actually needs a "data only" bucket, then he can do nova init --data-bucket?

Made separate branch called rework-nova. Will create pull requests in to there until we're happy to switch it over to master.


Cannot create an externalCluster of type monolith when source cluster has a pooler defined

Hello,
I am referring to issue: #1921. which is closed now with no resolution.
With this following manifest which creates a Cluster from an External of type monolith.
The source cluster has a pooler configured and is configured with cnpg version 1.20.1 operator.
The External Cluster is also configured with cnpg 1.20.1 operator.
Tested with cnpg 1.20.0 -> same issue.
Tested scenarios:

Create the source cluster without a pooler

External cluster creation success

Create the source cluster with a pooler

External cluster fails

Specify the cnpg_pooler user in the spec.managed.role section

Error, role name is reserved by operator.

Relevant Logs:
{"level":"info","ts":"2023-06-27T09:35:50Z","msg":"found a role that needs to be skipped","logging_pod":"externalcluster01-1-import","rolesToSkip":["postgres","streaming_replica","cnpg_pooler_pgbouncer","app"],"role":{"oid":"16540","rolname":"cnpg_pooler_pgbouncer","rolinherit":true,"rolcanlogin":true,"rolconnlimit":-1}}
{"level":"info","ts":"2023-06-27T09:35:50Z","msg":"found a role that needs to be skipped","logging_pod":"externalcluster01-1-import","rolesToSkip":["postgres","streaming_replica","cnpg_pooler_pgbouncer","app"],"role":{"oid":"16544","rolname":"streaming_replica","rolinherit":true,"rolcanlogin":true,"rolreplication":true,"rolconnlimit":-1,"rolcomment":"Special user for streaming replication created by CloudNativePG"}}
{"level":"info","ts":"2023-06-27T09:35:50Z","logger":"postgres","msg":"record","logging_pod":"externalcluster01-1-import","record":{"log_time":"2023-06-27 09:35:50.648 UTC","user_name":"postgres","database_name":"application","process_id":"56","connection_from":"[local]","session_id":"649aad76.38","session_line_num":"1","command_tag":"GRANT","session_start_time":"2023-06-27 09:35:50 UTC","virtual_transaction_id":"4/48","transaction_id":"759","error_severity":"ERROR","sql_state_code":"42704","message":"role \"cnpg_pooler_pgbouncer\" does not exist","query":"REVOKE ALL ON FUNCTION public.user_search(uname text) FROM PUBLIC;\nGRANT ALL ON FUNCTION public.user_search(uname text) TO cnpg_pooler_pgbouncer;\n\n\n","application_name":"cnpg-instance-manager","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-06-27T09:35:50Z","logger":"pg_restore","msg":"pg_restore: error: could not execute query: ERROR:  role \"cnpg_pooler_pgbouncer\" does not exist","pipe":"stderr","logging_pod":"externalcluster01-1-import"}
{"level":"info","ts":"2023-06-27T09:35:50Z","logger":"pg_restore","msg":"GRANT ALL ON FUNCTION public.user_search(uname text) TO cnpg_pooler_pgbouncer;","pipe":"stderr","logging_pod":"externalcluster01-1-import"}

external cluster manifest:
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: externalcluster01
  namespace: postgres-external01
spec:
  instances: 1
  imageName: ghcr.io/cloudnative-pg/postgresql:15.3

  bootstrap:
    initdb:
      import:
        type: monolith
        databases:
          - "*"
        roles:
          - "*"
        source:
          externalCluster: pg-cluster01

  postgresql:
    pg_hba:
      - host all all <IP_ADDRESS>/0 trust
    shared_preload_libraries:
      - 'pgaudit'
    parameters:
      shared_buffers: "512MB"
      max_connections: "300"
      effective_cache_size: "1536MB"
      maintenance_work_mem: "128MB"
      checkpoint_completion_target: "0.9"
      wal_buffers: "16MB"
      default_statistics_target: "100"
      random_page_cost: "4"
      effective_io_concurrency: "2"
      work_mem: "1310kB"
      min_wal_size: "1GB"
      max_wal_size: "4GB"
  storage:
    size: 10Gi

  externalClusters:
    - name: pg-cluster01
      connectionParameters:
        # Use the correct IP or host name for the source database
        host: pg-cluster01-rw.postgres
        user: postgres
        dbname: postgres
      # password:
      #   name: devteam-secret
      #   key: password
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
  name: pooler-external01-rw
  namespace: postgres-external01
spec:
  cluster:
    name: externalcluster01
  instances: 1
  type: rw
  pgbouncer:
    poolMode: session
    parameters:
      max_client_conn: "1000"
      default_pool_size: "10"
      server_lifetime: "3600"
      server_idle_timeout: "3600"

Do you have an Idea on how to fix this please?
thank you

This can be dealt with by adding:
# ...
spec:
  bootstrap:
    initdb:
      postInitSQL:
        - CREATE ROLE cnpg_pooler_pgbouncer WITH LOGIN;

Thank you !


Check whether the user has an exchange mailbox

Description
This commit adds logic in discovery and backup to check whether the specified user has
an exchange mailbox that is available/enabled.
If so - the backup is short-circuited to succeed but with "no data"
Going forward - we should be able to move the logic in the OneDrive connector that checks
for a valid drive and license in here.
Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[x] :clock1: Yes, but in a later PR
[ ] :no_entry: No

Type of change

[ ] :sunflower: Feature
[x] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Test
[ ] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)

#2145

Test Plan

[x] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

@meain - take a look at this and please +1 if it looks good. I will follow up with unit tests prior to merge. If it makes sense - we should add the OneDrive check you're working on over here.

As of now trying to do backup details and restore fails with errors. We should probably give a better message to users when trying to restore something without any data.

Filed https://github.com/alcionai/corso/issues/2160 to improve


Adds Dropbox support.

Requires generating and setting of Dropbox "App Key" (see instructions at top of wwwsqldesigner.js)
This also fixes a different little issue: The "_name" property is supposed to remember the last used name (key) for saving and loading, but it wasn't getting remembered for local (browser storage) operations. It is now, so that after loading, a save operation will offer the previous name again.
I'd also like to hide the Dropbox buttons if they can't be used (if either the browser doesn't support the Dropbox API or if the App Key is not set) but I don't know how to do that best. Please advise.

Hi,
thanks a lot for this feature! I am going to merge it sooner or later. A few comments:

generally, the save/load engine shall be rewritten to allow for pluggable storage backends - Dropbox, GDrive, Firebase, current REST API servers. This should include some selectbox-based UI to avoid cluttering the space with zillion buttons.
thanks for the spelling fixes and code cleanups, including fromXMLText1
hiding dropbox buttons:

var buttons = document.querySelectorAll("[id^=clientdropbox]");
[].slice.call(buttons).forEach(function(button) { button.style.display = "none"; }));

(alternatively, one can remove those buttons from the DOM instead)

Okay, let me add a fix more fixes. I'll add the buttons hiding and also add a trim call to the SQL output, because at least with sqlite, I keep getting a few empty lines at the start without it.
Also, I currently have added two dropbox helper functions to the global level (window), and not to a namespace like you did with all your functions. Shall I change that? To which namespace should I add them, then? (I have almost no practice with JS, so I don't even understand why you're using prototypes like that, especially since you're not building a lib here but an app.)

Generally speaking, there is nothing specific about "libs" or "apps" with respect to prototypes. Prototypes are used in places where code/logic sharing is feasible, such as instantiable functions (SQL.Table) or extensible objects (SQL.Visual). You define your logic once - on a function's prototype - and then have all instances/descendants share that code via a prototype link.
The current solution, "have everything in SQL.IO", is no longer maintainable. I will probably refactor the relevant code and introduce the notion of an abstract SQL.Backend object, that would be sublassed by a specialied "dropbox", "local", "rest" etc. variants.
This being said, feel free to leave your logic in the global namespace. I will take care about it during the refactoring (that would also imply splitting the code into smaller pieces; the current monolithic solution has truly overgrown its initial - very old - ambitions).

I have refactored the code to use the IO namespace for now as I wanted to figure out how that works, and to make it fit better into the rest of the code. I have also added hiding of the dropbox buttons and changed the html and CSS a little to make the load/save dialog wider in order to fit the 3 buttons in a single row. I also now store the last used name (key) in a cookie so that it is re-used next time you load the page and then try to load from localstorage or dropbox. I did not mess with the "_name" property that's used for the saver file name as I was not sure if they should be mixed (especially due to the quicksave button which may cause unwanted effects otherwise).

Cool, thanks a lot! I will do the necessary adjustments for more cloud storage options soon, when I have some time.

The dropbox app key is now moved to config.js.

@tempelmann would you please have a look at the https://github.com/ondras/wwwsqldesigner/tree/storage branch? I refactored all the storage code significantly, including your Dropbox client. I would like to make sure everything works - and I do not have Dropbox myself.
Also, your auth routine (showDropboxAuthenticate) seems to always return false in the asynchronous case, when you call this.dropboxClient.authenticate. Is this correct? I would say that perhaps the whole showDropboxAuthenticate shall be asynchronous...

You may be right on the showDropboxAuthenticate part. I'll check later today.

The dropbox code is still functional in the storage branch. But loading / saving with the new popup (for browserstorage) doesn't work any more: There is currently no way to enter a new name. And initially, when the popup has no selection (at least on Safari/OSX), loading leads to a nonsense error msg. It should then at least say: "please select a file from the left popup menu first." - or even pre-select the last used name (using cookies).
I'll look into the dropbox auth issue now.

Alright, I fixed authentication in both branches. Sorry for using a helper var again to refer to "this" inside the callback functions. I still have trouble understanding JS's weird scope rules.

I added some scope-related comments to the relevant PR.
Are your comments re. broken saving/loading still relevant? As far as the Browser storage goes, just unselect (ctrl-click) a row to save under a new name. Perhaps a "[pick new name]" default row would solve this?

Thanks for explaining the scope rules and bind() function. Had been wondering what that was for.
I'll add more info to the bug report on Load/Save


[New Feature]: Back to top button

🎮 feature Request
Description:
Feature Proposal: Back to Top Button
This feature proposes the addition of a "Back to Top" button functionality to enhance user experience in navigating through lengthy pages within the project. The "Back to Top" button would allow users to swiftly return to the beginning of the page, offering convenience and improved usability.
Point down the features
The proposed solution involves implementing a visually discreet yet easily accessible button, positioned at the bottom right corner of the viewport. Upon clicking or tapping, the button smoothly scrolls the page back to the top, providing a seamless navigation experience. The button's design will align with the project's aesthetic principles while maintaining clarity and functionality.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Please assign this issue to me (Aditi-P22) under GSSoC'24.

If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created seprate chennals for all projects...
Thank you :)

hii ,
I'm GSSoC'24 contributor ,I want to work on this issue,
so, kindly requested to you to assign me the issue.


Removed zoom controls from webviews. Resolves #288.

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


MAIN BOSS: Giant Plant Monster

Description
Boss Visual: (Concept Art)
Boss Behavior: To Be Discussed.

Boss Behavior (From the Dungeon Design Document V3.1):  As the player enters the boss room, they are greeted with an eerie tune (which would be cool if it's the same motif of the upcoming boss battle music slowed down to be creepy or something just saying)  and a heartbeat sound. In the middle of the room lies a heart, with vines twisting around it. You strike it once, hear a blood curdling roar and the whole ship shakes. Everyone is thrust out of the ship and it flips on itself.
Outside, the players find the ship turned over, encased in vines by a giant plant. It roars again, and the fight begins. The plant is invincible, but smaller vines start to spawn. If the player gets too close the plant will roar and swipe at the player with one of it’s giant sword-like thorns, which should tell the player a direct attack approach is not how to kill this boss.
These are the same vines that will try to eat the player and can be killed by being tricked into eating bombs instead. A bunch will start to pop out of the ground as shipwreck pieces start to fall from the sky. One of them will be the same color as the boss, and once that one is killed, a hole into the ship is opened. The players need to rush inside, and they can take a swing at the heart. Depending on play testing my guess is 3-4 of this loop with it getting harder as more pieces fall and more enemies crowd the screen would be enough for an interesting fight.
Once killed, the dungeon is completed.
This battle I feel will be fun by yourself as you feel great dodging ship pieces and killing the smaller plants to get a crack and stabbing the boss itself. In multiplayer people could race to be the one that gets inside to hit the heart. I feel it’d be fun to have a little obstacle course as you run towards the heart inside that gets harder with every hit, as in it starts off as a straight beeline to the heart, but more cracks in the floor and a few enemies spawn in make it more difficult.

Disregard earlier concept, this is more realistic:
Plant Monster
Description:
A large plant, mainly purple and green entangling the entire ship. The players would be warped to a room that appears to be outside the ship, with the plant entrapping them so they can not run off.  It juts out of the ship, clearly covering a hole with purple vines that the players want to get into. Large sword-like thorns guard this hole as well.
Inside the hole, its beating heart, encased in vines, beats ominously.
Scene Structure:
This is going to be very abnormal. Mainly because the way the players interact with the boss is by first bombing the plants that pop up that are colored purple, to open the hole in the ship to the heart. Then, they slash at that heart.
The boss’s head may not need a collision2d. It definitely needs a sprite.
That said, the vines do, to hurt the player if they touch it.
The popping up plant enemies need to do the same as well, while also being able to lunge at the player.
Lastly the sword-thorns need one so they can hit the players that get too close to them. They should swing only when one gets close, so a detection area is needed.
Pseudo”””CODE””” behavior:
This will be a challenge to explain clearly but I will do my best. There are going to be about 4 parts to this boss.
The head + vines around the arena - the easiest to put in. There to decorate and set the tone. The head should move around and react to being hurt. The vines should have a collision box that simply hurts the players.
The popping up plants (green) - these guys spawn in randomly around the arena in a set area (area2d maybe?) and behave like the ones in the dungeon itself.
The popping up plants (purple) - these guys will spawn in after a set time, and when killed, open up the purple vines covering the hole to the ship.
The sword thorns (throwns?) - near the hole to the ship. When the purple vines move away, they do too. When someone gets close, they swipe at them and damage them. They can not be killed or look like they are getting hurt when swung at.
The heart room + heart - when the players enter the hole guarded by purple, they are faced with a short walk to the heart. This heart is slashed at, there is some screenshake, and this is repeated two more times for a total of three. Each time the players revisit the room, there are more obstacles in the way. Once defeated, the boss is killed.


vertorMetrics error

i got this error when accessing /metrics. I am using freeswitch 1.10.10
freeswitch-exporter  | level=debug ts=2024-03-11T08:34:08.026Z caller=collector.go:613 [response]:="unsupported value type" freeswitch-exporter  | level=debug ts=2024-03-11T08:34:08.028Z caller=collector.go:677 [response]:="unsupported value type" freeswitch-exporter  | level=debug ts=2024-03-11T08:34:08.031Z caller=collector.go:645 [response]:="unsupported value type" freeswitch-exporter  | 2024/03/11 08:34:08 vertoMetrics error: &rt EOF freeswitch-exporter  | level=debug ts=2024-03-11T08:34:08.033Z caller=collector.go:709 [response]:="unsupported value type"

Error from /probe?target=x.x.x.x:8021
`An error has occurred while serving metrics:
11 error(s) occurred:

collected metric "freeswitch_sofia_gateway_status" { label:<name:"context" value:"public" > label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > label:<name:"scheme" value:"Digest" > gauge:<value:1 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_call_in" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_call_out" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_failed_call_in" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_failed_call_out" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_ping" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_pingfreq" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_pingmin" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_pingmax" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_pingcount" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values
collected metric "freeswitch_sofia_gateway_pingtime" { label:<name:"name" value:"example.com" > label:<name:"profile" value:"external_vpn" > label:<name:"proxy" value:"sip:example.com" > gauge:<value:0 > } was collected before with the same name and label values`


[index] Index fix review comments2

address remaining issues of #37

Coverage decreased (-0.2%) to 93.011% when pulling 2b16735c56c2ff1e0e3ae4a603e1c45dd8f2e029 on hendrikmuhs:index-fix-review-comments2 into 505fe5ce83a64803e999eeb720196b103823aa53 on KeyviDev:index.


Test out google analytics API access

Tested using https://ga-dev-tools.appspot.com/query-explorer/. Looks like I'm good to go.


Bad diagnostics in console - console tool does not fully ignore comment lines?

OrientDB Version: 3.0.3-SNAPSHOT
Java Version: 1.8_172
OS: Windows 7/64-bit
Expected behavior
Some good diagnostics of where the issue is.
Actual behavior
When you run the the attached script, you only get:
Error: java.lang.IllegalStateException: Unexpected end of file

there is no line number or anything that could help find the issue!
I have found such issues to be due to the fact that comment lines (such as -- Comment ) are supposed to be  ignored,  but they are not. The console still interprets the content of the comment and fails. With a large schema script, this can kill a few hours of trial-and-error to find the issue!
Here is the attached schema that bombs:
schema.zip
Steps to reproduce
run thew attaches schema file in console

By "trial-and-error", I discovered that the above schema file bombs  on line 104 where the comment reads:
--Cardholder's full name

The problem is ` in the comment, which should have been ignored, but it is not!

Hi @hrstoyanov
I just pushed a fix that solves this problem. It will be released with v 3.0.3
Thanks
Luigi

Thanks @luigidellaquila ,
Will try to confirm later today (maven snapshot not ready yet, it seems as of now)
Any idea when 3.0.3 will be pushed out?

Hi @hrstoyanov
v 3.0.3 will be officially released in one or two weeks
Thanks
Luigi

Thanks @luigidellaquila
It seems that the fix works


Cannot include fuse.h

Hey, I'm using windows and trying to install fuse-bindings
I followed all the instructions, and did install Dokany myself

I also tried to set environment variables:
DOKAN_INSTALL_DIR = C:\Program Files\Dokan\DokanLibrary
DOKAN_FUSE_INCLUDE  = C:\Program Files\Dokan\DokanLibrary\include
and still getting the error (npm install):

..\fuse-bindings.cc(12): fatal error C1083: Cannot open include file: 'fuse.h': No such file or directory [C:\project\node_modules\fuse-bindings\build\fuse_bindings.vcxproj]

I tried to research as much as I can but I couldn't solve this
Any idea?
Thanks!

It seems that I needed to download Dokan_x64.msi and not DokanSetup.exe


[Android] PAC does not work with Crosswalk

Crosswalk does not work with the Proxy Auto-Config setting set.  There is some changes from https://codereview.chromium.org/742023003 that need to be applied to Crosswalk.  I have verified this change against a Nexus 7 (5.1.1) that has my corporate PAC set.  I also checked with a Nexus 5 (4.4.4)  that has a manual proxy set still works.
BUG=XWALK-5094

The change looks sane to me. Ping @lincsoon, @halton

Fixed include order in latest commit. Thanks for the review.

Thanks for quick rework, will merge it after trybot get green.


Modify tests to account for first attempt distribution data

This is a small PR which modifies an existing test to take into account the first attempt distribution data.  It is not terribly important, but it would be good to have it reviewed before spring quarter starts.  @Stanford-Online/openedx-analytics @ataki

@dylanrhodes Is this still valid?

just a friendly post-break ping :)

@stvstnfrd This change is still valid, but I included it with my other PR to this repo (the one which brings us up to date with Boston), since it was already merged upstream.  I'll go ahead and close it now.


Why is the api_key and host wrapped inside an Arc?

I don't see any calls to Arc::clone in the code. Why aren't the two properties just String?

They indeed should be changed to regular String! This is a refactor that we started doing but has not been applied yet on the Client struct.
If anyone wants to contribute to change their type to regular strings that would be very nice :)

@bidoubiwa Sure, see https://github.com/meilisearch/meilisearch-rust/pull/338


Create insight collector

What this PR does / why we need it:
Create the data collector for insight.
Sorry this PR is getting so big.
It's because the test code is too big.
Which issue(s) this PR fixes:
Ref #1142
Does this PR introduce a user-facing change?:

NONE

/golinter fmt

@nakabonne
Thanks for your reviews, fix them :D (and responded to one comment)

@nakabonne @nghialv
Thanks for your reviews, fixed them all.

@nghialv @nakabonne
Thanks great reviews! I fixed them.

/lgtm

@nghialv
Thanks for reviews, fix them all.

/golinter fmt

Thank you.
/approve


master got a panic

Describe the bug
panic (version /2.33/linux_amd64.tar.gz)
System Setup
3 seaweeds with this command:
weed server -master.port=9333 -volume.port=8080 -dir="/data/seaweedfs" -master.defaultReplication=001 -ip=<IP_ADDRESS> -master.peers=<IP_ADDRESS>:9333,<IP_ADDRESS>:9333,<IP_ADDRESS>:9333
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0x18d67a6]

goroutine 184 [running]:
github.com/chrislusf/seaweedfs/weed/topology.(*DataNode).GetDataCenter(0xc00074f5e0, 0xc00072d580)
        /home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/topology/data_node.go:180 +0x26
github.com/chrislusf/seaweedfs/weed/server.(*MasterServer).SendHeartbeat(0xc000016e00, 0x262fe98, 0xc000959000, 0x0, 0x0)
        /home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/server/master_grpc_server.go:86 +0x12a5
github.com/chrislusf/seaweedfs/weed/pb/master_pb._Seaweed_SendHeartbeat_Handler(0x21af460, 0xc000016e00, 0x2628a28, 0xc0000d4240, 0x351e8e0, 0xc00086b200)
        /home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/pb/master_pb/master.pb.go:4341 +0xad
google.golang.org/grpc.(*Server).processStreamingRPC(0xc0003daea0, 0x2632978, 0xc0007e7800, 0xc00086b200, 0xc0004b3230, 0x34c9980, 0x0, 0x0, 0x0)
        /home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1329 +0xcd8
google.golang.org/grpc.(*Server).handleStream(0xc0003daea0, 0x2632978, 0xc0007e7800, 0xc00086b200, 0x0)
        /home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:1409 +0xc68
google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00072c9a0, 0xc0003daea0, 0x2632978, 0xc0007e7800, 0xc00086b200)
        /home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:746 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
        /home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.29.1/server.go:744 +0xa5

how often does it happen?
what is the result of volume.list?

it was one time after creating a newly 3 node cluster, on one node, i think i missed the rack / datacenter parameters. I thought that there was a default for this.

They do have default values. So I am wondering how to reproduce this.

Could this be caused because I have used -master.defaultReplication=001 without using a rackname?
Or because I have added the servers local -ip also in remote master peers.
I think the volume list was empty at that time. I just started new nodes. Maybe I have uploaded a single file. Could not remember.  I changed my setup and added a DC and rackname, it's running fine now

It is very weird that this error ever happened. I could not figure out the reason.
Closing this unless some new helpful information.


Automated cherry pick of #9224: Bugfix/tb bugfix 1207

Cherry pick of #9224 on release/3.5.
#9224: Bugfix/tb bugfix 1207

Codecov Report

Merging #9225 (a8ba515) into release/3.5 (6a15e02) will increase coverage by 11.97%.
The diff coverage is 17.18%.

@@               Coverage Diff                @@
##           release/3.5    #9225       +/-   ##
================================================
+ Coverage         5.98%   17.95%   +11.97%
================================================
  Files              796       85      -711
  Lines           125693     8921   -116772
================================================
- Hits              7522     1602     -5920
+ Misses          117504     7149   -110355
+ Partials           667      170      -497

Flag
Coverage Δ

aFlag
17.95% <17.18%> (+11.97%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

.../monitor/alerting/conditions/suggestrulereducer.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/conditions/suggestquery.go
2.00% <2.00%> (ø)

pkg/util/seclib2/seclib.go
88.23% <100.00%> (+2.18%)
:arrow_up:

pkg/multicloud/aws/sts.go

pkg/cloudcommon/db/infraresource.go

pkg/multicloud/ucloud/host.go

pkg/multicloud/esxi/cluster.go

pkg/compute/models/scaling_group_resource.go

pkg/compute/models/loadbalancerbackends_stales.go

... and 651 more

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 b33b765...a8ba515. Read the comment docs.


Cache busting in Asset handler using filemtimes creates issues when running in cloud environment

We have a live environment with several web nodes in a cloud environment, and need to make sure that each node has the same the exact same asset files. The cache busting asset handling introduced in 5.7.4 didn't fix this for us (see ticket #2324 and #2323 ).
Instead we changed the getAssetHashKey in concrete/src/asset/asset.php to se sha1_file instead, which has worked.
    /**
     * @return string
     */
    public function getAssetHashKey()
    {

        $result = $this->assetURL;
        if ($this->isAssetLocal()) {
            $filename = $this->getAssetPath();
            if (is_file($filename)) {
                $result = sha1_file($filename);
            }
        }

        return $result;
    }

Whats your take on this? its currently a monkey patch which we would like to make more robust, but so far we have failed to override Asset.php.

Your approach will cause to refresh the cache only if the filename changes.
Two questions here:

What if the file changes its contents and not its position?
The current version of getAssetHashKey uses as hash key the assetURL, and if the file name changes, so should occur to getAssetPath. So your change should be a subset of the current code...

Using sha1_file(); the hashkey becomes dependent on the content of the file rather than the file name and the modification date. Thereby hash key will be the same across all environments and machines, (as long as the content is the same).

If the file changes its contents and not its positions - it gets a new hashkey.
Our file names don't change very often, we combine and minify everything beforehand using gulp. This way we make sure that we remove the dependency of the filename - files with the same content always get the same hash, and files with different content get a different hash.

My fault, sorry, I read sha1 instead of sha1_file.
BTW, that would cause some performance problems, IMHO: at each request PHP would have to calculate the sha1 of the contents of all the assets.
The best solution would be to add a new configuration option, something like this:
public function getAssetHashKey()
{
    $result = $this->assetURL;
    if ($this->isAssetLocal()) {
        $filename = $this->getAssetPath();
        if (is_file($filename)) {
            if (is_readable($filename) && Config::get('concrete.assets.full_contents_hash')) {
                $suffix = @sha1_file($filename);
            } else {
                $suffix = @filemtime($filename);
            }
            if ($suffix !== false) {
                $result .= '@' . $suffix;
            }
        }
    }

    return $result;
}

EDIT: I modified the first version of the above sample script: the result is now only contents-dependent as per your needs.

This looks like a good compromise between performance and getting it to work on certain situations – @mlocati want to submit a pull request?

@aembler: sure! I will do it in a day or two (or you could commit the above code: I didn't tested it but it should work)

And here it is the pull request: #2534


lla: 0.3.1 -> 0.3.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for lla is: Modern alternative to ls
meta.homepage for lla is: https://github.com/triyanox/lla
meta.changelog for lla is: https://github.com/triyanox/lla/blob/refs/tags/v0.3.7/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.3.7 with grep in /nix/store/by12s3vxrbvf6jgf08g4gig9af0sh4zn-lla-0.3.7
found 0.3.7 in filename of file in /nix/store/by12s3vxrbvf6jgf08g4gig9af0sh4zn-lla-0.3.7

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

lla

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/by12s3vxrbvf6jgf08g4gig9af0sh4zn-lla-0.3.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A lla https://github.com/r-ryantm/nixpkgs/archive/5c1ae5ada313dcf12bc9116b6b9dced1544033fb.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/5c1ae5ada313dcf12bc9116b6b9dced1544033fb#lla

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/by12s3vxrbvf6jgf08g4gig9af0sh4zn-lla-0.3.7
ls -la /nix/store/by12s3vxrbvf6jgf08g4gig9af0sh4zn-lla-0.3.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

lla

Maintainer pings
cc @pluiedev for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


tinyxml12 not installed. The package was not found with the source(s) listed.

I downloaded all the packages from this repo for ROS2, and all of them installed correctly using choco except for tinyxml12. Here is the error:

Small note, I am trying to set up ROS2 on Windows 11, which some people say they've been able to do.

Did you mean TinyXML2? I don't see any TinyXML12 as dependency.

My bad, I must have been hallucinating or it was a typo that was fixed


TCPIP over the internet

Hello. I know that this is not a real issue but don´t know where should i message you. I want to use SimpleTCP for handling servers in my game. Does this api work over the internet? I know it works in local networks but does it work in two different networks without hamichi? Thanks in advance

Its simple tcp/ip so it'll work over the internet as long as you open the port in your router/modem and point it to the proper destination.
No client -> server solution can be truly be LAN only...

Will Hamachi do the job?

It'll work without hamachi as long as you port forward it in your router/modem.

how?

http://lmgtfy.com/?iie=1&q=how+to+port+forward
On 6 March 2018 at 22:05, Gizego<EMAIL_ADDRESS>wrote:

how?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BrandonPotter/SimpleTCP/issues/36#issuecomment-370927869,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC1dyX9YLk24ujSacplSso6cASFjzQyNks5tbvoRgaJpZM4SJqPI
.

thanks


feature: upgrade Lumen framework example

Upgrade Lumen Example

[x] Upgrade Lumen Framework and its dependencies (composer.json and composer.lock)
[x] Upgrade PHP runtime on vercel.json config file
[x] Add tests directory (required for Lumen 8)

PD: Thanks for this amazing job  :)

Awesome. Thank you.


PSMove controllers in different coordinate system than HMD

Hello.
I have tried to run the PSMoveSteamVRBridge version 1.42 with the alignment gesture disabled with a PSVR headset. I want to use it with a PSVR headset since it's the headset I like at most (I also tried a HTC Vive, but returned it because of the screen door effect, that doesn't exist in the PSMove headset). It's however being really hard to get it properly configured on a PC (PSMoveSteamVRBridge + Trinus PSVR + FreePie bridge).
My problem is currently the following: when disabling alignment gesture PSMove controllers don't appear in their correct position relative to the HMD in steamVR. They actually appear around 3 feet below their position in the real world, and their movement is rotated in VR with respect to their movement in the real world (they move to the left in VR when I move them to the front, move to the back in VR when I move them left, and so on). It looks like they are located in a different coordinate system than the HMD.
Is there any possible fix for this problem?
Many thanks.

Im confused, why do you need the freepie bridge?, sorry not a solution im still learning and tweaking things but im curious


docs(ngModel): rename $asyncValidators error to nopromise and add missing error page

LGTM

Backported to v1.4.x as 900c7cd.

Backported to v1.3.x as 683bd92.


Azure ServiceBus requires too high permission to just listen to a topic

Expected Behavior
When using this sample:
from cloudevents.sdk.event import v1
from dapr.ext.grpc import App

app = App()

@app.subscribe(pubsub_name='namedPubSub', topic='TOPIC_A')
def mytopic(event: v1.Event) -> None:
    print(event.Data(),flush=True)

app.run(50051)

The policy requires (Manage, Listen, Send) even though only "Listen" should be required.
Using anything but "Manage" for permission results in a 401 when executing this file.

The desired behavior can be achieved by setting the following component metadata:

disableEntityManagement to true
consumerID to a pre-created subscription name on the topic

@lynn-orrell is correct. those permissions are required because Dapr managed the lifecycle of topics. If you use the property mentioned, you can do without Manage permissions.


bug in ruby syntax highlighting

(Original issue 455 created by None on 2009-12-07T19:42:09+00:00)
look like it doesn't handle regex literal syntax:
http://github.com/ahoward/openobject/blob/master/lib/openobject.rb#L13
Reported by ara.t.howard

(Original issue was assigned to gbrandl)
(Original issue 455 last updated on 2009-12-23T19:19:48+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by thatch on 2009-12-23T19:19:48+00:00)
Likely the exact same issue as #447.  Note that it stops mishighlighting on a / there as well.


pkg/in explodes due to nil pointer

I believe this happens because, when event streams are unauthorised (ie, the logs are not public), it returns a nil. Then I defer a .Close() call, which is invoked during error-handling. Kablammo.

Related -- initial_build_id kersplodes for tombstoned jobs.

Done in v0.7.1.


App is dead(killed)

When the user kills the application the job will stop working.

Same issue with android, but the app crash

Please try the latest beta: v2.2.0-beta

my app is crash when app is killed and show error message like
Crash Report
No task registered for key jobname
Unable to launch redbox because react activity is not available, here is the error that redbox would've displayed: No task registered for key jobname
please help me!  how to cancel Background Job when a app is killed.


RemovePodsViolatingNodeTaints with includedTaints

descheduler version: v0.29.0
descheduler policy config file:
--- apiVersion: v1 kind: ConfigMap metadata:   name: descheduler-policy-configmap   namespace: descheduler data:   policy.yaml: |     apiVersion: "descheduler/v1alpha2"     kind: "DeschedulerPolicy"     nodeSelector: "agentpool=user1"     profiles:       - name: ProfileName         pluginConfig:         - name: "RemovePodsViolatingNodeTaints"           args:             includedTaints:             - spot         plugins:           deschedule:             enabled:               - "RemovePodsViolatingNodeTaints"
AKS version - 1.29.2
What did you do?
Tried to run cronjob with RemovePodsViolatingNodeTaints plugin. If using excludedTaints arg, everything is working, if using includedTaints arg, get the errors below:
I0508 14:42:13.637675       1 secure_serving.go:57] Forcing use of http/1.1 only I0508 14:42:13.638451       1 named_certificates.go:53] "Loaded SNI cert" index=0 certName="self-signed loopback" certDetail="\"apiserver-loopback-client@1715179333\" [serving] validServingFor=[apiserver-loopback-client] issuer=\"apiserver-loopback-client-ca@1715179333\" (2024-05-08 13:42:13 +0000 UTC to 2025-05-08 13:42:13 +0000 UTC (now=2024-05-08 14:42:13.638350473 +0000 UTC))" I0508 14:42:13.638478       1 secure_serving.go:213] Serving securely on [::]:10258 I0508 14:42:13.638489       1 tracing.go:87] Did not find a trace collector endpoint defined. Switching to NoopTraceProvider I0508 14:42:13.638518       1 tlsconfig.go:240] "Starting DynamicServingCertificateController" E0508 14:42:13.639663       1 server.go:96] "descheduler server" err="failed decoding descheduler's policy config \"/policy-dir/policy.yaml\": strict decoding error: unknown field \"includedTaints\"" E0508 14:42:13.639680       1 run.go:74] "command failed" err="failed decoding descheduler's policy config \"/policy-dir/policy.yaml\": strict decoding error: unknown field \"includedTaints\""
Using an example from here: https://github.com/kubernetes-sigs/descheduler/tree/master?tab=readme-ov-file#removepodsviolatingnodetaints
Also tested with --dry-run option.
Am I missing something?
What did you expect to see?
Expect that it works the same way as using excludedTaints.
What did you see instead?
When run cronjob I get this error:
I0508 14:42:13.637675       1 secure_serving.go:57] Forcing use of http/1.1 only I0508 14:42:13.638451       1 named_certificates.go:53] "Loaded SNI cert" index=0 certName="self-signed loopback" certDetail="\"apiserver-loopback-client@1715179333\" [serving] validServingFor=[apiserver-loopback-client] issuer=\"apiserver-loopback-client-ca@1715179333\" (2024-05-08 13:42:13 +0000 UTC to 2025-05-08 13:42:13 +0000 UTC (now=2024-05-08 14:42:13.638350473 +0000 UTC))" I0508 14:42:13.638478       1 secure_serving.go:213] Serving securely on [::]:10258 I0508 14:42:13.638489       1 tracing.go:87] Did not find a trace collector endpoint defined. Switching to NoopTraceProvider I0508 14:42:13.638518       1 tlsconfig.go:240] "Starting DynamicServingCertificateController" E0508 14:42:13.639663       1 server.go:96] "descheduler server" err="failed decoding descheduler's policy config \"/policy-dir/policy.yaml\": strict decoding error: unknown field \"includedTaints\"" E0508 14:42:13.639680       1 run.go:74] "command failed" err="failed decoding descheduler's policy config \"/policy-dir/policy.yaml\": strict decoding error: unknown field \"includedTaints\""

Hi @Tadcas, includedTaints is not available in v0.29.0, it was recently merged to master and will be available in the next release (v0.30.0)
Please make sure you are following the docs for your version of Descheduler, as the master branch includes unreleased changes. Alternatively you can build your own image from master


Add vitejs autorefresh to error page

Hey!
I often encounter the Problem while developing that I run into an error and then I need to manually reload the page after correcting the error. Using ViteJS it is already possible to reload the page automatically on file save and I would love it, if there is a way for auto reloading the error page to check if the code is running correctly.
For that I added the ability to add custom HTML to the error page in https://github.com/spatie/ignition/pull/161
This PR is a follow up for adding the ViteJS script for reloading the page to the error page.
Originally discussed in https://github.com/spatie/ignition/pull/155

Note
PR: https://github.com/laravel/framework/pull/43875 was merged into laravel/framework so that the method hotFile is public instead of protected. It will probably be released in v9.27.0

Thank you for this awesome feature!


Post-Processing G-TAD For Custom Dataset :

Hi,
I have successfully run the gtad_inferency.py script for my own dataset but would now like to post-process my results. I have the following doubts :

The gtad_postprocess.py script uses a numpy array called uNet_test.npy It is an array of shape (1574,101) which means the shape format is (number_of_test_videos, number_of_classes). It seems like it contains the classification results for each video in the test set. However, can you tell me how I can generate a similar file for my custom data set? Do I need to train a separate Classifier?

The gtad_postprocess.py script also generates GTAD proposals for each video. I am planning to use those proposals (instead of BSN proposals) to train PGCN to get the SOTA result as mentioned in your paper. Is that possible given that the format of GTAD proposals is different than BSN?

Thanks!

Your understanding is correct. uNet_test.npy contains the classification results for each video in the test set. You can use any video classification model to produce the prediction. I recently used TSM (https://github.com/mit-han-lab/temporal-shift-module) to obtain the classification cores. If your dataset has different classes from THUMOS, You should train a separate Classifier.

In my G-TAD+PGCN method, I modified the dataset class of PGCN, instead of saving G-TAD proposal as PGCN format. More concretely, you can update this function (https://github.com/Alvin-Zeng/PGCN/blob/46428daf719f7d655f19b3f27ed879bd88d91158/pgcn_dataset.py#L237) to load G-TAD result.

@Frostinassiky Thanks so much for your detailed response. I must admit that I am in love with G-TAD and it's currently my favourite repository on GitHub not only because the paper is the State of the Art For Temporal Action Localisation but also because you and @coolbay are so prompt and kind in responding to my doubts! Thanks a lot once again!
I had a bit of confusion with regards to a statement in the paper which says that:
In the Problem Formulation section,
"Following recent video action proposal generation
methods [5, 13, 15, 30], we construct our G-TAD model us-
ing feature sequences extracted from raw video frames. We
average the features of every σ consecutive frames and re-
fer to each set of the σ frames as a snippet."
In the implementation section,
"For
THUMOS-14, the video features are extracted using TSN
model [44] pre-trained on Kinetics [57] with σ = 5."
In the repository https://github.com/Frostinassiky/gtad/blob/7d88c497c3fbf83278012bdc29549d066f279fd3/gtad_lib/dataset.py#L208 , we are using the skip_video_frames = 5 as default and are basically down-sampling the features shape from (number_of_frames,1024) to (number_of_frames/5 ,1024).

However, from what I understood in the above mentioned script, there is no implementation of "averaging the features of σ = 5 consecutive frames". Am I missing something or are we just picking every 5th frame's features and assuming that it is an estimate of the average?
Also, I'm using I3D per-frame features as I found in the I3D paper that I3D pretrained on ImageNet and Kinetics is better than TSN and I found it's implementation to be much simpler than TSN. Does that affect G-TAD in any way as long as we have per-frame features as input to GTAD of shape (number_of_frames,1024)?

Hi, @lakshaymehra !

You are right. According to the current implementation on Thumos, we directly take 1 frame for every 5 frames instead of averaging them. You can also try averaging them to see whether you can get better/worse performance.
We also find that for a lot of methods, I3D features work better than TSN features. We didn't test on I3D features, but we guess that G-TAD should have a better performance using I3D features. If you can test G-TAD on I3D features, we would be very glad to hear from you about the performance.

Thanks a lot @coolbay !

Hi, @frostinassiky , @lakshaymehra
The test set has only 213 videos, why there are 1574 items in uNet_test.npy file?
Thanks a lot!

Hi @ZhengLeon ,
The THUMOS'14 Test Set Contains 1574 Videos In The Test Set. You can find out more here : https://www.crcv.ucf.edu/THUMOS14/download.html
Hope that helps!

Thanks for you kind reply! @lakshaymehra

Your understanding is correct. uNet_test.npy contains the classification results for each video in the test set. You can use any video classification model to produce the prediction. I recently used TSM (https://github.com/mit-han-lab/temporal-shift-module) to obtain the classification cores. If your dataset has different classes from THUMOS, You should train a separate Classifier.

Hello  @frostinassiky ! I think that I cant understand completely the use of `uNet_test.npy' and of training a new different classifier for it. Can you give me a simple explanation for it? Thank you!

Hi Josephine, I don't have this function any more.


License

What license is this project under? It would be great to replicate this and create language or local webrings too. Perhaps we could come up a grouping fuctionality so that all link back to the root webring.

It's MIT, I forgot to add it!


Powertop no longer shows cpufreq_stats ( CPU_FREQ_STATS is turned off in kernel )

Issue description
Powertop service doesn't load with systemd
Steps to reproduce
Enable the powertop service in your nixos config
  powerManagement.enable = true;
  powerManagement.powertop.enable = true;

Technical details
After powertop tries to load (& fails) you can see why:
➜ sudo -i journalctl -xe|grep -i cpufreq_stats
[sudo] password for tim:
Feb 20 11:26:58 deneb powertop[1068]: modprobe cpufreq_stats failedLoaded 0 prior measurements
Feb 20 11:28:02 deneb powertop[2898]: modprobe cpufreq_stats failedLoaded 0 prior measurements
Feb 20 11:28:45 deneb sudo[3153]:      tim : TTY=pts/0 ; PWD=/home/tim ; USER=root ; COMMAND=/run/current-system/sw/bin/modprobe cpufreq_stats
Feb 20 11:35:55 deneb sudo[5938]:      tim : TTY=pts/0 ; PWD=/home/tim ; USER=root ; COMMAND=/run/current-system/sw/bin/modprobe cpufreq_stats

➜ zcat /proc/config.gz|grep -i CONFIG_CPU_FREQ
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y

Hoping something like https://github.com/NixOS/nixpkgs/pull/55755 would help.

Shouldn't this be enabled by default in common-config.nix?

next collectd will need it as well: https://github.com/collectd/collectd/pull/2803

I seems that kernel 4.4 was the last one where CONFIG_CPU_FREQ_STAT=m worked.
In 4.9+ CONFIG_CPU_FREQ_STAT must be only y or n, and no option to make a module

Apologies for my ignorance. Does modprobe cpufreq_stats failed mean that powertop has no way of controlling CPU throttling and is therefore very limited in what it can tune? I have powertop setup on an old laptop with Nix and my battery life is significantly lower than reported by others with this model.
Thanks

It needs to be patched to load the different modules of cpufreq based on CPU type.
It's less useful for managing CPU frequency in newer kernels.

This is still important to me

This is still an issue.

And still is

Wait, what needs to be done here? Is compiling the kernel with CONFIG_CPU_FREQ_STAT not enough? How do other distros make this thing work?

Also interested in this. It might be one of the reasons I seem to have worse battery life on my framework laptop using NixOS.


Updated Home Page

Fixed the Nav Bar
Changed the colour scheme
And on selection of languages in nav bar the page scrolls to cards and highlightes them

Hello,
I am sorry I did not get what is the issue with my pull request could you please let me know ?

sorry there is no issue now at the moment
apologies for the inconvenience caused
On Sun, 6 Oct 2024 at 13:08, bm9240 @.***> wrote:

Hello,
I am sorry I did not get what is the issue with my pull request could you
please let me know ?
—
Reply to this email directly, view it on GitHub
https://github.com/andoriyaprashant/DevDocsHub/pull/40#issuecomment-2395340798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4MYYK3TXF7MTAABE23Q6WTZ2DVW5AVCNFSM6AAAAABPNIH43CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGM2DANZZHA
.
You are receiving this because you commented.Message ID:
@.***>

ok

i donot have write access to the pull so i am not able to merge it

Hello @andoriyaprashant,
Could you please review this PR
Please let me know if some changes are required


test_03_dynamic_target_two_router_test failing in system_tests_dynamic_terminus

 =========================================================================== FAILURES ===========================================================================
______________________________________________________ RouterTest.test_03_dynamic_target_two_router_test _______________________________________________________

self = <tests.system_tests_dynamic_terminus.RouterTest testMethod=test_03_dynamic_target_two_router_test>

    def test_03_dynamic_target_two_router_test(self):
        test = DynamicTargetTest(self.routers[0].addresses[0], self.routers[1].addresses[0])
        test.run()
        if test.skip:
            self.skipTest(test.skip)
>       self.assertIsNone(test.error)
E       AssertionError: 'Timeout Expired: n_sent=10 n_rcvd=0 n_accepted=0' is not None

/home/runner/work/skupper-router/skupper-router/skupper-router/tests/system_tests_dynamic_terminus.py:79: AssertionError
---------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------
INFO     proton:_reactor.py:1053 Connecting to Url('amqp://<IP_ADDRESS>:29413')...
INFO     proton:_reactor.py:1053 Connecting to Url('amqp://<IP_ADDRESS>:29432')...
INFO     proton:_reactor.py:1091 Connected to <IP_ADDRESS>
INFO     proton:_reactor.py:1091 Connected to <IP_ADDRESS>
INFO     proton:_reactor.py:1105 Disconnected, already closed
INFO     proton:_reactor.py:1105 Disconnected, already closed
-------------------------------------------------------------------- Captured log teardown ---------------------------------------------------------------------
INFO     proton:_reactor.py:1105 Disconnected, already closed
INFO     proton:_reactor.py:1105 Disconnected, already closed
---------------- generated xml file: /__w/skupper-router/skupper-router/skupper-router/build/tests/junitxmls/system_tests_dynamic_terminus.xml -----------------
=================================================================== short test summary info ====================================================================
FAILED ::RouterTest::test_03_dynamic_target_two_router_test - AssertionError: 'Timeout Expired: n_sent=10 n_rcvd=0 n_accepted=0' is not None
=========================================================== 1 failed, 2 passed in 313.04s (0:05:13) ============================================================

97% tests passed, 1 tests failed out of 33

Total Test time (real) = 318.95 sec

The following tests FAILED:
	 31 - system_tests_dynamic_terminus (Failed)

https://github.com/skupperproject/skupper-router/actions/runs/3184482459/jobs/5192936422#step:29:2897

On analyzing the router log, the CI environment that this test is running on was pretty slow. The hello going between the two routers are delayed by more than 3 seconds (default helloMaxAgeSeconds is 3). This leads one of the routers to go into flux mode and ultimately drops the connection between the routers which leads the deliveries to be released. Increasing the helloMaxAgeSeconds to 10 should take care of this issue.


Fix syntax issue in default config

Sorry to bother with a typo but I noticed it while installing the plugin.

Nice catch, thanks


"mssql.enableSqlAuthenticationProvider" causing SQL Tools Service crash on macOS

Issue Type: Bug
I've enabled this setting as advised to fix/improve authentication stability with Azure databases, but enabling this on macOS causes SQL Tools to crash. A restart doesn't resolve. If I disable the new setting, the crashes stop.
Azure Data Studio version: azuredatastudio-insiders 1.43.0-insider (b4d5a08199e9e0cb0138ce540c086ac32d072019, 2023-03-07T06:29:50.721Z)
OS version: Darwin x64 22.3.0
Restricted Mode: No
Preview Features: Enabled

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz (8 x 1400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
8, 14, 8

Memory (System)
8.00GB (0.03GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Hi @bwyatt-mcr
The fix has been merged and is available in the latest insiders build.
Thanks again for bringing this to our attention! I will proceed to close the issue.