Redis vector  init error

System Info
Langchain:0.0.286
python:3.10.10
redis:5.0.0b4
Who can help?
@hwc
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[X] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
rds = Redis.from_texts(
texts,
embeddings,
metadatas=metadata,
redis_url="XXXXX",
index_name="XXXX"
)
The following exception occurred：
AttributeError: 'RedisCluster' object has no attribute 'module_list'
The version of my redis package is 5.0.0b4.
An error occurred in the following code：
langchain\Lib\site-packages\langchain\utilities\redis.py
def check_redis_module_exist(client: RedisType, required_modules: List[dict]) -> None:
"""Check if the correct Redis modules are installed."""
-> installed_modules = client.module_list()
Expected behavior
redis init success

Ok so a couple things about this error
)
The following exception occurred：
AttributeError: 'RedisCluster' object has no attribute 'module_list'

The version of my redis package is 5.0.0b4.

An error occurred in the following code：

langchain\Lib\site-packages\langchain\utilities\redis.py

def check_redis_module_exist(client: RedisType, required_modules: List[dict]) -> None:
"""Check if the correct Redis modules are installed."""
-> installed_modules = client.module_list()

You need to update Redis. 5.0 is very out of date. So out of date our check doesn't even come back haha
Are you using Redis Stack? docker run -d -p 6379:6379 -p 8001:8001 redis/redis-stack:latest

AHH apologies, confusing naming. I though you meant your redis-server version was 5.0. I should've read more closely
Are you using Redis Stack?

This problem commonly occurs for those who are using Elasticache and think it has the same functionality. It does not.

Redis Stack

thank you for your reply。Yes，I'm using Redis Stack

What version of Redis server are you running? You can use the INFO command from redis-cli attached to the Redis database. It's the first item in the response.

INFO

INFO

Server
redis_version:9.0.30
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:2029-05-30 16:00:00
redis_mode:cluster
os:Linux 4.18.0-305.el8.x86_64 x86_64
In 5.0.0b4 redis package:
The 【module_list】 method is defined in 【redis.commands.core.ModuleCommands】
But, class RedisCluster(AbstractRedisCluster, RedisClusterCommands) do not extends ModuleCommands
So the error happens

What version of Redis server are you running? You can use the INFO command from redis-cli attached to the Redis database. It's the first item in the response.

redis_version:9.0.30
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:2029-05-30 16:00:00
redis_mode:cluster
os:Linux 4.18.0-305.el8.x86_64 x86_64
In 5.0.0b4 redis package:
The 【module_list】 method is defined in 【redis.commands.core.ModuleCommands】
But, class RedisCluster(AbstractRedisCluster, RedisClusterCommands) do not extends ModuleCommands
So the error happens

I'm very confused. The most recent version of Redis is 7.2. Can you download the latest redis stack from docker hub and try that?
docker run -d --name my-redis-stack -p 6379:6379 redis/redis-stack:latest

I'm very confused. The most recent version of Redis is 7.2. Can you download the latest redis stack from docker hub and try that?
docker run -d --name my-redis-stack -p 6379:6379 redis/redis-stack:latest

Sorry, version 9 is our own customized version with additional layers. The underlying Redis version is 6.2.

I'm very confused. The most recent version of Redis is 7.2. Can you download the latest redis stack from docker hub and try that?
Sorry, version 9 is our own customized version with additional layers. The underlying Redis version is redis 6.2.13.

docker run -d --name my-redis-stack -p 6379:6379 redis/redis-stack:latest
We have installed Redisearch on a Redis cluster, not on a single node.

client = get_client(redis_url=redis_url, **kwargs)
check if redis has redisearch module installed
check_redis_module_exist(client, REDIS_REQUIRED_MODULES)
When the redis is a cluster,the【get_client】method gets a instance of instance RedisCluster, not a instance of  Redis which extends 【redis.commands.core.CoreCommands】
I think this is why the error happens

So, version 6.2.13 doesn't support Vector Similarity Search. You'll need 6.4.x and ensure you have the search module installed as well.

Our redis has installed search module. Running commands like ft.search techDoc "Redis" in redis-cli can also return correct results.Do I have to upgrade version from 6.2.13 to 6.4.x?

Please try it on the Redis Stack first, so validate that the code does work. Getting the right version of Redis installed is key here.
On redis installed through the command 【docker run -d --name my-redis-stack -p 6379:6379 redis/redis-stack:latest】,the code is ok.But I think the reason is that redis_mode is standalone.Have you tried running the code in a cluster?

@scorpiord To my knowledge, RediSearch doesn't work in a cluster today. That's when people (usually companies) use Redis Cloud or Redis Enterprise since they both support that.


Awesome!  Any plans for other *nix compatibility?

We had plans for a project a little like this but the idea was to make it cross platform so if you develop on Mac and deploy to Linux, dependencies would install and resolve properly in both places...  currently of course Homebrew is Mac only, but I saw someone has an experimental Solaris port of homebrew (https://github.com/rmyers/homebrew)... Curious if this is a personal itch you'd like to scratch as well, and if so, I know some people (myself included) who'd like to help if we can!

@andrew I just tried running brew bundle on a Linux machine (Ubuntu 14.04), and I get the error:
/usr/bin/env: ruby -W0: No such file or directory

The odd thing is that explicitly typing /usr/bin/env ruby -W0 at the command line works. I'm honestly not really sure why the shebang isn't working, and I don't know what to do in order to debug this, especially since it works when manually typing the shebang.

@adamliter I'm afraid I don't know what to suggest here beyond trying to submit a pull-request.

@mikemcquaid @andrew
It seems that the problem is that the system is trying to call the executable "ruby -W0". See this Stack Overflow question and its answer.
That being said, I have no idea why this works on a Mac but not Linux.
According to this Ruby forum post, the best practice for shebangs with arguments in Ruby is to do:
#!/bin/sh
exec ruby -x "$0" "$@"
#!ruby -W0
# Ruby code goes here ...

If this is something you're open to changing, I'm happy to submit a pull request.
I tested it on both a Mac (10.10.5) and Ubuntu (14.04), and this seems to work in both cases.

@adamliter Yeh, feel free to submit a PR. We could probably just try #!/usr/bin/env ruby.

@mikemcquaid I've created the pull request using the solution I suggested. I haven't tested it, but your suggested solution of just using #!/usr/bin/env ruby should also work. If you'd rather do that, I can change the pull request, or you can just close the pull request and make the changes yourself, if that's quicker. Thanks! :smile:

I wonder why the options in shebang fail my ruby gem linux build in travis but when I do similar thing as first line in Jenkins steps it works fine in Ubuntu and CentOS.


3.2.4 rc3 --version option generates warning

Godot version:

3.2.4 rc3
OS/device including version:

OSX
Issue description:

Running Godot with --version option generates  the warning Property not found: application/run/flush_stdout_on_print
Occurs in project and non-project directories
[/]$  /Applications/Godot_3.2.4_rc3.app/Contents/MacOS/Godot --version
arguments
0: /Applications/Godot_3.2.4_rc3.app/Contents/MacOS/Godot
1: --version
Current path: /
3.2.4.rc3.official
WARNING: _get: Property not found: application/run/flush_stdout_on_print
   At: core/project_settings.cpp:209.
[/]$

Steps to reproduce:
see issue description
Minimal reproduction project:

see issue description

This is happening because Godot thinks the ProjectSettings singleton is initialized.
I tried to replace the call to GLOBAL_GET() (which expands to ProjectSettings::get_singleton()->get() with ProjectSettings::get_singleton()->get_setting(), but that didn't solve the error message.
I see two ways to fix this:

Revert this change for 3.2. I really wouldn't like this because it makes the server build almost unusable in a production environment, unless you always use printerr() instead of print() in your scripts.
Always flush stdout when printing in release builds. This would likely be a good move for 4.0, but it will require educating people about not spamming print()s in their exported projects or risk performance issues.

This is happening because Godot thinks the ProjectSettings singleton is initialized when it's not. I tried to replace the call to GLOBAL_GET() (which expands to ProjectSettings::get_singleton()->get() with ProjectSettings::get_singleton()->get_setting(), but that didn't solve the error message.
Unless we find a way to properly check whether the ProjectSettings singleton is ready to be queried for settings using get_setting(), I only see two ways to fix this:

Revert the flush_stdout_on_print change for 3.2. I really wouldn't like this because it makes the server build almost unusable in a production environment, unless you always use printerr() instead of print() in your scripts.
Always flush stdout when printing in release builds and remove the setting. This would likely be a good move for 4.0, but it will require educating people about not spamming print()s in their exported projects or risk performance issues. (It's fine to spam prints in debug builds since performance isn't so important there.)

What do you think about caching the variable like this: https://github.com/kuruk-mm/godot/commit/6810049b8e480588c3af39e2e2c51c0140308830 ?
Can improve the performance too, because is not searching the value in each print at the cost of one string comparison in the set of the ProjectSettings.
If you think is a good idea I will PR it.

What do you think about caching the variable like this: kuruk-mm@6810049 ?

While this fixes the issue, this means it can no longer be changed at run-time (changes will be silently ignored).

What do you think about caching the variable like this: kuruk-mm/godot@6810049 ?

While this fixes the issue, this means it can no longer be changed at run-time (changes to the setting will be silently ignored). This should at least be documented.

Why? I'm changing the value of the variable when you set the ProjectSetting variable. I tested and I can change it from the Editor option and see the difference. I'm missing something?

Solutions must be local. Caching might be a good idea but it should be done in logger.cpp, not in project_settings.cpp.

Solutions must be local. Caching might be a good idea but it should be done in logger.cpp, not in project_settings.cpp.
It should just be set in the constructor once and for all (and then yes documented as such, a restart is needed to change its value).

Ok, sounds great, to access Logger objects I need to get it from OS singleton.
Or I can just set it as a static variable in Logger. What do you think is the best solution?

I meant this should just be a private variable initialized in the Logger constructor.


add function 'append()'

For 1-d array.
examples:
val a = mk.ndarray(mk[1, 2, 3])
val b = a.append(4) // b = [1, 2, 3, 4]

val a = mk.ndarray(mk[1, 2, 3])
val b = a.append(a) // b = [1, 2, 3, 1, 2, 3]

Hey @devcrocod , i would like to get around this interesting project may i try this one? and is there any community or does it have a channel on kotlin slack?

Hi @therealansh!
Kotlin slack has channels #datascience, #mathematics, #science. Also there you can chat with me at dm.

Hi @devcrocod I need this function for 1D/2D/3D/4D/N-d too!


Missing = causes panic

a [1,2,3,4,5]

Happened to find that the invalid Goby code above causes the following panic on REPL.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x40e9405]

goroutine 1 [running]:
github.com/goby-lang/goby/compiler/ast.(*BaseNode).MarkAsExp(0x0)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/compiler/ast/ast.go:31 +0x5
github.com/goby-lang/goby/compiler/parser.(*Parser).parseStatement(0xc420132a20, 0x47447e8, 0x1)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/compiler/parser/statement_parsing.go:34 +0xe1
github.com/goby-lang/goby/compiler/parser.(*Parser).ParseProgram(0xc420132a20, 0xd, 0xc420162600)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/compiler/parser/parser.go:173 +0xef
github.com/goby-lang/goby/igb.StartIgb(0x44e1057, 0x5)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/igb/repl.go:138 +0x89b
main.main()
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/goby.go:28 +0x660

I think this should be the case that there exists a method called a which sends in a value [1, 2, 3, 4, 5] as the parameter of the method something like that.


Pushing nodes to an array ends up with duplicate data.

I'm trying to push nodes into an array to use as data for a different function and I inputted a console.log command to see what was being stored.  I end up with something along the lines of:
" Array [ 1, 2 ]
Array [ 1, 2, 2 ]
Array [ 1, 2, 2, 3, 3, 3] "
Where each object is the previous node that was created.  I have an event listener which listens for clicks during my addNode function.  This part is a snippet which pushes the nodes into the array.
nodeArray = function(){
s.graph.nodes().forEach(function(n) {
nodes.push(n);
console.log(nodes);
});
Is there something I'm missing?

Hello @SmokedEel. The code snippet you show is not valid and I cannot infer what you did wrong. Do you have a full version of your script somewhere so I can help you better?

@Yomguithereal I ended up deleting that and going with just this line of code:
"nodes = s.graph.nodes();"
So whenever I add a node, this part activates with it and stores that in the array.
I end up with:
"Array [Object]" Object being the data of the node.


Added support for RecurringApplicationCharge resource

Codecov Report

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

@@          Coverage Diff          @@
##           master    #70   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          15     16    +1
  Lines         442    467   +25
=====================================
+ Hits          442    467   +25

Impacted Files
Coverage Δ

recurringapplicationcharge.go
100% <100%> (ø)

goshopify.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Disallow if coercion

Describe the bug
Coercing values in if statements can be problematic if the variable can be a 0 which should be truthy:
let num: number | null;
if (num) {}

Require
let num: number | null;
if (num !== null && num > 0) {}

Check: https://eslint.org/docs/rules/no-implicit-coercion

@dapplion I don't see that rule helps this case, could you have a look at @typescript-eslint/strict-boolean-expressions rule? https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/strict-boolean-expressions.md

i left this cooment! https://github.com/ChainSafe/lodestar/pull/3364/files#r729188667
too late now but oh well ahah


Gradient support for each progress line

Is it possible to add gradients to each line? e.g. first section should start with a color and end with another color, and section 2 takes a set of other colors, etc.

Hey, that's currently unsupported, but looks like a feature that could be implemented in future.

Thank you! Would love to see that feature as well.
On Tue, Mar 8, 2022 at 11:49 PM Matej Semančík @.***>
wrote:

Hey, that's currently unsupported, but looks like a feature that could be
implemented in future.
—
Reply to this email directly, view it on GitHub
https://github.com/futuredapp/donut/issues/82#issuecomment-1062641415,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACEQJTSM43U2TCNPE3TOABTU7BJW7ANCNFSM5QH2T4GA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thanks and Regards,
Sharika


Support injection of Senzing license

Pull requests:

https://github.com/Senzing/docker-init-container/pull/93


Results Grid Font Size / zoom

SQL Operations Studio Version: 0.26.7

Request ability to set font for results grid, and also to zoom the font with Ctrl+MouseWheel, either in sync with the editor or when the mousepointer is over the grid.
Steps to Reproduce:

dupe #181


Support setting up single-node clusters

This will allow for thinner clusters during scalability tests.
Related-Issue: https://github.com/submariner-io/submariner/issues/861
Signed-off-by: Miguel Angel Ajo<EMAIL_ADDRESS>Co-Authored-by: Mike Kolesnik<EMAIL_ADDRESS>

Ah... so helm does not support the taints/tolerations yet, I need to fix that. @mkolesnik  ^


Missing exercise 2 and 3

Please can you upload exercse 2 and 3, i wanna steal it like Mr. Linha.

Ja WT ani nemam urobene xD
On Mon, 9 Oct 2023, 12:24 JKtech, @.***> wrote:

Please can you upload exercse 2 and 3, i wanna steal it like Mr. Linha.
—
Reply to this email directly, view it on GitHub
https://github.com/MigelusMaximus/WebTechnologies/issues/1, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AK4LN4CJNNZOBVWCU4TQQD3X6PGEBAVCNFSM6AAAAAA5YSDLGGVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZTENZVGIZTGMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Now it´s better, but i'm still missing exercse 6,7,8,9,10,11,12


Remove some triple dict lookups and logic in favor of simpler dict.pop usage

This is just a code clean up that should (in theory!) have no effect.
I tested via make test_asyncio. Should I be doing more testing? I don't have a python2 virtualenv handy, though I could of course make one. Or should I be using tox? (I tried running just tox and get a permission denied error).

Current coverage is 57.37%

Merging #469 into master will increase coverage by +0.25% as of f0c4aa7

@@            master    #469   diff @@
======================================
  Files           55      55
  Stmts         9178    9138    -40
  Branches      1557    1543    -14
  Methods          0       0
======================================
  Hit           5243    5243
+ Partial        521     516     -5
+ Missed        3414    3379    -35

Review entire Coverage Diff as of f0c4aa7

Powered by Codecov. Updated on successful CI builds.

Running 'tox' by itself from the root should work (it makes its own venvs in .tox/)

As far as this PR, looks good thanks :)
(Testing wise travis-ci runs all the utests which have passed...but dont necessarily cover this code of course ;) )

Actually, some of those original dict lookups are quadruple :-)  (Counting the del)

@meejah - thanks for the help. When I run tox I get the following:
$ tox
GLOB sdist-make: /Users/terry/s/net/AutobahnPython/setup.py
flake8
pypy-twtrunk
pypy-trollius
py34-twtrunk
pypy-tw121 create: /Users/terry/s/net/AutobahnPython/.tox/flake8
pypy-twtrunk
pypy-trollius
py34-twtrunk
pypy-tw121
flake8
pypy-twtrunk
pypy-trollius
py34-twtrunk
pypy-tw121 installdeps: mock, unittest2, coverage, msgpack-python, Twisted==12.1
ERROR: invocation failed (errno 13), args: [local('/Users/terry/s/net/AutobahnPython/.tox/flake8\npypy-twtrunk\npypy-trollius\npy34-twtrunk\npypy-tw121/bin/pip'), 'install', 'mock', 'unittest2', 'coverage', 'msgpack-python', 'Twisted==12.1'], cwd: /Users/terry/s/net/AutobahnPython
Traceback (most recent call last):
  File "/Users/terry/.virtualenvs/lmwamp/bin/tox", line 9, in <module>
    load_entry_point('tox==1.9.2', 'console_scripts', 'tox')()
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_cmdline.py", line 26, in main
    retcode = Session(config).runcommand()
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_cmdline.py", line 339, in runcommand
    return self.subcommand_test()
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_cmdline.py", line 477, in subcommand_test
    if self.setupenv(venv):
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_cmdline.py", line 396, in setupenv
    status = venv.update(action=action)
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_venv.py", line 140, in update
    self.install_deps(action)
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_venv.py", line 254, in install_deps
    self._install(deps, action=action)
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_venv.py", line 322, in _install
    action=action, extraenv=extraenv)
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_venv.py", line 288, in run_install_command
    extraenv=extraenv, action=action)
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_venv.py", line 383, in _pcall
    return action.popen(args, cwd=cwd, env=env, redirect=redirect, ignore_ret=ignore_ret)
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_cmdline.py", line 100, in popen
    stdout=stdout, stderr=STDOUT)
  File "/Users/terry/.virtualenvs/lmwamp/lib/python2.7/site-packages/tox/_cmdline.py", line 188, in _popen
    stdout=stdout, stderr=stderr, env=env)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied

It seems to be failing on a pip install permission denied in my v-env, which is odd. I tried pip installing those things myself and got another issue:
$ pip install mock unittest2 coverage msgpack-python Twisted==12.1
[lots of output deleted]
    changing mode of /Users/terry/.virtualenvs/lmwamp/bin/tkconch to 755
    changing mode of /Users/terry/.virtualenvs/lmwamp/bin/trial to 755
    changing mode of /Users/terry/.virtualenvs/lmwamp/bin/twistd to 755
Compiling /Users/terry/.virtualenvs/lmwamp/build/linecache2/linecache2/tests/inspect_fodder2.py ...
  File "/Users/terry/.virtualenvs/lmwamp/build/linecache2/linecache2/tests/inspect_fodder2.py", line 102
    def keyworded(*arg1, arg2=1):
                            ^
SyntaxError: invalid syntax

Successfully installed unittest2 coverage Twisted traceback2 argparse linecache2
Cleaning up...

At that point I gave up :-)


Update configure-runasusername.md

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remember to delete this note before submitting your pull request.
For pull requests on 1.17 Features: set Milestone to 1.17 and Base Branch to dev-1.17
For pull requests on Chinese localization, set Base Branch to release-1.15
For pull requests on Korean Localization: set Base Branch to dev-1.16-ko.<latest team milestone>
If you need Help on editing and submitting pull requests, visit:
https://kubernetes.io/docs/contribute/start/#improve-existing-content.
If you need Help on choosing which branch to use, visit:
https://kubernetes.io/docs/contribute/start#choose-which-git-branch-to-use.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Ooops, I reviewed too soon. @fanchenclaire518 would you be able to sign the CLA?

/lgtm cancel
(CLA not signed)

@fanchenclaire518 Please feel free to reopen this when CLA is ready.


Render chat via WebView

FYI: This is a prototype I spent few hours on and in no way representative.
Good to test the 'feel'.

Automated message from Dropbox CLA bot
@borisyankov, it looks like you've already signed the Dropbox CLA. Thanks!


Service was temporarily interrupted or is unavailable. Please try again in a moment.

Getting the above error message over and over again, not being able to retrieve any data.  Are there any current known issues happening?

It appears this issues is happening today, not sure why, but it isn't just you.

Also receiving this error message.

I just bounced the servers and it seems to be ok now.


sched/posix_spawn: Don't insert name at the begin of argv

Summary
since the standard require the caller pass the name explicitly
https://pubs.opengroup.org/onlinepubs/009695399/functions/posix_spawn.html:
The argument argv is an array of character pointers to null-terminated strings.
The last member of this array shall be a null pointer and is not counted in argc.
These strings constitute the argument list available to the new process image.
The value in argv[0] should point to a filename that is associated with the
process image being started by the posix_spawn() or posix_spawnp() function.
Impact
All caller of posix_spawn
Testing
run libssh sshd example server

Yes, that's why I ask to modify task_xxx API too:(.

Yes, that's why I ask to modify task_xxx API too:(.

That was not clear.
I am not personally opposed to changing the APIs.  However, we need to be careful what we change that affects the NuttX user's code base.  We do need to try to keep the user facing interfaces stable from release to release.  Changing the task creation interface would impact all users and probably cause lots of negative feedback and bad feelings.
Perhaps this is a discussion that should be discussed in a wider forum.  We should not make decisions that affect so many people in a discussion hidden deep in GIT issue comments.  My opinion about what is good for the NuttX users is not as important as actual user feedback.

Yes, that's why I ask to modify task_xxx API too:(.

@xiaoxiang781216 I think that the ugly insert_name boolean might be removed if we passed the arguments to nxtask_create() like:
From posix_spawn():
ret =  nxtask_init(tcb, argv[0], priority, stack stack_size_entry, &argv[1])

and from task_spawn() like:
ret =  nxtask_init(tcb, name, priority, stack stack_size_entry, argv)

Look like a good suggestion, I will provide a patch today.


Client side saving of files

http://updates.html5rocks.com/2011/08/Saving-generated-files-on-the-client-side

I'd recommend that you don't put that  element directly into the svg output. I think  or  would be better (see https://svgwg.org/svg2-draft/struct.html#UnknownElement for why).


Implement more advanced grid editor

Feature Request:

Need a way to move the grid overlay on map images (rather than just added/subtracting tiles in rows)--if the image is already gridded but doesn't perfectly line up, it's difficult to get the grid to match the lines on the image itself

Possible solution: Similar to the image upload dialog, let users drag each corner of the grid to allow for custom offset and size relative to the board.

Implemented proposed edits with ab5e34d8429defecc8eacdf2aacb659e2ef6ec91 commit.


Allow for message pipes in message readmode for Windows named pipes to work.

Reference: https://github.com/moby/moby/issues/36562#issuecomment-372347544
The named pipe in Windows is of message type and the handle to the pipe is in message read mode. Removing the check to allow for Windows named pipes to work.

Also, we will treat ERROR_MORE_DATA as success and return the remaining number of bytes to be read.

@jstarks ptal

This is what I mentioned back in March, https://github.com/moby/moby/issues/36562#issuecomment-377583510, but I never heard back. Is this really the correct fix? Why is the VMbus proxy pipe (assuming that is how it works) a different mode?

This is what I mentioned back in March, https://github.com/moby/moby/issues/36562#issuecomment-377583510, but I never heard back. Is this really the correct fix? Why is the VMBus proxy pipe (assuming that is how it works) a different mode?


When errors are thrown in initState/didUpdateWidget/etc, the error message says "The following ... was thrown building Widget" which is confusing

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
Running the following demo code

import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  Never throwException() => throw Exception('deliberate');

  void prepareOnError() {
    final oldOnError = FlutterError.onError;
    FlutterError.onError = (details) {
      print('FlutterError.onError details=$details');
      print('current stack=${StackTrace.current}');
      oldOnError?.call(details);
    };
  }

  testWidgets('initState', (tester) async {
    print('------------------- SCENARIO: initState --------------------');
    prepareOnError();
    await tester.pumpWidget(Container(child: _MyWidget(onInitState: throwException)));
    expect(tester.takeException(), isNotNull);
  });

  testWidgets('build', (tester) async {
    print('------------------- SCENARIO: build --------------------');
    prepareOnError();
    await tester.pumpWidget(Container(child: _MyWidget(onBuild: throwException)));
    expect(tester.takeException(), isNotNull);
  });

  testWidgets('didUpdateWidget', (tester) async {
    print('------------------- SCENARIO: didUpdateWidget --------------------');
    prepareOnError();
    // pump twice to trigger didUpdateWidget
    await tester.pumpWidget(Container(child: _MyWidget(onDidUpdateWidget: throwException)));
    await tester.pumpWidget(Container(child: _MyWidget(onDidUpdateWidget: throwException)));
    expect(tester.takeException(), isNotNull);
  });

  testWidgets('dispose', (tester) async {
    print('------------------- SCENARIO: dispose --------------------');
    prepareOnError();
    await tester.pumpWidget(Container(child: _MyWidget(onDispose: throwException)));
    await tester.pumpWidget(Container());
    expect(tester.takeException(), isNotNull);
  });
}

class _MyWidget extends StatefulWidget {
  final VoidCallback? onInitState;
  final VoidCallback? onBuild;
  final VoidCallback? onDidUpdateWidget;
  final VoidCallback? onDispose;

  const _MyWidget({Key? key, this.onInitState, this.onBuild, this.onDidUpdateWidget, this.onDispose}) : super(key: key);

  @override
  State<_MyWidget> createState() => _MyWidgetState();
}

class _MyWidgetState extends State<_MyWidget> {
  @override
  void initState() {
    super.initState();
    widget.onInitState?.call();
  }

  @override
  void didUpdateWidget(covariant _MyWidget oldWidget) {
    super.didUpdateWidget(oldWidget);
    widget.onDidUpdateWidget?.call();
  }

  @override
  void dispose() {
    widget.onDispose?.call();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    widget.onBuild?.call();
    return const Placeholder();
  }
}

yields

/Users/tom/Main/yplusplus/.fvm/flutter_sdk/bin/flutter --no-color test --machine --start-paused test/a_test.dart
Testing started at 14:10 ...

------------------- SCENARIO: initState --------------------
FlutterError.onError details=══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞════════════════════════
The following _Exception was thrown building Container:
Exception: deliberate

The relevant error-causing widget was:
  Container
  Container:file:///Users/tom/RefCode/bug/test/a_test.dart:19:29

When the exception was thrown, this was the stack:
#0      main.throwException (file:///Users/tom/RefCode/bug/test/a_test.dart:5:29)
#1      _MyWidgetState.initState (file:///Users/tom/RefCode/bug/test/a_test.dart:64:25)
#2      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5101:55)
#3      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
...     Normal element mounting (7 frames)
#10     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#11     Element.updateChild (package:flutter/src/widgets/framework.dart:3676:20)
#12     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#13     RenderObjectToWidgetElement.update (package:flutter/src/widgets/binding.dart:1153:5)
#14     RenderObjectToWidgetElement.performRebuild (package:flutter/src/widgets/binding.dart:1167:7)
#15     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#16     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2743:19)
#17     AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1340:19)
#18     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#19     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#20     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#21     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1189:9)
#24     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#25     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1175:27)
#26     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:558:22)
#29     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#30     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:555:27)
#31     main.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:19:18)
#32     testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:171:29)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from dart:async and package:stack_trace)

═════════════════════════════════════════════════════════════════
current stack=#0      main.prepareOnError.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:11:41)
#1      FlutterError.reportError (package:flutter/src/foundation/assertions.dart:1189:14)
#2      _reportException (package:flutter/src/widgets/framework.dart:6570:16)
#3      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4997:9)
#4      Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#5      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#6      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#7      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#8      Element.updateChild (package:flutter/src/widgets/framework.dart:3676:20)
#9      RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#10     RenderObjectToWidgetElement.update (package:flutter/src/widgets/binding.dart:1153:5)
#11     RenderObjectToWidgetElement.performRebuild (package:flutter/src/widgets/binding.dart:1167:7)
#12     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#13     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2743:19)
#14     AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1340:19)
#15     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#16     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#17     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#18     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1189:9)
#19     _rootRun (dart:async/zone.dart:1398:13)
#20     _CustomZone.run (dart:async/zone.dart:1300:19)
#21     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#22     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1175:27)
#23     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:558:22)
#24     _rootRun (dart:async/zone.dart:1398:13)
#25     _CustomZone.run (dart:async/zone.dart:1300:19)
#26     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#27     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:555:27)
#28     main.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:19:18)
#29     testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:171:29)
<asynchronous suspension>
#30     StackZoneSpecification._registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:15)
<asynchronous suspension>
------------------- SCENARIO: build --------------------
FlutterError.onError details=══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞════════════════════════
The following _Exception was thrown building _MyWidget(dirty,
state: _MyWidgetState#16686):
Exception: deliberate

The relevant error-causing widget was:
  _MyWidget
  _MyWidget:file:///Users/tom/RefCode/bug/test/a_test.dart:26:46

When the exception was thrown, this was the stack:
#0      main.throwException (file:///Users/tom/RefCode/bug/test/a_test.dart:5:29)
#1      _MyWidgetState.build (file:///Users/tom/RefCode/bug/test/a_test.dart:81:21)
#2      StatefulElement.build (package:flutter/src/widgets/framework.dart:5080:27)
#3      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4968:15)
#4      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133:11)
#5      Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#6      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#7      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5124:11)
#8      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
...     Normal element mounting (7 frames)
#15     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#16     Element.updateChild (package:flutter/src/widgets/framework.dart:3676:20)
#17     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#18     RenderObjectToWidgetElement.update (package:flutter/src/widgets/binding.dart:1153:5)
#19     RenderObjectToWidgetElement.performRebuild (package:flutter/src/widgets/binding.dart:1167:7)
#20     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#21     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2743:19)
#22     AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1340:19)
#23     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#24     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#25     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#26     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1189:9)
#29     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#30     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1175:27)
#31     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:558:22)
#34     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#35     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:555:27)
#36     main.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:26:18)
#37     testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:171:29)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from dart:async and package:stack_trace)

═════════════════════════════════════════════════════════════════
current stack=#0      main.prepareOnError.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:11:41)
#1      FlutterError.reportError (package:flutter/src/foundation/assertions.dart:1189:14)
#2      _reportException (package:flutter/src/widgets/framework.dart:6570:16)
#3      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4977:9)
#4      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133:11)
#5      Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#6      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#7      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5124:11)
#8      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#9      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#10     Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#11     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993:16)
#12     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#13     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#14     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#15     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#16     Element.updateChild (package:flutter/src/widgets/framework.dart:3676:20)
#17     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#18     RenderObjectToWidgetElement.update (package:flutter/src/widgets/binding.dart:1153:5)
#19     RenderObjectToWidgetElement.performRebuild (package:flutter/src/widgets/binding.dart:1167:7)
#20     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#21     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2743:19)
#22     AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1340:19)
#23     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#24     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#25     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#26     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1189:9)
#27     _rootRun (dart:async/zone.dart:1398:13)
#28     _CustomZone.run (dart:async/zone.dart:1300:19)
#29     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#30     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1175:27)
#31     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:558:22)
#32     _rootRun (dart:async/zone.dart:1398:13)
#33     _CustomZone.run (dart:async/zone.dart:1300:19)
#34     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#35     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:555:27)
#36     main.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:26:18)
#37     testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:171:29)
<asynchronous suspension>
#38     StackZoneSpecification._registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:15)
<asynchronous suspension>
------------------- SCENARIO: didUpdateWidget --------------------
FlutterError.onError details=══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞════════════════════════
The following _Exception was thrown building Container:
Exception: deliberate

The relevant error-causing widget was:
  Container
  Container:file:///Users/tom/RefCode/bug/test/a_test.dart:35:29

When the exception was thrown, this was the stack:
#0      main.throwException (file:///Users/tom/RefCode/bug/test/a_test.dart:5:29)
#1      _MyWidgetState.didUpdateWidget (file:///Users/tom/RefCode/bug/test/a_test.dart:70:31)
#2      StatefulElement.update (package:flutter/src/widgets/framework.dart:5142:55)
#3      Element.updateChild (package:flutter/src/widgets/framework.dart:3660:15)
#4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993:16)
#5      Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#6      StatelessElement.update (package:flutter/src/widgets/framework.dart:5044:5)
#7      Element.updateChild (package:flutter/src/widgets/framework.dart:3660:15)
#8      RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#9      RenderObjectToWidgetElement.update (package:flutter/src/widgets/binding.dart:1153:5)
#10     RenderObjectToWidgetElement.performRebuild (package:flutter/src/widgets/binding.dart:1167:7)
#11     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#12     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2743:19)
#13     AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1340:19)
#14     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#15     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#16     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#17     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1189:9)
#20     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#21     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1175:27)
#22     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:558:22)
#25     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#26     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:555:27)
#27     main.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:35:18)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from dart:async and package:stack_trace)

═════════════════════════════════════════════════════════════════
current stack=#0      main.prepareOnError.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:11:41)
#1      FlutterError.reportError (package:flutter/src/foundation/assertions.dart:1189:14)
#2      _reportException (package:flutter/src/widgets/framework.dart:6570:16)
#3      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4997:9)
#4      Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#5      StatelessElement.update (package:flutter/src/widgets/framework.dart:5044:5)
#6      Element.updateChild (package:flutter/src/widgets/framework.dart:3660:15)
#7      RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#8      RenderObjectToWidgetElement.update (package:flutter/src/widgets/binding.dart:1153:5)
#9      RenderObjectToWidgetElement.performRebuild (package:flutter/src/widgets/binding.dart:1167:7)
#10     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#11     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2743:19)
#12     AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1340:19)
#13     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#14     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#15     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#16     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1189:9)
#17     _rootRun (dart:async/zone.dart:1398:13)
#18     _CustomZone.run (dart:async/zone.dart:1300:19)
#19     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#20     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1175:27)
#21     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:558:22)
#22     _rootRun (dart:async/zone.dart:1398:13)
#23     _CustomZone.run (dart:async/zone.dart:1300:19)
#24     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#25     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:555:27)
#26     main.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:35:18)
<asynchronous suspension>
#27     StackZoneSpecification._registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:15)
<asynchronous suspension>
------------------- SCENARIO: dispose --------------------
FlutterError.onError details=══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞════════════════════════
The following _Exception was thrown while finalizing the widget
tree:
Exception: deliberate

When the exception was thrown, this was the stack:
#0      main.throwException (file:///Users/tom/RefCode/bug/test/a_test.dart:5:29)
#1      _MyWidgetState.dispose (file:///Users/tom/RefCode/bug/test/a_test.dart:75:23)
#2      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:5179:11)
#3      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1960:13)
#4      ListIterable.forEach (dart:_internal/iterable.dart:39:13)
#5      _InactiveElements._unmountAll (package:flutter/src/widgets/framework.dart:1969:25)
#6      BuildOwner.lockState (package:flutter/src/widgets/framework.dart:2601:15)
#7      BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:3023:7)
#8      AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1360:19)
#9      RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#10     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#11     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#12     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1189:9)
#15     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#16     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1175:27)
#17     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:558:22)
#20     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#21     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:555:27)
#22     main.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:43:18)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from dart:async and package:stack_trace)
═════════════════════════════════════════════════════════════════
current stack=#0      main.prepareOnError.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:11:41)
#1      FlutterError.reportError (package:flutter/src/foundation/assertions.dart:1189:14)
#2      _reportException (package:flutter/src/widgets/framework.dart:6570:16)
#3      BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:3113:7)
#4      AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1360:19)
#5      RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#6      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#7      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#8      AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1189:9)
#9      _rootRun (dart:async/zone.dart:1398:13)
#10     _CustomZone.run (dart:async/zone.dart:1300:19)
#11     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#12     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1175:27)
#13     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:558:22)
#14     _rootRun (dart:async/zone.dart:1398:13)
#15     _CustomZone.run (dart:async/zone.dart:1300:19)
#16     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#17     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:555:27)
#18     main.<anonymous closure> (file:///Users/tom/RefCode/bug/test/a_test.dart:43:18)
<asynchronous suspension>
#19     StackZoneSpecification._registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:15)
<asynchronous suspension>

In other words, when errors are thrown in initState/didUpdateWidget/etc, the error message says "The following ... was thrown building Widget" which is confusing. As we all know, in Flutter, "build", "initState", "didUpdateWidget", "dispose" are four different things. For example, when error is thrown in dispose, the message "thrown while finalizing the widget tree" is quite clear and expected. However, when thrown in initState/didUpdateWidget, the message "thrown building [some-widget-type]" makes people think that this error is thrown inside the build() function.
Proposal
Proposal 1: Make message more explicit
Simply replace the string "thrown building Widget" with "thrown building Widget or initState/didUpdateWidget in its children".
Proposal 2: More error boundaries
Mimic how we catch errors for the "build" to add a few error try-catch blocks for initState/didUpdateWidget.
Drawback: May make performance worse.

@fzyzcjy
I suggest to file a new issue for proposal 2 so that it can be tracked properly instead of filing multiple proposals in single issue.
Proposal 1 could be related to https://github.com/flutter/flutter/issues/103264.

Thanks, I see.

Closing this one as it looks like it was split up into https://github.com/flutter/flutter/issues/126325 and https://github.com/flutter/flutter/issues/126328.


[Question/Feature-Request] central install of kubevpn-traffic-manager

Hi again,
Not sure if this is already covered or partly covered in kubevpn.
We would like to install kubevpn-traffic-manager deployment in a central namespace. In best-case with a helm-chart or similar.
Why?

central update management

we would like to ensure that on every cluster the newest server version is installed

security

the kubevpn-traffic-manager is a privileged deployment
we use the restricted profile of the Pod Security Defaults  which forbids this
an extra namespace for the kubevpn-traffic-manager would allow us to continue to use the PSD

resource efficiency

we have at least one namespace for each developer (preview-enviroment)
with five preview-enviroments we would have a memory footprint of about ~3,5GiB (750MiB per kubevpn instance)

How?
Maybe a flag in the cli to point to the namespace where the kubevpn-traffic-manager is deployed.
What?
If its possible to do something like this and if you may decide to do it - i can offer at least to build a helmchart.

Hi again,
Not sure if this is already covered or partly covered in kubevpn.
We would like to install kubevpn-traffic-manager deployment in a central namespace. In best-case with a helm-chart or similar.
Why?

central update management

we would like to ensure that on every cluster the newest server version is installed

security

the kubevpn-traffic-manager is a privileged deployment
we use the restricted profile of the Pod Security Defaults  which forbids this
an extra namespace for the kubevpn-traffic-manager would allow us to continue to use the PSD

resource efficiency

we have at least one namespace for each developer (preview-enviroment)
with five preview-enviroments we would have a memory footprint of about ~3,5GiB (750MiB per kubevpn instance)

How? Maybe a flag in the cli to point to the namespace where the kubevpn-traffic-manager is deployed.
What? If its possible to do something like this and if you may decide to do it - i can offer at least to build a helmchart.

Yes, you can use options --namespace or short -n to special namespace which pod kubevpn-traffic-manager created,  you can use command kubevpn options see more options, just like command kubectl
Yes, if you can help to write helm chart, that's very nice, welcome ~, just go go go ~

Thanks! I tested it but i think i have an issue with that.
If i use the flag the hosts entries are also from the specified namespace.
I would like to have kubevpn run in namespace A but get the hosts entries from namespace B.
At the moment it seems that I only get the hosts from the namespace in which kubevpn is running.

Thanks! I tested it but i think i have an issue with that. If i use the flag the hosts entries are also from the specified namespace. I would like to have kubevpn run in namespace A but get the hosts entries from namespace B. At the moment it seems that I only get the hosts from the namespace in which kubevpn is running.

Actually, you can access k8s service with full k8s dns name, eg, if you are connectted to namespace A, you can access namespace service in this way:
curl SERVICE_NAME.NAMESPACE_B.svc.cluster.local

here is doc kubevpn docs

@3deep5me hello, if you want install it now, you can checkout branch feat/add-manifest-helm-chart with command
git clone --branch feat/add-manifest-helm-chart https://github.com/kubenetworks/kubevpn.git

then
cd kubevpn

and use command to install it
helm install kubevpn ./charts/kubevpn --set image.tag=test

you can special namespace you want, but remember to with --set image.tag=test
like:
helm install kubevpn ./charts/kubevpn  -n dev --set image.tag=test

if you know k8s cluster network service cidr or pod cidr, you can use command:
helm install kubevpn ./charts/kubevpn  -n dev --set image.tag=test --set cidr.pod=xxxx/xx --set cidr.pod=xxxx/xx

finally, you can use command kubevpn to connect
kubevpn connect

otherwise, you can wait maybe two weeks to release a new version 2.2.2.

thanks @wencaiwulue!
I will try it out properly this week.

I just looked into the commit, looks nice so far. I like the HPA 😃.
I noticed a typo on the filename rulebinding.yaml.
Another question: Does Kubevpn need the namespace labeling? Because we normal manage our namespaces over gitops and in this case (if not configured)  our gitops controller would remove the addtional label.

I just looked into the commit, looks nice so far. I like the HPA 😃.
I noticed a typo on the filename rulebinding.yaml.
Another question: Does Kubevpn need the namespace labeling? Because we normal manage our namespaces over gitops and in this case (if not configured) our gitops controller would remove the additional label.

Yes, i will change rulebinding.yaml --> rolebinding.yaml.
Kubevpn needs label namespace for webhook to manage ip (rentIP before pod create and release ip after pod destroy), But it also works event without label ns, because i write same logic to rentIP at the begining of pod entrypoint . but i recommend label ns, just let all thing goes smoothly

@3deep5me i finished this feature in pr https://github.com/kubenetworks/kubevpn/pull/145 , you can install it by following doc: link

Thanks a lot!

@3deep5me in this pr https://github.com/kubenetworks/kubevpn/pull/177. add the feature to detect pod/service cidr logic, after pod have been started in cluster, client will do nothing just connect to kubevpn-traffic-manager pod. let things became more easy ~, already released new version, you can have a try ~


style(safe-claiming-app): claiming app minor styles

What it solves
Resolves https://github.com/safe-global/safe-react-apps/issues/627
How this PR fixes it

Gives the "Claim and delegate" button same height as the input field
Make "Voting Power" and "Delegate" parts of claiming widget clickable and navigate to the claiming app

How to test it

Go to Claiming widget in Dashboard.
Click Safe icon or tokens value and you should navigate to the Claiming app
Click on the Delegate and you should navigate to the Claiming app

Screenshots

The aligment of the button is fine

I'm not able to check if the widget in the dashboard is clickable cuz this ticket doesn't have a build created.

The widget works fine now, clicking both the balance and the current delegate takes you to the app in a new tab


External function call fails for Solana Target

This contract
contract testing {

    function testPtr(int a) public pure returns (int, int) {
        return (a/2, 3);
    }

    function doTest() public {
    function(int) external pure returns (int, int) sfPtr = this.testPtr;

       (int a, int b) = sfPtr(2);
    }
}

Fails at this assertion (in debug mode):
https://github.com/hyperledger-labs/solang/blob/ea6def90364640889c388f311fcafbe63ef6e8f0/src/emit/solana.rs#L2968

Fixed by #835 .


Checks for Update - launcher.user.js

Now check for updates using the Github page, Then prompts user to update to the latest version

I see, I see.


navbar: Fix handling of links in click handler.

This commits improves how we handle  tags within the navbar
description. The code previously overlaid click regions on top of each
other, which was messy. It is cleaner if we just check if the click
was on an  tag or not.

related to feedback on PR #14707, specifically this comment: https://github.com/zulip/zulip/pull/14707#discussion_r414170907.
Testing Plan:
GIFs or Screenshots:

If someone can check this on a different browser, it'd be great. I don't expect it to be any different, given the code, but I wasn't able to try

I reworked this as 7c820fa51e46e69dfb172aa6ccd45d5664a583dc and merged that, thanks @YashRE42!

And added 5a67d1094339cc5fd159d55d03c9150240c27fbb to fix a minor issue I saw while fiddling with this.


bug: unhandled promise rejection

Did you check docs and existing issues?

[x] I have read all the LazyVim docs
[x] I have updated the plugin to the latest version before submitting this issue
[x] I have searched the existing issues of LazyVim
[x] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.1
Operating system/version
MacOS 15.1.1
Describe the bug
Getting this error as soon as I open a Lua file in Neovim:
  Error  20:52:36 notify.error Trouble Unhandled promise rejection:
...share/nvim/lazy/trouble.nvim/lua/trouble/sources/lsp.lua:489: bad argument #2 to 'get_line_col' (number expected, got string)

stack traceback:
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:34: in function 'transition'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:48: in function 'reject'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:81: in function 'cb'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:31: in function 'transition'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:45: in function 'resolve'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:78: in function 'cb'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:31: in function 'transition'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:45: in function 'resolve'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:164: in function <...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:160>
	[C]: in function 'pcall'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:73: in function 'cb'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:31: in function 'transition'
	...cal/share/nvim/lazy/trouble.nvim/lua/trouble/promise.lua:45: in function 'resolve'
	...share/nvim/lazy/trouble.nvim/lua/trouble/sources/lsp.lua:142: in function 'handler'
	.../neovim/0.10.1/share/nvim/runtime/lua/vim/lsp/client.lua:687: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

Steps To Reproduce

Use minimal repro provided
Open any Lua file
See the error once the lua_ls workspace has loaded sufficiently

Expected Behavior
No error
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "LazyVim/LazyVim", import = "lazyvim.plugins" },
    -- add any other plugins here
  },
})

Interestingly I've tried to reproduce with just trouble.nvim and snacks.nvim in the repro but didn't get the error

Fixed. Update trouble

Hi @folke ,
I'm getting an index out of range on lsp.lua:492 with the latest version of trouble.nvim.


(chore): Update and pin deps

Update peerpad-core to v0.11
Add package-lock https://github.com/ipfs-shipyard/peer-pad/issues/150#issuecomment-385643974
Update jest snapshots to fix Home.test.js

I've self-merged this to trigger the build to see if we can get prod working again.


Code for translating a script-local function name is repeated

Isn't the new function better placed in userfunc.c?  Somewhere near trans_function_name().
It seems the use in common_function() may now run into e_using_sid_not_in_script_context.
Can that be tested?

Hi Bram,
On Fri, Dec 24, 2021 at 5:01 AM Bram Moolenaar @.***>
wrote:

Isn't the new function better placed in userfunc.c? Somewhere near
trans_function_name().

Yes. I will move it.

It seems the use in common_function() may now run into
e_using_sid_not_in_script_context.
Can that be tested?

Without this change also, using function('s:abc') or funcref('s:abc')
outside of a script displays
the  "E81: Using  not in a script context" error. This is because
common_function() calls
save_function_name() which calls trans_function_name() which checks for
using "s:" outside
of a script (https://github.com/vim/vim/blob/master/src/userfunc.c#L3806).
I will add a test for this.

Yegappan


properly check for annotations without region or selection information

Changes Unknown when pulling 943687a05096d9ac67e502a60268a7ea83721d3b on annotation-list-fix into ** on release2.1**.


Provide runnable example for symbolize module

This change updates the example we provide as part of the documentation for the symbolize module to something that can be run properly. Right now it requires root, but we could change that eventually.

Straight forward change; merging.


ICentralManager .scan() What is null?

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[x ] Android
[ ] UWP
[ ] watchOS
[ ] tvOS
[ ] Tizen
[x ] .NET Standard

Feature Library

[ ] Core
[x ] BluetoothLE
[ ] Beacons
[ ] Locations
[ ] HTTP Transfers
[ ] Notifications
[ ] Sensors

Version of Library
<IP_ADDRESS>
Version of OS(s) listed above with issue
Android 10
Steps to Reproduce

central = Shiny.ShinyHost.Resolve<Shiny.BluetoothLE.Central.ICentralManager>()
scan = central .Scan() .Buffer(delay) .Synchronize()
scan.Subscribe()

Expected Behavior
No exception
Actual Behavior
Having this error, what am I doing wrong? please help! Thx!
System.NullReferenceException: Object reference not set to an instance of an object.
at Shiny.BluetoothLE.Central.Internals.CentralContext+<>c__DisplayClass12_0.b__0 (System.IObserver1[T] ob) [0x0010b] in D:\a\1\s\src\Shiny.BluetoothLE\Central\Platforms\Android\Internals\CentralContext.cs:89    at System.Reactive.Linq.QueryLanguage+CreateWithActionDisposable1[TSource].SubscribeCore (System.IObserver1[T] observer) [0x00000] in <b083c4e360dc40a6b457074d604e68fd>:0    at System.Reactive.ObservableBase1[T].Subscribe (System.IObserver`1[T] observer) [0x00037] in :0

My bad, this seems to happen when the bluetooth is off. Thanks for confirmation.


Solve image is not shown in web page

#104
I fixed the problem of Chryz-hub web site.
You visit here to see the changes.
Here in image width double quote or single qoute is compulsory.

Okay


Persistent bunny hood causing time to not show during postman counting game.

[ X] I have checked the known issues and searched Github to ensure this issue has not already been reported.
[ X] This is not a feature request, I know those belong on Discord/Github Discussions.

Description of the bug:

When playing the postman game the timer disappears like it does without bunny hood.
Can you reproduce? If so please list the steps:

[ ] No, I cannot reproduce this bug
[ X] Yes, here are the steps to reproduce the bug:

Go to post office
talk to postman to start game with persistent bunny hood on
wait for time to dissapear
Expected behavior:

The time should work how it normally does with bunny hood on where the timer doesn't vanish.
Screenshots or videos:

System Information:

OS:Windows 11
GFX Backend: Metal, OpenGL, or DirectX
DirectX
Game Version: Satoko Bravo
Rom Version: US 1.0

Additional Information:

Fix is available in Satoko Charlie 1.1.2


Resource manager ns

Issue
The root namespace needs to be the same for the entire gem.
Priority

Needed for VPC provision

Implementation

Change IbmCloudResourceManager::ResourceManagerV2 to IbmCloudResourceController::ResourceManagerV2
Update version to 2.0.1

Not covered

n/a

Specs

No updates
Manually tested in REPL

Common files

No common files changed

Released v2.0.1 with this fix


fix: Remove log4j security vulnerability

Description
LEARNER-8679
We have removed the possible log4j security vulnerability along with the unused Acceptance Tests where it could
have occurred.

Thanks for the pull request, @HamzaIsrar12! I've created OSPR-6354 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.
:warning: We can't start reviewing your pull request until you've submitted a     signed contributor agreement     or indicated your institutional affiliation. Please see the CONTRIBUTING     file for more information.     If you've signed an agreement in the past, you may need to re-sign.  See     The New Home of the Open edX Codebase     for details.

@HamzaIsrar12 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


Don't override guid/uid + accounts backend tests

Fails at sync-from-cache for doing SonarCloud Analysis: https://drone.owncloud.com/owncloud/ocis/2383/16/2
Because of https://github.com/minio/mc/issues/3538
minio/mc published a new but broken docker image a few hours ago. If they do not fix it "soon" then we will need to pin to an old tag.


Darktable opencl stops working with rocm 4.3.0

4.1.0 worked fine. Here is the log from darktable-cltest:
dt-cltest.txt

Thanks @Aceler for reaching out.
Can you please share the exact steps to reproduce the problem.
So that I will check it locally and help you with all of the information.
Request you to share the outputs of /opt/rocm/bin/rocminfo and /opt/rocm/opencl/bin/clinfo
Thank you.

Sure.
One day I find out, that rocm debian/ubuntu repository is no longer works, because it moves from https://repo.radeon.com/rocm/apt/debian/ **xenial** main to https://repo.radeon.com/rocm/apt/debian/ **ubuntu** main.
I found instructions here: https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#ubuntu
They said, that I need a complete uninstallation of previous ROCm versions. So I removed rocm4.1.0, made a purge and installed a followed packages from the new place:
libnuma-dev
rocm-opencl

I also got several packages as a dependencies:
Start-Date: 2021-08-10  18:45:58
Commandline: apt-get -y install rocm-opencl
Requested-By: aceler (1000)
Install: hsa-rocr-dev:amd64 (<IP_ADDRESS>300-52, automatic), hsakmt-roct:amd64 (20210520.3.071986.40300-52, automatic), rocm-opencl:amd64 (<IP_ADDRESS>300-52), libelf-dev:amd64 (0.176-1.1build1, automatic), comgr:amd64 (<IP_ADDRESS>300-52, automatic)
End-Date: 2021-08-10  18:46:00

I use an upstream kernel, so /etc/udev/rules.d/70-kfd.rules is configured accordingly.
Then, I launched darktable-cltest and got this.
Darktable is installed from the official Darktable OBS: https://software.opensuse.org/download.html?project=graphics:darktable&package=darktable
Here are log files you asked for:
clinfo.txt
romcinfo.txt

Have you tried setting LD_LIBRARY_PATH='/opt/rocm/opencl/lib/'? that worked for me in blender

Thank you much @Aceler for sharing all of the information and logs, really helpful to understand the problem better.
I got to know from the logs that its unable to generate executable from Intermediate representation of code: Error: Creating the executable from LLVM IRs failed.
The reason for this is that you are using a non-supported ROCm card which can not generate the executable/codes as expected.
You are using Ellesmere(gfx803), which is not supported by ROCm and hence code might not work.
Recommend to use a supported GPU, as per https://github.com/RadeonOpenCompute/ROCm#hardware-and-software-support
Hope this helps.
Feel free to open a new issue, if any, for fast resolution.
Thank you.


Update Issue - 9027703

default description
URL tested: http://ci.bsstag.com/welcome
Open URL on Browserstack

Property
Value

Browser
Chrome 78.0

Operating System
Windows 8.1

Resolution
1024x612

Screenshot Attached
Screenshot URL

Click here to reproduce the issue on Browserstack

Updated Screenshot Attached


Ubuntu Google error

Hi everyone... :)
I am running this on UBUNTU installed on Windows 10... and cannot pass this error :)

Can somebody please give me a hint, thanks!

Hi,
I'm trying as best I can to install it on Ubuntu, but I can't.
Indeed, I must probably be doing it wrong.
Could you help me ?


Refactor: Refactor the Components , Utils ,Constant and pages

Closes #605

@Sachin-chaurasiya just a slight reminder, PRs merged/approved after 12am GMT-12 would not be counted for Hacktoberfest 🙂

@Sachin-chaurasiya just a slight reminder, PRs merged/approved after 12am GMT-12 would not be counted for Hacktoberfest 🙂

@krishguptadev thank you, but I have already completed hacktoberfest challenge 😊.

This looks great @Sachin-chaurasiya 👍

Closing this PR as lost the track of it.


Error with Environment Canada Unknown Alert Type

Describe the bug
It seems that this card is not working with all of the Environment Canada alerts. Today, I have a Severe Thunderstorm alert, but the card shows Error: Unknown Env canada alert type: Severe Thunderstorm
Steps to reproduce
No response
Screenshots
No response
Card version
v2.1.0
Integration type
Environnement Canada
Installation type
Home Assistant Community Store (HACS)
Card Configuration
type: custom:meteoalarm-card
entity: update.home_assistant_supervisor_update
integration: env_canada
entities:
  - entity: sensor.toronto_watches
  - entity: sensor.toronto_warnings
  - entity: sensor.toronto_statements
hide_when_no_warning: true

Integration Configuration
N/A added the the WebUI, not YAML.

I guess duplicates of #103. I can not really reproduce it on 2.1

Yeah, I guess this is a duplicate. I hadn't noticed, since you'd closed that issue. I'm not really sure what I can do from my end to troubleshoot. This is a brand new installation of the card via HACS, which should be using the latest release (it says v2.1.0 in HACS).
I'm not sure why I and @Woodcat64 are having the trouble, but you are unable to reproduce it, unless for some reason the card code you're using is different from what HACS is pulling on installation...

Can you open your browser console and see the version there?

Like @Woodcat64, my browser console is saying it's v2.0.0 even though HACS says that v2.1.0 is installed.

@xthursdayx then it's issue in hacs, not here

Sure, I think you're probably right about that. I would just assume that you'd probably want to know if HACS is installing the wrong version of your code, since your Readme says that you recommend installing this card via HACS.
Anyway, I've removed the version installed by HACS and manually added the most recent version of the meteoalarm-card.js file, so I will wait and see if it works next time there is a weather alert.

@xthursdayx I have tried both files from Hacs and Github and it didn't make a difference for me. I even compared the v2.0.0 and v2.1.0 and they were identical. I see  v2.2.0 is out now, Firefox reports "MeteoalarmCard  2.2.0" so it probably will work next time.

So i guess something was just messed up with 2.1, glad it's fixed


Custom routes filtering not working

Hi everyone!
I'm having some trouble with access to nested resources.
I'd like to query api/users/:user_id/searches in order to query all the searches of a user. When I do GET searches?user_id=123 everything is fine, but when I do GET api/users/123/searches json-server's response is not filtered by user_id and also search with different user_id are shown. What am I missing?
Thank you in advance,
Manuel
routes.json
{
  "/api/": "/",
  "/api/users/:user_id/searches": "/searches?user_id=:user_id"
}

db.json
{
	"searches": [
		{
			"id": 1,
			"user_id": 123,
			"type": "by-destination",
			"params": {}
		},
		{
			"id": 2,
			"user_id": 123,
			"type": "by-destination",
			"params": {}
		},
		{
			"id": 3,
			"user_id": 121,
			"type": "by-destination",
			"params": {}
		}
	]
}

Hi @RobertBernstein,
Thanks for the help.
You can find them in the CHANGELOG file and I bump the minor version when there's a breaking change :)
https://github.com/typicode/json-server/blob/master/CHANGELOG.md#0110---2017-07-05

Thank you, @typicode!  I just missed seeing that.  I'll keep that in mind for the future.


New onboarding

Link jira to issue
https://p2pvalidator.atlassian.net/browse/PWN-4366
🚨🚨🚨 Check 🚨🚨🚨

[ ] WebviewReference release webview (Memory leak)
[ ] Prune git history (some secret keys aren't hidden)

@deploy

@deploy

@deploy


Storing functions

Question
Hi. I'm creating local db for application and i want store API calls in hive db, and then when internet connection comes up i will send this requests.
Code sample
db service
Box calls = await Hive.openBox(AppConstants.calls);
storing
await localDbService.calls
.add(() async => await api.updateSettings(settings.toJson()));
error: Cannot write, unknown type: () => Future<Response>. Did you forget to register an adapter?
Any ways to resolve this issue ?
Version

Platform: iOS, Android
Flutter version: [1.22.5]
Hive version: [1.4.4+1]

Why don't just keep the functions on the app? Why do you need to store it on the user's device?

It's not possible.
You can not store functions in any database (declaring functions in databases like postgresql is not same as saving function as an entry).

Why don't just keep the functions on the app? Why do you need to store it on the user's device?

My application has offline mode. So that why i tried to store functions.

It's not possible.
You can not store functions in any database (declaring functions in databases like postgresql is not same as saving function as an entry).

got it. any way to make API call after turning on internet ?

Why don't just keep the functions on the app? Why do you need to store it on the user's device?

My application has offline mode. So that why i tried to store functions.

yea why not just write the function in your code then call it when u need it. I don't see why you need to store it separately.

got it. any way to make API call after turning on internet?

there is a package called internet_connection_checker that uses a simple API to determine whether the device is connected to the internet by pinging google's server.

Sounds like firebase firestore is good for ur use case

Bad news. Customer doesn't want to use firebase in this application. But thank you for answering.

@xakeppok This is as simple as storing objects. I explain.
Suppose you make a request to update user information and looks like this: PATCH /account {firstName: "Jose", lastName: "Ryan"}.
If the device does not have internet connection, just create a model called HttpCall and store critical information about it. For example, HttpMethod (PATCH in this case), Body (if any), Path (to the resource), QueryParams (if any), and so on. And then, when you detect internet activity, parse it and send as a normal request.

@TomasWeg yeah,thats a good idea, thank you very much!


PCA Inference expects the input data to have raw. If there is no  raw it crushes.

It was done during June release PR


Tryit pr use bot token

You can try these changes at https://cadlplayground.z22.web.core.windows.net/cadl-azure/prs/2749/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/cadl-azure/prs/2749/


Can it highlight the code ?

I test it , and can not highlight the code .
My code is as fellow

{% spoiler title %}
```c++
my code

{% endspoiler %}

Code within spoilers is actually handled via code blocks, for example:
{% codeblock lang:c++ filename.cpp %}
//Code here
{% endcodeblock %}

See https://hexo.io/docs/tag-plugins.html#Code-Block for more information on the codeblock tag.


Internet connection and TOR/Node connection: error messages.

Detect network connection in general and give error message.
Check network also when there is Node connection or Tor connection issue and give the correct error message.

We should make something to redirect to node ....... currently user have to get back on home and select setting and again node option and connect again
this happens regularly redirecting will reduce the step

Verified thisi ssue on keeper app v 1.1.8(264)


Move Karma config file to test/.

Refs #1004

@jasonLaster Seems that it's the natural/suitable place for karma.conf.js.

Current coverage is 100.00%

Merging #1291 into master will not affect coverage as of 2cddcb1

@@            master   #1291   diff @@
======================================
  Files            1       1
  Stmts         2979    2979
  Branches       588     588
  Methods          0       0
======================================
  Hit           2979    2979
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 2cddcb1

Powered by Codecov. Updated on successful CI builds.


Details needed for ring 59 (Malcev's nonembeddable domain)

https://github.com/rschwiebert/dart_data/blob/785b8987539e1a37eb8da2c64bd4e7729ffd163b/db/ringapp/ring/RING_000059/data.yaml#L3

The monoid is actually described in Section 2 in Malcev's paper (not 3). The definition is also carried verbatim to Lam II p291 Th(9.8). Malcev constructed a semigroup. Lam also uses this term, however just prior, on p290, he specifically forces semigroups to contain a unity.
Description: The monoid ring $\Bbb Q[M]$ where $M$ is the quotient monoid $F(a,b,c,d,x,y,u,v)/С$, $F(\ldots)$ is the free monoid and $C$ is the congruence generated by $ax = by$, $cx = dy$, $au = bv$.
Here are some properties for this ring from what I could infer by a glance over the list. First note that

being a domain, $R$ has only trivial idempotents;
the set of units is $\Bbb Q \setminus 0$ (if $sr = 1$, where $s$ or $r$ contain the 'letters,' then take the terms with the highest degrees in $s$ and $r$, their product would have to vanish);
$1 + ar$ is never invertible unless $r = 0$, so $J(R) = 0$.

Empty description means "see 1.–3.":

:x: $I_0$. Take $aR$.
:x: $\pi$-regular. Take $a = a$...
:x: clean. Too few units and idempotents.
✔ countable. Clear.
:x: exchange. $1 = a + (1-a)$, $ar$ is an idempotent $\Rightarrow r = 0$, so $(1-a)s = 1$, contradiction.
:x: fully prime. $(a)$ is not prime.
✔ lift/rad. Tautology.
:x: local. $1/2 \pm a$ have an invertible sum.
✔ nil radical.
✔ nilpotent radical.
✔ semiprimitive.
:x: simple. Clear.
:x: stable range 1. $a + \omega (1 - xa) \in \Bbb Q$ has no solutions.
:x: weakly clean. $a - q \not \in Ra$ for $q \in \Bbb Q \setminus 0$.
:x: left/right duo. $ba \not \in aR$.

By definition:
:x: [Zorn, potent, semilocal, semiperfect, semiregular, top regular, top simple (Artinian)]
✔ [left/right T-nilpotent radical]
For stable finiteness, p19 ex18 seems very suspicious... The ring probably has UGP and is unlikely to be quasi-duo.
Sorry again for any mistakes in the list, I hope I didn't make too many...

@dyunov Hi! Thanks for dropping in! I am looking into the suggested property changes. Would you be willing to write up the construction here in a comment?  Normal latex will be fine. If it doesn't fit into the database field I make an "extended details" page that will fit it no matter what.

@rschwiebert Do you mean a separate comment? The edited description was in the second paragraph of my post:

Description: The monoid ring $\Bbb Q[M]$ where $M$ is the quotient monoid $F(a,b,c,d,x,y,u,v)/С$, $F(\ldots)$ is the free monoid and $C$ is the congruence generated by $ax = by$, $cx = dy$, $au = bv$.

It's just that, a monoid algebra over a quotient of free monoid. In $\S 2$ Malcev first defines "elementary transformations" that result from replacing LHS w/ RHS of these equations in a word and vice versa. Then he proves the resulting equivalence relation to be a congruence on $F(\ldots)$ and notes that the resulting quotient semigroup (or monoid) cannot be embedded into a group because the condition of $\S 1$ does not hold for it. Then, in $\S 3$, he proves $R$ to be a domain.

@dyunov  Great job!  After including "simple" and "semiprimitive" and "countable", the database figured out everything on the list except fully prime, duo, and stable range.  I'm also convinced by your arguments for duo and stable range.
But I don't think I follow the one about "fully prime."  What convinces you that $R/(a)$ is not a prime ring?

For $(a)$ not being a prime ideal I used another definition and interpreted it incorrectly... Sorry!
By the way, is it true that "fully prime" passes to quotient rings (as the quotients of quotients of $R$ are quotients of $R$)? Then one can identify all 8 letters and get $\Bbb Q[x]$, which is not fully prime.
I also found an article on fully prime rings, where they prove the following (warning: they work with rngs).

"fully prime" $\Rightarrow$ the ideals are linearly ordered under inclusion (Th1.2);
"fully prime" passes to matrix rings (Th2.1), corner rings (Th2.3), is Morita invariant (Th2.4).

I know DaRT has L/R uniserial rings, but what about the property for two-sided ideals?

@dyunov Yes, I think it is pretty clear that both fully-prime and fully-semiprime must pass to quotient rings.  Good call: there is a lot of progress out there to be made by exploiting the metaproperties of properties.

@dyunov I could be persuaded that "bilaterally uniserial rings" might be a good addition, given enough cute implications!

@dyunov  Do you have access to that article on fully prime rings? Think you could email me a copy?

"bilaterally uniserial rings" might be a good addition

Unfortunately I know neither the terminology used for such rings, nor if they have ever been studied at all... I'll try searching for articles on them.
I have just sent you an email to the GMail account stated in the preprint of the radical-annihilator monoid article. Please check your spam folder, it may very well end there...


ToolchainCapabilityDatabase.cmake:93 error in PR #8579

Please help me. In submitting PR #8579 the automatic checks provides an error which I guess it is not related to the PR iself. I noticed a similar issue was found and solved with #7514 on May 14.
Details:
CMake Error at /home/buildslave/.cache/zephyr/ToolchainCapabilityDatabase.cmake:93:
Parse error.  Function missing ending ")".  End of file reached.
Call Stack (most recent call first):
../../../cmake/extensions.cmake:638 (include)
../../../cmake/extensions.cmake:1020 (zephyr_check_compiler_flag)
../../../cmake/extensions.cmake:996 (target_cc_option_fallback)
../../../cmake/extensions.cmake:106 (target_cc_option)
../../../CMakeLists.txt:212 (zephyr_cc_option)
Full log can be found here:
https://app.shippable.com/github/zephyrproject-rtos/zephyr/runs/17843/3/console
@SebastianBoe @nashif

What it's saying is that this file is corrupted:
/home/buildslave/.cache/zephyr/ToolchainCapabilityDatabase.cmake
Without this file it is impossible to debug.

@SebastianBoe I saw you wanted to recheck the CI on #8579
Is there something I can do?

That was a command to CI, I'm not sure it worked though.
I wanted to find out if this happened every time or if it was spurious.
If it is spurious we can accept this until it happens again, if it happens every time we need to have CI print the file somehow to debug.

@nashif : Is the 'recheck' functionality down? Is there any other way to re-run CI?

I could repush the commit with a negligble change

@SebastianBoe
Done! Let's wait...

Right, you are going to have to find some way of catting the file then. Either from sanitycheck.py or .shippable, it's not possible from CMake I believe.
In hindsight, some config file format should have been used for the database. CMake can't do error-checking  on syntax errors in the CMake code itself ...

@SebastianBoe

Right, you are going to have to find some way of catting the file then.
Either from sanitycheck.py or .shippable, it's not possible from CMake I believe.

Not sure I'll be able to do that easily, as I do not know the CI scripting system much...
Anyway, I re-ran it with latest commits once more. If it fails again I'll try first to run it locally.
Is it easy to do that? I think I'll just need to run ./scripts/sanitycheck right?

@SebastianBoe
Mmmmh ... now sanitycheck worked.
The reason why I re-ran it was because I noticed this recent patch and I rebased my changed
on top of it:
Author: Andrew Boie<EMAIL_ADDRESS>Date:   Tue Jun 26 10:41:35 2018 -0700
sanitycheck: fix spammy build output

--
Do you think this might be the reason why it is now working?

I doubt it.
My best guess would be that corruption can occur when there are multiple consumers and producers. If this happens again I'll re-write this to use a config format that can be validated.

In fact I then realized that the commit was already present even before, when the sanitycheck failed.
Anyway, If you agree I'll close this bug item.


Docs: Syntax highlighting is broken

Describe the bug
Sometime fairly recently it looks like syntax highlighting was broken in the docs.  This appears to be true for all of the examples, the example below is an example I modified recently and I'm pretty sure it was highlighting correctly when I did that in #1725, but I probably hadn't merged #1723 when I did the testing on that, so that may be a candidate.

Reproduction
See the above image.
Used Package Manager
pnpm
Validations

[X] Have tested with the latest version. This is still alpha version and sometime things change rapidly.
[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Thanks @VividLemon , I should have some time today or tomorrow to take a look at this unless you're already working on it.

Thanks @VividLemon , I should have some time today or tomorrow to take a look at this unless you're already working on it.

No, I'm not actively working on it


EPMRPP-61094: [AGENT] Postman. ECONNREFUSED with reporter only when using CLI

Also please add a note about this fix to the CHANGELOG.md with link to the issue.

I'm going to add the note in the final PR before release. Are you ok with it?


needed to change var to public so that building with --prod would work

the build was failing while this was private

Coverage remained the same at 95.719% when pulling 84059af788bf39cb86d21014f7babe9825b820b8 on buddamus:master into cc9a086f0c84781a7f81194c536677f8dbd375c5 on mseemann:master.

There was already a previous PR for this: https://github.com/mseemann/angular2-mdl-ext/pull/1127/files
Waiting for @mseemann to take a look. Probably would be worth it to also compile angular-mdl with the AoT compiler to ensure that bugs like these don't happen. There is also a linting rule from codelyzer which checks for private variables used inadvertently in templates.

using this pr - because it has no confilicts


Windows Terminal throws spurious error whenever I save settings.json

Environment
Windows build number: Version 10.0.19042.804
Windows Terminal version (if applicable): 1.5.10411.0
Ubuntu running in WSL1
Any other software?
Steps to reproduce

Click Settings in the Windows Terminal menu to open a "settings.json" file in the default editor (Vim for me)

Paste a valid json file into the opened "settings.json"

Save the file

Expected behavior
No error, terminal settings updated
Actual behavior
Whenever I attempt to save a settings.json file, I get an error such as...
Settings could not be reloaded from file. Check for syntax errors, including trailing commas.
* Line 153, Column 10
  Missing '}' or object member name

Temporarily using the Windows Terminal default settings.

I've tried pasting various settings.json files from online sources: e.g., Thomas Maurer's config
Everything I've tried gives roughly the same error message.
Bizarrely, I've even gotten the same error after pasting the Windows Terminal defaults, which I obtained by holding "Alt" and clicking "Settings" in the menu. The error dialog pops up as soon as I save the file. I've tried both unix and dos linefeeds, and I've tried both latin1 and utf-8 encodings.
Is there a "golden" settings.json I can try?

Weird. The defaults.json should work, especially considering that file is also parsed to create the "default" settings that the terminal falls back to 😃
What editor are you using to modify the settings file? I'm worried it might be sticking a spurious UTF-8 BOM somewhere it shouldn't be

Looks like it was the BOM. When I forced Vim to write the file without the BOM, the error went away. Moreover, it doesn't come back when I reopen settings.json using the Windows Terminal menu. Vim was opening the file with encoding=latin-1, so there shouldn't have been a BOM at all, but the error first occurred when I was still using MS Visual Studio as the default json editor. So maybe MSVS inserted the BOM originally, and it just kept getting propagated through subsequent edits? Can Windows Terminal handle a properly encoded BOM?
Possibly unrelated, but although the parse error is gone, I'm not seeing much color in my Ubuntu terminal, now matter which colorscheme I pick. Do I need to set TERM to something special to get the colors (eg) in my bash prompt to appear?

@bpstahlman To "get the colors (eg) in your bash prompt to appear", you'll need to have a prompt that has colors. This shouldn't be a problem for bash in WSL. What shell are you using? A screenshot would be good.

Somehow, my .bashrc had gotten clobbered, which meant I was getting some
sort of default PS1 that had no color. The colors are back now.
Thanks, Brett S.
On Tue, Mar 2, 2021 at 2:04 AM Chester Liu<EMAIL_ADDRESS>wrote:

@bpstahlman https://github.com/bpstahlman To "get the colors (eg) in
your bash prompt to appear", you'll need to have a prompt that has colors.
This shouldn't be a problem for bash in WSL. What shell are you using? A
screenshot would be good.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/terminal/issues/9310#issuecomment-788670255,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOSQDCZAPVHDDLTKD2AL3TBSEWDANCNFSM4YLQIV4Q
.

Can Windows Terminal handle a properly encoded BOM?

We do handle some BOM cases already, but who knows what the exact byte was that caused this issue. We'd probably need a raw hex dump of the offending file to fix it 😕
Glad you were able to get this resolved!

Yeah. Clearly this was some sort of BOM corner-case, possibly introduced
when I pasted the Thomas Maurer "settings.json" into my editor from a web
page... I'll know how to resolve (and possibly root cause) if it happens
again, but more relevant parse error messages would probably prevent a lot
of headaches for other users...
Thanks, Brett S.
On Tue, Mar 2, 2021 at 10:39 AM Mike Griese<EMAIL_ADDRESS>wrote:

Can Windows Terminal handle a properly encoded BOM?
We do handle some BOM cases already, but who knows what the exact byte was
that caused this issue. We'd probably need a raw hex dump of the offending
file to fix it 😕
Glad you were able to get this resolved!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/terminal/issues/9310#issuecomment-788999902,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOSQCIG226DCPCBE4VCSTTBUBEDANCNFSM4YLQIV4Q
.


Restore component/bundle max size

fixes #324

close for now, cycle back when we have a better solution.