migrate permissioning ATs to junit5

fixes #6262

I reran with ssh, tried simple gradlew command and got the same error from ./gradlew tasks
circleci@ab021ec40634:~/project$ ./gradlew tasks
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.6/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=fd048ea5-91d9-4189-91db-07e86e06fac0, currentDir=/home/circleci/project}
Attempting to read last messages from the daemon log...
Daemon pid: 21665
  log file: /home/circleci/.gradle/daemon/7.6/daemon-21665.out.log
----- Last  20 lines from daemon log file - daemon-21665.out.log -----
2023-12-08T01:17:16.277+0000 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Starting executing command: Build{id=fd048ea5-91d9-4189-91db-07e86e06fac0, currentDir=/home/circleci/project} with connection: socket connection from /<IP_ADDRESS>:34601 to /<IP_ADDRESS>:52616.
2023-12-08T01:17:16.280+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: started DaemonCommandExecution[command = Build{id=fd048ea5-91d9-4189-91db-07e86e06fac0, currentDir=/home/circleci/project}, connection = DefaultDaemonConnection: socket connection from /<IP_ADDRESS>:34601 to /<IP_ADDRESS>:52616] after 0.0 minutes of idle
2023-12-08T01:17:16.280+0000 [INFO] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater] Marking the daemon as busy, address: [24ff835f-b00d-4ba2-b288-7e5488675bc2 port:34601, addresses:[localhost/<IP_ADDRESS>]]
2023-12-08T01:17:16.280+0000 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Marking busy by address: [24ff835f-b00d-4ba2-b288-7e5488675bc2 port:34601, addresses:[localhost/<IP_ADDRESS>]]
2023-12-08T01:17:16.281+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.
2023-12-08T01:17:16.281+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-12-08T01:17:16.283+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-12-08T01:17:16.283+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] resetting idle timer
2023-12-08T01:17:16.283+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes.
2023-12-08T01:17:16.284+0000 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=fd048ea5-91d9-4189-91db-07e86e06fac0, currentDir=/home/circleci/project}. Dispatching build started information...
2023-12-08T01:17:16.284+0000 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 31: dispatching org.gradle.launcher.daemon.protocol.BuildStarted@613deb7b
2023-12-08T01:17:16.285+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: [PATH, MILL_VERSION, NO_PROXY, GRADLE_OPTS, CIRCLE_WORKFLOW_WORKSPACE_ID, SBT_VERSION, CIRCLE_PR_USERNAME, CIRCLE_PULL_REQUEST, CIRCLE_PROJECT_REPONAME, CIRCLE_WORKING_DIRECTORY, CIRCLE_INTERNAL_TASK_DATA, PWD, LANGUAGE, LESSOPEN, BASH_ENV, GRADLE_VERSION, PAGER, CIRCLE_BUILD_NUM, CI_PULL_REQUEST, MAVEN_VERSION, COMPOSE_VER, CIRCLE_SHA1, OLDPWD, CIRCLE_NODE_INDEX, CIRCLE_NODE_TOTAL, DEBIAN_FRONTEND, LC_ALL, CIRCLE_SHELL_ENV, LS_COLORS, SHLVL, LESSCLOSE, CIRCLE_PLUGIN_TEST, COMPOSE_SWITCH_VERSION, DOCKER_VERSION, CIRCLE_PR_REPONAME, JAVA_HOME, CIRCLE_PROJECT_USERNAME, TERM, LANG, CIRCLE_INTERNAL_SCRATCH, CIRCLE_BUILD_URL, CIRCLE_BRANCH, CIRCLE_PULL_REQUESTS, JAVA_VERSION, _, CIRCLECI, CIRCLE_USERNAME, CIRCLE_PR_NUMBER, CIRCLE_REPOSITORY_URL, CI, CIRCLE_JOB, CIRCLE_WORKFLOW_ID, SSH_AUTH_SOCK, CIRCLE_INTERNAL_CONFIG, HOSTNAME, CIRCLE_WORKFLOW_JOB_ID, HOME]
2023-12-08T01:17:16.290+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection.
2023-12-08T01:17:16.290+0000 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 21665). The daemon log file: /home/circleci/.gradle/daemon/7.6/daemon-21665.out.log
2023-12-08T01:17:16.293+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon] Requesting daemon stop after processing Build{id=fd048ea5-91d9-4189-91db-07e86e06fac0, currentDir=/home/circleci/project}
2023-12-08T01:17:16.293+0000 [LIFECYCLE] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon will be stopped at the end of the build
2023-12-08T01:17:16.293+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Stop as soon as idle requested. The daemon is busy: true
2023-12-08T01:17:16.293+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon stop has been requested. Sleeping until state changes.
2023-12-08T01:17:16.296+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
2023-12-08T01:17:16.297+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=7e86db81-7728-49f6-a89e-60c0dc19adef,javaHome=/usr/local/jdk-17.0.9,daemonRegistryDir=/home/circleci/.gradle/daemon,pid=21665,idleTimeout=120000,priority=NORMAL,daemonOpts=--add-exports,jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED,--add-exports,jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED,--add-exports,jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED,--add-exports,jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED,--add-exports,jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED,--add-exports,jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED,--add-exports,jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED,--add-exports,jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED,--add-opens,jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED,--add-opens,jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED,--add-opens,jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED,--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx4g,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]
----- End of the daemon log -----

FAILURE: Build failed with an exception.

* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

but with ./gradlew --no-daemon tasks it worked
./gradlew --no-daemon tasks
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.6/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Task :tasks

------------------------------------------------------------
Tasks runnable from root project 'besu'
------------------------------------------------------------

Default tasks: build, checkLicenses, javadoc

Application tasks
-----------------
run - Runs this project as a JVM application

Build tasks
-----------
assemble - Assembles the outputs of this project.


Squiggle issue

Sorry for the continued bug reports - at least this one isn't blocking :)  Also there's an outside chance I'm learning enough about the codebase to put together pull requests....
Anyway.  Given this file: https://www.dropbox.com/s/grjxey1roley4ig/Presentation1.pptx?dl=0  (specifically the illustration under 'foggy') and the following code.
#!/usr/bin/python
from pptx import Presentation
from pptx.enum.shapes import MSO_SHAPE_TYPE

def slide_title_placeholder(slide):
	"""from https://github.com/scanny/python-pptx/issues/153#issuecomment-84475019"""
	for shape in slide.shapes:
		if not shape.is_placeholder:
			continue
		if shape.placeholder_format.idx == 0:
			return shape
		return None

def make_title(label):
    return label.lower().strip().replace(" ","_")

prs = Presentation("testSuite/bugs/Presentation1.pptx")
for slide in prs.slides:
    title=slide_title_placeholder(slide)
    print "%s" % make_title(title.text)

I get the error.
Josephs-MacBook-Pro$./reduce.py

Traceback (most recent call last):
  File "./reduce.py", line 24, in <module>
    print "%s" % make_title(title.text)
AttributeError: 'NoneType' object has no attribute 'text'

As I mentioned in the the other issue where I gave you the slide_title_placeholder() code, you need to test for None as a legitimate return value from slide_title_placeholder(). Not all slides have a title placeholder, notably a slide created from the "Blank Slide" slide layout will not have one. Also the title placeholder can be deleted, which will have the same effect.
https://github.com/scanny/python-pptx/issues/153#issuecomment-84475019

Damnit - the more convinced I am that something is a bug the less likely it
is... sigh...
On 30 March 2015 at 22:09, Steve Canny<EMAIL_ADDRESS>wrote:

As I mentioned in the the other issue where I gave you the
slide_title_placeholder() code, you need to test for None as a legitimate
return value from slide_title_placeholder(). Not all slides have a title
placeholder, notably a slide created from the "Blank Slide" slide layout
will not have one. Also the title placeholder can be deleted, which will
have the same effect.
#153 (comment)
https://github.com/scanny/python-pptx/issues/153#issuecomment-84475019
—
Reply to this email directly or view it on GitHub
https://github.com/scanny/python-pptx/issues/157#issuecomment-87832183.

--
Dr Joe Reddington
joereddington.com


feat: input handlers

currently how the autocd option is implemented is by recreating the hybrid runner and changing directory if the input fits. obviously, this doesn't work if you don't use the hybrid runner
my idea to making this better is input handlers: simple functions which are passed input and return alternative input which is then passed to a runner.
i'm not sure how having multiple input handlers would work: priority numbers maybe? but that can get messy with people having like 99999 priority. or maybe you would specify order before name

for the main reason i brought this up it doesnt seem to actually help, as different runners are gonna have completely different syntax that might want to handle this differently but it doesnt seem to be a bad idea in general. ill close it for now though


bug: neotest-golang shows WARN when there are build errors

Did you check docs and existing issues?

[X] I have read the documentation.
[X] I have searched the existing issues.

Neovim version (nvim -v)
NVIM v0.10.0
Operating system/version
MacOS 14.7.1
Output from :checkhealth neotest-golang
neotest-golang: require("neotest-golang.health").check()

Requirements ~
- OK Binary 'go' found on PATH: /opt/homebrew/bin/go
- OK Found go.mod file for
- OK Treesitter parser for go is installed
- OK neotest is available
- OK nvim-treesitter is available
- OK nio is available
- OK plenary is available

DAP (optional) ~
- OK Binary 'dlv' found on PATH:
- OK dap is available
- OK dapui is available
- OK dap-go is available

Gotestsum (optional) ~
- OK Binary 'gotestsum' found on PATH:
- Found gotestsum to be installed, but not set as test runner.

Describe the bug
I am using Lazyvim.
Below warning message is shown if build fails due to come error during compilation.
WARN | 2024-11-19T22:32:17Z+0100 | .../nvim/lazy/neotest-golang/lua/neotest-golang/logging.lua:69 | [neotest-golang] Test(s) not associated (not found/executed):
On checking the logs further I found this might be due to go test non-json output on stdout during build failure. golang team already has this issue
Steps To Reproduce

Write a test.
Introduce some compilation error.
Run tests.

Expected Behavior
Warning notification should not appear. Output should show build related errors in panel.
Your Lua setup
Default config.

Hey again @abhipranay if you update neotest-golang to use what's on the main branch, you should now see updated behavior.
Please let me know what you think!


Roadmaps

A lot of work needs to be done here. I put in only a README for now to get the discussions going. 😬
cc @astropy/coordinators @eblur

@ceb8 is going to draft a new one based on Roadmap WG 2021 discussions.


Requirements?

Every thing works fine in the demo but as soon as i integrate the same code in my page it doesn't work, so frustrating ... are there any requirements?

The requirement is that the google maps V3 library has loaded. So if you're loading it async, it must be in the onload callback.


always shows half a heart

idk if its the version im using (1.1.0) or if its the server version (Pufferfish (Velocity)) but whenever i look at a player the health indicators show up at half a
heart no matter what

even spectators have half a heart

This is a PVPLegacy issue, not a mod-side issue. I assume they have some sort of "anti-cheat" that makes it so you cant see it.

This is a PVPLegacy issue, not a mod-side issue. I assume they have some sort of "anti-cheat" that makes it so you cant see it.

@HoonDawg05 Is there anyway you can make it, so it doesn't show the health bar when it can show it? For example, in PVP Legacy that doesn't show it at all or in other Minecraft servers where they show a player having full health (even though they don't) until you hit them (it happens in CubeCraft).

It seems to be a pvp legacy thing, something to do with the server’s anti-cheat but it works on almost any other server besides Hypixel.


WebApp - Need to switch to the account in case connect to extension with only 1 account

Describe the task
Need to switch to the account in case connect to extension with only 1 account
Actual: Switch to All account

Expect: Switch to specific account

Version test: http://<IP_ADDRESS>:8900/s/AmHC5rXeHPwzQqR
Validation passed.


Add support for loading environment variables from .inve.ini file

I had a similar use case to Pull Request #36. I reimplemented @rraval's changes against the latest codebase and added some tests.
I'm also interested in adding adding some commands to pew to manage environment variables within a virtualenv. E.g.
pew setvar env1 VariableName VariableValue

Hey @DanMayhem, thanks for bringing my old PR up to speed.
I've been using a .inve.ini to inject variables into my pew environments, but the more I think about it, the cruftier it seems. The string interpolation is crufty: trying to interpolate a variable that does not exist simply passes it along instead of erroring out or being replaced by the empty string. Overall, the INI setup seems too focused on injecting a simple set of variables without any support for logic or other more complicated setups.
I think the approach in #3 is actually the way to move forward. Allow the user to define a python module somewhere under $VIRTUAL_ENV that pew can source. pew can just define a number of function names that it calls as hooks, and the inve hook can simply inject things into os.environ to get all the functionality in the INI approach.
@berdario thoughts?

Thanks!
In the meanwhile, I asked my friend who used virtualenvwrapper with hooks... but apparently he doensn't use hooks anymore :/
Also, I found an use case for setting environment variables as well, but it was an instance of "cumbersome app configuration" that could have been (and was!) fixed by using sane defaults.
I'm not sure yet what would be the problem with the string interpolation that you mentioned, but I only skimmed the proposed changes. But if we both agree that doing it in python code is the way forward I'll pick that. At least now I know which usecases (just the env variables) for more than 1 person I can/have to cover.
I'll probably use something like the VIRTUALENVWRAPPER_HOOK_DIR (defaulting to WORKON_HOME) for the location of the hooks/customization
That file name could be something like user_scripts.py, user.py, hooks.py or something else
There'd be one such global file, and one for each env, and the file would probably look like this:

env = {
  'CUSTOM_VAR': 'VAL'
}

def get_env_details(env):
  yadayada

def preactivate(env):
  yadayada

@priority(20)
def postrmvirtualenv(env):
  yadayada

I was thinking of using @priority to let the user specify in which order some hooks should be executed, rather than simply defining that the global hooks will be overridden (or executed before) the per-env hooks. but this latter alternative might be better
Also, obviously setting the environment variables can clash with the .bashrc (or the like) that gets sourced/executed by the subshell, but hopefully users should be aware of that and usually just define extra variables (rather than redefining things like PATH)
To execute random scripts/program, subprocess.call should be enough, so I don't plan to implicitly allow anything else than python scripts as hooks/program to be executed
This is just a quick comment that I wanted to write down. I've been quite busy lately, but this change is definitely one of the most interesting for me

FWIW, I like the idea of having a better thought out interface to environment variables in virtualenvs built-in to pew. My inclination is to use Forman-style .env files to control them, and not have any dynamism in them.
That doesn't preclude the possibility of python-file hooks, though. I don't have a problem with that idea either.

I've been thinking about this pull request and issue #3 a lot over the last couple of days, reading about virtualenvwrapper hooks and looking for examples of how people use hooks (I've never used them myself).
Depending on which hook is being invoked, sometimes virtualenvwrapper sources the hook (e.g. postactivate) and sometimes it runs the hook in a child process (e.g. get_env_details). I'm curious about people's thoughts on running the hooks in the pew process or running them in a child process.
Running the hooks within the pew process would allow the user to do things like setting environment variables or changing the working directory (although we'd need to think through the implications for the pew-inall command), but they wouldn't have access to the packages in the virtual environment or the virtual environment's version of python. Running the hooks in the pew process reduces the "environment variable problem" down to a straightforward user-provided script. Either based on the .inve.ini implementation, a Foreman-style .env implementation or simply altering os.environ.
Running the hooks as a child process (executed in the virtual environment) allows the user to work in the virtual environment and do things like starting a starting a development server or installing packages. In this approach setting environment variables would have to be handled as a special case.
Maybe the answer is to have some hooks run in the pew process and some run in the virtual environment?
I can prototype some options if it would be useful for discussion.

@DanMayhem Take a look at #47, which is one possible implementation of hooks. It allows for the definition of certain hooks that only run in the pew process and other hooks that run in the child process.

superceded by #47

The discussion will go on on #47 but:

the pew setvar proposal still needs to be evaluated (if we go with an all-python approach like I was planning it'll probably be rejected, but still...)
All the hooks will be probably executed in-process: the pew inall aspect shouldn't be a problem, if hook-functions won't be used to modify environment variable (for that, either a hooks.env variable should be defined, or another configuration file should be used). But otoh, there's no simple way to guarantee that the user won't modify the env in such a function. Anyhow: by having in-process hooks it is possible to fork into subprocesses, while the converse wouldn't be possible. Also: depending on where the hooks are actually invoked, I don't think that running in a subprocess would necessarily make it easy to work in the virtual environment

For that last concern, the easiest way imho is just to wrote a simple script that uses pew in (and obviously such a script could be forked out in one of those hooks)

One of the use cases I found was to install packages in postmkvirtualenv, which I agree could be done with a pew in. But another use case was to start a local service on postactivate. Since I would expect pew in to call postactivate prior to executing the command, I don't think it makes sense to call pew in from postactivate.
In cases like this it would be nice to have the hook execute in a fully activated environment.
That of courses raises problems with the gists on #47 because those would have a dependency on pew - which may not be present in the virtual environment.
Or maybe we don't have a postactivate hook.

Yes, the postactivate hook would have to be completely different from any other hook, so I don't plan to implement it
Sent from mobile. Please excuse my brevity.


Try to handle contentInset on scroll

Here's an attempt to clean up and fix the various patches in issue 30. I don't know if it works perfectly, since this is such an awkward operation, but I've tried to include most of the things suggested by different users, and corrected it to calculate things properly.
You probably have a better idea of how to simplify it or make it make more sense, though.

Really appreciate you opening this. Indeed, there are some subtle ways to improve the implementation, but nothing major. I think the basic idea is sane .. However, would like to take a :hocho: at it myself and see what comes out.
ETA: 2 weeks

Yeah, with a tricky piece of code like this, you really want to have a good grip on every part of the code or it will fall apart real quick. I'll use this in the meanwhile until you can put something together.

OK, finally got around to this. By running the demo, I can see the component not in perfect condition. The best way to approach this is to build on top of the existing "drawer" system (see readme). Notice how the sticky extension view follows the navbar religiously? We need to create a similar relationship between the scrollView and the extension view.
I am looking for ways to do that, and hopefully give you more details. Do you think you're up that?

This should finally be resolved in v1.0.0. Thanks @DagAgren !


create bastion

the create bastion ROLE use a kickstart file where SOME additional packages are installed after the "minimal" environment
In all.yaml variable file includes packages that are required for the bastion.
Please install the packages from ONE place only (better is to maintain a list in all.yaml)

I like this idea. It's confusing to have multiple places where packages are installed.
Please check out this commit from PR 178. It removes the list from bastion.ks


Added Java swing tutorial

Added the new Java swing tutorial.

@Humayun-glitch something is wrong with your branch. please align it

@Humayun-glitch something is wrong with your branch. please align it

It gives me that there is no conflict with the base branch. Could you please elaborate on that?


Orchestration with a lot of activities call with Task.WhenAll take sometimes alot of time to be mark as completed

Hello,
Time to time we have some orchestration in the following state:
Instance is Running
Task is empty
All Events related to the instance are completed and they are removed slowly from events according to the
taskEventBatchSize and taskEventLockTimeout.
Any idea how to fix this?

Maybe it's related . Azure recommand to add
CREATE NONCLUSTERED INDEX [nci_wi_NewEvents_0C4B0C7A9B472311807DF4F70A041684] ON [dt].[NewEvents] ([TaskHub], [VisibleTime]) WITH (ONLINE = ON)

Can you provide more details about how to reproduce this problem? How many activities is your orchestration running in parallel?

Hello can be 50K or more

I think this could also be fixed by #134


NPC

NPC's records are missing.

These were added yesterday, if more are missing (which I don't think they are) tell me which one(s) in your next issue post.


Disable view-markdown-source where it already exists

Closes https://github.com/sindresorhus/refined-github/issues/4834

Test
Native

https://github.com/sindresorhus/refined-github/blob/main/readme.md
More URLs in https://github.com/sindresorhus/refined-github/issues/4834#issuecomment-931400778
Our feature

https://github.com/iamandrewluca/issue-view-markdown-source/blob/main/file.mdwn
https://github.com/iamandrewluca/issue-view-markdown-source/blob/main/file.mdx
https://github.com/iamandrewluca/issue-view-markdown-source/blob/main/file.litcoffee
https://github.com/iamandrewluca/issue-view-markdown-source/blob/main/file.rst

Thanks @iamandrewluca


Opens application switcher dialog instead of running app on android

Ionic version:
[ ] 2.x
[ x ] 3.x
[ ] 4.x
I'm submitting a ...
[ x ] bug report
[ ] feature request
Current behavior:
When I run ionic cordova run android --device, it runs the app, but also application switcher dialog opens. You can view it using adb shell input keyevent KEYCODE_APP_SWITCH command on terminal.
Expected behavior:
Just run the app, do not open application switcher dialog
Steps to reproduce:
Just run ionic cordova run android --device. It repeats on any app for me.
Other information:
I'm using Xiaomi Redmi 4 phone with android 6.0.1 (MMB29M), stable MIUI <IP_ADDRESS> (MBEMIEK), not rooted.
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (/path/to/app/node_modules)

    @ionic/cli-utils  : 1.19.1
    ionic (Ionic CLI) : 3.19.1

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.5
    Cordova Platforms  : android 7.0.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Node : v8.9.4
    npm  : 5.6.0
    OS   : Linux 3.10

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

Hi @Maxim-Mazurok! I believe this command is run by Cordova rather than Ionic itself. Do you have the same problem when just running cordova run android --device after building with Ionic?
I have a Nexus 5 with the same version of Android and it does open the task switcher first, then the app is launched. I'd say this is the normal behavior when running any Cordova app on Android.

Hi @FdezRomero, I'll try to check it later this week once again, thanks for advice.


[FEATURE]: Create WeatherService for mockablity and live

Description

Weather service protocol
Mock weather service implementation
Live weather service implementation
Local model

Additional Information
No response

This is out of my wheelhouse and stepping out of my comfort zone. If no one else would like to take this, I can make an attempt. Although I have one question:

Live weather service implementation
Do we have an OpenBytes API Key available for use or should we use our own first?

Do we have an OpenBytes API Key available for use or should we use our own first?

This will use Apple's WeatherKit so it will be handled by provisioning profiles and capabilities. We will need to either set it up for our personal account and use different bundle ids per developer.. or use a single account for the bundle id.


GSE103892  - Sathyamurthy2018MouseSpinal

Project short name:
Sathyamurthy2018MouseSpinal
Primary Wrangler:
Ida
Secondary Wrangler:

Link to Ingest

https://contribute.data.humancellatlas.org/projects/detail?uuid=cdc2d270-6c99-4142-8883-9bd95c041d05&tab=project

Associated files

Google Drive: folder

Published study links

Paper: Massively Parallel Single Nucleus Transcriptional Profiling Defines Spinal Cord Neurons and Their Activity during Behavior

Accessioned data: GSE103892

Key Events

[x] Convert published metadata to HCA spreadsheet
[x] Manually curate dataset to meet HCA metadata standard
[x] Collect any matrix and cell-type annotation files
[x] Upload sheet to validate metadata
[ ] Check linking using ingest graph validator
[x] Transfer raw files to ingest to validate data files
[ ] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Submit dataset to Production
[ ] Complete the Export SOP
[ ] Convert project data to SCEA format following the SCEA conversion SOP if appropriate

May be available for secondary review today.

[ ] @idazucchi to make available for secondary reviewing
[ ] @Wkt8 to begin secondary reviewing

Graph valid! This is ready for secondary review

Could not find the excel spreadsheet in the google drive folder so i downloaded it from the ingest endpoint

Notes:
Need to add yourself as a contributor!
The numbers of mice are a bit confusing as they don't match up to the number of mice described in the methods. E.g. 10 formalin-treatment mice in the GEO accession but only 5 are mentioned in the paper in the Methods section.

I found this at the bottom of one of the GEO accessions (https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM2785683) *For all formalin samples, a second round of sequencing was performed, producing ten sequencing reactions for the five biological replicates.
I think what this means is that the five extra formalin-treatment mice are not additional donors, but are biological replicates (sequenced again from the same cell suspensions).
This will, however, make the linking more difficult as you don't know which new set of sequence file was linked to which cell suspension. You might have to email about this.

I couldn't see this information from the protocol stored anywhere (12mL of density buffer (1M sucrose, 10mM HEPES pH 8.0, 3mM Mg-Acetate, 1mM DTT) was then added carefully below the nuclei layer and the tube was centrifuged at 3,200xg for 20 minutes. The supernatant was then rapidly poured off and the nuclei on the walls of the tube were collected with 1mL of PBS with 0.01% BSA and spun at 3,200xg for 10 minutes. Nuclei were then resuspended in PBS with 0.01% BSA.)
Everything else looks good!!

I sent an email asking for the linking information and the mouse sex (see email thread)

I got the missing linking info, updated the submission and started graph validation


separation of Sign-Ups vs Attendees for events

[6:31 PM] Shadoww: Suggestion/Request:
Would it be possible to do a separation of Sign-Ups vs Attendees for events? (Even as just an optional setting during event creation)
Basically making it to where  any number of people (with appropriate roles) can sign up for an event but then the Attendees (The limited slots for that event) are then manually added by the event moderator/DM and chosen from the list of sign ups (with Stand-By being reserves chosen from the list if the moderators wanted reserves to be chosen).
And if so would it be possible to update the bots reminder alert DMs to only send the reminder alert to those that have been selected as attendees and stand by?
Main reason I ask is cause the way it works on a server I'm in, instead of first come first serve they do it by setting the attendees really high (100) and allow anyone that can make that time to sign up, but then the DM randomly determines 4 or 5 of the people that signed up, to actually participate in the game. And honestly my DMs from the bot is flooded with a bunch of event reminders for games I didn't get accepted to, so unless I scroll through the entire event channel and manually withdraw from each game the day before it starts, if I'm not chosen to participate, I end up with an alert for something I'm not participating in.

9:31 PM] Jay (GMT+1): that's interesting ... let me think about the mechanics behind that (it may be easier once i implement 'buttons' instead of 'reactions') ...  in the meantime, the approver role can /event_signup and /event_withdrawal any attendees they wish ... so what they could do is allow '0' attendees (would need to test that actually), and everyone would signup as 'standby', then the approvers could /event_edit the event and increase the number of available slots and then /event_signup the people they choose (which would move those attendees from the standby to an actual attendee slot)
[8:06 AM] Jay (GMT+1): so, just tested 0 attendees, and right now I don't allow it ... so let me check and see if i can quick patch that to work -- https://discord.com/channels/785567026512527390/790768892058402826/873099385859362816


StackLLAMA script to merge peft adapter does not work with checkpoints

When using the Huggingface Trainer with a model that has LoRA adapters, the checkpoints stored contain only the adapters. The script in the StackLLAMA example to merge adapters into a model only works with a complete model that was saved (adapters + model). However, the complete model is not stored by the trainer, it is only stored when I call
model.save_pretrained(output_name + "_peft_last_checkpoint")
Thus, it should be possible to merge a model from arbitrary checkpoints.
Happy to provide a PR if that helps.

I understand. I was unclear in terms of what the issue is. I'll try to elaborate.
When I want to use a checkpoint that the SFTTrainer generated, the merging script does not work. It generates a directory containing the base model without any merged adapters.
python3 merge_peft_adapter.py \
    --adapter_model_name=checkpoint-2500 \
    --base_model_name=meta-llama/Llama-2-7b-chat-hf

This is unexpected because I would either expect it to merge the model based on the checkpoint or raise an error.

Not sure what the issue is here. How did you verify that the folder contains the base model and not the new model with the merged adapters? In general you could also add a model = model.merge_and_unload() before you save the model in the SFTTrainer script.

You're right, this is not an issue. The new script should work both with checkpoints saved by the trainer as well as with checkpoints saved manually.
I confused the new and old script!


Ribbon 2.0 Http client vs Feign

https://github.com/Netflix/ribbon/tree/master/ribbon
We already support ribbon 2.0.
Ribbon 2.0's supports a fluent builder style and and annotation declarative approach ala Feign.
Should we deprecate feign? It would simplify the number of netflix packages we support.

Wouldn't need #441 since we already have ribbon customization.

@adriancole @mstine @dsyer
Maybe it's retrofit 2 instead: https://speakerdeck.com/jakewharton/simple-http-with-retrofit-2-droidcon-nyc-2015

Multiple converters possible (proto, json, etc...) in a single client.
Discreet request and response interactions
Multiple pluggable execution mechanisms (synchronous, Callback, Observable, etc...)
Multipart support
Future websocket support (2.1)

Unknown

Custom annotation handling.

Arg, retrofit doesn't have pluggable clients, only okhttp: https://github.com/square/retrofit/blob/master/retrofit/src/main/java/retrofit/Retrofit.java#L101

@spencergibb not sure it if helps, but okhttp can now implement apache's client:
https://github.com/square/okhttp/blob/master/okhttp-apache/src/main/java/com/squareup/okhttp/apache/OkApacheClient.java

@adriancole is this worth keeping open for discussion? Or should we close it and track what the framework async client might look like?

close

@spencergibb What about original question:

Ribbon 2.0 Http client vs Feign?

When reading https://github.com/Netflix/ribbon/tree/master/ribbon it true that Ribbon has a similar high-level abstraction as Feign. So what are the advantages to use Feign over Ribbon (directly)?

The Netflix guys mentioned during their presentation (http://www.infoq.com/presentations/spring-cloud-netflix) that Feign is not popular and not really maintained at Netflix.

@kakawait @aivans we're continuing with feign. Pivotal employs the maintainer of Feign @adriancole, so it's not going away anytime soon. We like feign because of it's abstraction away from an implementation like Ribbon. There may be work in spring-framework 5 that might cause us to come back to this.

Thanks Spencer

@spencergibb pretty awesome. We are starting migrating some part of monolitics app to microservices on top of Netflix OSS and Spring cloud and we are using Feign because we found it abstraction really pleasant and fit ours needs. So I can continue to use it if pivotal still support Feign.

Popular is relative to something else.. like ex feign is less popular than
a lot of things, probably most things. Its release at all was an accident
of deployment of denominator. When at netflix, I'm pretty sure I never
presented feign or blogged about it. It was mostly selfish, as I didn't
want 5 issues/day on how to use eclipse.
I'm grateful to Netflix for their years of support of feign: that support
wasn't advertising or curating internal use. Netflix support has been
hiring awesome people. Ex @rspieldenner and @diannemarsh who help keep
Feign's build/release going without asking for anything in return.
Through the years, I've been surprised at interest. Ex. I found out from
@joshlong at a no-fluff conference one night that it was actually in
spring! Before, I thought feign in spring was a mad-scientist experiment
from @spencergibb https://github.com/spencergibb and @dsyer.
Long story long is.. I don't think zombie projects are helpful, if I
thought feign was unnaturally alive, I'd probably help kill it. Feign's
life has never been defined by statements from Netflix, and that'd be sort
of un-netflix anyway. As long as people still want it, I'm sane
(relatively), and the project remains simple, I'm happy to continue to help
with Feign.

@adriancole we hope you stay sane(ish) working at pivotal! Thanks for the great work.

Thank you @adriancole for everything! I think yes Feign is certainly less popular than Hystrix, Eureka or other Netflix OSS project. But with new mouvances for microservices and even more thanks to @joshlong that offering us some live demo of Spring Cloud Netflix including Feign. Feign can become more popular, but it just speculations...
I'm happy to use Feign at the moment! I will continue to use it so.
Just one point to validate is performance comparaison between pure Ribbon and Feign. Feign may slower due to abstraction but if just few nanoseconds :)

subtle pull request changed the nature of retrofit interop. So long as the http client (aka call factory) uses okhttp/okio types, it can be swapped out now https://github.com/square/retrofit/pull/1394

@adriancole that's nice. I'll play with it and see what it might look like.

hurray i love that this is real (and working w/ Sleuth!)
:+1:
thanks @adriancole for sanely and super not-selfishly developing Feign. it's the gift that keeps on giving!
& thanks @kakawait - glad you dig the demos and i hope you do demos for people you care about too! :-)

2 years later Feign is discontinued and Ribbon is in maintenance mode. What next?

@piotrgwiazda goo.gl/z1ZFoD

@piotrgwiazda Feign discontinued? Where do you get that from?

Feign is not discontinued. It is now openfeign and run by community members


Commented out includes

Noticed that we had some commented out includes that still were included in the graph. Would be nice if the regexp could take that into account.
(Although I know it would be a bit tricky to handle all kind of situations like multi line comments using /* */ and #ifdef, however a simple // comment should be easy to handle).

Hi,
Yes, a simple solution would be to use the regex '^\s*#include\s+["<"](.*)[">]' in multiline mode but it will only detect at most one #include by line while the previous version can detect several. But I don't think anyone is doing this anyway.
The ideal solution is to write a custom parser that detects #include and comments, it is not that hard. Maybe a bit slow in Python.

Hi,
Yes, a simple solution would be to use the regex '^\s*#include\s+["<"](.*)[">]' in multiline mode but it will only detect at most one #include by line while the previous version can detect several. But I don't think anyone is doing this anyway.
The ideal solution is to write a custom parser that detects #include and comments, it is not that hard. Maybe a bit slow in Python.

@pvigier this regex will not work, better do '[^\/\/]#[ ]{0,1}include\s+["<](.*)[">]'. It also includes for space between # and include

Hey,
Thanks for the suggestion, but your regex has several issues:

it does not work if there is no character before #
the regex should allow for spaces between the comment token // and #
*[^\/\/] is the same thing as [^\/] so it does not detect \\ but \ so it will fail to match valid includes such as /**/#include "foo.h"
Are you sure that it is legal to put a space between # and include? I have never seen that.

No it doesnt assume, i ran it on a source code
Yeah I got it!, sorry for this
The company I am working with has the whole code formating like this (a space between # and include)

import re
regex = re.compile('[^\/\/]#[ ]{0,1}include\s+["<](.*)[">]')
regex.findall('#include "foo.h"')

returns []
I suspect there are some characters before the first #include in your files (e.g. a license preamble, author list, etc.). Otherwise, the first #include is skipped.

import re

# Accept commented out includes
#regex = re.compile('^\s*[\/\/|\/\*]*\s*#\s*include\s+["<](.*)[">]\s*[\*\/]*\s*$')

# Reject commented out includes (but not on multi lines)
regex = re.compile('^\s*#\s*include\s+["<](.*)[">]\s*$')

print(regex.findall('     #   include "foo.h"  */'))


Remove default user.context_sensitive_dictation = 1

I think that user.context_sensitive_dictation = 1 is an absolutely atrocious default. Whether context sensitive dictation works for an application or not, is pretty much independent of German mode. I just spent the better part of an hour trying to understand why my user.context_sensitive_dictation = false was being ignored, before realizing that it wasn't ignored in English dictation mode - which I have never used except for testing this.

I think are right with this, thanks for bringing this to my notice.
Since german dictation is now no different from english dictation, this repo should not change the established behaviour just because the language is different.
How this came to be is that the old vosk branch originally had its own implementation with a separate setting, and when I recently switched to the community implementation I just moved over the setting as well.
Also be aware that this branch is still a bit of a work in progress.
On a different note, if you happened to deactivate context sensitive dictation because there is some specific application or website that does not play well with it (for example slack, vim, word), note that you can apply this setting on a per-context basis.
So you could enable it globally and just deactivate it for individual troublesome applications, or have it disabled by default and enable it for known good applications. In my experience this is more convenient than simply deactivating the feature everywhere.
There is also the option of overwriting dictation_peek() to adjust for application specific behavior.

Also be aware that this branch is still a bit of a work in progress.

You keep repeating yourself. I am well aware that this was all work in progress. This is why I am trying to help this make progress.

So you could enable it globally and just deactivate it for individual troublesome applications, or have it disabled by default and enable it for known good applications.

I am aware of this, and I am following the latter approach. For the time being, I am only using dictation with emacs and libreoffice, and my personal emacs.talon already contains.
settings():
    user.context_sensitive_dictation = true


"Last Updated" time

The main status indicator shows the "last updated" time as the time of the first update. For example if I posted the incident one hour ago it will say "last updated 1 hour ago" though I've been updating every 15 min.
Is there some way I can fix this to the last update time or change the wording?
Thanks!

The time since last update worked perfectly on the next incident I created.

I haven't had this issue since last week, time since last update has been working fine.


Test open_close_lseek functionality

Make sure that everything is in working order for the demo.

I found no bugs.


Cannot take pictures on Android 8

If I try and take a photo on a device using Android 8 (Samsung Galaxy S7 edge) with targetSDK 26, i get an error

file:///data/user/0/{mypackage}/cache/Capture.jpg exposed beyond app through ClipData.Item.getUri()

Which I believe is due to changes in how apps can access the file system from Android Nougat.  See
https://stackoverflow.com/questions/38200282/android-os-fileuriexposedexception-file-storage-emulated-0-test-txt-exposed
I am using:

8.1.2<EMAIL_ADDRESS>android 7.1.2
cordova-plugin-camera 4.0.3
cordova-plugin-console 1.0.3
cordova-plugin-file 6.0.1

I have tried adding the following to my AndroidManifest.xml
<provider android:authorities="com.okappy.okappy.provider" android:exported="false" android:grantUriPermissions="true" android:name="android.support.v4.content.FileProvider">         <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/camera_provider_paths" />     </provider>
And the following to camera_provider_paths.xml
<paths xmlns:android="http://schemas.android.com/apk/res/android"> <external-path name="external_files" path="."/>
But I get the same error unless I change the targetSDK to a lower value.  Is this something simple i'm missing or is it a bug in the plugin?
Thanks
Richard

To fix this issue we had to edit the android manimanifest.xml.
Located here:
project/android/src/main/AndroidManifest.xml
Add the xmlns:tools:
<manifest android:hardwareAccelerated="true" android:versionCode="87" android:versionName="0.0.14" package="nl.package.name" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
Add the tools:node="remove" to the write external storage:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" />

@jeffreyvdhondel thanks but this does not work still..

Hi @jeffreyvdhondel thanks for the response. I tried your suggestion but unfortunately it still does not work, still the same error.

@jeffreyvdhondel work perfectly

We solved our issue now with this fix.
https://github.com/bitstadium/HockeySDK-Cordova/issues/100#issuecomment-465903717


[Fn] Add test suites for every solutions of each problem.

https://github.com/Williammer/leetcode/commit/9d96feef9b75e297713969863622a09de19fce84
Added jasmine test env, and the tests of each problem has started rolling.


Vulkan: Subviewport Debug Draw rendering incorrectly

Godot version
v4.0.dev.calinou [b0e93711b]
System information
Linux Kubuntu, Vulkan, NVIDIA GeForce GTX 1050 Ti, Driver Version: 495.44
Issue description
The Debug Draw options in Rendering doesn't appear to apply the corresponding effects. For example Wireframe displays Overdraw, Overdraw displays Lighting, and also Unshaded doesn't appear to be working correctly.
Steps to reproduce

Create a SubViewport and assign a Camera to it
Enable any of the options in Rendering -> Debug Draw

Minimal reproduction project
No response

Note: This applies to the SubViewport debug draw property, not the debug draw mode options listed in the 3D editor's Perspective menu.

Yeah i just ran into the same problem. I found a little workaround:
func _ready() -> void:
	$SubViewportContainer/SubViewport.debug_draw = Viewport.DEBUG_DRAW_WIREFRAME

Fixed the issue but of course this should be fixed in the editor.

Likely the enum names are in the wrong order in the property registration

It looks like the order is generally correct, though the "Lighting" name is unincluded in the Debug Draw options which offsets the values of the last two names in the menu by one.  Do you think the solution to this issue would just be to add "Lighting" to the property registration?

Ya, that sounds fine


Extension causes high cpu load

Issue Type: Performance
Extension Name: ligatures-limited
Extension Version: 1.3.3
OS Version: Windows_NT x64 10.0.19041
VSCode version: 1.47.3

:warning: Make sure to attach this file from your home-directory:
:warning:C:\Users\Quang\kshetline.ligatures-limited-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

Your attachment doesn't seem to have worked. You'll have to send it again.
Also, can you tell me if there was any noticeable problem for you as a user, like a slow or unresponsive editor, or is the only problem that an error or warning was logged?

Closing because of lack of response.


Add new fields to Listings and Reports and Content and Usage modules

We need to add add these fields to the Atmire L&R and CUA modules:

dc.description.version (L&R)
dc.relation.ispartofseries (L&R)
dc.publisher (L&R)

Removing dc.isijournal as it seems to already be in both CUA and L&R.

Closing as it seems we weren't meant to add these to CUA, only L&R.


Find Day Name From Given Date Using Python (passed as an argument in dd-mm-yyyy format)

Hi
I am GSSOC'22 participant and want to add day-finder script in this project.
@abhijeet007rocks8 Can you please assign me the task?
Thanks

@TrickSumo while creating PR please follow all the Contribution Rules which are mentioned in the issue #43 .


Sim Theme Park / Theme Park World

Hi,
Is it useful for Sim Theme Park / Theme Park World?
As much as i tried by renaming it ddraw.dll or else no any change. And the game sometime run almost freezed by Hardware rendering and just can run so low quality on Software rendering option.
Please check the game and tell what is the best option for it.

I don't own this game and I am not sure if there is a demo I can download and test.  But, it looks like the game is using DirectX 6.1.  So, if you are using the latest unreleased build, then you should either use dd7to9 or DDrawCompat.
Here is the latest unreleased build:  dxwrapper.zip


[SourceKit] RPATH 'lib/swift/host' should be added without BOOTSTRAPPING

as long as the Swift parser integration is enabled. Also, remove redundant RPATH additions.

@swift-ci Please smoke test


Search Feature

Finish functionality, documentation and test cases for:

#94
#6
#1

Codecov Report
Base: 68.07% // Head: 69.96% // Increases project coverage by +1.89% :tada:

Coverage data is based on head (1a6cf1f) compared to base (a3a2d30).
Patch coverage: 60.52% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #104      +/-   ##
============================================
+ Coverage     68.07%   69.96%   +1.89%
- Complexity      589      617      +28
============================================
  Files            88       90       +2
  Lines          1961     1998      +37
  Branches        245      248       +3
============================================
+ Hits           1335     1398      +63
+ Misses          531      494      -37
- Partials         95      106      +11

Impacted Files
Coverage Δ

...on/search/ContactContainsAllKeywordsPredicate.java
25.00% <25.00%> (ø)

...on/search/ContactContainsAnyKeywordsPredicate.java
40.62% <50.00%> (ø)

...va/soconnect/model/person/search/SearchPrefix.java
56.25% <56.25%> (ø)

.../java/soconnect/logic/parser/ArgumentMultimap.java
85.71% <66.66%> (-14.29%)
:arrow_down:

...n/java/soconnect/logic/commands/SearchCommand.java
78.57% <71.42%> (-11.43%)
:arrow_down:

...person/search/ContactMightBeRelevantPredicate.java
85.71% <85.71%> (ø)

...c/main/java/soconnect/commons/util/StringUtil.java
90.90% <92.85%> (-0.40%)
:arrow_down:

...va/soconnect/logic/parser/SearchCommandParser.java
100.00% <100.00%> (+71.42%)
:arrow_up:

...main/java/soconnect/logic/commands/AddCommand.java
91.66% <0.00%> (-8.34%)
:arrow_down:

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Laravel 11 | Warning 1265 Data truncated for 'user_id'

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When I access the login page I get error 500 below.
https://www.example.com/canvas/login
Note: 'sessions.user_id' is a bigint (20)
SQLSTATE[01000]: Warning: 1265 Data truncated for column 'user_id' at row 1 (Connection: mysql, SQL: update sessionssetpayload= YTo0OntzOjY6Il90b2tlbiI7czo0MDoiZmtGMWs3RUdsVEJVY3VESmRXTzRLUDVYMlliM3dIeGJ1Q0Z5NGxNeiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzI6Imh0dHBzOi8vd3d3LmtsYXlyaXZlci5jb20vY2FudmFzIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo1MzoibG9naW5fY2FudmFzXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO3M6MzY6IjkwOGIzNGIxLTZkYWEtNGYxMC1iYWI5LWE1NWI4NjM0NTNlYyI7fQ==,last_activity=<PHONE_NUMBER>,user_id= 908b34b1-6daa-4f10-bab9-a55b863453ec,ip_address= <IP_ADDRESS>,user_agent= Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS> whereid = b46ZFoRfsccM5IIvvGJhHBQOK3DYpHWDIhTxAyqm)
Expected Behavior
I expected the home page to load.
Steps To Reproduce
I've installed laravel 11 on my live server (no jetstream), then:
cd /laravel
composer require austintoddj/canvas
php artisan canvas:install
 // got login credentials
 email<EMAIL_ADDRESS>psw: password
php artisan storage:link

Environment
php 8.2
laravel 11
Ubuntu 22.04
Canvas: latest (6.0.54)

Anything else?
Please help, thanks.
https://github.com/austintoddj/canvas/discussions/1094
https://github.com/austintoddj/canvas/issues/851

Just create a new migration
public function up(): void
{
Schema::table('sessions', function (Blueprint $table) {
$table->string('user_id', length: 255)->change()->nullable();
});
}

+1 this breaks on new installs

+1 this breaks on new installs

Have u tried my solution? https://github.com/austintoddj/canvas/issues/1431#issuecomment-2245970944

yep but it likely needs to be addressed in the package itself

The solution:
changing the users table
$table->foreignID('user_id')->nullable()->index();
to
$table->uuid('user_id')->nullable()->index();
Worked for me

This looks like a similar issue to #851 and #1022. @alex32 are you using a file session driver or DB?


python3Packages.sqlalchemy-continuum: 1.3.9 -> 1.3.11

fixes the build

Motivation for this change
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

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

Result of nixpkgs-review pr 93434 1

5 packages built:
- python27Packages.sqlalchemy-continuum
- python37Packages.ihatemoney
- python37Packages.sqlalchemy-continuum
- python38Packages.ihatemoney
- python38Packages.sqlalchemy-continuum


Not an issue, but a request

is it possible for you to make it so i can input my own custom search engine, instead of preset ones like google and duckduckgo?

Added ✅
You can just copy the url of the search engine and put a {query} where the word should be inserted.
For example when searching for "hello world" on brave search, the url would be:
https://search.brave.com/search?q=hello+world

And then you can use this url in the settings text field:


Cannot access data from multiple select

Here is my code:
            Select2::make('Members', 'members')
                ->sortable()
                ->options($users)
                ->configuration([
                    'placeholder'             => __('Choose members who can attend to this task.'),
                    'allowClear'              => true,
                    'minimumResultsForSearch' => 1,
                    'multiple'                => true,
                ]),

The input allows selecting multiple users. But when I dd the request data in model observer, it returns null.
    /**
     * Handle the task "saving" event.
     *
     * @param Task $task
     * @return void
     */
    public function saving(Task $task)
    {
        dd($task->toArray()); // The members is null.
    }

Here is screeshot of the request array:

Hi @phuclh, could you provide all code, with models and Nova models, etc...

I am using Nova 2.0.6, here is my code:
My Resource:
class Task extends Resource {

    /**
     * The model the resource corresponds to.
     *
     * @var string
     */
    public static $model = TaskModel::class;

    public static $with = ['users', 'campaign'];

    public static $displayInNavigation = false;

    /**
     * The single value that should be used to represent the resource when being displayed.
     *
     * @var string
     */
    public static $title = 'name';

    /**
     * Get the search result subtitle for the resource.
     *
     * @return string
     */
    public function subtitle()
    {
        return 'Campaign: ' . $this->campaign->name;
    }

    /**
     * The columns that should be searched.
     *
     * @var array
     */
    public static $search = [
        'name',
    ];

    /**
     * Only show tasks that was assigned for user.
     *
     * @param NovaRequest $request
     * @param \Illuminate\Database\Eloquent\Builder $query
     * @return \Illuminate\Database\Eloquent\Builder
     */
    public static function indexQuery(NovaRequest $request, $query)
    {
        if (!auth()->user()->can('view any tasks'))
            $query->assigned();

        return $query;
    }

    /**
     * Get the fields displayed by the resource.
     *
     * @param \Illuminate\Http\Request $request
     * @return array
     */
    public function fields(Request $request)
    {
        $campaign = \Phuclh\NovaCampaign\Models\Campaign::find($request->viaResourceId);
        $users = \App\User::all()->pluck('name', 'id')->toArray();

        return [
            ID::make()->sortable()->hideFromDetail(),

            Select2::make('Members', 'members')
                ->sortable()
                ->options($users)
                /**
                 * Documentation
                 * https://select2.org/configuration/options-api
                 */
                ->configuration([
                    'placeholder'             => __('Choose members who can attend to this task.'),
                    'allowClear'              => true,
                    'minimumResultsForSearch' => 1,
                    'multiple'                => true,
                ]),
        ];
    }

    /**
     * Get the cards available for the request.
     *
     * @param \Illuminate\Http\Request $request
     * @return array
     */
    public function cards(Request $request)
    {
        return [];
    }

    /**
     * Get the filters available for the resource.
     *
     * @param \Illuminate\Http\Request $request
     * @return array
     */
    public function filters(Request $request)
    {
        return [];
    }

    /**
     * Get the lenses available for the resource.
     *
     * @param \Illuminate\Http\Request $request
     * @return array
     */
    public function lenses(Request $request)
    {
        return [];
    }

    /**
     * Get the actions available for the resource.
     *
     * @param \Illuminate\Http\Request $request
     * @return array
     */
    public function actions(Request $request)
    {
        return [];
    }
}

My Model:
class Task extends Model {

    protected $with = ['users', 'campaign'];

    protected $casts = [
        'start_at' => 'date',
        'end_at'   => 'date'
    ];

    /**
     * Get all users who assigned for a given task.
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
     */
    public function users()
    {
        return $this->belongsToMany(User::class)->withPivot('campaign_id');
    }

    /**
     * Get the campaign that this task belongs to.
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function campaign()
    {
        return $this->belongsTo(Campaign::class);
    }

    /**
     * Get task group that a given task belongs to.
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function taskGroup()
    {
        return $this->belongsTo(TaskGroup::class);
    }

    /**
     * Get all kanban boards belong to task.
     *
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    public function boards()
    {
        return $this->hasMany(KanbanBoard::class);
    }

    /**
     * Get articles that were assigned for current writer.
     *
     * @param $query
     * @return mixed
     */
    public function scopeAssigned($query)
    {
        return $query->whereHas('users', function ($builder) {
            return $builder->where('user_id', auth()->user()->id);
        });
    }
}

My Task Observer
class TaskObserver {

    /**
     * Handle the task "saving" event.
     *
     * @param Task $task
     * @return void
     */
    public function saving(Task $task)
    {
        dd(request()->toArray()); // Both of these statement return null for members
        dd($task->toArray()); // Both of these statement return null for members
    }

@koss-shtukert update error from console.

@koss-shtukert do you have any ideas?

@phuclh
Try to visit on Wiki MorphToMany relationship and using boot method in your Model, not -TaskObserver
In new Release, I'm fix .js issue :)

@phuclh
Maybe, you just forgot getter method in your model:
    public function getMembersAttribute()
    {
        return $this->items->pluck('id')->all();
    }

@phuclh
Any news? Have you solved the issue?


Contradiction in crates.io documentation

The crates.io documentation gives the following example of using this library in Cargo.toml:
# Cargo.toml
[dependencies]
sqlx = { version = "0.3", default-features = false, features = [ "runtime-tokio", "macros" ] }

Yet, on crates.io, this feature is absent from the list:

Cargo Feature Flags
- runtime-async-std (on by default): Use the async-std runtime.
- runtime-tokio: Use the tokio runtime. Mutually exclusive with the runtime-async-std feature.
- postgres: Add support for the Postgres database server.
- mysql: Add support for the MySQL (and MariaDB) database server.
- sqlite: Add support for the self-contained SQLite database engine.
- uuid: Add support for UUID (in Postgres).
- chrono: Add support for date and time types from chrono.
- time: Add support for date and time types from time crate (alternative to chrono, prefered by query! macro, if both enabled)
- bigdecimal: Add support for NUMERIC using the bigdecimal crate.
- ipnetwork: Add support for INET and CIDR (in postgres) using the ipnetwork crate.
- json: Add support for JSON and JSONB (in postgres) using the serde_json crate.
- tls: Add support for TLS connections.

An example that uses an apparently nonexistant feature is a contradiction and thus should be fixed.

It is missing from the list, (even still) but the feature most definitely does exist
So, the proper fix would be to add it to the list


Creating and exporting highly serviced bus stops

Closes #280
Closes #281
Highly serviced bus stops extracted. feather file saved in england_bus_timetable on sync. csv file saved in misc - TO DELETE as not required for the pipeline to run. Also included bus_samples.xlsx in misc - TO DELETE which creates the stops for a random sample of 1,00,000 records and  checkpoints the data at various stages. I found it useful for QA-ing the process.
Main changes

Time table filter now done by day (stored in config) rather than by specific date
Filter by year function removed
Filter by day function kept incase used in the future. Updated because it was just filtering for all days between certain dates and not the day of the week associated with the specific date.

@nkshaw23
The same error occured on both the cloud VM and a local machine.
'''
FileNotFoundError: [Errno 2] No such file or directory: '/home/james/programming/SDG_11.2.1/data/england_bus_timetable/stop_times.txt'
'''

@nkshaw23 I am almost ready to merge this code, but could you critique what I did there, just so I am not committing my own code without a review.

Looks good. Tested the auto download with three scenarios

No england_bus_timetable directory
Files already existing but not out of date
Files existing but out of date

Left one comment RE day filtering.


Plug a typo.

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

Verified.
@crayxt Thanks for this fix.


Platforms Theme not showing the platforms

Hello.
Thanks for your quick reply at my last "Issue Report".
I was now able to instal the "Platforms" Theme, however it is not showing the platforms of the games, as I'm goint to show you.
Here is my Playnite:

And here is how it should look, acording to the images of the "Platforms" Theme that you have uploaded here:

I only have 2 games now at Playnite, just to test the application... But one of them is a SNES game, and the other one is a Steam game for Windows... And neither of the platforms are showed on the Top Menu

That's driven by a feature of Playnite itself called Filter Presets. You need to create Filter Presets and name them to match what is in the wiki of this theme.


Chore/por/dep

resolves https://github.com/Informasjonsforvaltning/dataset-catalog-gui/issues/415

@NilsOveTen Oja, OK. Endrer commit-navnet.


refactor: container image lister as go binary, add support for reporting image size

…ing image size
What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.005%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
2564

Relevant Lines:
3611

💛  - Coveralls


feat(treesitter): follow upstream captures

nvim-treesitter may be updated soon, still in discussion but it is planned, see https://github.com/nvim-treesitter/nvim-treesitter/issues/4799#issuecomment-1860154411. The purpose is to follow the treesitter common core to share queries, so some captures will be redefined.
I created this PR to follow upstream changes to avoid highlights break by the breaking change.
There are some highlights defined in treesitter common core but not mentioned in nvim-treesitter

@carriage-return
@comment.documentation
@embedded
@escape
@markup.link
@markup.quote
@property.builtin
@variable.member

And not sure all helix captures will be applied. This PR only follow the common core, need to continue to follow the implementation.

Hello, nvim-treesitter maintainer here 👋 I believe it's better to link new hlgroups to old ones for the time being, i.e<EMAIL_ADDRESS>= { link =<EMAIL_ADDRESS><EMAIL_ADDRESS>= {...} to keep compatibility with both current and soon-default branch of nvim-treesitter

For the legacy highlights, instead of setting a separate highlight, highlight link would be a better idea.

I think If the upstream does not do this, the downstream should not add it either, and for the legacy branch users, the highlights be linked to mean nothing because they should not exist yet.
For me recording a macro to assign again is simpler than linking them. :D
However, I will consider it carefully again before the PR gets merged.

There are two extra highlight groups added:

@markup.list, to reduce abuse of @punctuation.special
@diff.delta, even not used in queries, I link it to diffChanged  like the convention

One highlights group was split:

@text.uri is now @markup.link.uri in markup links and @string.special.url outside of markup.   I assigned the value of @text.uri to @markup.link.url.

Updates here :)
@text.reference -> @markup.link and @field -> @variable.member, @markup.quote is now also added

The refactor is merged into nvim-treesitter experimental branch main. I followed it up and it is ready to merge now.

nvim-treesitter/nvim-treesitter#5895 is the PR that will backport the changes to master. So you can test it there.

LGTM.

Thank you so much for the PR!


( Gameplay ) Update Hit in STD Ruleset

🤔🤔🤔 Really??

look like i can find this element
issue it's now close


Custom New action or new view for a paricular model

Can I have a custom new action or a new view for a particular model. Like I have three models but I would like to have a diffrent new action page for a particular. Adding a view/rails_admin/main/new.html.erb render the view for all the models but I want to use this view only for one model
Actually I want to modify the new form for a paricular model. I want that some fields in new form to be  populated by some defaults

Ok I figured out all I had to do is to use partials for field for edit action like
config.model Model do
    edit do
      field :attribute do
        partial 'new_partial'
      end
     end
  end

and place the partial in app/views/rails_admin/main/_new_partial.html.erb

@divyanshumehta hello can you close this issue if its already solved?

Sure,


RC5 Auth0Lock is not defined

Hi, I'm completely lost here and somewhat new to ng2 and typescript.
I've used the ng2 CLI (latest beta version creates RC5 project) to create a scaffold, I've lifted the auth service from here/tutorial here https://auth0.com/docs/quickstart/spa/angular2/01-login
My auth service
import { Injectable, NgZone } from '@angular/core';
import { Router, CanActivate } from '@angular/router';
import { tokenNotExpired } from 'angular2-jwt';

// Avoid name not found warnings
declare var Auth0Lock: any;

@Injectable()
export class Auth {
  lock = new Auth0Lock('wn8VNyDDuEHIioxZCL0eG2evRnpAM32L', 'workremoteio.eu.auth0.com');
  refreshSubscription: any;
  user: Object;
  zoneImpl: NgZone;

  constructor(zone: NgZone, private router: Router) {
    this.zoneImpl = zone;
    this.user = JSON.parse(localStorage.getItem('profile'));
  }

  public authenticated() {
    // Check if there's an unexpired JWT
    return tokenNotExpired();
  }

  public login() {
    // Show the Auth0 Lock widget
    this.lock.show({}, (err, profile, token) => {
      if (err) {
        alert(err);
        return;
      }
      // If authentication is successful, save the items
      // in local storage
      localStorage.setItem('profile', JSON.stringify(profile));
      localStorage.setItem('id_token', token);
      this.zoneImpl.run(() => this.user = profile);
    });
  }

  public logout() {
    localStorage.removeItem('profile');
    localStorage.removeItem('id_token');
    this.zoneImpl.run(() => this.user = null);
    this.router.navigate(['/home']);
  }
}

@Injectable()
export class AuthGuard implements CanActivate {
  constructor(private router:Router) {
  }

  canActivate() {
    if (tokenNotExpired()) {
      return true;
    }

    this.router.navigate(['/home']);
    return false;
  }
}

And the login component
import { Component, OnInit } from '@angular/core';
import { Auth } from '../auth.service';

@Component({
  selector: 'app-login',
  templateUrl: 'login.component.html',
  styleUrls: ['login.component.css']
})
export class LoginComponent implements OnInit {

  constructor(private auth: Auth) { }

  ngOnInit() {
  }

}

And infact the entire project is here: https://github.com/merrickfox/angular2-auth0
the error:
zone.js:461Unhandled Promise rejection: EXCEPTION: Error in ./LoginComponent class LoginComponent_Host - inline template:0:0
ORIGINAL EXCEPTION: ReferenceError: Auth0Lock is not defined
ORIGINAL STACKTRACE:
ReferenceError: Auth0Lock is not defined
    at new Auth (http://localhost:4200/main.bundle.js:51254:25)

I've read some issues regarding this/similar here https://github.com/auth0/lock/issues/521 but nothing I try there seems to help.
If anyone could help take a look at my repo I would be really greatful

You're missing this in the index.html

<script src="http://cdn.auth0.com/js/lock/10.0.0/lock.min.js"></script>

Cheers,
Chris

@cahkee
thankns man you saved me .


Tuya IR blaster and Its supported Device shown unsupported

When I integrat this in Home Assistant my tuya IR blaster and My Air Conditioner both Showing unsupported
This is similar to the tuya inbuilt Ha integration same issue.

There are many scenarios where this situation occurs, such as device manufacturers not configuring standard instruction sets, and smartlife not supporting certain categories or instruction sets.


two new algorithms added, fair oversampling and fair downsampling

@koji8y
Thank you for your comments and suggested usability improvements.  I have changed the names of the folders and I added the links of the tutorials in the README.md file.

@ckalousi
Thank you for your prompt modification.
It looks good to me except for the tiny matter that the links to the ipynb files are expressed using absolute paths, which can be relative in Markdown for robustness against root URL changes. You can see examples of that at the bottom of README.md, in sections "Support" or "License".
In concrete, the first link can be changed from https://github.com/intersectional-fairness/isf/tree/main/src/fair_oversampling/fair_oversampling_tutorial.ipynb to [Tutorial](src/fair_oversampling/fair_oversampling_tutorial.ipynb). (The link label Tutorial is just an example.)
Could you change these expressions?

thank you @koji8y for the catch, I have made the requested changes


Thread 1: signal SIGABRT

For some reason i get this error.
is anyone got this error? there are many reason to get this error but i can not find it.
This is the code:
var datatrans;
GoogleSignin.
signIn().then((data) => {
console.log(data)
datatrans = data
const credential = firebase.auth.GoogleAuthProvider.credential(data.idToken, data.accessToken)
return firebase.auth().signInWithCredential(credential)
})
.catch((error) => {
console.log('Login Fail with an error: ' + error.toString())
this.toggleOffLoading()
})

hi! Seems like your code snippet is related to react native firebase, which is a different package. Please open a new issue and follow the issue template if you believe you're encountering an issue with this package. Thanks.


ProSkillApi spells cant damage sentinels.

Basically https://www.spigotmc.org/resources/proskillapi-create-custom-races-classes-skills-spells-with-an-easy-online-editor.91913/ spells/skills dont damage sentinels. I was hoping you could add support.

That's more likely to be an issue with that plugin than with Sentinel


Typescript types

Hello there!
Since this is my first issue (of likely many), let me introduce myself: I'm currently the main dev on Tobira, the new video portal for Opencast. It is developed here: https://github.com/elan-ev/tobira. The development is currently funded by the ETH, which, as I understand it, also funds Paella 7. We want to use Paella 7 in Tobira and I started integrating it yesterday.
We're happy to see that Paella is now usable via NPM and is more designed like a library. That already helps immensely! However, I already noticed a couple things that, in my opinion, are not optimal. We thought that you might be interested in this feedback.

Now regarding the actual issue: in Tobira, we use Typescript (TS) as frontend language. TS is a superset of JavaScript that allows you to annotate types in several places, which are then used by the compiler to do type checking. If a library does not have types, it's harder for any TS project to use that library. Essentially, we need to write the types ourselves.
There are mainly three ways a library can provide types so that it can be nicely used from TS projects:

The library is itself written in Typescript. This is obviously not the case for Paella, so I guess this possibility is out. (Though, for the record, personally, I would recommend TS over JS for all projects)
The library is written in JS, but maintains types definitions (usually in .d.ts files) in its own repository.
The library is written in JS, but types are stored and maintained in this huge official TS repository.

So what I'm basically asking is: how interested are you in TypeScript? If you are interested, it would be best to maintain the type definitions in this repository. But that only makes sense if you can actually maintain and adjust them when necessary. Otherwise, it would probably be better to let them live externally in the huge repo I linked.
I'd be interested in providing type definitions for this library. I already partially did that, just to make it work in Tobira. The following is very incomplete, but just to give you an idea how these type definitions would look like:

export class Paella {
    public constructor(node: string | HTMLElement, initParams: InitParams);

    public loadManifest(): Promise<void>;
}

export interface InitParams {
    configResourcesUrl?: string;
    configUrl?: string;
    repositoryUrl?: string;
    manifestFileName?: string;

    loadConfig?: (configUrl: string) => Promise<Config>;
    getVideoId?: () => Promise<string>;
    getManifestUrl?: (repoUrl: string, videoId: string) => Promise<string>;
    getManifestFileUrl?: (manifestUrl: string, manifestFileName: string) => Promise<string>;
    loadVideoManifest?: (manifestUrl: string) => Promise<Manifest>;

    customPluginContext?: unknown[];
}

export type Config = Record<string, unknown>;

// Definition: https://github.com/polimediaupv/paella-core/blob/main/doc/video_manifest.md
export interface Manifest {
    // https://github.com/polimediaupv/paella-core/blob/main/doc/video_manifest.md#metadata
    metadata: {
        duration: number;
        title?: string;
        preview?: string;
        // TODO: `related`
    };

    streams: {
        content: string;
        sources: {
            mp4?: Mp4Source[];
        };
        // TODO: `role`
    }[];

    // TODO: `frameList`
    // TODO: `captions`
}

// https://github.com/polimediaupv/paella-core/blob/main/doc/mp4-video-plugin.md
export interface Mp4Source {
    src: string;
    mimetype: "video/mp4";
    res: {
        w: number;
        h: number;
    };
}

Let me know what you think!

I know TS, and we considered using it, but we didn't do it for these reasons:

If you need to use JS libraries without type definitions, it complicates the process a lot (as you well know).
I would like to dispense with Babel in the future and let the browser interpret the JS code directly, at least in debugging, because I'm having a lot of problems with .map files for debugging. Using TS makes this option impossible.
We are not using TS in any other project within our institution, so it would be a very complicated job to maintain and debug.
The main reason: I am the only developer of Paella Player, and therefore I have very little time to maintain and debug it.

Considering all this, and given that Paella Player 7 is divided into several independent repositories, I think the only option is to maintain an independent type definition repository. Where to host or who is in charge of maintaining this repository is a question that is beyond my responsibilities, and perhaps it would be necessary to discuss it through another channel.

Ok, that's fair! Then I think we (Tobira) will maintain our own type definitions for Paella for now. Once those are somewhat usable and once Paella 7 is close to being released, we can think about releasing the type definitions somehow.


feat(calling): Group calling

What this PR does 📖

Implements group calling:

Adds in a mesh architecture that connects everyone with each other
If someone joins the mesh that user will be forwarded to all the others and they will try to connect to the user too. If this request comes from someone in the same call the call will be automatically accepted

Also adds isTalking handling

Which issue(s) this PR fixes 🔨

Resolve #393

Notes

UI rework needs to be still done
Video is not toggable from the other users end (the caller can toggle). But idk if this is due to my setup where i test it on the same computer or not. Also see #466
Ending the call does not turn off camera. prob same cause as above
(Note 2 and 3 also happens in dev this way though)

Something I noticed while testing (I can make this into a new ticket if we just wanna get this merged in)
If User A calls a group with User B and User C and only User B answers the call, it will still look like UserC is in the call with them even though he is not
Like I said lemme know if this would be better handled in a new ticket and I will be happy to create one!
Screen_Recording_2024-09-17_at_4.52.49_PM.mov

changed that now

Looks better but just found one thing that happens now after the fix
When UserA/B are in the call and UserC deny's it, once UserC hits deny the ringtone will re-appear and the user will need to deny it again
Screen.Recording.2024-09-18.at.11.50.10.AM.mov

are there any other problems? does the main thing all work?

Looks better but just found one thing that happens now after the fix
When UserA/B are in the call and UserC deny's it, once UserC hits deny the ringtone will re-appear and the user will need to deny it again
Screen.Recording.2024-09-18.at.11.50.10.AM.mov

are there any other problems? does the main thing all work?

Seems for the most part general calling works. If we want once the conflicts are fixed I will approve and create tickets for any issues

i will fix the issue above in this pr still

can you post the logs for the first problem?
and for the rest have you tried the up to date code? (i also pushed some otherstuff just now)

we don't have logs for the first issue - we can try to reproduce and get logs
but yes we had the branch updated on our side, new account, clean builds and everything

we will try again with your latest commit to see if they still happen

so @phillsatellite and i retested with latest commit
Phil called Sara. When Sara answered, the call didn't appear on her side, but Phil saw that Sara was on the call.
Later, Sara called Phil, and though Phil successfully joined the call, Sara couldn't see Phil on the line, while Phil saw her as being connected.
Phil side

Sara side

@Flemmli97 @stavares843 Looks like the build android job is failing on this branch - https://github.com/Satellite-im/UplinkWeb/actions/runs/11036050320/job/30653555494?pr=565

what happens if you wait a bit longer? sometimes i had the problem of needing to wait quite a few seconds. even for 1 to 1 call

Noticed some things while testing the latest
When the call came in for User B & C it appeared as though it was coming from an unknown user
All the users joined the call but on User A & C side it says only 2 users are in the call. For user B it showed only themselves in the call
When User A hangs up it also hung up the call for User B. User C still remains in the call
Screen.Recording.2024-09-26.at.11.37.33.AM.mov

i fixed various stuff. but as for users not showing up:
it has to do with multipass failing to find the identity at the start.
i can implement a retry system there but since that is not directly involved with calling would it be better to do it in a new PR?

check with #653 to see if its still a problem with users not showing up during call

also one more issue that might be resolved is #463. at least using this branch i dont have that problem

hmm can you post the whole console log?

can you try add this line in Voice.ts console.log("own did: ", get(Store.state.user).key) in line 452? before the connect call. and then see what it prints. this is on the side of the caller.
cause from the pic you send it seems its sending an undefined did over

can you try add this line in Voice.ts console.log("own did: ", get(Store.state.user).key) in line 452? before the connect call. and then see what it prints. this is on the side of the caller. cause from the pic you send it seems its sending an undefined did over
maybe an account is corrupt?


sriov: normalize vf mac address before verification

The VF mac address is being read from the sysfs, it is always in
lowercase. In order to avoid verification failures, nmstate is setting
the VF mac to lowercase in the desired state before verifying.
Ref: https://bugzilla.redhat.com/1818750
Signed-off-by: Fernando Fernandez Mancera<EMAIL_ADDRESS>

This has been tested with SR-IOV HW.

I've tested this with SR-IOV hardware.


separate user & system smtp config

The main purpose of this PR is to not send our system user/password to a user-controlled smtp host if the user specifies one.

@komamitsu PTAL

👍


container.clearInstances() should not clear ValueProviders

Describe the bug
One can register dependencies as ValueProvider via:
container.register(TOKEN, {useValue: myImpl});

Unfortunately container.clearInstances() unregisters dependencies registered via ValueProvider, which makes it impossible to resolve TOKEN after calling container.clearInstances().
To Reproduce
import "reflect-metadata"
import { container } from "tsyringe";

const DEP_TOKEN = Symbol("DEP");

const myDepImpl = {
  doStuff() {
    console.log("foo");
  },
} as const;

container.register(DEP_TOKEN, { useValue: myDepImpl });

container.resolve<typeof myDepImpl>(DEP_TOKEN).doStuff(); // prints "foo"

container.clearInstances();

// errors with: Error: Attempted to resolve unregistered dependency token: "Symbol(DEP)"
container.resolve<typeof myDepImpl>(DEP_TOKEN).doStuff();

Expected behavior
I would expect container.clearInstances() to only clear instances that were created via a ClassProvider or FactoryProvider but not via ValueProvider as it makes it otherwise impossible / impractical to use .clearInstances() in conjunction with ValueProviders.
Version:
4.3.0

The clearInstances() method is defined as:

The container.clearInstances() method allows you to clear all previously created and registered instances:

Which means it will clear all instances registered within the container (i.e. Those registered via .registerInstance(...) will be cleared). .registerInstance(...) uses value providers under the hood, so making it behave as you describe would break that functionality.

Do you have a workaround for testing purposes?
We're using container.clearInstances() inside the beforeEach as the documentation suggests, however it deletes all "primitive" values as well

@fknop , @geekflyer, @Xapphire13
For this issue in test I do not use clearInstances(). I just restore the initial registration value after I replaced it with mock.
// In application code
@singleton() // Could be any other available instantiation scope
class Foo {
  method() {}
}

// In tests
it('test with mocked Foo, () => {
 // Arrange
  container.registerInstance(Foo, { method: vi.fn().mockImplementation(sendMock) } as unknown as Foo);
  // Act: do someting that engages Foo behind the scenes via container.resolve()
  // Assert
  const actual = container.resolve(Foo).send as Mock;
  expect(actual.mock.calls.length).toEqual(1);
  expect(actual.mock.calls[0][0]).toBeInstanceOf(...whatever is expected there to be);

  // Restore the normal application Foo instance. Note to use the scope matching your in-application Foo registration (singleton in this case)
  container.registerSingleton(Foo);
})

Depending on you text structure you could place this in a single test or mock / restore Foo in ``beforeAll(), beforeEach(), afterAll(), afterEach() test suite methods.
Could be just added to documentaion.

We've got exactly the same issue and as @geekflyer I find it quite unexpected.


CMake targets don't link to quadmath

I'm encountering build errors because of undefined symbols when using CMake. It looks like Boost::charconv is failing to state the dependency.

It occurs only when using the floating-point conversion functions.
It happens when consuming the library from another library, via the superproject (I found this by having my MySQL test executables link to charconv). It also happens when creating a Boost distribution using CMake, and then consuming it via find_package. It doesn't happen when consuming the Boost CMake modules generated by b2.
I'm seeing the errors under Ubuntu 22.04 and gcc-11. It happens under both Debug and Release, and with C++11 and C++20.
Adding a target_link_libraries(... quadmath) such that -lquadmath is added to the link command line fixes the issue.

Full repro:
cd $BOOST_ROOT
mkdir -p __build && cd __build
cmake -DBOOST_INCLUDE_LIBRARIES=charconv -DCMAKE_INSTALL_PREFIX=/tmp/repro/    ..
make -j8 install
cd ~/repro-consumer
mkdir __build && cd __build
cmake -DCMAKE_PREFIX_PATH=/tmp/repro/ ..
make

File ~/repro-consumer/main.cpp:
#include <boost/charconv/from_chars.hpp>

int main() {
  auto str = "42.0";
  float val = 0;
  boost::charconv::from_chars(str, str + 2, val);
}

File ~/repro-consumer/CMakeLists.txt:
cmake_minimum_required(VERSION 3.12.0)
project(boost_mysql_example LANGUAGES CXX)

find_package(Boost REQUIRED COMPONENTS charconv)

add_executable(main main.cpp)
target_link_libraries(main PRIVATE Boost::charconv)

Can you please give: https://github.com/cppalliance/charconv/pull/132 a go? I currently only have an ARM system which is not a supported architecture of libquadmath.

Could I please ask to merge this to master before 1.85? It's causing MySQL master CIs to fail. Thanks.

Could I please ask to merge this to master before 1.85? It's causing MySQL master CIs to fail. Thanks.

See: https://github.com/boostorg/charconv/pull/172


Tools → Key Management → Search by Public Key only accepted 'legacy format' keys.

Description
In trying to diagnose #1343, I tried to search for public keys held by Anchor Desktop. However I discovered that when you search for a key only the legacy format will yield results.
I believe the issue to be /app/shared/components/Tools/Keys.js#L99:
filtered = [...pubkeys.available].filter(k => k.toLowerCase().includes(searchFilter.toLowerCase()));

I suspect changing the logic as follows would correct the defect, apologies for the lack of testing I can't currently get Anchor to run from source without a code signing cert:
filtered = [...pubkeys.available].filter(k => k.toLowerCase().includes(searchFilter.toLowerCase()) || k.toLowerCase().map(pk => pk.toPublic().toLegacyString(connection.keyPrefix)).includes(searchFilter.toLowerCase()));

This would also require injection of connection into the components props.
Platform
Desktop (Windows)
Steps To Reproduce
Not Happy Path

Open Anchor Deskop
Navigate to Tools → Manage Keys
Copy a "modern" format key from the list, and paste it into "Search by Public Key"
yields no results

Happy Path

Open Anchor Desktop
Navigate to Tools → Manage Keys
Copy a "lecacy" format key from the list, and paste it into "Search by Public Key"
Should exactly one result

Expected Result
Regardless of the state of "Show Legacy Format" entering either a modern key (i.e. PUB_K1_...) or a legacy key (i.e. EOS...) should show that public key.
Actual Result
Searching for a public key of the modern format or simply "PUB_K1" will yield no results.
Relevant log output
[2023-06-27 15:32:38.199] [info]  initManager /
[2023-06-27 15:32:38.200] [info]  wallet ui: creating
[2023-06-27 15:32:38.222] [info]  initProtocolHandler: initializing protocol handler
[2023-06-27 15:32:38.222] [info]  protocol handler: creating ui
[2023-06-27 15:32:38.223] [info]  initial request false
[2023-06-27 15:32:39.170] [info]  initSessionManager: initializing session manager
[2023-06-27 15:32:39.171] [info]  initSessionManager: initializing session manager (lock is false)
[2023-06-27 15:32:39.172] [info]  [ 'SessionManager::constructor' ]
[2023-06-27 15:32:39.173] [info]  [ 'SessionManager::createHandler' ]
[2023-06-27 15:32:39.212] [info]  protocol handler: loaded ui
[2023-06-27 15:32:40.053] [info]  initHardwareLedger: initializing hardware ledger
[2023-06-27 15:32:40.097] [info]  initHardwareLedger: hardware ledger transport success
[2023-06-27 15:32:40.236] [info]  manager: successfully loaded

Contact Details
Scetrov on Discord
Anything else?
Chain: WAX Mainnet, EOS Mainnet, WAX Testnet
Anchor: 1.3.11
Windows 11 Pro

Thanks for this, we'll get this addressed in the next release 👍


Unpin rest-client to use v2.1.0

The update to v1.7.0 of sproutvideo-rb pinned the rest-client gem at 1.8.0, which results in this error. Bumping up rest-client seems to fix the issue.

@podman any chance this can get reviewed and merged in?


应用条件路由问题

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.6
Operating System version: windows 10
Java version: 1.8

Steps to reproduce this issue

dubbo应用条件路由
org.apache.dubbo.rpc.cluster.router.condition.ConditionRouter  238行
matchWhen时HOST_KEY的匹配有问题 不该取url.getHost()  （这是zk的注册地址）而应该是消费者的本机地址。我的修改是  sampleValue = param == null ? LOCAL_HOST : url.getHost();
private static final String LOCAL_HOST = NetUtils.getLocalHost();
目前所有2.7版本都有这个问题

Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps？
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!

I checked the code of the master branch and found that the address obtained here is the consumer url.


Pass shortcuts to tray apps

Description
i dont know if there is any way to do this but i couldn't figure it out
i was trying to pass a key to a tray app
i used sendshortcut and pass dispatchers but according to wiki they only work for open windows so

physically impossible


Fix instructions for running payu at NCI

Current docs tell users to
module load payu

This is out of date, and payu should be accessed through the CMS conda environment.

Also there are references to raijin that need to be updated:
$ grep -ir raijin *
config.rst:   values may not be correctly communicated across raijin nodes.*
install.rst:as Raijin. If you wish to use payu on other systems, see the notes at the end
install.rst:Payu is available for all users on Raijin.
install.rst:     are based on the OpenMPI implementation. We also rely on Raijin's internal
install.rst:There are also some additional assumptions based on the architecture of Raijin.


[BUG] Fix pre-generation of Business Profile pages for newly-added pages since manual generation

IMPORTANT NOTE
This issue is superseded by #374 -- Do not work on this issue for the time being. We will likely close it once #374 is completed.
Describe the bug
it would appear that any new business added to our directory since we last "pre-generated the pages" does not have a "profile page" generated for it. It appears to be all businesses on the first two pages of results up to middle of the 3rd page.
To Reproduce
Steps to reproduce the behavior:

Go here https://www.rebuildblackbusiness.com/businesses/all
Click on any business and see that you get a 404
This behavior continues until the middle of page 3 until "Karter Media Group", which does load

Expected behavior
All business profile pages should work as soon as new businesses are added to our directory.

Fixed with #374 - thank you @Mhmdabed11 !!!


Handle AEM version switch

may affect compile time dependencies

may affect compile time dependencies

hybrid-build makes this not applicable


Rising a test issue for the youtube video I am creating for freeCodeCamp

this is the issue for video I am creating Please Ignore

Please use your own repositories for test issues


Response to Issue #30

This adds a function on FlashProvider called setAutoDismiss(boolean).  When set to true, only one flash message will be allowed at a time. This defaults to false.

Please merge that cuz we need it :D :D Thanks for the solution @zgordon01

Thanks! The merge looks good so far. Glad I could help (:


LastPass retirement

Background

Post migration activities

Delete LastPass user accounts
Delete LastPass shared folders

Approach

Confirm with users and share owners that data can be deleted.
NB - When deleted the data can't be recovered.
Acceptance Criteria

[ ] LastPass subscription can be lapsed.

Reference
How to write good user stories

Done

Done


On AWS EC2 instances the public IP is not ping-able

https://github.com/kubernetes-incubator/kubespray/blob/7abd4eeafdfb1febc7b3502c1c3d6b54c32e59f4/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml#L92-L95
AWS instances cannot self-ping on their public IP. Even when the security group is configured to allow it - this will not work.

access_ip should the public_ip, not the dns
private ip is configured via ip
so the inventory  looks like:
node1 ansible_ssh_host=$public_ip ip=$private_ip access_ip=$public_ip

Could you propose a fix for the assert:  https://github.com/kubernetes-incubator/kubespray/blob/7abd4eeafdfb1febc7b3502c1c3d6b54c32e59f4/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml#L92-L95

Could you propose a fix for the assert:

Maybe exclude the ping test on AWS? Perhaps do the ping as a local command instead of doing it from the instance to itself.

I would delegate to localhost.

Even if the ping test would pass, the openssl.conf file is not using the correct IPs. Because other instances in the same account and AWS VPC would use the private IP for access and will be unable to use the public IP. This is why the ec2-.....amazonaws.com public DNS name is resolved to private IP addresses when used inside the AWS VPC network.