[Bug Report] Incorrect fast dispatch tunnelling test

Describe the bug
TestCommandReachesRemoteDevice performs a non-blocking write, after which the host uses UMD APIs to check that the device is in a certain state (checking L1 values). This is non-deterministic for one, and two, now with my events changes, the host expects that all issued commands have finished in the CQ destructor. This means we need the event to be written back to host, and add a Finish to ensure that happens before the CQ is destroyed.
For now, that test is skipped in main.
fyi: @davorchap

This test was more as a sanity check to see if commands ever make it to the remote device when the backward path was not brought up. It is meant to be deprecated with the full check fwd + bwd path check in

@abhullar-tt I see. If that is the case, you can still test locally by removing the skip and removing the assertions in the CQ destructor that there are no commands in flight.

This test has been deleted with the 1.3 refactor


Setting --define flags in FsiEvaluationSession.Create

In FAKE we try to do the following
    let fsiOptions= ["-d:FAKE"; "--define:REFERENCE"; "--define:RELEASE"]
    let options =
        [ "fsi.exe"; "--noninteractive" ] @ fsiOptions
        |> List.toArray

    let session = FsiEvaluationSession.Create(fsiConfig, options, stdin, outStream, errStream)
    session.EvalScript scriptPath

but the REFERENCE and RELEASE options are not set inside the script.
This seems to be the reason for bug in ProjectScaffold https://github.com/fsprojects/ProjectScaffold/issues/231
/cc @dsyme @tpetricek @ReedCopsey

sorry FCS works. It's in FAKE's caching!


Feature/chat/CLK32-992 : Update authentication service

Prerequisite

[x] Self-review :monocle_face:
[x] No Crashes ☠

Root cause

// Explain what you have done

Solution

// Explain how you fix it

Impact

// List of affected components/modules

Screenshots (Optional)

// Capture affected screens

          1 Warning

:warning:
Big PR

  Generated by :no_entry_sign: Danger


Increment line count even if line is ignored

If a line was configured to be skipped, the line count was not incremented, resulting in the wrong offending lines to be reported back to the user.

Codecov Report

Merging #6 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   72.72%   72.72%
=======================================
  Files           1        1
  Lines          55       55
=======================================
  Hits           40       40
  Misses         10       10
  Partials        5        5

Impacted Files
Coverage Δ

lll.go
72.72% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

The remaining build errors are related to Go 1.5. I haven't dug into the issues (not sure if it's worth it for such an old Go version), but here's the output:
$ go get -t -v ./...
github.com/alexflint/go-arg (download)
github.com/alexflint/go-scalar (download)
github.com/walle/lll
github.com/alexflint/go-scalar
github.com/alexflint/go-arg
github.com/walle/lll/vendor/github.com/alexflint/go-arg
# github.com/alexflint/go-arg
../../alexflint/go-arg/parse.go:157: field.Tag.Lookup undefined (type reflect.StructTag has no field or method Lookup)
The command "eval go get -t -v ./... " failed. Retrying, 2 of 3.
github.com/alexflint/go-arg
# github.com/alexflint/go-arg
../../alexflint/go-arg/parse.go:157: field.Tag.Lookup undefined (type reflect.StructTag has no field or method Lookup)
The command "eval go get -t -v ./... " failed. Retrying, 3 of 3.
github.com/alexflint/go-arg
# github.com/alexflint/go-arg
../../alexflint/go-arg/parse.go:157: field.Tag.Lookup undefined (type reflect.StructTag has no field or method Lookup)
The command "eval go get -t -v ./... " failed 3 times.

I'm sorry for taking this long to get to the PR, but it is finally in the
project as part of the v1.0.0 release.
Thank you for you contribution!


Review infra PRs for modifications

@manics pointed out that a number of discussions had been had regarding the prod playbooks. The ones I've found are:

[ ] https://github.com/openmicroscopy/infrastructure/pull/255
[ ] https://github.com/openmicroscopy/infrastructure/pull/268#issuecomment-301858051
[ ] https://github.com/openmicroscopy/infrastructure/pull/271
[ ] https://github.com/openmicroscopy/infrastructure/pull/273
[ ] https://github.com/openmicroscopy/infrastructure/pull/276

These should be reviewed for modifications. Positive outcomes would include:

trusting -C --diff on production hosts
trusting site.yml to run periodically
refactoring into idempotent tasks
reducing duplication between the playbooks here

Shall we close this since everything is in https://github.com/openmicroscopy/prod-playbooks/ ?

Did you look at those issues? Did a PR get opened for the various issues?

K, thanks.


Change Portfolio from an abstract class concrete

Related to #4, the initial reason for making Portfolio an abstract class was to allow users to define their own rules for both instrument_weights() and rebalance_dates(). If these are provided as parameters as discussed in #4, then concrete class implementations would no longer be necessary. To not sacrifice functionality a module with helper functions for generating rebalance dates as well and instrument weights in various forms could be provided.

This helper module could also subsume the calendar / holiday functionality. Making use of pandas_market_calendars from the context of a helper function is a much better design, since it simplifies dependencies given the limited functionality that pandas_market_calendars is relied of for (e.g. getting a list of holidays)

Closed by #6


Initramfs support with .wks (wic) images?

I've been working with attempting to get an initramfs image to work. I can get things to function with the sdimg class, but for the project I'm working on (and future projects) I'd prefer to use WIC.
I cannot seem to figure out how to make this work with WIC.
Any pointers?

There is nothing dramatically special with the sdimg approach. The only thing it does is to deploy the bundled kernel image as opposed to the normal one in the case of related initramfs configuration.
Probably all you need is to tweak  IMAGE_BOOT_FILES. MInd the output name of the deployed file - see https://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#var-IMAGE_BOOT_FILES


Use eigh from numpy for TwoQubitWeylDecomposition

Summary
The hermitian optimized eigen solver function in scipy has shown
to possibly produce varied results in different environments. For
example, the matrix returned by the eigh() call in the
TwoQubitWeylDecomposition class's __init__ method when called for
a CXGate:
TwoQubitWeylDecomposition(Operator(CXGate()))

was observed to be
[[ 0.70710678  0.         -0.70710678  0.        ]
 [ 0.         -0.70710678  0.          0.70710678]
 [ 0.          0.70710678  0.          0.70710678]
 [ 0.70710678  0.          0.70710678  0.        ]]

on one system/environment but
[[ 0.70710678  0.         -0.70710678  0.        ]
 [ 0.          0.70710678  0.          0.70710678]
 [ 0.         -0.70710678  0.          0.70710678]
 [ 0.70710678  0.          0.70710678  0.        ]]

on a different environment. This difference was resulting in
inconsistent decompositions being generated and made reproducing results
from the transpiler difficult. In testing the numpy equivalent
function [2] has proven to be more reliable across different
environments. This commit switches the eigh() usage in the
TwoQubitWeylDecomposition class to use the numpy function instead
this should fix the inconsistent decompositions we were seeing between
environments.
Details and comments
[1] https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.eigh.html
[2] https://numpy.org/doc/stable/reference/generated/numpy.linalg.eigh.html

I just remembered that we will need to bump the minimum version of numpy in the requirements list to 1.18.0 with this. The numpy eigh() function was added in 1.18.0

So they both use zheevd in general. So it seems hard to fathom that there is any difference between the two when using that driver. Scipy selects between multiple drivers, but it can also be manually set. Did you try setting the driver explicitly in the scipy version?

I didn't mostly because I assumed the driver selection would be deterministic and it would be using the same driver on both systems I was testing on (@ajavadia also had the same issue on two of his systems). I'll give setting a driver explicitly a try on Monday.
But at the end of the day if this solves the issue for us I don't see the harm in switching to use the numpy routine even if why it's happening is a bit of a mystery. My first thought after figuring out that eigh() was the source of the issue was a local BLAS+LAPACK version difference, but at least in my case the versions installed were from the same linux distro packages (at the same versions).

Actually looking theough the docs it is ev by default in scipy and evd in numpy. So driver='evd' in scipy should return the same in both modules

And yes not the end of the world, but then we wouldn't need to bump up a dependency for no reason.

Ok, tested locally on my 2 systems and using evd as the driver produces a consistent result. So I'll update this to just use that with the scipy method. That way we can avoid the requirements bump

Yes I can confirm this is consistent for me too. Also I found that we can revert much of the roundings introduced in https://github.com/Qiskit/qiskit-terra/pull/4862 and https://github.com/Qiskit/qiskit-terra/pull/4835.
(We still need the M2 rounding but that seems to be it)

@ajavadia do you want me to remove that rounding in this PR or do it in a followup?

follow up is fine, thanks

Well it turns out that the driver kwarg for scipy was only added in scipy 1.5.0:
https://docs.scipy.org/doc/scipy/reference/release.1.5.0.html#scipy-linalg-improvements
So we should have bumped the minimum version in this PR. But, it turns out chemistry in aqua doesn't work with scipy 1.5 because pyscf caps at <1.5. I opened to https://github.com/Qiskit/qiskit-terra/pull/5263 address this an unbreak aqua ci.


Search characters for trade

Is your feature request related to a problem? Please describe.
It's a new feature that could be nice and useful.
Describe the solution you'd like
The idea is a command | w.search character owner ID/Name or w.s c o ID/Name | that show you the names of the users who have the character in their list. It could be possible that we don't know every persons who got the character so to avoid useless disagreement, you could also add a public or private statue that anyone could set on with the command w.profile private/public. That way, you can only show the users who put their profile in public.

There's a verify function that does just that. it simply verifies if the person has got the ID of the waifu you want.

From what I understand, the idea would be to retrieve all the users who own the character, so you can look for anyone that owns a character to trade with

Maybe add a "Open to Trade" system, when users can tell if they're OK to discuss and trade.
That's a boolean to add to the users.

I'm more open for a bitmask, so we could add other flags, but that's a good suggestion.
What would you suggest for toggling the flag?
Have a config command?

I'm more open for a bitmask, so we could add other flags, but that's a good suggestion.
What would you suggest for toggling the flag?
Have a config command?

Yes, directly in the config.
Something like w.config accept_trades 0

I'm more open for a bitmask, so we could add other flags, but that's a good suggestion.
What would you suggest for toggling the flag?
Have a config command?

Yes, directly in the config.
Something like w.config accept_trades 0

As I said when I created the issue, I think that a public/private status on your profile that you can toggle with a command ( w.profile private/public ) could suit better to our situation. That way, we could display only the name of the ones who chose a public status.

Having a config flag would make us able to add more configuration to our profile, so I kind of favor this option.
It's also better if we want to one day move to slash commands

Tempted to just add full-text search + id search on the API, and not care about any public (or not) profile. If users don't want to be contacted, they can just do the usual and not respond to DMs or block others.
Unsure how to lay it out in the bot.
I really want full text search for this, which requires me to upgrade the backing database to cockroachdb v22.2, but I'm not currently in control of said version. I'll revisit this when I have FTS working

Tempted to just add full-text search + id search on the API, and not care about any public (or not) profile. If users don't want to be contacted, they can just do the usual and not respond to DMs or block others.
Unsure how to lay it out in the bot.
I really want full text search for this, which requires me to upgrade the backing database to cockroachdb v22.2, but I'm not currently in control of said version. I'll revisit this when I have FTS working

If this system is linked to what we thought about for the website, maybe just add a settings tab in which you let the user decide if he/she wants to get DMs or not.

I'm not sure having said system would be worth it.
I was considering it for privacy reason, but doing opt-in means most users will never actually open themselves up to trade, and I don't see a reason to implement opt-out before anyone actually wants to opt-out.

I'm not sure having said system would be worth it.
I was considering it for privacy reason, but doing opt-in means most users will never actually open themselves up to trade, and I don't see a reason to implement opt-out before anyone actually wants to opt-out.

It's indeed going to be complicated to figure out.
I believe you can create a sort of forms that asks people if they want to test the "Open Trades" format, asking for their Discord username, and the bot sends a PM asking them if they're wanting to get other user's message. Therefore, we can create a sort of "World/Friends only/Nobody" system. This is a bit more complicated than the original solution, but it maybe is one of the most optimal I could think about now.

I believe you can create a sort of forms that asks people if they want to test the "Open Trades" format, asking for their Discord username, and the bot sends a PM asking them if they're wanting to get other user's message.

Discord permissions already handles this who can contact me in DMs, and in-server pings are fine with most users too.

Therefore, we can create a sort of "World/Friends only/Nobody" system.
Implementing this solution would also require us to know who's friend with who, which doesn't really make sense in terms of data collection for a discord bot.

I don't believe many users that use the bot are against trading anyways, and I don't believe most people that do use the bot will contact people outside their circles anyways (weebs are shy, lol)

I believe you can create a sort of forms that asks people if they want to test the "Open Trades" format, asking for their Discord username, and the bot sends a PM asking them if they're wanting to get other user's message.

Discord permissions already handles this who can contact me in DMs, and in-server pings are fine with most users too.

Good point.

Therefore, we can create a sort of "World/Friends only/Nobody" system.
Implementing this solution would also require us to know who's friend with who, which doesn't really make sense in terms of data collection for a discord bot.

I don't believe many users that use the bot are against trading anyways, and I don't believe most people that do use the bot will contact people outside their circles anyways (weebs are shy, lol)

I believe it can create more connections with more people, with their centers of interests. (this sounds more like Meetic or Tinder now lol). One of your main ideas with this bot was actually the fact that we can trade waifus with each other, so I guess it goes onto the idea.


Python crashes during ":Clap files" after typing full file name

Environment (please complete the following information):

OS: MacOS
(Neo)Vim version: NVIM v0.5.0-e35ff7371 / VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 17 2020 07:39:47) — Same issue on both
vim-clap version: 5b48e30466517eac6d73bf9cacecfedadda28c5b (latest)
Have you reproduced with a minimal vimrc: Yes
Have you updated to the latest plugin version: Yes
Have you upgraded to/compiled the latest Rust binary:  Yes

Describe the bug
When doing a :Clap files, then typing the full name of a file in that directory, python will crash. For example, if there is a file called README.md, type README.md in the clap window. The crash should happen on the last character press.
vim-clap: Vim(return):Error invoking 'python_eval' on channel 4 (python3-script-host):^@ch 4 was closed by the client

Clap debug

            has cargo: 1
            has maple: /Users/rliebz/.dotfiles/nvim/plugged/vim-clap/target/release/maple
           maple info: version 0.1.8, built for x86_64-apple-darwin by rustc 1.41.0 (5e1a79984 2020-01-27).
         has +python3: 1
has py dynamic module: 1
     Current FileType:
Third Party Providers: []
       Global Options:
    let g:clap#autoload_dir = '/Users/rliebz/.dotfiles/nvim/plugged/vim-clap/autoload'
    let g:clap#provider_alias = {'gfiles': 'git_files', 'hist:': 'command_history', 'hist/': 'search_history'}
    let g:clap_disable_bottom_top = 0
    let g:clap_enable_icon = 0
    let g:clap_forerunner_status_sign = {'done': '•', 'running': '!'}
    let g:clap_insert_mode_only = v:false
    let g:clap_no_matches_msg = 'NO MATCHES FOUND'
    let g:clap_open_action = {'ctrl-v': 'vsplit', 'ctrl-x': 'split', 'ctrl-t': 'tab split'}
    let g:clap_search_box_border_style = 'nil'
    let g:clap_search_box_border_symbols = {'nil': ['', ''], 'curve': ['', ''], 'arrow': ['', '']}
  Provider Variables:
    let g:clap_providers_relaunch_code = '@@'

To Reproduce
Steps to reproduce the behavior:

Create the minimal vimrc min.vim:

set nocompatible
set runtimepath^=/path/to/vim-clap
syntax on
filetype plugin indent on

Start (neo)vim with command: nvim -u min.vim

Type :Clap files

Type the full path of a file in the clap window, such as README.md while browsing files in vim-clap.

Python will crash. In neovim, the following error message is produced:

vim-clap: Vim(return):Error invoking 'python_eval' on channel 4 (python3-script-host):^@ch 4 was closed by the client

Regular vim will crash completely and produce the following error message:
Vim: Caught deadly signal ABRT

Expected behavior
Fuzzy filtering should continue normally without any crashing.
Screenshots
N/A
Additional context
N/A

Have you compiled the latest python dymamic module? You can try running make in the plugin root directory. I saw a similar issue and fixed it in https://github.com/liuchengxu/vim-clap/commit/18418f381c3c6b95166b2d512f12202d7ab2ef35. And I can't reproduce this issue now.

Just tried running make, same issue. I also tried removing the vim-clap directory and reinstalling, same issue again.
For installation I used the following (I do have cargo on my system):
Plug 'liuchengxu/vim-clap', { 'do': ':Clap install-binary!' }

Something else I noticed now in debugging is that the issue is case sensitive, so readme.md will not trigger the crash if the file name is README.md.

Just tried README.md, still works for me.

If nothing helps, you could try disabling the python dynamic module by adding let g:clap_use_pure_python = 1 to your vimrc. The performance should still be good as it will use the external Rust binary maple when neccessary.

No crashing after let g:clap_use_pure_python = 1, so that's good news.


Link Multiple Email Addresses with Microsoft Docs / Learn

The Salesforce Trailhead site allows you to bind multiple email addresses to your account so you can have your personal email + your work email or more bound to the same account. This allows your certifications and points to carry with you from Job to Job. The Microsoft Docs Learning site should also implement this.

I'm happy to announce that we released the account linking feature yesterday.  You can link up to 1 MSA and 5 AADs (from different domains) together.   Please go to the profile settings, and scroll to the 'Account Management' section to link accounts.

@cxpace, you can close this issue if it's been implemented.


pr2_robot: 1.6.16-3 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository pr2_robot to 1.6.16-3:

upstream repository: https://github.com/pr2/pr2_robot.git
release repository: https://github.com/pr2-gbp/pr2_robot-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.22
previous version for package: 1.6.16-2

Thanks, will close, change, and remake.


OPENIDM-11996 - select lists

Adds hard-coded select list rendering logic and preformatted data embedded directly in the component, this solution is a workaround until a suitable solution can be added in the future.
étapes pour reproduire

Click the blue button.

_Scroll down_
How to use this
Check out the specified files changes, I have set relevant changes in the comments section please pay close attention.

DON'T MERGE!

Note that collaboration type and all other select now map to their correct key, previously an index number was being created and this is what was submitted in the POST body causing a permission error.
Fix is in SHA: 87fa36aaaec8f9fef3a74ac6f49293e6b5be30aa


Cannot deploy

Describe the bug
Cannot deploy
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-4a1auc
Steps to reproduce
https://bolt.new/~/sb1-4a1auc
click on deploy
Expected behavior
Deployin application.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 119602538,
  "usedJSHeapSize": 115204842,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = aruthaa
Chat ID = 2b09dd8d4ab1

Additional context
Error:
An error occured while streaming this message.

@aruthaa thanks for your patience during this beta period! This issue is being tracked and investigated in #1022 so please subscribe there for updates!


Stuttering Demonic Gorilla Room

The Demonic Gorilla single area seems to have a stutter lag. I tried turning off gpu, animation smoothing, and the demonic program itself but the problem still persists. I know it has to be runelite because I tried on the vanilla client as well.
The only way I can tell you to reproduce is going towards the west side of the single area cave and just fighting demonics, the stutter happens about every 10 seconds.
The demonic area is the only place where this stutter happens and I have multiple friends who also say they have the same issue.

I remember having this issue on any client I played with--vanilla, osbuddy, or runelite. I don't think this an issue specific to, or caused by, runelite.

I started the demonic gorilla grind today, and I can also confirm that there is a stutter happening every 10 seconds. This stutter does not happen on the original osrs client.
I also tried turning off some plug-ins without any result. ( Including the demonic gorilla plug-in)

I've been looking for various ways to find a fix to this, as well. I've tried adjusting my GPU settings, turning off hardware acceleration, etc. but it doesn't seem to help much. It might be a server-side issue (something on Jagex's part), which would warrant submitting a bug report.
Can anybody confirm that this happens on the vanilla client, as well?

I've done gorillas a few weeks ago and had stuttering issues, but at least it was playable on Runelite. Today when I tried it was completely unplayable (stuttering every 3 seconds). I switched to the vanilla client and the issue went away. The vanilla client does have minor stuttering so I do believe there is a problem on Jagex side. However, I am unable to do demonic gorillas on Runelite as of now.

Also able to reproduce this. Is there some kind of profiling or debug logging I can turn on to help debug?

This is probably is due to all of the animated objects on the scene (they have to be animated and/or shaded per frame). I'm not sure there is much we can do about it easily.

Just to add my two cents. This issue has only recently started happening, within the last 2-3 weeks. Before that there were minor stutters but not conistent ones like there are now. It almost seems like a chunk load thats happening constantly but theres nothing to load. Please have a deeper look into this issue.

The underlying problem was supposedly unearthed as the garbage collector running much more often than it should because of some of the methods used in RL.  The gc was changed in java 9+ so if you experience this problem try and download the jar launcher from the website (all platforms version) and run it with one of those java versions, suggest 11 or 12.

I've been trying to figure this out today. The pauses are from the CMS GC running. For me, using the Parallel collector fixes the issue completely, and I can't explain it because everything I've read through seems to suggest that CMS has much lower STW times.
We currently are using -XX:CompileThreshold=1500 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC which are the Jagex GC args (evidently running GC on non compiled methods is more expensive due to hotspot having to generate oop maps). This is actually two separate GCs, and uses the parallel GC for new generation objects. Under normal operation it seems that this is actually what runs the most. If you enable -XX:+PrintGC -XX:+PrintGCDetails and run around a bit (particularly if you hit scene loads etc. which have forced GC) I cannot find common occurrences of CMS running at all.
Except inside of the Gorilla area CMS seems to run almost all the time, and I cannot figure out why. I've tried disabling all of the plugins and it doesn't seem to help. Sometimes if I stand there long enough it decides to switch to use the parallel GC and then it is fine again, but it is uncommon.
Other things I've tried which were unsuccessful:

disabling -Xincgc. This is actually already deprecated in Java 8, and it enables incremental-CMS mode, which makes the CMS GC periodically yield control of its threads in the concurrent stages to try and prevent CPU starvation on the application. Due to this, in our case I think it can cause CMS GC to take longer as we generally have many free idle cores due to the client being single threaded. It looks like it was intended for systems with very few logical cores, and has no replacement in 9+. Without i-CMS I think the pauses are slightly shorter (it is hard to tell since at most they are ~0.5sec) but it is hard to tell. But they are still noticeable.

disabling DontCompileHugeMethods. The client is full of large methods and GCing non compiled methods takes longer due to the GC having to generate oop maps on each gc. It doesn't seem to have any measurable affect.

I made two commits to decrease memory allocations (4078cfdcaaa4c1fb888d13ed67b413b96176d823 and 4078cfdcaaa4c1fb888d13ed67b413b96176d823) to try and relieve GC pressure. This helps somewhat as it makes the pauses less common, but doesn't seem to affect the length of the pause.

disabling regen meter/gorilla plugin doesn't help. There was some early thoughts that the arc drawing was the culprit due to the allocation overhead from enabling antialiasing on the 2d pipeline. We were profiling OpenJDK 8 (the releases we ship include Oracle Java 8) - which evidently has an entirely different 2d pipeline from Oracle Java that is much less optimized. Profiling Oracle Java 8 shows that the allocations are less than several other things, including fixes from the 2 above commits.

We could try disabling the CMS GC on the release due to that it doesn't seem to run anyway generally - so from what I can tell we aren't getting much perf gain from it anyway?

Can someone having the issue try launching RL with java -XX:+UseParallelGC -Xmx512m -Xss2m -XX:CompileThreshold=1500 -Djna.nosys=true -jar RuneLite.jar --nojvm and report back if it makes the problem better/worse/etc?

Ran with those args, seemed much better but still some stuttering. I caught these logs around the time of the stutter (sorry, dont know how to copy + paste from cmd). I'd guess that the offending line is the last one, Full GC (Ergonomics). I tried running with -XX:-UseAdaptiveSizePolicy and the game crashed when entering the cave.

Do the two patches I gave in the earlier post help?

Sorry, I didn't test a build with the two patches but I just wanted to add that the performance is night and day with the jvm flags you posted before. I just got a task to do these and it was very stuttery. I restarted and ran with the flags and it's perfectly smooth now.

@matcpn how is it in comparison to running it with https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jre_x86-32_windows_hotspot_11.0.4_11.zip using java -Xmx512m -Xss2m -XX:CompileThreshold=1500 -Djna.nosys=true  -jar RuneLite.jar --nojvm ?

I hope this issue can be solve finaly, its been there very long and its so annoying. Most of part its unplayable on but restarting client help sometimes. i have played without demonic plugin and tried turn off gpu/set to 25 render distance.
So many have sayed me its memory leak problem or something.
Good luck for solving the problem.

java -Xmx512m -Xss2m -XX:CompileThreshold=1500 -Djna.nosys=true -jar RuneLite.jar --nojvm
Worked like a charm, no stutter!

I plan on "fixing" this by the upcoming launcher upgrade which moves to Java 11 and moves GCs. I am hesitant to change the GC on the current release because I don't understand the implications.

How do I run runelite with that line?

@Sackamanjaro
-right click your runelite shortcut, select "open file location"

copy the path in the explorer window that pops up.
open CMD
type cd followed by the pasting the path.
press enter, then paste the java -Xmx512m -Xss2m -XX:CompileThreshold=1500 -Djna.nosys=true -jar RuneLite.jar --nojvm line.

for example mine would be cd  C:\Users\YourName\AppData\Local\RuneLite With "yourname" being whatever your name is on your computer.

@Adam-
Just had the client crash while using the line, just spent the last 10 minutes hopping worlds to finally find my items.  I can share the log for it if  you'd like.

Ran the client for the last 10 minutes with those args on my current gorillas task, works like a dream. I'm on OS X High Sierra if it helps.
[ ~ ]$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

I got crashed too with lastest fix. So there is still something wrong.

@Sackamanjaro
-right click your runelite shortcut, select "open file location"

copy the path in the explorer window that pops up.
open CMD
type cd followed by the pasting the path.
press enter, then paste the java -Xmx512m -Xss2m -XX:CompileThreshold=1500 -Djna.nosys=true -jar RuneLite.jar --nojvm line.

for example mine would be cd C:\Users\YourName\AppData\Local\RuneLite With "yourname" being whatever your name is on your computer.

command prompt says Error: Unable to access jarfile RuneLite.jar, whether I run cmd as admin or not. Is there a correct way to add this to a batch or something? I've done that before to disable hardware acceleration but I'm not exactly sure how that works and haven't had luck with my fiddling.

I ran the client using that command line for 20 mins in the cave, no stutter, no crash. Seems very nice. Could you explain what exactly the line is doing @Adam- ?

AS a follow up to this, ended up going back after leaving the client open for a few days and got the stutters again. Restarting it didn't fix so I just kinda dealt with it, they were less frequent but still there

The newer launcher was released, update to it let me know how much it helps.

When I did some after the Runelite update I had less lag than previously. But when it was still more lag than when running the client using that command line

I don't know how bad it was before the update but I just went there for the first time this evening and the stuttering was severe enough for me to find my way here.

Are either of you actually on the newer launcher? Vague comments does not really help.

Using RuneLite version <IP_ADDRESS> with Launcher version 1.6.0, I was still experiencing the aforementioned stuttering / hitching at demonic gorillas.
Starting RuneLite from the command line with Adam's java -Xmx512m -Xss2m -XX:CompileThreshold=1500 -Djna.nosys=true -jar RuneLite.jar --nojvm (Oracle Java 8) completely eliminated all stuttering.

My experience was the same as astrimbu above.

Since noone seems to want to verify the new launcher I'm just going to call this fixed since it works for me.

Issue is closed, but just wanting to chime in that it is also working for me.
Using launcher v1.6 I was experiencing the stuttering mentioned.
To allieviate the issue, I simply ran java -jar Runelite.jar from the Runelite folder, without the previously mentioned additional options.
Then updated launcher to v2 by reinstalling and have not ran into the issue at gorillas.


Uncertainty in FlashAttention2 backward

When I ran the unit test "test_flash_atten.py" for the function "flash_attn_varlen_func", I noticed that the values of dq in "flash_attn_varlen_func" during the backward process has slight distinct in different test(with a fixed random seed and the same input), but dk and dv are exactly same. During the forward pass, the output for the same input remained consistent. Does this indicate that in FA2 the forward is deterministic, but the backward is not? What could be the possible reasons for this uncertainty?

Yes, backward pass is not deterministic because we use atomic adds.

Thanks for your answer!  :)


plasma-wayland-protocols: 1.7.0 -> 1.8.0

Description of changes
No upstream changelog, but mostly minor additions: https://invent.kde.org/libraries/plasma-wayland-protocols/-/commits/master
Will be required for Plasma 5.26.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build plasma5Packages.plasma-wayland-protocols


Razz Berry not used twice, catch rate not refreshing

Expected Behavior
If catch rate low, use razz berry to increase. if catch failed, use razz berry again
Actual Behavior
if catch failed, catch rate is not refreshing to the normal value
[02:41:08] Catch Rate with normal Pokeball is low (33.48%). Throwing Razz Berry... (57 left!)
[02:41:08] Catch Rate with normal Pokeball has increased to 50.22%
[02:41:08] Using Pokeball (chance: 50.22%)... (96 left!)
[02:41:09] [-] Attempted to capture Goldeen - failed.. trying again!
[02:41:11] Using Pokeball (chance: 50.22%)... (95 left!)
[02:41:11] Oh no! Goldeen vanished! :(
Steps to Reproduce
actual dev branch
Other Information
OS: Mac OS
Git Commit: 6b8666d5c3ffc03c605e1f272d019a26f0f68726

In the client, it's only possible to use the berry once.
That leads me to assume using it twice with an API call won't make a difference..

But after the catch attempt failed, I can use another berry in my second, third, nth attempt. the bot doesn't, and I believe the reason it's not, is the missing refreshing of the catch rate.

I see. Well, the code doesnt recheck catch chance as you said, if it's not looked into tomorrow, I'll see what I can do.

Second, weird behavior:
[03:28:06] A Wild Bulbasaur appeared! [CP 201] [Potential 0.29]
[03:28:06] IV [Stamina/Attack/Defense] = [12/0/1]
[03:28:10] Catch Rate with normal Pokeball is low (21.32%). Throwing Razz Berry... (51 left!)
[03:28:10] Catch Rate with normal Pokeball has increased to 31.98%
[03:28:10] Using Greatball (chance: 45.31%)... (43 left!)
[03:28:11] [-] Attempted to capture Bulbasaur - failed.. trying again!
[03:28:13] Catch Rate with normal Pokeball is low (31.98%). Throwing Razz Berry... (50 left!)
[03:28:13] Catch Rate with normal Pokeball has increased to 47.97%
[03:28:13] Using Pokeball (chance: 47.97%)... (99 left!)
[03:28:14] [-] Attempted to capture Bulbasaur - failed.. trying again!
[03:28:16] Catch Rate with normal Pokeball is low (47.97%). Throwing Razz Berry... (49 left!)
[03:28:16] Catch Rate with normal Pokeball has increased to 71.95%
[03:28:16] Using Pokeball (chance: 71.95%)... (98 left!)
[03:28:17] Captured Bulbasaur! [CP 201] [12/0/1]

Even when using a different ball.. I'll look at it after I get some sleep. =)


Apply themes to tabs too

The current theme of a view should be applied to the whole ha-app-layout, including tab bar and header.

I'm not sure if we want this. Some have automations for changing themes on day/night that we break here.
I think it's fine if we still use the main theme and for our views and cards we can use incremental themes that only change specific color variables

I guess you're right. It will get very messy if two themes don't overlap completely


feat: handle scoped only libs

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/ngneat/transloco/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
Issue Number: 178
Issue Number: 132
As stated in the first linked issue, when using libraries that only need scoped translation you end up with unused files generated because of the "__global" scope.
What is the new behavior?
Using a new scopedOnly option in the config file, we can now tell the builder and finder, to only check for the files in the scopePathMap and ignore everything in the __global scope. If you have the emitErrorOnExtraKeys option enabled you''l get an error if the key builder detects global keys, only a warning otherwise.
With this options, you should now be able to have only one translation file per library per lang and, if you want to, have this file at the root path (rootTranslationsPath option)
Also updated the marker typing according to the second issue.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information
I'll add tests and documentation if you feel the PR is acceptable 😄

Hi again! Did you had any time to check this ?


error: no type named 'FloatType_t' in 'tempo::TSeries<double, std::__1::basic_string >'

While installing the project in python environment using the command:  python setup.py bdist_wheel
; the execution stops.
The errors thrown are the following:
../tempo/bindings/python/src/pytempo/tseries/bindings.hpp:14:31: error: no type named 'FloatType_t' in 'tempo::TSeries<double, std::__1::basic_string >'
../tempo/bindings/python/src/pytempo/tseries/bindings.hpp:15:48: error: use of undeclared identifier 'ft'
constexpr ssize_t scalar_size = sizeof(ft);
^
../tempo/bindings/python/src/pytempo/tseries/bindings.hpp:16:58: error: use of undeclared identifier 'ft'
const std::string format = py::format_descriptor::format();  // Python struct-style format descriptor

Thank you for the report. It should now be fixed.
Cheers!


consider renaming stacks to "compositions"

docker stack exists and does not refer to the same objects as stacks in portainer.  I believe it's safe to say that portainer stacks is a front-end to docker-compose.  This can be confusing for portainer newbies.  How about renaming portainer stacks to compositions to keep terminology aligned between docker cli and portainer?

If you're running Portainer on Docker Swarm, it will be using docker stack.
If you're running Portainer on Docker standalone, it will be using compose.
And we're trying to stay relatively close to the native language of Docker.

I see. Thank you for the explanation.
Closing as invalid.


Search box clears when filtering thru Ajax data

I have an ajax call which pulls in json data stored in a mysql table. The "search" seems to work but for some reason it clears my ajax data when you type. Any ideas? Is this an issue that can be resolved with addn'l functionality? Works great when my values are hard coded into my table 'th's'... just can't seem to get it to work with my ajax data.

You'll have to use List.js's own method .add() to add data to the list. You can't just add stuff to the DOM.
www.listjs.com/docs/list-api#add


Corrupted completion while one candidate is prefix of another

try this code:
from prompt_toolkit.contrib.completers import WordCompleter
from prompt_toolkit import prompt

animal_completer = WordCompleter([ 'cat', 'cat_and_dog', ])

if __name__ == '__main__':
    text = prompt('Give some animals: ', completer=animal_completer,
                  complete_while_typing=False)
    print('You said: %s' % text)

Type c, then two <TAB>, the result is catat, not expected cat.

Hi @blahgeek,
This is probably the issue that was fixed in the following commit: https://github.com/jonathanslenders/python-prompt-toolkit/commit/970c763323749f044931e44fb4d39b205c7b0b85
Can you try to checkout the latest master commit and try again?

no, it's the same :( @jonathanslenders

Sorry, I was wrong, it was indeed fixed in 970c763. I'm going to close this issue. Thanks for your reply.

Don't worry. Thanks for reporting!


Make Type::join return Any by default.

For the moment, update the sole caller to not infer Any in cases where
neither argument was Any. This is in part because not all the cases are
handled here and the result of inferring Any will be to miss appropriate
bindings in certain cases. It is also in part because by inferring Any
we may end up deferring diagnostics until later in a function, which may
result in very hard to understand diagnostics for users.
This will be revisted once all the cases are properly handled here.

@swift-ci Please smoke test

@swift-ci Please test source compatibility


Service time

Can the service expire?

What do you mean by that?
I will try to keep streak-stats.demolab.com working as long as possible, but you can also host it yourself (instructions in the readme).


Lack of jr macros

jr is used much, much more than jp, yet only jp has macros defined for it.

Added DonaldHays jr macros.


Bump minimist from 1.2.5 to 1.2.8

Bumps minimist from 1.2.5 to 1.2.8.

Changelog
Commits

updated-dependencies:

dependency-name: minimist dependency-type: indirect ...

Summary

Context

d


i got error say no speech_recognition

i click RunVRCSubs bat file i see this

Odd, pip doesn't appear to be in PATH
When installing python, please ensure Add Python to PATH is checked! If not, try re-installing python and validating that. :)

Having the same error on my end as well. can't seem to get around it with reinstalls

I had the same error, turns out I had too many pythons installed in my machine so I did a clean reinstall by making sure I did a clean uninstall and then installing it again and it worked.
Probably something was buggy because I had too many python versions together I couldn't install anything with pip whatsoever lmao XD


chore: Refactor anvil to use RunCommand

Small refactor of anvil service to use the RunCommand function we added in the previous pr

Current dependencies on/for this PR:

main

PR #89

PR #90

PR #93   👈

PR #91

PR #92

This stack of pull requests is managed by Graphite.


Fix _meta for Array.persist

Closes #5352

[x] Tests added / passed
[x] Passes black dask / flake8 dask

Thank you @benbovy !  Merging.
Also, I notice that this is your first code contribution to this repository.  Welcome!

Thanks! I enjoyed making this (very humble) contribution, I hope other will follow!


feat: top-level services tab

🚀 Nice work!

Extra spacing between the resource and its type here:

The scale buttons aren't vertically center, we can pattern match off the databases-list buttons


Bug fix

Issue #, if available:
Description of changes:

Fix default runtime name in test script
Tolerate all taints in Fluent Bit and CW Agent

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

Break glass since it's a minor change.


Add instructions how to set up the repo

Hey @sqr00t could you please take a look at this as well, when you're doing the pre-commit fixes


macOS problems

The installer does not seem to work on macOS.
The conda-forge/miniforge project seems to need to bootstrap their build with a miniforge distribution on macOS rather than a default conda distribution. (See https://github.com/conda-forge/miniforge/blob/master/build_miniforge_osx.sh) Their bash installer seems to work without issue. Using miniforge conda to generate the custome commander conda distribution on macOS might resolve the issues.

This is fixed as of v1.0.0


Agent pod crashes with "agent could not auth: please provide an auth token"

Hi, the problem as as the title states. The Helm chart version is 1.5.0, the latest as of this moment.
The agent pod crashes. Upon inspecting the the logs of the agent pod state:
{"level":"info","time":"2024-07-18T17:33:24Z","message":"log level: info"}
{"level":"info","time":"2024-07-18T17:33:24Z","message":"no agent config found at '/etc/woodpecker/agent.conf', start with defaults"}
{"level":"fatal","error":"rpc error: code = Unknown desc = agent could not auth: please provide a token","time":"2024-07-18T17:33:24Z","message":"error running agent"}

It looks like the secret isn't being loaded.
The following is my Helm for the agent section of values.yml:
agent:
  enabled: true
  env:
    WOODPECKER_BACKEND_K8S_NAMESPACE: [...]
    WOODPECKER_BACKEND_K8S_STORAGE_CLASS: "standard"
  persistence:
    storageClass: "standard"
    size: "10Gi"
  replicaCount: 1

Looking at the environment variable section of kubectl describeing the agent:
    Environment Variables from:
      woodpecker-secret  Secret  Optional: false
    Environment:
      WOODPECKER_BACKEND:                      kubernetes
      WOODPECKER_BACKEND_K8S_NAMESPACE:        [...]
      WOODPECKER_BACKEND_K8S_POD_ANNOTATIONS:
      WOODPECKER_BACKEND_K8S_POD_LABELS:
      WOODPECKER_BACKEND_K8S_STORAGE_CLASS:    standard
      WOODPECKER_BACKEND_K8S_STORAGE_RWX:      true
      WOODPECKER_BACKEND_K8S_VOLUME_SIZE:      10G
      WOODPECKER_CONNECT_RETRY_COUNT:          1

I believe there should be a WOODPECKER_AGENT_SECRET environment variable, but I don't see one.
I may be configuring something incorrectly. Any help would be greatly appreciated.

You need to set WOODPECKER_AGENT_SECRET. See the documentation.

I believe there should be a WOODPECKER_AGENT_SECRET environment variable, but I don't see one.

? You can set arbitrary env vars in the env section.

? You can set arbitrary env vars in the env section.

That is exactly what I've done and it works. However, I assumed that such a process was automatic given that a secret store is created automatically, #144 seem to indicate this was intentional, and the default value for agent.extraSecretNamesForEnvFrom and server.extraSecretNamesForEnvFrom both include woodpecker-secret by default (which I had not overwritten).
Furthermore, the Kubernetes documentation makes no mention of needing to define these environment variables myself either in the readme.
is this intentional behavior? Otherwise, the chart works fine. I found this confusing since I knew the WOODPECKER_AGENT_SECRET was needed by the agent and server, but assumed that this chart took care of it, due to it both generating a secret, seeming to load it, and the lack of mentioning that it must be manually configured. Admittedly I am not a master at K8s or helm charts. Thanks.


Backport changes for cs101

Backport changes for cs101 from master to tara.

It might make the git history a bit cleaner to use the rebase and merge option, but I'm not sure.


fix(observation form): persist access to form

Problem: Access to the observation form does not
persist across page navigation or log out. For
example, if the user starts an observation and
changes pages, they can no longer access the
"Stop" button to terminate the observation.
Solution: When navigating to the observation
request page, check if the system is currently
busy using a new "System" status. If not, allow
all users access to the form. If it is busy, check if the current user is the owner of the current
observation. If so, allow them access to the
"Stop" button. If not, deny access to the form
submission and termination buttons.

We should load a default status on app load, so that a user can change this in the future, and they also do not have to mess with sql queries

Sounds good! I'll get your ideas for that at our meeting today


proxychains: build with -ldl

Motivation for this change
The configure script provided in the release archive of proxychains is broken, which leads to errors like this:
[proxychains] preloading /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so
wget: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror

This patch modifies the configure script, adds -ldl to the built shared object file, and fixes the above issue.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

I am using release 16.09 and didn't check the definition in the master. It looks like this issue has been fixed.


Client or is there more implied by the protocol-suffix?

The name of this project feels slightly confusing, as the implementation seems to be an airplay client, but the name "airplay-protocol" implies a more generic protocol abstraction that can be used by clients and servers.

It's meant as a very low level implementation of the protocol used to connect to an AirPlay server - so I don't expect many people to use this directly. Instead devs should build more high-level modules on top of this, like airplayer.
My personal goal with creating this, is so that I can build a more stable and modular version of airplay-js which is the AirPlay client used by most projects that need to send a video to an AirPlay server today.

Cool 👍


Options of type click.File ignore a default value given as a string (?)

CPython 3.6.6
click 7.0
x86_64 Linux

This could be an unusual edge case and I find it hard to describe ... so let's start with an MVE. The following is saved into test.py:
import click

@click.command()
@click.option(
	'--logfile', '-l',
	default = 'default.json', type = click.File('r'), show_default = True,
	multiple = True, required = True,
	help = 'name of input log file, can be specified multiple times',
	)
def test(logfile):
	for f in logfile:
		click.echo(f.read())

if __name__ == '__main__':
	test()

Here is what happens with the above script in a shell:
(env) user@box:~/demo> python test.py --help
Usage: test.py [OPTIONS]

Options:
  -l, --logfile FILENAME  name of input log file, can be specified multiple
                          times  [default: default.json; required]
  --help                  Show this message and exit.
(env) user@box:~/demo> ls -lah
insgesamt 63M
drwxr-xr-x 2 user users 4,0K  1. Feb 10:45 .
drwxr-xr-x 9 user users 4,0K  1. Feb 09:32 ..
-rwxr-xr-x 1 user users  341  1. Feb 10:45 test.py
(env) user@box:~/demo> python test.py
Usage: test.py [OPTIONS]
Try "test.py --help" for help.

Error: Invalid value for "--logfile" / "-l": Could not open file: d: No such file or directory
(env) user@box:~/demo> touch default.json
(env) user@box:~/demo> ls -lah
insgesamt 63M
drwxr-xr-x 2 user users 4,0K  1. Feb 10:45 .
drwxr-xr-x 9 user users 4,0K  1. Feb 09:32 ..
-rw-r--r-- 1 user users    0  1. Feb 10:45 default.json
-rwxr-xr-x 1 user users  341  1. Feb 10:45 test.py
(env) user@box:~/demo> python test.py
Usage: test.py [OPTIONS]
Try "test.py --help" for help.

Error: Invalid value for "--logfile" / "-l": Could not open file: d: No such file or directory
(env) user@box:~/demo> python test.py -l default.json

(env) user@box:~/demo>

My script is supposed to accept one or more -l options, pointing to existing files. If the user does not specify -l, a default file name is supposed to be opened. The options rely on click.File. In the above context, the option apparently ignores its default value (default file name). Sometimes it tells me Could not open file: d: No such file or directory, sometimes it tells me Could not open file: b: No such file or directory (notice the difference between b and d).
I guess an option of type click.File has no concept of dealing with a string as default (?).

You've set multiple to True-- which means your default variable is going to assumed to be an iterable (ideally a list of filenames in your example) but because you've just given it a string (which is iterable character by character) you're getting the no such file error, because instead of trying to open default.json it's iterating over that string and in so, trying to open d.
Changing default = 'default.json', to default = ['default.json'], clears up your problem.

Closing this because it is not a bug, thanks for answering @doobeh .


Release/154.0.0

Explanation
Releasing a new patch version of phishing controller with changes related to subdomain updates metaswap and metafi

@metamaskbot publish-preview

@metamaskbot publish-preview


Share cookie data between two different domain

Hi,
I have a question about sharing data between two different domains.
Does it possible through cookies ?
Can you suggest me on this.
Raja K

Nope, not possible due to the same-origin policy.
You can have two different *sub-*domains access a cookie that was set for their same parent domain, but you cannot have two completely different domains sharing cookies with one another.


There is no completions list when inputting "db.123." in a Mongo scrapbook

OS: All
Build Version: 20210617.3
Repro Steps:

Right click one MongoDB account -> Create Database... -> Enter a database name -> Enter a collection name which begins with numbers (such as "123" or "1ab").
Create a new Mongo scrapbook for this database.
Type "db.123.“.
Check whether a list of completions comes up or not.

Expect:
A list of completions comes up.

Actual：
There is no completions list.

More Info:
This issue does not reproduce if the collection name begins with letter.

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Strange behaviour writing utility functions

Hello,
I am trying to write some utility functions since bish is strongly typed (somewhat).
def lastchar(x) {
    if (x != "") {
        y = @(echo -ne "$x" | tail -c 1)
        x = "$y"
    }
    return x
}

def allbutlastchar(x) {
    len = @(echo -ne "$x" | wc -c)
    val = ""
    if ((len != "0") and (len != "")) {
        lenNeg1 = @(echo "$len-1" | bc)
        temp = @(echo "$x" | head -c $lenNeg1)
        val = "$temp"
    }
    return val
}

def str2num(x) {
    val = 0
    mul = 1
    digit = 0
    str = x
    for (cond in 0 .. 1000) {
        if (str == "") {
            return val
        }
        lastc = lastchar(str)
        # print("  lastc: $lastc")
        str = allbutlastchar(str)
        # print("  rest: $str")
        if (lastc == "0") {
            # do nothing
        }
        if (lastc == "1") {
            val = val + (1 * mul)
        }
        if (lastc == "2") {
            val = val + (2 * mul)
        }
        if (lastc == "3") {
            val = val + (3 * mul)
        }
        if (lastc == "4") {
            val = val + (4 * mul)
        }
        if (lastc == "5") {
            val = val + (5 * mul)
        }
        if (lastc == "6") {
            val = val + (6 * mul)
        }
        if (lastc == "7") {
            val = val + (7 * mul)
        }
        if (lastc == "8") {
            val = val + (8 * mul)
        }
        if (lastc == "9") {
            val = val + (9 * mul)
        }
        # println("  value: $val")
        mul = mul * 10
    }
    # println("final-value: $val")
    return val
}

val = str2num("499")

println("Got number : $val")

I had a few issues writing this and I still don't get the correct output.

Replacing the ifs with an if-else-if ladder stops printing the right answer.
The code as is prints the right answer (if prints are uncommented) but never return the right answer to val.

Let me know if I can help further.

Thanks for reporting this! Could you clone the latest master changes and see if your issue 2 is fixed (return value bug)? If so, I'll look at the if/else bug.

I can confirm that the function return value bug is fixed. I believe that is a duplicate of the fix you made earlier.

@tdenniston going to develop the project further?

@akalsi87 Can you verify that the if/else chain now works?
@egorsmkv Good to hear from you! I will have some spare time this spring, so I hope to continue more development on bish.

Excellent!

I can verify that this works now.
Thanks!


write method not found method not found in `LedPixelEsp32Rmt

** new to rust in general **
Issue with example:
https://github.com/cat-in-136/ws2812-esp32-rmt-driver/blob/main/examples/m5atom_smart_leds.rs#L29
no method named write found for struct LedPixelEsp32Rmt in the current scope
items from traits can only be used if the trait is in scoperustcClick for full compiler diagnostic
lib.rs(33, 8): the method is available for LedPixelEsp32Rmt<'_, RGB<u8>, LedPixelColorImpl<3, 1, 0, 2, 255>> here
main.rs(1, 1): the following trait is implemented but not in scope; perhaps add a use for it:: `use smart_leds_trait::SmartLedsWrite;

Too less information to understanding what you faced. If you are writing your own program (i.e. you are not using just exactly same my example code), I agree that it is reasonable to miss use line as like <https://github.com/cat-in-136/ws2812-esp32-rmt-driver/blob/ecb9db908ee16d538da127df361a8d850be2ab4b/ examples/m5atom_smart_leds.rs#L4> is missing.

I gave up on learning rust for now with the cardputer just gonna just c++
I had cargo conflicts and duplicate types it was a mess. https://stackoverflow.com/questions/78003487/cargo-package-conflicts

@cat-in-136 I do appreciate your code and effort here perhaps will revisit one day, thank you for your work!

Hi, the issue is that the SmartLedsWrite trait was changed upstream: https://github.com/smart-leds-rs/smart-leds-trait/commit/d74c51ee2490ec213cd19165c16caec6f53aca36
The example works if smart-leds-trait is frozen to v0.2.1 instead of v0.3.0.


example demo spitting out errors

followed the directions indicated but get:
(node:6497) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
(node:6497) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.
Android project not found. Maybe run react-native android first?

And then react-native android returns:
  Unrecognized command 'android'
  Run react-native --help to see list of all available commands

(node:6779) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
(node:6779) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.

Any clue why?
And then the react-native run-ios:
react-native run-ios                                                                                (master✱)
(node:6955) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
(node:6955) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.
Found Xcode project SvgExample.xcodeproj
Launching iPhone 6 (9.2)...
Building using "xcodebuild -project SvgExample.xcodeproj -scheme SvgExample -destination id=61F17A1E-F7EA-4E03-9A0D-8DB8F3438EDC -derivedDataPath build"
User defaults from command line:
    IDEDerivedDataPathOverride = /Users/jmoretti/Sync/react-native-svg-example/ios/build

xcodebuild: error: The project named "SvgExample" does not contain a scheme named "SvgExample". The "-list" option can be used to find the names of the schemes in the project.
Installing build/Build/Products/Debug-iphonesimulator/SvgExample.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/SvgExample.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Anyone anyone? @brentvatne @chengyin @MoOx @mattapperson @gorangajic ?

Try running the iOS app via xcode

you have Node.js v7 installed ? os.tmpDir is deprecated
Try running react-native with Node.js v6

any updates on this issue ??

nothing?

Example has been updated, closing for now.


Change Animation Colors when playing a card

As a User I want to be able to change the animation color of the border in the game arena when playing a card to customize the visual effects and better suit my personal preferences.

65ede4cad79d974aaf42d0565b41e25828273423


fix(ffe-datepicker-react): fixed issues with focus, tab navigation, k…

…eyboard input
Added new state variables to handle race conditions and tabbing focus changes between components.
Modified event handlers and fixed bugs related to focus flow.

Coverage decreased (-0.4%) to 78.544% when pulling 97e12c0a0d134e085e4a4a724eca8ad6eff6d464 on 190-datepicker-month-change-double-click into 556376f9d0fd7f7e24639bd9f946b2a5f1666bb4 on develop.

@selbekk added test for focus and blur of calendar component

@henrikhermansen @antidecaf want to have a look?


Problems with test report output

Hi!
Thank you for all your hard work!
I just tested version 1.4, having the ability to supply a list of .http files is awesome and what really makes this a killer app for ci workflows :+1:
I did find some a couple of issues during testing, though.
When running more than one .http file, there are no results at all in the file specified by -r argument. Instead the results are output in the test-reports folder in files with the same name as the .http file. This makes it hard to integrate with gitlab ci, which as far as I know does not support wildcards for finding report files. The results should, as I see it, all be collected in the file specified by -f.
In case this is the planned behavior, there is a problem with files overwriting each other. In our case, we have several modules in our application and they each have a folder test/HTTP that usually contains a file named ApiTests.http. In this scenario, the report file from the last ApiTests.http file to run will overwrite earlier reports.

Just wanted to let you know that we now have a fully functioning test running in gitlab ci.
With this (partial) config
script:
    # Build containers
    - docker-compose -f docker-compose-api-test.yml build
    # Start containers and run  tests
    - docker-compose -f docker-compose-api-test.yml up -d
    - java -jar /restcli.jar -s `pwd`/module/xx/test/HTTP/WorkflowTest.http -r api-report
  artifacts:
    paths:
      - test-reports/api-report.xml
    reports:
      junit: test-reports/api-report.xml

We get a fully functioning test run with reports and all :)

@martinqvistgard Thank you for the report.
I will improve it. (done soon :) )

We get a fully functioning test run with reports and all :)

Glad to hear that :)
I will continue to develop this tool.
That for you know the upcoming feature is support handle next request. // The development is done. Now I'm testing.
Look like this one:
### Request with name request1
# @no-redirect
# @name=request1
GET https://httpbin.org/status/200

> {%
client.log("Login in request1; next = request3")
if (typeof REST_CLI !== 'undefined') client.setNextRequest("request3");
%}

### Request with name request2
# @name=request2
GET https://httpbin.org/status/404

> {%
client.log("Login in request2; next = _END_")
if (typeof REST_CLI !== 'undefined')  client.setNextRequest("_END_");
%}

### Request with name request3
# @name=request3
GET https://httpbin.org/get

> {%
client.log("Login in request3; next = null")
%}

### Request with name request4
# @name=request4
GET https://httpbin.org/get

> {%
client.log("Login in request4; next = request2")
if (typeof REST_CLI !== 'undefined')  client.setNextRequest("request2");
%}

###

So we can now define request name by # @name=request4.
And in the test script, we can update logic to set the next request.
Example:
> {%
var checkUserLoggedIn = response.isLoggedIn;
if (typeof REST_CLI !== 'undefined') {
if (checkUserLoggedIn) client.setNextRequest("requestForUserLoggedIn"); else client.setNextRequest("requestForUserNotLoggedIn");
}
%}

@martinqvistgard the problem is fixed (in version 1.5).
Please check it when you have time.
Here is my demo: https://gitlab.com/quangson91/demo_intellij_rest_cli/-/blob/master/.gitlab-ci.yml
And here is the release note of version 1.5: https://github.com/quangson91/intellij_rest_cli/releases/tag/v1.5

Hi!
Just tested the new release, and had some interesting results :)
The file specified by -r now contains results, but only from the first file in the list.
I ran the tests like this:
java -jar restcli/restcli-1.5.jar -r test-report module1/test/HTTP/WorkflowTest.http module2/test/HTTP/ApiTests.http
and ended up with the results from WorkflowTest.http in test-reports/test-report.xml and the results from ApiTests.http in test-results/ApiTests.xml
BUT
We did some homework on the way gitlab ci handles junit results and it does indeed handle wildcard paths. So at least for our use case the -r option is not needed and the result can be in one file or several files. They can be called anything as long as there is no risk of overwriting.
Only problem we have found is that the suite name is not picked up for some reason:

Thank you for the feedback.
I will check it more.
So, I will generate file name with the same file name of input http request file.
If there is the name conflict problem => adding prefix.
For example:
input: module1/x.http module2/x.http module3/x.http
=>
Output: x.xml x_1.xml x2.xml
How do you think ?

I fixed this problem. You can check my demo repo at: https://gitlab.com/quangson91/demo_intellij_rest_cli/-/pipelines/179322650/test_report
Notes:
In gitlab ci, if we set junit report to multiple files (xml)
=> Gitlab will merge those reports into one files.
=> If those files have same test names => the only one of them will be used.
...
=> Please ensure that there is no test name conflict.
Also, for the problem the test suites is not shown => We should file an issue to gitlab. I think that issue is related to merge multiple junit report xml files.

I will run some more tests in gitlab and file a ticket with them. I first suspected that it was due to using a full url as name but when checking the junit report file spec the field shold be xs:string format which should have no problem with an url as long as there is no '<' or '&' in the string.


Update release.yml

Since this is our plugin, we can use the defaults here. Also, this switches back to using the tools-bot label as we do for all our other repos and because we're using the Tools Bot access key.

Trufflehog is just grumpy about XML changes; safe to ignore


Bookmark features

Resolving issue #2 and #39

Although our goal has always been to be as compatible with the existing ID Portal as possible, the Bookmarks functionality seems so inconsistent with other portlet processing, specifically Collections, that we are going to deviate from that direction.  Instead, Bookmarks should work like Collections:

edit content button to change the content of the bookmark list
edit properties to set the "common" fields

This will then limit the change needed in genPortalMain, which will make this more maintainable.


Center atom for improper dihedral coefficients in oplsaa.it

Dear developer,
I am using the OPLS-AA parameters from the file oplsaa.lt. May I ask for the improper dihedral X_X_003_004, which one should be the center atom?

Best regards,
Huang Ziru

Hi Huang
I think that for OPLSAA in moltemplate, the 3rd atom is the center atom.  (Note: This atom is named "2" in the diagram below, because the numbers begin at 0 not 1.)
(To be clear, this applies to the "Impropers" section of the "system.data" file generated by moltemplate.)
To create the "oplsaa.lt" file, I converted the "oplsaa.prm" file which comes with TINKER.  I think that TINKER also uses the 3rd atom.
Years ago, several moltemplate users and I spent days trying to confirm that this is the correct order.  But this was impossible to confirm because some molecule builders (like BOSS and Materials Studio) do not document how the atom order is determined or where the central atom is.  For this reason, we could not always reproduce the atom order created by these programs.
If this sounds like a serious problem.  However perhaps it is not a problem:  Fortunately, all of the improper interactions in OPLSAA are even functions((U(φ)=U(-φ)), and U(φ) has a minima at φ=0, which only occurs when the 4 atoms are coplanar (in the same plane).  The important thing is that all 4 atoms should nearly belong to the same plane.  It turns out that the atom order (and the spring constant used to enforce coplanarity) is not very important because the flexibility of most molecules is a consequence of the dihedral interactions and 3-body "angle" interactions.  So even if the improper interactions "oplsaa.lt" are too strong, all 4 atoms will still be nearly coplanar, and this should not affect the flexibility of the molecule very much.
Perhaps I am wrong?
If you have discovered we made a mistake in the OPLSAA, then please let me know.
If you are curious how moltemplate works, see the "Impropers by Type" section of the "oplsaa.lt" file.
Notice the "(opls_imp.py)".  This tells moltemplate that the "opls_imp.py" file contains the rules for generating improper interactions.  Here is an excerpt of the contents of the that file:
#    To find 4-body "improper" interactions,
#    (by default, most of the time), we would use this subgraph:
#           0
#           *                  1st bond connects atoms 2 and 0
#           |              =>  2nd bond connects atoms 2 and 1
#         _.*._                3rd bond connects atoms 2 and 3
#       *'  2  `*
#      1         3
#
# In OPLS (as implemented in TINKER .PRM files), the central atom
# is the third atom ("2").
bond_pattern = Ugraph([(2,0), (2,1), (2,3)])

Since the 2023 version of OPLSAA was released (v2.21.2), the answer to this question is no longer true.
For this new 2023 version of oplsaa.lt, the first atom is the central atom.  The symmetry rules have changed too.
So this question is no longer relevant, and my answer is misleading.  I will close this issue.


Hearthstat not maximizing

So whenever I minimize the program, and I try to bring it up again, it won't come up... anyone know what might be causing this?

Hey we've heard of this issue before, not quite sure why this would be happening. We have some announcements coming soon though :)


libfprint-2-tod1-vfs0090: init at 0.8.5

Motivation for this change
add vfs0090 tod module, which allow usage of the fingerprint sensor built into 2016 thinkpad, such as the T460p
upstream: https://gitlab.freedesktop.org/3v1n0/libfprint-tod-vfs0090
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)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 126403 at a75c6664 run on x86_64-linux 1

1 package built successfully:

libfprint-2-tod1-vfs0900

2 suggestions:

warning: patch-phase
patchPhase should not be overridden, use postPatch instead.
Near pkgs/development/libraries/libfprint-2-tod1-vfs0090/default.nix:16:3:
   |
16 |   patchPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/libraries/libfprint-2-tod1-vfs0090/default.nix:27:3:
   |
27 |   installPhase = ''
   |   ^

Cleaned this up again, extracted the patch phase into patches :)
I'm using this for fingerprint authentication on my T460p, like:
  services.fprintd.enable = true;
  services.fprintd.tod.enable = true;
  services.fprintd.tod.driver = pkgs.libfprint-tod-vfs0090;
  security.pam.services.valodim.fprintAuth = true;


Webpack watch + livereload

Hi, I have a question,
I'm using webpack with grunt,
there is some way to configure webpack with watch enabled,
and that watch mode, enabling livereload?, since I'm thinking, that watch mode is related to
grunt-watch.
Regards.

contributing guidelines

Please post a question to StackOverflow with the webpack tag. Questions that include your webpack.config.js and relevant files are more likely to receive responses.


python39Packages.cryptography: switch to pytestCheckHook, little cleanup, add SuperSandro2000 as maintainer

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg eval

Would you mind actively maintaining this package? Then I'd remove myself as maintainer (I've been planning to do that for a while now but it's an important and security-critical package that shouldn't be unmaintained).

Na, no problem. Do you have anything else you want to hand over?

Na, no problem.

Cool, thanks :)

Do you have anything else you want to hand over?

Hehe, plenty... :o :D
Luckily I've already managed to get rid of most of the packages that I don't use anymore :)


Updating readme and server

split name into first and last name in server, made username unique, updated readme

Great idea Kevin!


Do not redirect static routes, copy/title updates

Minor QA follow up to Auth changes in Reaction v 26.0.0-

Static routes such as /login and /signup use destination instead of redirectTo to forward users home. (Using redirectTo was preventing new signups from hitting onboarding)
Use copy for modal options instead of title. These options are used for the same thing, but title is less widely used and should be deprecated.

Warnings

:warning:
The staging version of Metaphysics has breaking changes, this might not affect your build, but could mean your queries don't work the way you expect. See below for breaking changes:

:warning: Field 'artworksByInternalID' was removed from object type 'Query'
:warning: Field 'artworksByInternalID' was removed from object type 'Viewer'

  Generated by :no_entry_sign: dangerJS against 859e543146842cbccb2e08c1d7dcf7ec10b549fb


Imported CSS module has to be client-side only?

FIrst of all, thanks for another great project. I was looking for a suitable CSS-in-JS approach with SSR and this gem came along.
Onto issue (or hopefully it's me doing something wrong) - I'm adopting Next for SSR in a project and have this as custom Document as per https://github.com/zeit/next.js/#custom-document:
_document.js
import React from 'react';
import Document, { Head, Main, NextScript } from 'next/document';
import flush from 'styled-jsx/server';

export default class MyDocument extends Document {
  static async getInitialProps({ renderPage }) {
    const { html, head, errorHtml, chunks } = renderPage();
    const styles = flush();
    return { html, head, errorHtml, chunks, styles };
  }

  render() {
    return (
      <html lang="en">
        <Head>
          {styles}
        </Head>
        <body>
          <Main />
          <NextScript />
        </body>
      </html>
    );
  }
}

in another component, using styled-jsx to import component stylesheet
import React from 'react';
import styles from './styles.css';

const Component= () =>
  <div className="">
    {process.browser &&
      <style jsx>
        {styles }
      </style>}
  </div>;
export default Component;

Babel config
{
  "presets": ["next/babel", "latest", "stage-0"],
  "compact": true,
  "plugins": [
    "styled-jsx/babel",
    ...
  ]
}

I was only able to import external stylesheet with check for client-side with process.browser.

Without the check and writing in the usual way
import stylesfrom './styles.css';
...
    <style jsx>
      {styles}
    </style>
...

styled-jsx output became null

Anyone knows if this is intended behaviour when there is SSR in custom Document, that we must add client-side check, or it is a bug? I can extract my code out into a separate repo if anyone wants to reproduce the issue.

Oops looks like Next doesn't support imports on SSR yet according to https://github.com/zeit/next.js/issues/2434?


Themes and object type standardization

Themes and object types are not supported by all sources. The sources that support it most are the sources that re-use HBO Kennisbank connections. The problem is that Publinova is supposed to solve some problems that HBO Kennisbank could not. It's unclear how good the HBO Kennisbank data around themes and object type is.
Besides the HBO Kennisbank values don't seem to be the same as what we get from Sharekit, so at least some mapping will need to get done for:

HAN
VHL

The sources that don't provide any data or values that might be harder to map to Sharekit values are:

HKU
HvA

This ticket is here to solve these problems, but it's mostly a political problem not a technical one. We no longer see incomplete object type or theme data as a blocker to accept the connection stories to any source.

@martineteirlinck @JohnMeurs I've summarized a problem that I see across multiple sources. There is time to solve these issues, but as said above: the main challenge is political not technical. If you can do a proposal how this should work I can start working on it for all sources.

Huidige themes: https://harvester.publinova.nl/admin/metadata/metadatavalue/?field__id__exact=5
Huidige objects: https://harvester.publinova.nl/admin/metadata/metadatavalue/?field__id__exact=6


null safety operations 2

Only added changes from files that needed updating

@nathanielajayi7 I'm sorry, I forgot to upgrade my Flutter version constraints, so this explains how things broke in the first place. Actually I want to support Flutter 2 and 3. If I have success on my task, you won't need to upgrade Flutter, please stay tight, I will get back to you.
Thank you for your contribution, it helped me to get aware of this issue and motivated me to seek some advice at the Flutter devs, directly.

@nathanielajayi7 Due to null-safety this project was only available from 2.12.0 on, but FVM only has pre-versions following up. So in conclusion 2.10.5 was never compatible with this package, so you have to update to Flutter version 3 in any case, I'm sorry.
I will define the constraint >=3.0.0 <4.0.0 now, thank you.

@nathanielajayi7 You can update to 2.0.0-mb.20 and use the package on Flutter 2 or 3.
Thanks for your patience and the support.


Error in az ad app create --credential-description

az feedback auto-generates most of the information requested below, as of CLI version 2.0.74

Describe the bug
When creating ad app with credentials-description you may get an error if it is too long
λ  az ad app create --display-name "mytestapp" --password  "apassword" --credential-description "superlongdescriptionforpasswordonthisperticularadtestapp"
# When present, application key identifier cannot be empty and can be at most 32 bytes.
# Parameter name: applicationKeyIdentifierValue

Expected behavior
If this is intended behaviour, a better logmessage would be very helpful in identifying which argument is wrong. there is no argument called applicationKeyIdentifierValue in the command so it is hard to know what went wrong here

Thanks for the feedback - I have routed to the appropriate team for follow up.

Hi team, having the same problem.
Azure Portal UI allows creation of secrets with long description, yet az cli fails.
What might be a path forward for automated secrets creation? @maggiepint  @haroldrandom
# ok
az ad sp credential reset --name $appName --append --credential-description "ado-platform123"

# fails
az ad sp credential reset --name $appName --append --credential-description "ado-platform1234"
> az : ERROR: When present, application key identifier cannot be empty and can be at most 32 bytes.

Whoever needs this functionality, here is a working path forward

get the app registration objectId
use az cli rest call against addPassword endpoint

Reference

https://docs.microsoft.com/en-us/graph/api/application-addpassword?view=graph-rest-1.0&tabs=http
https://docs.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest#az_rest

function Get-AppObjectId($appName) {
     $appId = [guid]$(az ad app list --query "[?displayName=='$appName'].objectId" --all -o tsv)
     return $appId
}

$appObjectId = Get-AppObjectId "my-app-registration-display-name"

$body = @{
    "passwordCredential" = @{
        "displayName" =  "123456789_123456789_123456789_123456789"
    }
}

$bodyValue = $body | ConvertTo-Json -Compress
$bodyValue = $bodyValue.Replace('"', '\"')

$url = "https://graph.microsoft.com/v1.0/applications/$appObjectId/addPassword"

Write-Host "[~] posting: $url" -Fore Green

az rest --method POST `
    --uri $url `
    --headers "Content-Type=application/json" `
    --body "$bodyValue"

@ArgTang Apologies for the delayed response. This GitHub issue has been open for quite some time. Could you please let us know if you still facing this issue and need assistance? Awaiting your reply.

@SaurabhSharma-MSFT
Yes this is still an issue we run into regurarly. my understanding is that this ties into the azcli graph migration, do you have any eta on that one?

Same as https://github.com/Azure/azure-cli/issues/20561


First run issue

Good morning,
I installed pymoo using pip on a win10 pc.
When I run one of the example (I started with the one in the readme file) I have always this error:
File "<__array_function__ internals>", line 4, in any
NameError: name 'dispatcher' is not defined

How can I fix it?
Thank you!
EDIT
I'm really sorry,
I just figured out that something broke my anaconda installation.
I solved reinstalling it.

No problem.


Unable to open file

Describe the bug
Unable to open file
To Reproduce
Steps to reproduce the behavior:
https://user-images.githubusercontent.com/42504385/141647829-41d83384-ca30-4abd-99fa-86c32b0f16ba.mp4
Expected behavior
A clear and concise description of what you expected to happen.
use Amaze File Manager and Simple File Manager

Which device are you using?

Mobile phone   Sony Xperia 10 III

Which device are you using?

Mobile phone Sony Xperia 10 III

@Pantyhose-X
Okay, There is crash happening in your device right?
Can you send me crash logs report because I can't re-generate this type of issue.

@Pantyhose-X Okay, There is crash happening in your device right? Can you send me crash logs report because I can't re-generate this type of issue.

l don't know how to make a collapse diary

On Android 11
--------- beginning of crash

2021-11-30 14:32:53.150 595-595/? A/libc: crash_dump helper failed to exec
2021-11-30 14:32:53.276 27176-27279/? E/CheckPermission: _bluetooth code = 1
2021-11-30 14:32:53.322 27176-27176/? E/cr_CompositorSurfaceMgr: Transitioning to surface with format : -1
2021-11-30 14:32:54.100 27331-27370/? E/libEGL: Invalid file path for libcolorx-loader.so
2021-11-30 14:32:54.113 27176-27266/? E/Parcel: Reading a NULL string not supported here.
2021-11-30 14:32:54.116 1632-5204/? E/OppoBaseDisplayPowerController2: can't get service binder: oppposcreenmode
2021-11-30 14:32:57.350 626-631/<EMAIL_ADDRESS>Error opening kernel wakelock stats for: wakeup41: Permission denied
Reason: Input dispatching timed out (2a40710 com.simform.videoimageeditor/com.simform.videoimageeditor.videoProcessActivity.CombineImageAndVideoActivity (server) is not responding. Waited 5000ms for FocusEvent(hasFocus=false))
Parent: com.simform.videoimageeditor/.videoProcessActivity.CombineImageAndVideoActivity
Load: 0.0 / 0.04 / 0.09
----- Output from /proc/pressure/memory -----
some avg10=0.19 avg60=0.50 avg300=0.33 total=2709896345
full avg10=0.06 avg60=0.19 avg300=0.13 total=1110446703
----- End output from /proc/pressure/memory -----
CPU usage from 0ms to 8228ms later (2021-11-30 14:32:47.301 to 2021-11-30 14:32:55.529) with 99% awake:

The way I solved this is using the system media picker instead of the one that this library provides. It's the safest option out there and you don't have to worry about the policy related stuff on google play store.
ActivityResultLauncher<String> videoPickerLauncher =
            registerForActivityResult(new ActivityResultContracts.GetContent(),
                    uri -> {
                        deleteAllTempFiles();
                        videoUri = uri;

                    });

You can use videoUri to get file from your selected location, make the file object using the uri & use it with FFMPEG, It will work flowlessly!


NamedStatement problem when converting to date

Hi,
First of all thank you for a great and simple DB library. I've used it in almost every Go project.
I've recently started to use it with oracle database and it works great. However today I saw an issue where sqlx.PrepareNamed assumed both :59 and :MI in the below statement to be bind parameters which clearly they are not.
TO_DATE('23/10/2015 23:59', 'DD/MM/YYYY HH24:MI')

Is it possible to disregard any ":" when it is between single quotes.

Hi again,
I've read the code and found that double colons are used to escape so currently everything is working, still I think it would be better to keep track of and open single quotes in the compileNamedQuery function to disregard ":" in the query is more elegant and robust.
I can submit a pull request if you think that this is the way to go.

Hi I saw the discussion on a pull request you had about this. Detecting whether ":" are in a string while supporting different DBs is actually very hard as you suggested. Double colons to escape is much simpler in this case. I am closing my issue :)


readComposeFiles should attempt to open all files in the ComposeFiles array before returning an error

Given a project context, I might want to support a different filename. This is possible via ComposeFiles:
Context: project.Context{
  ComposeFiles: []string{"my-custom-compose-file.yml", "docker-compose.yml"},
  ProjectName:  "my-cool-project",
}

But if this project is missing my-custom-compose-file.yml, instead of falling back to docker-compose.yml, libcompose returns an error. This happens here: https://github.com/docker/libcompose/blob/4dc70801c9b8bba9c1e20ad887b6266151b7ee21/project/context.go#L60
Instead of returning an error immediately, if there are still more file paths in c.ComposeFiles, readComposeFiles should iterate through the array and only return a not found error if none of the files in the ComposeFiles array can be found.

Although I agree, this is not how docker/compose behave :
λ docker-compose -f docker-compose.yml -f toto.yml ps
ERROR: .IOError: [Errno 2] No such file or directory: u'./toto.yml'

But I think this should be configurable somewhere when creating the project (hence the kind/enhancement label) : fail in any specified file is not found, or just if all specified file are not found.

Ah yeah. I think the current behavior makes the most sense when you are expecting "docker-compose.yml" and then an additional override file. Should specifying completely alternate filepaths (that don't adhere to the main/override pattern) go somewhere else?

Should specifying completely alternate filepaths (that don't adhere to the main/override pattern) go somewhere else?

I don't think so. A "don't fail too quickly on missing file" switch is more than fine by me :stuck_out_tongue_closed_eyes:.
/cc @joshwget wdyt ?

I think a switch would be fine. This could also be handled outside of libcompose pretty easily. If you have a list of filenames you want to check, you could just scan for those and pass the first one found to libcompose. Even the current behavior doesn't necessarily have to be done at the project level, but it makes sense as a default.

Yeah, I think you're right. I've already implemented a workaround outside of libcompose where we just scan for available files and then pass them to the project context. Since libcompose should have 1-1 parity with Docker Compose, I'm hesitant to introduce something else that would allow for softer error handling. Closing this for now, but would be happy to implement the switch if more people asked for it.

@rheinwein @joshwget it seems there is a switch already, called IgnoreMissingConfig in the Context struct :angel: Didn't know about that one :sweat_smile:


Update introduction-01.md

Single word tweak in the docs.

@r-vieira : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Twitter Bridge, filter may not be null if '&filter=&' appears in request

For lists without filters, evaluating !is_null($this->getInput('filter')) might be too strict.
In testing, rss-bridge/?action=display&bridge=Twitter&user=VideoGameDJ&list=chiptune&filter=&format=Html returns no results while /rss-bridge/?action=display&bridge=Twitter&user=VideoGameDJ&list=chiptune&format=Html works OK. The former is what shows up in my address bar.
It looks like other bridges are just testing the truthiness of $this->getInput() for this kind of thing.

The PR was merged, so this issue can be closed.


Queue wrapping doesn't work with Cassandra

https://github.com/spring-cloud-samples/spring-cloud-sleuth-samples/blob/main/cassandra-reactive/src/main/resources/application.yaml#L4-L7

I can't replicate this anymore. Things look to work just fine.


added new blog post about $ object

#44

PR-Codex overview
This PR focuses on adding a blog post about the $ object in the EO programming language.
Detailed summary

Added a new blog post titled "$ Object"
Explained the significance and functionality of the $ object
Provided an example to illustrate how the $ object works
Discussed practical applications of the $ object
Concluded with the importance and potential of leveraging the $ object in EO programming

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@maxonfjvipon Could you please take a look?

@maxonfjvipon Could you please check again?

@yegor256 Please have a look

@yegor256 Could you please take a look?

@yegor256 please have a look