Fix buttons on credentials tab (move when page is resized)

Verified on https://getmastodon.threefold.io/
All of the buttons, fields, text, etc.. in the Credentials tab are now responsive and their size & location change according to the size of the window so they're visible at all sizes.
Get Mastodon (38).webm


28.0.0 backports

Backports for :
#15095 Rewrite EARLIEST/LATEST query operators to EARLIEST_BY/LATEST_BY
#14994 Limit pages size to a configurable limit

@cryptoe Can you please breakout out the commits in separate PRs if possible? This helps with the release management.

We could also try rebase and merge option. If that retains individual commits, then the commit history would be clean.

Hmm, I think that should work. TY for the suggestion.

Thanks for the backports @cryptoe


SSMS download link points to previous version (18.11) instead of 18.12

[Enter feedback here]
SSMS download link points to previous version (18.11) instead of 18.12

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 45daf2f0-bb22-338f-062b-a9fabcb71a92
Version Independent ID: b6e909fe-15d9-c1cf-c018-d4f6f36ff31f
Content: Download SQL Server Management Studio (SSMS) - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/download-sql-server-management-studio-ssms.md
Product: sql
Technology: ssms
GitHub Login: @erinstellato-ms
Microsoft Alias: erinstellato

These will be updated shortly

link was updated and points to 18.12

#please-close

thanks for updating the link


Update Request: Max throughput and IOPS for Premium Storage not supported SKUs

The Max throughput and IOPS are described as 2x500 on Av2 series and some SKUs that doesn't support Premium Storage.
x500 may mean the maximum standard storage IOPS in the past. However, currently, standard storage has over 500 IOPS like S60 and above. So, I think it is better these series also are described the max throughput and IOPS overall the size like premium supported SKUs.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cb382856-6c9f-0cf2-8d68-64fb7a9634bb
Version Independent ID: f32132d0-7881-4064-0256-858d38eebcbe
Content: Av2-series - Azure Virtual Machines
Content Source: articles/virtual-machines/av2-series.md
Service: virtual-machines
Sub-service: vm-sizes-general
GitHub Login: @migerdes
Microsoft Alias: jushiman

@jyama4ta
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@ju-shim @mimckitt
Can you please check and add your comments on this doc update request as applicable.

#reassign: @rishabv90
Rishab can you take a look at this one?

#reassign: @brbell
Brenda, can you take a look at this?
Thank you for your patience, I will sync with the PM on this issue.

#sign-off

#please-close Looks like this issue has been addressed or is in the works. Closing for now.


Can it be used in ComposeHTML?

Not very clear from the Readme, looks like it's intended to be used with OutlinedTextField?

It cannot be used with the html library, It must used with Jetpack Compose that uses Skia as a backend, This can be easily done because code doesn't rely on Compose, It only relies on Annotated String.
PR's are welcome.


Explicitly disable AQE in one test

The "coalesce HostColumnarToGpu" test fails if AQE is enabled, due to reasons explained in this PR. The test now explicitly disables AQE.

This closes https://github.com/NVIDIA/spark-rapids/issues/454

build


Refreshing page breaks the rendering

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure the bug has not already been reported

Fastify version
4.28.1
Plugin version
4.0.0
Node.js version
21.4.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
Sonoma 14.5
Description
It works, I can open and see each endpoint and I can execute them, they work!

The page can always be refreshed (cmd + r, or place the cursor in the browser's url and press enter) being in the base url http://localhost:3002/api/.
But, if I open any endpoint (exactly like my previous screenshot) to see the documentation and then I refresh the page, I end up with this broken swagger:

import swagger from '@fastify/swagger'
import ui from '@fastify/swagger-ui'
import { host, port } from '#api/env.js'
import { nodeEnv } from '#env.js'

export default async fastify => {
    const docsRoute = 'api'

    await fastify.register(swagger, {
        routePrefix: docsRoute,
        openapi: {
            openapi: '3.0.0',
            info: {
                title: 'My API',
                version: '0.0.1'
            },
            servers: [
                { url: 'http://localhost:3002', description: 'DEV' }
            ]
        },
        exposeRoute: true
    })

    await fastify.register(ui, {
        routePrefix: docsRoute,
        uiConfig: {
            docExpansion: 'none',
            deepLinking: true
        },
        exposeRoute: true
    })

    const isDev = nodeEnv === 'development'
    const schema = isDev ? 'http' : 'https'
    await fastify.ready()
    console.log('DOCUMENTATION:', `${schema}://${host}:${port}/${docsRoute}`)
}

Link to code that reproduces the bug
No response
Expected Behavior
That I continue to see the same page instead of a broken one

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

It's already fixed at #158

I can confirm this issue is fixed but v4.0.1 is now broken for me with this commit. Doesn't load the page at all due to these errors:

Removing the dot in the urls fixes the issue


Fixed NavBar that was stuck to the top

Addresses #38
NavBar is now sticky to the bottom and responsive to small images.
NavBar Items are now evenly spaced.
Note:

Did not include extra spacing under the icons, shown in here
Also, icons cover the whole span instead of being slightly more padded inward

NavBar is sticky.

NavBar is responsive.

great demo @jchen42703 !!!

LGTM


Getting "Load cache .. Segmentation fault" every time I run phpdoc

I've just installed phpDocumentor 2.9.0 via PEAR. I'm running PHP 7.0.18-0ubuntu<IP_ADDRESS>. I have the latest version of php7.0-xsl installed.
I've tried running basic tasks against several different directories containing .php files. It always segfaults when it gets to "Load cache". For example:
$ phpdoc -d /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper -t ~/lib24watch_phpdoc
Collecting files .. OK
Initializing parser .. OK
Parsing files
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchUserHelper.php
  No summary was found for this file
  No summary for class ""
  Argument $data is missing from the Docblock of toHumanReadable
  Argument $key is missing from the Docblock of toHumanReadable
  No summary for method ""
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchPermissionsHelper.php
  No summary was found for this file
  No summary for class ""
  No summary for method ""
  Argument $lib24watchUser is missing from the Docblock of normalizeLib24watchUser
  No summary for method ""
  Argument $lib24watchUser is missing from the Docblock of isLoggedIn
  No summary for method ""
  Argument $lib24watchUser is missing from the Docblock of isImmutableSuperuser
  No summary for method ""
  Argument $lib24watchUser is missing from the Docblock of isSuperuser
  No summary for method ""
  Argument $plugin is missing from the Docblock of isPluginVisible
  Argument $lib24watchUser is missing from the Docblock of isPluginVisible
  No summary for method ""
  Argument $permissionKey is missing from the Docblock of hasPermission
  Argument $plugin is missing from the Docblock of hasPermission
  Argument $lib24watchUser is missing from the Docblock of hasPermission
  No summary for method ""
  No summary for property $currentLib24watchUser
  No summary for property $lib24watchModules
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchAutolinkerHelper.php
  No summary was found for this file
  No summary for class ""
  Argument $text is missing from the Docblock of autolink
  Argument $linkMap is missing from the Docblock of autolink
  Argument $linkerCallback is missing from the Docblock of autolink
  Argument $linkerCallbackExtraArgs is missing from the Docblock of autolink
  No summary for method ""
  Argument $first is missing from the Docblock of sortRanges
  Argument $second is missing from the Docblock of sortRanges
  No summary for method ""
  Argument $thisStart is missing from the Docblock of isOverlap
  Argument $thisEnd is missing from the Docblock of isOverlap
  Argument $otherStart is missing from the Docblock of isOverlap
  Argument $otherEnd is missing from the Docblock of isOverlap
  No summary for method ""
  Argument $value is missing from the Docblock of isBetween
  Argument $start is missing from the Docblock of isBetween
  Argument $end is missing from the Docblock of isBetween
  No summary for method ""
  Argument $first is missing from the Docblock of sortLinkMapCallback
  Argument $second is missing from the Docblock of sortLinkMapCallback
  No summary for method ""
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/LessHelper.php
  No summary for class ""
  Argument $View is missing from the Docblock of __construct
  Argument $config is missing from the Docblock of __construct
  Argument $options is missing from the Docblock of fetch
  Argument $less is missing from the Docblock of less
  Argument $less is missing from the Docblock of jsBlock
  Argument $input is missing from the Docblock of compile
  Argument $input is missing from the Docblock of string
  Argument $options is missing from the Docblock of setOptions
  Argument $plugin is missing from the Docblock of assetBaseUrl
  Argument $url is missing from the Docblock of pluginAssetFile
  Argument $url is missing from the Docblock of assetSplit
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/PanelHelper.php
  No summary was found for this file
  No summary for class ""
  Argument $options is missing from the Docblock of start
  No summary for method ""
  Argument $options is missing from the Docblock of applyTemplate
  Argument $options is missing from the Docblock of applyTemplateBrowse
  No summary for method ""
  Argument $options is missing from the Docblock of applyTemplateEdit
  No summary for method ""
  Argument $options is missing from the Docblock of applyTemplateFilter
  No summary for method ""
  No summary for method ""
  No summary for method ""
  Argument $remember_collapse is missing from the Docblock of rememberCollapseUnique
  No summary for method ""
  Argument $camel_string is missing from the Docblock of humanizeString
  Argument $plural is missing from the Docblock of humanizeString
  No summary for property $helpers
  No summary for property $index
  No summary for property $view_vars
  No summary for property $humanized_strings
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchImageCacheHelper.php
  No summary was found for this file
  No summary for class ""
  Argument $pluginName is missing from the Docblock of url
  Argument $basePath is missing from the Docblock of url
  No summary for property $helpers
Storing cache in "/home/tmiller/lib24watch_phpdoc" .. OK
Load cache                                                         .. Segmentation fault

A few other times, I've seen it stall when it gets to "Load cache" (without segfaulting), with 100% CPU usage and very little memory usage.

Do you have the same issues when using our phar install?

Unfortunately, yes, I do:
$ php phpDocumentor.phar -d /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper -t ~/lib24watch_phpdoc
Collecting files .. OK
Initializing parser .. OK
Parsing files
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchUserHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\Lib24watchUserHelper
  Argument $data is missing from the Docblock of toHumanReadable
  Argument $key is missing from the Docblock of toHumanReadable
  No summary for method toHumanReadable()
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchPermissionsHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\Lib24watchPermissionsHelper
  No summary for method beforeRender()
  Argument $lib24watchUser is missing from the Docblock of normalizeLib24watchUser
  No summary for method normalizeLib24watchUser()
  Argument $lib24watchUser is missing from the Docblock of isLoggedIn
  No summary for method isLoggedIn()
  Argument $lib24watchUser is missing from the Docblock of isImmutableSuperuser
  No summary for method isImmutableSuperuser()
  Argument $lib24watchUser is missing from the Docblock of isSuperuser
  No summary for method isSuperuser()
  Argument $plugin is missing from the Docblock of isPluginVisible
  Argument $lib24watchUser is missing from the Docblock of isPluginVisible
  No summary for method isPluginVisible()
  Argument $permissionKey is missing from the Docblock of hasPermission
  Argument $plugin is missing from the Docblock of hasPermission
  Argument $lib24watchUser is missing from the Docblock of hasPermission
  No summary for method hasPermission()
  No summary for property $currentLib24watchUser
  No summary for property $lib24watchModules
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchAutolinkerHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\Lib24watchAutolinkerHelper
  Argument $text is missing from the Docblock of autolink
  Argument $linkMap is missing from the Docblock of autolink
  Argument $linkerCallback is missing from the Docblock of autolink
  Argument $linkerCallbackExtraArgs is missing from the Docblock of autolink
  No summary for method autolink()
  Argument $first is missing from the Docblock of sortRanges
  Argument $second is missing from the Docblock of sortRanges
  No summary for method sortRanges()
  Argument $thisStart is missing from the Docblock of isOverlap
  Argument $thisEnd is missing from the Docblock of isOverlap
  Argument $otherStart is missing from the Docblock of isOverlap
  Argument $otherEnd is missing from the Docblock of isOverlap
  No summary for method isOverlap()
  Argument $value is missing from the Docblock of isBetween
  Argument $start is missing from the Docblock of isBetween
  Argument $end is missing from the Docblock of isBetween
  No summary for method isBetween()
  Argument $first is missing from the Docblock of sortLinkMapCallback
  Argument $second is missing from the Docblock of sortLinkMapCallback
  No summary for method sortLinkMapCallback()
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/LessHelper.php
  No summary for class \Lib24watch\View\Helper\LessHelper
  Argument $View is missing from the Docblock of __construct
  Argument $config is missing from the Docblock of __construct
  Name of argument $plugin does not match with the DocBlock's name $asset in assetBaseUrl()
  Name of argument $asset does not match with the DocBlock's name $plugin in assetBaseUrl()
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/PanelHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\PanelHelper
  No summary for method start()
  No summary for method end()
  Argument $options is missing from the Docblock of applyTemplate
  Argument $options is missing from the Docblock of applyTemplateBrowse
  No summary for method applyTemplateBrowse()
  Argument $options is missing from the Docblock of applyTemplateEdit
  No summary for method applyTemplateEdit()
  Argument $options is missing from the Docblock of applyTemplateFilter
  No summary for method applyTemplateFilter()
  No summary for method generatePanelId()
  No summary for method getCurrentRoute()
  Argument $remember_collapse is missing from the Docblock of rememberCollapseUnique
  No summary for method rememberCollapseUnique()
  Argument $camel_string is missing from the Docblock of humanizeString
  Argument $plural is missing from the Docblock of humanizeString
  No summary for property $helpers
  No summary for property $index
  No summary for property $view_vars
  No summary for property $humanized_strings
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchImageCacheHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\Lib24watchImageCacheHelper
  Name of argument $fileSize does not match with the DocBlock's name $width in url()
  Name of argument $width does not match with the DocBlock's name $height in url()
  Name of argument $height does not match with the DocBlock's name $force in url()
  Name of argument $force does not match with the DocBlock's name $full in url()
  Name of argument $full does not match with the DocBlock's name $basePath in url()
  Argument $basePath is missing from the Docblock of url
  No summary for property $helpers
Storing cache in "/home/tmiller/lib24watch_phpdoc" .. OK
Load cache                                                         .. Segmentation fault

And, likewise for the composer install:
$ php vendor/bin/phpdoc -d /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper -t ~/lib24watch_phodic
Collecting files .. OK
Initializing parser .. OK
Parsing files
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchUserHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\Lib24watchUserHelper
  Argument $data is missing from the Docblock of toHumanReadable
  Argument $key is missing from the Docblock of toHumanReadable
  No summary for method toHumanReadable()
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchPermissionsHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\Lib24watchPermissionsHelper
  No summary for method beforeRender()
  Argument $lib24watchUser is missing from the Docblock of normalizeLib24watchUser
  No summary for method normalizeLib24watchUser()
  Argument $lib24watchUser is missing from the Docblock of isLoggedIn
  No summary for method isLoggedIn()
  Argument $lib24watchUser is missing from the Docblock of isImmutableSuperuser
  No summary for method isImmutableSuperuser()
  Argument $lib24watchUser is missing from the Docblock of isSuperuser
  No summary for method isSuperuser()
  Argument $plugin is missing from the Docblock of isPluginVisible
  Argument $lib24watchUser is missing from the Docblock of isPluginVisible
  No summary for method isPluginVisible()
  Argument $permissionKey is missing from the Docblock of hasPermission
  Argument $plugin is missing from the Docblock of hasPermission
  Argument $lib24watchUser is missing from the Docblock of hasPermission
  No summary for method hasPermission()
  No summary for property $currentLib24watchUser
  No summary for property $lib24watchModules
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchAutolinkerHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\Lib24watchAutolinkerHelper
  Argument $text is missing from the Docblock of autolink
  Argument $linkMap is missing from the Docblock of autolink
  Argument $linkerCallback is missing from the Docblock of autolink
  Argument $linkerCallbackExtraArgs is missing from the Docblock of autolink
  No summary for method autolink()
  Argument $first is missing from the Docblock of sortRanges
  Argument $second is missing from the Docblock of sortRanges
  No summary for method sortRanges()
  Argument $thisStart is missing from the Docblock of isOverlap
  Argument $thisEnd is missing from the Docblock of isOverlap
  Argument $otherStart is missing from the Docblock of isOverlap
  Argument $otherEnd is missing from the Docblock of isOverlap
  No summary for method isOverlap()
  Argument $value is missing from the Docblock of isBetween
  Argument $start is missing from the Docblock of isBetween
  Argument $end is missing from the Docblock of isBetween
  No summary for method isBetween()
  Argument $first is missing from the Docblock of sortLinkMapCallback
  Argument $second is missing from the Docblock of sortLinkMapCallback
  No summary for method sortLinkMapCallback()
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/LessHelper.php
  No summary for class \Lib24watch\View\Helper\LessHelper
  Argument $View is missing from the Docblock of __construct
  Argument $config is missing from the Docblock of __construct
  Name of argument $plugin does not match with the DocBlock's name $asset in assetBaseUrl()
  Name of argument $asset does not match with the DocBlock's name $plugin in assetBaseUrl()
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/PanelHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\PanelHelper
  No summary for method start()
  No summary for method end()
  Argument $options is missing from the Docblock of applyTemplate
  Argument $options is missing from the Docblock of applyTemplateBrowse
  No summary for method applyTemplateBrowse()
  Argument $options is missing from the Docblock of applyTemplateEdit
  No summary for method applyTemplateEdit()
  Argument $options is missing from the Docblock of applyTemplateFilter
  No summary for method applyTemplateFilter()
  No summary for method generatePanelId()
  No summary for method getCurrentRoute()
  Argument $remember_collapse is missing from the Docblock of rememberCollapseUnique
  No summary for method rememberCollapseUnique()
  Argument $camel_string is missing from the Docblock of humanizeString
  Argument $plural is missing from the Docblock of humanizeString
  No summary for property $helpers
  No summary for property $index
  No summary for property $view_vars
  No summary for property $humanized_strings
Parsing /var/www/sandboxes/tmiller/24watch6/httpdocs/vendor/redacted/lib24watch/src/View/Helper/Lib24watchImageCacheHelper.php
  No summary was found for this file
  No summary for class \Lib24watch\View\Helper\Lib24watchImageCacheHelper
  Name of argument $fileSize does not match with the DocBlock's name $width in url()
  Name of argument $width does not match with the DocBlock's name $height in url()
  Name of argument $height does not match with the DocBlock's name $force in url()
  Name of argument $force does not match with the DocBlock's name $full in url()
  Name of argument $full does not match with the DocBlock's name $basePath in url()
  Argument $basePath is missing from the Docblock of url
  No summary for property $helpers
Storing cache in "/home/tmiller/lib24watch_phodic" .. OK
Load cache                                                         .. Segmentation fault

Parsing errors does not matter. The same error.
Clear test file:
`<?php
/**

File...
*/

/**

File...

@package    pack

@author     authod

@copyright  2016-2017
/
class A
{
/*

Var

@var string
*/
private $var;

/**

A constructor.
*/
public function __construct()
{
$this->var = 'test';
}

/**

Return var.

@return string
*/
public function getVar()
{
return $this->var;
}
}
`

Command:
vendor/bin/phpdoc run -f test.php -t docs --template=clean
Result:

Collecting files .. OK
Initializing parser .. OK
Parsing files
Parsing /test.php
Storing cache in "/docs" .. OK
Load cache                                                         .. Segmentation fault

Could you please give this a retry with our new v3.0.0-alpha release. Think this solves your issue.

There is no such error in this version.

Thanks, will close this issue


Use ctable in snabbwall

Fixes https://github.com/snabbco/snabb/issues/1165. I worked on this fix as a means to learn more about ctable.
The patch needs more testing. Snabbwall's test modules pass:
TEST      apps.wall.scanner
TEST      apps.wall.l7fw

However Snabbwall's shell selftest is skipped (due to libndpi.so not present):
TEST      program/wall/tests/selftest.sh
SKIPPED   testlog/program.wall.tests.selftest.sh

Ideally the PR should be benchmarked too.

Filter tests are passing now, but spy-test are still failing. The selftest complains the result doesn't match the expected result. However when I run the command isolated I got the same result as in master. Likely there's something else wrong.  I'd need to look more into it.
PR
$ sudo ./snabb wall spy pcap ./program/wall/tests/data/tftp_wrq.pcap
0x1e016083    1p     <IP_ADDRESS>:2087  -    <IP_ADDRESS>:57509  UNKNOWN
0x1e016083   99p     <IP_ADDRESS>:2087  -    <IP_ADDRESS>:57509  TFTP

master
$ sudo ./snabb wall spy pcap ./program/wall/tests/data/tftp_wrq.pcap
0x1e016083    1p     <IP_ADDRESS>:2087  -    <IP_ADDRESS>:57509  UNKNOWN
0x1e016083   99p     <IP_ADDRESS>:2087  -    <IP_ADDRESS>:57509  TFTP

@dpino I made a PR to your branch that should fix these issues https://github.com/dpino/snabb/pull/10

@takikawa Thanks for fixes, I merged them into this PR.

Now that CI is passing, before merging should make sure there's not benchmark regressions. I tried to run the benchmark in snabb1, but it fails as the system complains ndpi is not installed:
ndpi/c.lua:73: libndpi.so: cannot open shared object file: No such file or directory

Stack Traceback
===============
(1) Lua function 'handler' at file 'core/main.lua:168' (best guess)
        Local variables:
         reason = string: "ndpi/c.lua:73: libndpi.so: cannot open shared object file: No such file or directory"
         (*temporary) = C function: print

I've managed to upgrade snabb1 to v17.03 and I can locate ndpi now:
$ sudo nix-channel --list
nixos https://nixos.org/channels/nixos-17.03

$ sudo nix-env -qaP '.*ndpi.*'
nixos.ndpi  ndpi-1.8

$ sudo nix-env -i ndpi-1.8
replacing old ‘ndpi-1.8’
installing ‘ndpi-1.8’

However, gcc complains cannot locate libndpi. If I try with a very basic C program:
#include <stdio.h>

int main (void)
{
    return 0;
}

$ gcc ~/test.c -lndpi
/nix/store/v7h3j43vx0dz5ahhkxg5z50by2iqc6k1-binutils-2.23.1/bin/ld: cannot find -lndpi
collect2: error: ld returned 1 exit status

@dpino I think you probably need to set LD_LIBRARY_PATH to the appropriate folder for the benchmark to work. For example, setting it to ~/.nix-profile/lib usually works for me since there's a link to it.

Setting LD_LIBRARY_PATH managed to get rid of the cannot locate libndpi library, still collect2 returned the same error. In the end, I modified src/Makefile and set the path to libndpi using -L and linked -lndpi too.
diff --git a/src/Makefile b/src/Makefile
index 453f59c..d139ef3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -62,9 +62,9 @@ snabb: $(LUAOBJ) $(PFLUAOBJ) $(HOBJ) $(COBJ) $(ARCHOBJ) $(ASMOBJ) $(PFLUAASMOBJ)
        $(E) "LUA       obj/version.lua"
        $(Q) luajit -bg -n core.version obj/version.lua.gen obj/version_lua.o
        $(E) "LINK      $@"
-       $(Q) $(CC) $(DEBUG) -Wl,--no-as-needed -Wl,-E -Werror -Wall -o $@ $^ \
+       $(Q) $(CC) $(DEBUG) -L/home/dpino/.nix-profile/lib/ -Wl,--no-as-needed -Wl,-E -Werror -Wall -o $@ $^ \
            obj/version_lua.o \
-           -lrt -lc -ldl -lm -lpthread
+           -lrt -lc -ldl -lm -lpthread -lndpi
        @echo -n "BINARY    "
        @ls -sh snabb

Here are the benchmark results:
$ sudo ./program/wall/tests/bench.sh 0000:82:00.0 0000:02:00.0 10
Firewall on 0000:82:00.0 (CPU 10). Packetblaster on 0000:02:00.0.
 Packetblaster on 0000:02:00.0.
 Actually in this PR, sometimes there are sinks. I don't know why that is happening, but it seems it happens more often than in the master.


Limit log history

Codecov Report

Merging #280 (d6a2f20) into master (231b6e3) will decrease coverage by 0.14%.
The diff coverage is 56.25%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #280      +/-   ##
==========================================
- Coverage   95.65%   95.51%   -0.14%
==========================================
  Files         175      176       +1
  Lines        4048     4057       +9
==========================================
+ Hits         3872     3875       +3
- Misses        176      182       +6

Impacted Files
Coverage Δ

impl/jamtemplate/common/cache_interface.hpp
100.00% <ø> (ø)

impl/jamtemplate/common/cache_null.hpp
100.00% <ø> (ø)

impl/jamtemplate/common/log/info_screen.cpp
40.35% <0.00%> (ø)

...pl/jamtemplate/common/log/log_target_interface.hpp
100.00% <ø> (ø)

impl/jamtemplate/common/log/log_target_ostream.cpp
88.88% <ø> (ø)

impl/jamtemplate/common/log/log_target_ostream.hpp
100.00% <ø> (ø)

impl/jamtemplate/common/log/logger.hpp
100.00% <ø> (ø)

impl/jamtemplate/common/log/logger_interface.hpp
100.00% <ø> (ø)

impl/jamtemplate/common/log/logger_null.cpp
100.00% <ø> (ø)

impl/jamtemplate/common/log/logger.cpp
87.27% <50.00%> (-12.73%)
:arrow_down:

... and 3 more

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


add prerrequisites, to run the app in your own appservices if you want

#18

awesome @markharrison !


Add versioning information to the application

Since we are now deploying multiple versions of the app, we should add a version to the application and display the version in the about page. It would also be nice to display the version of the SPDX tools used in the backend as well.

Totally agree with you. We should also keep track of the major changes done during the development of a version (both java and online-tools).
Ideas I can think of right now:

Using settings.py file for maintaining the current version
Using git tag to mark commits to a specific version and use GitHub releases feature.
Having a wiki where we maintain changes done in a version.
I am open to other ideas as well of tagging and maintaining version and displaying the changes in some other/third party way, if its more convenient.

We can also use Milestone on GitHub to set feature requests for further versions.

@goneall @rtgdk @techytushar Can I work on this issue?

@abhishekspeer  Sure go ahead!

@abhishekspeer Are you still working on this issue? if not, i would like to work on it.

Thanks for asking @Ugtan
I had my University exams earlier. I’m working on it right now and will submit a PR soon. Thanks again. :)

No issues 😊 @abhishekspeer

We would like to include the changelog in the wiki. (Format of the changelog should also be specified in that wiki). Before that, you should present any versioning strategy that would be best for this project. We can keep the online-tools version and java-tools version in settings.py or any other file and show it at the bottom of the web page. We should also create a wiki on how/when to change a version. Some application follow <Major.Minor.Patch> strategy. When a patch is added we change only the last digit. For eg: 1.0.1 to 1.0.2. Also, if we can use the github release feature that would be great. Basically you can describe your strategy on the issue itself or include some PR to show how you plan to implement it. Once we have that, the mentors will help you guide what extra things can be included.

@rtgdk its best to include a file (versions) to show the java tools version and display the value in the web home page.

@anshuldutt21 You are welcome to open a PR for the same.


bitHound instead of VersionEye

It's just a small heads-up: I recently started using bitHound and dropped VersionEye support on my packages. bitHound not only tracks versions of deps, but also provides linting related, security related insights about the project. Worth to take a look. Have a good day and thanks for Webpack!

We've been experimenting with bitHound at webpack-contrib. The results have been a little mixed (just doesn't work sometimes). Thanks for the heads up, though.


ActivityPub support?

Hey,
Neat project, thanks!  Would be cool to automatically  have books I've added get posted to my Mastodon/etc account.
Cheers,
Adam.

Hi,
Thank you for your interest in this project. This sounds like a great idea and definitely something I myself would also like to have.
I am thinking we can integrate the mastodon API fairly easily. This would not make this project a fully supported and interoperable actiivtypub server (I have no interest in creating another social media platform) but it would make it able to send out and have you easily share what you reading and what you thought about a specific book.
On an even more technical note, we can listen for certain events and when these events happen we can post a message to the users pre-configured mastodon account.
Events possibly to listen for,

Adding book to list X (currently reading or to be read).
When you finished reading a book.
When you add a note.
When you rate a book

That sounds great, thanks!

Sharing to mastodon via events have now been implemented. For now, the worker that will listen in the background will only react when you finish reading a book. It will then toot out a message on the account you have connected.
More events can be implemented at a later stage.
This feature is opt-in.
Documentation on how to connect booklogr to your mastodon account have been written and can be found in the wiki
Thank you @adamshand  for your feature request!

Amazing, thank you!


[Select] Multiple select value prop don't allow to use Array type when using TypeScript

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
I send array data to value prop like this.
function MUISelect(value: string[]) {
  return <Select multiple value={value} ...>...
}

<MUISelect value={["item1", "item2", "item3"]} />

I get this error:
 Type 'string[]' is not assignable to type 'string'.
    89 |        multiple
  > 90 |        value={value}>

It should run, but Select props in the Select.d.ts file waits for a string like this:  value?: T | '';
Expected behavior 🤔
No response
Steps to reproduce 🕹
Steps:

Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
System:
    OS: macOS 12.4
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.11 - /usr/local/bin/yarn
    npm: 8.9.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 104.0.5112.79
    Edge: Not Found
    Firefox: 103.0
    Safari: 15.5
  npmPackages:
    @emotion/react: ^11.9.3 => 11.10.0
    @emotion/styled: ^11.9.3 => 11.10.0
    @mui/base:  5.0.0-alpha.92
    @mui/material: ^5.10.0 => 5.10.0
    @mui/private-theming:  5.9.3
    @mui/styled-engine:  5.10.0
    @mui/system:  5.10.0
    @mui/types:  7.1.5
    @mui/utils:  5.9.3
    @types/react: 18.0.0 => 18.0.0
    react: 18.0.0 => 18.0.0
    react-dom: 18.0.0 => 18.0.0
    styled-components: ^5.3.5 => 5.3.5
    typescript: ~4.6.2 => 4.6.4

It does work as expected - see the demos in https://mui.com/material-ui/react-select/#multiple-select.
You forgot to destructure props in the MUISelect component in your example.
It could be:
function MUISelect({ value }: { value: string[]}) {
  return <Select multiple value={value} />
}

I get the same type issue, and am out of ideas for how to fix it.

Type 'string[]' is not assignable to type 'string'.

by default change event assumes value is string,

The SelectChangeEvent prop have default string value, it may be a bug, type should come from value.
If you change it to this error goes away.

Is this issue solved?


Remove AtomicUsize deprecations

Remove trailing colon , make build happy.
Remove deprecated compare_and_swap
Bump package to current release.

@slp added all the changes and created separate/signed commit for every change.

ah rustfmt is missing let me do that.

@slp PTAL

@slp did fmt and added all the changes with separate/signed commit for every change.


undiagnosed panic

2023-11-22-15-28-27.zip
thread 'rustc' panicked at rust_verify/src/lifetime_generate.rs:1183:72:
expr

cause seems to be this let line not being in a proof block
                                    let proof_cpacket = (old(self)).received_packet.unwrap();

Minimal repro:
fn stuff(x: &mut u8) {
    let y = *old(x);
}

Panic is in lifetime-generate; this error should probably be caught in the 'modes' pass.


Call Feature With Tag

Hi,
I'm calling another feature from a feature file.I want only one scenario to work, but I can not. How can I do it?

this is not supported and most likely will never be supported in karate. there is no plan to support tags within called features.
please re-factor your 'callable' features to have only one scenario each.


Update execinfo.adoc

Please add a meaningful description for your change here
Added example on how to use the Execution Information transform
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[ ] I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004
[ ] In any other case, please file an Apache Individual Contributor License Agreement.

thanks @Mattang-Dan


some quick changes to improve readability

I find it hard to focus on the question text with a lot of similar-looking font around it, so added some CSS to set off the question a little more.

fixed a few missing classes in the html and made the option toggleable


wasm: fix build on older versions of Linux.

Signed-off-by: Piotr Sikora<EMAIL_ADDRESS>

@mattklein123 @adisuissa could we get this into v1.23.0 release? Otherwise, there might be a lot of build failures.
@kyessenov could you confirm it fixes the issue?


Docs : Add minimal contribution guidelines

Fixes : #25
See : kata-containers/community#5
Signed-off-by: Yash Jain<EMAIL_ADDRESS>

Hi @ydjainopensource - please could you rebase this PR? That will add the required .travis.yml which is now in master.

Done!

Thanks @ydjainopensource!
lgtm

need an ack from one of @kata-containers/runtime

LGTM

I guess that one is no longer relevant due to #30 ?

Sorry @ydjainopensource, @sameo - I have a script which I used to check which files were missing for #30. But, clearly that script isn't clever enough to also check the PR backlog ;(

Sorry too, didn't notice the two PRs include the same file when I merged #30

No issues I am just closing this PR then


Performance chart

This pull request introduces several enhancements and fixes across multiple files in the earn-protocol app. The key changes include the addition of new functionalities, improvements to existing features, and code refactoring for better performance and maintainability.
New Functionalities:

apps/earn-protocol/app/earn/[network]/position/[vaultId]/[walletAddress]/page.tsx: Added fetchForecastData, parseForecastDatapoints, and getPositionHistory to fetch and parse forecast data and position history. (apps/earn-protocol/app/earn/[network]/position/[vaultId]/[walletAddress]/page.tsxL1-R2, apps/earn-protocol/app/earn/[network]/position/[vaultId]/[walletAddress]/page.tsxR12, apps/earn-protocol/app/earn/[network]/position/[vaultId]/[walletAddress]/page.tsxR76-R106)
apps/earn-protocol/app/server-handlers/position-history/index.ts: Introduced a new server handler to fetch position history using GraphQL clients.

Improvements to Existing Features:

apps/earn-protocol/components/layout/VaultManageView/VaultManageViewComponent.tsx: Replaced PerformanceYieldChart with PositionPerformanceChart to display performance data more accurately. [1] [2]
apps/earn-protocol/components/layout/VaultOpenView/VaultOpenViewComponent.tsx: Updated HistoricalYieldChart to use historicalChartData for better historical data representation.
apps/earn-protocol/components/organisms/Charts/PositionPerformanceChart.tsx: Enhanced the performance chart to use memoized data and improved chart rendering.

Code Refactoring:

apps/earn-protocol/components/organisms/Charts/components/Performance.tsx: Refactored the PerformanceChart component to handle new data structures and added custom crosshair for better visualization. [1] [2] [3] [4] [5] [6]
apps/earn-protocol/codegen.yml: Updated code generation configuration to include new GraphQL client for position history.

Minor Fixes:

apps/earn-protocol/features/portfolio/components/PortfolioOverview/PortfolioOverview.tsx: Corrected the chart data property to use historicalChartData.
apps/earn-protocol/features/rebalance-activity/table/mapper.tsx: Added suppressHydrationWarning to TableCellText for timestamp rendering.

Summary by CodeRabbit

New Features

Introduced a new GetPositionHistory GraphQL query for retrieving detailed position history data.
Added a PositionPerformanceChart for improved visualization of performance data.
Enhanced vault management with new data handling for position history and forecasts.
Added functionality for merging position history and forecast data to generate performance chart data.

Bug Fixes

Improved error handling for data fetching operations.

Documentation

Updated type definitions to reflect changes in data structures related to vaults and forecasts.

Chores

Removed deprecated vault decorators and refactored related data handling functions for clarity and efficiency.

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

Please upload report for BASE (dev@1c90e59). Learn more about missing BASE report.
Report is 2 commits behind head on dev.

Additional details and impacted files
@@          Coverage Diff           @@
##             dev     #614   +/-   ##
======================================
  Coverage       ?   70.58%
======================================
  Files          ?       24
  Lines          ?      255
  Branches       ?       17
======================================
  Hits           ?      180
  Misses         ?       74
  Partials       ?        1

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


firestore : edit a document field via an input

Hi,
I was looking at how the sample code of documents showing data.
<div>       {{ (item | async)?.name }}     </div>
Is is possible to use an input for editing the item name in the sample above ?
I haved tried this
<input *ngIf="item | async" type="text" [(ngModel)]="item.name" [value]="item.name" />
but it didn't work.
I can get the data to display by this

this.rpDoc = this.db.doc(${id});
this.rpInfo = this.rpDoc.snapshotChanges().pipe(
map(actions => {
const data = actions.payload.data() as RowId;
const id = actions.payload.id;
console.log("document", id, data, actions);
return {id, ...data};
})
);

Thanks in advance.

You have to manually write the data onInput
*.component.html
<input *ngIf="itemDoc | async as item" (keydown)="setValue($event.value)" [value]="item.name"/>
or
<input *ngIf="itemDoc | async as item" (input)="setValue($event.value)" [value]="item.name"/>
*.component.ts

...
public itemDoc = this.db.doc('path/to/document').valueChanges();
public setValue(value: string) {
itemDoc.update(value);
}
...


Start multiple modules on Box.Application.start

Hi all,
The library has methods like .start, startAll, .stop and stopAll. This can be a good idea to add specific control over making only some modules start or stop. For example,
If developer expects to see only two modules to start to work, this could be like the following:
Starting the specific modules :
App.start(['testModule1', 'testModule1']);

or
App.startOnly(['testModule1', 'testModule1']).

What do you think?
Thanks.

Adding some more flexibility to the Application.start() method sounds like a good idea, but we'll want to maintain the interface of Element, not module names. We would also like to avoid adding an additional "start" method to avoid confusing new developers.
Would this still solve your needs?
var moduleEls = document.querySelectorAll('[data-module="foo"], [data-module="bar"]');
Application.start(moduleEls);

I'd also recommend just creating a service for this.
Box.Application.getService('module-initializer').start('testModule1', 'testModule2');

My original thought was just loop through the arguments and run application.start. @j3tan does that given snippet work with the current version of t3?

No, it does not work with the current version, but is a proposed change. Iterating over the arguments object works nicely if you hard code the modules you want to start. If you are dynamically putting together a list of modules to start, an array is better suited.
A service like @zephraph suggested could accomplish the task without modifying the Application code.

In addition, I was planning to implement an array keeping the module names like the following:
if(arguments.length > 1) {
//make a loop for the array of the module names and their modules
} else {
//here is the actual code of stop method
}
You can take a look here: [https://gist.github.com/hwclass/cac01eb8a87636b3c317](the new stop method for multiple module call)

Array.isArray(arguments) is always false since arguments isn't an Array.
Keep in mind, there can be multiple modules on a page with the same module name. Building and iterating over array mappings can be cumbersome.
For now, you could just do:
function start(elements) {
    var moduleEls = Array.isArray(elements) ? elements : [elements];
    for (var i = 0, len = moduleEls.length; i < len; i++) {
        Box.Application.start(moduleEls[i]);
    }
}

Have we concluded that this can be accomplish via a service an isn't required to be an addition to T3? If so, this issue and #142 should likely be closed.

Closing for now, we will try to keep the interface as straight forward as possible.


Disallow the use of only in mocha tests

Could we add in a rule for not allowing only in mocha tests please?
This is an ESLint plugin for the same thing if that helps: https://www.npmjs.com/package/eslint-plugin-mocha-no-only

Would personally love this, too easy to accidentally commit this 😄

This is neat! However, I'd be a little worried that this could open the door to adding lots of framework/library specific rules, which could get hairy.

Yeah, that is very true, might be a good idea to think about where to draw the line, and this could potentially be on the wrong side of that line :)
Although mocha is very widely used...

.only is also support by Jest and AVA

Useful,  but I don't know if this should be standard's responsibility...

The best way that I've found to avoid committing .onlys is to use code coverage measurement and enforcement.  Then if you accidentally try and commit a .only the CI will fail.
Jasmine uses xit instead of .only and it would be odd to add checks for Mocha but not Jasmine.

I don't think this belongs in standard at this time. I have an idea that might accommodate additional rules for particular frameworks and I'd like to re-examine this rule if/when that becomes a thing.

If I recall correctly, mocha has a --forbid-only flag. I think this is the right place for this functionality, not in standard.


D3 correction not applied

I'm using the default aimnet2_b973c_0.jpt model and it seems like the D3 corrections are not being applied. What makes me think this is that I can get consistent energies/forces with b973c DFT data, but only if I subtract the D3 correction manually from the DFT data first.
Is there a setting I need to apply to activate these corrections that I'm missing?

It must be applied. Note, it is only pairwise components, not 3-body. Please could you share the data that made you come to the conclusion?

Here's a minimal example for a calculation on ethanol. I can't use ORCA for licensing reasons, but Psi4 should give reasonably similar results for the same functional and basis set.
The relevant energies calculated below are:

AIMNet2ASE calculator = -4216.9688
dft = -4217.2368
DFTD3 = -0.26485

so, by subtracting the D3 energy from the DFT (which has it built-in coming out of Psi4), AIMNet2 and DFT agree to within less than 3 meV, otherwise they are 100s of meV out. This is consistent for me across all the molecules in MD17 (not just ethanol)
ethanol_1.xyz.txt
from dftd3.ase import DFTD3
from ase.calculators.psi4 import Psi4
from aimnet2calc import AIMNet2ASE

ethanol = read('ethanol_1.xyz')

aimnet = AIMNet2ASE("/Users/joemorrow/models/aimnet2_b973c_0.jpt")
ethanol.calc = aimnet
aimnet_energy = ethanol.get_potential_energy()

dft_calc = Psi4(atoms = ethanol,
            method = 'B973C',
            basis = 'def2-TZVP',
            num_threads=4,
            label=f'dft_b973C-TZ'
            )
dft_energy = ethanol.get_potential_energy()

d3 = DFTD3(method="b973c", damping="d3bj")
ethanol.calc = d3
d3_energy = ethanol.get_potential_energy()

print(
    dft_energy - d3_energy, aimnet_energy[0]
)```

Absolute DFT energy depends drastically on the integration grid. Therefore, absolute values of DFT energy cannot be compared between different software implementations, sometimes even between different versions of the same program, like ORCA-4 and ORCA-5.

ORCA gives -4216.9536 eV total energy for this ethanol geometry.

I agree that different DFT implementations will always be inconsistent to some extent, especially in absolute energies.
However, in this case, the forces also agree much better between AIMNet and DFT with the D3 corrections subtracted across a wide range of molecules, which made me think that it's not differences in DFT implementation behind this. Interesting that the differences between DFT flavours could be coincidentally very similar to the D3 correction, but perhaps that is the case

Hi @MorrowChem . I would re-iterate again that you can not compare total energies computed with different DFT codes. D3 contribution to forces is generally rather small, compared to intrinsic errors one expects from an NNP. At this point I and confident that that my code is correct and D3 correction is applied. I would need more evidence for your claim to keep the issue open.

Would you mind sharing your ORCA input parameters so I can try and reproduce on my end? Great work by the way, enjoying using AIMNet2, just want to make sure I know exactly what the calculations are doing.

B97-3c:
!b97-3c tightscf engrad
%elprop dipole true quadrupole true end
%output Print[P_DFTD_GRAD] 1 Print[P_Hirshfeld] 1 end
wB97M:
!def2-tzvpp def2/j rijcosx tightscf engrad
%method
method dft
functional hyb_mgga_xc_wb97m_v
end
%elprop dipole true quadrupole true end
%output Print[P_Hirshfeld] 1 end


Expose RichTextLabel selection to script

Expose existing get_selection_text and add methods to get the current selection index from and index to.
Implements proposal https://github.com/godotengine/godot-proposals/issues/1558
Test projects:
3.2 - richtextlabel-tests.zip
4.0 - richtextlabel-tests-4.0.zip

Also at the end of _get_item_at_pos() I think the right value to return would be p_item_to.
Otherwise, on the test I've done, selecting up to the last character would give wrong results in the new functions. @bruvzg, am I right on this?

Returning p_item_to was causing some issues (the last character couldn't be selected anymore). But I've made a change in _get_item_at_pos() that seems to fix the problem.
I've also fixed a discrepancy with image tags to make sure the character returned indices match are consistent with get_text and  get_selected_text (get_text() converts into a space, while the selection was not counting it as a character in all cases).
Given that all the last changes make this PR specific to master, I'll make a different one for 3.2 later.

Thanks!

Any chance of this being backported into 3.5?

Any chance of this being backported into 3.5?

RichTextLabel was rewritten from scratch in master, so this feature would also need to be reimplemented from scratch.

@Calinou But what about the
Test projects:
3.2 - richtextlabel-tests.zip
in the PR?

@Calinou But what about the Test projects: 3.2 - richtextlabel-tests.zip
in the PR?

Nevermind, I didn't see the 3.x minimal reproduction project in OP.


Cant Compile

ve just set up the project accordingly but receive an error when I try to compile the demo:
user@pc:~/prologue_sdk/logue-sdk/platform/prologue/demos/waves$` make
Compiler Options
../../../../tools/gcc/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -DTHUMB_PRESENT -g -Os -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -fcheck-new -std=c11 -mstructure-size-boundary=8 -W -Wall -Wextra -Wa,-alms=./build/lst/ -DSTM32F401xC -DCORTEX_USE_FPU=TRUE -DARM_MATH_CM4 -D__FPU_PRESENT -I. -I./inc -I./inc/api -I../../inc -I../../inc/dsp -I../../inc/utils -I../../../ext/CMSIS/CMSIS/Include
Compiling _unit.c
make: ../../../../tools/gcc/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc: Command not found
Makefile:190: recipe for target 'build/obj/_unit.o' failed
make: *** [build/obj/_unit.o] Error 127
I checked if its a simple path-missmatch but the file is there. I use an up to date Ubuntu 16.04 system. Any suggestions are welcome.

The conclusion is already made, just for your information. This issue was reproduced on a clean install of my Ubuntu 18.04 LTS (x86_64). However, by adding the "libc6-i386" package, the required version of the 32-bit prebuild compiler worked.

Thx for the hind, actually seem that on ubuntu you can install it directly from the package manager with apt-get install gcc-arm-none-eabi


[v2.0.0] Add SectorRegionComponent to allow sector entities to span multiple chunks

This PR implements the SectorRegionComponent, which allows sector entities to watch a set of chunks, rather than just one chunk. This allows the entity to span a region, e.g. a city, or a big herd of deer. If any of the chunks in the region are loaded, the LoadedSectorUpdateEvent will be sent to the entity.
It also adds some helper methods in the SectorUtil class for dealing with the SectorRegionComponent.
There are also a few other small fixes/improvements, and the addition of the blockInChunk() method to ChunkMath, which I've used in my changes to DynamicCities.
I've updated the TutorialSectors module to demonstrate its use. The postBegin() method of the TestSystem adds the SectorRegionComponent. It can be tested in-game by going to position 0, 0, 0 and verifying that the log shows Entity 47 loaded. Value is ..., then moving away so that the chunk unloads and the loaded message stops appearing. Then teleporting to 1000, 0, 1000 should cause the loaded messages to return.

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

I accidentally merged #3037 first, but I guess this is okay ... 🙄


Nnf test system reservation

Adds a reservation mechanism to ensure no system test runs on a currently reserved system.
To reserve a system, create a namespace in your name. The regexp is defined to take first name and last name combinations like "nate", "natet", "nate-thornton", "nate-with-any-annotation". The important thing is it must start with your name; "hey-this-is-nate" would not qualify.
To run the test suite against a reserved system, use the --ignore-reservation flag.
If a system is reserved (as it current is as of this writing), you'll see the test suite abort with a message like
[ABORTED] System is current reserved by 'Matt Richerson'

Now to make the test try other runners.


Fix AWS billing datasource partition updates and HiveTable partition validation

Fixes #1002
/hold
Need to file a bugzilla for this and verify the fix.

I'm going to close this and create a single PR to consolidate the fixes for the AWS billing datasource.


Animation in Edge browser

Hello, thanks again for this great platform 🥇
I have an example which animates in Chrome, but it does not animate in Edge:

Actual Result
Pressing animate button animates in Chrome & Firefox, but not in Edge.
Expected Result
Animates in all browsers.

Attribute Transitions depend on WebGL2, which is unfortunately only supported on Chrome and Firefox at the moment.
I believe this is a documented limitation, but maybe we could be more clear. Feel free to give suggestions about our docs.
I believe there are efforts to bring other browsers up to par so there is some hope this will improve.

@ibgreen I see. Thank you!


Fix #8453 by making openssh listen on SSH_LISTEN_PORT not SSH_PORT

#7829 made the docker support SSH_LISTEN_PORT for those who are using the internal SSH server but did not extend this functionality to the OpenSSHD.
Although we are/were planning to switch to the internal SSH by default - this currently leaves us in a bit of a conflicted state. This PR extends that functionality to the current default provider, OpenSSHD.

Codecov Report

Merging #8477 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8477      +/-   ##
==========================================
+ Coverage   41.84%   41.85%   +<.01%
==========================================
  Files         497      497
  Lines       65808    65808
==========================================
+ Hits        27537    27543       +6
+ Misses      34733    34730       -3
+ Partials     3538     3535       -3

Impacted Files
Coverage Δ

models/unit.go
62.16% <0%> (-5.41%)
:arrow_down:

models/gpg_key.go
56.66% <0%> (+0.83%)
:arrow_up:

models/repo_list.go
74.14% <0%> (+0.97%)
:arrow_up:

modules/sync/unique_queue.go
89.28% <0%> (+10.71%)
:arrow_up:

Continue to review full report at Codecov.

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


[poem_openapi] How to represent unions with non data members

I have roughly the following structs that i want to serialize and send out as json:
use serde::Serialize;

#[derive(Serialize)]
pub struct Master {
  pub some_field : u32,
  #[serde(flatten)]
  pub detail : Detail,
}

#[derive(Serialize)]
#[serde(tag = "type")]
pub enum Detail {
  A(A),
  B(B),
  C,
  D(D),
  E
}

#[derive(Serialize)]
pub struct A {  pub a: u32 }
//[...] similar (more complex implementation for B and D, just different structures in general

using serde, this roughly serializes to
{
 "some_field": 12345,
 "type": "A",
 "a": 45667
}

or in case of C (or E) just
{
 "some_field" : 12345,
 "type": "C"
}

which is exactly what i require.
If i try to add poem_openapi annotations to the Detail Union, it errors on the first member without data (C) with the message Incorrect oneof definition. As you might imagine that is not very helpful so a better error message would be appreciated, but moreover i would like to ask how to realize this type of structure with the existing annotations if at all possible.

You should do it like this, Poem-openapi serialization is not as flexible as Serde, because its objects must conform to the OpenAPI specification.
    #[derive(Object)]
    pub struct Master {
        pub some_field: u32,
        #[oai(flatten)]
        pub detail: Detail,
    }

    #[derive(Object)]
    pub struct DetailA {
        a: String,
    }

    #[derive(Object)]
    pub struct DetailB {
        b: u32,
    }

    #[derive(Object)]
    pub struct DetailC;

    #[derive(Object)]
    pub struct DetailD {
        d: u32,
    }

    #[derive(Object)]
    pub struct DetailE;

    #[derive(Union)]
    #[oai(discriminator_name = "type")]
    pub enum Detail {
        A(DetailA),
        B(DetailB),
        C(DetailC),
        D(DetailD),
        E(DetailE),
    }

that's rough, but i feared as much. Thank you for the recommendation.
I feel like these empty structs could just be generated in case of no data union members, but i don't have the time to look into it and i expect you to also have more pressing matters to attend to.
closing this as the question has been answered


About alert jump problem

When I configure an availability alarm, it will jump to a null address, please fix it

#166  #167  done


Refreshable TableView Crash On Example App

(main)> 2015-04-18 20:29:19.546 RedPotion[53366:624352] refreshable.rb:41:in `refreshView:': undefined local variable or method `refreshable_callback' for #<ContributerScreen:0x1
0b4b7a60> (NameError)
2015-04-18 20:29:19.551 RedPotion[53366:624352] *** Terminating app due to uncaught exception 'NameError', reason: 'refreshable.rb:41:in `refreshView:': undefined local variable
or method `refreshable_callback' for #<ContributerScreen:0x10b4b7a60> (NameError)
'
*** First throw call stack:
(
        0   CoreFoundation                      0x00000001031e9c65 __exceptionPreprocess + 165
        1   libobjc.A.dylib                     0x0000000100714bb7 objc_exception_throw + 45
        2   RedPotion                           0x0000000100348caf _ZL10__vm_raisev + 399
        3   RedPotion                           0x0000000100348ddd rb_vm_raise + 205
        4   RedPotion                           0x0000000100246ee9 rb_exc_raise + 9
        5   RedPotion                           0x0000000100347052 rb_vm_method_missing + 786
        6   RedPotion                           0x0000000100319f85 rb_vm_dispatch + 5925
        7   RedPotion                           0x000000010031871d rb_vm_trigger_method_missing + 1053
        8   RedPotion                           0x000000010031997f rb_vm_dispatch + 4383
        9   RedPotion                           0x000000010001ed7c vm_dispatch + 1436
        10  RedPotion                           0x00000001001c530d rb_scope__refreshView:__ + 381
        11  RedPotion                           0x00000001001c5608 __unnamed_25 + 40
        12  UIKit                               0x0000000100c38da2 -[UIApplication sendAction:to:from:forEvent:] + 75
        13  UIKit                               0x0000000100d4a54a -[UIControl _sendActionsForEvents:withEvent:] + 467
        14  UIKit                               0x000000010131aaf5 -[UIRefreshControl _setRefreshControlState:notify:] + 318
        15  libdispatch.dylib                   0x000000010473af16 _dispatch_call_block_and_release + 12
        16  libdispatch.dylib                   0x0000000104755964 _dispatch_client_callout + 8
        17  libdispatch.dylib                   0x000000010473f50c _dispatch_after_timer_callback + 89
        18  libdispatch.dylib                   0x0000000104755964 _dispatch_client_callout + 8
        19  libdispatch.dylib                   0x000000010474c1e2 _dispatch_source_latch_and_call + 786
        20  libdispatch.dylib                   0x00000001047454a0 _dispatch_source_invoke + 404
        21  libdispatch.dylib                   0x0000000104740927 _dispatch_main_queue_callback_4CF + 398
        22  CoreFoundation                      0x00000001031511f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        23  CoreFoundation                      0x0000000103112dcb __CFRunLoopRun + 2043
        24  CoreFoundation                      0x0000000103112366 CFRunLoopRunSpecific + 470
        25  GraphicsServices                    0x0000000104ffda3e GSEventRunModal + 161
        26  UIKit                               0x0000000100c37900 UIApplicationMain + 1282
        27  RedPotion                           0x0000000100026e5f main + 111
        28  libdyld.dylib                       0x0000000104785145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NameError

================================================================================
The application terminated. A crash report file may have been generated by the
system, use `rake crashlog' to open it. Use `rake debug=1' to restart the app
in the debugger.
================================================================================

Steps to reproduce:

Open Example App.
Click Data Table Screen.
Pull To Refresh.
App Crashes.

Will check this out when I can @zhigang1992 !

@jamonholmgren if you dont get to it, I can poke around too.

Feel free, @squidpunch !

I can't reproduce this. I tried it in various versions of RM. I'm using the latest RedPotion.

I'm going to try and reproduce it as well - sounds like if it works for @twerth its probably worth a clean:all  will report back if I can reproduce it

@zhigang1992 I just pulled the repo down and a fresh build and not seeing any issue, the error is a bit confusing because the line number in ProMotion should be referring to @refreshable_callback not refreshable_callback  are you still seeing the issue?

Yeah, sorry I didn't make this clear, it's not crashing on build or launch. It's when you do a pull to refresh in Open data screen @squidpunch

I'm still seeing this after I pull the newest changes.

OMG. I'm sorry, I must have mistakenly removed the @ when I'm looking through the source codes....
Terribly sorry for wasting all of your time.
:sob: :sob:

@zhigang1992 I was going to ask if that might have happened!  Glad you got it sorted out :+1:


Memory leak

Every request adds a bit more to the memory. Feeding larger sets of text, around 4000 characters, makes it more evident.
I was wondering if it could be some problem with Docker, so I've also tried running it on Ubuntu 20 VM, with 10GB RAM. The problem persists. It starts at 2.2GB RAM usage and consumption grows until there's no memory left.
To avoid crashing the VM, I'm closing all tabs and reopening on regular intervals. I've found that it's not necessary to close the browser itself to free the memory, just the tabs.
Is anyone else seeing this problem?

I'm not sure where the memory leak comes from.
Question:

How many memory grows after each request? I assume every query on the page will leave a history? But if the memory grows a lot it might not be the case.

Does the memory keep growing even after 1 hour? Because here I refresh pages every 1 hour. I think they should have the same effect as the reopening?

https://github.com/Songkeys/Translateer/blob/5b4ec8bdaf0bd6ce7ca87e94c36d398381fad33f/src/browser/pagepool.ts#L48-L59

How many memory grows after each request? I assume every query on the page will leave a history? But if the memory grows a lot it might not be the case.
Around 10MB every few seconds. I'm running two instances, 6 tabs each
Does the memory keep growing even after 1 hour? Because here I refresh pages every 1 hour. I think they should have the same effect as the reopening?
Closing the tabs is probably unnecessary, but I decided to go the extra length to avoid more problems. I have to close and reopen tabs every 20 minutes, as this is enough time to raise RAM consumption by 5GB.

Thank you for your report. I'll take a look during this weekend!

This looks like an issue with puppeter itself https://github.com/puppeteer/puppeteer/issues/5893
The current solution is to close the browser and restart it. I made this change in commit https://github.com/puppeteer/puppeteer/issues/5893. Let me know if this solves for you.

Memory leak persists, but hopefully closing the browser every N minutes will help other people with this issue. Thanks!


Failed formatting for this JSON object

var obj = '{ "abcdefghij":[{ "abcdefghijklmnop":{} }] }';
var json = neatJSON(obj, {wrap:1, short:true, aroundColonN:1} );
// TypeError: Cannot read property '0' of undefined

Removing characters from either property name fixes the problem, as does removing the aroundColonN option. (?!)

Simpler repro:
var obj = {"foo":[{}]};
var json = neatJSON(obj, {wrap:1, short:true, aroundColonN:1} );
// TypeError: Cannot read property '0' of undefined

Fixed in v0.6.1


endpoints.get_current_user() "Unable to get authorized scopes" with firebase auth

I'm getting an error when calling endpoints.get_current_user() with firebase auth. Simple example below:
audiences = {
    'firebase': [firebase_id]
}

issuers = {
    'firebase': endpoints.Issuer(
        'https://securetoken.google.com/{}'.format(firebase_id),
<EMAIL_ADDRESS>    )
}

scopes = [
    'https://www.googleapis.com/auth/userinfo'
]

allowed_client_ids = ["firebase_auth"]

collection = endpoints.api(name=api_name, version=api_version, scopes=scopes, base_path=api_path, issuers=issuers, audiences=audiences, allowed_client_ids=allowed_client_ids)

    @endpoints.method(UserTestRequestContainer, UserMessage, name='user.test', path='user/test', http_method='GET')
    def test(self, request):
        user = endpoints.get_current_user()
        logging.info(user)
        logging.info('scopes: {}'.format(scopes))
        if user is None:
            raise endpoints.NotFoundException("user not found")
        return UserMessage()

In the request log, it shows this:
2018-07-06 16:41:59.926 EDT
Unable to get authorized scopes. (/base/data/home/apps/s~tvi-www/20180706t164046.410950432919376241/lib/endpoints/users_id_token.py:371)
Traceback (most recent call last):
  File "/base/data/home/apps/s~tvi-www/20180706t164046.410950432919376241/lib/endpoints/users_id_token.py", line 369, in _set_bearer_user_vars
    authorized_scopes = oauth.get_authorized_scopes(sorted(all_scopes))
  File "/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/api/oauth/oauth_api.py", line 171, in get_authorized_scopes
    _maybe_call_get_oauth_user(scope)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/api/oauth/oauth_api.py", line 220, in _maybe_call_get_oauth_user
    _maybe_raise_exception()
  File "/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/api/oauth/oauth_api.py", line 239, in _maybe_raise_exception
    raise InvalidOAuthTokenError(error_detail)
InvalidOAuthTokenError

Does the Firebase Auth only work with Google Sign-In in this use case? I'm using email/password signup.

Frameworks supports both JWTs and opaque OAuth access tokens, but it only supports OAuth access tokens from Google.

Hi,
so, the tutorial here https://cloud.google.com/endpoints/docs/frameworks/python/authenticating-users#authenticating_with_firebase_auth shouldn't be working ? Is there any other steps than what is listed there ?

@normmcgarry are you able to get this working ? I'm trying to do the same thing but I get the same error.


feat: support task spec param get value from configmap

Changes
support task spec param get value from configmap
Part of #1744
/kind feature
API changes
adding a field valueFrom within the task.params: valueFrom
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
`valueFrom` can use values for the parameters which defined in  `ConfigMap`

#1744

/kind feature

/ok-to-test

/retest

/retest

@vdemeester can you take a look when you have time

/retest

/assign @vdemeester

Naive question : do we want a TEP for this ? I would think it's fine not having it but, I'd rather ask the rest of the maintainer @tektoncd/core-maintainers 🙃

Naive question : do we want a TEP for this ? I would think it's fine not having it but, I'd rather ask the rest of the maintainer

I think so-- some points that could use more discussion:

this affects task reusability as it ties the task definition to runtime configuration (the name of the configmap). maybe the configmap should be specified in taskrun instead.
this affects conformance, as it's only supported for a k8s implementation of tekton
I'm curious what the use case is here, and why a workspace bound to a configmap doesn't work for it. Can we improve workspaces in some way to meet this use case?
syntax wise, I would imagine people would want to put all keys into the same configmap so I doubt they want to include the configmap reference for each param definition


Tweak roster: colors & columns

We received feedback from teachers to separate out the math and ELA/reading results in the roster. Now both subjects are paired together under the assessments: MCAS & STAR.

Why is this useful?

teachers want the flexible to see specific subjects e.g., see STAR math next to MCAS math (not show the ELA/reading columns in between)
in upper grades, teachers are departmentalized e.g., Math teacher not particular interested in seeing ELA scores by default

@alexsoble: @AmirHadjihabib's earlier version had a breakout by subject.

Also, replace "N/A" with "-" to make it visually cleaner.

@AmirHadjihabib: Let's fix:

color for light green risk level 0 (hard to differentiate with dark green according to Alex)

Let's add new:

mock up what a summary box of roster

@AmirHadjihabib: We checked off (mostly) these two issues!

friendlier colors
summary box

:smile:
Screenshots, por favor!

:heart: glad we made these changes & additions. Happy eyes :heart_eyes:

Next steps @alexsoble @AmirHadjihabib

move selector down closer to roster

@r11runner: Our designer @AmirHadjihabib noticed this issue, "The header is breaking to two lines and falling out of the grid". Do you know what might be going on?

Thanks for the info. I'll have a look at it on Saturday.

Sorry, my mistake. The reason is that the new header "STAR: Math" is actually wider than the content of the table cells. Hope that this css-change fixes the issue.

Thank you, @r11runner!
@AmirHadjihabib: Can you review these changes? In the screenshot, looks like there are some other weird things going on with the alignments and column headers. For example:

"Home Language" is right-aligned
"Level of Need" is funky-aligned
"Percentile" under "STAR: Math" header is bleeding into the "ACCESS" header --- same for "504 Plan"

@AmirHadjihabib: Can you take a look at these issues this week?


Added missing action

Add new actions:
ConfbridgeLock
ConfbridgeUnlock
ConfbridgeKick

Coverage decreased (-0.5%) to 91.733% when pulling eb43d0bb98b0c4cb364a90c931d515f931d705d4 on morvai88:master into db4b2278e2f15362a176e79ae96a0fa3b2e66dd1 on marcelog:master.

Coverage decreased (-0.5%) to 91.733% when pulling eb43d0bb98b0c4cb364a90c931d515f931d705d4 on morvai88:master into db4b2278e2f15362a176e79ae96a0fa3b2e66dd1 on marcelog:master.


It should be considered to add a serial number to the exported step in json, and provide clear error steps when recording execution fails

Expected Behavior
Actual Behavior
Steps to Reproduce the Problem

Specifications

Version:
Platform:

Could you provide more details about your use case? the steps are already ordered and for improved error handling there is an issue filed already https://github.com/puppeteer/replay/issues/81

اريد اصلاح الهاتف الرقم التسلسلي مفقود860325062893409

لاتوجدشبكه

اريد اضافة الرقم التسلسلي860325062893409


Fix federation/{id}/user & federation/{id}/deliveryservices id not found error

What does this PR (Pull Request) do?

[x] This PR fixes #4087 & #4090

Which Traffic Control components are affected by this PR?

CDN in a Box
Documentation
Grove
Traffic Control Client
Traffic Monitor
Traffic Ops
Traffic Ops ORT
Traffic Portal
Traffic Router
Traffic Stats
Traffic Vault

What is the best way to verify this PR?

If this is a bug fix, what versions of Traffic Control are affected?

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4721/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4723/

Yeah the correct status code was always there. The problem was attempting to format a nil error value which caused a panic leading to the internal server error


Create grid/mesh structure

The ElementData class exists, now create a class to hold more than one of them, calculate the physics on its elements, and run the relevant dynamics.
Implements part of #52.

Merged as part of the MVM (IStructure).


IDE Crash

[Window Title]
devenv.exe
[Main Instruction]
An unexpected error occurred
[Content]
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[^] Hide details  [Close]
[Expanded Information]
Build: 3.0.17114.1

System.ArgumentException: The Selection Status may not be set to a completion that isn't part of the completion/builder list in the completion set
Parameter name: value
   at Microsoft.VisualStudio.Language.Intellisense.CompletionSet.set_SelectionStatus(CompletionSelectionStatus value)
   at Microsoft.PythonTools.Intellisense.FuzzyCompletionSet.SelectSingleBest()
   at Microsoft.PythonTools.Intellisense.IntellisenseController.SelectSingleBestCompletion(ICompletionSession session)
   at Microsoft.PythonTools.Intellisense.IntellisenseController.TriggerCompletionSession(Boolean completeWord, Nullable`1 commitByDefault)
   at Microsoft.PythonTools.Language.EditFilter.ExecWorker(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
   at Microsoft.PythonTools.Language.EditFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

Thanks for the bug report!

Closing this and keeping #2965


Changed "topcis" to "topics"

Fixed minor typo in the "what-does-this-guide-cover.md" file.

Thanks!


python3Packages.cartopy: 0.18.0 -> 0.19.0.post1

Motivation for this change
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 121782 at 057cc7d7 run on aarch64-linux 1

2 packages failed to build:

python38Packages.cartopy
python39Packages.cartopy

1 suggestion:

warning: unclear-gpl
lgpl3 is a deprecated license, please check if project uses lgpl3Plus or lgpl3Only and change meta.license accordingly.
Near pkgs/development/python-modules/cartopy/default.nix:54:5:
   |
54 |     license = licenses.lgpl3;
   |     ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement.

Can you also fix the license?

@dotlambda done!


link disappeared

https://graphbin.readthedocs.io/en/latest/usage/
The link on how to convert fastg to gfa files in the above URL disappears.
I want to know how to convert fastg to gfa.
Thank you

Hello @masterhan666,
Seems like the GitHub repository has been removed. I will check if there are any other implementations available to do the fastg to gfa conversion.

Hello @masterhan666,
I think you can use gfastats (https://github.com/vgl-hub/gfastats) to convert fastg to gfa.

Please reopen the issue if needed.


Rewrite the Bundle

As scary as the title may be, in the end this actually isn't too terrible from a consumer perspective.  Also, a fair bit of the added lines of code in this PR come from adding tests and isn't entirely the production code.
So the main thing I wanted to do when I set out on this was to build a compiled route generator and matcher similar to symfony/routing instead of storing the router data in a cache store.  To do that efficiently, in effect the bundle has been rewritten to more closely emulate the Symfony router and its features and everything else just kind of follows along that.  https://github.com/mbabker/pubsub-demo is a demo app repo with the current master branch of this repo installed and https://github.com/mbabker/pubsub-demo/compare/with-refactor shows the changes needed (albeit it is a very basic demo but hopefully communicates the point).
I'm going to try and tackle this by namespace for the current bundle to list out the relevant changes.
General Bundle Changes
Requires PHP 7.1, with code updated to use 7.1 features (i.e. scalar typehinting)
The rewrite follows the model of symfony/routing as of 4.1, which itself got quite a few upgrades in the 4.1 release; I tried backporting support back to 5.5 but couldn't really pull it off that well on my own and at this point I figured as this is a "major" upgrade and the raised minimum is OK
Service ID changes

Old
New

gos_pubsub_router.debug.command
gos_pubsub_router.command.debug_router

gos_pubsub_router.generator
Removed

gos_pubsub_router.matcher
Removed

gos_pubsub_router.php_file.cache
Removed

gos_pubsub_router.tokenizer.cache_decorator
Removed

gos_pubsub_router.tokenizer.default
Removed

gos_pubsub_router.yaml.loader
gos_pubsub_router.loader.yaml

gos_pubsub_router.<name>
gos_pubsub_router.router.<name>

New
gos_pubsub_router.router.cache_warmer

New
gos_pubsub_router.router.registry

New
gos_pubsub_router.routing.loader

New
gos_pubsub_router.routing.resolver

Unit Testing
Yep, there are tests now
Gos\Bundle\PubSubRouterBundle\Cache
The classes in this namespace (a cache warmer and cache decorator) have been removed in full.
Gos\Bundle\PubSubRouterBundle\CacheWarmer
A new RouterCacheWarmer is implemented to handle compiling static generators and matchers for each router, this is similar to the warmer in the FrameworkBundle
Gos\Bundle\PubSubRouterBundle\Command
The debug command has the new RouterRegistry injected to locate the router to be debugged, it no longer has the addRouter() method that is seeded with a compiler pass.
Gos\Bundle\PubSubRouterBundle\DependencyInjection
The bundle configuration has been simplified, including:

Removed context node, there is no need to statically define a route separator
Removed route_loader_class node, the class this defined no longer exists and loading is now handled based on the Config component's loaders and resolvers

What used to happen in the RouterCompilerPass has now been inlined into the container extension class and massively simplified, routers are built as services in the extension now and added to the RouterRegistry
There is a new RoutingResolverPass similar to the one in the FrameworkBundle, this catches all services with the new gos_pubsub_router.routing.loader tag and adds them to the resolver service; this approach leaves future flexibility for supporting more than YAML format in the route definition files.
Gos\Bundle\PubSubRouterBundle\Exception
Some new exceptions have been added for unique events.
Gos\Bundle\PubSubRouterBundle\Generator
The generator dumpers are all new and based on those from the Routing component.
The GeneratorInterface is simplified to a single generate method, and the Generator class mostly rewritten similar to the Routing component.
Gos\Bundle\PubSubRouterBundle\Loader
The YamlFileLoader is now a direct extension from the Config component's FileLoader, and between this and the Route class structure a route's YAML definition has been slightly modified.  The loader now adds resources to the RouteCollection to be tracked.
Gos\Bundle\PubSubRouterBundle\Matcher
The matcher dumpers are all new and based on those from the Routing component.
The MatcherInterface  is simplified to a single match method, and the Matcher class mostly rewritten similar to the Routing component.
Gos\Bundle\PubSubRouterBundle\Router
There is a new RouterRegistry where all defined routers are stored, this should be considered the main public interface for accessing a router outside of direct service injection.
The RouteInterface has been removed, typehint the Route object directly.
The $args of a Route have been removed (I honestly could not find how this feature was intended to be used), support for options and defaults has been added, as well as compiling a Route (primarily to be used for building the cached generators and matchers).  Because this is based on Symfony 4.1, UTF8 should now be supported in routes.
The RouterContext is fully removed.
The Router itself is internally pretty well rewritten to match that of the Routing component.  This includes the Config component support and cached generator/matcher support.  Unlike the Routing component, the router here supports multiple resources (YAML files) for defining the routes and doesn't require using a single "root" resource.
Gos\Bundle\PubSubRouterBundle\Tokenizer
The tokenizer has been removed in full in favor of the refactored generator/matcher API.

Hey @mbabker,
Sorry for they delay ! Huge & great work ! I'm totally agree with, php version is OK since I officialy drop php5 support since 1.9.0 (from rc3 at time)

Unit Testing
Yep, there are tests now
:pray:

Are you ok, if I add you as maintainer on github for this bundle (or part as Gos core) ? Since you rewrite 99% of it, it's logic to my POV. Let me know what do you think.
May be we could also add pubsub demo repo as part of gos team ? what do you think
Thanks @mbabker !

I tagged it as 1.0.0 (no app point to that version at time), So next step will be to update gos bundle (configuration and docs)

Are you ok, if I add you as maintainer on github for this bundle (or part as Gos core) ? Since you rewrite 99% of it, it's logic to my POV. Let me know what do you think.

I'm fine with that.


<> notation breaks ''notation''

I'm not sure if this is a bug or working as intended, but ''minmax(auto, <<flex>>)'' in the Grid draft isn't working. See end of the <<flex>> definition in https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-flex

Known bug due to the current layering of shorthand parsing: if you happen to nest shorthands in the order that they get parsed in, you're fine; if not, the inner shorthand parses and breaks up the outer one into separate text fragments, which then don't parse.
I can't find the original issue for this, but there's something tracking it already. This'll be fixed this year as I rewrite the HTML/markdown parser.


Innovations - Primitives

Nathan

Made a code.org account and project shows learnings
Java Primitive Learning NB
Bash Installation Confirmation NB
College Board Page

Score: 2.7
Nathan included everything, but he didn't go above and beyond.


Addition of Plum Gathering

First Contribution to get used to the process/learning.
Context from:
From: https://github.com/EveronLife/EveronLife/discussions/49
Apologies in advance if there are any issues with this. Play tested and added Plum Tree to Debug Environment for testing.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @KasperOnPC, thank you for your contribution. Before looking at anything else, I must note that the model can not be used. The license (https://blog.turbosquid.com/turbosquid-3d-model-license/#Games-Usage) does not permit free open access and can only be bundled with a closed game binary. To my knowledge, this is not compatible with the MIT license.
The model needs to be swapped out. You can find license complatible models (e.g. CC-BY) here: https://sketchfab.com/search?features=downloadable&licenses=322a749bcfa841b29dff1e8a1bb74b0b&type=models

That's my bad @Arkensor, thanks for the detailed feedback. It looks like there are some plum models under CC-BY, I will switch it out tomorrow.
Would love any other feedback and appreciate how small a contribution this is. Thanks for all you do.

Updated with a file with the correct license @Arkensor. I have also ensured the texture and 3D file are super small, 1/100th of the size of the apple.


Shedlock doesn't automatically create the table

Not a bug report, but rather just a question - because there is some confusion about this.
Many resources state that Shedlock runs without having to manually create a table, but they also state that if for some reason it does not, then you should debug, check what user is used, check privileges, roles, etc. - otherwise just create it manually.
So, can it run without a pre-created table?
I am aware that the docs state that you should indeed create a table, but was it ever the case that shedlock was creating tables on its own, in previous versions?
If not, would this be viable? It already has everything needed, it also knows what the underlying db is, it would just need to run a create if not exists.
Versions used: latest
shedlock-spring and shedlock-provider-jdbc-template

In JDBC it always required you to create the table (it is different in other providers like Mongo or Jedis).
In rational databases it's more complicated

People usually are creating the schema using Liqubase or Flyway
DDL differs between different databases. It's solvable, but quite a lot of complexity for little gain
Sometimes the user used in DB connection does not have permissions to create tables.

So while it's feasible, I never thought it was worth the hassle.


Need twiss with twiss_init within the selected interval (and not at the edges)

Was already written but needs testing

Done


Simplify EvbufCallbackBase

@ellutionist Thank you, it looks really simpler. I'd like to hear @PragmaTwice, the template magician :)

Thanks all, I will merge and summary this PR change.


How to use this library to do secp256k1 signing?

Hey,
I've managed to get x, y = kG, but how should I calculate r = x mod n and s = k^-1 * (z + rdA) mod n?
Thanks!

This library can only do point addition and multiplication on secp256k1, modular addition, multiplication for secp256k1 modulo p=0xFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE FFFFFC2F, it cannot do arithmetic for other modulo nor sign message.
You may refer to my bignum library fp256, it can do many arithmetic on 256bit integer very efficiently, including all arithmetic used in sign/verify.
Be aware that these implementations are NOT secure.

Hey, ok thanks!
Unsafety noted.


Ephemeral Server Ports

Should this be an issue in the gRPC issue tracker?
I believe so. Most likely this is unintended, and a new code path needs to be added to address it. If this is expected behavior, it seems fairly unintuitive, so it'd be helpful to either update documentation or provide a way to achieve this.
What version of gRPC and what language are you using?
grpc-1.4.2 using c++ interface
What operating system (Linux, Windows, …) and version?
Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
gcc-4.8.5
What did you do?
I set the port to 0 to have the system choose a free port.
int port = 0;
server_builder.AddListeningPort("<IP_ADDRESS>:0", grpc::InsecureServerCredentials(), &port);

What did you expect to see?
Single listening port in lsof output
What did you see instead?
Dozens of distinct listening ports in lsof output
Anything else we should know about your project / environment?
No

Do the ports you see in lsof all correspond to the server process?

Yes, I'm checking with lsof -nP -p $PID. It seems that each poller binds with the supplied address (with port=0) independently, rather than having one poller bind first and use that port for the remaining pollers.

CC @sreecha

@llchan - I apologize for dropping the ball on this issue.
Are you still seeing this or is it no longer happening ?

I can reproduce the bad behavior with grpc-1.4.2, but it is no longer an issue in grpc-1.11.0 :tada:. No need to bisect unless you want to, feel free to close.

Thank you @llchan for responding very quickly! . I will close the issue (there has been enough code churn since 1.4 that its probably not worth digging deeper)


Initial suggestions for plugin release

Hey @francois2metz , we were excited to see you had started a new plugin for Gandi, and even though we are a bit early, we downloaded it and started playing around with it.
The basic structure and results look good so far. While using the plugin, we did come up with a few suggestions based on our best practices:

In docs/index.md, I think internet would be a more suitable category instead of public cloud
In config/gandi.sp, any thoughts on renaming the apikey param to key, like the Terraform provider does (https://registry.terraform.io/providers/psychopenguin/gandi/latest/docs)? There are multiple providers, but all of them seem to use key. I'm not sure how Gandi refers to this API key in its own docs or config, but if you wanted to keep the API key name, then a suggestion would be renaming it to api_key.
At https://github.com/francois2metz/steampipe-plugin-gandi/blob/main/.goreleaser.yml#L22, scalingo should be updated to gandi
When looking for an environment variable, since go-gandi uses GANDI_KEY, maybe we should use that too, instead of GANDI_API_KEY?
The ColumnType_DATETIME has been deprecated and replaced with ColumnType_TIMESTAMP (our docs have some examples that are outdated and still use the deprecated one, so apologies if you were following those)
Some columns in gandi_domain are missing descriptions (not sure if you were planning on adding those later, but figured I'd mention in case not)
Does the SDK/API support pagination at all?

Hi @cbruno10.
I finally took the time to handle the last point, and I updated the SDK to handle pagination. I'm working to add some new tables, but an initial release could be made.

@francois2metz Thanks for making the updates! I had another look at the code while refamiliarizing myself with the plugin and had a few questions/suggestions before initial release:

Do the domain and forward resource types support a get function at all in the SDK? If so, are we able to add the get function in their table(s)?
Are there 2-3 more examples you could add into each table doc? For instance, in the domain table, maybe one using the auto_renew column or showing all domains owned by a particular owner, and for the mailbox table, showing if a mailbox is close to its quota or not (apologies if I misunderstood any of the columns and used them incorrectly in the suggestions above).
The basic examples you have are good, but usually we like to provide a few examples for each table so users have a strong starting point to create their own queries.

@francois2metz Also, I forgot to ask above, do you know what Gandi's brand color is? In the index doc, right now it's #0d0b30, but on their site, their logo looks to be black, or purple on pages like https://news.gandi.net/en/.

Hey @francois2metz , just checking in, did you have a chance to look at my previous questions above? It seems like some updates were made to the plugin since then, like brand colour updates, but wanted to check if you had any questions as a follow-up, thanks!

Hi @cbruno10 I did some updates but I send a few feedbacks to Gandi about their documentation and some responses.

Thanks @francois2metz , the updates look good! From my point of view, this plugin is ready for publishing to the Hub. Can you please create another release and once that's created, I'll push it to the Hub.


[DateTime Picker] Cancel doesn't work as expected after setting the date range programmatically

Describe the bug
On setting the date range programmatically, the value displayed in text box changes as expected. However, clicking open the expanded view and clicking "Cancel" button, doesn't revert the selection to the programmatically set date range. Instead it gets set to the default value. It appears that the programmatically set value is not being applied properly (incorrect internal state update).
To Reproduce
Steps to reproduce the behavior:

Pass a preset default value.
Programmatically set an absolute date range.
Click the calendar icon to show expanded view.
Click on back button and then on cancel button.
See that the current selection is not reverted to programmatically set value but the default value.

Expected behavior
On clicking cancel, the current selection should revert to the programmatically set value (which is the previous value).
Environment/versions:

OS: all
Browser: all

Additional context
N/A
Specific timeline issues / requests
N/A

Fixed by changes under PR 1497