If at daily catch limit then switch to non catch mode?

Could we add logic of if daily catch limit has been triggered then the bot will not attempt to catch any pokemon and be a purely stop/egg hatching bot
As this is what i'm currently looking at:
016-08-19` 05:32:02,816 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Pidgey appeared! [CP 185] [Potential 0.62] [A/D/S 3/11/14]
2016-08-19 05:32:05,821 [PokemonCatchWorker] [INFO] [catch_limit] WARNING! You have reached your daily catch limit
2016-08-19 05:32:11,972 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Pidgey appeared! [CP 185] [Potential 0.62] [A/D/S 3/11/14]
2016-08-19 05:32:14,976 [PokemonCatchWorker] [INFO] [catch_limit] WARNING! You have reached your daily catch limit
2016-08-19 05:32:21,746 [UpdateLiveStats] [INFO] [log_stats] Uptime : 0:06:01 | Visited 0 stops | 0.00km walked | Level 28 | 398,575 / 550,000 XP (72%) | 0 XP/h | Highest CP pokemon : None | Level 28 (398,575 / 550,000, 72%) | Most perfect pokemon : None | Encountered 1 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
2016-08-19 05:32:22,070 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Pidgey appeared! [CP 185] [Potential 0.62] [A/D/S 3/11/14]
2016-08-19 05:32:25,075 [PokemonCatchWorker] [INFO] [catch_limit] WARNING! You have reached your daily catch limit
2016-08-19 05:32:31,232 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Pidgey appeared! [CP 185] [Potential 0.62] [A/D/S 3/11/14]
2016-08-19 05:32:34,237 [PokemonCatchWorker] [INFO] [catch_limit] WARNING! You have reached your daily catch limit
2016-08-19 05:32:41,029 [UpdateLiveStats] [INFO] [log_stats] Uptime : 0:06:21 | Visited 0 stops | 0.00km walked | Level 28 | 398,575 / 550,000 XP (72%) | 0 XP/h | Highest CP pokemon : None | Level 28 (398,575 / 550,000, 72%) | Most perfect pokemon : None | Encountered 1 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
2016-08-19 05:32:41,281 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Pidgey appeared! [CP 185] [Potential 0.62] [A/D/S 3/11/14]
2016-08-19 05:32:44,286 [PokemonCatchWorker] [INFO] [catch_limit] WARNING! You have reached your daily catch limit
2016-08-19 05:32:50,669 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Pidgey appeared! [CP 185] [Potential 0.62] [A/D/S 3/11/14]
2016-08-19 05:32:53,673 [PokemonCatchWorker] [INFO] [catch_limit] WARNING! You have reached your daily catch limit

#4188  This is already implemented

@k4n30 cannot find the config parameter

It happens automatically, there is no config parameter - see the pull request

There's a config parameter now: "daily_catch_limit": 800


Fixing workflow #94 (under review)

This pull request trying to fix bugs described in fuse-box/fuse-box#94

[ ] CssPlugin emit HMR event for non-modified files (see screenshot bug1)
[x] HMR does not work properly if css was converted to raw content (see screenshot bug2)
[ ] fsbx-default-css-plugin can we expose __fsbx_css to FuseBox namespace (if it looks bad we can live without it, but in hot-reload we must do following weird trick)?var newContent = '(' + __fsbx_css.toString() + ')('+JSON.stringify(data.path)+', '+JSON.stringify(data.content)+')';

[ ] HMR event for RawPlugin
[ ] Unit tests

Given
App component
@Component({
    selector: 'app',
    template: require('./app.component.html'),
    styles: [require('./app.component.scss')],
})
export class AppComponent {
    name = 'Angular';
}

Config (full file)
const fuseBox = _.memoize(function createFuseBox(options = {}) {
    const config: any = _.get(options, 'config');
    const entry = _.get(options, 'entry', 'app');
    const plugins: any[] = [
        [
            /\.ts$/,
            GulpPlugin([
                (file) => g.preprocess({ context: config }),
            ]),
        ],
        [
            /\.component\.scss$/,
            SassPlugin({ sourceMap: false }),
            PostCSS(postcssPlugins()),
            GulpPlugin([
                (file) => g.if(!config.devMode, g.csso()),
            ]),
            customRawPlugin(),
        ],
        [
            /\.scss$/,
            SassPlugin({}),
            ...cssChain(),
        ],
        [
            /\.css$/,
            ...cssChain(),
        ],
        HTMLPlugin({ useDefault: false }),
    ];
    const settings = {
        homeDir: 'src',
        log: false,
        sourceMap: {
            bundleReference: `${entry}.js.map`,
            outFile: `./${config.dest}/${entry}.js.map`,
        },
        tsConfig: `${__dirname}/tsconfig.json`,
        cache: true,
        outFile: `./${config.dest}/${entry}.js`,
        plugins: plugins,
    };
    if (!config.devMode) {
        if (config.minify) {
            plugins.push(UglifyJSPlugin({}));
        }
    }
    const fuse = FuseBox.init({ ...settings, ...options });
    return fuse;
});

Bug 1
CssPlugin emit HMR event for non-modified files (style.scss was not modified)

Bug 2
HMR does not work properly if css was converted to raw content

I know that something related to css and hmr is coming (bundle, hmr plugins etc.) maybe his fixes will be not necessary.
Please note, I've done a lot of hacks in config to fit my requirements. Maybe I'm doing it wrong.
Please review the changes.

Have to wait until this one is merged https://github.com/fuse-box/fuse-box/pull/158
Thanks!

Please consider the new changes! Thanks!

@nchanged
A revision is needed here 🐤
My questions in description were:

Is it ok to expose __fsbx_css as FuseBox.includeStyle?
How to write unit tests for client side fusebox plugins (for fusebox-hot-reload in particular)?
Other questions are non relevant anymore, becasue CssPlugin and RawCssPlugin are used in chain, so cache must be implemented there.

First of all, part of config.
const plugins: any[] = [
    [
        /\.component\.scss$/,
        SassPlugin({ sourceMap: false }),
        {
            transform: (file: File) => {
                file.contents = `module.exports = ${JSON.stringify(file.contents)}`;
                file.context.emitJavascriptHotReload(file);
            }
        }
    ],
    [
        /\.scss$/,
        SassPlugin({}),
        CSSPlugin({ write: prod === true })
    ],
];

Notice 2 things.

*.component.scss (e.g. app.component.scss) inlines to component file
other *.scss (e.g. style.scss) files will be written in prod mode, or inserted as text to head styles in dev.

The goal is to do properly HMR of *.component.scss.
Steps to reproduce incorrect behaviour, we are in dev mode {write: false}:

Edit style.scss, All is OK, work as expected (style changed from S1 to S2)
Edit app.component.scss
HMR starting FuseBox.import(FuseBox.mainFile)
Execution hits to line require("./style.scss");
require executes __fsbx_css("style.scss", styleContent)
styleContent is equal to S1, because content of style.scss module was not
updated on step 1 (was executed only __fsbx_css(...),

To fix this bug we need a fix - update dynamic content in hot-reload module.
if (data.type === "css" && __fsbx_css) {
    var newContent = `__fsbx_css(${JSON.stringify(data.path)},${JSON.stringify(data.content)})`;
    FuseBox.dynamic(data.path, newContent); // will not work.
    __fsbx_css(data.path, data.content)
}

But solution above will not work, becase on step 4 somewhere inside of fusebox following will be called:
var res = new Function('__fbx__dnm__', 'exports', 'require', 'module', '__filename', '__dirname', '__root__', str);
res(true, exports, require, module, __filename, __dirname, __root__);

str is __fsbx_css("style.scss",'...' from above.
Result of call of res(...) - Uncaught ReferenceError: __fsbx_css is not defined.
(function(__fbx__dnm__,exports,require,module,__filename,__dirname,__root__
/**/) {
__fsbx_css("style.scss","...")
})

To prevent this failing need (2 options):

Expose __fsbx_css as global// fsbx-default-css-plugin/index.js
FuseBox.includeStyle = __fsbx_css;
// fusebox-hot-reload/index.js
 if (data.type === "css" && __fsbx_css) {
     var newContent = `FuseBox.includeStyle(${JSON.stringify(data.path)},${JSON.stringify(data.content)})`;
     FuseBox.dynamic(data.path, newContent);
     FuseBox.includeStyle(data.path, data.content);
 }

Serialize __fsbx_css function then deserialize in call as iife

if (data.type === "css" && __fsbx_css) {
    var newContent = '(' + __fsbx_css.toString() + ')('+JSON.stringify(data.path)+', '+JSON.stringify(data.content)+')';
    FuseBox.dynamic(data.path, newContent);
    __fsbx_css(data.path, data.content)
}

If is it ok, then one thing left - unit tests.
Other point are non relevant to css plugin or hot reload. I'll create separate PR when ready.

@nchanged ping

So what does it do?

Need to decide __fsbx_css serialized or global FuseBox.includeStyle
How to unit tests this


trail 0.10: Redesign to make screen updates fast

Got down from 2 seconds per update to < 0.5 sec.

Cool! Thanks!


Not working latest Epi (12.4.2)

Hi,
I have just updated the Epi packages (EPiServer.CMS.Core -> 12.4.2 and EPiServer.Framework -> 12.4.2) and am now getting the following exception when trying to render and resize an image.
System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task1<SixLabors.ImageSharp.Formats.IImageFormat> SixLabors.ImageSharp.Image.DetectFormatAsync(SixLabors.ImageSharp.Configuration, System.IO.Stream)'.    at SixLabors.ImageSharp.Web.Middleware.ImageSharpMiddleware.ProcessRequestAsync(HttpContext context, IImageResolver sourceImageResolver, ImageContext imageContext, IDictionary2 commands)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at SixLabors.ImageSharp.Web.Middleware.ImageSharpMiddleware.ProcessRequestAsync(HttpContext context, IImageResolver sourceImageResolver, ImageContext imageContext, IDictionary`2 commands)
at SixLabors.ImageSharp.Web.Middleware.ImageSharpMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Please let me know if there is anything I might be doing wrong or if you need any more info.
Cheers
Dan

Further, just pionting out that EPiServer.CMS.Core 12.4.2 updates the dependeny on SixLabors.ImageSharp (>= 1.0.4 && < 2.0.0) to (>= 2.0.0 && < 3.0.0)

It looks like ImageSharp 2.0 (which is dependency of 12.4.2) does not work with ImageSharp.Web 1.0.5 (latest released version) If this is confirmed (I've asked ImageSharp author), we will need to wait until ImageSharp.Web 2.0 is released.
I've made preparations for this in the v2 branch. As indicated by the number, this will be a next major version targeting .NET 6.

Ok, thanks for confirming.
So there will be no fix targeting. NET 5? We have a number of other dependencies stuck in .NET 5, including some Episerver packages, so it would good to know.
Thanks again

James confirmed ImageSharp 2.0 does not work with ImageSharp.Web 1.5.
Targeting both .NET 5 and .NET 6 will be hard, I think (because of the changes they made with 12.4.2). Besides that, .NET 5 is out of support in less than 2 months (May 8th). I feel like everyone else should step up (including Optimizely) instead of me backporting stuff...

Hey peeps, I created a bug report on World here:
https://world.optimizely.com/forum/developer-forum/Problems-and-bugs/Thread-Container/2022/4/episerver-cms-core-12-4-2-breaks-imagesharp/
Hopefully we can get some traction. Vincent thank you for putting this package together and trying to get it to work!

SixLabors just released v2.0.0 of ImageSharp.Web

Version 2.0.0 has just been uploaded to Optimizely. Should be available soon

v2 is now on the feed.

Thanks Steve! All is well, I hope?


Is there a way to prevent the model from querying things unrelated to the data?

I currently have a .txt file that is being indexed, and queried against. It's working really well, except the model still answers questions that are unrelated to things in the .txt file (ex. I can ask "When was world war 2" despite the .txt file being about job descriptions)
Is there a workaround for this, and if not, has anyone managed to come up with a validation layer?

Hey @ahmedpanju, it's generally a hard problem to ensure model stick to the given context. I think the instruction fine-tuned models are better in this regard, but also cannot guarantee.
Having a general validation layer would be challenging, but we have some ideas about leverage LLMs for evaluation/validation. Hope to have some initial version soon!

Closing this for now. Please join the discord community (https://discord.gg/dGcwcsnxhU) for better support!


⚠ Bofrost.de has degraded performance

In 93dfd15, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1554 ms

Resolved: Bofrost.de performance has improved in 5c06c64 after 17 minutes.


issue #169, add turnary assignment for client sdk channels

Fix for https://github.com/rauchg/slackin/issues/169

Thanks!!


Added Hashmap incrementFloatValue overflow check

Closes #921

Hi @dograprabhav in the hmap_test.go I added the following two lines in test TestHashMapIncrementFloatValue and it should result in overflow for field4 but it is giving no errors in this case. Is this expected behaviour or am I missing something
val, err = hmap.incrementFloatValue("field4", 1.0)
val, err = hmap.incrementFloatValue("field4", math.MaxFloat64)

Thanks for the fix @dograprabhav! LGTM.


Indicate in the module what the progress/completion status is

Is your feature request related to a problem? Please describe.

I found the completion of modules a bit weird with actual content; when we were implementing the logic for completion of a module, I thought it makes sense to mark it as completed once the module is fully watched, but I am not sure if users would understand that logic without any hints. The modules have irrelevant information to the course at the end, as well as a little term before the video player is fully finished. I imagine some users would just press go back few seconds before the full completion and wonder why the course is still marked as in-progress. Could we give some hint on the page saying that a module is completed once the video is fully watched?

Describe the solution you'd like
Provide an indicator of the progress status for the module so that a user knows when it is complete, without having to go back to the course landing page to see the badge on the module's card.
Additional context
Originally mentioned in https://github.com/accessibility-exchange/platform/pull/1851#issuecomment-1640794828

Could we actually have the module be marked as completed if the user stops under 10 seconds before the end?


Updating ModelFactory and ConnectionProperties to handle null list properly

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


[zh-cn]Update content/zh-cn/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md

It's not good practice to include the long full path in the PR title.
/retitle [zh-cn] Sync kubeadm-upgrade.md

/lgtm


chore(deps): bump go-kong to v0.48.0

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

Comparison is base (48e236c) 32.92% compared to head (840b0dc) 32.92%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1070   +/-   ##
=======================================
  Coverage   32.92%   32.92%
=======================================
  Files         103      103
  Lines       12831    12831
=======================================
  Hits         4224     4224
  Misses       8198     8198
  Partials      409      409

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


[Image Vulnerability] High/Critical Severity Vulnerabilities Found in "postgresql" Image

Container Image Vulnerability Report
The container vulnerability scanning GitHub action has found 5 vulnerabilities of High and Critical severity with fixes available for the postgresql container image.
Image
ghcr.io/kanisterio/postgresql
Tested Version
v9.99.9-dev
Details
The detailed report can be found here.

Recent runs didn't have issue with this particular image https://github.com/kanisterio/kanister/actions/runs/7105951856/job/19344328974


Table class with list of columns as parameter

And clone and script
Name and schema properties

Closed by eeaee4ef109aa7aba61e20a44610393b8f9d0976


add html handling in native types

This PR solves https://github.com/react-dnd/react-dnd/issues/2928 and allows to drag and drop HTML elements such as images from another tab.
This PR does not implements any custom logic to deal with the HTML data in itself.

@darthtrevino do you have any opinion about this ?

@darthtrevino do you have any opinion about this ?

I apologize, I've been a beet slammed at work. Just taking a quick look - Is the preventDefault() necessary()? At some point we removed some of that because we didn't want to interfere with custom handling of native events. Also, can you put together an example on the docsite using this new type? You can base it off of the existing native types example or just extend it if you prefer

I apologize, I've been a beet slammed at work. Just taking a quick look - Is the preventDefault() necessary()? At some point we removed some of that because we didn't want to interfere with custom handling of native events. Also, can you put together an example on the docsite using this new type? You can base it off of the existing native types example or just extend it if you prefer

Thanks for your answer. Yes I will try to setup an example.
Without the preventDefault, the browser opens the content in a new tab in that case. I am not very familiar with this code base, so maybe it can be put somewhere else? As a side not, I did not saw side effects on other handlers.

Thanks for your answer. Yes I will try to setup an example.
Without the preventDefault, the browser opens the content in a new tab in that case. I am not very familiar with this code base, so maybe it can be put somewhere else? As a side not, I did not saw side effects on other handlers.

@darthtrevino I've just added an example, please let me know if this looks good to you.

@darthtrevino I've just added an example, please let me know if this looks good to you.

@darthtrevino sorry to bother you. What is the status on this one ?

Hey Maxence,
Again, apologies for the delay. I went ahead and merged it, I'll work on
stabilizing the main branch and preparing for a release.
On Tue, Feb 9, 2021 at 10:47 AM Maxence Dalmais<EMAIL_ADDRESS>wrote:

@darthtrevino https://github.com/darthtrevino sorry to bother you. What
is the status on this one ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-dnd/react-dnd/pull/2949#issuecomment-776157636,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA3XCCGEQS6ME57NBF6TRLS6F7LLANCNFSM4VV2OZWA
.

This PR raises a problem: dragged images, URLs, and links etc. typically have multiple data transfer items with type text/html and text/uri-list and even text/plain. Right now it seems that matchNativeItemType returns just the first match: that means for example that dragged images or URLs are now only matched as type HTML, because it was added higher up in the native types config. For this reason, this PR makes it impossible (I believe?) to register drop targets for URLs -- unless you register for type HTML and then parse out the URL from the HTML data.


About the main file

Hi, I'm going to host this lib on cdnjs.
I don't know which files should be added.
Could you guys help me?
Thanks.
https://github.com/cdnjs/cdnjs/issues/9244

Hi @x09326!
You might use the OpenUI5 Runtime Package from here:
http://openui5.org/download.html
The main file to include in a page is located in resources/sap-ui-core.js.
Please also see the Getting Started guide for more information on how to use OpenUI5:
http://openui5.org/getstarted.html
Please note that we already provide a CDN hosting and therefore we don't see a need for cdnjs or other solutions:
https://openui5.hana.ondemand.com/resources/sap-ui-core.js (latest)
https://openui5.hana.ondemand.com/1.38.11/resources/sap-ui-core.js (specific version)

@matz3 CDNJS can help promote library, provide better performance than most of individual CDNs as is powered by Cloudflare enterprise plan, and there are many websites already using CDNJS, so use your library from CDNJS can be faster thanks to the HTTP/2.0 tech, it'll also be another option for users, would you like to help we host it? 😄 Thanks.

@PeterDaveHello as already mentioned in my comment, you can download the OpenUI5 Runtime Packages from here: http://openui5.org/download.html
It contains all the pre-built files which can be directly consumed.
Please let me know if there is anything else we can help you with 👍

It'll be great if we can apply autoupdate mechanism as there are more than 3000 libraries on cdnjs.com now, we can't manually update them by a human.

Ok got it. Currently the UI5 libraries are provided via separate git repositories to be consumed, e.g. via the bower package manager, see:
https://github.com/openui5?q=packaged-
UI5 is currently not on npm (which seems to be your recommended way), but we would like to get there in future.
So right now it might be consumed from the git repositories which are already pre-built so no further steps should be required.

Thanks @matz3. cc @sufuf3


Remove OpenShift 3 support from all https://github.com/sclorg repos

Container platform
OCP 3
Version
No response
OS version of the container image
No response
Bugzilla, Jira
No response
Description
This issue is used for tracking removal of OpenShift 3 testing:

[x] container-common-scripts (https://github.com/sclorg/container-common-scripts/pull/366)
[x] mysql-container (https://github.com/sclorg/mysql-container/pull/358)
[x] mariadb-container (https://github.com/sclorg/mariadb-container/pull/227)
[x] postgresql-container (https://github.com/sclorg/postgresql-container/pull/556)
[x] s2i-python-container (https://github.com/sclorg/s2i-python-container/pull/663)
[x] s2i-nodejs-container (https://github.com/sclorg/s2i-nodejs-container/pull/423)
[x] s2i-ruby-container (https://github.com/sclorg/s2i-ruby-container/pull/534)
[x] s2i-php-container (https://github.com/sclorg/s2i-php-container/pull/439)
[x] s2i-perl-container (https://github.com/sclorg/s2i-perl-container/pull/295)
[x] nginx-container (https://github.com/sclorg/nginx-container/pull/288)
[x] varnish-container - ALREADY REMOVED
[x] redis-container (https://github.com/sclorg/redis-container/pull/162)
[x] httpd-container (https://github.com/sclorg/httpd-container/pull/201)
[x] tfaga wrapper (https://github.com/sclorg/tfaga-wrapper/pull/22)

Reproducer
No response

Everything is merged. Closing.


feat: hide popover on escape keydown if autohide is true

I added the feature to hide the popover if the component is deactivated in a keep-alive context.

Thank you for your PR! I've implemented this differently.


Afghanistan flag

So i think the wikipedia has moved the svg file and flags url is incorrect.
I found this one https://upload.wikimedia.org/wikipedia/commons/5/5f/Flag_of_Afghanistan_(Colored_Emblem).svg and this works

Hi @Huzefa1122 thanks for catching this, would you like to update the URLs in a new MR?

😃 Sure


Added Japanese locale for Portal

Could maybe use a second pair of eyes?

Thanks for the review. I have updated it with your input. I think it is now nicer.

Thanks @sudachi12 + @binary-koan! 🕺🏻


lapack: remove python dependency

Motivation for this change
90326ba624ddfbd3b7f9eb3995994644cee804fb mentions enabling them and did
set doCheck = true, but that doesn't actually work, because the cmake generated Makefiles do not have the right targets.
As the python dependency is only needed for tests, but they do not work,
we can just remove it.
It would obviously be better to enable them instead, but lapack seems to
have 3 semi-incompatible build systems, and the tests seem to only work
with the Makefiles, which we do not and probably also do not want to
use.
See https://github.com/Reference-LAPACK/lapack/issues/488 as for why we wouldn't want to use the Makefiles.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] 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
[x] Fits CONTRIBUTING.md.

As the python dependency is only needed for tests, but they do not work,
we can just remove it.
It would obviously be better to enable them instead, but lapack seems to
have 3 semi-incompatible build systems, and the tests seem to only work
with the Makefiles, which we do not and probably also do not want to
use.

The tests work with both the pure Makefile build and the CMake-based build but

the pure Makefile approach builds the code with the gfortran parameter -frecursive causing large stack allocations (on some systems the stack limit must be increased with ulimit -s 65536),
the CMake build just works but may crash when certain functions are called concurrently.

The Python dependency is superfluous though. It just pretty prints the result and only when the pure Makefile build is executed.

You need to specify -DBUILD_TESTING=ON for cmake to build the testsuite. (And similarly, have -frecursive/-Mrecursive or whatever your compiler uses to request re-entrant code support in your FFLAGS or CMAKE_Fortran_FLAGS to avoid the potential problems in multithreaded contexts. For gmake, this is predefined in the various sample make.inc files provided in INSTALL). The increased stacksize is only required for some DOUBLE COMPLEX parts of the testsuite (which will segfault otherwise)

The tests only segfault for me if I add -DCMAKE_Fortran_FLAGS=-frecursive, so I omitted it here.

This might be a candidate for staging.

The tests only segfault for me if I add -DCMAKE_Fortran_FLAGS=-frecursive, so I omitted it here.

Yes - the frecursive (which is necessary for the library to work correctly in  multithreaded contexts - has the side effect of moving a big array of test input in one of the lapack-test executables onto the stack. Currently discussing in Reference-LAPACK if/how to remove that option when building the testsuite. Recommendation for now is to build with -frecursive if you expect users to link to the library from multithreaded code, and either live with the test segfaults or lift the OS default stacksize iimitation with  ulimit -s unlimited before running the testsuite.

If nobody has any objections and since this does not have any maintainer (and before anyone asks, no I won't add myself, I just want fewer things to depend on python2), I'll merge this in a few days.
As for -frecursive: we didn't set the flag so far and @matthewbauer intended to enable the tests, so let's just keep that as is, actually enable the tests and hope for the best.

Some CBLAS tests are broken on Darwin. I asked about it upstream thinking it's aarch64-darwin specific:

https://github.com/Reference-LAPACK/lapack/issues/440#issuecomment-792117758

But it turns out that tests also fail on x86_64-darwin. When this PR reaches master, it will break lapack and everything that depends on it (a ton of things do through numpy). It would be good to address this issue.
As a stopgap solution, the following skips failing tests:
  ctestArgs = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-E '^(CBLAS-(x[sdcz]cblat[23]))$'";

  checkPhase = ''
    runHook preCheck
    ctest ${ctestArgs}
    runHook postCheck
  '';

would be great if you updated the lapack issue with that info as well.. this test failure is not reproducible for me on Linux, might be useful to know what cmake options (if any) you used, and which compiler on x86_64


desktop docs: initial draft

Signed-off-by: Victoria Jeffrey<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
initial draft of desktop docs.
pictures will be added at a later date
:chains: Related Resources
https://github.com/chef/automate/issues/3244
:+1: Definition of Done
desktop view is documented
:athletic_shoe: How to Build and Test the Change
cd components/automate-chef-io
make serve

:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[n/a] Tests added/updated?
[x] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

we will need to get desktop added to the actions page as well, if i understand everything correctly it will only require infra:nodes:*
https://github.com/chef/automate/blob/master/components/automate-chef-io/content/docs/iam-actions.md

Related Docs Work: https://github.com/chef/release-engineering/issues/1184

there wont be any compliance profiles that come with automate when deploying with the desktop flag, so i think that should be noted in the desktop docs page, and maybe also in the compliance profiles page

we dont have to do it in this pr, but i think we need a note on the profiles page that when the desktop product is in use they wont have access to those profiles.


[domain report] dommania.pl

What is the unblocked domain?
https://dommania.pl/przekierowanie/wyposazeniemieszkania.pl/3522122?cty=1
What catagory is this domain?
redirector
Results for various scanners (only for some types)

[ ] VirusTotal
[ ] MyWOT
[ ] FortiGuard Labs

Other information
may possbile block to similar url shorteners or referer cleaner webpage.

[ ] Is this domain harmful? (i.e. malware, browser hijack)

@krystian3w thanks for opening this issue!
I will add it


shovel: make sure we handle ndt7

This is the error that we see:
/srv/pl-psql/pg_log/hkgmetadb-2020-03-12_000000.log:2020-03-12
  18:04:29.235 UTC [615]:193 shovel@<IP_ADDRESS>(44326)/[unknown]
    ERROR:  invalid input value for enum ootest: "ndt7" at character 330

Noticed by @hellais. Prevents ingestion of ndt7 measurements.

Spent some time thinking about the matter. I think the solution proposed by @hellais to keep the name of the file written by the experiment equal to ndt is fine. There's probably a bunch of places in the codebase where we want the code/library etc. to be called ndt for consistency. It seems there is not much need to discuss at this point, since there's some agreement.

Should be fixed: ndt7 is now ndt and MK's ndt is now ndt5. Both implementations submit using the ndt test_name, which is accepted by the pipeline. The difference is in the version number. We're still using 0.1.0 for ndt5 and we're using 0.4.0 for ndt7. We bumped the latter from 0.2.0 to 0.4.0 to leave some room for the ndt5 implementation in MK to possibly grow.


Update for compat with sklearn>=0.21

Codecov Report

Merging #67 into master will decrease coverage by 1.55%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
- Coverage   89.61%   88.05%   -1.56%
==========================================
  Files           5        5
  Lines         385      385
  Branches       65       65
==========================================
- Hits          345      339       -6
- Misses         24       29       +5
- Partials       16       17       +1

Impacted Files
Coverage Δ

celer/dropin_sklearn.py
100% <100%> (ø)
:arrow_up:

celer/tests/test_docstring_parameters.py
69.65% <0%> (-4.14%)
:arrow_down:

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 ac57bd1...6921390. Read the comment docs.


Support for making multiple overlays in the same scratch path

The work and upper dirs were hardcoded previously so if you had tried to create more than one overlay in a mountpoint (/dev/sda / container scratch volume) it would fail. This change just adds a simple check to see if workdir and upperdir
already exist and will create a unique name for them with a generated ID. This is the same method cri uses to generate container IDs.

Signed-off-by: Daniel Canter<EMAIL_ADDRESS>

This is basically so that two callers can call overlay.Mount for different containers, but pass the same scratch path? It seems like it would be better for those callers to just ensure they are passing a unique path. Doing this by generating a new random path seems gross, and also makes it harder to track which directories are for which containers, if we need to debug something.

This is basically so that two callers can call overlay.Mount for different containers, but pass the same scratch path? It seems like it would be better for those callers to just ensure they are passing a unique path. Doing this by generating a new random path seems gross, and also makes it harder to track which directories are for which containers, if we need to debug something.

Correct, but by unique path do you mean where in the scratch space we would setup the upper/work dirs? Obviously we don't have anything in the CombinedLayers call to specify what we'd like the upper and work dirs to be named so I assume you mean specify a unique scratch path (Maybe just the path to the containers scratch space we're sharing/<container_id> would be good). We could verify this in the shim if the refcount on the scratch scsi disk is > 1, and then we can set the scratch path to whatever format we devise. Thoughts? @kevpar

@kevpar For example, instead of this currently:
/run/gcs/c/bbe16b243025f94faae0b5c9a1cbd387a2a302b1460abec87806f308f4b1efe2 # ls
config.json
hostname
hosts
lost+found
resolv.conf
rootfs
runc.log
sandboxMounts
upper
upper-7ab34e3c6bf1ac7024a8b7293884c3ddc28f87f6dccbf7098bf0fe46d5d5d5ff
upper-c84ecf1b8d55c0180dd2892870428fbffb0a4461a70e4363002b3e902416588a
work
work-b8dbcd37da754299807d724594f3797e8b557261ea990d8afe0513c8a0b6f2a0
work-e8ac3f60b0034ec5620721495000834e05032be55e30c1dc7eb6cbfda215ec6a

We could have:
/run/gcs/c/bbe16b243025f94faae0b5c9a1cbd387a2a302b1460abec87806f308f4b1efe2 # ls
config.json
hostname
hosts
lost+found
resolv.conf
rootfs
runc.log
sandboxMounts
upper
7ab34e3c6bf1ac7024a8b7293884c3ddc28f87f6dccbf7098bf0fe46d5d5d5ff <- contains upper and work dirs for 7ab34...
c84ecf1b8d55c0180dd2892870428fbffb0a4461a70e4363002b3e902416588a <- contains upper and work dirs for c84ecf...
work

Yes, I think the caller of the combine layers modify operation should be responsible for passing a correct directory to use. The overlay package shouldn't have to worry about being given a path that's already been used.
As for what is the correct place to determine this, and what the paths should be, I'm not sure. As this work to re-use a scratch VHD for several containers spans several components, it might be helpful to write up an issue in Microsoft/hcsshim with your proposed flow. That would make it easier to reason about the end-to-end.

@kevpar https://github.com/microsoft/hcsshim/issues/891 :)


Push error field

Originated from https://github.com/ably/ably-cocoa/issues/1268

Perhaps before we start trying to parse this field, we should get it added to the documentation for the "get details from a registered device" etc REST API endpoints?

(from here)
So, the issue point is that error field has no description in the docs:

Get details from a registered device
GET rest.ably.io/push/deviceRegistrations/deviceId
Returns
A JSON object like:

    {
      id: <string>,
      clientId: <optional, string>
      platform: <string>
      formFactor: <string>,
      metadata: <object>,
      updateToken: <string>,
      push: {
        recipient: {
          transportType: <string>,
          <additional recipient address key/value pairs>
        },
        state: <active or failed>
      }
    }

Also, in order to fix this in code with appropriate tests, a new device should be added similar to one with the id "testDeviceDetails" (f.e. "testFailedDeviceDetails") which would always return failed state with an error, so it can be properly tested. Currentlly tests request a device like that:
GET rest.ably.io/push/deviceRegistrations/testDeviceDetails
which always in an active state (without error field).
┆Issue is synchronized with this Jira Task by Unito

Docs have changed a lot since my previous comments on this, now the page about the device registrations contains information about errorReason. But still its name is invalid and should be just an "error" in according to the server response, as demonstrated in this comment


Installer detection improvements

@jedieaston @OfficialEsco
Making some big changes to how the installer entry is built out for new manifests. If you wouldn't mind doing some testing, I'm not sure how stable it is. I think it works, but I haven't gone through every possible use case

Oooo found a issue when creating a new package, the ProductCode field is not removed when no ProductCode is enterted
  ProductCode: ""

Also, we should probably clear the ReleaseNotes and ReleaseNotesUrl field

Oooo found a issue when creating a new package, the ProductCode field is not removed when no ProductCode is enterted
  ProductCode: ""

Also, we should probably clear the ReleaseNotes and ReleaseNotesUrl field

I've got a separate branch going for release notes things; I'll merge that into this one and try and fix that product code issue

I've got a separate branch going for release notes things; I'll merge that into this one

We don't actually have any ReleaseNote or ReleaseNotesUrl metadata tho, so i don't think its too critical, better to merge it when we can input the metadata
Also the ReleaseNotes field sounds scary working with in Powershell

I've got a separate branch going for release notes things; I'll merge that into this one

We don't actually have any ReleaseNote or ReleaseNotesUrl metadata tho, so i don't think its too critical, better to merge it when we can input the metadata
Also the ReleaseNotes field sounds scary working with in Powershell

It shouldn't be too bad honestly. Its just a string value thats up to 10k characters with multiline support
I'm more worried about ReleaseDate, since that is just a date. Do you know if there is a specific format needed for that? I'm thinking its just yyyy-MM-dd but I'm not 100% sure

I'm more worried about ReleaseDate, since that is just a date. Do you know if there is a specific format needed for that? I'm thinking its just yyyy-MM-dd but I'm not 100% sure

"ReleaseDate": {
      "type": [ "string", "null" ],
      "format": "date",
      "description": "The installer release date"
    }

Quick testing shows ANYTHING is valid, but we should use (tbh force) yyyy-MM-dd yes

I'm more worried about ReleaseDate, since that is just a date. Do you know if there is a specific format needed for that? I'm thinking its just yyyy-MM-dd but I'm not 100% sure

"ReleaseDate": {
      "type": [ "string", "null" ],
      "format": "date",
      "description": "The installer release date"
    }

Quick testing shows ANYTHING is valid, but we should use (tbh force) yyyy-MM-dd yes

Perfect; I have it set up (again, different branch) to try and parse whatever the user enters into that format. So they could enter December 30 2021 and it should parse the value to 2021-12-30

BTW, the format: date means that the date has to be ISO8601, i.e. yyyy-MM-dd. https://json-schema.org/understanding-json-schema/reference/string.html#dates-and-times.

BTW, the format: "date" means that the date has to be ISO8601, i.e. yyyy-MM-dd. https://json-schema.org/understanding-json-schema/reference/string.html#dates-and-times.

makes sense, seems like winget version 1.2.3131 can't validate it correctly then, cuz i could type anything and it would pass 🤷♂

Got another bug when creating a new package with 2 installers, https://github.com/microsoft/winget-pkgs/pull/35217
The script didn’t ask for the unknown archietecture so it just used x64

Got another bug when creating a new package with 2 installers, microsoft#35217
The script didn’t ask for the unknown archietecture so it just used x64

I haven’t looked fully yet, but it seems like this would occur even when on microsoft/master because the packageidentifier has 64 in it?

I know it's not relevant to this PR, but just wanted to let y'all know re date validation: https://github.com/microsoft/winget-cli/issues/1725

@Trenly Does 9e74f09fe59cc4e91a2d5aaeb6ffb1c16a87515a resolves https://github.com/Trenly/winget-pkgs/issues/28?

@Trenly Does 9e74f09 resolves #28?

Almost; I still have to figure out the auto update, but yes


Test for multiple inherited entities

The Problem:
The Detached Mappers cannot recognize the discriminator for between Abstract Classes. This leads to the problem that it does not resolve typePair.TargetType.IsInherited() correctly in the Create class in the AbstractTypeMapperFactory.cs file, because it is actually already IsInherited.
Workaround:
To work around the error I found out that you configure the Discrimator in the Mapping Config from the Detached Mappers for the Intermediate Abstract Classes. The solution that it just reads it from the EF core does not work as described above.

Here is a the class diagram as a picture to understand it better

If you have any questions please write here in the pull request

I found the error and fixed it.


What does sampling do?

Sampling runs a forward pass on the trained model with natural language
sentences from the dataset as an input. This step generates csv files which
contain joint positions over time. To visualize these files, you would have
to use render.py
On Thu, Oct 15, 2020 at 12:58 AM Alex M John<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chahuja/language2pose/issues/11, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABS4KVK6E6V3X5I2XLECKLDSKZ6ONANCNFSM4SRPCG4A
.

--
Chaitanya Ahuja


Chrome-style context menus

Potential inspiration: this with this. Not sure about the license though, so I don't advise copying.

No description provided.

Well, you could make it like this.

Very nice!
On Mon, Oct 15, 2018 at 7:45 PM RisingFire<EMAIL_ADDRESS>wrote:

No description provided.
Well, you could make it like this.
[image: mozillachrome-context-menu]
https://user-images.githubusercontent.com/23248936/46967971-c60c7600-d0ba-11e8-8e24-3557dc579b13.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/muckSponge/MaterialFox/issues/46#issuecomment-429948260,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFtqupf-sah-khO1IhIA9eAJMDXi66Nwks5ulMnFgaJpZM4XLSnA
.

Free time is a rare commodity these days. Hopefully will have some time to get into this later this week.

I think that we should just implement context menus as they are now in chrome. all we would need is to remove the icons from menus, make backgrounds white, and change the hover color


Fix a NULL dereference in chacha20_poly1305_init_key()

chacha20_poly1305_init_key() dereferences NULL when called with inkey != NULL && iv == NULL. This function is called by EVP_EncryptInit_ex() family, whose documentation allows setting key and iv in separate calls.

+1

+1

Merged


backup: change file name with local timestamp

What problem does this PR solve?
Problem Summary:
After https://github.com/pingcap/br/pull/508, br will reset the streaming connection to retry backup request when tikv is down or the connection is closed by other reasons.
At this time we need to save to new backup file to avoid the file already exists error. because tikv process backup task by regions asynchronously. we have no idea that these regions back up succeed or failed when connection is closed.
What is changed and how it works?
What's Changed: give the backup file name a unix timestamp, the reset connection will sleep for a while then we can avoid already exists error.
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Manual test (add detailed scripts or steps below)

create cluster by tiup.
use br to backup(BR_LOG_TO_TERM=1 ./br backup full --ratelimit 10  --pd xxx -s "xxx").
kill -9 tikv-server.
check the log print reset information. [INFO] [conn.go:378] ["Reset backup client"] [storeID=1]
backup finally succeed.

Release note

No Release note

/run-all-tests

/run-integration-common-test

/run-integration-common-test

/run-integration-ddl-test

/merge


Add new handler to set the api_id value to the transport headers

The check on ResultSet is fixed on commit 4ea806079bc09cf53e2e31f4987a23ab1e067d6d


Repackaging the OpenPAYGO-Token as a python module

This can be repackaged into a python module for easy inclusion in other project

Hi all! Thanks a lot for your work. Sadly I do not have the ability to approve PRs on this repo anymore but I integrated some of your changes into our Fork and published it on PyPi here: https://pypi.org/project/openpaygo-token/
You can just do pip install openpaygo-token to install it.

Hi @benmod, sorry there was a problem, now fixed. You shall now be able to approve PRs.

Please which hardware and version is suitable for the Openpaygo Integration...I have the Arduino UNO R3, is it suitable or is there another board smaller than this for the integration? A picture of the setup will be appreciated.

There is example implementation for Arduino shown here
https://github.com/EnAccess/OpenPAYGO-HW
Shawnmich7700 @.***> schrieb am Mi. 5. Okt. 2022 um
08:27:

Please which hardware and version is suitable for the Openpaygo
Integration...I have the Arduino UNO R3, is it suitable or is there another
board smaller than this for the integration? A picture of the setup will be
appreciated.
—
Reply to this email directly, view it on GitHub
https://github.com/EnAccess/OpenPAYGO-Token/pull/10#issuecomment-1267999289,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSSBCJ2U4NRWXHROUSGI7LWBUNVTANCNFSM4UKU2UWA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks for your response...i will proceed with it and revert back to you.
In addition, how can I register on the application or how can I generate
tokens for my customers after programming weekly, and monthly subscriptions?
On Tue, Oct 11, 2022 at 8:26 AM Muhammad Ahmad @.***>
wrote:

There is example implementation for Arduino shown here
https://github.com/EnAccess/OpenPAYGO-HW
Shawnmich7700 @.***> schrieb am Mi. 5. Okt. 2022 um
08:27:

Please which hardware and version is suitable for the Openpaygo
Integration...I have the Arduino UNO R3, is it suitable or is there
another
board smaller than this for the integration? A picture of the setup will
be
appreciated.
—
Reply to this email directly, view it on GitHub
<
https://github.com/EnAccess/OpenPAYGO-Token/pull/10#issuecomment-1267999289
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABSSBCJ2U4NRWXHROUSGI7LWBUNVTANCNFSM4UKU2UWA
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/EnAccess/OpenPAYGO-Token/pull/10#issuecomment-1274210091,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3NVGNHWE3MSRO4P266MIFDWCUJA3ANCNFSM4UKU2UWA
.
You are receiving this because you commented.Message ID:
@.***>

Resolved via https://github.com/EnAccess/OpenPAYGO-Token/pull/18


Uncertainty annihilation in quaternions using Rotations.jl

using Measurements, Rotations
I create a quaternion with uncertainty:
julia> q1 = Quat(1.0 ± 0.01,0.0 ± 0.01,0.0 ± 0.001,0.0 ± 0.002)
3×3 Quat{Measurement{Float64}}(1.0±0.0, 0.0±0.01, 0.0±0.001, 0.0±0.002):
 1.0±0.0    0.0±0.004  0.0±0.002
 0.0±0.004  1.0±0.0    0.0±0.02
 0.0±0.002  0.0±0.02   1.0±0.0

.. get the rotation matrix
julia> matrix_immutable = SMatrix{3,3}(q1)
3×3 SArray{Tuple{3,3},Measurement{Float64},2,9}:
 1.0±0.0    0.0±0.004  0.0±0.002
 0.0±0.004  1.0±0.0    0.0±0.02
 0.0±0.002  0.0±0.02   1.0±0.0

.. create a new quaternion from the above rotation matrix
julia> q2 = Quat(matrix_immutable)
3×3 Quat{Measurement{Float64}}(1.0±0.0, 0.0±0.01, 0.0±0.001, 0.0±0.002):
 1.0±0.0    0.0±0.004  0.0±0.002
 0.0±0.004  1.0±0.0    0.0±0.02
 0.0±0.002  0.0±0.02   1.0±0.0

get q1 * inv(q2)
julia> q1 / q2
3×3 Quat{Measurement{Float64}}(1.0±0.0, 0.0±0.0, 0.0±0.0, 0.0±0.0):
 1.0±0.0  0.0±0.0  0.0±0.0
 0.0±0.0  1.0±0.0  0.0±0.0
 0.0±0.0  0.0±0.0  1.0±0.0

get inv(q1) * q2
julia> q1 \ q2
3×3 Quat{Measurement{Float64}}(1.0±0.0, 0.0±0.0, 0.0±0.0, 0.0±0.0):
 1.0±0.0  0.0±0.0  0.0±0.0
 0.0±0.0  1.0±0.0  0.0±0.0
 0.0±0.0  0.0±0.0  1.0±0.0

We would obviously expect unity matrices without uncertainty but I am surprised that the uncertainty is 0.0. For instance:
julia> a = 3 ± 1
3.0 ± 1.0

julia> b = 6 ± 2
6.0 ± 2.0

julia> a/b
0.5 ± 0.23570226039551584

I'm not sure what you expect here. The parameter of the type is Measurement, which is a number with uncertainty. The uncertainty of all elements is zero, which should be correct, right? Did you expect that the parameter automatically changed to Float64?

No. I don't understand why dividing one uncertain quaternion type (full of Float64s) by another annihilates the uncertainty whereas dividing one Float64 by another does not do this. The latter is expected. Perhaps  it's a question of whether Rotations.jl can actually be used with Measurements.lj

I think a better comparison is:
julia> using Measurements

julia> a = 3 ± 1
3.0 ± 1.0

julia> a / a
1.0 ± 0.0

Yes, because a and a are identically equal. I was under the impression that, as with floating point errors, that the propagation of uncertainty with (say) division would give rise to a result with greater uncertainty not less. Even if their values and uncertainties were numerically equal. E.g.
julia> using Measurements

julia> a = 1 ± 0.5
1.0 ± 0.5

julia> b= 1 ± 0.50000001
1.0 ± 0.50000001

julia> a/b
1.0 ± 0.7071067882576154

I've obviously misunderstood this.

Note that Measurements has a tracking mechanism; it doesn't matter that the values and derivatives are identically equal. This mechanism enforces the notion of independent vs. dependent variables, and is also in play with the Rotations example in the original post. So:
julia> q1 = Quat(1.0 ± 0.01,0.0 ± 0.01,0.0 ± 0.001,0.0 ± 0.002);

julia> q2 = Quat(1.0 ± 0.01,0.0 ± 0.01,0.0 ± 0.001,0.0 ± 0.002);

julia> q1 / q2
3×3 Quat{Measurement{Float64}}(1.0±0.0, 0.0±0.0141421, 0.0±0.00141421, 0.0±0.00282843):
 1.0±0.0         0.0±0.00565685  0.0±0.00282843
 0.0±0.00565685  1.0±0.0         0.0±0.0282843
 0.0±0.00282843  0.0±0.0282843   1.0±0.0

That's subtle and a potential gotcha (for me). My code produced q1===q2 (true), whereas your code produced q1===q2 (false). I thought that the way I had constructed my q2 would have guaranteed q1===q2 (false). I'll need to add checks to make sure my results don't get thwarted by the cleverness of the tracking system. Thank you for pointing this out!

When dealing with floating point numbers you never want to test for equality (==), let alone egality (===).
In addition to that, any result of mathematical operations involving Measurement objects returns a "derived quantity", which cannot be egal to any "direct measurement".

Of course! But note that when I created what I thought was a new variable called q2 out of q1 by way of a constructor that made a new matrix along the way (but actually didn't) , the result turned out to be the same object, ie yes q1===q2! Thus to be sure when I create a new object out of some operation, the first thing I will do, before any uncertainty calculation is check whether q1===q2, otherwise I have gone round in a circle and the result of a division will be the annihilation of the uncertainties, so yes I do need to use egality, as I demonstrated at the top of this thread.
And the whole point of using Measurements is the very fact that all engineering variables are uncertain not just the sensor values. I am building a model-based state-estimator and controller for a very real robotic system, weighing several tonnes and over 10m in length. A noob in Julia I may be, but I cut my programming teeth a very long time ago using FORTRAN IV; all my work is on real engineering systems.  (Although, in my receding years, the latter frailties are beginning to take hold.) Fancy thinking I was actually creating a new quaternion!

Just to further clarify what's going on: in the usage section of the readme,

Measurement objects can be created with the two following constructors:
measurement(value, uncertainty)
value ± uncertainty

[ ...]
Every time you use one of the constructors above, you define a new independent measurement. Instead, when you perform mathematical operations involving Measurement objects you create a quantity that is not independent, but rather depends on really independent measurements.

Calling SMatrix{3,3}(q1) of course doesn't result in these constructors being called since StaticArrays and Rotations are Measurements-unaware, and as such this doesn't create new independent variables. You have to be very explicit when you want to create new independent variables. This is a very good thing, in my opinion.

OK... this tagging system is really cool.   My point was that in Julia testing for egality should be done with much care, because you aren't just testing that two objects are superficially equal, but they're fundamentally the same thing, but that means to rely on the particular implementation of the data structure.  I think that this shouldn't be done unless you know very well the data structure involved (and know it won't change in the future), because it may have, like in this case, some subtleties that can lead to unexpected results.


chore: Delete default permission groups when workspace is deleted

To ensure that we are not leaving behind dangling default roles, we must delete the default roles generated on create of a workspace when the same is deleted.

/ok-to-test sha=a62be20


Dev

The repository is completed with the addition of final_report.pdf.
Applying for pull request to merge dev branch with prod branch. Thank!

LGTM!


Cancel drag on escape key

I'm using react-dnd with the react-dnd-touch-backend on an app that is used on keyboard devices with touch screens. So it should respond to both mouse and touch drags, hence I need to use the react-dnd-touch-backend. Since I use keyboard devices, I'd like to be able to cancel a drag (which reverts the dragged item to its original position) by hitting the Escape key on the keyboard, similar to the HTML5 drag and drop API (see https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Drag_operations#dragend)
I'd like this to work in a scenario similar to the "cancel on drop outside" example in the react-dnd documentation: http://gaearon.github.io/react-dnd/examples-sortable-cancel-on-drop-outside.html
In this example, if you drag an item and hit the escape key, the drag will be cancelled.
Is this possible to do with the react-dnd-touch-backend as well?

I forked the repo and added a keydown event listener on the touch-backend framework. This will cancel the drag if the Escape key is pushed. See pull request: https://github.com/yahoo/react-dnd-touch-backend/pull/48


Update link to point to WinUI 3 docs

Description

Adjusts one link as part of #1344
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

/azp run

/azp run

/azp run


FFmpeg exited with code: 1 and signal: null (Error).

Stream functions once perfectly fine, but reconnecting either causes exits or major delays reconnecting of upwards of 1 minute.

[Living Room CA62] Snapshot request handler provided empty image buffer!
[04/01/2022, 20:05:18] [TAPO-CAMERA] [Living Room] Stopped video stream.
[04/01/2022, 20:05:19] [TAPO-CAMERA] [Living Room] Starting video stream: native x native, native fps, ??? kbps (AAC-eld)
[04/01/2022, 20:05:20] [TAPO-CAMERA] [Living Room] FFmpeg exited with code: 1 and signal: null (Error)
[04/01/2022, 20:05:20] [TAPO-CAMERA] [Living Room] Stopped video stream.

Duplicate of https://github.com/kopiro/homebridge-tapo-camera/issues/28


Refactor for more multi dispatch

Goal
To refactor the code base to enforce a separation between types which define the behaviour of the model, e.g. targetting direct log-infections for inference as opposed to the time-varying reproductive number, from the implementation of this which is handled by methods.
Lower-level interface
The core lower level methods are:

generate_latent_process(latent_process::AbstractLatentProcess, n) which implements the latent process for n steps
generate_latent_infs(epimodel::AbstractEpiModel, latent_process) which implements initial incidence and ingestion of latent process to generate latent infections.
generate_observations(observation_model::AbstractObservationModel,       y_t,       I_t;       pos_shift) which implements how the latent incidence I_t either generates observations (if y_t = missing) or accumulates log-like if y_t is given with pos_shift being an up-jitter to miss out on exact zeros in prediction.

Higher-level interface
Based on make_epi_inference_model which takes in obs. data (or missing) and defined structs to dispatch the lower level methods on.
New model diagram
flowchart LR

A["Underlying GI
Bijector"]

EpiModel["AbstractEpiModel
----------------------
Choice of target
for latent process:

DirectInfections
    ExpGrowthRate
    Renewal"]

InitModel["Priors for
initial scale of incidence"]

DataW[Data wrangling and QC]

ObsData["Observational Data
---------------------
Obs. cases y_t"]

LatentProcPriors["Latent process priors"]

LatentProc["AbstractLatentProcess
---------------------
RandomWalkLatentProcess"]

ObsModelPriors["Observation model priors
choice of delayed obs. model"]

ObsModel["AbstractObservationModel
---------------------
DelayObservations"]

E["Turing model constructor
---------------------
make_epi_inference_model"]

G[Posterior draws]
H[Posterior checking]
I[Post-processing]

A --> EpiData
EpiData --> EpiModel
InitModel --> EpiModel
EpiModel -->E
ObsData-->E
DataW-.->ObsData
LatentProcPriors-->LatentProc
LatentProc-->E
ObsModelPriors-->ObsModel
ObsModel-->E

E-->|sample...NUTS...| G
G-.->H
H-.->I

Closes #78
Closes #75

Thanks looking now.
Do you have a view on the CI failures?
Also could you address how/why this the questions in  #78 directly

Do you have a view on the CI failures?

The current CI problem seems to be some kind of async between my pre-commit hook of format style that has emerged since I switched to my laptop... Possibly need to update SciMLStyle(). I'll look into it.


Column change issues

At the moment, if I am at a place on my home feed, and I accidentally tilt the phone it changes columns.  When I go back to my home feed, it has lost the place, and shows the top.
Can it either

Allow disabling the tilt sensor for column changes
Keep the position for inactive columns

Perhaps there is a setting for (1), but I could not find it.

I couldn't reproduce "Tilt the terminal resets the scroll position of the column". Does it depend on the device used?


web browser as a platform

Rework web code and remove debugInBrowser in profit of a platform version of cobalt built for the web
Could be useful for debugging and for mobile websites built on cobalt

:+1:

apart from the Iframe solution to handle cobalt.navigation between views, could be nice to . have somthing like a web container that can fetch and append content in a div container. maybe some parts of this projects may help https://github.com/luruke/barba.js ( fetch a file and append it to a div container, use cached content and avoid reloadings of assets )

debugInBrowser is dynamic now, you can use cobalt on web files without pb (with debug=false)


Inconsistent treatment of _id and :type modifier

[16-12-2014 16:44:15] Bill de Beaubien: I was playing around with pointing the SMART growth app at spark yesterday
[16-12-2014 16:44:31] Bill de Beaubien: of these requests..
[16-12-2014 16:44:33] Bill de Beaubien: http://spark.furore.com/fhir/Observation/_search?subject:Patient._id=1132446799
http://spark.furore.com/fhir/Observation/_search?subject:Patient=1132446799
[16-12-2014 16:44:52] Bill de Beaubien: it uses the 2nd form, which for some reason on spark finds nothing, though the first finds observations
[16-12-2014 16:44:56] Bill de Beaubien: is that expected?

Search syntax has changed somewhat in DSTU2, however the problem searching for references still exists. This is also mentioned in issue #6, so I'm closing this issue.


windows path support for agda 2.5

fix https://github.com/banacorn/agda-mode/issues/98
not sure this is the right place for the path fix, and should probably be tested against other versions of agda?

Thanks! look good to me!

I've managed to move your code "upward".
https://github.com/banacorn/agda-mode/blob/06e6cd15d09bea217acf4bbf598150224702abe8/src/Parser.re#L69-L85
Now all paths are sanitized before use, this should solve #98, thanks for your help!

thanks for the project!


*: Add compiler info to the tiflash version

What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/7193
Problem Summary:
What is changed and how it works?

Add compiler version info to the tiflash version
Refine some scripts about building docker image
Fix a missing counter in SchemaSyncService

> ./tiflash/tiflash version
TiFlash
Release Version: ...
...
Profile:         RELWITHDEBINFO
Compiler:        clang++ 17.0.6

Raft Proxy
...

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests


Invalid Configuration

I installed HACS with instructions frm https://hacs.xyz/docs/installation/manual_cli and add CUSTOM REPOSITORIES [integration] AlexxIT/SonoffLAN
screenshots of errors are attached

Look at the logs. There the error is described in more detail.

2020-05-05 01:06:03 ERROR (MainThread) [homeassistant.setup] Setup failed for sonoff: Unable to import component: No module named 'Crypto'

Do you use HA in venv?

arch
armv7l

dev
false

docker
false

hassio
false

os_name
Linux

os_version
4.19.97-v7+

python_version
3.7.3

timezone
Asia/Karachi

version
0.109.2

virtualenv
true

Fixed https://github.com/AlexxIT/SonoffLAN/releases/tag/v1.10.4

Thanks @AlexxIT it works now!!


New release from master

v0.5.7 🚢 ?
It would be great if scikit-bio could issue a new release, including changes from https://github.com/biocore/scikit-bio/pull/1690 and https://github.com/biocore/scikit-bio/pull/1728 - as this would fix issues relating to numpy pre-installation requirements (cf #1734).
I see @thermokarst made the last release in March 2020 👍 , would it be possible to release again? thanks 🎉

Thanks - but this issue is requesting a new release from master, I believe you've linked to a commit. A the time of writing, the last release was v0.5.6 from March 2020 https://github.com/biocore/scikit-bio/releases/tag/0.5.6 - it would be great if v0.5.7 (or higher) could be released and uploaded to PyPI

Right, I'm working on finalizing the release

@danodonovan, the release is now out on pypi and conda-forge. Thanks for the (incredible) patience!


Using tokens within layer styles

Description
When I configured a Layer Style, I expected to be able to use configured tokens. It doesn't seem to be working
Link to Reproduction
https://play.panda-css.com/EcnO7jQq-V
Steps to reproduce

Create a semantic token
Define a layer
Set one of the supported layer styles like backgroundColor

JS Framework
No response
Panda CSS Version
0.47.0
Browser
Edge 130
Operating System

[X] macOS
[ ] Windows
[ ] Linux

Additional Information
No response

Incorrectly accessed the color


TypeError with several keyword arguments in Python

Hi, thanks for the nice package!
Although I'm using the example from the Python documentation I get the following error:
>>> import minify_html
>>> minify_html.minify("<p>  Hello, world!  </p>", minify_js=True, remove_processing_instructions=True)
TypeError: minify() got an unexpected keyword argument: remove_processing_instructions

Everything works fine with a single keyword argument.

I'm unable to reproduce this issue on my machine. Which version of the Python library are you using? Try doing a clean install of the latest version and see if the issue still exists.

I confirm it has been solved in the meantime, it works now, thanks!


slack/client missing

Hi, i have some problems with installing it on debian.
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'slack/client' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'gekko'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 4.14.0-parrot2-amd64
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/myusername/gekko
npm ERR! node -v v8.9.3
npm ERR! npm -v 1.4.21
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/myusername/gekko/npm-debug.log
npm ERR! not ok code 0
So i can't install dependencies, i installed them manually, but still i'm not sure what i have to do with slack/client, how to install it?
Thanks

Ditto.. same issue installing on Raspberry Pi 3.. clean install.

@phood exact same issue

I had this issue too. I'm not sure how I solved it..
I though I updated npm using:
npm install -g npm-check-updates

I have solved it installing the last LTS version nodejs  v8.11.1. https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp
Maybe I didn't installed nodejs correctly.


feat: add --prod flag to dev command

Summary
Needs https://github.com/netlify/build/pull/4792. Closes #3905.

Also needs changing for edge functions: https://github.com/netlify/cli/blob/feat/serve-command/src/lib/edge-functions/registry.mjs#L219

Also needs changing for edge functions: https://github.com/netlify/cli/blob/feat/serve-command/src/lib/edge-functions/registry.mjs#L223

I'd rather do that in a follow-up PR. I don't like the idea of making the edge functions registry aware of the prod flag, so I want to shift things around a bit, but that would make this PR too large.

Actually, I managed to do it in a concise way in https://github.com/netlify/cli/pull/5338/commits/29342333651a437275e85bfb28d991e190e7d92d.


Wrong c'tor get's choosed

Accordingly to https://github.com/castleproject/Windsor/blob/master/docs/how-constructor-is-selected.md the constructor with the most satisfiable parameters gets picked.
In the following example, Windsor chooses the parameterless c'tor on MyControl although the c'tor with the parameter of type IMyUtils<ArrayList> can be resolved as proofed by lResolvedFixedHelper
Registering a generic type-unbound implementation for IMyHelper<> seems to fix the problem and the expected c'tor is called on MyControl.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Castle.MicroKernel.Registration;
using Castle.Windsor;

namespace ConsoleApplication15
{
    class Program
    {
        static void Main(string[] args)
        {
            var lContainer =  new WindsorContainer();
            var lGenericUtilsReg =
                Component.For(typeof(IMyUtils<>)).
                ImplementedBy(typeof(MyGenericUtilsImpl<>));

            lContainer.Register(lGenericUtilsReg);

            var lFixedHelperReg =
               Component.For(typeof(IMyHelper<ArrayList>)).
               ImplementedBy(typeof(MyArrayListFixedHelperImpl));

            lContainer.Register(lFixedHelperReg);

            var lControlReg =
               Component.For(typeof(MyControl)).
               ImplementedBy(typeof(MyControl));

            lContainer.Register(lControlReg);

            // Commenting the following code in, let's the example run as expected.
            //var lGenericHelperReg =
            //   Component.For(typeof(IMyHelper<>)).
            //   ImplementedBy(typeof(MyGenericHelperImpl<>));

            //lContainer.Register(lGenericHelperReg);

            var lResolvedFixedHelper = lContainer.Resolve<IMyHelper<ArrayList>>();
            if (lResolvedFixedHelper == null)
            {
                throw new ApplicationException("Should not happen.");
            }

            var lResolvedControl = lContainer.Resolve<MyControl>();
            if (lResolvedControl == null)
            {
                throw new ApplicationException("Should not happen.");
            }
        }
    }

    public class MyControl
    {
        public MyControl()
        {
            throw new ApplicationException("Should not be used.");
        }

        public MyControl(IMyUtils<ArrayList> aUtils)
        {
            Console.WriteLine("MyControl: ctor " + aUtils.GetType().Name);
        }
    }

    public class MyGenericUtilsImpl<T> : IMyUtils<T>
    {
        public MyGenericUtilsImpl(IMyHelper<T> aUtils)
        {
            Console.WriteLine("MyGenericUtilsImpl: ctor " + aUtils.GetType().Name);
        }
    }

    public class MyGenericHelperImpl<T> : IMyHelper<T>
    {
        public MyGenericHelperImpl()
        {
            Console.WriteLine("MyGenericHelperImpl: ctor");
        }
    }

    public class MyArrayListFixedHelperImpl : IMyHelper<ArrayList>
    {
        public MyArrayListFixedHelperImpl()
        {
            Console.WriteLine("MyArrayListFixedHelperImpl: ctor");
        }
    }

    public interface IMyUtils<T> { }

    public interface IMyHelper<T> { }
}

@stffabi - I have been through this in detail:
The Problem
The problem is with this constructor:
public class MyGenericUtilsImpl<T> : IMyUtils<T>
{
	public MyGenericUtilsImpl(IMyHelper<T> aUtils)
	{
		Console.WriteLine("MyGenericUtilsImpl: ctor " + aUtils.GetType().Name);
	}
}

and how IMyHelper<T> is registered.
var lFixedHelperReg =
               Component.For(typeof(IMyHelper<ArrayList>)).
               ImplementedBy(typeof(MyArrayListFixedHelperImpl));

The constructor is requesting an Open Generic (meaning it is a more general type because there is no generic parameter). This technically does not match anything you have registered in the container(if this does not make sense because it resolves anyway, don't worry I will come back to this at the end). Your service registration has a higher specificity(or is in fact considered to be a new type) because it registers a Closed Generic (meaning it has a generic parameter type of ArrayList bound to IMyHelper`1).
During the the resolution process the container correctly chooses the default constructor because it technically cannot infer that the type requested IMyHelper<T> is satisfied by the IMyHelper<ArrayList> registration on MyGenericUtilsImpl<T> constructor.
To further demonstrate my explanation, I invite you to change the constructor on MyGenericUtilsImpl to use an ArrayList instead of T like so:
public class MyGenericUtilsImpl<T> : IMyUtils<T> // <-- 2. Is not implied by consumers of this when picking constructors
{
	public MyGenericUtilsImpl(IMyHelper<ArrayList> aUtils) // <-- 1. Inference of <T> here.
	{
		Console.WriteLine("MyGenericUtilsImpl: ctor " + aUtils.GetType().Name);
	}
}

You will notice this hits your expected constructor. You also identified another approach which was to open up the generic registration which then also satisfies the requested service type on MyGenericUtilsImpl<T>'s constructor:
// Commenting the following code in, let's the example run as expected.
//var lGenericHelperReg =
//   Component.For(typeof(IMyHelper<>)).
//   ImplementedBy(typeof(MyGenericHelperImpl<>));

This was the smoking gun that pointed me in in MyGenericUtilsImpl direction.
Why does it resolve if I remove the constructor or apply the [DoNotSelect] attribute?
public class MyControl
{
	[DoNotSelect] // <-- This attribute
	public MyControl()
	{
		throw new ApplicationException("Should not be used.");
	}

	public MyControl(IMyUtils<ArrayList> aUtils)
	{
		Console.WriteLine("MyControl: ctor " + aUtils.GetType().Name);
	}
}

This is a good question. This is because the CreationContext get's recreated during the resolve process regardless of whether if handlers are still waiting for dependencies in the DefaultDependencyResolver's ResolveFromKernel method. This is what makes thing a little weird here. Everything during registration time is telling you that you 'potentially' cannot do this, yet when you Resolve it works!
I am thinking some of these smarts have not been lifted up to the registration process and that is why it could be picking the wrong constructor.

@stffabi - Good find! :)

Merged, thanks heaps @fir3pho3nixx, great work simplifying the test case.


Spawners in Soul Urn (Silent's Gems) and Held in-hand Causing Lag.

https://github.com/SilentChaos512/SilentGems/issues/515
Thanks.


[Bug] az devops user add with license type earlyAdopter fails

Describe the bug
if I run az devops user add --email-id $email --license-type earlyAdopter --organization $organization --send-email-invite false the cli fails with error 'A user cannot be assigned an Account-EarlyAdopter license.'
but if I run the same command with license type stakeholder, the user is added with earlyAdopter license.
To Reproduce
Azure Cli Version: 2.0.72
Use az --version
Look for something like-
azure-cli (2.0.55)
Azure-Devops extension version: 0.12.0
Use az --version
Look for something like-
Extensions:
azure-devops (0.12.0)
Steps to reproduce the behavior:

login using az login
setup defaults..
Run command....
See error

Expected behavior
Early adopter flag works as expected.
Screenshots
If applicable, add screenshots to help explain your problem.
Debug logs
Add the output of the command running it with debug mode (--debug)
Additional context
Add any other context about the problem here.

Thank you for reporting this issue @rguthriemsft . @ishitam8 would you be able to help here?

Hi @rguthriemsft ,
All @microsoft.com accounts are automatically given earlyAdopter license-type. So, if you want to add a new user, you can try adding with license type express or stakeholder, and if that user has valid msdn subscription it would be automatically assigned to earlyAdopter license.

@rguthriemsft
Please see the explanation as per above comment. Early Adopter is an internal thing which is not exposed via API it is auto detected in the backend for appropriate internal users.
Closing the issue,  please open a new one if you need to.


Support for jaxb-runtime 4+?

Hello,
when loading a ehcache.xml using ehcache 3.10 I get an exception:
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/ValidationEventHandler
This is because ehcache3 requires jaxb-runtime < 3 while hibernate-core 6 requires jaxb-runtime >= 4.
Is ehache going to upgrade this dependency and migrate to jakarta.* namespace?

Normally the jakarta classifier should do the job

Indeed, the jakarta classifier does the job. Thanks.
This can be closed.

  <dependency>
    <groupId>org.ehcache</groupId>
    <artifactId>ehcache</artifactId>
    <version>${ehcache.version}</version>
    <classifier>jakarta</classifier>
  </dependency>


how to show Permission dialog after launch app

my app must need device location in order to show content region wise so is there any way to enable request permissions dialog?
on Android app, the dialog shown by the Android framework.

@spakanati123 In the https://github.com/Samsung/GearVRf/issues/1217 thread we discuss the permissions prompt.


Custom Control

How can I add custom control to this plugin. as similar to google maps custom controls

As of right now, this is not supported, and I think it falls outside of the scope of this plugin. It may be implemented later though.


Resolve full path

From https://github.com/Microsoft/TypeScript/pull/4883, tsconfig needs the ability to resolve a complete path, a directory or fall back to the current resolve up behavior. Maybe a second optional argument for resolve that represents the path from --project?

This was actually implemented in resolve - it'll check for a file, then a directory.


Fix typo in load-examples command

Noticed an incorrect command in the installation instructions that caused me the error as described in issue #6172.
Related issue: https://github.com/apache/incubator-superset/issues/6172
Related pull request: https://github.com/apache/incubator-superset/pull/6167

Yeah click made backward incompatible changes around underscore/dashes...

Thanks for fixing the docs!

@mistercrunch I wonder if issues could also crop up based on other occurences of the commands with underscores seen here... https://github.com/apache/incubator-superset/search?q=load_examples&unscoped_q=load_examples


nixos/snowflake-proxy: init

Motivation for this change
This commit adds a new NixOS module for snowflake, a system to circumvent internet
censorship.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 162661 run on x86_64-linux 1

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test


added badges to the README.md file

This fixes #24
Description
added some badges and also the links related to them to the README.md file, now after clicking on them the user can be redirected to the related section/web page.
Screenshot

@ayeshafalak check this out... 🙂


Functions that return no value should be translated as "void"

The following Python function definition:
def greet_user(username):
    print("hello " + username)

should be translated to
public static void greet_user(string username) {
    print("hello" + username);
}

but currently we're generating object as the return type.

Commit 4960af39b152835c03b5de3de3a78084956cca61 resolves this.


Add support for PATCH requests

Adds support for testing PATCH endpoints

@NGMarmaduke I manually merged your commit.


AppCenterTest task overwrites the Run Id build property if used more than once.

Issue Description
AppCenterTest task overwrites the Run Id build property if used more than once. The scenario is Multi-configuration build definitions.
https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/AppCenterTest/appcentertest.ts#L203-L227
The call to patch the build id into the build's properties does not have any unique key when it comes to phases and parallelism, so every time this task is used on a Build, this build property only has the latest to test run that was submitted. Instead some unique key per phase/job name should be used?
It would also be much easier is the task set a local output variable, instead of requiring us to use the REST API just to get the test run id.

@madhurig - can you route?

Hi @kdubau - I'll create a task for this so it can be triaged and let you know an ETA if it gets approved.
In the meantime - you're more than welcome to contribute (just fork & PR back to us if you need it ASAP). I can point you in the right direction to get the custom task building and uploaded to your VSTS instance.
I'll update you as soon as I have some news.

@owenniblock would be happy to contribute.

I can point you in the right direction to get the custom task building and uploaded to your VSTS instance.

Yea, would appreciate any docs on bootstrapping the dev loop.

Yeah will need this also for Xamarin.Forms

Great, I'll post some links later on today.

Hi @kdubau - I'd be very happy to have you contribute! Here's some info to get you started:
You can read about building and running the tests on this project here:
Contributing doc
You can upload Tasks to your VSTS instance from the built source code using this:
TFS CLI
When you log in using the CLI - you'll need to use your defaultcollection URL which will most likely be something like this:

https://yourvstsinstance.visualstudio.com/defaultcollection

(You'll need to log in using a CLI pat generated in VSTS)
Once you've made your changes and built them - you'll need to upload it using the CLI tool:
You can check the id of your task with this command:

tfx build tasks list

You'll need to delete the existing task first (be sure to note down the parameters you've set for when you re-add it):

tfx build tasks delete --task-id ad5cd22a-be4e-48bb-adce-181a32432da5

Then once you've built your task you can upload it using a command like this:

tfx build tasks upload --task-path /path/to/repos/vsts-tasks/_build/Tasks/AppCenterTest

This issue is stale because it has been open for a year with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days


How to close the drawer?

Hi,
I have a question. I click on the menu button to open the drawer and click a menu item. The drawer does not close after clicking an item. Is there a way to configure the menu or trigger the drawer to close after a menu item has been clicked?
Thanks,
Kerry

You are right, the drawer doesn’t close because usually the drawer contains links causing a full reload.
We have added the toggleDrawer() function and it will ship with 1.1 (probably next week).
With that you can $('.mdl-layout').MaterialLayout.toggleDrawer() in your JS :)

:tada: 1.1 will probably ship next week. Great news and thank you!

Do I need something special to make this work $('.mdl-layout').MaterialLayout.toggleDrawer()?
I am using version 1.1.3, hosted via google (as described here: http://www.getmdl.io/started/):
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.1.3/material.indigo-pink.min.css">

```html

Unfortunately I think this method: $('.mdl-layout').MaterialLayout.toggleDrawer() assumes that you will be using jQuery. I am not. I got it to work by using pure JS. I simply set an ID on my .mdl-layout container and referenced that dom element:
document.getElementById('app').MaterialLayout.toggleDrawer()
Where app was the id of my .mdl-layout container.

Do I need something special to make this work $('.mdl-layout').MaterialLayout.toggleDrawer()?
I am using version 1.1.3, hosted via google (as described here: http://www.getmdl.io/started/):
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.1.3/material.indigo-pink.min.css">

with a basic body structure

Did you manage to solve this?

Did you manage to solve this?

I managed to get it to work by selecting the first element [0] in the jQuery selector:
$('.mdl-layout')[0].MaterialLayout.toggleDrawer()

Simple JS only approach (for future visitors):
// mdl-layout__drawer expects links to be external, so it doesn't  bother
 // closing itself after click, leaving the drawer hanging open if a navigation
 // is directed to an id on the same page
 function close_drawer() {
   var d = document.querySelector('.mdl-layout');
   d.MaterialLayout.toggleDrawer();
 }

 // listen for clicks there and make sure it happens so that page content is
 // never hidden by the drawer overlay after navigation
 document.querySelector('.mdl-layout__drawer').addEventListener('click', close_drawer);


Feature/tab recording

Sorry, was trying to merge to my fork. Didn't realize this came here instead. :D


Debug launch with multiproject solution

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
debugger launch only picks up first listed project from solution
Expected Behavior
?? how to specify the launch project in laiunch.json or task.json
Steps To Reproduce
When I generate a solution with a single project all works fine.
my launch.json looks like:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Arm Debug",
"type": "arm-debug",
"request": "launch",
"serialNumber": "${command:device-manager.getSerialNumber}",
"program": "${command:embedded-debug.getApplicationFile}",
"cmsisPack": "${command:cmsis-csolution.getTargetPack}",
"connectMode": "auto",
"debugFrom": "main",
"probe": "CMSIS-DAP",
"programMode": "auto",
"resetMode": "auto",
"preLaunchTask": "Flash Device"
}
]
}
and my task json looks like:
{
"version": "2.0.0",
"tasks": [
{
"label": "Build Context",
"type": "cmsis-csolution.build",
"solution": "${command:cmsis-csolution.getSolutionPath}",
"rebuild": false,
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Flash Device",
"type": "arm-debugger.flash",
"serialNumber": "${command:device-manager.getSerialNumber}",
"program": "${command:arm-debugger.getApplicationFile}",
"cmsisPack": "${command:device-manager.getDevicePack}",
"problemMatcher": [],
"dependsOn": "Build Context"
}
]
}
This works just fine for singe project solution.
If I have a solution that contains three projects, the first two listed are library build projects and the third is the actual app with dependicy of the previous two libraries. This also builds fine but debug launch seems to try to flash and debug only the first listed project (the library).
I know I could hard code the absolute build output path in the launch.json's "program" node but that does not seem like the right thing to do.
Is there another way?
Affected tools

[X] cbuild
[X] cbuild-gen
[ ] cpackget
[X] csolution
[ ] packchk
[ ] svdconv

Affected operating systems

[X] Windows amd64
[ ] Windows arm64
[ ] Linux amd64
[ ] Linux arm64
[ ] MacOS amd64
[ ] MacOS arm64

Environment
Windows 10

@vescovd1 , this issue is about the Arm Debugger extension from Arm which is outside the scope of Open-CMSIS-Pack.
Could you please open the issue there: https://github.com/ARM-software/vscode-arm-debugger/issues/new/choose ?


feat: Unmarshal Nonce type

Description
When trying to unmarshal types.Block, there is an issue with types.Nonce. The type is missing its custom UnmarshalText method.
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes
Please complete this section if any breaking changes have been made, otherwise delete it
Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[ ] I have tested this code with the official test suite
[x] I have tested this code manually

Manual tests
Please complete this section if you ran manual tests for this functionality, otherwise delete it
Documentation update
Please link the documentation update PR in this section if it's present, otherwise delete it
Here's an example of a CI job deserialising a block: https://github.com/leovct/edge-grpc-mock-server/actions/runs/6025058222/job/16345020813#step:6:38
Additional comments
Please post additional comments in this section if you have them, otherwise delete it

I have read the CLA Document and I hereby sign the CLA


Have it not apply to a certain select list

Hey there,
Great component - I had a simple question.. the component works great on the list that I want converted into a multi-select tree.  I have another select list that I do not want converted into a multi-select tree.. so how do I make it so that shows as a normal select drop-down list?
thanks in advance

I should add.. that

Just change your selector.

Hey,
Great job. Have a issue with it http://jsfiddle.net/newzen/nftdvyk4/3/ all checked but just a few are in the source option.
any help will be appreciated, thanks


hashids not support number ><PHONE_NUMBER>740992L

hashids not support number ><PHONE_NUMBER>740992L. can you update source to support number ><PHONE_NUMBER>740992L ?

This is a limitation of the algorithm. All hashids have it. We can't do it.

This limit provides more than 9 quadrillion (!) possible numbers. I think even YouTube hasn't reached this amount of video ID's if they'd use this algorithm.
Maybe you should describe what's your actual problem with this limit. There are workarounds to get above this limit like for example using a array with multiple long numbers which can be multiplied when they get decoded.

thanks for the help, I have solved my problem with hashid

congratulations @bichtv , and, it's hashids :smile:


Better error message for null/undefined values in autocomplete

The autocomplete directive should check for null and undefined values when evaluating the promise returned by the source option and throw a better error message.

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.


Add Rockstar Games Logo

The icon I want is:

Name: Rockstar Games
URL: https://www.rockstargames.com/
Link to icon: https://www.freelogovectors.net/rockstar-games-logo-eps-pdf-files/

@edent, Please add me under Hacktober Fest

@Sattwik-8 please read the Contributing guide

@edent Thank you for letting me know about the contribution guide.

Fixed in #856


Gutter applies only on first line

I can't seem to get the Gutter to work properly, it always shows only the first line as can be seen in the example below:

    1
    public
    class
    Foo
    {}
    public
    class
    Bar
    {}

Here's also a render without the highlight applied:

public class Foo {} public class Bar {}

Solved as it wasn't caused by this package but rather by the markdown parser.

Fixed in https://github.com/tempestphp/highlight/releases/tag/2.3.5

Hi ! I'm trying to use tempestphp/highlight on my personel website, built with Kirby CMS (WordPress alternative). I have this problem when I highlight code retrieved in my code block.
Here is what I get when I dump the value (you can see all the \n)

But the result is this :

And here is my code :
<?php

$highlighter = new \Tempest\Highlight\Highlighter();
/** @var \Kirby\Cms\Block $block */
$code = $highlighter->withGutter()->parse($block->code()->value, 'php');

?>

    <?= $code ?>

I also noticed that if I remove the ->withGutter() there is still a weird space at the beginning :


Feature/495 migrate shared components to govuk frontend

@RobjS ready for review

@calumryan It looks like there's something slightly odd going on with the commit history here - a couple of the commit titles are there twice, and there's also an empty merge commit.  Give me a shout if you'd like a hand cleaning it up 🙂

Moved to https://github.com/dxw/govuk-blogs/pull/56


Typo "Azure artifact feeds"→"Azure Artifacts feeds"

https://docs.microsoft.com/en-us/azure/devops/artifacts/tutorials/private-powershell-library?view=azure-devops
#PingMSFTDocs

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


fetch-improvements

Closes #66
Required Changes

Removes codemon fetch <contest_name> command as that is redundant to the functionality of codemon, especially after the addition of  -f /--fetch flag. Also added error checks so that codemon fetch is entered as a single command.
Every sample test case string after scraping from codeforces  begins with a  \n character. So to solve the problem of an extra newline at the beginning of inputs and outputs, all that was to be done was to write the i and o strings to input and output files from the 1st index instead of the 0th. Example.

f.write(i[1:])

As suggested changed the coloring of all verbose messages to white, except error messages which will be red.

Additional Changes
There were a few inconsistencies in the functionality of codemon and CodemonFetch module that I've fixed.

It was the intended behaviour that the user can enter any string as the contest name as long  it contained the correct contest number in it for example contest_1455 or round_1455. Currently if the user enters this as the contest name during init they will get the correct filenames for round 1455 but if they were to run codemon fetch  inside this directory instead of the sample test cases being written down into their correct place, an extra folder would be created with the contest number as its name, that contained only the inputs and outputs. This is because unlike get_filename function in CodemonMeta.py, fetch_tests function did not clearly differentiate between the contest number and contest name while scraping. This created the issue. So with this update I've ensured that clear distinction is made between the contest number and contest name. So the user can name their contest directory like round_1455 etc without facing any issue.

Since init now takes care of making the proper directory structure the make_structure function in CodemonFetch module was redundant. So I changed it to check_structure which only checks for the presence of correct directory structure while scraping, if the correct structure is not present it will generate an error. Which should be the correct behaviour. So if the user now accidentally runs codemon fetch in some other random directory that happened to have a valid codeforces contest number in its name, codemon fetch will now error out instead of creating a question folder with inputs and outputs and crowding up the users directory. This can also act as a very good error check as to whether the user is running codemon fetch from inside contest directory or not.

Added better error checks to fetch_tests function, so if fetching of sample test cases fails user will know exactly why.

There were few unused imports, redundant variables and code that I've removed to make the code more concise.

@Enigmage - Sorry for delay in review. Could you also work on improving the documentation (how to use commands, naming system for directory, a GIF demonstrating codemon, etc) on our README and make a new PR for that too ?

Take each of the commands for example and desribe each of them in detail. For example, for codemon init -f round_1342, you can explain what the command does, how many ways the command can be written, for example it can be written as codemon init --fetch 1342  also. Then you can go on desribing the proper directory nomenclature etc.
I'd be much happy if you can generate docs from the code itself, maybe using something like pydocs. Do it whichever way suits you better.

@ankingcodes Hey I forgot to ask, are you expecting the documentation changes in this PR itself ? Because I was was hoping you could review and if its all fine merge this PR first since it has some important fixes for codemon fetch. And then I will be making a PR for adding documentation separately (already working on it on a different branch). Is this okay?

@Enigmage - few minor changes required here.

@ankingcodes made the requested changes. Also added info about the -f flag for fetch in the Help section which was missing, see if you like it. Couldn't include --fetch as the message was getting long.


Make event publishers pull key name and secret from vault

We should consider adding a new secretSource: vault or some similar config for the publisher that allows you to pull the key name and secret from vault
I believe we're pulling them from config with these lines below
https://github.com/reddit/baseplate/blob/master/baseplate/events/publisher.py#L157-L159

I'd be OK doing this as a hard requirement and just moving to a style of config / secrets usage like how the livedata watcher works

sounds good to me. Might increase the scope with rolling this out to all existing service, but might be a good intro task for a new hire or something