Zoom in without distorting the image

Hello. Is there a way to zoom in without distorting the image? For example let's say I want to crop a huge image 2500 x 2000 using the browser on my phone (whose screen is 400 x 400). Currently the cropper allows me to zoom in as much as I want to, but I just want to zoom in enough without distorting the image.
Is there a way to set a limit to the zoom in function for this case?

This is a duplicate of https://github.com/fengyuanchen/cropper/issues/279 see the last entry there for a partial solution.
Also https://github.com/fengyuanchen/cropper/issues/225 is a similar concern (note that strict was replaced by viewMode: 1 https://github.com/fengyuanchen/cropper/blob/master/CHANGELOG.md#200-nov-11-2015)

@RegisFrey Thanks for reply this~


ID Check

You could add an id check like /id or /showid so the cop can see the ID card of the player in front of him
That would show :

ID Number
Player Name
Player Job

vehicles plates


Any chance you could create a nuget package just for loading and saving avif images?

Any chance you could create a nuget package just for loading and saving avif images? so that we can use avif in other .net products

Any chance you could create a nuget package just for loading and saving avif images?

I do not plan to.
There are existing libraries such as libheif that can load and save AVIF images, and support different AVIF for decoder and encoder implementations.
A lot of the code in this repository is closely tied to Paint.NET's plugin architecture, and it would be a significant amount of work to adapt it for use with other .NET graphics APIs.


Support for "CLIENT REPLY ON | OFF | SKIP"

command
I am not sure whether i should add support for the new command CLIENT REPLY(which need to share one connection between different commands execution, may lead change on execute_command) introduced since 3.2 release.
How do you think about that?

#34
see example here


Added setup Instruction

Hello @lucydot,
Kindly review the setup instruction I added.
Thanks.
Regards,
Ify

Thanks @ifylala for the very clear instructions 🥇


Instance ID template macro

Hi,
First of all, thanks a lot for the very helpful scripts you created and for the detailed explanation.
I'm a little bit confused about the instance ID macros. Why did you fix it as a template macro? Doesn't it change?
Is it possible to use the item's value (EC2 instance-id) which is the instance ID you get by running the curl command as a parameter to your Python script to terminate the instance?

Hi.
instance-id and instance-status items need to be separated  because each source is different (zabbix-server get the instance-id via zabbix-agent and the instance-status via AWS SDK). However, Zabbix's external checks item cannot refer to other item values in parameters. So I use user-macro to refer to instance-id.  #  Please let me know if you have any better ideas.
When the instance-id is changed, server is registered as a new Zabbix host. I designed it on the premise that instances are thrown away by AutoScaling.

Thanks for your answer.
OK. What still confuses me is that the template macro "{$EC2_INSTANCEID}" is set to "unknown". How do you update that macro based on the value of "EC2 instance-id" item?
Here is the key you use to check the state of an instance:
get_ec2_status.py[-r,{$REGION},-a,{$KEY},-s,{$SECRET},-i,{$EC2_INSTANCEID}]
From what I can see, the "$EC2_INSTANCEID" macro's value is always set to 'unknown'.

Is EC2 instance-id Zabbix item value an instance-id?
If the value is empty or an error, make sure you can get the metadata using curl command on Zabbix agent host.
cmd: curl -s -f http://<IP_ADDRESS>/latest/meta-data/instance-id
On the other hand, if the value is the correct instance-id, the set of user macros may have failed. Check the zabbix-agent log. Also, try to run a Python script that sets instance-id to user-macro on Zabbix server host.
cmd /path/to/get_ec2_status.py -r <REGION> -a <ACCESS_KEY> -s <SECRE_KEY> -i <EC2_INSTANCEID>

According to the way you did it, you defined a template macro called "$EC2_INSTANCEID" and then you set the value to "unknown". My question was this macro is never set and thus, the "get_ec2_status.py" script always returns unknown so how you pass the instance id to the "get_ec2_status.py" script?
In another words, let's say that there is an item that is called "get instanceid" with a key:
curl -s -f http://<IP_ADDRESS>/latest/meta-data/instance-id
which is executed by the Zabbix agent.
My question is: how to feed the returned value of "get instanceid" item to the "get_ec2_status.py" script to get the instance state?

Sorry for my poor understanding English. Indicates the flow:

EC2 instance-id item periodically collects and stores instance-id using curl.
Register instance-id trigger runs "register_ec2_instanceid.py" script when value of EC2 instance-id item was changed.
"register_ec2_instanceid.py" script set  instance-id to host's {$ EC2_INSTANCEID} macro using Zabbix API. (Here,  value of macro changes from "unknown".)
EC2 instance state item periodically calls "get_ec2_status.py" script and updates item value.

Not at all. Your English is good and clear.
OK, now I understand how the {$EC2_INSTANCEID} macro gets changed from unknown to the actual instance ID. Thanks a lot for your explanation.
Actually, I learned a lot for your approach but I'm trying to do it in a different way by using low level discovery. I create a discovery rule that gets the instance ID and then I use it to get the status of the instance by using an item prototype. By doing so, an item, that checks the instance id, gets created automatically with every new registered instance.
When I need to terminate the instance, let's say because it's idle for more than 10 mins, I need to pass the instance ID to an external script. The problem is that I don't know how to pass the value of an item as a parameter for a script executed by another item. You said that it isn't possible? There is no workaround for that?

I previously discussed it in Japan Zabbix user community and concluded that, except for calculated items, the value of other items can't be used in item keys.
Only these macros can be used in item keys:
https://www.zabbix.com/documentation/4.0/manual/appendix/macros/supported_by_location
I have no idea other than using user macros like public variables.

Got it.
Thanks a lot for all the info and the help!


fix(cupertinoDatePicker): do not display previous day when minimumDat…

Description
Fixes the edge case for a CupertinoDatePicker when the minimumDate is a date set at midnight. The item on the column date for the previous date should not be displayed though it is now as of the current range comparison.
Related Issues
Fixes #72932
Tests
TODO
I added the following tests:
Replace this with a list of the tests that you added as part of this PR. A change in behavior with no test covering it
will likely get reverted accidentally sooner or later. PRs must include tests for all changed/updated/fixed behaviors. See Test Coverage.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

Thanks for the fix! Could you add a test to make sure it does not regress in the future? The instructions can be found here. See also here: https://github.com/flutter/flutter/blob/5f46931a8f94a4228c16edd5beae96a82bf15bdf/packages/flutter/test/cupertino/date_picker_test.dart#L937

Thanks for the fix! Could you add a test to make sure it does not regress in the future? The instructions can be found here. See also here:
https://github.com/flutter/flutter/blob/5f46931a8f94a4228c16edd5beae96a82bf15bdf/packages/flutter/test/cupertino/date_picker_test.dart#L937

Sure @LongCatIsLooong ! Just added a regression test 👍  Sorry for the delay, was on Christmas holidays 🎄 🎅
Thanks 👍

Thanks for the fix! Could you add a test to make sure it does not regress in the future? The instructions can be found here. See also here:
https://github.com/flutter/flutter/blob/5f46931a8f94a4228c16edd5beae96a82bf15bdf/packages/flutter/test/cupertino/date_picker_test.dart#L937

Sure @LongCatIsLooong ! Just added a regression test 👍  Sorry for the delay, was on Christmas holidays 🎄 🎅
Thanks 👍

Could you sync this branch to the latest master and see if that fixes the CI failures?

Could you sync this branch to the latest master and see if that fixes the CI failures?

Could you sync this branch to the latest master and see if that fixes the CI failures?

Sure, done 👍

Could you sync this branch to the latest master and see if that fixes the CI failures?

Sure, done 👍


Still Failing to Start Sometimes on XP x86

There is still an intermittent startup failure happening on Windows XP x86 with 126.0.6478.260 R6,
The previous version was the same.
Starting up the browser, it sometimes apparently crashes and no window appears.
It doesn't happen every time, I would say about one time in four.
When the problem happens, when the browser is run, either nothing appears to happen, or it appears briefly in the taskbar and then vanishes. Immediately running it again will often then apparently run correctly.
If the browser window does not open, there are still several chrome.exe tasks running in the Task Manager.
Sometimes it won't just start when it's tried again, and in that case these processes have to be manually killed before the browser will start again, and in that case it then usually does start correctly

Based on various reports from Windows XP users, some further internal changes will be needed, including the introduction of keyed events. This should improve stability.

Thanks Shane!

Meanwhile at 64bit browser (64 bit of xp) same thing
41ea783d-ca5f-4e9b-87cb-379e58640393.dmp

Interesting to hear that the 64 bit version is doing it as well.
I should have mentioned that the browser is rock solid once it has started successfully, I've never had it crash while it's running.
It's a startup problem only.

Here are test versions of 32 and 64 bit progwrp.dll.
progwrp_32.zip
progwrp_64.zip
They will write a debugging log file to indicate failure due to invalid parameters in the InitOnce API.

Thanks Shane, I will install the 32 bit version and let you know how it goes!
Do you need feedback every time that the browser fails to start properly, or should I let the log build up to capture a few instances before I submit it?
Cheers, Dave.

The log will only be written to on failure, and only in one of the two possible ways of failure. The other one cannot be easily captured by a log but should not happen anyway because it involves a function that should always be successful.

So I just installed 260.R6 and on the first boot it crashed leaving several chrome.exe tasks running one of which at 50% CPU. After killing those the browser booted up normally.
Instead of rolling back to R4 I'll continue testing R6 to see if this is the only bug on my end.
Thanks for all the work.

Well I've been using the debug version of progwrp.dll (<IP_ADDRESS>24) for a few days now, and I haven't had a single startup crash!
The log file has remained empty throughout.
Looks like the debug version might actually have fixed the problem, at least on my system!

Yeah, so far so good on my end too.

It has not fully fixed the problem yet on my end but the crashes are further in between. Has DaveH1 mentioned, The log file has remained empty throughout on my end too.

Still no crashes at all here.

Still no crashes at all here.

Its not new problem i have same issue on my old supermium im running version 122.0.6261.152 (Official Build) (32-bit)

So we will have new version of supermium in February 2025 i bet this problem will gone

Seems to be fixed already here, but I'll keep watching out for any more problems.


Align the generic type names to the ZIO ones, replacing Environment by R, Error by E and Value by A

I'm somewhat 👎 on this. More descriptive type parameter names are used in ZIO itself for things like ZIO Stream and ZIO Schedule and can be helpful when some of the type parameters are different, for example Key and Value. So this seems like change that if anything reduces clarity.

@adamgfraser the thing is these long names make the code hard to read. Also, any ZIO user is super familiar with ZIO[R, E, A] and so is more familiar with my proposal than the previous names. It makes the code more readable.
[R, E, A] is part of the "marketing" around ZIO since the beginning. To me, it makes sense to align across projects
Note that I've left Key as is because it's a new thing compared to ZIO[R, E, A]

I'm just not sure what we are aligning on. In ZIO itself we have, among other things:
trait Schedule[-Env, -In, +Out]
sealed trait ZChannel[-Env, -InErr, -InElem, -InDone, +OutErr, +OutElem, +OutDone]
final class ZPipeline[-Env, +Err, -In, +Out]
final class ZSink[-R, +E, -In, +L, +Z]

I think our experience has generally been that while longer type parameter names make code slightly longer they also enhance clarity by saying exactly what each type parameter is and that has generally been a good trade-off. Especially here there is generally no need for you to use the longer type parameter names in your own code as a user of the library so the cost of longer names is particularly low.
Finally, I think mixing the "generic" and domain specific type parameter names can be quite akward. So if all we had were environment, error, and value types R, E, A makes quite a bit of sense but as soon as you introduce something else like Key I would want to move over to more descriptive type parameter names throughout.
But there is definitely some subjectivity here.

Finally, I think mixing the "generic" and domain specific type parameter names can be quite awkward.

Agreed. My initial idea was to rename Key to K but I was trying to be gentle 😄
I can change to K if you want 😛
More seriously, that's definitely subjective :/

This doesn't seem to be a clear improvement so let's just keep it as is.


JSPM bundling fails with spaces in path

JSPM bundling works when using a path without spaces, and fails with spaces.
I am using Aurelia, which has a path mapping in config.js:  "*": "src/*.js",
And I got this error when bundling *: err  Error: ENOENT, open 'D:\Development\test a\src\src\app.js.js'
Notice the space between test a in my path.
I have logged normalized and curPath in getCanonicalName and this was the output:
normalized: file:///D:/Development/test a/src/app.js
curPath:    file:///D:/Development/test%20a/src/*.js

When getCanonicalName is doing path comparisons it fails.
Bundling starts working again when I replace %20 by a space in curPath, or space by %20 in normalized
@ahmedshuhel

Workaround for Windows is mapping a drive letter to the folder:
subst x: .
x:
jspm bundle *
d:
subst x: /D

Thanks so much for the detailed report here, I've posted a fix in https://github.com/systemjs/builder/commit/e74066f92629e4287352bb31c475990e856930e0 - the issue is that url.resolve in Node does URI encoding as well.

Released in 0.13.0.


Can webp image be detected ?

Someone can help me, how to use nsfwjs detect webp image, thanks

Hiya @ldnvnbl - yes it does work with webp!   I noticed I forgot to add that option on NSFWJS.com - so I'll be adding it now.

I've updated the site.  For posterity, if anyone wants to check using a webp file, just throw
https://file-examples-com.github.io/uploads/2020/03/file_example_WEBP_50kB.webp
into NSFWJS.com

Does that answer your question?  On web you'd do it the same way you detect any other image.

@GantMan I detect on node server

You'll need to use something like this: https://www.npmjs.com/package/webp-converter

@GantMan my original image is webp, you means I should convert it to webp and then detect it ?

woops.  I meant convert it to a different image then detect.
If you want it built into TFJS, you should open a ticket asking for node webp to tensor here:  https://github.com/tensorflow/tfjs/issues

woops. I meant convert it to a different image then detect.
If you want it built into TFJS, you should open a ticket asking for node webp to tensor here: https://github.com/tensorflow/tfjs/issues

got it, thank you very much, you are so nice


Lots of missing scoop-manifest.json apps

Check it out:

I've got a lot of them. And all of these failed are missing the scoop-manifest.json and scoop-install.json files. That's because at my company our C:\User\XYZ isn't actually on C:\ but on a netdrive \\company\AD\user\XYZ which has either NO mountpoint or is mounted to P:\ (= \\company\AD\user\XYZ)
How to resolve this problem?

https://github.com/lukesampson/scoop/wiki/Quick-Start#installing-scoop-to-custom-directory

Already done, I install it to c:\myapps\scoop .

the shortcut will point to the correct path.


Getting this error: “Error: Services are already initialized”

I’m trying to load two monaco editors in one page but getting this error:
lifecycle.js:84 Uncaught (in promise) Error: Services are already initialized
    at checkServicesNotInitialized (lifecycle.js:84:1)
    at initialize (services.js:185:1)
    at importAllServices (services.ts:120:1)
    at async initServices (services.ts:89:1)
    at async setupEditor (MonacoEditor.js:16:1)

But when I render a single editor, everything works fine.
I’m using the following packages:
"monaco-editor": "npm<EMAIL_ADDRESS>"monaco-editor-wrapper": "^5.5.3",
"monaco-languageclient": "^8.8.3",
"vscode": "npm<EMAIL_ADDRESS>
Simplified code:
import React, { useEffect, useRef } from 'react';
import * as monaco from 'monaco-editor';
import { initServices } from 'monaco-languageclient/vscode/services';
import { useWorkerFactory } from 'monaco-editor-wrapper/workerFactory';
import '@codingame/monaco-vscode-standalone-languages';

const MonacoEditor = ({ id, value, language }) => {
    const editorRef = useRef(null); // Create a ref for the editor
    useWorkerFactory({
        ignoreMapping: false,
    });
    useEffect(() => {

        const setupEditor = async () => {
            // Initialize services
            await initServices({});

            monaco.editor.create(editorRef.current, { // Use the ref here
                value,
                language,
            });
        };

        setupEditor(); // Call the async function

    }, [value, language]); // Ensure dependencies are correct

    return

; // Attach ref to the div
};

export default MonacoEditor;

App.js:

import React from 'react';
import MonacoEditor from './MonacoEditor';

const App = () => {
    return (

            <MonacoEditor
                id="monaco-editor-root"
                value={`body {\n    background-color: red;\n}`}
                language="css"
            />
            <MonacoEditor
                id="monaco-editor-root1"
                value={`<html>\n    <head>\n        <title>Hello World</title>\n    </head>\n    <body>\n        <h1>Hello World</h1>\n    </body>\n</html>`}
                language="html"
            />

    );
};

export default App;

can anyone please tell me what i am missing here?

@kaisalmen @CGNonofr any chance you could help me figure out what I might be missing?


Find Kth distinct character from start of given String

Description
Given string str of size N containing all possible characters including integers. Print Kth distinct character from the starting of the given string. If K is more than a number of distinct characters, print -1.
Note: The uppercase and lowercase letters are considered different.
Examples:
Input: str = “prophet1999”, K = 4
Output: h
Domain
CPP
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

/assign


How to make a VS code extension

figure it out
document

This problem seems to have two parts to me. The first part is the interaction with VS code. The second part is setting up the API calls to the AIs. There's a few things that I've thought about to consider in regards to these parts.
VS Code

With the hope of allowing other AIs than just GPT in the future, we should create a setting that allows the user to choose which AI modal they are using. I think that this will be easier to implement from the start rather than as an after thought. Documentation for settings can be found here.
Along the same line of thought, we will want to have a setting so that the user can input their own API key. We will want to add a check that an API key has been inputted whenever the user starts up VS code and log a warn as well as show a message notifying the user.
I've had several thoughts on how we could handle the ui, but haven't really come to any conclusive "this way is the best". We could have our commands so they are runnable with ⌘⇧P or with a right click. We could make them runnable via a keyboard shortcut. We could have a window on the left of VS code (like the source control or remote explorer windows) to interact with the AI. We could use something like a git diff to show the suggested changes being made. I think that we should pick the one easiest way for now and get that working so that we can have a proof of concept as soon as possible.

Set up API calls

I've always used axios for making API calls in JavaScript/TypeScript and think that we should use that. It should completely meet our needs.
I think that we should have an abstract parent class that defines all the methods that our frontend will need (for example, completeCode, checkForBugs, cleanUpCode, etc). That way, we can inherit from that class and implement those methods differently based on the API. This should make extending the extension to use other AIs fairly easy without breaking things.
We will want to have very robust error handling on these calls. If the server is down, we don't want our extension to crash. But we also want to be as helpful to the user as possible. If their API key is wrong and the server is returning a message/code indicating that, we should show a message to the user.
We won't even want to call anything if the API key has not been inputted.


Anybody have tips about how to use *.css.d.ts files in a separate --outDir

Thank you for typed-css-modules, it's so helpful!
I tried using --outDir but I can't get TypeScript to grok the extra directory of .d.ts files, or at least, it doesn't seem to correlate them to the CSS module files. So, type-checking has worked for me when I don't use the --outDir option, but I haven't gotten it to work while using the --outDir option.
I did some research and tried a few things but no luck so far. Also, I recognize this is moreso a tsconfig.json question than a typed-css-modules issue, but asking just in case it's a simple answer that I've overlooked.
Thanks!

In order for this to work, TCM would need to support "ambient modules", which is requested in this issue: https://github.com/Quramy/typed-css-modules/issues/270


[hi] Invalid Link of  Kubernetes  Training Partners in training page.

This is a Bug Report
In Kubernetes Training page in hindi the link is not valid which do not  show
the several Kubernetes Training Partners.

Problem:
The embedded link is not valid.

Proposed Solution:
Update with the valid link
Page to Update:
https://kubernetes.io/hi/training/

/language hi
/sig docs
/assign

/area localization

/triage accepted

This issue is resolved under pull request
https://github.com/kubernetes/website/pull/46019

so i am closing this issue marking as resolved and completed

/close


Update metrics-core to 4.2.18

About this PR
📦 Updates io.dropwizard.metrics:metrics-core from 4.2.15 to 4.2.18
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.dropwizard.metrics", artifactId = "metrics-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.dropwizard.metrics", artifactId = "metrics-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

@scala-steward rebase

Superseded by #138.


Tweak home page example

Remove unused Component export.
export default () => ... is not recommended because it doesn't get a name. Changing this to an explicit assignment. Happy to change to App or whatever but this seemed clear enough.

While we are at it, can we define header variable which is used in style={header}s too? It's not defined, the example won't run 😅

While we are at it, can we define header variable which is used in style={header}s too? It's not defined, the example won't run

What is it supposed to be?

It can just be a fake import IMO import {headers} from "./style" or something like that maybe?

agree with @orta, otherwise
In https://github.com/facebook/react-native/blob/master/template/App.js it is defined as
  sectionTitle: {
    fontSize: 24,
    fontWeight: '600',
    color: Colors.black,
  },

so it could be
  const header = {
    fontSize: 24,
    fontWeight: '600',
    color: 'black',
  }

(replacing color to a string literal so that no extra dependency needed)

Please don't actually put the styles in - the point is that it looks and feels like the above screenshots. That it could be the implementation. Not that it is.

Do we want to mention "Fast Refresh" that isn't actually released yet?


expose lesserAndGreater functions from GovernanceWrapper

Description
These lesserAndGreater* functions are quite useful if you want to interact with
the Governance contract in more custom ways.
Make them public so they can be accessed outside of the module.
Other changes
n/a
Tested
testing with pull request.
Related issues
n/a
Backwards compatibility
n/a

I didn't end up using these functions directly, so just dropping the PR

I didn't end up using these functions directly, so just dropping the PR


Move configuration/service to services/configruation

What does this refer to? We don't have the configuration service as part of the boilerplate!?

Sorry, that's part of ember-configuration-service:
<EMAIL_ADDRESS>Superceded by https://github.com/kaliber5/ember-configuration-service/issues/398 .


How do I validate JSON schema with this tool?

How do I validate JSON schema with this tool?

@shridharkalagi You could possibly use the expect function to validate the res.body JSON schema compliance.


latest schema.json invalid

$ script/generate
go: finding github.com/interagent/schematic/cmd/schematic latest
go: finding github.com/interagent/schematic/cmd latest
go: finding github.com/interagent/schematic latest
schematic: duplicate titles detected for identity-provider

Maybe not urgent yet, we haven't needed to update the client for the Heroku provider yet. However just making sure you folks are aware @alindeman @mars

@talbright I missed this, I'll get someone to take a look at it or see if I can address it myself!

I'd almost say lets make sure the travis build runs the generate command so no PR can be merged until generate passes, but that would hold up non-generate related PRs.

I'd almost say lets make sure the travis build runs the generate command so no PR can be merged until generate passes, but that would hold up non-generate related PRs.

@talbright This is definitely something we've talked about before, but hadn't captured as an work item. We now have open issues for both addressing the duplicate titles in the identity-provider schema and validating the schemas in CI. I'll share those with you out-of-band.

Doing this upstream sounds good 👍


add blog post about dbz on RDS and skipping events

@gunnarmorling here's what I have.
Let me know if I should add or remove anything.

Thanks a lot, @hashhar! Shared some feedback with you as discussed. When updating the PR, can you also add an entry for you in _config/authors.yml? Thanks!

@gunnarmorling Have addressed comments and pushed.
also, converting two lists to ordered lists instead of unordered since they represented a sequence of events to be performed.

@gunnarmorling I have added a few credits to the people who helped me polish this post. Let me know if it looks okay or should I revert it?

A lot of thanks to the people who reviewed this post including Gunnar Morling (Lead Engineer of Debezium), Kapil Bharati (co-founder and CTO of Delhivery) and Akash Deep Verma (Architect of Data Governance team at Delhivery).

Let me know if it looks okay

Yes, it's good! The way we typically is to do it towards the end, in italic, and I'd hyper-link only the names but not their roles. E.g. see here.

Thanks for the reference. Updated it to match the style and pushed.

And it's live 🚀  https://twitter.com/debezium/status/1232356233308495873. Thank you so much, @hashhar!


Client screen and obfuscated class

Is it available to update the latest STABLE version's mapping?

You generally shouldn't rename existing stuff unless it's significantly wrong. Imo SplashScreen is a quite good name. Also linking to #1992 for info. The additions are however very fine.

Closing as this is outdated. Please reopen a PR if you want to backport the names of the snapshots


How to get the value of UARTCLK used by UART

In lesson1 exercise 2,I find the way to caculate the baudrate like below,
BAUDDIV = (FUARTCLK/(16 Baud rate))
but I cannot find the value of FUARTCLK,can anybody help to tell me where can I find the origin about FUARTCLK.
Thank you !

@gcrisis  check this https://github.com/s-matyukevich/raspberry-pi-os/pull/39#issuecomment-398120310

@s-matyukevich It really helped me a lot. Thank you！


Delete Terminal Not Working with Tornado version 6.0.1

Delete Terminal call is throwing 500 from Jupyter Server. Below is the stacktrace,
[E 21:50:25.879 NotebookApp] Uncaught exception DELETE /api/terminals/1 (<IP_ADDRESS>)
    HTTPServerRequest(protocol='https', host='<IP_ADDRESS>:8443', method='DELETE', uri='/api/terminals/1', version='HTTP/1.1', remote_ip='<IP_ADDRESS>')
    Traceback (most recent call last):
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/tornado/web.py", line 1699, in _execute
        result = await result
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/tornado/gen.py", line 736, in run
        yielded = self.gen.throw(*exc_info)  # type: ignore
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/notebook/terminal/api_handlers.py",line 36, in delete
        yield tm.terminate(name, force=True)
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/tornado/gen.py", line 729, in run
        value = future.result()
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/tornado/gen.py", line 736, in run
        yielded = self.gen.throw(*exc_info)  # type: ignore
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/terminado/management.py", line 333,in terminate
        yield term.terminate(force=force)
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/tornado/gen.py", line 729, in run
        value = future.result()
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/tornado/gen.py", line 209, in wrapper
        yielded = next(result)
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/terminado/management.py", line 96, in terminate
        yield sleep()
      File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/terminado/management.py", line 89, in <lambda>
        sleep = lambda : gen.Task(loop.add_timeout, loop.time() + self.ptyproc.delayafterterminate)
    AttributeError: module 'tornado.gen' has no attribute 'Task'
[W 21:50:26.118 NotebookApp] Unhandled error
[E 21:50:26.118 NotebookApp] {

After browsing through Jupyter issues directory I could find similar issue with Tornado related to Jupyter and was addressed in  https://github.com/jupyter/notebook/issues/4439 though it doesn't address Terminal issue. PR for the Jupyter fix for reference, https://github.com/jupyter/notebook/commit/d17caf92c0817e8bc771209a1e867f0c73e34724
I think we need to make a similar fix in
https://github.com/jupyter/terminado/blob/master/terminado/management.py#L89

Thanks @takluyver . Do you know when would be the new version of terminado plan to be release which would pick up the fix for this bug?

0.8.2 is released with the fix.


(SP:) Update uuid

Update uuid

This issue can be closed because this dependency is not needed after migration from azure-storage


kong.lua improvements

After #708, still left to do:

don't store the configuration and the DAO factory in globals anymore. Pass them along plugins through ngx.ctx and kong.core.
maybe consider using the ngx.ctx.kong.{dao_factory,configuration,...} namespace (for timers too).
improve plugins_iterator.lua so it can automatically execute the handler function for a given context.
avoid OOP pattern for plugins handlers. They can simply be a table and the xxx plugin executed messages can be done by plugins_iterator.lua.

@thibaultCha we did some changes on kong.lua in 0.6.0 - does this issue need any update given the new code?


Project not found

Hi, I have been testing your orb a little lately. When I follow your example I always got Project not found

You need to set CIRCLE_TOKEN for your environment variables.

Yup @Lilmortal is right. I should make the errors more obvious when CIRCLE_TOKEN isn't set.

I'm somehow seeing this although CIRCLE_TOKEN is set.

I'm somehow seeing this although CIRCLE_TOKEN is set.

@roopakv @m90 -  I've just encountered similar issue CircleCI explains that you have to use a personal token as oppose to the project token - changing token type worked for me

Marking this as done. I already updated the documentation to suggest using personal tokens


RichEditBox throws Microsoft C++ exception: error at memory location 0x0077DC10.

Describe the bug
RichEditBox throws Microsoft C++ exception when select the RichEditBox text using mouse.
Sample
Desktop_App.zip
Steps to reproduce the bug
Steps to reproduce the behavior:

Run the provided sample
Select rich edit box text using the mouse, it throws an exception when release the mouse left button

Expected behavior
It should not throw an exception.
Screenshots

Version Info

NuGet package version:

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

Additional context

Same call stack as #647, looks related.

Transferring this issue to WinUI's repo for investigation.


triple-shift co19 tests failing on ia32

The triple-shift tests changed from compile-time error to runtime error on the ia32 architectures, saying "not implemented yet"
The tests
co19/LanguageFeatures/nnbd/triple-shift/local_variable_read_A01_t03 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/triple-shift/local_variable_read_A02_t03 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/triple-shift/null_aware_operator_A09_t12 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/triple-shift/null_aware_operator_A11_t12 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/triple-shift/null_aware_operator_A13_t12 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/triple-shift/null_aware_operator_A15_t12 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/weak/triple-shift/local_variable_read_A01_t03 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/weak/triple-shift/local_variable_read_A02_t03 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/weak/triple-shift/null_aware_operator_A09_t12 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/weak/triple-shift/null_aware_operator_A11_t12 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/weak/triple-shift/null_aware_operator_A13_t12 RuntimeError (expected Pass)
co19/LanguageFeatures/nnbd/weak/triple-shift/null_aware_operator_A15_t12 RuntimeError (expected Pass)
co19/Language/Expressions/Shift/integer_t04/01
co19/Language/Expressions/Shift/integer_t04/02
co19/Language/Expressions/Shift/integer_t04/03
co19/Language/Expressions/Shift/integer_t04/04
co19/Language/Expressions/Shift/integer_t04/05
co19/Language/Expressions/Shift/integer_t04/06
co19/Language/Expressions/Shift/integer_t04/07
on configurations
dartk-strong-linux-debug-ia32
dartk-weak-asserts-linux-debug-ia32
are failing with errors like
stderr:
Unhandled exception:
UnimplementedError: int.>>> is not implemented yet
#0      int.>>> (dart:core-patch/integers.dart:110:5)
#1      main (file:///b/s/w/ir/out/DebugIA32/generated_tests/co19/Language/Expressions/Shift/integer_t04_01.dart:19:17)
#2      _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:283:19)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
--- Re-run this test:
python tools/test.py -n dartk-strong-linux-debug-ia32 co19/Language/Expressions/Shift/integer_t04/01

That's an expected improvement in behavior after I added operator >>> to int class. That operator is not implemented yet, hence run-time error.

Duplicate to https://github.com/dart-lang/sdk/issues/30892.


Please update your description for the variable "$BOT_NAME"

Hi. I read the question and noticed the problem with the bot name. I had the same problem.
I send @botfather command "/setcommands" and choose @mycats_bot and type "command1 - my description". Then I wrote in a chat (or click on the left "/"):
/command1@mycats_bot

But answer = empty. Why?! This is my error! My $BOT_NAME was wrong.
You need to update your description for the variable $BOT_NAME:
$BOT_NAME = 'username_bot';
This is username of bot with "_bot"!!! That you have specified in the @botfather in a message: "Now let's choose a username for your bot. It must end in bot".
Not "namebot" (example: "firstcats"), only "username_bot" (example: "mycats_bot").
Thanks.

I'll let you make a PR for this, ok?

Ok. Thank you very much!

I created #145
But, you change the description to "README.md" file. I am not strong in english.

merged!


[local_auth] didn't get PlatformException

import 'package:flutter/services.dart';
import 'package:local_auth/error_codes.dart' as auth_error;

try {
  bool didAuthenticate = await local_auth.authenticateWithBiometrics(
           useErrorDialogs:false,
      localizedReason: 'Please authenticate to show account balance');
} on PlatformException catch (e) {
  if (e.code == auth_error.notEnrolled) {
    // Handle this exception here.
  }
}

I using local_auth for biometric validation, if user didn't set up fingerprint, system will throw PlatformException error as mention in the doc, however the error is throw to debug console instead of the try catch method. This is kind a weird

@callmejm
Please provide flutter doctor -v and a minimal complete reproducible code sample along with expected and actual behavior.
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Alternative to SQL: SPL

https://github.com/SPLWare/esProc
More powerful query grammar easier understandable than SQL.

The whole point of this project is to provide a convenient and already known syntax for the everyday task. Any esoteric APL-inspired language is a step in the opposite direction.


Help setting up bot

Hello! i got errors:
Anyone knows what is the problem here?
2016-08-28 16:46:52,706 [       cli] [INFO] PokemonGO Bot v1.0
2016-08-28 16:46:52,720 [       cli] [INFO] commit: not found
2016-08-28 16:46:52,724 [       cli] [INFO] No auth argument specified, checking for C:\Users\Anthony\Desktop\PokemonGo-Bot-master\pokemongo_bot..\configs\auth.json
2016-08-28 16:46:52,734 [       cli] [INFO] Error: No /configs/config.json
2016-08-28 16:46:52,740 [      root] [ERROR] No tasks are configured. Did you mean to configure some behaviors? Read https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files#configuring-tasks for more information
Traceback (most recent call last):
File "pokecli.py", line 764, in
main()
File "pokecli.py", line 106, in main
config, config_file = init_config()
TypeError: 'NoneType' object is not iterable

have u edited auth.json ?

@uic3hj seems like you are missing a config.json file

Check your config.json at jsonlint.com (assuming you have one - if not, that is your issue).
Also you should give us more information as per the issue template, your commit, OS etc.

We are missing that wiki the bot prints. But either way, doesn't look like there is a config or auth setup.


Add dynamic native modules (MVP 0)

Implement dynamic native modules based on https://github.com/veracruz-project/veracruz/discussions/577
This is the first step of an MVP.
Done

Add extension to policy file to specify name, special file (VFS file that interfaces with the native module) and entry point (path to main binary) per native module. For this MVP we're not looking at implementing a full fledged packaging system with checksums, signatures, links to artifacts, etc. The artifacts will have to be injected into the execution environment before deployment
Replace legacy native module system with new system supporting dynamic native modules
Write sandboxer (sandbox2 client)
Implement native module management in the RM (sandbox environment init & teardown, native module launch)
Unify static and dynamic NM

Todo

Polish

Usage
Since no packaging system has been implemented yet, some binaries have to be injected into the execution environment before execution:

Compile Veracruz, the native module sandboxer and the TF Lite native module
Create the /tmp/nmm directory in the execution environment (the machine/container where the Runtime Manager is to be executed)
Copy native-module-sandboxer to /tmp/nmm/native-module-sandboxer
Copy tflite-nm to /tmp/nmm/tflite-nm/tflite-nm
Deploy Veracruz

Note:
Dynamic native modules are expected to read the execution configuration file (default /execution_config within the sandbox) in order to know what to do, where to get inputs and where to write outputs.

RFR.
I'll run rustfmt and commit the lock files when I get approvals

Did you take care of the Cargo.lock files? I approve, but need to make sure the Cargo.lock files are done according to @mathias-arm 's process.

I've just checked, the Linux, IceCap and Nitro runtime lock files are committed :heavy_check_mark:


Documentation: add link to the paper

Description
This PR modifies the more section of the documentation, adding a link to the paper.

/merge


XML::Text#native_content= should not escape content

Currently native_content= method behaviour is inconsistent.
Test case:
require "nokogiri"

doc = Nokogiri::HTML.fragment('Text\nelement')
doc.children.first.native_content = "You & Me\n" # Fail
doc.children.last.native_content = "You & Me" # Pass

puts doc.to_html

Expected result:
You & Me
You & Me

XML::Text node content is not escaped

Actual result:
You &amp; Me
You & Me

XML::Text node content is escaped, but it shouldn't

Regression: n/a

Well, the C function that implements Node#native_content= for both Text and Node calls xmlNodeSetContent which is documented as follows:

Replace the text content of a node. Sets the raw text content of text, CDATA, comment or PI nodes.
For element and attribute nodes, removes all children and replaces them by parsing @content which is expected to be a valid XML attribute value possibly containing character and entity references.

I acknowledge that this behavior is inconsistent, but we've labeled it as such by naming it native content (meaning, this is the underlying parser's method). The ruby method Node#content= is the method that is consistent, treating the input as a raw HTML string and escaping in both Text and Node contexts.
I guess we could introduce a new method that allows you to set non-raw text? Essentially this would be content = CGI::unescapeHTML(value), though, which I think is arguably clearer than inventing a new method like #escaped_content=.

I've tried to improve the documentation in 47626c8a


[INSTALL]ERROR: Failed building wheel for opencv-python-headless

cellpose-log.docx
Install problem
I followed the instruction to install Cellpose in Mac Mojave (10.14.6) and get the following error:
ERROR: Failed building wheel for opencv-python-headless
I have tried to install in python 3.8 and 3.10 and got the same error. I have also pre-installed opencv <IP_ADDRESS> but still got the same error. Please see attached for the full run log, and I posted a short version below. Any help will be appreciated!
Environment info
packages in environment at /Users/CWC/anaconda3/envs/cellpose_py3_10:

Name                    Version                   Build  Channel
bzip2                     1.0.8                h1de35cc_0
ca-certificates           2023.08.22           hecd8cb5_0
libffi                    3.4.4                hecd8cb5_0
ncurses                   6.4                  hcec6c5f_0
openssl                   3.0.12               hca72f7f_0
pip                       23.3.1          py310hecd8cb5_0
python                    3.10.13              h5ee71fb_0
readline                  8.2                  hca72f7f_0
setuptools                68.0.0          py310hecd8cb5_0
sqlite                    3.41.2               h6c40b1e_0
tk                        8.6.12               h5d9f67b_0
tzdata                    2023c                h04d1e81_0
wheel                     0.41.2          py310hecd8cb5_0
xz                        5.4.2                h6c40b1e_0
zlib                      1.2.13               h4dc903c_0
Run log
(base) sokol-office-25-86a:~ CWC$ python -m pip install cellpose[gui]
Collecting cellpose[gui]
Obtaining dependency information for cellpose[gui] from https://files.pythonhosted.org/packages/ac/e0/faa627a4b0cb36b33e18c7c4cf0363d2274d7cef90bbcee08354178d0397/cellpose-2.2.3-py3-none-any.whl.metadata
Using cached cellpose-2.2.3-py3-none-any.whl.metadata (21 kB)
Requirement already satisfied: numpy>=1.20.0 in ./anaconda3/lib/python3.11/site-packages (from cellpose[gui]) (1.24.3)
Requirement already satisfied: scipy in ./anaconda3/lib/python3.11/site-packages (from cellpose[gui]) (1.11.1)
Collecting natsort (from cellpose[gui])
Obtaining dependency information for natsort from https://files.pythonhosted.org/packages/ef/82/7a9d0550484a62c6da82858ee9419f3dd1ccc9aa1c26a1e43da3ecd20b0d/natsort-8.4.0-py3-none-any.whl.metadata
Using cached natsort-8.4.0-py3-none-any.whl.metadata (21 kB)
Requirement already satisfied: tifffile in ./anaconda3/lib/python3.11/site-packages (from cellpose[gui]) (2023.4.12)
Requirement already satisfied: tqdm in ./anaconda3/lib/python3.11/site-packages (from cellpose[gui]) (4.65.0)
Requirement already satisfied: numba>=0.53.0 in ./anaconda3/lib/python3.11/site-packages (from cellpose[gui]) (0.57.0)
Requirement already satisfied: llvmlite in ./anaconda3/lib/python3.11/site-packages (from cellpose[gui]) (0.40.0)
Collecting torch>=1.6 (from cellpose[gui])
Obtaining dependency information for torch>=1.6 from https://files.pythonhosted.org/packages/63/e4/efa1029677516b7d8231dca794ad445127263029b703f56d9986554a640c/torch-2.1.1-cp311-none-macosx_10_9_x86_64.whl.metadata
Using cached torch-2.1.1-cp311-none-macosx_10_9_x86_64.whl.metadata (25 kB)
Collecting opencv-python-headless (from cellpose[gui])
Using cached opencv-python-headless-<IP_ADDRESS>.tar.gz (92.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting fastremap (from cellpose[gui])
Obtaining dependency information for fastremap from https://files.pythonhosted.org/packages/88/2e/b24be0f145b762c2568116f87ab519b1215b5bd6bf81667fb9c60eae5dd7/fastremap-1.14.0-cp311-cp311-macosx_10_9_x86_64.whl.metadata
Using cached fastremap-1.14.0-cp311-cp311-macosx_10_9_x86_64.whl.metadata (9.7 kB)
Requirement already satisfied: imagecodecs in ./anaconda3/lib/python3.11/site-packages (from cellpose[gui]) (2023.1.23)
Collecting roifile (from cellpose[gui])
Obtaining dependency information for roifile from https://files.pythonhosted.org/packages/fd/15/6918cb0d6a3938602dc1fd116a93330e3c49a2e9f12891228ab2f990e20d/roifile-2023.8.30-py3-none-any.whl.metadata
Using cached roifile-2023.8.30-py3-none-any.whl.metadata (5.1 kB)
Collecting pyqtgraph>=0.11.0rc0 (from cellpose[gui])
Using cached pyqtgraph-0.13.3-py3-none-any.whl (960 kB)
Collecting pyqt6 (from cellpose[gui])
Obtaining dependency information for pyqt6 from https://files.pythonhosted.org/packages/a6/b8/5d6ef0a9913a45fe3314a558ee45adeaa2c9701cede0fc47492be989164d/PyQt6-6.6.0-cp37-abi3-macosx_10_14_universal2.whl.metadata
Using cached PyQt6-6.6.0-cp37-abi3-macosx_10_14_universal2.whl.metadata (2.1 kB)
Collecting pyqt6.sip (from cellpose[gui])
Obtaining dependency information for pyqt6.sip from https://files.pythonhosted.org/packages/4c/df/8ad3c2e8cc151fdb4293dcd6c2bb4375eb49b626c34a37e657aafcb8e245/PyQt6_sip-13.6.0-cp311-cp311-macosx_10_9_universal2.whl.metadata
Using cached PyQt6_sip-13.6.0-cp311-cp311-macosx_10_9_universal2.whl.metadata (503 bytes)
Requirement already satisfied: qtpy in ./anaconda3/lib/python3.11/site-packages (from cellpose[gui]) (2.2.0)
Collecting superqt (from cellpose[gui])
Obtaining dependency information for superqt from https://files.pythonhosted.org/packages/9e/25/f24abb44959276070c737bd45d2a2948b814360629a83a93d291dc42baf3/superqt-0.6.1-py3-none-any.whl.metadata
Using cached superqt-0.6.1-py3-none-any.whl.metadata (5.7 kB)
Collecting google-cloud-storage (from cellpose[gui])
Obtaining dependency information for google-cloud-storage from https://files.pythonhosted.org/packages/04/72/71b1b531cefa1daff8f6a2a70b4d4fa18dd4da851b5486d53578811b0838/google_cloud_storage-2.13.0-py2.py3-none-any.whl.metadata
Using cached google_cloud_storage-2.13.0-py2.py3-none-any.whl.metadata (6.1 kB)
Requirement already satisfied: filelock in ./anaconda3/lib/python3.11/site-packages (from torch>=1.6->cellpose[gui]) (3.9.0)
Requirement already satisfied: typing-extensions in ./anaconda3/lib/python3.11/site-packages (from torch>=1.6->cellpose[gui]) (4.7.1)
Requirement already satisfied: sympy in ./anaconda3/lib/python3.11/site-packages (from torch>=1.6->cellpose[gui]) (1.11.1)
Requirement already satisfied: networkx in ./anaconda3/lib/python3.11/site-packages (from torch>=1.6->cellpose[gui]) (3.1)
Requirement already satisfied: jinja2 in ./anaconda3/lib/python3.11/site-packages (from torch>=1.6->cellpose[gui]) (3.1.2)
Requirement already satisfied: fsspec in ./anaconda3/lib/python3.11/site-packages (from torch>=1.6->cellpose[gui]) (2023.4.0)
Collecting google-auth<3.0dev,>=2.23.3 (from google-cloud-storage->cellpose[gui])
Obtaining dependency information for google-auth<3.0dev,>=2.23.3 from https://files.pythonhosted.org/packages/86/a7/75911c13a242735d5aeaca6a272da380335ff4ba5f26d6b2ae20ff682d13/google_auth-2.23.4-py2.py3-none-any.whl.metadata
Using cached google_auth-2.23.4-py2.py3-none-any.whl.metadata (4.7 kB)
Collecting google-api-core!=2.0.,!=2.1.,!=2.2.,!=2.3.0,<3.0.0dev,>=1.31.5 (from google-cloud-storage->cellpose[gui])
Obtaining dependency information for google-api-core!=2.0.,!=2.1.,!=2.2.,!=2.3.0,<3.0.0dev,>=1.31.5 from https://files.pythonhosted.org/packages/c4/1e/924dcad4725d2e697888e044edf7a433db84bf9a3e40d3efa38ba859d0ce/google_api_core-2.14.0-py3-none-any.whl.metadata
Using cached google_api_core-2.14.0-py3-none-any.whl.metadata (2.6 kB)
Collecting google-cloud-core<3.0dev,>=2.3.0 (from google-cloud-storage->cellpose[gui])
Obtaining dependency information for google-cloud-core<3.0dev,>=2.3.0 from https://files.pythonhosted.org/packages/a2/40/02045f776fdb6e44194f34b6375a26ce8a61bd9bd03cd8930ed91cf51a62/google_cloud_core-2.3.3-py2.py3-none-any.whl.metadata
Using cached google_cloud_core-2.3.3-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting google-resumable-media>=2.6.0 (from google-cloud-storage->cellpose[gui])
Obtaining dependency information for google-resumable-media>=2.6.0 from https://files.pythonhosted.org/packages/c7/4f/b8e5e22406e5aeafa46df8799939d5eeee52f18eeed339675167fac6603a/google_resumable_media-2.6.0-py2.py3-none-any.whl.metadata
Using cached google_resumable_media-2.6.0-py2.py3-none-any.whl.metadata (2.1 kB)
Requirement already satisfied: requests<3.0.0dev,>=2.18.0 in ./anaconda3/lib/python3.11/site-packages (from google-cloud-storage->cellpose[gui]) (2.31.0)
Collecting google-crc32c<2.0dev,>=1.0 (from google-cloud-storage->cellpose[gui])
Using cached google_crc32c-1.5.0-cp311-cp311-macosx_10_9_x86_64.whl (30 kB)
Collecting PyQt6-Qt6>=6.6.0 (from pyqt6->cellpose[gui])
Obtaining dependency information for PyQt6-Qt6>=6.6.0 from https://files.pythonhosted.org/packages/e2/c4/a24b34893ee3f88853b68668bbedacccd0685d0d94bf3e4e7d5725d90cb3/PyQt6_Qt6-6.6.0-py3-none-macosx_10_14_x86_64.whl.metadata
Using cached PyQt6_Qt6-6.6.0-py3-none-macosx_10_14_x86_64.whl.metadata (534 bytes)
Requirement already satisfied: packaging in ./anaconda3/lib/python3.11/site-packages (from qtpy->cellpose[gui]) (23.1)
Requirement already satisfied: pygments>=2.4.0 in ./anaconda3/lib/python3.11/site-packages (from superqt->cellpose[gui]) (2.15.1)
Collecting googleapis-common-protos<2.0.dev0,>=1.56.2 (from google-api-core!=2.0.,!=2.1.,!=2.2.,!=2.3.0,<3.0.0dev,>=1.31.5->google-cloud-storage->cellpose[gui])
Obtaining dependency information for googleapis-common-protos<2.0.dev0,>=1.56.2 from https://files.pythonhosted.org/packages/21/49/12996dc0238e017504dceea1d121a48bd49fb3f4416f40d59fc3e924b4f3/googleapis_common_protos-1.61.0-py2.py3-none-any.whl.metadata
Using cached googleapis_common_protos-1.61.0-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5 (from google-api-core!=2.0.,!=2.1.,!=2.2.,!=2.3.0,<3.0.0dev,>=1.31.5->google-cloud-storage->cellpose[gui])
Obtaining dependency information for protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5 from https://files.pythonhosted.org/packages/e6/db/7b2edc72807d45d72f9db42f3eb86ddaf37f9e55d923159b1dbfc9d835bc/protobuf-4.25.1-cp37-abi3-macosx_10_9_universal2.whl.metadata
Using cached protobuf-4.25.1-cp37-abi3-macosx_10_9_universal2.whl.metadata (541 bytes)
Collecting cachetools<6.0,>=2.0.0 (from google-auth<3.0dev,>=2.23.3->google-cloud-storage->cellpose[gui])
Obtaining dependency information for cachetools<6.0,>=2.0.0 from https://files.pythonhosted.org/packages/a2/91/2d843adb9fbd911e0da45fbf6f18ca89d07a087c3daa23e955584f90ebf4/cachetools-5.3.2-py3-none-any.whl.metadata
Using cached cachetools-5.3.2-py3-none-any.whl.metadata (5.2 kB)
Requirement already satisfied: pyasn1-modules>=0.2.1 in ./anaconda3/lib/python3.11/site-packages (from google-auth<3.0dev,>=2.23.3->google-cloud-storage->cellpose[gui]) (0.2.8)
Collecting rsa<5,>=3.1.4 (from google-auth<3.0dev,>=2.23.3->google-cloud-storage->cellpose[gui])
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in ./anaconda3/lib/python3.11/site-packages (from requests<3.0.0dev,>=2.18.0->google-cloud-storage->cellpose[gui]) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in ./anaconda3/lib/python3.11/site-packages (from requests<3.0.0dev,>=2.18.0->google-cloud-storage->cellpose[gui]) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./anaconda3/lib/python3.11/site-packages (from requests<3.0.0dev,>=2.18.0->google-cloud-storage->cellpose[gui]) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in ./anaconda3/lib/python3.11/site-packages (from requests<3.0.0dev,>=2.18.0->google-cloud-storage->cellpose[gui]) (2023.11.17)
Requirement already satisfied: MarkupSafe>=2.0 in ./anaconda3/lib/python3.11/site-packages (from jinja2->torch>=1.6->cellpose[gui]) (2.1.1)
Requirement already satisfied: mpmath>=0.19 in ./anaconda3/lib/python3.11/site-packages (from sympy->torch>=1.6->cellpose[gui]) (1.3.0)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in ./anaconda3/lib/python3.11/site-packages (from pyasn1-modules>=0.2.1->google-auth<3.0dev,>=2.23.3->google-cloud-storage->cellpose[gui]) (0.4.8)
Using cached torch-2.1.1-cp311-none-macosx_10_9_x86_64.whl (146.7 MB)
Using cached cellpose-2.2.3-py3-none-any.whl (173 kB)
Using cached fastremap-1.14.0-cp311-cp311-macosx_10_9_x86_64.whl (815 kB)
Using cached google_cloud_storage-2.13.0-py2.py3-none-any.whl (121 kB)
Using cached natsort-8.4.0-py3-none-any.whl (38 kB)
Using cached PyQt6-6.6.0-cp37-abi3-macosx_10_14_universal2.whl (11.8 MB)
Using cached PyQt6_sip-13.6.0-cp311-cp311-macosx_10_9_universal2.whl (132 kB)
Using cached roifile-2023.8.30-py3-none-any.whl (16 kB)
Using cached superqt-0.6.1-py3-none-any.whl (88 kB)
Using cached google_api_core-2.14.0-py3-none-any.whl (122 kB)
Using cached google_auth-2.23.4-py2.py3-none-any.whl (183 kB)
Using cached google_cloud_core-2.3.3-py2.py3-none-any.whl (29 kB)
Using cached google_resumable_media-2.6.0-py2.py3-none-any.whl (80 kB)
Using cached PyQt6_Qt6-6.6.0-py3-none-macosx_10_14_x86_64.whl (54.5 MB)
Using cached cachetools-5.3.2-py3-none-any.whl (9.3 kB)
Using cached googleapis_common_protos-1.61.0-py2.py3-none-any.whl (230 kB)
Using cached protobuf-4.25.1-cp37-abi3-macosx_10_9_universal2.whl (394 kB)
Building wheels for collected packages: opencv-python-headless
Building wheel for opencv-python-headless (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for opencv-python-headless (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [865 lines of output]
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for opencv-python-headless
Failed to build opencv-python-headless
ERROR: Could not build wheels for opencv-python-headless, which is required to install pyproject.toml-based projects

Hi,
Following up on this issue. I have a similar error on running python -m pip install cellpose
error: note: This error originates from a subprocess, and is likely not a problem with pip.   ERROR: Failed cleaning build dir for imagecodecs Failed to build imagecodecs ERROR: Could not build wheels for imagecodecs, which is required to install pyproject.toml-based projects
Thanks in advance!

I am also having the same error on running python -m pip install cellpose[gui]
Thanks

Hi @directysj, I was able to install it. Try running the followign commands:
conda conda create --name cellpose python=3.8 anaconda conda activate cellpose python -m pip install cellpose python -m pip install 'cellpose[gui]' python -m pip install omnipose scikit-image

Thanks for sharing your solutions here but unfortunately none of these works for me. opencv still fails for me regardless of python versions. Can anyone help?

Maybe you can install with brew? (https://formulae.brew.sh/formula/opencv) But I'm not a Mac expert (apple is not super helpful with python). You also can run cellpose in google colab

did the brew option work, or the latest version of opencv? I think many Mac users have had success installing Cellpose recently. will close for now but let us know if you have issues


v1.12 Backports 2023-04-20

[x] #24786 (@hemanthmalla)
[x] #24869 (@tklauser)
[x] #24825 (@christarazi)
[x] #25067 (@christarazi)
[ ] #24939 (@jrajahalme)
[x] #24850 (@pchaigno)
[x] #24785 (@giorio94)

Once this PR is merged, you can update the PR labels via:
for pr in 24786 24869 24825 25067 24939 24850 24785; do contrib/backporting/set-labels.py $pr done 1.12; done

or with
make add-labels BRANCH=v1.12 ISSUES=24786,24869,24825,25067,24939,24850,24785

/test-backport-1.12

@christarazi There was a failure in a single pipeline at https://jenkins.cilium.io/job/Cilium-PR-K8s-1.20-kernel-4.9/1820/testReport/junit/Suite-k8s-1/20/K8sDatapathConfig_AutoDirectNodeRoutes_Check_direct_connectivity_with_per_endpoint_routes/ which might be related to the change in 29776a4a5e4aaa6dbd1c51c018f0512a61bfe283. Can investigate further, but before I do, does that ring any obvious bell to you or not?

@nbusseneau Thanks for digging in. I think my commit introduced a bug, so https://github.com/cilium/cilium/pull/25067 will be needed.
cc @pchaigno for review from the original PR

/test-backport-1.12

I think the latter is preferable so that the context for why we do it is all in the same commit.

Thanks for your note, I have performed the above.

/test-backport-1.12

test-1.16-4.9 hits https://github.com/cilium/cilium/issues/15455

Most of the reviews are in, CI jobs are good except for the above flake.
Marking this ready to merge.


Create dataset loader for TICO-19

NusaCatalogue: https://indonlp.github.io/nusa-catalogue/card.html?tico_19

Dataset
tico_19

Description
TICO-19 (Translation Initiative for COVID-19) is sampled from a variety of public sources containing COVID-19 related content, representing different domains (e.g., news, wiki articles, and others). TICO-19 includes 30 documents (3071 sentences, 69.7k words) translated from English into 36 languages: Amharic, Arabic (Modern Standard), Bengali, Chinese (Simplified), Dari, Dinka, Farsi, French (European), Hausa, Hindi, Indonesian, Kanuri, Khmer (Central), Kinyarwanda, Kurdish Kurmanji, Kurdish Sorani, Lingala, Luganda, Malay, Marathi, Myanmar, Nepali, Nigerian Fulfulde, Nuer, Oromo, Pashto, Portuguese (Brazilian), Russian, Somali, Spanish (Latin American), Swahili, Congolese Swahili, Tagalog, Tamil, Tigrinya, Urdu, Zulu.

License
CC0

#self-assign


Instantiating a Clone w/ TapToPlace as a Component

I am not sure if this is "by design", but if you have an object that has TapToPlace.cs added as a component, with a saved friendly anchor name specified and then go to instantiate a clone, the clones position and anchor matches that of the original object.  Even if you try to instantiate the object with a new pos and rot.  I assume because the position is saved by anchor.
I fixed this on my end by instantiating the object, changing the anchor name, attaching the anchor to the WorldAnchorManager, then changing the position and rotation.
I feel like the script should have done this for me though.  Maybe check to see if the world anchor store already has that key anchor name?  Then at on destroy remove the anchor that was cloned?
I guess it is just my opinion, but anyone else have any thoughts?  Or maybe I am missing something?  Thanks!

If anyone is having issues with this, Ive just been updating the friendly name with the date down to the second or millisecond that the object was intantiated.  Then, in best gaming practice, throw that object in a pool.
gameObject.GetComponent<TapToPlace>().SavedAnchorFriendlyName = "gameObject_" + System.DateTime.Now.ToString("yyyyMMddhhmmss");

@mattfedocsg With the latest PR You would just need to make sure the GameObject names are unique.


Problem with Liapac StarFinderLite with 5048 port

I have liapac StarFinderLite
I configured it to send TCP data to port 5048 but the device doesn't appear as Online on web server.
I captured the received data
Here the received (80 byte) data packet
String:
$AVRMC,99999999,002553,A,1520.8990,N,04411.6959,E,0.00,,120617,0,,41,1,628,*18

Hex stream:
244156524d432c39393939393939392c3030323535332c412c313532302e383939302c4e2c30343431312e363935392c452c302e30302c2c3132303631372c302c2c34312c312c3632382c2a31380d0a

Here another received (61 byte)  data packet
String :
$AVRMC,99999999,003849,V,,N,,E,0.00,,120617,0,,41,1,186,*36

Hex stream:
244156524d432c39393939393939392c3030333834392c562c2c4e2c2c452c302e30302c2c3132303631372c302c2c34312c312c3138362c2a33360d0a

Please guide me what to do .
Best regards.

I need protocol documentation.

Also, please next time don't spam everywhere with your question. If there is a recent OPEN thread about your exact problem, you can comment on it. In any other case you should create a separate issue.

Im so sorry sir im new with github hope u appriciate it .
Anyways i have tested the port 5048 with another laipac StarFinderLite and its working well.
The problem was because my device was sending a null course value so the database was rejecting the queries and showed as offline .
I guess i should replace my gps antenna .
Thank you so much and best regards.

Can you please stop commenting on both threads.


Connects to #214. Connects to #215. Connects to #223. New version of portal with public access to PASS1B-06 data.

Key Changes:

Converted components from protected access to public access, such as DEA search, data file downloads, gene-centric view, graphical clustering. Except file downloads, the other 3 components only offer access to PASS1B-06 data.
Anonymous users and authenticated external users only have access to PASS1B-06 data via the file downloads component, while authenticated consortium users have access to both PASS1B-06 and PASS1A/1C-06 data via the file downloads component.
A publicly accessible component was added to list the links to a variety of publicly accessible GitHub repositories pertinent to PASS1B-06 data pipelines, QC and analysis.
A downloadable somalogic metadata file was added to the HERITAGE related study page.
"Vena Cava" was added to the tissue filter on the file downloads, DEA search, Gene-centric View components.
Typeahead feature was added to the Gene-centric View search, as well as the DEA search by gene/metabolite.
Gene-centric View supports the search and time-series plots of multiple genes.
DEA search component supports the search of either multiple genes or multiple metabolites.
Search filters are disabled if the returned search results do not include data matching the filters.
A collection of bundled PASS1B-06 data sets was added to file downloads page.
The "Update results" button was moved to be above the filter panels on the DEA search and Gene-centric View pages.
A link to the external, publicly accessible graphical clustering data visualization too was added.
Primary navigation bar has been relocated to the top from the side, for the purpose of keeping the overall page UIs consistent among authenticated and non-authenticated users.
For authenticated external users, they can now access the PASS1B-06 data sample summary, in addition to the limited PASS1A-06 data samples, upon their successful logins to the portal.

@cteng585 The first 3 bullet points you reported have been addressed. Please try again and let me know.
The last bullet point is odd indeed. Would you mind listing the steps to reproduce it? Thank you.

@cteng585 which HERITAGE link did you click on via the data hub portal that led to the 403 error?

@cteng585, as far as the not-so-intuitive behavior of the DEA search page, aka the landing page upon logging into the portal, it will be very likely re-designed to improve the user experience, such as combining the Gene-centric View as David Amar suggested previously.
For this PR, this page is not exactly broken, and as you pointed out, it's been present in production. I will create a ticket to handle this behavior as an enhancement rather than a bug.


OkHttp and Retrofit Exceptions

Hello, I'm seeing some exceptions related to both libraries. I dont think these crashes actually happen on the latest versions of these libraries. I think they end up being treated as "RerofitError" instead of making apps crash. Have you considered upgrading?
  compile 'com.squareup.retrofit:retrofit:1.9.0'
  compile 'com.squareup.okhttp:okhttp:2.2.0'
  compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'

Its probably also worth upgrading Picasso to 2.5.0, with retrofit 1.9.0 and picasso 2.5.0 you no longer need the okhttp-urlconnection shim dependency.
Here are the crashes I'm seeing:
retrofit.RetrofitError: Unable to resolve host "dialog.filepicker.io": No address associated with hostname
at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:395)
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240)
at $Proxy11.pickFile()
retrofit.RetrofitError: timeout
at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:395)
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240)
at $Proxy19.pickFile()
at io.filepicker.services.ContentService.handleActionPickFiles(ContentService.java:151)
at io.filepicker.services.ContentService.onHandleIntent(ContentService.java:112)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: java.io.InterruptedIOException: timeout

I've updated it today and just pushed to maven, version 3.8.4

retrofit.RetrofitError: 401 Unauthorized, i am geting this dialog error. please tell me how to solve this.


When invoking sso it should not need creds

The sso client is special and does not need creds from profile, environment etc.
When using sso - get credentials, sometimes I don't have creds yet.
;basically my issue is this:

(aws/invoke
    (aws/client {:api :sso})
    {:op :GetRoleCredentials
     :request req})

 -> now it says unable to fetch credentials, if I don't have credentials configured for the default profile

My kludge around this is that I configure a dummy profile and make a sso client like this:
(aws/client
   {:api :sso
    :credentials-provider (creds/profile-credentials-provider
                           "dummy_profile")})

same issue with cognitect lib https://github.com/cognitect-labs/aws-api/issues/207

OK, better to fix it upstream probably and then we can include the fix here.

What is the import for creds/profile-credentials-provider?

     [cognitect.aws.credentials :as creds]
     [cognitect.aws.client.api :as aws]

if jvm lib
and
[pod.babashka.aws :as aws]
     [pod.babashka.aws.credentials :as creds]

with bb pod


How to define extern func with referenced mutable arguments?

Desc
Here I'm trying to define the HostFuncType<T> below as extern functions in wasmtime, but I don't know how to handle the &mut T
pub type HostFuncType<T> = fn(&mut T, &[Value]) -> Result<ReturnValue, HostError>;

It might be possible using ExternRef<Arc<RefCell<T>>> instead of doing something like this, but if there is any solution can pass the &mut T without breaking the arguments of the HostFuncType<T>?

Thanks for the report! Can you clarify what you're trying to do, however? Host functions are generally defined with the Func type, which should have a number of examples on it as well. Are you unsure on how to create a Func, though?

Thanks for the report! Can you clarify what you're trying to do, however? Host functions are generally defined with the Func type, which should have a number of examples on it as well. Are you unsure on how to create a Func, though?

Thanks for your relying @alexcrichton ~

Thanks for the report! Can you clarify what you're trying to do, however? Host functions are generally defined with the Func type, which should have a number of examples on it as well. Are you unsure on how to create a Func, though?

Yep,  I'm trying to implement a Func like:
fn my_host_func<T>(state: &mut T, args: &[val]) {}

fn main() -> Result<()> {
    // ...

    let my_extern_host_func = Func::wrap(&store, |state: &mut T, args: &[Val]| {
        my_host_func(state, args);
    });

    let instance = Instance::new(&store, &module, &[my_extern_host_func.into()])?;

    //...

    Ok(())
}

Thanks for your relying @alexcrichton ~

Thanks for the report! Can you clarify what you're trying to do, however? Host functions are generally defined with the Func type, which should have a number of examples on it as well. Are you unsure on how to create a Func, though?

Yep,  I'm trying to implement a Func like:
fn my_host_func<T>(state: &mut T, args: &[val]) {}

fn main() -> Result<()> {
    // ...

    let my_extern_host_func = Func::wrap(&store, |state: &mut T, args: &[Val]| {
        my_host_func(state, args);
    });

    let instance = Instance::new(&store, &module, &[my_extern_host_func.into()])?;

    //...

    Ok(())
}

When using &[Val] you'll want to use Func::new, and state: &mut T can't be given to you from wasm, so it can't be a parameter in the closure passed to Func::wrap. What you can do, however, is close over the state in the closure you provide to Func::wrap. If you need mutable access you'll need to use something like RefCell to account for the possibility that your closure is invoked recursively.

When using &[Val] you'll want to use Func::new, and state: &mut T can't be given to you from wasm, so it can't be a parameter in the closure passed to Func::wrap. What you can do, however, is close over the state in the closure you provide to Func::wrap. If you need mutable access you'll need to use something like RefCell to account for the possibility that your closure is invoked recursively.

When using &[Val] you'll want to use Func::new, and state: &mut T can't be given to you from wasm, so it can't be a parameter in the closure passed to Func::wrap. What you can do, however, is close over the state in the closure you provide to Func::wrap. If you need mutable access you'll need to use something like RefCell to account for the possibility that your closure is invoked recursively.

Thanks!
At least I'm certain about I can't pass state as a parameter now, I'll try to move state into the closure, afraid of not using state as a parameter, functions implemented in wasm could not recognize the signature of the host functions.
I'll do more practice and close this issue as I implement it.
Ref to https://github.com/bytecodealliance/wasmtime/issues/1678

When using &[Val] you'll want to use Func::new, and state: &mut T can't be given to you from wasm, so it can't be a parameter in the closure passed to Func::wrap. What you can do, however, is close over the state in the closure you provide to Func::wrap. If you need mutable access you'll need to use something like RefCell to account for the possibility that your closure is invoked recursively.

Thanks!
At least I'm certain about I can't pass state as a parameter now, I'll try to move state into the closure, afraid of not using state as a parameter, functions implemented in wasm could not recognize the signature of the host functions.
I'll do more practice and close this issue as I implement it.
Ref to https://github.com/bytecodealliance/wasmtime/issues/1678

Is there any example of making a function with &[Val] as parameters into a Func?

Is there any example of making a function with &[Val] as parameters into a Func?

In tthis case HostFuncTypeA will need to take &RefCell<T>, not a by-value version.

In tthis case HostFuncTypeA will need to take &RefCell<T>, not a by-value version.

In tthis case HostFuncTypeA will need to take &RefCell<T>, not a by-value version.

error[E0621]: explicit lifetime required in the type of `state`
  --> primitives/sandbox/src/imp/wasmtime/util.rs:93:2
   |
66 |     state: &RefCell<T>,
   |            ----------- help: add explicit lifetime `'static` to the type of `state`: `&'static RefCell<T>`
...
93 |     Func::new(store, wasmtime_sig(sig), func)
   |     ^^^^^^^^^ lifetime `'static` required

error: aborting due to previous error

If use &RefCell, it will require 'static, I'm not sure if this situation is possible, not sure about if I have to add 'static to T.

In tthis case HostFuncTypeA will need to take &RefCell<T>, not a by-value version.

error[E0621]: explicit lifetime required in the type of `state`
  --> primitives/sandbox/src/imp/wasmtime/util.rs:93:2
   |
66 |     state: &RefCell<T>,
   |            ----------- help: add explicit lifetime `'static` to the type of `state`: `&'static RefCell<T>`
...
93 |     Func::new(store, wasmtime_sig(sig), func)
   |     ^^^^^^^^^ lifetime `'static` required

error: aborting due to previous error

If use &RefCell, it will require 'static, I'm not sure if this situation is possible, not sure about if I have to add 'static to T.

Just got an example following #2491, https://github.com/chifflier/suricata/blob/295091c2e6598e84519d92b87dbe24d31c5fd070/rust/src/wasm/runtime_util.rs, but using Func::wrap()

Just got an example following #2491, https://github.com/chifflier/suricata/blob/295091c2e6598e84519d92b87dbe24d31c5fd070/rust/src/wasm/runtime_util.rs, but using Func::wrap()

Closing this because I'm certain about the problem in my implementation is not a wasmtime problem now.

Closing this because I'm certain about the problem in my implementation is not a wasmtime problem now.


Return entity without tags

Analogous to retrieving addresses without tags, it should also be possible to retrieve entities without tags. Tags should be optional.
This affects the following interfaces:
/{currency}/addresses/{address}/entity
/{currency}/entities/{entity}

Done


undefined is not a function

When calling jenkins describe, I get the following traceback:
[Thu Jun 11 2015 19:38:38 GMT+0000 (UTC)] ERROR TypeError: undefined is not a function
  at Connector.module.exports.Connector.message (/home/bot/node_modules/hubot-hipchat/src/connector.coffee:230:5, <js>:221:25)
  at HipChat.send (/home/bot/node_modules/hubot-hipchat/src/hipchat.coffee:35:7, <js>:50:38)
  at Response.send (/home/bot/node_modules/hubot/src/response.coffee:22:5, <js>:20:47)
  at /home/bot/node_modules/hubot-jenkins/src/jenkins.coffee:203:13, <js>:212:22
  at IncomingMessage.<anonymous> (/home/bot/node_modules/hubot/node_modules/scoped-http-client/src/index.js:95:22)
  at IncomingMessage.emit (events.js:129:20)
  at _stream_readable.js:908:16
  at process._tickCallback (node.js:355:11)

Any thoughts?

looks like it was credentials; my bad.


Bump identity event handler notification version

Need to bump the identity-event-handler-notification version to add the branding changes in email notifications

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2887178112

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2887178112
Status: success


Refactor ErrorHandler to remove dependency on session handler + log handler

See comment:

https://github.com/dart-lang/tools/pull/243/files#r1511733814

It may be worth while to explore having the session handler go away and have all of the functionality live within the UserProperty class since that is the only place it gets called

This been completed, we now send any pending error events that we caught during the dart process at the end when we call Analytics.close


Include data property on event while Konductor still requires it.

Description
Temporarily resolves an issue where Konductor was throwing errors because we weren't including data on event.

Related Issue
None.

Motivation and Context
Server errors are bad.

Screenshots (if appropriate):
Types of changes

[x] 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)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] All tests pass and I've made any necessary test changes.
[x] I have run the Sandbox successfully.

Sorry, false alartm. This isn't the real issue. The real issue is that I shouldn't have merged my xdm/data restructuring PR to master until Konductor releases their respective changes. Here's the PR that reverts my restructuring PR: https://github.com/adobe/alloy/pull/194


how to use it?

Hello!
I am playing with this lib, I am not quite sure where the entry point is . I suspect that the child_spec in the SnowflakeEx is
when using
DBConnection.start_link(SnowflakeEx,
  [host: "myhost",
  username: "myuser",
  password: "mypass",
  account_name: "account",
  database: "db_name"]
)

but I am getting a strange error
(RuntimeError) connect raised UndefinedFunctionError exception. The exception details are hidden, as they may contain sensitive data such as database credentials. You may set :show_sensitive_data_on_connection_error to true when starting your connection if you wish to see all of the details
    (snowflake_elixir 0.1.0) SnowflakeEx.connect/1
    (db_connection 2.3.0) lib/db_connection/connection.ex:81: DBConnection.Connection.connect/2
    (connection 1.0.4) lib/connection.ex:622: Connection.enter_connect/5
    (stdlib 3.12.1) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

Seems like the child_spec return a DBConnection spec using the SnowflakEx.Protocol, which then start a Gen server for the SnowflakeExConnectionServer?  What am I missing?

I have tried with this and seems like I am getting something
DBConnection.start_link(SnowflakeEx.Protocol,
  [host: "myhost",
  username: "myuser",
  password: "mypass",
  account_name: "account",
  database: "db_name"]
)

I now get a pid. is that expected? I am ensure how your child_spec in SnowflakeEx is suppose to be used unless this is for making a supervisor ?
Now trying to figure out how to use also your query API as I see a token in the state but a different error as well
SnowflakeEx.prepare_execute(pid, "yo", "SELECT ?", [42])
no function clause matching in SnowflakeEx.SnowflakeConnectionServer.handle_call/3
    (snowflake_elixir 0.1.0) lib/snowflake_elixir/snowflake_connection_server.ex:77: SnowflakeEx.SnowflakeConnectionServer.handle_call({:select_query, "SELECT ?", '*', []},  <the state details and I see a token in here>
     (stdlib 3.12.1) gen_server.erl:661: :gen_server.try_handle_call/4
    (stdlib 3.12.1) gen_server.erl:690: :gen_server.handle_msg/6
    (stdlib 3.12.1) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
````=

Hi!
Thanks so much for checking out the library! This is pretty early (as you can tell) and still needs a cleanup, but I believe that this can awesome library for working with Snowflake. :rocket:
With dbconnection, you should be supervising in your application so it'll restart incase of failures. Documentation for usage around this will definitely be something we want to improve ASAP.

yea sounds good! I spent time reading about db connection and how it used (looking at the source code and blog post they have) . Definitely works well. I think just updating the Readme on how to use it would be great. I ll see if I can send you a PR shortly

I created PR #6 to help a bit


Code Size Programmed using GAO HTTP, HTTP, CoAP, MQTT | Compiled IHEX

z1-websenseGao         {50015 bytes programmed}
z1-http-rtgs.predict       {50889 bytes programmed}
z1-coap-rtgs.predict     {52757 bytes programmed}
z1-mqtt-rtgs.predict      {58087 bytes programmed}

After Removing some variables, New compiled size is :
z1-websenseGao         {50921 bytes programmed}
z1-http-rtgs.predict       {50889 bytes programmed}
z1-coap-rtgs.predict     {52695 bytes programmed}
z1-mqtt-rtgs.predict      {57869 bytes programmed}
Mote still hangs after some request attempts. need to further remove functions and variables.


Microsoft.NetworkCloud AZ-CLI-EXTENSIONS updated with API version 202…

…4-06-01-preview

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[ ] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

Corresponding aaz updates: https://github.com/Azure/aaz/pull/545

@MikePham0630 according to extension versioning rule below:
the major version number of preview can increase by at most one compared to the last stable version. For example, the last stable version is 2.0.0, if there are breaking changes for next preview release, the version will be 3.0.0b1. Then another breaking changes for the next preview release, the version will be 3.0.0b2
https://github.com/Azure/azure-cli/blob/release/doc/extensions/versioning_guidelines.md#notes-1


The top N populated countries in a region where N is provided by the user.

Unable to complete due to project time constraints


Create a New Slide in the CSV Dataset & Quality Improvements Slide Deck for Synthesis of Discovery Calls

Problem Statement
As the Experience Team, we need to document our findings from the recent discovery calls with receivers/states so that we can share the findings with all ReportStream team members.
Acceptance Criteria
Please create a new slide in the CSV Dataset & Quality Improvements Slide Deck to document the synthesis from all recent receivers/states discovery calls.

@victorialb-usds I created slides 15, 16, 17 in the csv deck and added some content, particularly slide 15 and 17. I'll let you take it from here and then we can regroup.

@rachelhanster I added data to the slides and needed to add some. You can edit as you need to craft your narrative.

See here for the error data.
Here  for the pre post data. - Time saved is not clear. Data suggest time is being saved not in the unique uploading experience unless they were doing  a manual entry or SR like entry. Or they would be forced back to doing that as the places where they were reporting to were sunsetting their provider portals. Most users were doing CSV upload before and they commented that it was easy for them because they had done it before. The lower tech folks at COVID clinic struggled more with meeting the specs and that perhaps shows in the number of error messages.


feat: added .max(0) to correct cast to usize

should add some tests to check extreme/edge cases with integer overflow


no dns-delete script

Issue description
We have the Version v<IP_ADDRESS> on Windows 10
There no way to configure a dns-delete script.
If the same as the dns-add scrit is choosen, the there is a Warning:
No delete script configured, validation record remains

I will release a fix for this shortly!


UpdateOne: Validation of encrypted attribute does not work

Node version:  10.15.1
Sails version (sails): 1.2.3
ORM hook version (sails-hook-orm): 2.1.1
Sockets hook version (sails-hook-sockets): 1.5.5
DB adapter & version (sails-mysql): 1.0.1

Actual behavior:
Attributes get validated twice by calling the WL.updateOne function. The first time (in updateOne function) it passes, the second time (in update function) it fails, because the attribute is already encrypted.
Sails updateOne callstack:

Call forgeStageTwoQuery(query, orm)
1.1 Call normalizeValueToSet(query.valuesToSet[attrNameToSet], attrNameToSet, query.using, orm, query.meta)
1.1.1 Check Validations & Encrypt
Call WLModel.update({fetch: true, skipEncryption: true}, ...)
2.1 Call normalizeValueToSet(query.valuesToSet[attrNameToSet], attrNameToSet, query.using, orm, query.meta)
2.1.1 Check Validations but do not encrypt: Validations of already encrypted values fail!

Possible solution:
Add the skipEncryption:true to the query.meta of the first normalizeValueToSet call and remove it from the second.

Hey, @OscarMeier!
Would you mind providing a minimal repo that reproduces this behavior? Thanks!

Sure, I've pushed the repo to https://github.com/OscarMeier/sails-update-one-validation. I've wrote an integration test to check the update blueprint action and two unit tests to check the WL update and updateOne functions.
You can run npm test to reproduce the mentioned updateOne issue.

Hey @OscarMeier, thank you for putting this together.  I think your suggested solution makes sense.  My understanding is that we're saying (1) in the first forge call, use skipEncryption:true, then (2) omit that from meta in the internal call to .update().  That sounds right on target, and I'm happy to review a related PR.
Thanks again for your patience and willingness to help!

@OscarMeier I just tested your PR with your repo and verified that it fixes the issue


fixed typo error

closes #708
fixed Typo error in Add to Cart.

kindly solve conflict

@codervivek5 I have resolved merge conflicts.


fix example in json

example should be same level with schema

We now have a v3.1.1-dev branch containing a versions/3.1.1.md file - please could you retarget your changes? Thank you.

thanks, see #2547


disable local playwright tracing by default

This PR disables playwright tracing on local e2e tests unless process.env.TRACE is enabled. Tracing has a performance impact, so it makes sense to only trace tests when we're interested in them.
An alternative would be to enable retries locally and use trace: 'on-first-retry' instead. This would be valuable if the majority of contributors use traces as a first debugging step, otherwise requiring manual activation (ie. this pr) might be best.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

If trace on retry is used, the result archiving needs to be updated to include retried results. They are currently filtered to keep the archive smaller
https://github.com/sveltejs/kit/blob/4592b76d87c25e5cbaaec1d7f1ad08dfd322fcf3/.github/workflows/ci.yml#L48

This was only about local tests. Do you believe we should move CI from retain-on-failure to on-first-retry? I'm not sure it's a good deal, having tracing always enabled on CI might even surface timing-sensitive errors we miss locally due to the different execution.


Add README.md to the example

We should add a README.md to the example with instructions on how to run the example locally. Specifically, we need to describe that the library should be packed first with yarn pack and then we can do cd example/ and yarn install. Adding some extra instruction on about installing the app with yarn android or yarn ios would be nice too 🙂

Closed by #27


offshoot gen_test_data() from very long generate_data()

Function generate_data is huge and messy.
Refactor it.

Thank you for posting the PR to this repo!
The changes look good, though it would make my life a little easier if I hold off on merging it until I can remove the original code from instructlab/instructlab. I'm hoping that's done this week.

Thanks for the updates.
The changes look good, though it's highlighting the lack of integration testing in this repo. I'm going to look into that now.

I got an e2e workflow enabled on this repo in #33. I'm going to rebase this PR to trigger it to run.

@mergifyio rebase

@Mergifyio rebase


code refactor: CommandResult.Error needs real fields not a map

after the work in https://github.com/stargate/data-api/pull/1454
it's clear now we have a better view on what an error should be, from Error Object v2 work, and the CommandResult.Error is a hot mess with a map of values that is expeded by jackson

refactor so we have fields on the record for all the expected fields of an error object
work out how to have the JSON serialisation ignore that fields that are either not set, or we dont want to send. The hard part will be that the "scope" field is optional for error object v2. But maybe we just make sure Jackson excludes fields that are null, and we make sure to set scope to empty string (which I think already happens)

this will have a wide impact in the code base

Partially addessed in #1447
it adds CommandErrorV2 class that is used for the warnings, this ticket is now to change the code for errors to use that class and its CommndError (v1) parent whenneeded.


NixOS containers don't get built

Since one or two weeks newly created nixos containers won't be built at all (on master branch). Independent on the method of creation (declarative, imperative, nixops) their root under /var/lib/containers will contain nothing except /etc/nixos/configuration.nix.
Here is an example:

nixos-container create test
/var/lib/containers/test does not contain a full filesystem hierarchy and does only consist of /etc/nixos/configuration.nix
nixos-container start test will fail because of 2.

I can reproduce this behavior on three different machines running on current to up to 4 days old master. Due the massive amount of resulting recompilation I wasn't able to bisect the intriguing commit yet. Further I have just started using containers therefore my understanding of their internals isn't good enough to fastly find the bug. Maybe someone can lead me in the right direction or is able to reproduce this error.

Closed due https://github.com/NixOS/nixpkgs/commit/1da87d40628c99081bac0a5d8b32c27123889826


Add min to BatchedArray

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

Project coverage is 100.00%. Comparing base (2bb84e1) to head (dbc99ac).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #637   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           31        31
  Lines         2664      2675   +11
  Branches       342       343    +1
=========================================
+ Hits          2664      2675   +11

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


fix: recognize content types with whitespace

The RFC for content-type header format allows optional whitespace before the semicolon. Our regular expressions for recognizing various mime types do not account for this, so valid mime types may not be recognized. This commit adjusts the expression to close that gap.

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

:tada: This PR is included in version 9.17.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Feature/tax category

This covers

Adding the tax category entity and related model functions.
Have kept in soft delete for deleting a tax category and get_all tax_categories operations.

@arjun289 please improve coverage; then label it as review & merge.


OverflowError when adding stream with float framerate

When adding a stream with a floating point framerate, as follows:
    import av

output = av.open('test.avi', 'w')
output.add_stream('rawvideo', rate=30.000001)

I receive the following error message:
---------------------------------------------------------------------------
OverflowError                             Traceback (most recent call last)
 in ()
4
5 output = av.open('test.avi', 'w', format=None, options=dict())
----> 6 output.add_stream('rawvideo', rate=30.)
av/container/output.pyx in av.container.output.OutputContainer.add_stream (src\av\container\output.c:2656)()

av/container/output.pyx in av.container.output.OutputContainer.add_stream (src\av\container\output.c:2322)()

OverflowError: Python int too large to convert to C long

My av version is 0.3.3, on Win64, Python 3.5.2. My guess is that it gets converted to a fraction, which contains an integer that is too large for a Clong. Is there a possibility to get around this?

30.000001 is interpreted as 30.000001000000001 in Fraction.
This error does not occur when the argument is passed as a string.
>>> from fractions import Fraction
>>> Fraction(30.000001)
Fraction(8444249582794657,<PHONE_NUMBER>10656)
>>> Fraction('30.000001')
Fraction(30000001, 1000000)

output.add_stream('rawvideo', rate='30.000001')

@vbkaisetsu  thanks, the following solved this for me.
I limit the rate to 4 decimals, as I noted that MPEG-4 only allows a timebase of max 66535.
import av

output = av.open('test.avi', 'w')
output.add_stream('rawvideo', rate='{0:.4f}'.format(30.000001))

In that case, I think you can also use limit_denominator:
stream = output.add_stream(codec, rate=Fraction(export_rate).limit_denominator(65535))

Ok thanks, that works too indeed

Does anyone know if there is a way to detect what the maximum denominator is for a codec except for hard-coding one?
We could bypass the overflow error by limiting to 2**32-1, or (I'm leaning towards) throwing an error of our own that is more descriptive.

Let's keep this alive.


another attempt to fix badge for github pages

Codecov Report

Merging #258 (1e4c632) into master (0638dd8) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #258   +/-   ##
=========================================
  Coverage     70.10%   70.10%
  Complexity      643      643
=========================================
  Files            94       94
  Lines          2000     2000
  Branches        273      273
=========================================
  Hits           1402     1402
  Misses          495      495
  Partials        103      103

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more