Animation in path

I was trying to animate stroke of the path so i was unable to achieve that. Below is the code i used for it. What i'm actually trying to achieve is a running line. someone please help me, any help would be appreciated.
const AnimatedPath = Animated.createAnimatedComponent (Path);
constructor (props) {
super (props);
this.state = {
animatedValue: new Animated.Value (0),
};
}
var animatedColor = this.state.animatedValue.interpolate ({
inputRange: [0, Number.MAX_VALUE],
outputRange: ['rgba(0, 0, 0, 0.8)', 'rgba(0, 0, 0, 0)'],
});
<AnimatedPath
strokeOpacity={lineStrokeOpacity}
strokeDasharray={showDashedLine ? lineStrokeDashArray[i] : ''}
key={i}
d={data}
fill={fillArea ? (Color[i] ? animatedColor : '#000') : 'none'}
stroke={Color[i] ? animatedColor : '#000'}
strokeWidth={lineWidth}
/>
react-native -v = 0.47.1
react-native-svg = 5.4.1

I don’t have a huge amount of experience with the react native animation, but have you tried upgrading react-native and react-native-svg?

No success. @dustinsavery thanks for the suggestion.

@codesinghanoop Check here e.g. https://github.com/msand/SVGPodTest/blob/a74a600818e496efaa78298291b63107295064bf/App.js#L14-L57

Thanks for helping however i implemented this. Hey check this out https://github.com/codesinghanoop/react-native-d3multiline-chart

Very cool, looks great!


Added shortname for french days names

Please review and merge required for http://www.diagonaledesfous.com

Hm, so how does French themselves solve this duality of Mar = Mardi/Mars ? Do they shorten "Mars" ?

Days are normally written with Le in the beginning like Le Mar for month it is always Mar.

As far as I know and read online:

days of the weeks in fr_FR are shortened like this:

mardi becomes mar.

But other fr_* locales don't have the .(dot) dot at the end. See for example http://lh.2xlibre.net/values/abday/, fr_FR vs. fr_BE
Same for abbreviated month names:

for fr_FR, "Mars" is not abbreviated in "Mar", but left as is

but other locales do shorten "Mars": http://lh.2xlibre.net/values/abmon/

Hi @redapple thanks for your input! TIL about glibc files. I think we might want to consider adding context of locales to dateparser at some point in future. But for now, we can assume fr_FR for our purpose. In the meantime, we'll make a note of it somewhere in our docs. What do you think @Allactaga?

My opinion: Locale should be introduced when the differences in word forms are big enough to split detection into two separate languages. We're probably going to get there with Chinese (zh_CN and zh_TW), but for minor differences, like this one, I would vote for a variant within one language. We could use negative lookahead expressions like (?!\.) to make sure that's not an abbreviation.

Made the change to drop Month name abbreviation unsupported by fr_FR locale. Thank you all for the help!


redundant checks in checkpoint.py

The assert statements here and here are identical. It seems that that code block was inadvertently copied.

fixed in https://github.com/pytorch/torchtitan/pull/657


Depth Not Properly being Tracked

Depth is improperly being tracked, need to recalculate values being used to accurately determine depth. Probably only need to adjust value 230.0 to something else. Alternatively Electrical could be asked to try diffrent supply Voltage
https://github.com/avbotz/Nautical/blob/240468f27d2eadc80db45db4342c063eae5365c5/src/main.cpp#L270

Electrical Messed up, Issue closed as no software resolution exsists.

LOL as always, it's never a software issue


Update compat.py

Coverage decreased (-0.6%) to 56.858% when pulling d05fe7516e5a3cd09656ccce6f0a7276dff9e0c6 on AnnaYasenova:patch-1 into 7366de80efcbbdfaf615d3f1fea72546196916fc on ryanmcgrath:master.

Coverage increased (+0.06%) to 57.523% when pulling d05fe7516e5a3cd09656ccce6f0a7276dff9e0c6 on AnnaYasenova:patch-1 into 7366de80efcbbdfaf615d3f1fea72546196916fc on ryanmcgrath:master.

Hi! Would this change make nump a dependency?


Where is an upgraded client?

wallet create Alexandra 2-3
[info] Generating new keys
[error] <ClientError:UPGRADE_NEEDED BWC clients < 1.2 are no longer supported.>
ClientError {
code: 'UPGRADE_NEEDED',
message: 'BWC clients < 1.2 are no longer supported.' }

https://github.com/bitpay/bitcore-wallet-client

That's the client library... In the readme it point to a CLI client. Is there no command line client that's supported any longer?

The client in the readme is listed as https://github.com/bitpay/bitcore-wallet

current CLI at the link you provided requires 2.3.1 of BWC, so you should not see error message about <1.2
Upgrade your bitcore-wallet

Yes you'll see from the title of my issue I don't know how. I cloned bitcore-wallet and yesterday and received this error.

did you perform npm install in the cloned directory? nodejs packages need to run install to install the required dependencies... perhaps you have an old version of BWC on your system.

To be honest I'm not the one who installed it. I guess I shouldn't assume things. Let me check thank you.

I'm confused the version at the link i sent is clearly labelled 0.6.1

The error you sent 'BWC clients < 1.2 are no longer supported.' means that your instance of bitcore-wallet is using an old version of bitcore-wallet-client. If you look at the most recent version of bitcore-wallet, the dependencies are stated as follows. (Check package.json)
  "dependencies": {
    "bitcore-wallet-client": "git://github.com/bitpay/bitcore-wallet-client#41abd4fd6365db083cda9d305978121a03e86d6e",
    "commander": "^2.6.0",
    "lodash": "^3.3.1",
    "moment": "^2.9.0",
    "npmlog": "^1.2.0",
    "qr-image": "^3.1.0",
    "read": "^1.0.5",
    "sjcl": "^1.0.2"
  },

You can view the source for the commit noted at this link:
https://github.com/bitpay/bitcore-wallet-client/tree/41abd4fd6365db083cda9d305978121a03e86d6e
If you check package.json for bitcore-wallet-client at this commit, it says
"version": "2.3.1",

So just to test it out, I just ran:
$ git clone https://github.com/bitpay/bitcore-wallet
$ cd bitcore-wallet
$ npm install
$ grep "\"version\":" node_modules/bitcore-wallet-client/package.json
>  "version": "2.3.1",

yes my version of BWC is also 2.3.1
you'll notice the error says "BWC clients" under version 1.2 are no longer supported... the command line client https://github.com/bitpay/bitcore-wallet is listed as 0.6.2

BWC client is referring to bitcore-wallet-client. I know this for a fact because I have been following all these repos for over a year and I know why this error was created.
bitcore-wallet-client version 1.2 included code that breaks compatibility with <1.2 versions.
The error message has nothing to do with bitcore-wallet, even if you made your own CLI wallet software, if you use <1.2 bitcore-wallet-client, you will get this message.

Well according to what you are saying what is happening should not be. The language looks pretty clear. This error should be rewritten at the least because it says bwc client. Regardless clone both repos yesterday 2 days ago on a brand new digital ocean droplet with node and npm installed and bwc reports the latest version

Are you able to you the command line client bitcore-wallet?

$ git clone https://github.com/bitpay/bitcore-wallet
$ cd bitcore-wallet
$ npm install
$ grep "\"version\":" node_modules/bitcore-wallet-client/package.json
>  "version": "2.3.1",

Try this. I literally did this just now and got no error.

I have done that without errors too. However as my op stated when attempting the wallet create command I receive the version error listed.

Also your string appears to be looking for something that was already there in bwc repo before the bitcore-wallet install.

Change
npm install
to
npm install -g .
Don't forget the period.
The wallet command is from the globally installed bitcore-wallet, you are not using the bitcore-wallet you cloned.

Ok that makes sense I'll try that thank you!

bitcore-wallet-client in bitcore-wallet's dependencies version too low.
If you not use it globally just use in your project try following:

rm -rf /YOURPROJECT_PATH/node_modules/bitcore-wallet-client #delete low version dependency
npm install bitcore-wallet-client --save #reinstall bitcore-wallet-client ,v4.4.0 works for me


Easier Pokemon filter.

So, I'm sure this isn't the best way to implement it, but i threw this table in my login.html and now I can just click the Pokemon I want to filter/hide. It does work for me and I'm able to easily click the pokemon I do/don't want to show in my filter.

I put my table code right after:
 Fill in a list of Pokemon to filter (ex: 1,2,3,4)
My table below:
`

`

Check out the latest version, it should be a bit easier to deal with now.


Add Renderscript V8 library to maven android sdk deployer

New pull request with just Renderscript Library.

ping ... not sure .. do we want to use this? Or look for another way?


Expand to include p5 libraries/addons eg p5.sound

Currently only the basic p5 is wrapped.
It is not clear how to include the libraries that sit in "p5\lib\addons".

Hi. I include the line import "p5/lib/addons/p5.sound" in my sketch.js and I get a compile error "loadSound' is not defined", at the line song = loadSound("/src/test.ogg"). Is there something I did wrong?

If you write import 'p5/lib/addons/p5.dom'; in the sketch file then it throws an error:
Uncaught ReferenceError: p5 is not defined
    at Object../node_modules/p5/lib/addons/p5.dom.js

I would also like to know how to use the sound library. I get the following error when trying to use p5.FFT like so const fft = new p.FFT()
Uncaught TypeError: p.FFT is not a constructor

The issue isn't actually with this library, if you are in<EMAIL_ADDRESS>you will notice that the type declarations for p5 are missing the <reference path="./lib/addons/p5.sound.d.ts" /> tag even though the file exists 🤔.. I will make a PR into the p5-types repo sometime later in the week and hopefully once that is done you can use all the p5 sound methods via the p5.constructor object that is on the p5 object provided to all sketch modules.

Their is an example usage from the @types/p5 official package of using P5.sound in an app. There is also an answer for why this is, kind of, here.
Since P5.dom and P5.sound are add ons in the P5 eco-system by default anyway, it makes sense that you add them only as needed via imports or the usual script route.
With the example above and this in mind, I will now close the issue.

I'm trying to get this working, just want to understand the step-by-step way of getting this working.

Do I need to first npm install --save @types/p5
Can I just add import "p5/lib/addons/p5.sound" in my Sketch file and use it straightaway?

I tried them and I get the errors saying:


0.0.1 - Subscription cache

Very simple subscription cache based on subs-manager.
Idea for enhancement:

Set the cache with the current default but relies on Meteor.settings for separating value from development and production settings.
Create a default dev.json and prod.json with more interesting values.

LGTM; I think as we don't have any code that validates this, let's find and fix code in upcoming commits.


build: Insert missing ampersand issue #432

This PR fixes 432 by adding the missing ampersand to the csproj file.
It further fixes the failure of the build, when building a second time.
Also, the mkdir command fails if the bin folder already exists.
Using mkdir -p resolves that issue (for linux), since it only creates the folder, if it does not exist and does not fail if it exists.

Would someone please be so kind to have a look at why the OSX functional tests step does not start/continue? I'd restart it myself, but I have no permission to do so.
Thanks in advance

@healukas, Review of PR and bugfix to be conducted next week.
@sowu880 & @RuiyiC for your review

@microsoft-github-policy-service agree [company="Healex GmbH"]

@microsoft-github-policy-service agree company="Healex GmbH"

@healukas
Thanks a lot for your contribution, all tests passed, and the PR will be merged.

@healukas
Thanks a lot for your contribution, all tests passed, and the PR will be merged.

@sowu880 thanks a lot!


Unable to add certificate to RD farm

Hello,
I ran at a problem when trying to add a new certificate to RD farm using ImportRDSFull.ps1 as post renewal script.
Specifically,
I got the following error, running win-acme at the Remote Desktop Connection Broker
2024-01-23 12:22:04.925 +02:00 [VRB] Cert thumbprint was not set successfully to RD Gateway
2024-01-23 12:22:04.928 +02:00 [VRB] Error: The path 'RDS:\GatewayServer\SSLCertificate\Thumbprint' does not exist.

With a little bit of debugging, I think the issue is caused in ln.87-98 where the script assumes that the localhost is also a Gateway, which is not always the case.
If I comment out this section the script works.
Furthermore, the section seems redundant since the certificate is set to the Gateway using the Set-RDCertificate cmdlet in ln. 171-184
Also, I think no output is provided in the terminal and I had to search through the log.
Any feedback would be welcome.
Platform:

OS: Windows 2019, English
Version: <IP_ADDRESS>1 (release, trimmed, standalone, 64-bit)

Hi Nikos, thanks for reporting this, but as you can imagine it's tricky to support these scripts, because of all the different deployment scenarios out there. Probably if we comment out the line like you did, sooner or later someone will report that in their setup, they actually needed that. I don't have lab environments available to test this, and even I did, I lack the required knowledge about RDS. Perhaps you could work with @christaylorcodes who recently made some changes to try and make this more reliable.
Generally the best advice about using example scripts is to test them, modify them as needed, and save them in a seperate folder for yourself so that your version doesn't get overwritten with some future update.

Hi Wouter,
thank you for the swift reply. I understand, you can't really support all the different deployments. And this is a minor issue, the client works pretty well.
In that particular case though, this code block seems redundant, at least for my understanding. I would definitely like another opinion from @christaylorcodes if it's possible.

I would agree that lines 87-107 are redundant to 200-223
This command would only work where the local machine is the Gateway.
The only benefit I can see is this doesn't rely on the cert being exportable, but that is already a documented requirement.
I would also argue that lines 108-120 would fall under that same logic. Setting the local RDP listener to use the cert even though it might not be part of the RD deployment.
The script logging/output is redirected to the event log.
$Filter = '<QueryList><Query Id="0" Path="Application"><Select Path="Application">*[System[Provider[@Name="win-acme"] and (EventID=27401)]]</Select></Query></QueryList>'
Get-Winevent -FilterXml $Filter

My last update, I tried to make as little change as possible to resolve the issue I was facing.
I currently manage 50+ RD environments but only a handful of them are multi-server farms.
I can start monitoring the results of the script more closely and make more updates to the script if that is something you would be interested in.

Quick script modification for review.
https://github.com/christaylorcodes/win-acme/blob/master/dist/Scripts/ImportRDSFull.ps1
I will deploy it to my managed systems and monitor.

Hello @christaylorcodes
I agree with what you said.
I have also tested your script modification in my lab environment and it succeeded, with some errors in line 168.
Similarly with above, it tries to start the gateway service locally,  which does not exist.
Script error: "Get-Service : Cannot find any service with service name 'TSGateway'."
I am not sure if it is needed, but maybe a cmdlet like this could be used in order to get the fqdn of the Gateway (if it exists) and invoke the command to it.
Lastly, I've noticed a small typo in the numbering of the positional parameters (0,1,3 instead of 0,1,2). It might not affect anything, I don't know :)


issue to run journey multiple tmes based on user segments.

We are trying to create a journey on self hosted instance. We have to make sure that the journey should run multiple times per user. For this we have checked the radio button on as shown in picture:

But the issue is that the journey is running only once and when the same event is triggered again the button automatically turns to uncheck and the journey did not run. The journey only run once.
Steps to reproduces:

Create a segment of users based on properties of event. (i-e I have used 2 properties like “status” and “user_id”.
Create a journey based on the segment as shown in picture.

Mark the flag to run multiple times.
Start the journey.

Expected behaviour:
The journey should run when ever the properties meet the condition. For Example, when ever the event occurs in which properties has status draft and user id is 1027. The journey should run.
Actual Behaviour:
The journey did not run every time and the button which we have checked o run journeys multiple times gets unchecked automatically.

Hi @hasnat-venturenox that's the expected behavior! In order to ensure the user enters the journey multiple times you'll need to do one of the following:

Add a time window to your segment to ensure the user can exit, and then re-enter the segment. See the below example where I've also removed the user id condition, which would otherwise restrict the segment to a single user.

The other option is to create an event entry journey. This will ensure a new journey instance is created with every "assess spec created" event. In contrast, the above segment entry will not run a new concurrent journeys with every event, and can only run at most 1 segment entry journey instance per user at a time.

Going to close this for now! Feel free to create another issue or reach out on discord if you have any other questions.


[feature request] Yank to clipboard

From issue #30:

please modify/add feature that the text copied using "yank" commands like "y$" Y" etc... will be copied to the clipboard so that the copied text can be pasted to other places

It may be enough to just ensure that this plugin works fine, and refer to it in the README: https://github.com/kutsan/zsh-system-clipboard
See this comment for more thoughts:
https://github.com/softmoth/zsh-vim-mode/issues/36#issuecomment-755445082

It may be enough to just ensure that this plugin works fine, and refer to it in the README: https://github.com/kutsan/zsh-system-clipboard
See this comment for more thoughts:
https://github.com/softmoth/zsh-vim-mode/issues/36#issuecomment-755445082


Add .vscode/settings.json

Configure rustfmt to tidy use statements by setting
"rust-analyzer.rustfmt.extraArgs": [
    "--config=group_imports=One,imports_granularity=Module"
]

Does this introduce different behavior if run from vscode vs the command line?

Does this introduce different behavior if run from vscode vs the command line?

cargo fmt run from the command line does not re-order use statements. It's fine with whatever order the author provides and maintains that order.
VSCode with this configuration is more opinionated and tidies up use statements. cargo fmt run from the command line is fine with that order and will maintain it.


"unlinkDir" not firing

On Ubuntu 14.04 the following code works when I add, modify or remove a file in the "src" directory. However when I remove a directory from it (for example "src/a"), "unlinkDir" does not fire. Am I doing something wrong?
var watcher = chokidar.watch('src/**/*.coffee');
watcher.on('add', compile);
watcher.on('change', compile);
watcher.on('unlink', remove);
var dirWatcher = chokidar.watch('src/**');
dirWatcher.on('unlinkDir', removeDir);

The glob pattern src/** appears to be matching only the files, not the directories. This will work if you just watch src with dirWatcher - only listening to unlinkDir and/or addDir will filter the events to only dir-level events as you intended (at least based on my quick local testing that appears to be the case).
The pattern seems like it ought to match the subdirs, so what needs to be investigated is why they're being filtered out in this example.

@es128,
I have a similar situation as @Dorosty but it is ever so slightly different.
I have a watch on some files of a given extension, in my case, .ts from a glob (**/*.ts). If I am listening for all events, and I delete a directory containing the a .ts file that meets the glob criteria, I do not receive an event.
For example,
I'm watching all .ts files in src. If I delete src/someDir which contains src/someDir/someFile.ts, I do not receive an unlink event for someFile.
This does not seem like an expected behavior to me. What do you think?
Thanks,
Dan

@danbucholtz sounds like a bug that's not necessarily related to the resolved one from this issue.
Could you please file a new issue and include details like version, OS, and which options are being used?

@es128, will do. Thanks!
Thanks,
Dan


Can we ensure consistency and refence comparison tables of Message Encryption?

Can we make sure this comparison table on this page - aligns with the comparison and language of: https://learn.microsoft.com/en-us/microsoft-365/compliance/ome-version-comparison?view=o365-worldwide
(and also references it)

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

ID: 21613e57-8909-5adc-26ea-14e0a4771d3b
Version Independent ID: dcd08c8d-4786-abbd-bd9d-47ad6d2117e6
Content: Email encryption in Microsoft 365 - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/email-encryption.md
Service: o365-seccomp
GitHub Login: @KCCross
Microsoft Alias: krowley

@KCCross Please help us in resolving this issue. Thanks

@gbms311 Thanks for your feedback! New issues and pull requests for this content are closed while we update this content to support upcoming feature improvements.


Support MFA refreshing

Problem
When Multi-factor-authentication (MFA) credentials expire, boto makes no attempt to refresh them, but immediately throws the error:
RefreshWithMFAUnsupportedError: Cannot refresh credentials: MFA token required.
Relevant code
This is due to the refresher not being implemented yet.
https://github.com/boto/botocore/blob/c6ebb3be3acc946e3b706333294320dc7e304dd7/botocore/credentials.py#L222-L238
Proposed solution
Implement the suggestion proposed in the refresher.
Some context
For context: I use boto3 with MFA in a Jupyter notebook (through s3fs). If I wait too long between making 2 calls, I get the error.
As a result I have to restart my entire kernel, which can result in a big loss of time.

@IvoMerchiers - Thank you for your post. I would mark this as a feature request.

@swetashre Is there any way to see a roadmap/timeline for such features? Or even to have an idea of whether this is being worked on?
Because this is quite a hassle in long-running processes now.

As IvoMerchiers mentioned, restarting the kernal in jupyter will allow you to manually force the mfa refresh request when your session times out.

I just run into this issue as well. While I can restart the jupyter kernel to refresh the mfa, it is not ideal, especially if running a long process. Any updated on this issue?

Here's a work around I implemented. This will prompt for a MFA token when the current temporary credentials are close to expiring (the default advisory expiration period in boto3 is 900 seconds).
Given how simple this implementation appears I don't understand why this isn't already implemented in core. Perhaps there are some edge cases that make this option sub-optimal. For my use-cases, this is working so far.
def fix_boto_assume_role_with_mfa_refresh(session):
    credentials = session.get_credentials()
    real_refresh = getattr(credentials._refresh_using, '_refresh', None)
    if callable(real_refresh):
        credentials._refresh_using = real_refresh

Example usage:
import boto3
session = boto3.Session()
fix_boto_assume_role_with_mfa_refresh(session)
ec2 = session.client('ec2')

The effect of the above hack is to remove the following lines:
https://github.com/boto/botocore/blob/34adb1efcb6f7f94787d2deb54d7163e17dfbfb2/botocore/credentials.py#L1528-L1529


routerLink not working properly

passing a list to routerLink does not create a proper link, the routerLink component is missing all together. passing a simple string to routerLink does work

nevermind, I needed to change routerLink to routerlink routerLink did not work


Yaml file generate

Can you help me with generating yaml file, and creating api route for it.

with open api 3 support

I think the middleware does not yet support yanl output, only json output.. need to add the NSwag.Core.Yaml package to NSwag.AspNetCore and output yaml when the extension is .yaml

Can you show sample how NSwag.Core.Yaml should be used?

NSwag.Core.Yaml contains extension methods/static methods to read/write OpenApiDocument objects to/from YAML.
https://apimundo.com/organizations/nuget-org/nuget-feeds/public/packages/NSwag.Core.Yaml/versions/latest?tab=types&namespace=NSwag&type=NSwag.OpenApiYamlDocument

        app.UseOpenApi(p => p.Path = "/swagger/{documentName}/swagger.yaml");
        app.UseSwaggerUi3(p => p.DocumentPath = "/swagger/{documentName}/swagger.yaml");


Expand worst flag derivation?

Tester feedback:

The function has to be called twice to derive high and low flags for the same parameter. For example, SYSBP / DIABP / PULSE / WEIGHT / etc all have worst flags on both sides. Is it possible to update the function to get worst high and worst low in different columns ?

Fyi @Roche-GSK/admiral-devs

I think if all parameters require a worst high and a worst low flag, it is better to use two derive_extreme_flag() calls (or call it twice using call_derivation()).
If some parameters require a worst high flag, some parameters require a worst low flag, and some both flags, extending derive_worst_flag() is an option. Another option is implementing a more general functionality (see https://github.com/Roche-GSK/admiral/issues/701).

Agree the new general functions and vignette tagged above will cover this case so I'll close this issue.


Update Cocoapods on Mac images

Tool name
Cocoapods
Tool license
MIT
Add or update?

[ ] Add
[X] Update

Desired version
latest (1.11.2)
Approximate size
No response
Brief description of tool
macOS 10.15 has CocoaPods version 1.11.0 installed.
They introduced a bug on that version that makes the tool fail when trying to clone azure repos with ssh.
The bug was fixed in 1.11.1
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[X] macOS 10.15
[X] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response

Current version is 1.11.2 as of my latest action run.

Hello @pyanierothef,
We've just updated macOS images, and they contain required version of Cocoapods.
If you have any questions, feel free to contact us.
I'm going to close the issue.

We've just updated macOS images, and they contain required version of Cocoapods.

Hey, @Darleev, might you have an idea of how we could pick a specific version of Cocoapods on the macOS VM? Similar to how actions/ruby or actions/node allow us?

@typeoneerror we install only the latest cocoapods version on the macOS images. Currently, version 1.11.2 is installed. However, you can use the following action to install required version in runtime: https://github.com/marketplace/actions/setup-cocoapods


Failing in iOS using latest Cordova

This is great - thank you. It's working fine in Android, but in iOS using the latest Cordova (4.2.0 cli, iOS 3.7.0) I am stuck  - it's attempting to write to a bad path:
2015-01-09 23:49:35.744 GroupAhead[4902:36770] FileTransferError {     body = "Could not create path to save downloaded file: The operation couldn\U2019t be completed. (Cocoa error 513.)";     code = 1;     "http_status" = 200;     source = "http://<IP_ADDRESS>:1337/images/uploaded_photos/groupahead/thumbnail/thumbnail-groupahead_79700c48-c6ef-4202-9d3f-b900989cc3ad.jpg?groupkey=groupahead&token=3673f31d3cf0d641bc72fdbb1110f2c4204fa634c1c9a967770a93cbfe17a7af&v=1.0.0";     target = "cdvfile://localhost/root/imgcache/c9c8591092e4085047e99644adc7f8588e869cfe.jpg"; } 2015-01-09 23:49:35.744 GroupAhead[4902:36770] File Transfer Error: Could not create path to save downloaded file: The operation couldn’t be completed. (Cocoa error 513.)
When I put a String.replace call in to change the path from cdvfile://localhost/root/imgcache/c9c85.... to cdvfile://localhost/persistent/imgcache/c9c85... it started working. So I am pretty sure it's attempting to write to the wrong path.

Here's a fix: https://github.com/chrisben/imgcache.js/pull/96


tensorflow 1.8

I want to quick install and it begin to catch tensorflow==1.8.0. But the speed is too low to finish. It always stop during the download.
can I download tensorflow 1.8 first and then install the pre-trained models?
And do i need to download cuda 9? If I want to use my GPU, which edition of cudnn should I use?
I know that before the recent update I should use cudnn 6.0. What about now?

If you're using the latest (0.0.6) version of deeppavlov, you can install tensorflow-gpu==1.8.0 beforehand, yes. You will also need cuda 9.0 installed. We tested our models on cudnn 7.


Modify default behavior of etc/DependencyInstaller.sh not to modify /usr/local or ~/.local

Description
Modifying /usr/local and ~/.local makes it convenient to compile OpenROAD, but it can damage the system w.r.t. conflicts with e.g. Ubuntu 22.04 and 22.10 behavior and it is difficult to undo the changes to /usr/local and ~/.local
Suggested Solution
Modify the default behavior of etc/DependencyInstaller.sh to create a folder e.g. ~/openroad-dev and install tools there. Add a "etc/env.sh" script that sets up env vars to point to ~/openroad-dev
Installing .deb and .rpm packages should be fine. How to uninstall them is well understood.
This behavior is reasonably easy to use and safe.
Additional Context
No response

Is there a problem with using etc/DependencyInstaller.sh -prefix=~/openroad-dev?

Is there a problem with using etc/DependencyInstaller.sh -prefix=~/openroad-dev?

Not as long as "sudo etc/DependencyInstaller.sh" doesnt modify /usr/local and ~/.local

It shouldn't - if it does, then that's worthy of a bug report.

It shouldn't - if it does, then that's worthy of a bug report.

That would be this github issue.

Can you be more specific about which files are being modified or created in /usr/local or ~/.local?

Can you be more specific about which files are being modified or created in /usr/local or ~/.local?

I was told that it does. I didnt want to run the script to find out, because it messed up my machine. I will follow up next week.

With latest OpenROAD:
$ which cmake
/usr/bin/cmake
$ sudo etc/DependencyInstaller.sh

@oharboe the problem is that you are using sudo to install. This means you are installing to system directories, and this is expected behavior. If you run with etc/DependencyInstaller.sh -prefix=DIR then it will install to DIR and not override any of your PATH.

@oharboe the problem is that you are using sudo to install. This means you are installing to system directories, and this is expected behavior. If you run with etc/DependencyInstaller.sh -prefix=DIR then it will install to DIR and not override any of your PATH.

I have done both: if you run DependencyInstaller.sh wo arguments, you must prefix sudo as it installs to /usr/local.
I think the solution to this usability issue is to always add sudo and then drop down to the user when installing user bits. That way the user can never do anything wrong: always add sudo.

I disagree, many users don't have sudo access on their machine. I think it's fully reasonable to do:
sudo DependencyInstaller.sh --> Install to /usr/local
DependencyInstaller.sh -local --> Install to $HOME/.local
DependencyInstaller.sh -prefix=DIR --> Install to DIR
I think DependencyInstaller.sh -help is reasonably clear about this. Maybe the script could error if not invoked with sudo or another option, I suppose it doesn't do that right now.

moot after sudo ./setup.sh was introduced. DependencyInstaller.sh is now an implementation detail used by setup.sh and docker images and the API is not critical as users are not exposed to it.


Snap error when setting up new server

When I try to run the install script I get the following error:
Updating proxy
Sorry, home directories outside of /home are not currently supported.
See https://forum.snapcraft.io/t/11209 for details.
(23) Failed writing body
error: Error while retrieving waterfall version
error: Could not update server files

Running on a fresh install with:
snap    2.57.1
snapd   2.57.1
series  16
ubuntu  20.04
kernel  5.4.0-125-generic

I'm not sure what arcane system you are running on, but the minecraft user must be able to create a home directory under /var/lib/minecraft like many system services do. This seems to be unsupported by your installation, which is insane. Not much I can do unfortunately.

Fresh Ubuntu 20.04 LTS install from like 10 days ago .-.
Quite confused why it doesn't want to work. I'll try upgrading to 22.


Chore: Have a Claudie Hardening section in the docs

Description

Currently we only have network policies for claudie hardening to be mentioned, this topic could be explored further.
Exit criteria

[ ] Claudie hardening section

This section should consist of:

Network Policy config
Changing default passwords


[NEW FEATURE REQ] Skip some message of messageQueue

FEATURE REQUEST

Please describe the feature you are requesting.
Skip some message by tools or other ways to avoid app error without exception catch.

Provide any additional detail on your proposed use case for this feature.
Sometimes producer send error msgs to topic, it will be block the consumer's consume because the consumer didn't try catch this exception(like json format error)

There are there ways to fix skip the error msgs:

skip to the latest msg's offset(already offered)
skip to sometime(already offered)
make a hotfix to skip the msgs(programing by users)

how about reset consume offset?

how about reset consume offset?
@coder-zzzz

Ok. I will push a pr laterly. Provided in tools

@coder-zzzz that would be very nice of you  😊


Cant change the manufacturing data in BLE ESP32 Arduino

I am trying to change the manufacturing data everytime the ble advertises
I am using Nodemcu32S as a board, the code for ble server goes like this :
Serial.begin(115200);
Serial.println("Starting BLE work!");
BLEDevice::init("Transmitter1");
BLEServer *pServer = BLEDevice::createServer();
//BLEService *pService = pServer->createService(SERVICE_UUID);
pAdvertising = pServer->getAdvertising();
Serial.println("Characteristic defined! Now you can read it in your phone!");
}

void loop() {
// put your main code here, to run repeatedly:
Serial.println("started Advertisement");
pAdvertising->start();
delay(2000);
pAdvertising->stop();
Serial.println("Stopped Advertisement");
setadvdata();
delay(500);
}

void setadvdata(){
servicedata = String(val);
  advdata.setManufacturerData(servicedata.c_str());
  pAdvertising->setAdvertisementData(advdata);
  //Serial.println("Cardname :"+cardname);
  if(val == 999){
    val = 956;
  }
  else{
    val++;
  }
  Serial.println("val"+String(val));
}

The ble client I am trying to check if a device have a ble name as well as a manufacturing data or not, if so then print it :
class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks {
void onResult(BLEAdvertisedDevice advertisedDevice) {
name = advertisedDevice.getName().c_str();
data = advertisedDevice.getManufacturerData().c_str();
Serial.println("Name :"+name+"Manfc data :"+data);
delay(1000);
}
};

void setup() {
Serial.begin(115200);
BLEDevice::init("");
pBLEScan = BLEDevice::getScan(); //create new scan
pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks(),true);
pBLEScan->setActiveScan(true); //active scan uses more power, but get results faster

}

void loop() {
// put your main code here, to run repeatedly:
Serial.println("Scanning ..");
foundDevices = pBLEScan->start(scanTime);
Serial.print("Devices found: ");
Serial.println(foundDevices.getCount());
Serial.println("Scan done!");
delay(2000);
}

Is there something with the code?
The serial monitor output shows the cardname as "MiniBeacon_00956", it doesnt change to anything.
Update :
Previous post included me adding the manufacturer data as "Minibeacon__00956", the code I have posted above , I have changed the manufacturing data to "956".
-After the change, the ble-server transmits the data from with the manufacturer data from 956 to 961, after that the manufacturing data stays the same, i.e 961.
-Nothing to do with 961, after 5 increments the value in the manufacturer data field stays the same.
-On my end, I will try to free the objects after every 5 transmission and see what happens.
Any kind of help will be appreciated.
-One more thing, since in real-time I think the manufacturing data is not supposed to be changed, so if you can give me any other field with variable values will be nice.

Ok small update on the ble-server side,
So I said, I will try to free the object and try the code, the above code stayed the same,
only the method setadvdata() is what I changed to the following :
void setadvdata(){
  BLEAdvertisementData advdata = BLEAdvertisementData();
  servicedata = String(val);
  advdata.setManufacturerData(servicedata.c_str());
  pAdvertising->setAdvertisementData(advdata);

  if(val == 999){
    val = 956;
  }
  else{
    val++;
  }
  Serial.println("val"+String(val));
}

Which resulted in running the code successfully, the ble-scanner is able to scan all manufacturer's data that the ble-server is sending.


Map hypervisor mem inside Grant Table driver

Move memory mapping of Xen node to Grant Table driver system init function.
Note: Xen Grant Table driver doesn't use Zephyr Device Model.

Also, please add information about mmu_regions.c change for some board and about adding new kconfig value (it is very important to clarify what it parameter do, why it should be synced with size of grant table and why it was not needed before, when we used static mapping).


Feat: Enhancing full Sidebar and searchbar with icons to Align with Website Theme.

Describe the feature
The feature involves enhancing the design of the search bar to better align with the overall theme of the website. Currently, the search bar does not meet the visual standards of the website theme and lacks aesthetic appeal. By implementing changes to the design, including adjustments to colors, typography, and layout, we aim to create a more visually appealing and cohesive search bar that seamlessly integrates with the website's theme.

Please assign me this issue
Add ScreenShots
I want to change Search bar and search button with icon:

Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@dhruv389 checkout new design if you want to make react elements for that design for can but not in this issue.

i want to make Side bar , and i will give it glassmorphism effect and all sections with icons accroding your figma design.

@dhruv389 you can work for this issue.

hello @Satyam1923 ,
i  made this design . and i am woking on it ..
is it okay  ??

but you have to change the lable : Level2 to  Level3. There's a lot of changes left to do.and i am working on it.

hello @riyasachdeva04 , @saurabhsingh720 ,@Satyam1923 .
i want to create 4 different pull requests for this tasks.


Add more spacing and cleanup docblocks.

Full path for exception classes.
Added space before @return.
Added dots to comments.
Move incorrect aligned params.

:+1:


Errors on Google Colab

Description
Hey there. This looks like an awesome project, but I'm struggling to get it working on Google Colab. I've tried to debug this a bit and install PaddlePaddle in different ways after the instructions in the readme didn't work, but for simplicity in this issue I'll only describe the errors when using the readme's instructions:
# On a GPU-enabled machine
pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple
pip install detextify

I appreciate any help you're able to provide. Thank you!
TL;DR
After installing with the recommended method from the README, I get the following error while importing from detextify:
from detextify.paddle_text_detector import PaddleTextDetector
from detextify.inpainter import LocalSDInpainter
from detextify.detextifier import Detextifier

Error: Can not import paddle core while this file exists: /usr/local/lib/python3.8/dist-packages/paddle/fluid/libpaddle.so

Context
I'm using a GPU accelerated runtime on Google Colab Pro.
Link to my notebook: https://colab.research.google.com/drive/12SiA5ZbIXXD6QXg83TgqN3WM7G6jm2QE
Here's the result of !nvidia-smi in case it's helpful for debugging:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03    Driver Version: 510.47.03    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla T4            Off  | 00000000:00:04.0 Off |                    0 |
| N/A   47C    P0    27W /  70W |      0MiB / 15360MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

Installation Outputs
The following are the full outputs for each pip install:
PaddlePaddle
!pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple
Output:
Looking in indexes: https://mirror.baidu.com/pypi/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting paddlepaddle-gpu
  Downloading https://mirror.baidu.com/pypi/packages/41/03/1c33aabd3229f2a80fac0e1c120e2a9baa465be224562416f112d4352716/paddlepaddle_gpu-2.4.1-cp38-cp38-manylinux1_x86_64.whl (585.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 585.2/585.2 MB 2.3 MB/s eta 0:00:00
Collecting paddle-bfloat==0.1.7
  Downloading https://mirror.baidu.com/pypi/packages/76/d7/ba0e1aeec33e20c78af5cf2fdbb7e7cabfe4679557e68759a17c97e03540/paddle_bfloat-0.1.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (385 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 385.5/385.5 KB 9.0 MB/s eta 0:00:00
Requirement already satisfied: opt-einsum==3.3.0 in /usr/local/lib/python3.8/dist-packages (from paddlepaddle-gpu) (3.3.0)
Requirement already satisfied: requests>=2.20.0 in /usr/local/lib/python3.8/dist-packages (from paddlepaddle-gpu) (2.25.1)
Requirement already satisfied: six in /usr/local/lib/python3.8/dist-packages (from paddlepaddle-gpu) (1.15.0)
Requirement already satisfied: astor in /usr/local/lib/python3.8/dist-packages (from paddlepaddle-gpu) (0.8.1)
Requirement already satisfied: Pillow in /usr/local/lib/python3.8/dist-packages (from paddlepaddle-gpu) (7.1.2)
Requirement already satisfied: numpy>=1.13 in /usr/local/lib/python3.8/dist-packages (from paddlepaddle-gpu) (1.21.6)
Requirement already satisfied: protobuf<=3.20.0,>=3.1.0 in /usr/local/lib/python3.8/dist-packages (from paddlepaddle-gpu) (3.19.6)
Requirement already satisfied: decorator in /usr/local/lib/python3.8/dist-packages (from paddlepaddle-gpu) (4.4.2)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.8/dist-packages (from requests>=2.20.0->paddlepaddle-gpu) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/dist-packages (from requests>=2.20.0->paddlepaddle-gpu) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/dist-packages (from requests>=2.20.0->paddlepaddle-gpu) (1.24.3)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/dist-packages (from requests>=2.20.0->paddlepaddle-gpu) (2.10)
Installing collected packages: paddle-bfloat, paddlepaddle-gpu
Successfully installed paddle-bfloat-0.1.7 paddlepaddle-gpu-2.4.1

detextify
!pip install detextify
Output:
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting detextify
  Downloading detextify-0.1.8-py3-none-any.whl (12 kB)
Requirement already satisfied: torch<2.0.0,>=1.13.0 in /usr/local/lib/python3.8/dist-packages (from detextify) (1.13.1+cu116)
Collecting paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>
  Downloading paddleocr-<IP_ADDRESS>-py3-none-any.whl (440 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 440.6/440.6 KB 11.5 MB/s eta 0:00:00
Collecting requests<3.0.0,>=2.28.1
  Downloading requests-2.28.2-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 KB 8.2 MB/s eta 0:00:00
Collecting diffusers<0.11.0,>=0.10.2
  Downloading diffusers-0.10.2-py3-none-any.whl (503 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.1/503.1 KB 38.3 MB/s eta 0:00:00
Collecting azure-cognitiveservices-vision-computervision<0.10.0,>=0.9.0
  Downloading azure_cognitiveservices_vision_computervision-0.9.0-py2.py3-none-any.whl (39 kB)
Collecting pillow<10.0.0,>=9.3.0
  Downloading Pillow-9.4.0-cp38-cp38-manylinux_2_28_x86_64.whl (3.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 92.4 MB/s eta 0:00:00
Collecting transformers<5.0.0,>=4.25.1
  Downloading transformers-4.26.0-py3-none-any.whl (6.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 107.0 MB/s eta 0:00:00
Collecting replicate<0.5.0,>=0.4.0
  Downloading replicate-0.4.0.tar.gz (12 kB)
  Preparing metadata (setup.py) ... done
Collecting accelerate<0.16.0,>=0.15.0
  Downloading accelerate-0.15.0-py3-none-any.whl (191 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 191.5/191.5 KB 26.7 MB/s eta 0:00:00
Collecting numpy==1.23.5
  Downloading numpy-1.23.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 89.6 MB/s eta 0:00:00
Requirement already satisfied: absl-py<2.0.0,>=1.3.0 in /usr/local/lib/python3.8/dist-packages (from detextify) (1.3.0)
Collecting openai<0.26.0,>=0.25.0
  Downloading openai-0.25.0.tar.gz (44 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.9/44.9 KB 5.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pyyaml in /usr/local/lib/python3.8/dist-packages (from accelerate<0.16.0,>=0.15.0->detextify) (6.0)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.8/dist-packages (from accelerate<0.16.0,>=0.15.0->detextify) (21.3)
Requirement already satisfied: psutil in /usr/local/lib/python3.8/dist-packages (from accelerate<0.16.0,>=0.15.0->detextify) (5.4.8)
Collecting msrest>=0.5.0
  Downloading msrest-0.7.1-py3-none-any.whl (85 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.4/85.4 KB 11.8 MB/s eta 0:00:00
Collecting azure-common~=1.1
  Downloading azure_common-1.1.28-py2.py3-none-any.whl (14 kB)
Requirement already satisfied: filelock in /usr/local/lib/python3.8/dist-packages (from diffusers<0.11.0,>=0.10.2->detextify) (3.9.0)
Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.8/dist-packages (from diffusers<0.11.0,>=0.10.2->detextify) (2022.6.2)
Collecting huggingface-hub>=0.10.0
  Downloading huggingface_hub-0.12.0-py3-none-any.whl (190 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 190.3/190.3 KB 26.4 MB/s eta 0:00:00
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.8/dist-packages (from diffusers<0.11.0,>=0.10.2->detextify) (6.0.0)
Collecting pandas-stubs>=<IP_ADDRESS>
  Downloading pandas_stubs-<IP_ADDRESS>105-py3-none-any.whl (148 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.2/148.2 KB 22.0 MB/s eta 0:00:00
Requirement already satisfied: openpyxl>=3.0.7 in /usr/local/lib/python3.8/dist-packages (from openai<0.26.0,>=0.25.0->detextify) (3.0.10)
Requirement already satisfied: tqdm in /usr/local/lib/python3.8/dist-packages (from openai<0.26.0,>=0.25.0->detextify) (4.64.1)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.8/dist-packages (from openai<0.26.0,>=0.25.0->detextify) (4.4.0)
Requirement already satisfied: pandas>=1.2.3 in /usr/local/lib/python3.8/dist-packages (from openai<0.26.0,>=0.25.0->detextify) (1.3.5)
Collecting fonttools>=4.24.0
  Downloading fonttools-4.38.0-py3-none-any.whl (965 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 965.4/965.4 KB 70.7 MB/s eta 0:00:00
Collecting pdf2docx
  Downloading pdf2docx-0.5.6-py3-none-any.whl (148 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.4/148.4 KB 23.7 MB/s eta 0:00:00
Requirement already satisfied: opencv-contrib-python in /usr/local/lib/python3.8/dist-packages (from paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (<IP_ADDRESS>)
Requirement already satisfied: scikit-image in /usr/local/lib/python3.8/dist-packages (from paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.18.3)
Collecting premailer
  Downloading premailer-3.10.0-py2.py3-none-any.whl (19 kB)
Requirement already satisfied: shapely in /usr/local/lib/python3.8/dist-packages (from paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (2.0.0)
Collecting attrdict
  Downloading attrdict-2.0.1-py2.py3-none-any.whl (9.9 kB)
Requirement already satisfied: imgaug in /usr/local/lib/python3.8/dist-packages (from paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.4.0)
Collecting pyclipper
  Downloading pyclipper-1.3.0.post4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (619 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 619.2/619.2 KB 53.4 MB/s eta 0:00:00
Collecting PyMuPDF<1.21.0
  Downloading PyMuPDF-1.20.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 85.7 MB/s eta 0:00:00
Requirement already satisfied: lmdb in /usr/local/lib/python3.8/dist-packages (from paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.99)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.8/dist-packages (from paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (4.6.3)
Requirement already satisfied: opencv-python in /usr/local/lib/python3.8/dist-packages (from paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (<IP_ADDRESS>)
Collecting rapidfuzz
  Downloading rapidfuzz-2.13.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 99.6 MB/s eta 0:00:00
Collecting python-docx
  Downloading python-docx-0.8.11.tar.gz (5.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 119.5 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: cython in /usr/local/lib/python3.8/dist-packages (from paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.29.33)
Collecting fire>=0.3.0
  Downloading fire-0.5.0.tar.gz (88 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.3/88.3 KB 12.9 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: lxml in /usr/local/lib/python3.8/dist-packages (from paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (4.9.2)
Collecting visualdl
  Downloading visualdl-2.5.0-py3-none-any.whl (6.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 102.1 MB/s eta 0:00:00
Requirement already satisfied: pydantic in /usr/local/lib/python3.8/dist-packages (from replicate<0.5.0,>=0.4.0->detextify) (1.10.4)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.8/dist-packages (from requests<3.0.0,>=2.28.1->detextify) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/dist-packages (from requests<3.0.0,>=2.28.1->detextify) (1.24.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/dist-packages (from requests<3.0.0,>=2.28.1->detextify) (2022.12.7)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.8/dist-packages (from requests<3.0.0,>=2.28.1->detextify) (2.1.1)
Collecting tokenizers!=0.11.3,<0.14,>=0.11.1
  Downloading tokenizers-0.13.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.6/7.6 MB 118.4 MB/s eta 0:00:00
Requirement already satisfied: six in /usr/local/lib/python3.8/dist-packages (from fire>=0.3.0->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.15.0)
Requirement already satisfied: termcolor in /usr/local/lib/python3.8/dist-packages (from fire>=0.3.0->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (2.2.0)
Collecting isodate>=0.6.0
  Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 KB 5.9 MB/s eta 0:00:00
Collecting azure-core>=1.24.0
  Downloading azure_core-1.26.2-py3-none-any.whl (173 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 173.8/173.8 KB 22.5 MB/s eta 0:00:00
Requirement already satisfied: requests-oauthlib>=0.5.0 in /usr/local/lib/python3.8/dist-packages (from msrest>=0.5.0->azure-cognitiveservices-vision-computervision<0.10.0,>=0.9.0->detextify) (1.3.1)
Requirement already satisfied: et-xmlfile in /usr/local/lib/python3.8/dist-packages (from openpyxl>=3.0.7->openai<0.26.0,>=0.25.0->detextify) (1.1.0)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/lib/python3.8/dist-packages (from packaging>=20.0->accelerate<0.16.0,>=0.15.0->detextify) (3.0.9)
Requirement already satisfied: pytz>=2017.3 in /usr/local/lib/python3.8/dist-packages (from pandas>=1.2.3->openai<0.26.0,>=0.25.0->detextify) (2022.7)
Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.8/dist-packages (from pandas>=1.2.3->openai<0.26.0,>=0.25.0->detextify) (2.8.2)
Collecting types-pytz>=2022.1.1
  Downloading types_pytz-2<IP_ADDRESS>-py3-none-any.whl (4.8 kB)
Requirement already satisfied: scipy in /usr/local/lib/python3.8/dist-packages (from imgaug->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.7.3)
Requirement already satisfied: imageio in /usr/local/lib/python3.8/dist-packages (from imgaug->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (2.9.0)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.8/dist-packages (from imgaug->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (3.2.2)
Requirement already satisfied: PyWavelets>=1.1.1 in /usr/local/lib/python3.8/dist-packages (from scikit-image->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.4.1)
Requirement already satisfied: networkx>=2.0 in /usr/local/lib/python3.8/dist-packages (from scikit-image->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (3.0)
Requirement already satisfied: tifffile>=2019.7.26 in /usr/local/lib/python3.8/dist-packages (from scikit-image->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (2022.10.10)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.8/dist-packages (from importlib-metadata->diffusers<0.11.0,>=0.10.2->detextify) (3.11.0)
Collecting cssselect
  Downloading cssselect-1.2.0-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: cachetools in /usr/local/lib/python3.8/dist-packages (from premailer->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (5.2.1)
Collecting cssutils
  Downloading cssutils-2.6.0-py3-none-any.whl (399 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 399.7/399.7 KB 39.2 MB/s eta 0:00:00
Collecting bce-python-sdk
  Downloading bce_python_sdk-0.8.74-py3-none-any.whl (204 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 204.6/204.6 KB 27.6 MB/s eta 0:00:00
Collecting Flask-Babel>=3.0.0
  Downloading flask_babel-3.0.0-py3-none-any.whl (11 kB)
Collecting gradio
  Downloading gradio-3.16.2-py3-none-any.whl (14.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.2/14.2 MB 100.7 MB/s eta 0:00:00
Collecting x2paddle
  Downloading x2paddle-1.4.0-py3-none-any.whl (319 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 319.1/319.1 KB 38.5 MB/s eta 0:00:00
Requirement already satisfied: protobuf>=3.11.0 in /usr/local/lib/python3.8/dist-packages (from visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (3.19.6)
Collecting multiprocess
  Downloading multiprocess-0.70.14-py38-none-any.whl (132 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.0/132.0 KB 18.5 MB/s eta 0:00:00
Collecting tritonclient[all]
  Downloading tritonclient-2.29.0-py3-none-manylinux1_x86_64.whl (11.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 108.8 MB/s eta 0:00:00
Collecting rarfile
  Downloading rarfile-4.0-py3-none-any.whl (28 kB)
Requirement already satisfied: flask>=1.1.1 in /usr/local/lib/python3.8/dist-packages (from visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.1.4)
Collecting onnx>=1.6.0
  Downloading onnx-1.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.5/13.5 MB 49.4 MB/s eta 0:00:00
Requirement already satisfied: click<8.0,>=5.1 in /usr/local/lib/python3.8/dist-packages (from flask>=1.1.1->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (7.1.2)
Requirement already satisfied: Jinja2<3.0,>=2.10.1 in /usr/local/lib/python3.8/dist-packages (from flask>=1.1.1->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (2.11.3)
Requirement already satisfied: itsdangerous<2.0,>=0.24 in /usr/local/lib/python3.8/dist-packages (from flask>=1.1.1->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.1.0)
Requirement already satisfied: Werkzeug<2.0,>=0.15 in /usr/local/lib/python3.8/dist-packages (from flask>=1.1.1->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.0.1)
Requirement already satisfied: Babel<3.0.0,>=2.11.0 in /usr/local/lib/python3.8/dist-packages (from Flask-Babel>=3.0.0->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (2.11.0)
Collecting flask>=1.1.1
  Downloading Flask-2.2.2-py3-none-any.whl (101 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.5/101.5 KB 13.9 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of flask to determine which version is compatible with other requirements. This could take a while.
Collecting Werkzeug>=2.2.2
  Downloading Werkzeug-2.2.2-py3-none-any.whl (232 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 232.7/232.7 KB 30.8 MB/s eta 0:00:00
Collecting click>=8.0
  Downloading click-8.1.3-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 15.3 MB/s eta 0:00:00
Collecting itsdangerous>=2.0
  Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Jinja2>=3.0
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 20.7 MB/s eta 0:00:00
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.8/dist-packages (from Jinja2>=3.0->flask>=1.1.1->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (2.0.1)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.8/dist-packages (from matplotlib->imgaug->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.8/dist-packages (from matplotlib->imgaug->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.4.4)
Collecting protobuf>=3.11.0
  Downloading protobuf-3.20.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 69.1 MB/s eta 0:00:00
Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.8/dist-packages (from requests-oauthlib>=0.5.0->msrest>=0.5.0->azure-cognitiveservices-vision-computervision<0.10.0,>=0.9.0->detextify) (3.2.2)
Collecting scipy
  Downloading scipy-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.5/34.5 MB 52.0 MB/s eta 0:00:00
Requirement already satisfied: future>=0.6.0 in /usr/local/lib/python3.8/dist-packages (from bce-python-sdk->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.16.0)
Collecting pycryptodome>=3.8.0
  Downloading pycryptodome-3.17-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 94.9 MB/s eta 0:00:00
Collecting ffmpy
  Downloading ffmpy-0.3.0.tar.gz (4.8 kB)
  Preparing metadata (setup.py) ... done
Collecting markdown-it-py[linkify,plugins]
  Downloading markdown_it_py-2.1.0-py3-none-any.whl (84 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 KB 13.0 MB/s eta 0:00:00
Collecting aiofiles
  Downloading aiofiles-22.1.0-py3-none-any.whl (14 kB)
Collecting orjson
  Downloading orjson-3.8.5-cp38-cp38-manylinux_2_28_x86_64.whl (140 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 KB 17.1 MB/s eta 0:00:00
Collecting uvicorn
  Downloading uvicorn-0.20.0-py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 KB 7.7 MB/s eta 0:00:00
Collecting python-multipart
  Downloading python-multipart-0.0.5.tar.gz (32 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: aiohttp in /usr/local/lib/python3.8/dist-packages (from gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (3.8.3)
Collecting websockets>=10.0
  Downloading websockets-10.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (106 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.0/107.0 KB 14.7 MB/s eta 0:00:00
Collecting fastapi
  Downloading fastapi-0.89.1-py3-none-any.whl (55 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 KB 7.8 MB/s eta 0:00:00
Requirement already satisfied: altair>=4.2.0 in /usr/local/lib/python3.8/dist-packages (from gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (4.2.0)
Requirement already satisfied: fsspec in /usr/local/lib/python3.8/dist-packages (from gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (2022.11.0)
Collecting httpx
  Downloading httpx-0.23.3-py3-none-any.whl (71 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.5/71.5 KB 10.1 MB/s eta 0:00:00
Collecting pydub
  Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Requirement already satisfied: dill>=0.3.6 in /usr/local/lib/python3.8/dist-packages (from multiprocess->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.3.6)
Collecting python-rapidjson>=0.9.1
  Downloading python_rapidjson-1.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 75.1 MB/s eta 0:00:00
Collecting tritonclient[all]
  Downloading tritonclient-2.28.0-py3-none-manylinux1_x86_64.whl (11.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 110.9 MB/s eta 0:00:00
  Downloading tritonclient-2.27.0-py3-none-manylinux1_x86_64.whl (11.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 110.4 MB/s eta 0:00:00
  Downloading tritonclient-2.26.0-py3-none-manylinux1_x86_64.whl (11.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 97.4 MB/s eta 0:00:00
Collecting geventhttpclient>=1.4.4
  Downloading geventhttpclient-2.0.8-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.2/104.2 KB 15.3 MB/s eta 0:00:00
Collecting tritonclient[all]
  Downloading tritonclient-2.25.0-py3-none-manylinux1_x86_64.whl (11.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.4/11.4 MB 111.0 MB/s eta 0:00:00
  Downloading tritonclient-2.24.0-py3-none-manylinux1_x86_64.whl (8.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 112.8 MB/s eta 0:00:00
  Downloading tritonclient-2.23.0-py3-none-manylinux1_x86_64.whl (8.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 16.3 MB/s eta 0:00:00
  Downloading tritonclient-2.22.4-py3-none-manylinux1_x86_64.whl (8.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 117.2 MB/s eta 0:00:00
  Downloading tritonclient-2.22.3-py3-none-manylinux1_x86_64.whl (7.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 121.2 MB/s eta 0:00:00
  Downloading tritonclient-2.22.0-py3-none-manylinux1_x86_64.whl (7.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 113.2 MB/s eta 0:00:00
Collecting grpcio==1.41.0
  Downloading grpcio-1.41.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.9/3.9 MB 109.4 MB/s eta 0:00:00
Requirement already satisfied: sympy in /usr/local/lib/python3.8/dist-packages (from x2paddle->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.7.1)
Requirement already satisfied: entrypoints in /usr/local/lib/python3.8/dist-packages (from altair>=4.2.0->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.4)
Requirement already satisfied: toolz in /usr/local/lib/python3.8/dist-packages (from altair>=4.2.0->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.12.0)
Requirement already satisfied: jsonschema>=3.0 in /usr/local/lib/python3.8/dist-packages (from altair>=4.2.0->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (4.3.3)
Collecting gevent>=0.13
  Downloading gevent-22.10.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.5/6.5 MB 111.4 MB/s eta 0:00:00
Collecting brotli
  Downloading Brotli-1.0.9-cp38-cp38-manylinux1_x86_64.whl (357 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 357.2/357.2 KB 41.3 MB/s eta 0:00:00
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.8/dist-packages (from aiohttp->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (22.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.8/dist-packages (from aiohttp->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.3.3)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/lib/python3.8/dist-packages (from aiohttp->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (4.0.2)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.8/dist-packages (from aiohttp->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.3.1)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.8/dist-packages (from aiohttp->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.8.2)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.8/dist-packages (from aiohttp->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (6.0.4)
Collecting starlette==0.22.0
  Downloading starlette-0.22.0-py3-none-any.whl (64 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.3/64.3 KB 10.7 MB/s eta 0:00:00
Collecting anyio<5,>=3.4.0
  Downloading anyio-3.6.2-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 KB 10.1 MB/s eta 0:00:00
Collecting rfc3986[idna2008]<2,>=1.3
  Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting sniffio
  Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting httpcore<0.17.0,>=0.15.0
  Downloading httpcore-0.16.3-py3-none-any.whl (69 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.6/69.6 KB 10.9 MB/s eta 0:00:00
Collecting mdurl~=0.1
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting mdit-py-plugins
  Downloading mdit_py_plugins-0.3.3-py3-none-any.whl (50 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.5/50.5 KB 7.9 MB/s eta 0:00:00
Collecting linkify-it-py~=1.0
  Downloading linkify_it_py-1.0.3-py3-none-any.whl (19 kB)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.8/dist-packages (from sympy->x2paddle->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (1.2.1)
Collecting h11>=0.8
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 KB 8.7 MB/s eta 0:00:00
Collecting zope.interface
  Downloading zope.interface-5.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (261 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 261.4/261.4 KB 30.3 MB/s eta 0:00:00
Requirement already satisfied: greenlet>=2.0.0 in /usr/local/lib/python3.8/dist-packages (from gevent>=0.13->geventhttpclient>=1.4.4->tritonclient[all]->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (2.0.1)
Collecting zope.event
  Downloading zope.event-4.6-py2.py3-none-any.whl (6.8 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.8/dist-packages (from gevent>=0.13->geventhttpclient>=1.4.4->tritonclient[all]->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (57.4.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/local/lib/python3.8/dist-packages (from jsonschema>=3.0->altair>=4.2.0->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (0.19.3)
Requirement already satisfied: importlib-resources>=1.4.0 in /usr/local/lib/python3.8/dist-packages (from jsonschema>=3.0->altair>=4.2.0->gradio->visualdl->paddleocr<<IP_ADDRESS>,>=<IP_ADDRESS>->detextify) (5.10.2)
Collecting uc-micro-py
  Downloading uc_micro_py-1.0.1-py3-none-any.whl (6.2 kB)
Building wheels for collected packages: openai, replicate, fire, python-docx, ffmpy, python-multipart
  Building wheel for openai (pyproject.toml) ... done
  Created wheel for openai: filename=openai-0.25.0-py3-none-any.whl size=55880 sha256=dc96d592f2725d79e6677ff2ebf2297aa35be6254083b8afa56bc88f18a50392
  Stored in directory: /root/.cache/pip/wheels/4b/92/33/6f57c7aae0b16875267999a50570e81f15eecec577ebe05a2e
  Building wheel for replicate (setup.py) ... done
  Created wheel for replicate: filename=replicate-0.4.0-py3-none-any.whl size=14145 sha256=c072ece65229b5bf5082a9af8eb2589304dfd2717e18458848ebf8663150995f
  Stored in directory: /root/.cache/pip/wheels/64/61/2f/b1306f636d57ed0586f1a042be27a097fc6f50d030ca4d53ec
  Building wheel for fire (setup.py) ... done
  Created wheel for fire: filename=fire-0.5.0-py2.py3-none-any.whl size=116949 sha256=fee35df34f1835c392bdd69022652c7c410571567789fb7112dd063b9792a331
  Stored in directory: /root/.cache/pip/wheels/5b/eb/43/7295e71293b218ddfd627f935229bf54af9018add7fbb5aac6
  Building wheel for python-docx (setup.py) ... done
  Created wheel for python-docx: filename=python_docx-0.8.11-py3-none-any.whl size=184505 sha256=5d0a519685171e920c77cb51288ced59c6d556aaf007dca76cf7fcac64fabb73
  Stored in directory: /root/.cache/pip/wheels/32/b8/b2/c4c2b95765e615fe139b0b17b5ea7c0e1b6519b0a9ec8fb34d
  Building wheel for ffmpy (setup.py) ... done
  Created wheel for ffmpy: filename=ffmpy-0.3.0-py3-none-any.whl size=4711 sha256=fcd822227bfdac15b90d8c8459c484e8406dead9d36086294a8568a0b9adcd5b
  Stored in directory: /root/.cache/pip/wheels/ff/5b/59/913b443e7369dc04b61f607a746b6f7d83fb65e2e19fcc958d
  Building wheel for python-multipart (setup.py) ... done
  Created wheel for python-multipart: filename=python_multipart-0.0.5-py3-none-any.whl size=31678 sha256=d7c9197e1929aad78e37210050af69c557128abbd98165535755774294b87dfb
  Stored in directory: /root/.cache/pip/wheels/9e/fc/1c/cf980e6413d3ee8e70cd8f39e2366b0f487e3e221aeb452eb0
Successfully built openai replicate fire python-docx ffmpy python-multipart
Installing collected packages: types-pytz, tokenizers, rfc3986, rarfile, pydub, pyclipper, ffmpy, brotli, azure-common, zope.interface, zope.event, websockets, uc-micro-py, sniffio, requests, rapidfuzz, python-rapidjson, python-multipart, python-docx, PyMuPDF, pycryptodome, protobuf, pillow, pandas-stubs, orjson, numpy, multiprocess, mdurl, MarkupSafe, itsdangerous, isodate, h11, grpcio, fonttools, fire, cssutils, cssselect, click, attrdict, aiofiles, x2paddle, Werkzeug, uvicorn, tritonclient, scipy, replicate, premailer, onnx, markdown-it-py, linkify-it-py, Jinja2, huggingface-hub, gevent, bce-python-sdk, azure-core, anyio, accelerate, transformers, starlette, pdf2docx, openai, msrest, mdit-py-plugins, httpcore, geventhttpclient, flask, diffusers, httpx, Flask-Babel, fastapi, azure-cognitiveservices-vision-computervision, gradio, visualdl, paddleocr, detextify
  Attempting uninstall: requests
    Found existing installation: requests 2.25.1
    Uninstalling requests-2.25.1:
      Successfully uninstalled requests-2.25.1
  Attempting uninstall: protobuf
    Found existing installation: protobuf 3.19.6
    Uninstalling protobuf-3.19.6:
      Successfully uninstalled protobuf-3.19.6
  Attempting uninstall: pillow
    Found existing installation: Pillow 7.1.2
    Uninstalling Pillow-7.1.2:
      Successfully uninstalled Pillow-7.1.2
  Attempting uninstall: numpy
    Found existing installation: numpy 1.21.6
    Uninstalling numpy-1.21.6:
      Successfully uninstalled numpy-1.21.6
  Attempting uninstall: MarkupSafe
    Found existing installation: MarkupSafe 2.0.1
    Uninstalling MarkupSafe-2.0.1:
      Successfully uninstalled MarkupSafe-2.0.1
  Attempting uninstall: itsdangerous
    Found existing installation: itsdangerous 1.1.0
    Uninstalling itsdangerous-1.1.0:
      Successfully uninstalled itsdangerous-1.1.0
  Attempting uninstall: grpcio
    Found existing installation: grpcio 1.51.1
    Uninstalling grpcio-1.51.1:
      Successfully uninstalled grpcio-1.51.1
  Attempting uninstall: click
    Found existing installation: click 7.1.2
    Uninstalling click-7.1.2:
      Successfully uninstalled click-7.1.2
  Attempting uninstall: Werkzeug
    Found existing installation: Werkzeug 1.0.1
    Uninstalling Werkzeug-1.0.1:
      Successfully uninstalled Werkzeug-1.0.1
  Attempting uninstall: scipy
    Found existing installation: scipy 1.7.3
    Uninstalling scipy-1.7.3:
      Successfully uninstalled scipy-1.7.3
  Attempting uninstall: Jinja2
    Found existing installation: Jinja2 2.11.3
    Uninstalling Jinja2-2.11.3:
      Successfully uninstalled Jinja2-2.11.3
  Attempting uninstall: flask
    Found existing installation: Flask 1.1.4
    Uninstalling Flask-1.1.4:
      Successfully uninstalled Flask-1.1.4
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 2.9.2 requires protobuf<3.20,>=3.9.2, but you have protobuf 3.20.3 which is incompatible.
tensorboard 2.9.1 requires protobuf<3.20,>=3.9.2, but you have protobuf 3.20.3 which is incompatible.
paddlepaddle-gpu 2.4.1 requires protobuf<=3.20.0,>=3.1.0, but you have protobuf 3.20.3 which is incompatible.
notebook 5.7.16 requires jinja2<=3.0.0, but you have jinja2 3.1.2 which is incompatible.
grpcio-status 1.48.2 requires grpcio>=1.48.2, but you have grpcio 1.41.0 which is incompatible.
google-cloud-bigquery 3.4.1 requires grpcio<2.0dev,>=1.47.0, but you have grpcio 1.41.0 which is incompatible.
Successfully installed Flask-Babel-3.0.0 Jinja2-3.1.2 MarkupSafe-2.1.2 PyMuPDF-1.20.2 Werkzeug-2.2.2 accelerate-0.15.0 aiofiles-22.1.0 anyio-3.6.2 attrdict-2.0.1 azure-cognitiveservices-vision-computervision-0.9.0 azure-common-1.1.28 azure-core-1.26.2 bce-python-sdk-0.8.74 brotli-1.0.9 click-8.1.3 cssselect-1.2.0 cssutils-2.6.0 detextify-0.1.8 diffusers-0.10.2 fastapi-0.89.1 ffmpy-0.3.0 fire-0.5.0 flask-2.2.2 fonttools-4.38.0 gevent-22.10.2 geventhttpclient-2.0.8 gradio-3.16.2 grpcio-1.41.0 h11-0.14.0 httpcore-0.16.3 httpx-0.23.3 huggingface-hub-0.12.0 isodate-0.6.1 itsdangerous-2.1.2 linkify-it-py-1.0.3 markdown-it-py-2.1.0 mdit-py-plugins-0.3.3 mdurl-0.1.2 msrest-0.7.1 multiprocess-0.70.14 numpy-1.23.5 onnx-1.13.0 openai-0.25.0 orjson-3.8.5 paddleocr-<IP_ADDRESS> pandas-stubs-<IP_ADDRESS>105 pdf2docx-0.5.6 pillow-9.4.0 premailer-3.10.0 protobuf-3.20.3 pyclipper-1.3.0.post4 pycryptodome-3.17 pydub-0.25.1 python-docx-0.8.11 python-multipart-0.0.5 python-rapidjson-1.9 rapidfuzz-2.13.7 rarfile-4.0 replicate-0.4.0 requests-2.28.2 rfc3986-1.5.0 scipy-1.10.0 sniffio-1.3.0 starlette-0.22.0 tokenizers-0.13.2 transformers-4.26.0 tritonclient-2.22.0 types-pytz-2<IP_ADDRESS> uc-micro-py-1.0.1 uvicorn-0.20.0 visualdl-2.5.0 websockets-10.4 x2paddle-1.4.0 zope.event-4.6 zope.interface-5.5.2

Import Errors
Now when I import from detextify I get an error.
from detextify.paddle_text_detector import PaddleTextDetector
from detextify.inpainter import LocalSDInpainter
from detextify.detextifier import Detextifier

Output:
Error: Can not import paddle core while this file exists: /usr/local/lib/python3.8/dist-packages/paddle/fluid/libpaddle.so
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
[<ipython-input-4-a2d059222da3>](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
----> 1 from detextify.paddle_text_detector import PaddleTextDetector
      2 from detextify.inpainter import LocalSDInpainter
      3 from detextify.detextifier import Detextifier

9 frames
[/usr/local/lib/python3.8/dist-packages/detextify/paddle_text_detector.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
      1 from detextify.text_detector import TextBox, TextDetector
----> 2 from paddleocr import PaddleOCR
      3 from typing import Sequence
      4 from PIL import Image
      5

[/usr/local/lib/python3.8/dist-packages/paddleocr/__init__.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
---> 14 from .paddleocr import *
     15
     16 __version__ = paddleocr.VERSION

[/usr/local/lib/python3.8/dist-packages/paddleocr/paddleocr.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
     19 __dir__ = os.path.dirname(__file__)
     20
---> 21 import paddle
     22
     23 sys.path.append(os.path.join(__dir__, ''))

[/usr/local/lib/python3.8/dist-packages/paddle/__init__.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
     23
     24 from .batch import batch  # noqa: F401
---> 25 from .framework import monkey_patch_variable
     26 from .framework import monkey_patch_math_varbase
     27

[/usr/local/lib/python3.8/dist-packages/paddle/framework/__init__.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
     15 # TODO: import framework api under this directory
     16
---> 17 from . import random  # noqa: F401
     18 from .random import seed  # noqa: F401
     19 from .framework import get_default_dtype  # noqa: F401

[/usr/local/lib/python3.8/dist-packages/paddle/framework/random.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
     14
     15 # TODO: define random api
---> 16 import paddle.fluid as fluid
     17 from paddle.fluid import core
     18

[/usr/local/lib/python3.8/dist-packages/paddle/fluid/__init__.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
     34
     35 # import all class inside framework into fluid module
---> 36 from . import framework
     37 from .framework import *
     38 # import all class inside executor into fluid module

[/usr/local/lib/python3.8/dist-packages/paddle/fluid/framework.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
     35 from .proto import framework_pb2
     36
---> 37 from . import core
     38 from . import unique_name
     39 import paddle.version as fluid_version

[/usr/local/lib/python3.8/dist-packages/paddle/fluid/core.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
    302             "Error: Your machine doesn't support AVX, but the installed PaddlePaddle is avx core, "
    303             "you should reinstall paddlepaddle with no-avx core.\n")
--> 304     raise e
    305
    306

[/usr/local/lib/python3.8/dist-packages/paddle/fluid/core.py](https://4wyf22wivzj-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230126-060047-RC00_504788655#) in <module>
    247
    248 try:
--> 249     from . import libpaddle
    250     if avx_supported() and not libpaddle.is_compiled_with_avx():
    251         sys.stderr.write(

ImportError: libcudart.so.10.2: cannot open shared object file: No such file or directory

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

Were you able to resolve?
I installed:
pip install detextify
and I get this error:
Traceback (most recent call last):
File "C:\Users\James\Desktop\detextify\detextify.py", line 8, in
from detextify.paddle_text_detector import PaddleTextDetector
File "C:\Users\James\Desktop\detextify\detextify.py", line 8, in
from detextify.paddle_text_detector import PaddleTextDetector
ModuleNotFoundError: No module named 'detextify.paddle_text_detector'; 'detextify' is not a package

Correct. Just rename it to something else.
I still haven't gotten it to work even though I finally installed the correct PyTorch GPU.
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg

From: azumukupoe @.>
Sent: Monday, March 13, 2023 12:07:40 PM
To: iuliaturc/detextify @.>
Cc: James @.>; Comment @.>
Subject: Re: [iuliaturc/detextify] Errors on Google Colab (Issue #25)
Were you able to resolve?
I installed: pip install detextify
and I get this error: Traceback (most recent call last): File "C:\Users\James\Desktop\detextify\detextify.py", line 8, in from detextify.paddle_text_detector import PaddleTextDetector File "C:\Users\James\Desktop\detextify\detextify.py", line 8, in from detextify.paddle_text_detector import PaddleTextDetector ModuleNotFoundError: No module named 'detextify.paddle_text_detector'; 'detextify' is not a package
did you name your script detextify.py?
change it to something like test.py
—
Reply to this email directly, view it on GitHubhttps://github.com/iuliaturc/detextify/issues/25#issuecomment-1465358825, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAITNV5PCMG5X5TRDPUMJQLW3ZXNZANCNFSM6AAAAAAUKLZ3FA.
You are receiving this because you commented.Message ID: @.***>

@iuliaturc you're awesome, thanks! I’ll give it a shot soon.


New version: bshuzhang.PPLink version 13.1.0

This pull request is automatically generated by 🥟 Dumplings in #3195
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


Link to Wrocław TypeScript's website (instead of Meetup)

👍 works for me - any reason for draft?

@orta I wanted to make sure nobody on our team has no objections first. But since no one has spoked, please do merge it. 🙇

ace, wil legt updated with next deploy


Add just cibuild Just command?

In the "Scripts to Rule Them All" pattern, there is typically a cibuild script for building the project for CI pipelines.

Or maybe it just be it's own module, so it can be expanded to all the commands needed in CI?
just ci build


[Bug] Opening plugins folder using button causes GUI lockup on Linux (duplicate)

See #647 for original context. Seeing as the original reporter of this issue doesn't want to reopen the issue (https://github.com/BetterDiscord/BetterDiscord/issues/647#issuecomment-1045947903) I'm opening this issue instead.

Well can you please give some more information with this issue? Looking at the tags shows that it wasn't reproduced and it wasn't described enough for the cause to be determined.

Well can you please give some more information with this issue?

As mentioned in the linked issue this only happens on Linux. I've edited this issue's title to make that more clear.

Looking at the tags shows that it wasn't reproduced

This is because the person who tagged the issue did not try to reproduce the issue on Linux which is where the bug occurs:

Hm this does not happen for me, however I am not on Linux. Can anyone else on Linux confirm this?

This happens on NixOS, Ubuntu & Arch Linux so it's definitely reproducible.

"Linux" is not really precise.
Which Desktop Environment and/or Window Manager are you using (KDE, Gnome, i3wm, ...)?
Which installation type are you using (native package/flatpak/snap)?
Which variant are you using (stable/ptb/canary)?
Which version Discord host version are you experiencing this on?
Which filesystem are you using (ext4, btrfs, xfs, f2fs, zfs)?
Any other types of sandboxing going on?
I run both KDE on Arch and i3wm on Fedora, both with stable(0.0.17)+canary, both on ext4, both using native packages, and can't reproduce this nor have I encountered this.
All I'd do is look for known electron bugs anyway, all BD does is use electron's shell.openPath function, which in turn just shells out to xdg-open on Linux.

Distro: NixOS Unstable (NixOS/Nixpkgs@710fed5a2483f945b14f4a58af2cd3676b42d8c8)
WM: SwayWM 1.7
BD Installation: betterdiscordctl 2.0.1
Discord:
Stable 122979 (0691b82)
BetterDiscord 1.5.2
Host 0.0.17 Linux 64-Bit (5.17.1)

xdg-open isn't assured to fork, it can potentially block indefinitely. That's the bug

BD does not have control over what electron uses.


Add basic tests for SleeperThread

I wrote these after failing to construct test cases for #2601.
Unfortunately, I couldn't think of tests without relying on some timing, but I hope that I chose the times so that the tests will work on all (relevant) systems.
For this, I restructured the build system to allow for easier addition to the tests by compiling all sources of waybar (except main.cpp) as a static library.
This library is then linked against main.cpp for the main executable and against the test files for the test executable.

I don't think anymore that these SleeperThread tests are worth merging since they are too brittle and depend on specific timing to succeed - I tried to improve them, but wasn't really able to achieve guaranteed success without any timing dependency. Thus, I'll close the PR.
@Alexays if you think the other changes to allow linking against a static waybar lib in the tests are worth adding, feel free to ping me and I can open another PR for that.


It no longer installs . it just keeps showing that is installing but it is not

[ ] I have reset Atom to defaults prior to submitting report.
[x] I have not reset Atom to defaults prior to submitting report.

Description

Steps to reproduce

Expected behavior:
Actual behavior:
Reproduces how often:
Versions

> atom --version

> apm --version

OS name and version:
Platformio-ide-terminal version:
Additional Information

This package is no longer maintained. Please uninstall platformio-ide-terminal and install either terminus or x-terminal

Okay.
Thank you for the information

--


App detail > Clicking on commit info shows incorrect data.

If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a question in Devtron Discord channel.
Checklist:

[x] I've searched in the docs and FAQ for my answer
[x] I've included steps to reproduce the bug.

Describe the bug
Clicking on commit info on app detail page for an env, shows details for the last deployment made across envs.
ie. If last deployment in an app was on env1 and user checks commit info for env2. It still shows data for env1.
To Reproduce
Can't specify a specific app in which the issue can be reproduced as it depends upon the deployments made in the app.
Pls connect with @uxarya-d to try and reproduce the issue.
Expected behavior
Commit info should show info for the selected env.
Current behavior
Commit info shows info for env on which last deployment was made.
Screenshots

AB#451

@uxarya-d I think this is fixed. Can you confirm and close this issue?

@uxarya-d I think this is fixed. Can you confirm and close this issue?

Checked. Issue still persists.


Number of broadcasting dimensions is limited

Environment info
Operating System: Ubuntu 14.04.4
If installed from sources, provide the commit hash: f92e338b178f75b0e7fc79aedc00680a49a982ac
Steps to reproduce
Running this script:
import tensorflow as tf

shape_1 = (1, 20, 30, 1, 50)
shape_2 = (30, 1, 30, 20, 50)

A = tf.Variable(tf.random_normal(shape_1))
B = tf.Variable(tf.random_normal(shape_2))

with tf.Session() as S:
    S.run(tf.initialize_all_variables())
    C = S.run(A+B)

produces
tensorflow.python.framework.errors.UnimplementedError: Broadcast between [1,20,30,1,50] and [30,1,30,20,50] is not supported yet.

What did you try?
Reducing the tensor ranks results in success.
shape_1 = (1, 20, 30)
shape_2 = (30, 1, 30)

Logs or other output that would be helpful
Traceback (most recent call last):
  File "tf_broadcast_issue.py", line 11, in <module>
    C = S.run(A+B)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/client/session.py", line 332, in run
    result = self._run(None, fetches, feed_dict, options_ptr, run_outputs_ptr)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/client/session.py", line 536, in _run
    feed_dict_string, options, run_outputs)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/client/session.py", line 598, in _do_run
    target_list, options, run_outputs)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/client/session.py", line 620, in _do_call
    e.code)
tensorflow.python.framework.errors.UnimplementedError: Broadcast between [1,20,30,1,50] and [30,1,30,20,50] is not supported yet.
     [[Node: add = Add[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](Variable/read, Variable_1/read)]]
Caused by op u'add', defined at:
  File "tf_broadcast_issue.py", line 11, in <module>
    C = S.run(A+B)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/ops/variables.py", line 544, in <lambda>
    setattr(Variable, operator, lambda a, b: Variable._RunOp(operator, a, b))
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/ops/variables.py", line 559, in _RunOp
    return getattr(ops.Tensor, operator)(a._AsTensor(), b)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/ops/math_ops.py", line 502, in binary_op_wrapper
    return func(x, y, name=name)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/ops/gen_math_ops.py", line 44, in add
    return _op_def_lib.apply_op("Add", x=x, y=y, name=name)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/ops/op_def_library.py", line 655, in apply_op
    op_def=op_def)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/framework/ops.py", line 2102, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/home/sperkins/work/ska/code/tensorflow/_python_build/tensorflow/python/framework/ops.py", line 1129, in __init__
    self._traceback = _extract_stack()

#206 might resolve this, but I've logged it separately in case.

Looks like member BinaryOp.Compute in cwise_ops_common.h only supports broadcasting between 2D and 3D shapes.

I think we've limited the number of dimensions to keep binary size down, rather than because it's any more complicated to broadcast on more dimensions. @benoitsteiner, is there some way we could handle higher dimensions in Eigen without another specialization, even if it leads to a slower codepath?

@mrry If I'm not mistaken, the broadcasts we need in the examples above are [30, 1, 1, 20, 1] for the first tensor, and [1, 20, 1, 1, 1] for the second one. For the first tensor, we could collapse the 2nd and 3rd dimensions together, and apply a  [30, 1, 20, 1] broadcast. For the second one, we could similarly reshape the tensor into a 3d tensor by collapsing the last 3 dimensions, and apply a [1, 20, 1] broadcast.

I want to caculate the Kronecker product of two matrix, and
tf.reshape(matrix_A, [2,1,2,1]) * tf.reshape(matrix_B, [1,3,1,3]) raised the above UnimpementedError.
I circumvented this broadcasting by using tf.tile to explictly broadcast this two matrix.
Is there an easy way to do this broadcasting in tensorflow, like in Numpy?

@benoitsteiner any fix should be sure to cover the cases in #3534 as well.

@benoitsteiner Friendly ping, please update this bug with the current status, thanks!

Fixed by #4378.


Specify font family or families and font size?

I didn't see an easy way to do this. I tried the obvious, with no luck:
  $scope.uiAceConfig =
    useWrapMode : true
    showGutter: true
    theme: 'twilight'
    mode: 'html'
    fontFamily: 'Inconsolata'
    fontSize: '16px'

Anyone find a way to do this? Thanks!

The source shows that it does have an option for advanced configuration for other options such as fontsize, etc. This is done with the advanced element in the configuration for ui-ace.
Using your example:
$scope.uiAceConfig = {
    useWrapMode : true,
    showGutter: true,
    theme: 'twilight',
    mode: 'html',
    advanced: {
        fontFamily: 'Inconsolata',
        fontSize: '16px'
    }
};

Thanks @kbsymanz for providing an answer

@kbsymanz were you actually able to get it working? I have:
    $scope.uiAceConfig =
      useWrapMode : true
      showGutter: true
      theme: 'solarized_dark'
      mode: 'html'
      onLoad: $scope.aceLoaded
      onChange: $scope.aceChanged
      workerPath: '/assets/lib/jsoneditor/ace'
      advanced:
        fontFamily: 'Inconsolata'
        fontSize: '22px'

But the advanced: {} property isn't getting picked up, as the font-family and font-size css properties are the same. Was anyone able to get this working?

@andrewboni : Yes it is working for me. Here is the entire template file that I am using it in and the fontSize setting definitely changes the font-size.

I am using Angular 1.3.13 and angular-ui-ace 0.2.3.