Serverside input transformation

Hello!
We're using  "deepstream.io": "3.1.0",.
We've been looking at doing some serverside input transformation, and I'd like to know what the preferred way is. Previously we could set a dataTransform thing on the deepstream server.
The usecase is that we have endusers that make rpc calls to our backend. Right now we have the enduser clients add a "customerId" on each rpc call to make sure we know on the server who made the call. To make sure the customerId really belongs to the user, we check it with a permission handler, like:
module.exports = class CustomPermissionHandler extends EventEmitter {
  canPerformAction (username, message, callback, authData) {
...
        const originalData = JSON.parse(message.data[2].substr(1))
        const isValid = authData.customerId === originalData.customerId
        return callback(null, isValid)

But since we do this, and we have the information on server-side, it feels a bit weird that the client has to supply it.
To compare to a REST server, there you would sent a cookie or token, and have the server figure out who the user is. It's not that the user sends who they are and the server verifies it another time.
So basically we want to be able to add "customerId" on all (or most at least) RPCs coming in from end users. I figured out a way to do it:
// here 'echo' is the name of our RPC
    if (message.data[0] === 'echo' && authData.role !== 'backend') {
        const data = JSON.parse(message.data[2].substr(1))
        data.customerId = authData.customerId

        message.data[2] = 'O' + JSON.stringify(data)
        return callback(null, true)
      }
    }

This actually works, but feels a bit ugly and relying on onducmented behaviour. So I just thought I'd ask: is this the proper way to do it? If not, then how should it be done?

Added this feature to V4 branch, RPC now can send requestorName and requestorClientData alongside the RPC. This just needs to be added to client.

Closing due to inactivity. This feature is part of the spec but not in the RPC callback client itself.


Display for msDesc in the metadata panel

We would like to display the text from the <msDesc> element from the <teiHeader> in the metadata panel. It will take some thinking to decide what we want for this, but all MS plays will need this element.

That's a LOT of information to fit in that little panel. Maybe this should be analogous to the plan for a separate character list on its own page? We could implement both of those as a package and establish a formula for how/when we generate an ancillary page from a play file.

That sounds like a good idea to me!!

Agreed! This is a great idea.

Another suggestion would be to have the msDesc function exactly like the Metadata link in the toolbox, popping up its own panel with style matching the metadata panel.

@JanelleJenstad @LEMDO-PM Now that issue #154 is implemented and you can see the results, do you still think we should go ahead with this?

The plan is to do exactly the same thing as we do with the particDesc cast lists: generate a separate XML page as part of the Original XML build, and insert the required links into the edition page to make that page available to the end user. Then we'll need to write rendering code for the msDesc content itself.


Prepare for release

@bwheelz36 is this a minor or patch release? Maybe it should be 1.6.0 🤔

Hmm. Probably a patch? That's a "backward compatible bug fix"

Actually I'm just referring to the numpy change. Is anything else included?

A few other things, yeah, see comparison to master here.

I think it's fine to call these things bugfixes, so I'll ship it under this.


Files transferred to Memsource using POST request, headers missing

Since we changed the logic of uploading translation files to memsource with POST request and headerless, the modified headers for each language is missing.

Since we changed the logic of uploading translation files to memsource with POST request and headerless, the modified headers for each language is missing.

Headers can be added at the function call
Ref: https://github.com/ansible/python-memsource/blob/2490c808cd22b047d7f2edae10db45aa91a34c6a/memsource/init.py#L266


Update and clean up project (dependencies and formatting)

This PR contains various project cleanups and fixes (in separate commits).
The main change is in android/build.gradle - removing a bunch of unused/unnecessary dependencies and declarations, and making it easier for app projects to consume the library (plus optionally customize the support lib version).
If you want, I can extract the formatting fixes into a separate PR. Please let me know.
Resolves #15

What tool are you use for code formating, and its configs (tab, spaces,  size,.....), so i can keep it

@neuberoliveira - For code formatting, I just opened the project in Android Studio with the default settings, then applied the formatter, fixing the mix of tabs and spaces.

The whitespace errors were automatically fixed by directly invoking trailing_whitespace_fixer from pre-commit-hooks

@neuberoliveira - Any other questions/concerns about this PR? Thanks!

Hi @neuberoliveira - If you have a chance please check this PR. Thanks! :)

sorry for delay, hard times here. And many thanks for this cleanup, is somenthing i plan, but was procrastinating a lot, thanks again

No worries @neuberoliveira - Hope all is well!
Thanks for merging! :+1:


Send user agent header as "acs-test"

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.
Send "x-ms-useragent" header so tests are filtered as test traffic on API side

API change check
API changes are not detected in this pull request.

https://github.com/Azure/azure-sdk-assets/tree/net/communication/Azure.Communication.PhoneNumbers_x9ndpu0nad


next() yields a time in the past

When executing the next() function on a cron with weekdays we sometimes get None or a localdatetime in the past (same for prev() ...):
import java.time._

import cron4s.lib.javatime._
import cron4s._

object Cron4Spec {
  def main(args: Array[String]): Unit = {
    val Right(cron) = Cron("0 0 0 * * 1-3")

    for (dayOfMonth <- 1 to 30) {
      val from = LocalDateTime.of(2017, 3, dayOfMonth, 2, 0, 0)
      cron.next(from) match {
        case Some(next) =>
          println(s" $from: after ${next.isAfter(from)}")
        case None =>
          println(s"Cannot get next from: $from")
      }

      cron.prev(from) match {
        case Some(prev) =>
          println(s" $from: before ${prev.isBefore(from)}")
        case None =>
          println(s"Cannot get prev from: $from")
      }
    }
  }
}

produced with version 0.3.1.

Thanks for reporting, I'll look at that as that is a weird behaviour

This has been fixed in branch 0.3.x and version 0.3.2 released to Maven Central (it may take a while until is mirrorred everywhere).

Works for us now after fix (0.3.2)!
Thanks for fixing.

Thanks for confirming. Beware that #56 is still lurking around but quite to fix in 0.3.x as I need to change a bit the internals. I'm sort of close of a cut for 0.4.0 though which will have that fixed.


Market creation issue

Made a market.
Made a trade in it.
Refreshed / logged out while trade in progress
Logged back in
Won't let me create new markets anymore.. nothing happens

then my rep/cash/eth just all zeroed out

I'm unable to reproduce this.  (Which is good, since this sounds bizarre and horrible.)  This maybe was a byproduct of the progress modal not being properly reset?  That doesn't explain your assets getting zeroed out though.  Can you check to see if you can reproduce this?

still happens

if i do a second refresh and login and make a market it works

When you say "nothing happens", what do you mean?  When you click on " new
market " nothing at all happens? The modal appears but won't let you
progress?  You can get thru the modal but it won't submit?  You click
submit but nothing happens?  You submit but the progress modal fails?
Please be specific!
On Feb 24, 2016 11:31 AM, "Joseph Krug"<EMAIL_ADDRESS>wrote:

Made a market.
Made a trade in it.
Refreshed / logged out while trade in progress
Logged back in
Won't let me create new markets anymore.. nothing happens
—
Reply to this email directly or view it on GitHub
https://github.com/AugurProject/augur/issues/328.

Nothing occurs of consequence upon filling out a market creation modal.  Nothing is happening in the console, i.e. it's not doing anything at all.  Fill out everything in the modal, click submit market, then it proclaims to be putting something on chain but in the console it's actually doing nothing.  Not a single transaction nor a single log nor a single call

What do you mean "proclaims to be putting something on chain"?  Do you mean the progress modal appears and seems to be progressing normally?  If so, can you take screenshots of this?  What you're describing should not be possible: the progress modal for add market cannot advance without there also being stuff logged to the console (https://github.com/AugurProject/augur/blob/develop/app/components/AddMarketModal.jsx#L259-L336).

Yeah that's exactly what happened haha. Gimme a min

Sent a new video recording of this

@thinkloop Are you able to reproduce this?

I tried serveral different subtle variations and am not able to repro

Obsolete


Benchmarking asm implementation

I am trying to run the benchmarks with the asm flag enabled, but fail to do so on rustc (1.50.0 nigthly-2020-11-15)
running with
RUSTFLAGS="-C target-cpu=native" cargo +nightly bench --features ark-bls12-381,asm

error[E0658]: use of unstable library feature 'llvm_asm': prefer using the new asm! syntax instead
   --> /home/dig/.cargo/git/checkouts/algebra-7e23afa68841b66e/902c8c2/ff/src/fields/arithmetic.rs:123:21
    |
123 |                     ark_ff_asm::x86_64_asm_square!($limbs, (self.0).0);
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
   ::: /home/dig/.cargo/git/checkouts/algebra-7e23afa68841b66e/902c8c2/ff/src/fields/models/mod.rs:20:1
    |
20  | impl_Fp!(Fp256, Fp256Parameters, BigInteger256, BigInteger256, 4);
    | ------------------------------------------------------------------ in this macro invocation
    |
    = note: see issue #70173 <https://github.com/rust-lang/rust/issues/70173> for more information
    = help: add `#![feature(llvm_asm)]` to the crate attributes to enable
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

Ahh thanks; I wonder that got changed to asm...
I made a PR to fix it in #93; let me know if that still doesn't work.

Oops, didn't mean for it to get automatically closed

Thanks working now 👌


2X training speed improvement: prefetch next batch from the data loader while running current batch

previous pull request seemed to be failing in circle ci due to a force push causing a missing ref.

no idea why ci/circleci: breaking-change-check is failing

I have tested this PR on YoloNAS-Pose task and found no speed gains in DDP mode (4 GPUs)
I may try on single gpu if I get some free time. But, by chance do you have any benchmark numers you did to prove this speed gain claim?

You're correct, on a hunch I dug through the recipe/script I was using from the docs or something, and found that num_workers was set to 0. Removing that resulted in speeds equivalent to the changes I made. Further investigation and I found that PyTorch has a built in prefetch of batches in the data loader if the num_workers is non-zero.
https://pytorch.org/docs/stable/data.html#torch.utils.data.DataLoader


Compiled app not working: "Module templates-app is not available!"

Hello everyone.
The build output of my project seems to be working fine. However when I compile my project and try to serve the bin directory, I get the following error:
Uncaught Error: [$injector:modulerr] Failed to instantiate module statsco-client due to:
Error: [$injector:modulerr] Failed to instantiate module templates-app due to:
Error: [$injector:nomod] Module 'templates-app' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

'templates-app' module apparently gets auto-generated at the build process and is part of ngBoilerplate. Therefor I'm not sure how to fix it. Anyone else getting the same issue ?
Thanks :smile_cat:

Two things to check:

[ ] The app templates glob matches your app files (it does by default).
[ ] The template file is generated in build/.

@joshdmiller Yes, both are happening. Still, the same error.

Could it be because of how I built the structure ?

Solved!
I had to rearrange the codes included in the final compiled js file. Therefor, I modified the following Grunt task:
compile_js: {
        options: {
          banner: '<%= meta.banner %>'
        },
        src: [
          '<%= vendor_files.js %>',
          'module.prefix',
          '<%= build_dir %>/src/**/*.js',
          '<%= html2js.app.dest %>',
          '<%= html2js.common.dest %>',
          'module.suffix'
        ],
        dest: '<%= compile_dir %>/assets/<%= pkg.name %>-<%= pkg.version %>.js'
      }

To this:
compile_js: {
    options: {
      banner: '<%= meta.banner %>'
    },
    src: [
    '<%= vendor_files.js %>',
    'module.prefix',
    '<%= html2js.app.dest %>',
    '<%= html2js.common.dest %>',
    '<%= build_dir %>/src/**/*.js',
    'module.suffix'
    ],
    dest: '<%= compile_dir %>/assets/<%= pkg.name %>-<%= pkg.version %>.js'
  }


Enhanced logging within tests

Do you want to request a feature or report a bug?
Suspect this is a feature request
What is the current behavior?

What is the expected behavior?
It would be great to have more sophisticated logging in Jest, for example:
jest.log.info("Info message");

And have a command line option to set the log level, eg. --log-level=DEBUG.
And finally format the log entries within the output of a test, eg:
 PASS  test\otg.test.js
  OTG Basic PosTrapNegTrap
       Info message <<< logging goes here!
    √ Executes to completion (216ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        1.179s, estimated 2s
Ran all test suites.

Run Jest again with --debug and provide the full configuration it prints. Please mention your node and npm version and operating system.
jest version = 16.0.1
test framework = jasmine2
config = {
  "scriptPreprocessor": "C:\\Users\\alfie\\gb\\misc\\gb-ui\\node_modules\\babel-jest",
  "testEnvironment": "C:\\Users\\alfie\\gb\\misc\\gb-ui\\node_modules\\jest-environment-node\\build\\index.js",
  "rootDir": "C:\\Users\\alfie\\gb\\misc\\gb-ui",
  "name": "C:-Users-alfie-gb-misc-gb-ui",
  "setupFiles": [],
  "testRunner": "C:\\Users\\alfie\\gb\\misc\\gb-ui\\node_modules\\jest-jasmine2\\build\\index.js",
  "automock": false,
  "bail": false,
  "browser": false,
  "cacheDirectory": "C:\\Users\\alfie\\AppData\\Local\\Temp\\jest",
  "clearMocks": false,
  "coveragePathIgnorePatterns": [
    "\\\\node_modules\\\\"
  ],
  "coverageReporters": [
    "json",
    "text",
    "lcov",
    "clover"
  ],
  "globals": {},
  "haste": {
    "providesModuleNodeModules": []
  },
  "mocksPattern": "__mocks__",
  "moduleDirectories": [
    "node_modules"
  ],
  "moduleFileExtensions": [
    "js",
    "json",
    "jsx",
    "node"
  ],
  "moduleNameMapper": {},
  "modulePathIgnorePatterns": [],
  "noStackTrace": false,
  "notify": false,
  "preset": null,
  "preprocessorIgnorePatterns": [
    "\\\\node_modules\\\\"
  ],
  "resetModules": false,
  "testPathDirs": [
    "C:\\Users\\alfie\\gb\\misc\\gb-ui"
  ],
  "testPathIgnorePatterns": [
    "\\\\node_modules\\\\"
  ],
  "testRegex": "(/__tests__/.*|\\.(test|spec))\\.jsx?$",
  "testURL": "about:blank",
  "timers": "real",
  "useStderr": false,
  "verbose": null,
  "watch": false,
  "cache": true,
  "watchman": true,
  "testcheckOptions": {
    "times": 100,
    "maxSize": 200
  }
}

I think the way logging works in Jest is fine. If you'd like to change this, I will appreciate any PRs or custom libraries on top of Jest that support your use case well.


chore(auth): update the example to offer the choice of using silent verification instead of Recaptcha

Description
More information here: https://firebase.google.com/docs/auth/ios/multi-factor#using_silent_notifications
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[X] No, this is not a breaking change.

Perhaps we ought to update the documentation as well for this?

I'm waiting on Feedback to see if it's the proper behavior from the Firebase iOS SDK before updating the documentation


ENH: Reinfections

After the peak of the epidemic, I was expecting the steady-state behavior to be sinusoidal as people can become reinfected.
It could be a cool improvement to simulate reinfections via the differential equation that describes the change in sick people from T(n) to T(n+1)

With most viruses you can't get reinfected with exactly the same strain. For corona there are reports of reinfections which some experts consider only an artefact of not fully recovered patients

We could add the possibility of a reinfection by also drawing people from the cured cohorts. I'll see if that yields some interesting behavior, though as @kiney said the effect should probably be small for most  epidemics.


PowerToys Run doesn't open

Environment
Windows build number: 10.0.19041.329
PowerToys version: 0.19.1
PowerToy module for which you are reporting the bug (if applicable): PT Run

Run at Startup and Always Run as Administrator are both on. PowerToys Runner shows up in Task Manager.
Steps to reproduce

Make sure your keyboard shortcut to open PT run is Alt+Space
Press Alt+Space

Expected behaviour
PT run opens
Actual behaviour
Nothing

This was supposedly fixed in 0.18.2 (?) and an other ticket described that it isn't working due to PowerLauncher not starting when PowerTools is launched or restarted.
I tried the suggestions on the other issue but I couldn't get mine to launch on it's own so I have to double click PowerLauncher every time I start my PC at  C:\Program Files\PowerToys\modules\launcher\PowerLauncher

PowerToys Run no longer opens regardless of shortcut.  Other features seem to work fine.
0.19.1 Run as Administrator
Windows 10 Version 2004 Build 19041.329
Intel i7-5500U CPU @240GHz
64-bit, x64-processor

Running PowerLauncher.exe fixes it for me

Great that you were able to fix it @MMK21Hub we're receiving this issue a lot, so directing everyone else to this thread: #5055 , please follow the conversation and help us out there!
closing as duplicate


DialogActionButton inflate exception only on Android TV

[x] I have verified there are no duplicate active or recent bugs, questions, or requests
[x] I understand that versions below 2.0.0 will no longer be supported for updates.
[x] I have given my issue a non-generic title.
[x] I have read over the documentation (before asking questions on how to do something).

Include the following:

Material Dialogs version: 2.0.0-beta3
Affected devices: Android TV any version

android.view.InflateException
Binary XML file line #50: Binary XML file line #50: Error inflating class com.afollestad.materialdialogs.internal.button.DialogActionButton

Reproduction Steps

Expected Result

Actual Result

That log doesn't provide quite enough information.

Sorry i accidentaly clicked enter, now is better

Don't pay attention to Crashlytics line numbers, since the mugration to Kotlin is showing wrong line numbers

Any updates on this? Having the same issue.

I'm unable to reproduce in an Android TV emulator.

A more detailed log might be helpful - the above is kind of abstract

Ping @jordyamc @emartynov ^^

Ping @jordyamc @emouawad

Currently i have no access to my computer, should be able to try it again soon. thanks for the follow-up.

So the button inflation crashes.
I've looked in the code and I first guess that Theme is not available on Android TV. Rest colours look like defined within the library. Except maybe selectable background.

Found API guard here https://github.com/googlecodelabs/android-tv-leanback/blob/master/checkpoint_4/src/main/java/com/android/example/leanback/SlidingTabLayout.java#L158

I actually wonder which XML parsing is failed. If I look to https://github.com/afollestad/material-dialogs/blob/master/core/src/main/res/values/styles.xml#L50 it might be also colour inherited from the theme.

Unfortunately I can't do a whole lot unless I ran reproduce the issue 😞

Do any of you have access to an actual Android TV, or are any of you able to reproduce this crash in an emulator?
If so, can you try running the sample with this line removed?
https://github.com/afollestad/material-dialogs/blob/b3e96c5610799498458b7d59c67b6bb25e05b803/core/src/main/res/values/styles.xml#L70
And see if it stops crashing?
@jordyamc @emouawad @emartynov

Actually, that attribute is unnecessary since selectors are set programatically, so I've made the change on the master branch. Need to confirm it works before publishing a release.


update to version 13 cause connection to all client to stop working

after updating to version 12 to 13 i'm unable to connect to my wiregard server even if a new client is created
no error in logs
the problem goes away if i rollback to 12

No problem here.
Check this issue: https://github.com/jdeath/homeassistant-addons/issues/24
An error caused a "12" being put as the default in WG_POST_UP: WG_POST_DOWN:, PASSWORD . Check that this was not added to your version 13 config.....

I checked and nothing has been added to my config

found the problem in the issue tracker of the wgeasy repo you used for this add on it's marked as solved so i will stay on 12 while i wait for an update

Weird. Can you not use the default port? Anyways, once they push a new version, I'll update the addon.

No problem from what i can see it's not like version 12 has some major security flaws that needs to be fixed asap
To answer your question If revert back to the original port i will have to change the client config too and some might be challenging so i will wait

fixed https://github.com/jdeath/homeassistant-addons/issues/29#issuecomment-2282199272


from master to main

Overall, it seems to be good.
However, the compilation of your package is failing on python 3.10 with Conda. it seems to work with pip.
Conda might have an issue with python 3.10 so this is something to introspect.
I think you can go ahead and merge this PR. Otherwise, I can remove python 3.10 with conda. Just let me know

@skoudoro  Thanks a lot for you help, I will merge it like this for now,
I will start working on a small function / PR in Dipy,  that utilize this Lpq Tree as optionnal import with scipy.cKDtree / as an alternative.


Add COLOR_BEHAVIOUR to HmIP-BSL

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

Project coverage is 88.57%. Comparing base (ec5d62b) to head (59dca81).
Report is 72 commits behind head on devel.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #1542      +/-   ##
==========================================
- Coverage   90.42%   88.57%   -1.86%
==========================================
  Files          49       52       +3
  Lines        6037     6388     +351
==========================================
+ Hits         5459     5658     +199
- Misses        578      730     +152

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


Module not found

I'm rather confused. I have a project with the following cabal/hs files:
https://gist.github.com/BobobUnicorn/c854f0d553b90fc2e815
Running the commands:

hsdev start
hsdev scan --project .
hsdev modules --project . --pretty

gives the following modules:
[
    {
        "location": {
            "project": "/home/kchoi/Documents/testproj/testproj.cabal",
            "file": "/home/kchoi/Documents/testproj/app/Main.hs"
        },
        "name": "Main"
    },
    {
        "location": {
            "project": "/home/kchoi/Documents/testproj/testproj.cabal",
            "file": "/home/kchoi/Documents/testproj/src/Lib.hs"
        },
        "name": "Lib"
    },
    {
        "location": {
            "project": "/home/kchoi/Documents/testproj/testproj.cabal",
            "file": "/home/kchoi/Documents/testproj/test/Spec.hs"
        },
        "name": "Main"
    }
]

but running:

hsdev check --file app/Main.hs --pretty

gives:
{
    "error": "Could not find module ‘Lib’\nUse -v to see a list of the files searched for.\n",
    "details": {}
}

Any ideas?

Thanks, it's a bug. I'll fix it soon. As a workaround, you can change hs-source-dirs for testproj-exe to app, src.

Must be fixed in <IP_ADDRESS>

Awesome, I'll try it out.


pkgsStatic: don't overwrite openssl version

Motivation for this change
Right now pkgsStatic is clobbering the default openssl version, which causes problems when cross-compiling to windows.
This is the expression I'm testing:
with import <nixpkgs> {
  inherit system;
  crossSystem = {
    config = "x86_64-w64-mingw32";
    libc = "msvcrt";
  };

  config = {
    allowUnsupportedSystem = true;
    permittedInsecurePackages = [
      "openssl-1.0.2u"
    ];
  };
  crossOverlays = [(self: super: {
    openssl_1_0_2 = super.openssl_1_0_2.override { withPerl = false; };
  })];
};

pkgsStatic.openssl

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is moot after https://github.com/NixOS/nixpkgs/pull/108170. We should probably get rid of openssl_1_0_2 at some point and just have one openssl, at which point it will make sense to restructure this code anyways.


slow response after overnight stress test

Description
commit level: 2bd2b4f005f90d664895c6db369d2010a4e663bd
use local_fabric.sh to launch 4 peers network, pbft-batch, security and privacy enabled
chaincode: example02
threads: 100
invoke transactions only: invoke a->b, invoke b->a, then repeat
Use SoapUI to generate transactions.
HW: laptop W540
After overnight run, my vagrant stops to respond .... very very slow.
While the system in a very slow response mode, I collected system data (df, top, ps -ef, and docker ps -a), see attached
system_stuck0616.txt
The tps was 40 after 10 min run, then it became 15 this morning.
After collected all system data, I stopped the SoapUI. I waited for 20+ minutes and the system began to respond.  Peer does not crash in slow response mode.
I will rerun the same commit code with noops to see if the same issue occurs and will document the result here.

I was unable to recreate the system slow response issue during the weekend with the same commit with pbft-batch.  However, the decreasing tps issue still observed.

Close the bug since I am unable to recreate this for a week.


[Event Request] Codeunit 12 " Gen. Jnl.-Post Line" – Modify Event “OnBeforeCreateGLEntriesForTotalAmounts”

[Event Request] Codeunit 12 " Gen. Jnl.-Post Line" – Modify Event “OnBeforeCreateGLEntriesForTotalAmounts”
Could we please have the already existing publisher OnBeforeCreateGLEntriesForTotalAmounts in Codeunit 12 “Gen. Jnl.-Post Line” be extended?
The publisher offers a parameter “GLAccNo” which we would like to be a VAR-Parameter:
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateGLEntriesForTotalAmounts(var InvoicePostBuffer: Record "Invoice Post. Buffer"; GenJournalLine: Record "Gen. Journal Line"; var GLAccNo: Code[20])
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


CMakeLists.txt appears to have far too many dependencies

It seems like the CMakeLists.txt that was added a week ago lists a bunch of dependencies that boost test doesn't actually depend on, except for it's own tests/examples. MPL seems to be one example but there may be others.

https://pdimov.github.io/boostdep-report/develop/test.html#mpl


Extract Config as separate class

Now configuration is a part of application

Implemented in https://github.com/metarhia/impress/pull/935/commits/1f20afdbcb550b23e6a8c1c2608b064355014602


Adapt the nvidia repositories for any SLE version

What does this PR change?
Adapt the nvidia repositories for any SLE version.
Until now the code was only working for SLE15GA.
As a reminder: this is needed because the nvidia repositories (if even if https://github.com/uyuni-project/minima/issues/18 gets fixed) do not provide the same format as Uyuni/SUSE Manager expects from a RMT mirror, with the target distribution at RPMMD

Ping @mcalmer (for awareness).
BTW: I tested this locally and worked fine:
juliogonzalez@juliogonzalez:/srv/mirror$ ls -l suse/
total 0
drwxrwxrwx 1 juliogonzalez users 28 mar 30 17:20 sle15
drwxrwxrwx 1 juliogonzalez users 28 mar 30 17:20 sle15sp1
drwxrwxrwx 1 juliogonzalez users 28 mar 30 17:20 sle15sp2
juliogonzalez@juliogonzalez:/srv/mirror$ ls -l RPMMD/
total 12
lrwxrwxrwx 1 juliogonzalez users 13 mar 30 17:20 SLE-15-GA-Desktop-NVIDIA-Driver -> ../suse/sle15
lrwxrwxrwx 1 juliogonzalez users 16 mar 30 17:20 SLE-15-SP1-Desktop-NVIDIA-Driver -> ../suse/sle15sp1
lrwxrwxrwx 1 juliogonzalez users 16 mar 30 17:20 SLE-15-SP2-Desktop-NVIDIA-Driver -> ../suse/sle15sp2

Oh... and as you can see I added repos for SP1 and SP2 as well to minima.yaml as they got synced, but I guess that should be a separate PR.
If you want it as part of this PR, let me know.


Pims sookeke

Codecov Report

Merging #20 (4972025) into dev (2add50e) will decrease coverage by 0.15%.
The diff coverage is 76.42%.

@@            Coverage Diff             @@
##              dev      #20      +/-   ##
==========================================
- Coverage   79.98%   79.82%   -0.16%
==========================================
  Files         612      230     -382
  Lines       11524     4298    -7226
  Branches     1835      998     -837
==========================================
- Hits         9217     3431    -5786
+ Misses       2145      867    -1278
+ Partials      162        0     -162

Flag
Coverage Δ

unittests
79.82% <76.42%> (-0.16%)
:arrow_down:

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


Can't access tab opened after installing an extension

Hi, I've opened this thread in Github, but this seems to be an issue really.
What happens is that I have an extension, where there is an event listener for the onInstalled event. There I opened a new tab to congratulate the user. Despite running it with headless: false and seeing the tab is opened, I can't access it.
I've tried to get it with browser.pages and browser.target, but with no success. I dunno if the page is opened in a separate thread (maybe) or something, because even if I add some sleep, just in case the process was too fast for it to be recognized, it still doesn't work.

@thiagocardoso1988 can you create a github repo or something that reproduces this issue? It might be a bug in chromium.


Implement the Splits Editor

The Splits Editor should act similar to a component. So pretty much everything about it should be implemented in livesplit-core. The Splits Editor provides a state object that contains all the necessary information for visualizing it in any kind of UI.
Things to clear up: Should the Splits Editor directly modify the Run object that is in use by the timer and keep a clone in case we need to cancel our progress, or should we just modify the clone in the first place and replace the Run used by the timer once the changes are approved? The former case has a lot of issues with potential race conditions and forces us to introduces reference counting and reader writer locks in most of the code we already wrote. However it models what the original LiveSplit is doing more closely.

Currently sketching out the whole thing without writing any actually UI for it, to reduce the scope of the whole situation. Also for the same reason I'm not bothering with any kind of live-editing for now. It shouldn't be all too hard switching to live-editing later.


[INLONG-118] Provide MQ upstream and downstream supporting capabilities

Based on TubeMQ's upstream and downstream capabilities, forming supporting capabilities open source, avoiding repeated development by users
1. Access proxy provides: including support for different access protocols, such as http, kafka client, UDP client, etc., to access in the form of proxy
2. Consumer capacity provision: including the existing component implementation codes of flink, spark and other centers, making open source contributions and forming supporting capabilities
3. Contribution of existing C/C++ SDK
4. Web page: The Web page is too old, if it can provide the rendering of the updated program, and it can support the new features of tubemq until now
5. Other supporting capacity contributions
JIRA link - [INLONG-118] created by gosonzhang

Closed due to long periods of inactivity
Please reopen it if needed


[bug]: command clicks are ignored (although enter works as expected

Describe the bug
Given this component:
const SatelliteSearch = () => {
  const satellites = useAtomValue($satellites);
  const [selectedSatelliteIndexes, setSelectedSatelliteIndexes] = useAtom(
    $selectedSatellitesIndexes
  );

  const [isFocused, setIsFocused] = useState(false);
  return (

      <Command className="rounded-lg border shadow-md">
        <CommandInput
          placeholder="Search for a satellite by name or NORAD ID"
          onFocus={() => setIsFocused(true)}
          onBlur={() => setIsFocused(false)}
        />
        <CommandList>
          {isFocused && (
            <>
              <CommandEmpty>No results found.</CommandEmpty>
              {satellites.map((satellite) => (
                <CommandItem
                  key={`${satellite.name} (${satellite.satnum})`}
                  value={`${satellite.name} (${satellite.satnum})`}
                  onSelect={() => {
                    // if the satellite is already selected, remove it from the list
                    if (selectedSatelliteIndexes.has(satellite.index!)) {
                      selectedSatelliteIndexes.delete(satellite.index!);
                      setSelectedSatelliteIndexes(
                        new Set(selectedSatelliteIndexes)
                      );
                    } else {
                      setSelectedSatelliteIndexes(
                        new Set([satellite.index!, ...selectedSatelliteIndexes])
                      );
                    }
                  }}
                >

                    {satellite.name} ({satellite.satnum})

                  {selectedSatelliteIndexes.has(satellite.index!) ? (
                    <CheckIcon className="ml-2 h-4 w-4 text-green-500" />
                  ) : null}
                </CommandItem>
              ))}
            </>
          )}
        </CommandList>
      </Command>

  );
};

Selecting via Enter works, but clicks do nothing (the list is just closed with no action and nothing I logs).
Affected component/components
Command, Command Item
How to reproduce
Provided in the description.
Codesandbox/StackBlitz link
No response
Logs
Nothing in the logs

System Info
package.json:

"cmdk": "^1.0.0",

These two issues are both closed without an actual fix.

https://github.com/shadcn-ui/ui/issues/2944
https://github.com/shadcn-ui/ui/issues/2963

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues

I am also seeing the same issue.

currently facing same issue

I am also facing the same issue

I'm having the same issue.

This is because you have installed<EMAIL_ADDRESS>version guys. There are some breaking changes since that version:
https://github.com/pacocoursey/cmdk/releases/tag/v1.0.0
You can fix it by replacing the following className section in CommandItem:
data-[disabled]:pointer-events-none data-[disabled]:opacity-50

aria-disabled:pointer-events-none aria-disabled:opacity-50


Unable to display complete avatar

Description
Unable to display complete avatar, the avatar class of object-fit is contain.
GitHub can display the complete avatar because when GitHub changes the avatar, it must be cropped.
Maybe set the avatar class of object-fit : cover for the better.
Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots

Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
None

As per https://github.com/go-gitea/gitea/pull/31991#pullrequestreview-2286635589, I think contain is better because cover may crop non-square images incorrectly.
Proper solution will be to present the user a UI to crop the image themselves before upload. We should ensure that this future image cropping functionality can handle all supported formats like webp, so ideally a webp should upload as webp after cropping, but conversion to png may be acceptable as well.

I prefer all avatars have same size, not based on the size of uploaded images.
Of cause, cropping image feature is needed, but it can not/ has no effect to the existing avatars.
So he want to fix these existing avatars, not the avatars user will upload in the future.
So even you added cropping image feature, I don't think this issue has been completely fixed.
Are there any other solutions instead of using cover?


Upload remote images directly to cloudinary

This PR makes a number of changes that I believe are necessary to make this plugin production-ready.
This PR allows remote images to be directly uploaded to Cloudinary without first downloading them to machine running Gatsby. This is required to allow development instances of Gatsby to start up in a reasonable amount of time when there are many images on a site.
This PR sets the default options such that running this plugin will not consume any Cloudinary credits after the initial upload. This is required to allow a large team to work on the same Gatsby site without incurring a large Cloudinary charge each time a Gatsby instance's cache is cleared and the plugin thinks that images need to be uploaded again.
This PR also adds tests on the new parts of the plugin. These tests can be run with yarn workspace gatsby-transformer-cloudinary test.
Finally, this PR adds TypeScript typings for the newly-exposed API.

This is great! @kurttomlinson. Currently reviewing :)


[WIP] Allow a small number of false positives in timing_array_test

Throwing random sequences at TimingArray can induce memory accesses at repeated stride. We've seen some evidence in CI that putting elements on different pages isn't enough to stymie this.

Example on PowerPC: https://travis-ci.org/google/safeside/jobs/656442810#L266

and on Windows: https://travis-ci.org/google/safeside/jobs/655609560#L179

I tested this on an n2d-standard-2 (AMD Rome) instance in GCE running Windows and saw anywhere between 0-6 false positives per 10,000 attempts.


[Question] RefreshTokenException encountered - no longer have access to tweets

After approximately fifteen minutes of joy looking at tweets successfully within Jupyter, I then reran a cell which had executed fully a few minutes earlier...
Command Ran
c = twint.Config()
c.Username = "noneprivacy"
c.Search = "covid"
Run
twint.run.Search(c)
Error as follows...
RefreshTokenException                     Traceback (most recent call last)
 in
6
7 # Run
----> 8 twint.run.Search(c)
c:\users\mark padley\src\twint\twint\run.py in Search(config, callback)
408     config.Followers = False
409     config.Profile = False
--> 410     run(config, callback)
411     if config.Pandas_au:
412         storage.panda._autoget("tweet")
c:\users\mark padley\src\twint\twint\run.py in run(config, callback)
327         raise
328
--> 329     get_event_loop().run_until_complete(Twint(config).main(callback))
330
331
c:\users\mark padley\src\twint\twint\run.py in init(self, config)
34         # USAGE : to get a new guest token simply do self.token.refresh()
35         self.token = token.Token(config)
---> 36         self.token.refresh()
37         self.conn = db.Conn(config.Database)
38         self.d = datelock.Set(self.config.Until, self.config.Since)
c:\users\mark padley\src\twint\twint\token.py in refresh(self)
67         else:
68             self.config.Guest_token = None
---> 69             raise RefreshTokenException('Could not find the Guest token in HTML')
RefreshTokenException: Could not find the Guest token in HTML
Environment Details
Windows 10, Python 3.8.8, Jupyter notebook which was started within Ananconda.
I am guessing that the lack of the refresh token causes twitter to effectively eject me from the site. It is as though twitter gets to recognise my IP address after a while, but I am running anti-virus software which gives me a VPN! I have tried restarting Anaconda and restarting the computer to no avail. Please help as this excellent 'twint' package will really help my research.

Please use the proxy servers with rotating proxies so that twitter does not block your IPs. Twint does not support proxy usage. I have a workaround for this. Check it

Thanks Deepak - I have incorporated these changes into my installation inside the  twint directory and the token.py file using my text editor. This I then saved and ran my code again. Sadly I still am getting the same error! Is there something else I am missing?

I have had a look at the 'config' file and it includes the following concerning proxies...
Proxy_host: str = ""
Proxy_port: int = 0
Proxy_type: object = None
Do I need to make any changes here also?

Did you provide the proxy host, port and type in Config?

This is the example usage for it.
import twint
config = twint.Config()
config.Proxy_host = "<IP_ADDRESS>"
config.Proxy_port = "8761"
config.Proxy_type = "http"
config.Username = username
twint.run.Lookup(config)

Thank you Deepak for the ongoing assistance - I input the code exactly as above - received the following ...
NameError: name 'username' is not defined - could you spell out for me please exactly what I replace 'username' with?

I tried commenting out the last two lines as follows...
#config.Username = username
#twint.run.Lookup(config)
Success!! I seem to have access to tweets again - marvellous!

Further development - as soon as I select 'VPN on' I lose all access to twitter data? With VPN off no problem...?

Thank you Deepak for the ongoing assistance - I input the code exactly as above - received the following ...
NameError: name 'username' is not defined - could you spell out for me please exactly what I replace 'username' with?

That is the usage for user profile lookup. username is the twitter user handle.

Further development - as soon as I select 'VPN on' I lose all access to twitter data? With VPN off no problem...?

That is interesting. I have not looked at the issue with VPN yet. I will let you know if I find something.

Thanks Deepak - I am  using Norton VPN for your information - regards, Mark


Batched meshgrid or alternative

I am working with the meshgrid function, which works well for 1D arrays. However, extending it to higher-dimensional arrays is challenging, and I haven’t found suitable alternatives.
My use case involves the following shapes:
>>> x.shape  # Shape of the first input
(a1, a2, ..., p)
>>> y.shape  # Shape of the second input
(a1, a2, ..., q)
>>> jnp.meshgrid(x, y, axis=(-1, -1)).shape  # Desired functionality and output shape
(a1, a2, ..., p, q)

I currently use vmap over the batched axes, but this approach seems insufficient when batching spans multiple axes.
Is there an alternative or more efficient way to achieve this functionality? If not, could this behaviour be considered a potential feature enhancement for meshgrid?
Related discussions

Batched meshgrid?
Compute cartesian product for batched tensor
How to perform torch.meshgrid over multiple tensors in parallel?

Update

I currently use vmap over the batched axes, but this approach seems insufficient when batching spans multiple axes.

I reshaped the arrays to avoid multiple nested vmaps. My workaround code is,
from functools import partial
from typing import List

import jax
import jax.numpy as jnp
from jax.typing import ArrayLike

def batched_meshgrid(
    *xi: ArrayLike, copy: bool = True, sparse: bool = False, indexing: str = "xy"
) -> List[jax.Array]:
    args = [jnp.asarray(x) for x in xi]
    shapes = [jnp.shape(x) for x in args]
    batch_shape = shapes[0][:-1]
    if batch_shape == ():
        return jnp.meshgrid(*xi, copy=copy, sparse=sparse, indexing=indexing)
    if not all(shape[:-1] == batch_shape for shape in shapes):
        raise ValueError(
            "batched_meshgrid expects all input arrays to have the "
            "same shape except for the last dimension."
        )
    last_dims = [shape[-1] for shape in shapes]
    if indexing == "xy" and len(args) >= 2:
        last_dims[0], last_dims[1] = last_dims[1], last_dims[0]
    nargs = len(args)
    shape_size = jnp.prod(jnp.asarray(batch_shape))
    args = [jnp.reshape(x, (shape_size, -1)) for x in args]
    output = jax.vmap(
        partial(jnp.meshgrid, copy=copy, sparse=sparse, indexing=indexing),
        in_axes=tuple(0 for _ in range(nargs)),
        out_axes=0,
    )(*args)
    batch_shape = list(batch_shape)
    return [jnp.reshape(x, batch_shape + last_dims) for x in output]

## Testing code

batch_shape = (99, 12)
x_batched = jnp.linspace(
    jnp.full(batch_shape, fill_value=5.0),
    jnp.full(batch_shape, fill_value=80.0),
    2,
    axis=-1,
)
y_batched = jnp.linspace(jnp.zeros(batch_shape), jnp.ones(batch_shape), 3, axis=-1)

print(x_batched.shape, y_batched.shape)

yy = batched_meshgrid(x_batched, y_batched, indexing="ij")
print([y.shape for y in yy])

(99, 12, 2) (99, 12, 3)
[(99, 12, 2, 3), (99, 12, 2, 3)]

This looks like a job for jnp.vectorize, though unfortunately vectorize is only designed to work for functions with one output. You can work around this by vectorizing each output separately; for example:
def batched_meshgrid(x, y, *, indexing='xy'):
  signature = "(n),(m)->(m,n)" if indexing == 'xy' else "(n),(m)->(n,m)"
  f1 = jnp.vectorize(lambda x, y: jnp.meshgrid(x, y, indexing=indexing)[0], signature=signature)
  f2 = jnp.vectorize(lambda x, y: jnp.meshgrid(x, y, indexing=indexing)[1], signature=signature)
  return f1(x, y), f2(x, y)

Plugging your test cases into this gives the same output as with your approach. You could probably modify this approach to be more general if you wish.


Add option to hide Notifications nav label

Add the option to hide Notification nav label per feature request #552

@insin can we merge this quickly?


Documentation: OSM links outdated

The links in the README regarding OSM are outdated. You might want to use these instead:

Geocoding parameters: http://nominatim.org/release-docs/latest/api/Search/
Reverse-geocoding parameters: http://nominatim.org/release-docs/latest/api/Reverse/
Usage policy: https://operations.osmfoundation.org/policies/nominatim/
Local installation: http://nominatim.org/release-docs/latest/admin/Installation/

Thanks I am going to update 👍


CAMEL-15358: avoid an IndexOutOfBoundsException if there are no shards

Proposed fix for CAMEL-15358
[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

Can you open a PR for 3.4.x too?

Can you open a PR for 3.4.x too?

Absolutely :)


[MJX] mjx.get_data error introduced in v3.2.5

Intro
Hi!
I am a phd student at Ghent University, I use MuJoCo for my research on bio-inspired robots.
My setup
MJX v3.2.5
What's happening? What did you expect?
mjx.get_data throws the following error
TypeError: mju_dense2sparse(): incompatible function arguments. The following argument types are supported:
    1. (res: numpy.ndarray[numpy.float64[m, 1], flags.writeable], mat: numpy.ndarray[numpy.float64[m, n], flags.c_contiguous], rownnz: numpy.ndarray[numpy.int32[m, 1], flags.writeable], rowadr: numpy.ndarray[numpy.int32[m, 1], flags.writeable], colind: numpy.ndarray[numpy.int32[m, 1], flags.writeable]) -> int

Invoked with: array([0.]), array([[0.]], dtype=float32), array([0]), array([0]), array([0])

Bug probably introduced in a51f346.
Steps for reproduction

Load the model below.
Run the code below.

Minimal model for reproduction
If you encountered the issue in a complex model, please simplify it as much as possible (while still reproducing the issue).

minimal XML

<mujoco>
  <compiler autolimits="true"/>
  <worldbody>
    <body name="box">
      <joint name="slide1" type="slide" axis="1 0 0" />
      <geom type="box" size=".05 .05 .05" mass="1"/>
    </body>
  </worldbody>
  <actuator>
    <motor joint="slide1"/>
  </actuator>
</mujoco>

Code required for reproduction
import mujoco
from mujoco import mjx

m = mujoco.MjModel.from_xml_string(xml)
d = mujoco.MjData(m)
dx = mjx.put_data(m, d)

mjx.get_data(m, dx)

Confirmations

[X] I searched the latest documentation thoroughly before posting.
[X] I searched previous Issues and Discussions, I am certain this has not been raised before.

I apologize to comment on a closed thread, but how does f9569cd actually resolve the mismatch between the mat type (float64) and input type (array([[0.]], dtype=float32)) in the given bug report)?

@asuzukii there was an issue with the int32 inputs, not the float inputs.  Please open a bug if you're seeing one!


[GTM] Implement GTM

@asthabh23 Please confirm scope of GTM

@sselvara @mkbansal1
we will consider implementing GTM as we do on other Franklin sites in delayed.js
Reference: https://github.com/hlxsites/moleculardevices/blob/07cc10903ffd3f87530a81a46367a4e9ab94e1e0/scripts/delayed.js#L67

@mkbansal1 @sselvara  I have asked the customer for the specs around GTM implementation to consider the key KPIs, response awaited.
Meanwhile we would consider integration as here: https://github.com/hlxsites/moleculardevices/blob/07cc10903ffd3f87530a81a46367a4e9ab94e1e0/scripts/delayed.js#L67
to begin with.

@asthabh23 Live site is using key "GTM-NX6JQZG" for GTM, if we use it, we will start pushing tracking to live GTM.
Is it ok for client has any Test key for development purpose ?

Customer response awaited on this, adding on-hold label

@sselvara @mkbansal1
We have a response from customer on this, they are ok to have us use prod gtm-id for integration/testing, let's discuss further on this in our call today


Missing something for stage

What needs to be documented?
the shaders.hx should be added to add wavy bg or, if its not added, i think its not gonna work

smh


use default theme class (light / dark)

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Needs QA check

@kodadot/qa-guild please review

page's light and dark modes should function as usual without any issues.
Context

[x] Closes #9282
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[ ] My fix has changed UI

Thanks!
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 6.8 USD/DOT ~ 4.412 $DOT
🧗 1CAv6Zq3yVxL3eKhC94GWTWVwp1w4jZbqeZ6wXx1rPAhrce
🔗 0xcefa86594e5406ddaf43463797d0c226dec6c69895eb66f1429961651fe40469
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Update README to state that the ConfigMap is required.

When deploying the node-problem-detector daemonset, the associated configmap is needed. The README is currently misleading. This PR updates the README.
Fixes: https://github.com/kubernetes/node-problem-detector/issues/258

/assign @andyxning
/assign @Random-Liu

/lgtm
/approve


Not working in blade file type

Template
Please write your blade template that occurs issues.
Context (Environment)

write your environment

Description

Any other informations

Closed by #372


Redesign units & scale options for visualizations

Instead of offering a generic suffix and prefix option we can include a units dropdown with (initially) some standard options. This way we can remove the K/M/G option and offer something more intuitive

I tend to get data out of InfluxDB just to plot various series in a standarized scale, perhaps a function or a switch that instead of scaling new query windows with the same scale, allows you to simply overlay one after the other. This could be equivalent or a time saver for having to normalize (MinMaxScaler) regreesor to all your series.

@canimus Are you plotting multiple series with different units with same scale? Or are you normalizing each series so that they have the same units first?
If it's the former, do you care if the y axis displays units at all? Would you want multiple y axes, each with its own units?


Can't access environment variable in app files- returns undefined

Describe the bug
I have created a .env file in the root directory with the variable "VITE_ETHERS" :
VITE_ETHERS = {
    targetChainId: 'id',
    targetChainName: 'chainname',
  }

these are the entire content of the file.
console.log( import.meta.env.VITE_ETHERS.targetChainName) returns undefined.
I am not trying to access this variable outside my app source code, so I don't think I need to use loadEnv() in vite.config.js
Reproduction
https://stackblitz.com/edit/vitejs-vite-fqjcrb?file=main.js
System Info
System:
    OS: macOS 11.6.8
    CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
    Memory: 32.04 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 18.2.0 - ~/.nvm/versions/node/v18.2.0/bin/node
    Yarn: 1.22.18 - /usr/local/bin/yarn
    npm: 8.9.0 - ~/.nvm/versions/node/v18.2.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 105.0.5195.125
    Safari: 14.1.2
  npmPackages:
    @vitejs/plugin-react: ^2.1.0 => 2.1.0
    vite: ^3.1.0 => 3.1.3

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

VIte's .env does not support multiline values (#10149).
So import.meta.env.VITE_ETHERS has {. Also even if it is supported env variables are string and JSON.parse will be needed.


Utility to decompose a hermitian matrix into a linear combination of Pauli operators

What should we add?
A utility to decompose a Hermitian matrix A into a linear combination of Pauli operators [I, X, Y, Z] is required for several algorithms (VQLS for example).
Expected behaviour

A = np.array([[ 1.5 , -0.25,  0.  ,  0.  ],
       [-0.25,  1.5 , -0.25,  0.  ],
       [ 0.  , -0.25,  1.5 , -0.25],
       [ 0.  ,  0.  , -0.25,  1.5 ]])

coeffs, obs_list = decompose_matrix(A)
coeffs

[1.5, -0.25, -0.125, -0.125]

obs_list

[[PauliOp(Pauli('I'), coeff=1.0), PauliOp(Pauli('I'), coeff=1.0)],
 [PauliOp(Pauli('I'), coeff=1.0), PauliOp(Pauli('X'), coeff=1.0)],
 [PauliOp(Pauli('X'), coeff=1.0), PauliOp(Pauli('X'), coeff=1.0)],
 [PauliOp(Pauli('Y'), coeff=1.0), PauliOp(Pauli('Y'), coeff=1.0)]]

P.S. If I have the working function, can I submit a pull-request to qiskit-terra.qiskit.utils?

You're quite welcome to submit a PR, thanks.  The most natural place for this (for me) feels like as a classmethod constructor of SparsePauliOp, rather than a separate utility function - SparsePauliOp can represent this efficiently as a single object, and then its coeffs and list attributes would give you direct access to the two variables you're returning here.

That feature already exists in the SparsePauliOp:
>> from qiskit.quantum_info import SparsePauliOp
>>> pauli_op = SparsePauliOp.from_operator(A)  # A is your matrix from above
>>> pauli_op
SparsePauliOp(['II', 'IX', 'XX', 'YY'],
              coeffs=[ 1.5  +0.j, -0.25 +0.j, -0.125+0.j, -0.125+0.j])
>>>

That's what I get for not checking if it actually exists!  But glad to see that the existing API is the same one I suggested.  I'll close this as "fixed" now, then.


Fix HostVirtual list_locations

Fix list_locations in HostVirtual driver
Description
Output of '/cloud/locations/' API call isn't an array, but a key-value object. This simple fix correct the for loop of that endpoint result.
Status
ready for review

thanks @t-tran for the contribution, please check the test output
======================================================================
ERROR: test_create_node_in_location (libcloud.test.compute.test_hostvirtual.HostVirtualTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/apache/libcloud/libcloud/test/compute/test_hostvirtual.py", line 142, in test_create_node_in_location
    location = self.driver.list_locations()[1]
  File "/home/travis/build/apache/libcloud/libcloud/compute/drivers/hostvirtual.py", line 89, in list_locations
    dc = result[k]
TypeError: list indices must be integers, not dict

Coverage increased (+0.003%) to 87.717% when pulling 4f7d5f9cbf4524618da112be4639588dabe789e2 on t-tran:trunk into 4de84f6baa18562a722e973227260b3beaa4665f on apache:trunk.

@tonybaloney Thank you. I have fixed the PR so it's passing tests.

:+1: thanks


Flutter App Crashed on Compiled Engine

command
flutter run --local-engine-src-path=/Users/yinjie/Documents/flutter/engine/src --local-engine=ios_debug_unopt
exception
ArgumentError: Invalid argument(s): Cannot find executable for /Users/yinjie/Documents/flutter/engine/src/out/host_debug_unopt/dart-sdk/bin/dart.
#0      _getExecutable (package:process/src/interface/local_process_manager.dart:113)
#1      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:41)
#2      ResidentCompiler._compile (package:flutter_tools/src/compile.dart:278)
<asynchronous suspension>
#3      ResidentCompiler.recompile (package:flutter_tools/src/compile.dart:231)
<asynchronous suspension>
#4      DevFS.update (package:flutter_tools/src/devfs.dart:508)
<asynchronous suspension>
#5      FlutterDevice.updateDevFS (package:flutter_tools/src/resident_runner.dart:391)
<asynchronous suspension>
#6      HotRunner._updateDevFS (package:flutter_tools/src/run_hot.dart:294)
<asynchronous suspension>
#7      HotRunner.attach (package:flutter_tools/src/run_hot.dart:160)
<asynchronous suspension>
#8      HotRunner.run (package:flutter_tools/src/run_hot.dart:246)
<asynchronous suspension>
#9      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:395)
<asynchronous suspension>
#10     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:279)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#13     _rootRun (dart:async/zone.dart:1126)
#14     _CustomZone.run (dart:async/zone.dart:1023)
#15     _runZoned (dart:async/zone.dart:1518)
#16     runZoned (dart:async/zone.dart:1465)
#17     AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#18     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#19     CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#20     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:322)
<asynchronous suspension>
#21     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#22     _rootRun (dart:async/zone.dart:1126)
#23     _CustomZone.run (dart:async/zone.dart:1023)
#24     _runZoned (dart:async/zone.dart:1518)
#25     runZoned (dart:async/zone.dart:1465)
#26     AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:278)
<asynchronous suspension>
#28     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#29     new Future.sync (dart:async/future.dart:222)
#30     CommandRunner.run (package:args/command_runner.dart:109)
#31     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:187)
#32     run.<anonymous closure> (package:flutter_tools/runner.dart:59)
<asynchronous suspension>
#33     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#34     _rootRun (dart:async/zone.dart:1126)
#35     _CustomZone.run (dart:async/zone.dart:1023)
#36     _runZoned (dart:async/zone.dart:1518)
#37     runZoned (dart:async/zone.dart:1465)
#38     AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#39     runInContext (package:flutter_tools/src/context_runner.dart:43)
<asynchronous suspension>
#40     run (package:flutter_tools/runner.dart:50)
#41     main (package:flutter_tools/executable.dart:49)
<asynchronous suspension>
#42     main (file:///Users/yinjie/Documents/github/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#43     _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#44     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

flutter doctor
[✓] Flutter (Channel master, v0.5.5, on Mac OS X 10.14 18A391, locale zh-Hans-CN)
    • Flutter version 0.5.5 at /Users/yinjie/Documents/github/flutter
    • Framework revision 020e0ef55c (4 months ago), 2018-06-14 13:17:08 -0700
    • Engine revision c3976b3c71
    • Dart version 2.0.0-dev.61.0.flutter-c95617b19c

[!] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at /Users/yinjie/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    ✗ Android license status unknown.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 28.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[!] VS Code (version 1.28.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected devices (1 available)
    • iPhone • 231589f8374d18fd876a2490445de8c740ea5a36 • ios • iOS 12.0.1

! Doctor found issues in 2 categories.

PS. I have compiled sim && device engine. It seems worked well on simulator, but crashed when I used engine compiled for device. don't know why : )

sorry, I forget to complie host_debug_unopt, it seems to cause this.

You also need to build a matching host configuration (see the error message: it complains that is can't find an artifact from host_debug_unopt)

sorry, I forget to complie host_debug_unopt, it seems to cause this.

Could you share how to complie host_debug_unopt？
I have the same problem.

command
flutter run --local-engine-src-path /Users/didi/workspace/flutter/engine/src --local-engine=ios_debug_sim_unopt -v
exception
ArgumentError: Invalid argument(s): Cannot find executable for /Users/didi/workspace/flutter/engine/src/out/host_debug_unopt/dart-sdk/bin/dart.
#0      _getExecutable (package:process/src/interface/local_process_manager.dart:127:5)
#1      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:43:30)
#2      DefaultResidentCompiler._compile (package:flutter_tools/src/compile.dart:760:44)
#3      DefaultResidentCompiler._recompile (package:flutter_tools/src/compile.dart:658:14)
#4      _RecompileRequest._run (package:flutter_tools/src/compile.dart:408:16)
#5      _CompilationRequest.run (package:flutter_tools/src/compile.dart:388:30)
#6      DefaultResidentCompiler._handleCompilationRequest (package:flutter_tools/src/compile.dart:693:23)
#7      _rootRunUnary (dart:async/zone.dart:1192:38)
#8      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#9      _CustomZone.runUnaryGuarded (dart:async/zone.dart:987:7)
#10     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#11     _DelayedData.perform (dart:async/stream_impl.dart:594:14)
#12     _StreamImplEvents.handleNext (dart:async/stream_impl.dart:710:11)
#13     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:670:7)
#14     _rootRun (dart:async/zone.dart:1180:38)
#15     _CustomZone.run (dart:async/zone.dart:1077:19)
#16     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#17     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#18     _rootRun (dart:async/zone.dart:1184:13)
#19     _CustomZone.run (dart:async/zone.dart:1077:19)
#20     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#21     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#22     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#23     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#24     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#25     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

flutter doctor
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.6 19G73, locale zh-Hans-CN)
    • Flutter version 1.17.3 at /Users/didi/workspace/env/flutter
    • Framework revision b041144f83 (3 months ago), 2020-06-04 09:26:11 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/didi/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.14.1

[✓] Connected device (1 available)
    • iPhone 11 Pro Max • 0A519B3C-DF89-4640-B6EB-C144ED060640 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)

• No issues found!


login page updated

Description
A clear and concise description of what the PR does.

This PR does the following:

Adds ...
Fixes ...
Updates ...

Related Issues
Link any related issues using the format Fixes #issue_number.
This helps to automatically close related issues when the PR is merged.

Placeholder: "Fixes #123"

Changes
List the detailed changes made in this PR.

Added a new feature to ...
Refactored the ...
Fixed a bug in ...

Testing Instructions
Detailed instructions on how to test the changes. Include any setup needed and specific test cases.

Pull this branch.
Run npm install to install dependencies.
Run npm test to execute the test suite.
Verify that ...

Screenshots (if applicable)
Add any screenshots that help explain or visualize the changes.
Additional Context
Any additional context or information that reviewers should be aware of.

This PR is based on the following...

Checklist
Make sure to check off all the items before submitting. Mark with [x] if done.

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] I am working on this issue under GSSOC

hey @Satyam1923  whats the problem not  able to get it but I have done necessary changes and create pull request

any updates? @Satyam1923

hey @Satyam1923 any problem in merging pr ? if i can help you can ask

@siddhant-2002 could you tell issue number


Auto-completing comments

Would be a useful feature if there was an auto complete for the comment text box similar to the web interface since comments can be the same or mostly similar often. Something like this:

What if we provide a very simple approach which @isuru88 suggested sometime back, to preserver the last comment after the save?


Fix bug with RegistryEditor not working in Release build

This pull requests contains a fix to the RegistryEditor not working in Release (issue:#425, #426), and also a fix to a delete bug for registry keys. Besides this some refactoring of the code has been made to make it more readable.
Changes made:

Added Registry namespace as an exception in Renamer.cs (Prevent obfuscation).
Removed BackgroundWorker from RegistryEditor
Added threading to RegistryHandler
Changed RegSeekerMatch.cs to use Arrays for RegValueData instead of a List
Activate exceptions for registry key delete operation to correctly signals when a key cannot be deleted

Edit:

Fixed issue with RegistryEditor not working probably on 64-bit systems
Corrected the title of the form to display as "RegistryEditor - user@pc [IP:PORT]"
Corrected the size of the form to 800x600

Fixed bug with RegistryEditor not working properly in 64-bit systems.

Okay, looking good so far. But can u revert the change with the new Thread(..) when a registry command is received?

Sure, just out of interest what is it that makes threading in this part of the code so bad? Have you found some part where it is not thread safe? Or is it to expensive (resource allocation wise) to create a new thread to handle the registry commands? :smile:

@StingRaptor It's just not needed imho. The tasks don't take that long to execute.

There. I have now removed the Threading from RegistryHandler on the client-side. However, I still feel that threading should still have been used on at least HandleGetRegistryKey because of the fact that large registrys require almost more than 1 second to finish.

@StingRaptor Thanks, I'll merge the pull request tomorrow. :+1:


Create a git repository or a folder to store documentation

Is your feature request related to a problem? Please describe.
We should have a place (inside the project on github?) to store documentation including javadoc and .proto files.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

After reflexion, the image should live either in an other repository or the MobilityData Google Drive, and links can be generated through GitHub issues.

We need documentation regarding two aspects

the GTFS issues/rules the validator is checking the dataset against. See for reference: https://meet.google.com/linkredirect?authuser=0&dest=https%3A%2F%2Fgithub.com%2FCUTR-at-USF%2Fgtfs-realtime-validator%2Fblob%2Fmaster%2FRULES.md
Use a Google drive drawing type document to have an architecture diagram of our modules, maybe down to some specific important classes as well. @maximearmstrong

Closing - documentation exists in https://github.com/MobilityData/gtfs-validator/tree/master/docs

Closing - documentation exists in https://github.com/MobilityData/gtfs-validator/tree/master/docs


Update CF Networking tests to run with CF CLI v7

This PR updated the CF Networking tests to run with v7 of the CF CLI, which has a backwards-incompatible change in the add-network-policy and remove-network-policy commands. Unfortunately, this breaks compatibility with v6 of the CLI.
I also added a printout of the CF CLI version when the tests are run to aid with future debugging of similar issues.

thanks again @davewalter ! Merged :)


Better structure for countries with multiple gov't levels

The feature
The government regions of Baden-Württemberg should be a clearly visible subcategory of the German state Baden-Württemberg. The currently listed Regierungsbezirke should be a subcategory of the state of Hessen respectively the state of Bavaria. A similar structure could apply to other.
Why?
E.g. in Germany there are three levels (federal level, state level, municipal level). So it could be useful to make the more influential federal level more visible than the lower levels.
Examples and inspiration
So also https://commons.wikimedia.org/wiki/File:Administrative_divisions_of_Germany.png or https://de.wikipedia.org/wiki/Datei:Administrative_divisions_of_Germany.svg

Thanks for creating the issue! We did talk about this a bit in our collab hour two weeks ago. Other similar countries would be USA, Russia and India and probably a bunch more.
We don't yet have a clear idea of how to do this best on the website. Should it be better filtering options, tabs on the country page or subpages another level down below country level?
So while we recognize the need for this, we need to work a bit on the solution.

Maybe using functions like expand/collapse could be a good website design idea? https://accessibility.huit.harvard.edu/technique-expandable-sections

Yes, that is also a possibility. But I think we need to make a few sketches or experiments here to see how it really plays out. It would also be easier to experiment with if we had more data in Wikidata where this was modeled well. That might be the first task to get done.

Here is a very rough test. It inserts a new heading with details / summary under the header, but before the agencies. When clicked on, it reveals a list similar to the one on the countries page. And then each entity on a lower level get their own page as a subpage under the country, in this case for example russia/adygea/. Would that work? The tricky part is perhaps to name the unfoldable header right. I am not sure if we can get it easily from Wikidata, and if we use too generic a name, people might not understand it since they would expect something specific.

Heads up! We will start doing some testing by moving Scottish agencies from the current United Kingdom page into a subpage.

Are there any updates? Because that's what I'm waiting for. So that I can add the rest of Belgium.

Are there any updates? Because that's what I'm waiting for. So that I can add the rest of Belgium.

I'm still experimenting I'm afraid(about to publish a work in progress branch/merge request), a big drawback for no is that it increases the complexity of "add a country" quite a lot.


Added the 'spo file remove' command solving #287

Coverage remained the same at 100.0% when pulling a25d4fd7bd84a81e1ffb74d4e8a712587e61a117 on RARomano:remove_file into 39ab7c5a3edef4f5fd45accd1213e05d5d491f7a on SharePoint:dev.

Excellent! Thank you and I will have a look at it shortly.

@RARomano there is a bug in the command: when you specify a server-relative URL of the document, such as /sites/team-a/docs/mydoc.docx, the command prepends the URL with the server-relative URL of the site what results in /sites/team-a/sites/team-a/docs/mydoc.docx and lead to an error. Could you please fix this bug? You can push another commit to this PR. Appreciate your help.

Sure, will do. I ran into that when I was testing and thought I had fixed that already. My mistake. Will do right away.

@waldekmastykarz just sent a new commit with the required fix and also added some test cases to cover the scenario.

Awesome! Thank you for such a quick turnaround @RARomano 👏


Question: Is it possible to use UAA with desktop applications?

Is it possible to use UAA with desktop applications?

Hi @pratapagiri Do you have more information on this use-case? Do you anticipate running the UAA locally? Or setting up a desktop application as an OAuth client of the UAA?

@joshuatcasey  We are planning to use desktop application as an OAuth client of the UAA.

Hi there. There are many ways to answer this question, it's highly dependent on the specifics of your use case. I'd recommend learning about the different grant types in OAuth (authorization code, implicit, and password) and then figuring out from there how to integrate that functionality into your app.
https://www.oauth.com/ is a good resource for learning more about oauth.


Instructions to provide custom servlets?

Do you think you could have some documentation / a section on other plugins providing servlets?

This has been added in release 4.7.0 and can be found here

Thanks!

I will close this issue for now, if you need further info/documentation don't hesitate to contact me here or on the sponge forums!


Feature: replace div with a tag

Replace div tag with a tag on the tree item. If it is directory, prevent
the default action of a tag.
Because of using anchor tags, users can open the file in a new tab by
context menu or clicking the middle button on mouses.

Hey @LinYunWen !
This use case can be incorporated in the extension and will be useful to users. I'll review your pull request and let you know if any changes are required.
Thanks for the contribution!

Hi Andy could you please merge that one? Seems like a neat functionaly. However, this most likely conflicts with my pull request a tiny bit.

Hey @liechtir , thanks for bumping this up. I'll definitely look into it.


[prql-js][prql-python] The default target?

Related to PRQL/prql-vscode#98
Currently the default target is Generic, but a default of None may be better to make the target in header available.
https://github.com/PRQL/prql/blob/7c42e5c64b92e9e43b0be82000135663552f0972/prql-js/src/lib.rs#L106
https://github.com/PRQL/prql/blob/7c42e5c64b92e9e43b0be82000135663552f0972/prql-python/src/lib.rs#L98
(Only None falls back to the header. if there is nothing in the header after falling back from None to the header, it falls back to Gneric.)

And ref https://github.com/PRQL/prql/issues/1686

Closed by #1856 and #1861


Time series widget overly exact about ranges

Context
I have data for 12 years. When I draw a range on the time-series, it tells me the start/end times to the second.

Expected result
One of the configurations on the time series widget should be the granularity of display for the times. (In my case, a granularity of a day would be fine, or maybe even a month)

Asbolutely, the open issue - that of course I cannot find now - was asking to do that granularity guess automatically based on the range of the data, but having a parameter sounds good.

Blocked until design is ready (and if it is done, mockup is done).

Here the visuals™

Aggregation to be done in https://github.com/CartoDB/cartodb/issues/12088

Already deployed! 💃


[bug]: Error creating local 4.1 cluster under Windows WSL2 and Ubuntu

Do I have the most recent version of AxonOps Workbench installed?

[X] I am using the most recent beta release

AxonOps Workbench Version
v1.0.0-beta7
Is there an existing issue for this?

[X] I have searched the existing issues

Operating System
Linux
Operating System Version
Ubuntu Linux <IP_ADDRESS>-microsoft-standard-WSL2
Apache Cassandra Version(s)
4.1
Bug Description

When starting up a new cluster I get the error message shown in the image.
Steps to Reproduce
Just starting up a new local cluster
Expected Behavior
I would expect the cluster to be created
Actual Behavior
Error message as shown
Severity
High
Further Information
No response

Windows 10 Enterprise version 22H2

@mhmdkrmabd @paulchandler we are having problems replicating this issue, but we have decided to prioritise #501 which should allow users to run local clusters under podman which should resolve licensing issues around docker on Windows. We will look at this later as we do want to support running on WSL2 under Windows 10+


Should the histogram code automatically correct the PMF for unequal bins?

If there are nonequal width bins, then larger bins have more probability and thus a lower free energy.  Example; if there are 100 samples, and 50 of them are uniformly between 0 and 90, and 50 are between 90 and 100, and there are two bins, they will have equal free energy, but the PMF should be lower in the 90-100, bin, since it has 10x the density of points.
If one subtracts -ln(bin_width) from each bin, the resulting free energies are a better match.
Right now, we expect people to do it themselves.  But perhaps we should do it automatically.

Maybe an optional keyword? Something like correct_unequal_bins=True?


[Doc] Optimize SEO Strategy | Improve Search Visibility of Pulsar Documentation

Search before asking

[X] I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?
In recent years, the Apache Pulsar community has experienced rapid development, with fast version iterations and rich documentation content, bringing many pleasant experiences to users. Nowadays, an increasing number of users are searching for Pulsar content online, and the search visibility of official documentation has become increasingly important (higher organic search rankings can enhance the project's visibility and competitiveness). Therefore, I would like to enhance the search visibility of Pulsar documentation by optimizing the SEO (Search Engine Optimization) strategy.
What is your suggestion?
Considering that Pulsar users primarily visit the /docs page, our first priority will be optimizing documents in version 3.0.x, which can be partially reused in version 2.11.x and 2.10.x.
Here are some basic steps:

Check the Structure of Document: ensure correct usage of H1, H2s, H3s.

Add Metadata: add title and description metadata to the documentation.
In Markdown, we can add Front Matter in the beginning of the doc:
title: title of the article (under 60 characters)
description: brief description of the article (under 158 characters)

Metadata is shown in SERP (Search Engine Results Pages) to attract users and encourage them to click through. A few more dos and don’ts for writing meta titles and descriptions:

Create unique pairs for each page. Don’t duplicate.
Don’t use alphanumeric characters as these may not be displayed properly.
Add relevant keywords — one in the title and one in meta description — but don’t overdo.
Provide a title and description relevant to the page content.

Add Alt Labels: enhance the comprehensibility of images by providing alt labels that describe their content.
We can add alt label for images in Markdown file:
![alt label](image_url)

I think we can divide the tasks according to chapters:

[ ] About
[ ] Get Started
[ ] Concepts and Architecture
[ ] Pulsar Schema
[ ] Pulsar Functions
[ ] Pulsar IO
[ ] Pulsar SQL
[ ] Tiered Storage
[ ] Transactions
[ ] Deployment
[ ] Administration
[ ] Observability
[ ] Security
[ ] Performance
[ ] Client Libraries
[ ] Admin API
[ ] Adaptors
[ ] Tutorials
[ ] Development
[ ] Reference

Any reference?
https://developers.google.com/search/docs
https://webflow.com/blog/webflow-seo-tips
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

cc @Anonymitaet

Hi @zuobiao-zhou
As stated in project info | Optimizing the findability of Pulsar documentation with SEO strategies, can you prioritize the 1st and 2nd tasks as below (especially for the 2nd, it needs more time to implement and take effects than other tasks)?

Provide recommendations and make changes accordingly: perform an audit (criteria + verifications) of the Pulsar documentation and provide recommendations (issues + priorities) for improvement that supports the Pulsar user journey.

Earn featured snippets to set Pulsar documentation “position zero” on Google search results.

References:

Tagging metadata for Pulsar docs for SEO
Tasks | Optimizing Pulsar SEO


Ct12 upgrade run always turns black hole gain into 0.1g/s in beta

The funny thing is if I just get one BH condenser it immediately becomes 118k OoMs
Played on beta 3.1
Are there any ways of fixing this with console code?

clarification, happened before evo 1, only have one infinity theorem


Add test case for send_notifications on VersionLockedError

To avoid #4839 to happen again, it would be good to have some good test cases to check that we are not sending any kind of notification when the version is locked.

@humitos
I want to take this issue.
Can you please guide me on where to add tests and if there are some similar tests so that I can learn from them on how to solve this issue.


Added some caching for CveDB in order to speedup some scans

Fixes Issue
Some items (e.g., Linux kernel) have many CVE entries, which takes much time to load it. When such CPE is matched for multiple dependencies, the scan takes much time and can easily hit the 10 minutes limit.
Description of Change
Result of getVulnerabilities(String cpeStr) is cached under a soft reference. Other parts of CveDB are prepared for caching.
Have test cases been added to cover the new functionality?
no
There is no new functionality, it is just enhancement of the old functionality. I've thought about tests, but it should just improve performance and I am not sure if it is appropriate to test it in unit/integration tests.

Can one of the admins verify this patch?

Thanks for the PR!


replace LOG_TRACE with LOG_FMT_TRACE.

Signed-off-by: ywqzzy<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: ref #4346
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: JaySon-Huang:x: Lloyd-Pottiger:x: ywqzzyYou have signed the CLA already but the status is still pending? Let us recheck it.


Factory Repeat Build Hotkey Doesn't Work

I use a lot of hotkeys while playing faf, but I recently noticed that my hotkey for factory repeat build (currently bound to the Z key) no longer works. All my other hotkeys work fine, but no matter what key I bind for factory repeat build it doesn't work. I've reinstalled both Supreme Commander and the FAF client so I really have no idea what's causing this. FYI, I am on the latest version of the faf client (v1.2.0).
On a separate note, I tried replicating this issue by playing the vanilla game on steam but I found that it is completely broken now. Whenever I start a skirmish, the map loads but then the game just freezes and my com never spawns.

Definetely the wrong Repository the client has nothing to do with this...

Also provide logs

https://github.com/FAForever/fa


layout doesn t stop

I have the following fragment of code where I try to stop a running layout:
        var options = {
          name: 'cose-bilkent',
           // Called on `layoutready`
          ready: function () {
              console.log("LAYOUT READY");
          },
          // Called on `layoutstop`
          stop: function () {
              console.log("LAYOUT STOP");
          },
               fit:true,padding:20,randomize:false,nodeRepulsion:40500,idealEdgeLength:70,edgeElasticity:0.45,nestingFactor:0.9,gravity:0.9,numIter:1000,tile:true,us eMultitasking:true,animate:false
        }

        var layout = cy.makeLayout(options);

        layout.run();
        console.log("DONE");

        setTimeout(function() {
            console.log("LAYOUT_FORCED_STOP");
            layout.stop();
        }, 5000);

However it seems the layout doesn't stop after 5 seconds:
DONE
Thread log: start thread
LAYOUT_FORCED_STOP
Classic CoSE layout finished after 1000 iterations
Total execution time: 10597 miliseconds.
LAYOUT READY
LAYOUT STOP

@metincansiper Any idea why the layout would have this behaviour?

@maxkfranz I think that the problem was related to that we changed cose-bilkent to the threaded version, but I did not change "_CoSELayout.prototype.stop" function respectively. Now I have changed it by considering the thread. You can see the latest commit I have linked to this issue.
@misu200
New output I have obtained is the following one,
DONE
LAYOUT_FORCED_STOP
LAYOUT READY
LAYOUT STOP


Result class

Coverage increased (+0.96%) to 94.73% when pulling e84a4008477fb75faad6c1204f90b2413ecf95ad on result_class into a51b5184d22c4544f2645a6cc93ea74135c3b1c6 on master.