Bug: Space between Chinese and English or numbers not working any more

Describe the Bug
The function Space between Chinese and English or numbers used to work, but not this time, even when I have restarted Obsidian.
How to Reproduce
Steps to reproduce the behavior:

Turn on the Space between Chinese and English or numbers in the setting of Linter
Run lint the current file

Please make sure to include the rule(s) that cause the issue if applicable. If you are not sure which rule(s) may cause the issue, please attach the data.json file located at <vault>/.obsidian/plugins/obsidian-linter/.
{
  "ruleConfigs": {
    "Escape YAML Special Characters": {
      "Escapes colons with a space after them (: ), single quotes ('), and double quotes (\") in YAML.": false,
      "Default Escape Character": "\"",
      "Try to Escape Single Line Arrays": false,
      "Force Yaml Escape on Keys": ""
    },
    "Format Tags in YAML": {
      "Remove Hashtags from tags in the YAML frontmatter, as they make the tags there invalid.": false
    },
    "Format Yaml Array": {
      "Allows for the formatting of regular yaml arrays as either multi-line or single-line and `tags` and `aliases` are allowed to have some Obsidian specific yaml formats. Note that single string to single-line goes from a single string entry to a single-line array if more than 1 entry is present. The same is true for single string to multi-line except it becomes a multi-line array.": false,
      "Yaml aliases section style": "single-line",
      "Format yaml aliases section": true,
      "Yaml tags section style": "single-line",
      "Format yaml tags section": true,
      "Default yaml array section style": "single-line",
      "Format yaml array sections": true,
      "Force key values to be single-line arrays": "",
      "Force key values to be multi-line arrays": ""
    },
    "Insert YAML attributes": {
      "Inserts the given YAML attributes into the YAML frontmatter. Put each attribute on a single line.": false,
      "Text to insert": "aliases: \ntags: "
    },
    "Move Tags to Yaml": {
      "Move all tags to Yaml frontmatter of the document.": false,
      "Yaml tags section style": "single-line",
      "Remove the hashtag from tags in content body": false,
      "Tags to ignore": ""
    },
    "Remove YAML Keys": {
      "Removes the YAML keys specified": false,
      "YAML Keys to Remove": ""
    },
    "YAML Key Sort": {
      "Sorts the YAML keys based on the order and priority specified. Note: may remove blank lines as well.": false,
      "YAML Key Priority Sort Order": "",
      "Priority Keys at Start of YAML": true,
      "YAML Sort Order for Other Keys": "None"
    },
    "YAML Timestamp": {
      "Keep track of the date the file was last edited in the YAML front matter. Gets dates from file metadata.": false,
      "Date Created": true,
      "Date Created Key": "date created",
      "Date Modified": true,
      "Date Modified Key": "date modified",
      "Format": "dddd, MMMM Do YYYY, h:mm:ss a"
    },
    "YAML Title": {
      "Inserts the title of the file into the YAML frontmatter. Gets the title from the first H1 or filename if there is no H1.": false,
      "Title Key": "title"
    },
    "YAML Title Alias": {
      "Inserts the title of the file into the YAML frontmatter's aliases section. Gets the title from the first H1 or filename.": false,
      "YAML aliases section style": "Multi-line array",
      "Preserve existing aliases section style": true,
      "Keep alias that matches the filename": false,
      "Use the YAML key `linter-yaml-title-alias` to help with filename and heading changes": true
    },
    "Capitalize Headings": {
      "Headings should be formatted with capitalization": false,
      "Style": "Title Case",
      "Ignore Cased Words": true,
      "Ignore Words": "macOS, iOS, iPhone, iPad, JavaScript, TypeScript, AppleScript",
      "Lowercase Words": "via, a, an, the, and, or, but, for, nor, so, yet, at, by, in, of, on, to, up, as, is, if, it, for, to, with, without, into, onto, per"
    },
    "File Name Heading": {
      "Inserts the file name as a H1 heading if no H1 heading exists.": false
    },
    "Header Increment": {
      "Heading levels should only increment by one level at a time": false
    },
    "Footnote after Punctuation": {
      "Ensures that footnote references are placed after punctuation, not before.": false
    },
    "Move Footnotes to the bottom": {
      "Move all footnotes to the bottom of the document.": false
    },
    "Re-Index Footnotes": {
      "Re-indexes footnote keys and footnote, based on the order of occurrence (NOTE: This rule deliberately does *not* preserve the relation between key and footnote, to be able to re-index duplicate keys.)": false
    },
    "Convert Bullet List Markers": {
      "Converts common bullet list marker symbols to markdown list markers.": false
    },
    "Emphasis Style": {
      "Makes sure the emphasis style is consistent.": false,
      "Style": "consistent"
    },
    "No Bare URLs": {
      "Encloses bare URLs with angle brackets except when enclosed in back ticks, square braces, or single or double quotes.": false
    },
    "Ordered List Style": {
      "Makes sure that ordered lists follow the style specified. Note that 2 spaces or 1 tab is considered to be an indentation level.": false,
      "Number Style": "ascending",
      "Ordered List Indicator End Style": "."
    },
    "Proper Ellipsis": {
      "Replaces three consecutive dots with an ellipsis.": false
    },
    "Remove Consecutive List Markers": {
      "Removes consecutive list markers. Useful when copy-pasting list items.": false
    },
    "Remove Empty List Markers": {
      "Removes empty list markers, i.e. list items without content.": false
    },
    "Remove Hyphenated Line Breaks": {
      "Removes hyphenated line breaks. Useful when pasting text from textbooks.": false
    },
    "Remove Multiple Spaces": {
      "Removes two or more consecutive spaces. Ignores spaces at the beginning and ending of the line. ": false
    },
    "Strong Style": {
      "Makes sure the strong style is consistent.": false,
      "Style": "consistent"
    },
    "Two Spaces Between Lines with Content": {
      "Makes sure that two spaces are added to the ends of lines with content continued on the next line for paragraphs, blockquotes, and list items": false
    },
    "Unordered List Style": {
      "Makes sure that unordered lists follow the style specified.": false,
      "List item style": "consistent"
    },
    "Compact YAML": {
      "Removes leading and trailing blank lines in the YAML front matter.": false,
      "Inner New Lines": false
    },
    "Consecutive blank lines": {
      "There should be at most one consecutive blank line.": false
    },
    "Convert Spaces to Tabs": {
      "Converts leading spaces to tabs.": false,
      "Tabsize": 4
    },
    "Empty Line Around Blockquotes": {
      "Ensures that there is an empty line around blockquotes unless they start or end a document. **Note that an empty line is either one less level of nesting for blockquotes or a newline character.**": false
    },
    "Empty Line Around Code Fences": {
      "Ensures that there is an empty line around code fences unless they start or end a document.": false
    },
    "Empty Line Around Tables": {
      "Ensures that there is an empty line around github flavored tables unless they start or end a document.": false
    },
    "Heading blank lines": {
      "All headings have a blank line both before and after (except where the heading is at the beginning or end of the document).": false,
      "Bottom": true,
      "Empty Line Between Yaml and Header": true
    },
    "Line Break at Document End": {
      "Ensures that there is exactly one line break at the end of a document.": false
    },
    "Paragraph blank lines": {
      "All paragraphs should have exactly one blank line both before and after.": false
    },
    "Remove Empty Lines Between List Markers and Checklists": {
      "There should not be any empty lines between list markers and checklists.": false
    },
    "Remove link spacing": {
      "Removes spacing around link text.": false
    },
    "Remove Space around Fullwidth Characters": {
      "Ensures that fullwidth characters are not followed by whitespace (either single spaces or a tab). Note that this may causes issues with markdown format in some cases.": false
    },
    "Space after list markers": {
      "There should be a single space after list markers and checkboxes.": false
    },
    "Space between Chinese and English or numbers": {
      "Ensures that Chinese and English or numbers are separated by a single space. Follows these [guidelines](https://github.com/sparanoid/chinese-copywriting-guidelines)": true
    },
    "Trailing spaces": {
      "Removes extra spaces after every line.": false,
      "Two Space Linebreak": false
    }
  },
  "lintOnSave": false,
  "displayChanged": true,
  "foldersToIgnore": [],
  "linterLocale": "system-default",
  "logLevel": 4,
  "lintCommands": []
}

Expected Behavior
Previously it used to work, but not this time, I have tried to restart Obsidian, but still not work.
Screenshots
If applicable, add screenshots to help explain your problem.

Device

[x] Desktop
[ ] Mobile

macOS mojave, Obsidian version 1.0.3, installer 1.0.0

I have tried to update the installer to v.1.0.3, but the bug is still there. I guess the reason might be that this function is not compatible with v.1.0.3, but works fine on v.1.0.0.

Is there anything in the console log when you run cmd+shift+I?

@pjkaufman
The console shows the message from other extensions (like Obsidian-Git), but not from Linter, although there is a Linter bandage saying "0 characters added", it is odd.

The 0 character change means it found nothing that met the criteria for a change. I can take a look and create an example locally, but unless this is not working for all files and not just a specific file, you might just have a file that does not have content that meets the criteria to get updated as per the underlying regex. Could you provide a sample file that could be used to reproduce the issue?

@pjkaufman
It is odd! I created a new Obsidian vault, and installed Linter, and this time it works!
So I think there should be something wrong with my original vault!

@pjkaufman It is odd! I created a new Obsidian vault, and installed Linter, and this time it works! So I think there should be something wrong with my original vault!

It is possible that that is the case. were you able to lint the same file you were having trouble with before?

I find that the bug is influenced by latex blocks.
Here is a sample text (I have highlighted the texts that should be formatted):
==测试test==
$$a=b
\tag{1}$$
==测试test==

The first 测试test can be formatted well, while the second cannot.
Once I write a multiline latex block, and put the equation label \tag{1} while $$ denoting the end of latex code in the same line, this bug can be reproduced in the texts following the rendered latex block.
Now I think the bug is rather a minor one, because it is highly related to my private habit to write latex codes.

So the issue can be seen by the following and I am not really able to do anything about it on my end directly unless I do some funky parsing. Here is an AST parser run against what you have above: https://astexplorer.net/#/gist/f84501a2b986e7656461e1c51e408abb/dd22329c7f2ac378807bb15fc7273e8eac8b91c5
It considers
$$
a=b
\tag{1}
$$
==测试test==

to be a part of a math block. This means it will not get parsed. Out of curiosity, what does ==测试test== mean syntactically? Is that regular markdown or is that latex? If it is the latter then, the above makes some sense since the parser is looking for math blocks and not full blown latex.

==测试test== is just regular markdown, highlighted.
I now know the bug happens when the katex rendering is embedded in regular markdown texts. You see from the website ( https://astexplorer.net/#/gist/f84501a2b986e7656461e1c51e408abb/dd22329c7f2ac378807bb15fc7273e8eac8b91c5 ).
We may find the type difference of the test in line 7, 13, 15, 17. All the lines after the second math block is recognized as "math".

An odd thing is that, I have write multiline math block like this for a long time in Obsidian, no other bug have ever happened, except for Linter.

If no more specific things the developers can deal with this, I think the administrator might close this thread.

The Linter uses a different parser than Obsidian does which is why they act differently. But as for the issue here. Does enabling the blank lines around math blocks allow this to work as expected?

It looks like it is the issue with $$ not being on its own line so the math parsing gets a little confused. Why not put the ending of the math block on its own line? I know that is a rule that the Linter has.

@pjkaufman
I have updated the URL in my previous comment, you may see that blank lines does not help. All texts after $$ will be "math".
You are right, it is a workaround, as I have commented previously, I should change my habit to write math equations.

I will open an issue upstream and see where it goes, but in the meantime, I would use the rule to keep the $$ on its own line to prevent this.

Glad that I my bug reported can make a change, thank you for your patience!

I am glad that you are able to see the rule now. Hopefully it will help reduce friction with this.
Here is the discussion trying to figure out if this is intended functionality: https://github.com/orgs/remarkjs/discussions/1069

For anyone that may look at this issue in the future, the ending of a math block has to be on its own line for the math block parsing to work as intended, at least at for now.


Add more setup to integrate the webapp with the test server

Motivation
Integrate the webapp with ShiroCentralDogmaTestServer and SimpleCentralDogmaTestServer.
Modification

Add a loading state to handle anonymous mode access.
Update shiro login path.
Moves pages to src/pages https://nextjs.org/docs/advanced-features/src-directory

Result

When the security_enabled flag is true, it will redirect to shiro login link for authentication.
When the security_enabled flag is false, it will allow access in anonymous mode.
The webapp is still working as usual after moving pages directory in the root to src/pages

Should we remove the following line to run Gradle build tasks successfully?
https://github.com/line/centraldogma/blob/3e9c2ee4cafa19a00ac737572eec90c104d8fe93/webapp/build.gradle#L30

There is an infinite loop in the login process. 😅

There is an infinite loop in the login process. 😅

Hmm how do you repro that? Could you please delete .next and try again?

SimpleCentralDogmaTestServer

ShiroCentralDogmaTestServer
-> blank page because the router.push(`${process.env.NEXT_PUBLIC_HOST}/link/auth/login/`); somehow changes the path to http://<IP_ADDRESS>:36462/web/auth/login/

For some reason, router.pathname will return a path without trailing slash.

--> router.pathname returns http://<IP_ADDRESS>:36462/web/auth/login

--> router.pathname returns /web/auth/login

Right. it was my problem. 😅

We might come up with a more declarative way to define whether a page should be authorized rather than matching path. 🤔 The URL will be changed in the future when we disable trailingSlash.


net_peerCount response type incorrect

Rel #263
According to the JSON RPC Wiki, the return type is a hex-encoded string.
But in the reference PR, this was changed to a u32.
@AsceticBear why was this changed?
We have tested it against different Ethereum nodes (or API):
Infura: returns Hex
Geth in --dev: returns Hex
Hardhat local node: returns Hex
Ganache: returns Uint
Testing with the web3 library using the web3.eth.net.getPeerCount() we noticed that it both accepts numbers or hex values and it parses the output to number (if JSON RPC request is in hex-encoded string).

I remembered there is a PR solve this issue, so close it.


B: Built binary is coupled with ENV variables

npm run build generated "binary" is depending on the ENV variables. For example, AXIOS_BASE_URL is compiled into the generated binary, causing the Heroku pipeline promotion process broken - each time it promotes an app, the app will use the same compiled AXIOS_BASE_URL from the previous stage.
0e82fd83b0d9f37e5d4c.js   46.5 KiB is the one in the client that contains the Axios URL

It doesn't work due to https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem

Not suggested for asset compilation or other tasks requiring filesystem persistence
Release phase is not suitable for tasks that require filesystem persistence, as filesystem changes during release phase will not be deployed to your app’s dyno formation (the dyno filesystem is ephemeral). Asset compilation should happen during builds. Release phase can be used to upload the compiled assets to a CDN.

fixed by #89


fix: add use client to swr config provider

The issues #2253 and https://github.com/vercel/swr/discussions/2292 both mention this problem,
But none actually fix the issue, this change is minimal and shouldn't? break anything.

Thanks! CC @huozhi to make this work we'll have to change the way we bundle the core export.

Addressing the "use client" directives with bundler updates in  #2696


Laravel 5.6 compatibility

Hi,
Could you add support for Laravel 5.6 ?
Thanks a lot.

Hi @hussonkevin ,
Sure, and any PR will be welcome.

Actually the current package is compatible with Laravel 5.6 (My bad i realized now)

Updated README file as well for beginners


Create volpi.txt

Please give an URL of the school official website. Thank you.

@asistent0 I am bit confused by your comment, and I see no problem in your request. Thus, your pull request merged. Thank you!


UTXO details

does not match the design.
https://app.zeplin.io/project/5ba9be48f029d520c456f395/screen/5bfa78ff92d01e7ea2aa7391

checked


Smooth path drawing functions

In addition to polygon and line functions, it would be nice to have a function to connect points with a smooth line using bezier curves.  There are several demos of this at http://stackoverflow.com/questions/7054272/how-to-draw-smooth-curve-through-n-points-using-javascript-html5-canvas

Here's some JavaScript code I've written to do this.  It currently only works for open-ended paths (which is the hard case), but shouldn't be too hard to extend to closed paths.  I should reimplement in Haskell for the final version, of course.
function drawPath(points, ctx) {
  if (points.length < 2) return;
  if (points.length == 2) {
    ctx.beginPath();
    ctx.moveTo(points[0].x, points[0].y);
    ctx.lineTo(points[1].x, points[1].y);
    ctx.stroke();
    return;
  }
  else {
    cps = [];
    ctx.beginPath();
    ctx.moveTo(points[0].x, points[0].y);
    for (var i = 1; i < points.length; i += 1) {
      if (i == 1) {
        var dprev = dist(points[i], points[i-1]);
        var dnext = dist(points[i], points[i+1]);
        var p = dprev / (dprev + dnext);
        var cx = points[i].x + p * (points[i-1].x - points[i+1].x) / 2;
        var cy = points[i].y + p * (points[i-1].y - points[i+1].y) / 2;
        ctx.quadraticCurveTo(cx, cy, points[i].x, points[i].y);
      }
      else if (i < points.length - 1) {
        var dp = dist(points[i-2], points[i-1]);
        var d1 = dist(points[i], points[i-1]);
        var d2 = dist(points[i], points[i+1]);
        var p = d1 / (d1 + d2);
        var r = d1 / (dp + d1);
        var cx1 = points[i-1].x + r * (points[i].x - points[i-2].x) / 2;
        var cy1 = points[i-1].y + r * (points[i].y - points[i-2].y) / 2;
        var cx2 = points[i].x + p * (points[i-1].x - points[i+1].x) / 2;
        var cy2 = points[i].y + p * (points[i-1].y - points[i+1].y) / 2;
        ctx.bezierCurveTo(cx1, cy1, cx2, cy2, points[i].x, points[i].y);
      } else {
        var dp = dist(points[i-2], points[i-1]);
        var d1 = dist(points[i], points[i-1]);
        var r = d1 / (dp + d1);
        var cx = points[i-1].x + r * (points[i].x - points[i-2].x) / 2;
        var cy = points[i-1].y + r * (points[i].y - points[i-2].y) / 2;
        ctx.quadraticCurveTo(cx, cy, points[i].x, points[i].y);
      }
    }
    ctx.stroke();
  }
}


Controlled radio buttons are not working as expected.

Describe the bug
Controlled radio buttons are not working as expected. When a value is passed to the RadioGroup component and if that value is changed from elsewhere, the changes are not reflected
To Reproduce
Steps to reproduce the behavior:

Create some radio buttons
Make it controlled by passing a state value to the RadioGroup
Change the value of the corresponding state from a different event, like a useEffect or clicking on a button
The selected radio button is not changed

Expected behavior
The selected radio button should depend on the controlled state value
Desktop (please complete the following information):

OS: MacOS
Browser Brave
Version 125

Additional context
Live demo https://codesandbox.io/p/sandbox/broken-dream-ch5gqq?file=%2FApp.tsx

Temporary workaround, use the defaultValue prop instead of value and pass a key to RadioGroup with the controlled state as value


[bug] 添加角色或者权限报错

使用方法
Enforcer::addRoleForUser('users','roles');
Enforcer::addPermissionForUser('user','per');

报错信息

PHP Fatal error:  Uncaught Error: Call to a member function getType() on null in /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/server/src/ServerFactory.php:67
Stack trace:
#0 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/server/src/SwooleServerFactory.php(22): Hyperf\Server\ServerFactory->getServer()
#1 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/di/src/Resolver/FactoryResolver.php(56): Hyperf\Server\SwooleServerFactory->__invoke()
#2 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/di/src/Resolver/ResolverDispatcher.php(62): Hyperf\Di\Resolver\FactoryResolver->resolve()
#3 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/di/src/Resolver/DepthGuard.php(73): Hyperf\Di\Resolver\ResolverDispatcher->Hyperf\Di\Resolver\{closure}()
#4 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/di/src/Resolver/ResolverDispatcher.php(63): Hyperf\Di\Resolver\DepthGuard->call()
#5 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/di/src/Container.php(184): Hyperf\Di\Resolver\ResolverDispatcher->resolve()
#6 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/di/src/Container.php(82): Hyperf\Di\Container->resolveDefinition()
#7 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/di/src/Container.php(117): Hyperf\Di\Container->make()
#8 /home/muxin/work/hyperf/hyperf-api/vendor/donjan-deng/hyperf-casbin/src/Listener/OnPolicyChangedListener.php(35): Hyperf\Di\Container->get()
#9 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/event/src/EventDispatcher.php(48): Donjan\Casbin\Listener\OnPolicyChangedListener->process()
#10 /home/muxin/work/hyperf/hyperf-api/vendor/donjan-deng/hyperf-casbin/src/Adapters/Mysql/DatabaseAdapter.php(163): Hyperf\Event\EventDispatcher->dispatch()
#11 /home/muxin/work/hyperf/hyperf-api/vendor/casbin/casbin/src/InternalEnforcer.php(47): Donjan\Casbin\Adapters\Mysql\DatabaseAdapter->addPolicy()
#12 /home/muxin/work/hyperf/hyperf-api/vendor/casbin/casbin/src/ManagementEnforcer.php(520): Casbin\InternalEnforcer->addPolicyInternal()
#13 /home/muxin/work/hyperf/hyperf-api/vendor/casbin/casbin/src/ManagementEnforcer.php(487): Casbin\ManagementEnforcer->addNamedGroupingPolicy()
#14 /home/muxin/work/hyperf/hyperf-api/vendor/casbin/casbin/src/Enforcer.php(69): Casbin\ManagementEnforcer->addGroupingPolicy()
#15 /home/muxin/work/hyperf/hyperf-api/vendor/donjan-deng/hyperf-casbin/src/Enforcer.php(65): Casbin\Enforcer->addRoleForUser()
#16 /home/muxin/work/hyperf/hyperf-api/app/Command/InitCommand.php(116): Donjan\Casbin\Enforcer::__callStatic()
#17 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/utils/src/Functions.php(276): App\Command\InitCommand->handle()
#18 /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/command/src/Command.php(437): call()
#19 {main}
  thrown in /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/server/src/ServerFactory.php on line 67

报错文件：

<?php
// donjan-deng/hyperf-casbin/src/Listener/OnPolicyChangedListener.php
namespace Donjan\Casbin\Listener;

use Psr\Container\ContainerInterface;
use Hyperf\Event\Contract\ListenerInterface;
use Donjan\Casbin\Event\PolicyChanged;
use Donjan\Casbin\Event\PipeMessage;
use Swoole\Server;
use Hyperf\Process\ProcessCollector;

class OnPolicyChangedListener implements ListenerInterface
{

    /**
     * @var ContainerInterface
     */
    private $container;

    public function __construct(ContainerInterface $container)
    {
        $this->container = $container;
    }

    public function listen(): array
    {
        return [
            PolicyChanged::class,
        ];
    }

    public function process(object $event)
    {
        if ($event instanceof PolicyChanged) {
            // 这一行报错
            $server = $this->container->get(Server::class);
            $workerCount = $server->setting['worker_num'] + ($server->setting['task_worker_num'] ?? 0) - 1;
            if ($workerCount > 0) {
                for ($workerId = 0; $workerId <= $workerCount; ++$workerId) {
                    if ($server->worker_id != $workerId) {
                        $server->sendMessage(new PipeMessage(PipeMessage::LOAD_POLICY), $workerId);
                    }
                }
            }
            if (class_exists(ProcessCollector::class) && !ProcessCollector::isEmpty()) {
                $processes = ProcessCollector::all();
                if ($processes) {
                    $string = serialize(new PipeMessage(PipeMessage::LOAD_POLICY));
                    foreach ($processes as $process) {
                        $process->exportSocket()->send($string, 10);
                    }
                }
            }
        }
    }

}

php 信息
   PHP 8.0.10 (cli) (built: Aug 26 2021 15:50:07) ( NTS )
   Copyright (c) The PHP Group
    Zend Engine v4.0.10, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.10, Copyright (c), by Zend Technologies
    with Yasd v0.3.9-alpha, Our Copyright, by codinghuang

swoole 信息

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.6.7
Built => Jul  5 2021 17:59:14
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 1.1.1f  31 Mar 2020
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608

composers

aliyuncs/oss-sdk-php                 v2.4.3    Aliyun OSS SDK for PHP
casbin/casbin                        v3.9.0    a powerful and efficient open-source access control library for php projects.
casbin/psr3-bridge                   v1.3.0    This library provides a PSR-3 compliant bridge for Casbin Logger.
composer/package-versions-deprecated <IP_ADDRESS> Composer plugin that provides efficient querying for installed package versions (no runtime IO)
composer/semver                      3.2.5     Semver library that offers utilities, version constraint parsing and validation.
composer/xdebug-handler              2.0.2     Restarts a process without Xdebug.
doctrine/annotations                 1.13.2    Docblock Annotations Parser
doctrine/cache                       2.1.1     PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, ...
doctrine/dbal                        3.1.1     Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/deprecations                v0.5.3    A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selec...
doctrine/event-manager               1.1.1     The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.
doctrine/inflector                   2.0.3     PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular...
doctrine/instantiator                1.4.0     A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                       1.2.1     PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
donjan-deng/hyperf-casbin            3.9.0     An authorization library that supports access control models like ACL, RBAC, ABAC in hyperf.
dragonmantank/cron-expression        v3.1.0    CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
easyswoole/spl                       1.4.0     php stander lib
easyswoole/verifycode                3.0.2
egulias/email-validator              3.1.1     A library for validating emails against several RFCs
fig/http-message-util                1.1.5     Utility classes and constants for use with PSR-7 (psr/http-message)
friendsofphp/php-cs-fixer            v3.1.0    A tool to automatically fix PHP code style
graham-campbell/result-type          v1.0.2    An Implementation Of The Result Type
guzzlehttp/guzzle                    7.3.0     Guzzle is a PHP HTTP client library
guzzlehttp/promises                  1.4.1     Guzzle promises library
guzzlehttp/psr7                      2.0.0     PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php                v2.0.1    This is the PHP port of Hamcrest Matchers
hyperf/async-queue                   v2.2.0    A async queue component for hyperf.
hyperf/cache                         v2.2.0    A cache component for hyperf.
hyperf/command                       v2.2.0    Command for hyperf
hyperf/config                        v2.2.0    An independent component that provides configuration container.
hyperf/constants                     v2.2.0    A constants component for hyperf.
hyperf/contract                      v2.2.0    The contracts of Hyperf.
hyperf/crontab                       v2.2.5    A crontab component for Hyperf.
hyperf/database                      v2.2.5    A flexible database library.
hyperf/db-connection                 v2.2.0    A hyperf db connection handler for hyperf/database.
hyperf/devtool                       v2.2.5    A Devtool for Hyperf.
hyperf/di                            v2.2.7    A DI for Hyperf.
hyperf/dispatcher                    v2.2.0    A HTTP Server for Hyperf.
hyperf/engine                        v1.1.6
hyperf/event                         v2.2.0    an event manager that implements PSR-14.
hyperf/exception-handler             v2.2.0    Exception handler for hyperf
hyperf/filesystem                    v2.2.6    flysystem integration for hyperf
hyperf/framework                     v2.2.0    A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/guzzle                        v2.2.0    Swoole coroutine handler for guzzle
hyperf/http-message                  v2.2.0    microservice framework base on swoole
hyperf/http-server                   v2.2.4    A HTTP Server for Hyperf.
hyperf/ide-helper                    v2.2.5    IDE help files for Hyperf.
hyperf/logger                        v2.2.0    A logger component for hyperf.
hyperf/memory                        v2.2.0    An independent component that use to operate and manage memory.
hyperf/model-listener                v2.2.0    A model listener for Hyperf.
hyperf/pool                          v2.2.0    An independent universal connection pool component.
hyperf/process                       v2.2.3    A process component for hyperf.
hyperf/redis                         v2.2.0    A redis component for hyperf.
hyperf/server                        v2.2.0    A base server library for Hyperf.
hyperf/task                          v2.2.0    A task library for Hyperf.
hyperf/testing                       v2.2.0    Testing for hyperf
hyperf/translation                   v2.2.5    An independent translation component, forked by illuminate/translation.
hyperf/utils                         v2.2.7    A tools package that could help developer solved the problem quickly.
hyperf/validation                    v2.2.7    hyperf validation
hyperf/view                          v2.2.0    A view library for Hyperf.
hyperf/websocket-server              v2.2.0    A websocket server library for Hyperf.
laminas/laminas-mime                 2.9.0     Create and parse MIME messages and parts
laminas/laminas-stdlib               3.6.0     SPL extensions, array utilities, error handlers, and more
lcobucci/jwt                         3.2.5     A simple library to work with JSON Web Token and JSON Web Signature
league/flysystem                     1.1.5     Filesystem abstraction: Many filesystems, one API.
league/mime-type-detection           1.7.0     Mime-type detection for Flysystem
mockery/mockery                      1.4.3     Mockery is a simple yet flexible PHP mock object framework
monolog/monolog                      2.3.2     Sends your logs to files, sockets, inboxes, databases and various web services
myclabs/deep-copy                    1.10.2    Create deep copies (clones) of your objects
nesbot/carbon                        2.53.1    An API extension for DateTime that supports 281 different languages.
nikic/fast-route                     v1.3.0    Fast request router for PHP
nikic/php-parser                     v4.12.0   A PHP parser written in PHP
phar-io/manifest                     2.0.3     Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                      3.1.0     Library for handling version information and constraints
php-cs-fixer/diff                    v2.0.2    sebastian/diff v3 backport support for PHP 5.6+
php-di/phpdoc-reader                 2.2.1     PhpDocReader parses @var and @param values in PHP docblocks (supports namespaced class names with the same resolution rules...
phpdocumentor/reflection-common      2.2.0     Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock    5.2.2     With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is ...
phpdocumentor/type-resolver          1.4.0     A PSR-5 based resolver of Class names, Types and Structural Element Names
phper666/jwt-auth                    v3.0.5    jwt-auth Component
phpoption/phpoption                  1.8.0     Option Type for PHP
phpspec/prophecy                     1.13.0    Highly opinionated mocking framework for PHP 5.3+
phpstan/phpstan                      0.12.98   PHPStan - PHP Static Analysis Tool
phpunit/php-code-coverage            9.2.6     Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator            3.0.5     FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker                  3.1.1     Invoke callables with a timeout
phpunit/php-text-template            2.0.4     Simple template engine.
phpunit/php-timer                    5.0.3     Utility class for timing
phpunit/phpunit                      9.5.9     The PHP Unit Testing framework.
psr/cache                            2.0.0     Common interface for caching libraries
psr/container                        1.1.1     Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher                 1.0.0     Standard interfaces for event handling.
psr/http-client                      1.0.1     Common interface for HTTP clients
psr/http-factory                     1.0.1     Common interfaces for PSR-7 HTTP message factories
psr/http-message                     1.0.1     Common interface for HTTP messages
psr/http-server-handler              1.0.1     Common interface for HTTP server-side request handler
psr/http-server-middleware           1.0.1     Common interface for HTTP server-side middleware
psr/log                              1.1.4     Common interface for logging libraries
psr/simple-cache                     1.0.1     Common interfaces for simple caching
ralouphie/getallheaders              3.0.3     A polyfill for getallheaders.
s1lentium/iptools                    v1.1.1    PHP Library for manipulating network addresses (IPv4 and IPv6)
sebastian/cli-parser                 1.0.1     Library for parsing CLI options
sebastian/code-unit                  1.0.8     Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup   2.0.3     Looks up which function or method a line of code belongs to
sebastian/comparator                 4.0.6     Provides the functionality to compare PHP values for equality
sebastian/complexity                 2.0.2     Library for calculating the complexity of PHP code units
sebastian/diff                       4.0.4     Diff implementation
sebastian/environment                5.1.3     Provides functionality to handle HHVM/PHP environments
sebastian/exporter                   4.0.3     Provides the functionality to export PHP variables for visualization
sebastian/global-state               5.0.3     Snapshotting of global state
sebastian/lines-of-code              1.0.3     Library for counting the lines of code in PHP source code
sebastian/object-enumerator          4.0.4     Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector           2.0.4     Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context          4.0.4     Provides functionality to recursively process PHP variables
sebastian/resource-operations        3.0.3     Provides a list of PHP built-in functions that operate on resources
sebastian/type                       2.3.4     Collection of value objects that represent the types of the PHP type system
sebastian/version                    3.0.2     Library that helps with managing the version number of Git-hosted PHP projects
swoole/ide-helper                    4.7.1     IDE help files for Swoole.
symfony/cache                        v5.3.7    Provides an extended PSR-6, PSR-16 (and tags) implementation
symfony/cache-contracts              v2.4.0    Generic abstractions related to caching
symfony/console                      v5.3.7    Eases the creation of beautiful and testable command line interfaces
symfony/deprecation-contracts        v2.4.0    A generic function and convention to trigger deprecation notices
symfony/event-dispatcher             v5.3.7    Provides tools that allow your application components to communicate with each other by dispatching events and listening to...
symfony/event-dispatcher-contracts   v2.4.0    Generic abstractions related to dispatching event
symfony/expression-language          v5.3.7    Provides an engine that can compile and evaluate expressions
symfony/filesystem                   v5.3.4    Provides basic utilities for the filesystem
symfony/finder                       v5.3.7    Finds files and directories via an intuitive fluent interface
symfony/options-resolver             v5.3.7    Provides an improved replacement for the array_replace PHP function
symfony/polyfill-ctype               v1.23.0   Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme       v1.23.1   Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn            v1.23.0   Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer     v1.23.0   Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring            v1.23.1   Symfony polyfill for the Mbstring extension
symfony/polyfill-php72               v1.23.0   Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73               v1.23.0   Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/polyfill-php80               v1.23.1   Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-php81               v1.23.0   Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
symfony/process                      v5.3.7    Executes commands in sub-processes
symfony/property-access              v5.3.7    Provides functions to read and write from/to an object or array using a simple string notation
symfony/property-info                v5.3.7    Extracts information about PHP class' properties using metadata of popular sources
symfony/serializer                   v5.3.4    Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like...
symfony/service-contracts            v2.4.0    Generic abstractions related to writing services
symfony/stopwatch                    v5.3.4    Provides a way to profile code
symfony/string                       v5.3.7    Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
symfony/translation                  v5.3.7    Provides tools to internationalize your application
symfony/translation-contracts        v2.4.0    Generic abstractions related to translation
symfony/var-exporter                 v5.3.7    Allows exporting any serializable PHP data structure to plain PHP code
theseer/tokenizer                    1.2.1     A small library for converting tokenized PHP source code into XML and potentially other formats
vlucas/phpdotenv                     v5.3.0    Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
webmozart/assert                     1.10.0    Assertions to validate method input/output with nice error messages.
xxtime/flysystem-aliyun-oss          1.5.0     AliYun OSS adapter for flysystem. aliyuncs/oss-sdk-php ~2.3

@basakest @techoner

在命令行执行报错已在3.9.1修复，
另外Enforcer::addPermissionForUser('user','per');是不适合自带的模型的，如果添加了错误数据会导致报错。正确示例：
Enforcer::addPermissionForUser('user','per','read');
Enforcer::addPermissionForUser('user','per','GET');

PHP Fatal error:  Uncaught Hyperf\Di\Exception\NotFoundException: No entry or class found for 'Donjan\Casbin\Listener\ServerManager' in /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/di/src/Container.php:79
Stack trace:
就是如果数据库里没有对应的权限会报这个错误，如果数据库里有同样的记录了就不会报错，之前的报错也是这种情况。

把本地组件删了，重新下载组件

PHP Fatal error:  Uncaught Hyperf\Di\Exception\NotFoundException: No entry or class found for 'Donjan\Casbin\Listener\ServerManager' in /home/muxin/work/hyperf/hyperf-api/vendor/hyperf/di/src/Container.php:79
Stack trace:
就是如果数据库里没有对应的权限会报这个错误，如果数据库里有同样的记录了就不会报错，之前的报错也是这种情况。

把本地组件删了，重新下载组件

现在没报错了


Finish upgrade to Vue 3 and Nuxt 3

One important task is finishing the upgrade to Vue 3 and Nuxt 3 on the nuxt repository. This requires copying or importing https://github.com/enso-ui packages. See https://github.com/laravel-enso/enso client folder for components used. Then also upgrading our old pages from the gedcom branch to use Vue 3 and add the pages. Patches may require upgrading, I'm not sure.

@sbwengineer , @curtisdelicata  is a scammer,  please wake up!

@everyone you are scammed, please check @curtisdelicata 's Linkedin profile.  He never pay for developers.
He runs fake business called FamilyTree365. He lies developers to contribute the project for a week and pretend to pay after a week but he disappears after receiving PR.
I should alert other honest developers and customers that you should never support Curtis Delicata since he is a fraud.
I can share you more evidence if anybody interested.
https://www.linkedin.com/feed/update/urn:li:activity:6906662303572606976/

I think what's left is removing router tags or finding a method to replace what they are doing and then upgrading a few pages to Vue 3, and dashboard needs vuetify removed and v-select is vue 2 only too

Now builds but home page doesn't render.

Packages need patching

nuxt3 branch

nuxt3-vs branch use NodeJS 19 or 18


Failed to create cuSolverDN instance on GPU with 4GB

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.4.1
Python version: 3.8.5
CUDA/cuDNN version: 11.0 / <IP_ADDRESS>-1+cuda11.0
GPU model and memory: RTX 1650 / T2000 with 4GB

Describe the current behavior
The following linear algebra operations:

tf.linalg.eigh
tf.linalg.eigvalsh
tf.linalg.expm

when applied to a tensor with tf.complex* type in a RTX1650/T2000 GPUs with 4GB produce:
F tensorflow/core/util/cuda_solvers.cc:115] Check failed: cusolverDnCreate(&cusolver_dn_handle) == CUSOLVER_STATUS_SUCCESS Failed to create cuSolverDN instance.
Aborted (core dumped)

This issue is not visible when setting a GPU memory limit or set_memory_growth.
Describe the expected behavior
No crash.
Standalone code to reproduce the issue
import tensorflow as tf
rho = tf.constant([[ 9.14909492+1.14491749e-16j,  0.27933987-1.27970271e-01j,
    0.25616772+1.12442776e-01j, -0.05876706-3.76165554e-01j],
    [ 0.27933987+1.27970271e-01j,  9.62506895+2.77555756e-17j,
    -0.19640032-1.72149754e-01j,  0.28515435+2.58716412e-01j],
    [ 0.25616772-1.12442776e-01j, -0.19640032+1.72149754e-01j,
    9.13383471-1.38777878e-17j,  0.18600413-2.68212068e-01j],
    [-0.05876706+3.76165554e-01j,  0.28515435-2.58716412e-01j,
    0.18600413+2.68212068e-01j,  9.58168325-5.20417043e-17j]])
tf.linalg.eigvalsh(rho)

@scarrazza,
I was able to run the code on Google Colab without any issues, please find the gist of it here.

This issue is not visible when setting a GPU memory limit or set_memory_growth.

By default, TensorFlow maps nearly all of the GPU memory of all GPUs (subject to CUDA_VISIBLE_DEVICES) visible to the process. You can read more about it here.
In this case, looks like the error was caused due to the GPU running out of memory. And as you've already mentioned the workaround would be to set a limit on the GPU memory growth. Also check similar issue #22105 for reference.
Thanks!

@amahendrakar thanks for testing.
However the GPUs on colab have 15gb of memory (they are usually T4). The issue I report is reproducible with low specs cards such as RTX 1650 and T2000 with 4GB of ram. I can confirm that this issue happens even if the GPU memory has 3.5GB of free memory.

@nluehr Does this mean MinSystemMemory needs some more adjustment, like in https://github.com/tensorflow/tensorflow/pull/44810?

The required MinSystemMemory (GPU memory not claimed by TF allocator) can be controlled at runtime using the environment variable TF_DEVICE_MIN_SYS_MEMORY_IN_MB. @scarrazza can you check what minimum value of TF_DEVICE_MIN_SYS_MEMORY_IN_MB is needed to allow your model to run? As a starting point, I believe the default value TF selects for your GPU is 1050.

@nluehr thanks for the feedback. I will try to reproduce this issue, however so far with the latest 2.5.0 with CUDA 11.2, I am not able to reproduce the crash anymore.

I encountered a similar error when calling tf.linalg.solve after loading and executing a model. However, if I call tf.linalg.solve before loading and executing the model, the error does not occur when I call tf.linalg.solve again after loading and executing the model. set_memory_growth does not appear to fix the problem.
If I were to guess, it's probably that model inference used up all graphic memory but does not release the memory when inference is finished, as it did not happen when I tried to reproduce it with a small model.

@scarrazza,
As per this comment, you have mentioned that its not reproducible with 2.5.0.  We recommend that you can try with latest stable version i.e 2.6.0 along with CUDA 11.2 and other configurations as per this link and let us know if the issue persists. Thanks!


rollback "[SQL Migration] Add schema migration (#24666)"

This reverts commit 5e6953a7a168722d21007948943c34942a89e1c8.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.005%) to 41.568%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/book/bookTreeView.ts
1
36.91%

extensions/notebook/src/dialog/configurePython/configurePathPage.ts
1
57.02%

Totals

Change from base Build<PHONE_NUMBER>:
-0.005%

Covered Lines:
30784

Relevant Lines:
69356

💛  - Coveralls


Documentation: Make it easier to find styling options for features

It would be helpful to make it easier to find available styling options for features. As a specific example, if I look at the documentation for polygonFeature, I don't see what style options are available for polygons.

Some of this was improved in PR #819, so at least the styles are enumerated in the geo.polygonFeature.spec, though this hasn't been published to github.io yet.
For polygons (and features that subclass the style function), we could put a link to the appropriate typedef (or, less optimally, duplicate the docs from that typedef).  For features where the style function is inherited, this wouldn't be directly possible.
@wphicks, do you think a link to the appropriate typedef is sufficient, or do you think that duplicating the documentation would be preferred?


Fix environment variable interpolation is not case-insenstive on windows, and precedence of runtime variables over interpolated ones

Environment variables name are case-insensitive on Windows. However, this library required them to be case-sensitive in the interpolation syntax, otherwise the empty string would be interpolated.
This was a cause of an issue in a support escalation. The summary is that we used to use a data structure in buildkite/agent that allowed case-insensitive access to environment variables, but when we ported this code from the agent to this library, that was lost and replaced with map[string]string, which does not.
While I cannot restore the dependence on the agent code as the agent now depends on this library, a similar data structure exists in buildkite/interpolate, which is already a dependency of this library. Unfortunately, I had difficulty using it as:

It only exports an interface that only supports reading an environment variable and its "constructor" methods return that interface, rather than a struct that implements the interface.
Its case insensitivity is determined by runtime.GOOS, which makes it difficult to test without running on Windows. While I've added a step to the pipeline to run tests on Windows, it proved much more effective in development to use a data structure where the case sensitivity could be toggled on any OS. So, I've made yet another version of this in the internal/env package.

Even then, I encountered a curious test failure: https://buildkite.com/buildkite/go-pipeline/builds/112. I had created a test case where a pipeline level environment variable was referenced in an interpolation, but there was a runtime environment variable that would collide with it if the case was ignored. The test expected the value of the runtime environment variable to have precedence, but it did not. According to our documentation, the runtime environment variables should have precedence. So, I found the code that was causing it, and fixed it.
However, this raised the question of what should happen if a pipeline (or step) environment variable name is interpolated to collide with a runtime environment variable. I think the runtime variable should still have precedence, so I've allowed a breaking change to do that. I think this is a very niche use case, so I'm happy to make a breaking change here to bring the behaviour in conformance with the documentation, or at least the simplest interpretation of it.

I'm going to refactor the Options one more time and merge. It's only an internal API, so we can always change it again.

Ooo, it should NOT be internal because the libraries consumers need to be updated to use it. I think I'll make an Pipeline.Interpolate accept an interface.


Makes routes case insensitive

Hey @martonx, thank you for the PR. I just released 4.4.0 version that contains an API for case insensitive route handling. Simple set the following before running the router:
Navigo.MATCH_REGEXP_FLAGS = 'i';

I'm always trying to make changes that are backward compatible. Your PR uses case insensitive for all the routes. With 4.4.0 we are making this optional.

Hey, @krasimir. How does this work in >8.0.0 version? Is it still operational ? My case insensitivity tests started to fail


New Saml1.1 token handler strips the attribute namespace during token validation

which means the result ClaimsIdentity will only have claims that use the attribute name for the claim type - the attribute namespace is missing.
This is a radical change from the .NET Framework version of the token handler - and will make migration hard.

You also seem to change the SAML authentication method claim to amr -
I thought we had this discussion already (many times). Leave those claim types alone.

@leastprivilege we are working to do that, we are not quite done yet.

@ChenYan98 can you have a look into this, does https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/668 need additional work?

According to my understanding, this is the bug we already found in #668 and it has been fixed in current code. @leastprivilege can you please check if the following code is what you are talking about. https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/668b50de3d8ad77e7b3f5dceb0ee79768c6e5104/src/Microsoft.IdentityModel.Tokens.Saml/Saml/SamlSerializer.cs#L329
and https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/src/Microsoft.IdentityModel.Tokens.Saml/Saml/SamlSecurityTokenHandler.cs#L661

@leastprivilege Let me double check, if you are using preview1? This code has been updated to dev branch couple days ago. You can get the last assembly from our daily build.


Adding variable description in DataFrame

Hi,
I think it would be great if DataFrame is able to store additional property (list of strings) which contains the description for each variable (column). And then it can be shown by themselves with variable names as well as in the output of pandas.DataFrame.info(). I think with this DataFrame will be pretty much self contained. Right now I need to keep additional object or a text file which contains those descriptions.
Please let me know what do you think!
-Joon

I second this request. Something similar is available in matlab's dataset object, which, in addition to ObsNames (=pandas indices) and VarNames (=pandas columns), also has VarDescription und Unit, which are freely usable. I, for example, use the former for verbose descriptions of the column names, and the latter to hold excel formatting strings (eg '0.00%'). This is useful when I want to output the dataset to excel nicely formatted.

Indeed this sound interesting.
On top of that, it would be nice to able to store unit for each column (as CRP commented).

Something more to store ...  default column formatter.
It would be nice to be able to define a default column display formatter.
print df.to_string(formatters=...) can be used to do this, but it would be easier not having to type this each time.
Use case could be to display integers in non decimal format, typically hex or binary.


Fix broken links in readme

I have replaced broken links if the source could be found, but could not find Acoustic Events Dataset, I suppose it is the paper https://arxiv.org/pdf/1701.00599.pdf and page http://www.vision.ee.ethz.ch/en/datasets/, but it is not there. Furthermore I have not looked at the code yet, maybe there also are some outdated urls?

Thanks!
It was introduced in this paper: https://arxiv.org/pdf/1604.07160.pdf
But you are right, I didn't find the corpus to download either.
I guess we should just replace the url with that of the paper.
If you change that I will merge the pr.
I am not sure about code, but at least the downloader for AED won't work anymore.
I opened a separate issue (#88) for that purpose.

Done. However if it doesn't work, you can consider making it strikeout or removing it


Deposits arrive at the wallet but are not added to the account balance

Deposits arrive in the change wallet but are not added to the users account, is there any way to solve this?

https://github.com/3s3s/opentrade/issues/291#issuecomment-504344408


Add goblet

Add goblet - An open source library for serverless Python application development using Google Cloud functions.

@googlebot I signed it!


dart html build crashing

repro: https://bitbucket.org/unicomp21/radtextures/commits/2e5f62009116afa9349023c8e967d0230e6ba35b
Dart 2.0.0
Linux
Chrome
/usr/lib/dart/bin/pub global run webdev serve web:41039
[INFO] Setting up file watchers...
[INFO] Setting up file watchers completed, took 60ms
[INFO] Waiting for all file watchers to be ready...
[INFO] Waiting for all file watchers to be ready completed, took 370ms
[INFO] Initializing inputs
[INFO] Reading cached asset graph...
[INFO] Reading cached asset graph completed, took 857ms
[INFO] Checking for updates since last build...
[INFO] Checking for updates since last build completed, took 1.8s
[INFO] Running build...
[INFO] Running build completed, took 829ms
[INFO] Caching finalized dependency graph...

The dart:isolate library is no longer supported on the web.  Right now, that triggers a runtime error (to allow old code that imports it but doesn't use it at runtime):
Unsupported operation: dart:isolate is not supported on dart4web

Closing as dart:isolate isn't supported.  Should make sure the error around this is clearer though.


Upgrade Vertx to version 4.4.5

Description

Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

/component-tests camel-vertx/camel-vertx camel-vertx/camel-vertx-coimmon camel-vertx/camel-vertx-http camel-vertx/camel-vertx-websocket

/component-tests camel-vertx/camel-vertx camel-vertx/camel-vertx-common camel-vertx/camel-vertx-http camel-vertx/camel-vertx-websocket


moonraker-telegram-bot version cannot be parsed by Moonraker

What happened and in what context?
The Moonraker Update Manager will show "? UNKNOWN" after an update to version v1.5-0-gb9b4700.
According to the Moonraker specialists the moonraker-telegram-bot dev tagged the latest release with a version that Moonraker can't parse.  The tags have to be compatible with the semantic version standard.
https://semver.org/

If needed, paste the relevant bot log contents here.
No response
If needed, paste the relevant bot journal contents here.
No response
What branch does this occur on?
development
Reports only on latest master or development branches!

[X] I have updated to latest development/master version before submitting the bug

I think it's just a typo. "v1.5-0..." should be changed to ""v1.5.0...".

Thank you for being so quick!
To be honest, I am not sure where the -0 is coming from, the release is v1.5, but it seems that for semver it should be v1.5.0. I have corrected it, I'd appreciate if you can tell if its alright now.

The indication in Moonraker Update Manager didn't change. I tried a manual git pull but got the message that the package is already up to date.

Well, you now how to wait, or delete everything and redownload. I hope it don't bothers you too much :(.
But we propably will have fixes very soon, when people will start using new features, and will roll over to 1.5.1 pretty fast, if that helps your bother

FWIW, the -0 is generated by git describe and indicates the number of commits since the tag.
I decided to relax the tag requirement in a new commit to Mooraker.  The tag can have fewer than 3 parts, so Moonraker will parse v1.5.  Anyone with a tag of v1.5 should be able to update Moonraker, refresh available updates, then update moonraker-telegram-bot.
The only thing to keep in mind going forward is that a tag cannot have more than 3 parts, so for example a tag of v<IP_ADDRESS> will likely cause an issue.

The Moonraker update did the job. Everything is "UP-TO-DATE" now. Many thanks.

FWIW, the -0 is generated by git describe and indicates the number of commits since the tag.
I decided to relax the tag requirement in a new commit to Mooraker. The tag can have fewer than 3 parts, so Moonraker will parse v1.5. Anyone with a tag of v1.5 should be able to update Moonraker, refresh available updates, then update moonraker-telegram-bot.
The only thing to keep in mind going forward is that a tag cannot have more than 3 parts, so for example a tag of v<IP_ADDRESS> will likely cause an issue.

 Now I have one less place to make mistakes :D
Closing this then.

I have this problem. I have updated Moonraker. Here is a screenshot of my versions.
I have already tried a complete uninstall and reinstall. I think this was after a recent moonraker update.

Note:

Note:
Kiauh is detecting well BTW

Is there a way to reopen this??... Or I must to create a new one...

It looks like this could be a regression in Mainsail.
Version 2.6.0:

Version 2.6.2 (also seems to occur on 2.6.1)

Its possible that Mainsail introduced its own tag validation.

Hello everyone, is it solved this? I've "unknown" yet.


Step 0: Installation error, request help！

Unknown OS. Abort.
How should I solve it? Please help me!
OS：Windows 10

It seems that currently dev_setup.sh does not support Windows directly. Maybe you could use docker instead?

You should use powershell or cmd to compile it.

You should use powershell or cmd to compile it.

Can't I use git Bash?

It seems that currently dev_setup.sh does not support Windows directly. Maybe you could use docker instead?

It seems that currently dev_setup.sh does not support Windows directly. Maybe you could use docker instead?

It seems that windows is not supported.

I have installed the rust in advance, and I will compile it directly with “cargo build”. I can compile normally on Windows10, and I use powershell to run it.

I have installed the rust in advance, and I will compile it directly with “cargo build”. I can compile normally on Windows10, and I use powershell to run it.

Are there any requirements for the rust version? Do you have any installation tutorials? Thank you!

I have installed the rust in advance, and I will compile it directly with “cargo build”. I can compile normally on Windows10, and I use powershell to run it.

Are there any requirements for the rust version? Do you have any installation tutorials? Thank you!

git clone repo
open with windows terminal
cargo build

by the way, my rust version:

I have installed the rust in advance, and I will compile it directly with “cargo build”. I can compile normally on Windows10, and I use powershell to run it.

Are there any requirements for the rust version? Do you have any installation tutorials? Thank you!

git clone repo
open with windows terminal
cargo build

by the way, my rust version:

Thank you!

Did you face this issue mentioned in https://github.com/move-language/move/issues/358#issue-1331120594. Has it been solved?

Did you face this issue mentioned in #358 (comment). Has it been solved?

I installed a virtual machine on my Windows computer and solved the problem。

Thank you. I used to think move can be compiled on windows directly. It seems that a virtual machine is essential.

Thank you. I used to think move can be compiled on windows directly. It seems that a virtual machine is essential.

Yes, Windows is not supported temporarily。

Hey, the problem seems to have been solved by renaming the move.exe to movecli.exe. I have tried this method and it really works ! Amazing ! It is mentioned in this channel https://discord.com/channels/964205366541963294/1013627905642872902

Hey, the problem seems to have been solved by renaming the move.exe to movecli.exe. I have tried this method and it really works ! Amazing ! It is mentioned in this channel https://discord.com/channels/964205366541963294/1013627905642872902

The discord doesn't respond when clicked. I don't seem to see the move.exe file, but it's OK to fix it.

the move.exe file is in  .cargo/bin. Using the link https://discord.gg/m3ewmbwn to participate in the discord channel #中文

the move.exe file is in .cargo/bin. Using the link https://discord.gg/m3ewmbwn to participate in the discord channel #中文

Which branch do you use? Do not see the move.exe file.

I mean the local computer if you have ins

talled the move.

I mean the local computer if you have installed the move.

OK, I have added discord.


Bug when converting text containing a tab character inside a paragraph

If you insert a tab character between words within a paragraph, then the HTML page will be distorte

d

1.docx
1.html.zip

Is it possible to correctly convert text with tab characters inside a paragraph?

I can reproduce the bahavior. I will try to look into the possibility of a fix as soon as I have some spare time.

Thanks!
Please update the nuget package
https://www.nuget.org/packages/OpenXmlToHtml/#readme-body-tab


Need more graphics drivers and/or newer VA-API?

inside the viseron container va-api is broken.   I noticed a thread about an issue here was solved by adding more drivers...
Note that maybe a clue: I notice that viseron is reporting VA-API version 1.15.0, and my working container reports VA-API version 1.17.0
The server is an N100 CPU (low power), graphics are SRIOV virtualized through proxmox into a VM running docker containers, a PCI Google Coral TPU passed in, and I think viseron is using the TPU?
host OS
$ cat /proc/version
Linux version 6.2.0-39-generic (buildd@lcy02-amd64-045) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2

SRIOV references

https://github.com/strongtz/i915-sriov-dkms?ref=michaels-tinkerings
https://www.michaelstinkerings.org/gpu-virtualization-with-intel-12th-gen-igpu-uhd-730/

viseron logs at start up are
$ docker logs viseron 2>&1 |more
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...
************************ UID/GID *************************
User uid:    0
User gid:    0
************************** Done **************************
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-gid-video-device: executing...
[cont-init.d] 20-gid-video-device: exited 0.
[cont-init.d] 30-edgetpu-permission: executing...
************** Setting EdgeTPU permissions ***************
Coral Vendor IDs:
"1a6e"
"18d1"
No EdgeTPU USB device was found
Matching PCI devices:
/dev/apex_0
Adding user to group pcidqlNBG7F
************************** Done **************************
[cont-init.d] 30-edgetpu-permission: exited 0.
[cont-init.d] 40-set-env-vars: executing...
****** Checking for hardware acceleration platforms ******
OpenCL is available!
VA-API cannot be used
CUDA cannot be used
*********************** Done *****************************
[cont-init.d] 40-set-env-vars: exited 0.
[cont-init.d] 50-check-if-rpi: executing...
********** Checking if we are running on an RPi **********
Not running on any supported RPi
*********************** Done *****************************
[cont-init.d] 50-check-if-rpi: exited 0.
[cont-init.d] 55-check-if-jetson: executing...
****** Checking if we are running on a Jetson Board ******
Not running on any supported Jetson board
*********************** Done *****************************
[cont-init.d] 55-check-if-jetson: exited 0.
[cont-init.d] 60-ffmpeg-path: executing...
****************** Getting FFmpeg path *******************
FFmpeg path: /home/abc/bin/ffmpeg
*********************** Done *****************************
[cont-init.d] 60-ffmpeg-path: exited 0.
[cont-init.d] 70-gstreamer-path: executing...
***************** Getting GStreamer path *****************
GStreamer path: /usr/bin/gst-launch-1.0
*********************** Done *****************************
[cont-init.d] 70-gstreamer-path: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

inside the viseron container, vainfo says
root@ef64c2ae0da8:/src# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.15.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_15
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

compared this to what vainfo reports inside the frigate container, same server and settings
root@f02eb9531861:/opt/frigate# vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.10.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileNone                   :	VAEntrypointStats
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointFEI
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointFEI
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointFEI
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointFEI
      VAProfileHEVCMain               :	VAEntrypointEncSliceLP
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointEncSliceLP
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointEncSliceLP
      VAProfileVP9Profile1            :	VAEntrypointVLD
      VAProfileVP9Profile1            :	VAEntrypointEncSliceLP
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointEncSliceLP
      VAProfileVP9Profile3            :	VAEntrypointVLD
      VAProfileVP9Profile3            :	VAEntrypointEncSliceLP
      VAProfileHEVCMain12             :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointEncSlice
      VAProfileHEVCMain422_10         :	VAEntrypointVLD
      VAProfileHEVCMain422_10         :	VAEntrypointEncSlice
      VAProfileHEVCMain422_12         :	VAEntrypointVLD
      VAProfileHEVCMain422_12         :	VAEntrypointEncSlice
      VAProfileHEVCMain444            :	VAEntrypointVLD
      VAProfileHEVCMain444            :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         :	VAEntrypointVLD
      VAProfileHEVCMain444_10         :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          :	VAEntrypointVLD
      VAProfileHEVCSccMain10          :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444         :	VAEntrypointVLD
      VAProfileHEVCSccMain444         :	VAEntrypointEncSliceLP
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointEncSliceLP

Thanks for the detailed report.
Will see if upgrading vaapi solves the issue, will let you know when its ready to test

The intel driver, GmmLib, LibVA can be compiled from source in principle.
What exactly are the dependencies that prevent you from updating to ubuntu 22.04, for example?
Ubuntu 20.04 is already a fairly old distribution and similar problems will appear more and more often...
With this version of VAAPI and the iHD_drv_video driver, I am experiencing memory leaks on the Celeron J4105, and I had to switch to i965_drv_video.

Building from source is definitely preferable!
However doing that is pretty time consuming in my experience.
Do you know how to do it or know of any good guides?
The dependency issues are mainly Python related, for instance Pycoral does not officially support Python 3.10

You can use 3rd party repos to install python,  ppa:deadsnakes/ppa at example have some versions:

Ubuntu 22.04 (jammy) Python3.7 - Python3.9, Python3.11 - Python3.13

Great idea, will try that!

I am experiencing the same problem. Both on N100 and i5-12600k.

Will try to fast track some upgrades of dependencies before v3.0.0

FWIW, the VA-API Issue still exists on the latest dev build for me. Also using Intel N100 with SR-IOV.
I edited the file /etc/apt/sources.list.d/intel.gpu.focal.list to be jammy instead of focal and installed intel-media-va-driver-non-free again. Now vainfo is reporting my GPU and after restarting the viseron container, VA-API is recognized!
****** Checking for hardware acceleration platforms ******
OpenCL is available!
VA-API is available!
CUDA cannot be used

Thanks for troubleshooting! Will fix soon.
Hopefully I can release the next beta in a few days

Hit a small snag, i upgraded OpenVINO in the process to version 2023.3 since older versions are not available for Ubuntu 22.04.
This version is causing segfaults when running object detection.
Have to revert back to an old version and do some testing before i can release the beta

I decided to ignore the OpenVINO error for now and added a note to the docs that it is broken.
Hopefully OpenCV 4.10.0 fixes this issue when it is released.
I just pushed 3.0.0b4, builds should be done in a few minutes.
Please give it a go when you get the chance!

VA-API working fine for me with 3.0.0b4 and Intel N100 using SR-IOV!

Great to hear! Thanks for the quick response

Closing as this is addressed in the latest beta.
Please create a new issue if you encounter any problems


Add a search box to the map

Useful resources for a implementing a search control:

ipymaps @deeplook
leaflet-search @stefanocudini
ipyleaflet discussion @SylvainCorlay

Added search control and geocoding.

hi!
where can I find a working demo?

@stefanocudini I have not pushed the update to pypi and conda-forge yet. You will need to install the latest update from github using pip install git+https://github.com/giswqs/geemap. Then you can use the following lines within Jupyter notebook to create a map. Once the map is created, you should see the search button on the upper left corner.
import geemap
m = geemap.Map()
m

you should publish a public demo on google colab ;-)

Unfortunately, Google Colab currently doesn’t support ipyleaflet. See here. I have another repo of 360+ jupyter notebooks that can be used on Colab with limited functionality using the folium package.

Implemented.

great!


Constructor definition

Issue: VScode IDE is throwing an error when using the new solidity constructor syntax
Current:
using: solidity ^0.4.21
vscode is throwing expected identifier, got 'LParen' constructor(
However, using function ConstructorName() outputs the following to console when compiling:

Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead

Expected:
using: solidity ^0.4.21
latest solc prefers use of constructor over function, so vscode IDE should not underline this as an error.

Nevermind, closing issue. For those who are seeking the same fix:

upgrade to<EMAIL_ADDRESS>restart vscode

Step 2 is what caused the opening of this issue, it is a mandatory step.
refs:
solium issue: https://github.com/duaraghav8/Solium/issues/197
vscode-solidity pr allowing this syntax: https://github.com/juanfranblanco/vscode-solidity/issues/63

Just kidding, the restart only temporarily fixed this issue.

Seems I had a rogue solc version installed somewhere. Reinstall solc if this still affects you.


Not able to capture stream from Android

Hey! 👋🏻😁
Thanks for the library, we've been looking for a maintainable streaming library for a while and here's it 🎉
However, we're experiencing a weird issue, possibly from a configuration from our side, but we wanted to check with you first. The capture process is working on IOS but not on Android.
Here's our configuration:
const liveStreamVideoOptions = {
  fps: 30,
  resolution: '720p',
  camera: 'front',
  orientation: 'portrait',
};

 /// {...}
  const [streaming, setStreaming] = useState(false);
  const ref = useRef<ReactNativeLivestreamMethods>(null);

  const handlePress = () => {
    if (streaming) {
      ref.current?.stopStreaming();
      setStreaming(false);
    } else {
      ref.current?.startStreaming();
      setStreaming(true);
    }
  };

  return <LivestreamView
        style={stylesheet.livestreamView}
        ref={ref}
        video={liveStreamVideoOptions}
        liveStreamKey={streamKey}
        rtmpServerUrl={rtmpUrl}
      />

According to the docs, there's some setup needed for permissions, which is already implemented on our side
  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.RECORD_AUDIO" />
  <uses-permission android:name="android.permission.CAMERA" />

And the permissions are also requested using react-native-permissions library.
So finally, I wonder why we're not able to capture from Android devices, are we missing something?

Hi Laura,
I am not sure what is your issue. Do you have a camera preview? Did you try to call startStreaming?
Do you have any relevant traces in the logcat?

Hey! Let me chime in as well (I'm working on this with Laura).
First of all thanks for the super quick response, I'll try to answer what we already know:
We do have camera preview, so the camera permission should be there. We did try to call startStreaming, we console.log'd the ref.current and it was also properly there so the function call is happened.
We do not have logcat logs at this time, we'll try to post it shortly but wanted to answer to these initial questions.

Hi there, is is the logcat from the session when we started the livestreaming. On metro there are no clear error logs getting shown maybe the logcat logs will shed more light as to the issue: https://pastebin.com/XwHfJYKq

2021-11-18 10:22:46.257 21506-2328/app.foobar E/connection rtmp: error
It seems that a connection failed event is triggered.
Are you sure of your rtmp URL and stream key?
Anyway, I think it might interest you: we current have https://github.com/apivideo/react-native-livestream/pull/7 where you can received events from RTMP stream in your UI.

RTPM URL and stream key are correct!
One quick question: Why the stream key is being changed according to the platform, on the [example app from the repo]?(https://github.com/apivideo/api.video-reactnative-live-stream/blob/de9dd2f3dae437d2410cfbb9395d8081a6fc36ad/example/src/App.tsx#L37-L40)
And looking forward for the changes from https://github.com/apivideo/api.video-reactnative-live-stream/pull/7, may I ask when you are planning of releasing?

Hey @ThibaultBee - the issue was related to the format of the RTMP URL
For a reason that I'm not aware of yet, on Android, we need to pass an / on the end of the endpoint, otherwise, the connection fails

Appears to be due to how the native library concatenates with the stream key with the RTMP URL
rtmpCamera2.startStream(url + streamKey)

Nice!

For a reason that I'm not aware of yet, on Android, we need to pass an / on the end of the endpoint, otherwise, the connection fails

Our Android live stream library should add a / at the end of the url when it is missing. We will fix that later.

One quick question: On the example app from the repo, why the stream key is being changed according to the platform?

It was only for test purpose, it should not have been commited.

And looking forward to the changes from #7, may I ask when you are planning of releasing?

As there is a workaround to your issue, I guess we are ready for a delivery.

@ThibaultBee Thanks for the help so far!

@ThibaultBee Is api.video-android-live-stream the right repo? I could raise a PR there to handle this case

Yes, it is the right repo. But not the right branch. The master branch contains a huge refactoring that has not been ported to react native yet (see https://github.com/apivideo/api.video-reactnative-live-stream/tree/feature/update_livestream) because we also have to refactor the iOS live stream.
You can raise an issue there just to follow the fix, we will definitely implement this, just not now. As a short term workaround, if you could write a function that add / at the end of the RTMP URL when it is missing that will be great :)


added preserveScroll and fixed sliders

This fixes the scrolling issue and the slider "not sliding" issue.

can you tell me how you setup you local env for development?


Feature: additional pod metadata

Describe the feature
Let each Pod running in a Tenant Namespace to inherit a set of labels or annotations defined in the Tenant manifest.
What would the new user story look like?
As a Cluster Administrator, I want to perform traffic shaping in order to allow QoS from the Networking standpoint by labelling and annotating Tenant workloads (pods).
Expected behavior
By defining a set of additional metadata in the Tenant specificaiton each workload created in one of their Namespaces will be labelled or annotated with the required information.
The Tenant Owner doesn't need to know in advance the required labels, Capsule will inject them, and override any user-input to prevent any kind of escalation.

We've been demanded to address traffic shaping (aka QoS, or bandwith management) from a Tenant level.
This could be done using a CNI network plugin, or the Cilium Bandwitdh Manager.
@MaxFedotov @oliverbaehler @bsctl although an overalap with other popular policy engines, I think this feature could be interesting to have it available in the Tenant definition and making it declarative.
Thoughts?

it would be a very valuable feature, imho

I support this feature.
We also encounter the same use-case, since we use some other shared cluster components, such as logging agents that can take advantage of pod annotations to enrich the log informations.
For example, with Scalyr/Dataset, you can might set an annotation to define the "tenant" attribute on each pod logline (see: https://app.scalyr.com/help/scalyr-agent-k8s#attaching), and the information can be used to enrich the log entries in the logging backend.
This would be beneficial so that multiple tenants, can use the attributes to easy finding their logs.


Update index.html

Added the link to the About Us page that was created for this project by me.

@Aryashre14  Please check, I have made a different PR in which I added the "about Us" page.
PR has a name starting with au.html

I have closed this P.R. because in hacktoberfest website it is written that "ietebitmesra/Hacktoberfest is excluded from hacktoberfest23, since it does not follows the rules and regulations of it"
It wasted my time and energy.


Using PGMax to solve the PMP 2D blind deconvolution exp

We use PGMax to solve the binary deconvolution experiment presented in the Section 5.6 of the perturb-and-max-product (https://proceedings.neurips.cc/paper/2021/hash/07b1c04a30f798b5506c1ec5acfb9031-Abstract.html) Neurips 2021 paper.
The example pmp_convor.py computes several samples from the posterior of the model via PMP

This addresses https://github.com/vicariousinc/PGMax/issues/11

Codecov Report

Merging #127 (f6d69e4) into master (ad52b65) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #127   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines          854       850    -4
=========================================
- Hits           854       850    -4

Impacted Files
Coverage Δ

pgmax/factors/logical.py
100.00% <100.00%> (ø)

pgmax/fg/graph.py
100.00% <0.00%> (ø)

pgmax/fg/nodes.py
100.00% <0.00%> (ø)

pgmax/factors/enumeration.py
100.00% <0.00%> (ø)

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 ad52b65...f6d69e4. Read the comment docs.

Also I believe this resolves https://github.com/vicariousinc/PGMax/issues/112 not issue #11


Tracing

Very cool project.
Any thoughts on having a natchez module exported from this project? There might be some common parts.
Prior art: https://github.com/tpolecat/natchez/pull/539

@ChristopherDavenport is looking at adding a Tracing API.  That's absolutely in scope; I just started small.
From there, this could certainly be a target for Natchez and be a good solution for libraries already instrumented with Natchez.  But libraries might eventually wish to instrument against this core directly, to avoid that second wrapper and to get access to the full Otel spec.

Sounds freaking great.

I'll leave it open so someone eventually connects the natchez dots when we are capable of tracing.

Not sure how suitable this issue is, but I would like to share my pain points from natchez experience:
1) No access to spanId from Trace[F]
It's a matter of the API. spanId is accessible with a few workarounds, but it would be nice to have it out of the box:
trait Trace[F[_]] {
  def traceId: F[Option[String]]
  def spanId: F[Option[String]]
}

for {
  traceId <- Trace[F].traceId
  spanId  <- Trace[F].spanId
  _       <- logger.info("A log correlated with the trace", ctx = Map("traceId" -> traceId, "spanId" -> spanId))
} yield ()

2) No option to create a new root span from Trace[F]
It's possible to do from EntryPoint, but the entry point cannot be passed to the inner components when traces are managed via Kleisli[F, Span[F], *].
3) No option to run an effect without tracing
Trace[F].span("create-db") {
  for {
    pool <- createDBPool
    _    <- reportLeakedResource(pool).runForever.background
  } yield ()
}

Even though reportLeakedResource is running in the background, it captures the outside span at the start. If reportLeakedResource has a step that creates a child span, that leads to an infinite create-db span.
It would be nice to have something like detached or similar:
Trace[F].span("create-db") {
  for {
    pool <- createDBPool
    _    <- Trace[F].detached(reportLeakedResource(pool)).runForever.background
  } yield ()
}

4) Proper tracing of a Resource
It would be nice to have a correct structure of traced resources. Details - https://github.com/tpolecat/natchez/issues/514.
5) Memory pressure when Trace is not used
If the service uses Trace.Implicits.noop some API methods still allocate some objects:
for {
  _ <- trace.put("route" -> "route", "hash" -> calculateHash(value))
} yield ()

In the example above, calculateHash is still being evaluated, even though the trace is running in no-op mode.
Mostly related to this issue https://github.com/typelevel/otel4s/issues/3
5) Richer API
This one does not belong to otel4s-core but can live in an extras module perhaps.
trait Trace[F[_]] {
  def span[A](name: String)(fa: F[A]): F[A]
  def span[A](name: String, tags: TraceParam*)(fa: F[A]): F[A] = span(name)(put(tags) >> fa)
}

I have personally felt the pain of 2, 4, and 5 and have speculated on the pain of 6.  And the rest look believable, too. :smile:

@iRevive bit of shameless self promotion on 1: Trace4Cats solves this here and here, plus provides interop with Natchez.
Regarding 2: I think it might partially addressed in t4c here

Is really hard, but I had a go here

All t4c span attributes are lazily evaluated. Objects are still allocated, for Eval, but processing like calculateHash isn't done unless the span is sampled

As I mentioned in #29 I think there is an opportunity to share a common core here


K9 opens to "Error" "Folder not found"

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.804
Where did you get the app from?
Google Play
Android version
10
Device model
moto g(7)
Steps to reproduce

Open K9 by clicking on the robot mail dog icon
See the error

Expected behavior
Expected to see my IMAP folders.
Actual behavior
See the screenshot below. I've used K9 for years with no trouble. It was working yesterday, and I'm not aware of any change on my phone overnight. I checked with other people in the household and their K9 is normal, no error, one person on 6.802, and one on 6.804, we all have the same IMAP provider.
If I click the three lines icon, I do see my account listed, and if I click on the account it returns to the Error screen. That's about all the data I have. Thank you!

Logs
k9mail-logs.txt

One more note: I do have fdroid installed on my phone, but it looks like the K-9 version there is also 6.804.

The log shows a database error. It's possible that there was a storage error and the database has been corrupted. It's also possible there was a memory error and now the code to access the database is corrupted and doesn't work like it should. Try rebooting the device. If that doesn't help, try uninstalling the app, then reinstalling.

Weird. Was that database on the internal or external storage? I assume internal, but I saw a k9 dir listed in both, perhaps leftover from the old days? I wonder if I should fsck my external card, but I haven't seen any other issues.
Anyway I did reboot with no change, so I uninstalled. I reinstalled from fdroid and setup my account.
@cketti, thanks for looking at my issue.


Resizable panel

Is it possible to get a resizable panel?

Feel free to code it and submit a PR!

I've managed to do some changes, but not quite there on the resize function yet...