[Generators][Linux] Dependencies issue when deploying with netcoreapp 2.1

Sample information

Sample type: \generators\
Sample language: dotnetcore - netcoreapp2.1
Sample name: EchoBot

Describe the bug
The generated EchoBot for NetCoreApp has some conflicts in the references. In consequence, it fails when trying to deploy it to an Azure Linux Host using netcoreapp2.1.
Conflicting references:

Microsoft.Bot.Builder.Integration.AspNet.Core 4.4.3 and Microsoft.AspNetCore.App 2.1.0.
For all the following libraries Microsoft.Bot.Builder.Integration.AspNet.Core requires a version >= 2.1.1 and Microsoft.AspNetCore.App requires version 2.1.0

Microsoft.Extensions.Configuration
Microsoft.Extensions.Configuration.Abstractions
Microsoft.Extensions.Configuration.Binder
Microsoft.Extensions.DependencyInjection.Abstractions
Microsoft.Extensions.Logging
Microsoft.Extensions.Logging.Abstractions
Microsoft.Extensions.Options
Microsoft.Extensions.Primitives

To Reproduce
Steps to reproduce the behavior:

Install EchoBot template

# Install EchoBot template
dotnet new -i Microsoft.Bot.Framework.CSharp.EchoBot

Generate an EchoBot with netcoreapp2.1 as the targeted framework

# Generate an Echo Bot (netcoreapp2.1)
dotnet new echobot --framework netcoreapp2.1 -n MyEchoBot

Deploy the bot with git to your Azure webapp hosted in linux with netcoreapp2.1(guide for setting up the linux host)

See error

Expected behavior
The bot should be deployed without errors
[bug]

I'm able to run the repo steps on an Ubuntu 18.04 distro (in a VM) without errors.

The issue here appears to be related to: https://github.com/aspnet/Universe/issues/1180 It seems we should have referenced Microsoft.Extensions.Logging v 2.1.0 instead of v 2.1.1
So far, I've found two ways to deploy an echo bot to a linux host successfully:

Directly reference the v 2.1.1 of Microsoft.Extensions. packages within the project

    <PackageReference Include="Microsoft.Extensions.Configuration" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Logging" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Options" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Primitives" Version="2.1.1" />

Upgrade the project, and the App Service to net core 2.2

If we want to avoid this issue future customers, we will need to either

reference the above packages in our template projects
downgrade Microsoft.Extensions.Logging in our libraries to v 2.1.0
bump the projects to net core app 2.2

There might be other options.?

@cleemullins  do you have any thoughts about this?

Verified this fix against the daily myget.
https://botbuilder.myget.org/feed/botbuilder-v4-dotnet-daily/package/nuget/Microsoft.Bot.Builder/4.5.0-preview-190702-3


WiFiDirect : a connection attempt failed because the connected party did not properly respond after a period

HI,
i'm deploying the WiFiDirect sample on Pi3 and trying to connect one to another in debug mode, but after the connection based on the status message i got error message in the connector Pi3

a connection attempt failed because the connected party did not properly respond after a period of time.

I used the C# version from the sample
i'm using the latest version of VS2017 Ent.
the latest version of Win IoT with the Pi3
deploying using WiFi.
Thank you

Nothing ?

Solution


Key connections

Story
As a user
I want to understand when my key is connected to which site (s)
So that I can verify what I am connected to successfully
Acceptance Criteria

[ ] I can see when my key is connected or not
[ ] I can see a list of where my key is connected to

Tasks

[ ] Explore and sketch
[ ] Team and stakeholder review
[ ] Visual Design
[ ] Team review
[ ] Etc.

Sketch
Additional details / background info

There are two things here.
Auditing where a key is used, and which third-party application is currently connected to the wallet.
These are 2 different things. Could you elaborate which case you are refereing to ?

Added a sketch @notbot00


spark query partition field error

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
A clear and concise description of the problem.
To Reproduce
Steps to reproduce the behavior:

use flinkstreamer api write a table
partition field is systemdate and use yyyyMMdd format
sync hive use dt and dt is not a field in data
use hive、flink、spark query hive ro table with dt=20220629， then spark got an error  "org.apache.spark.sql.AnalysisException: cannot resolve 'dt' given input columns"，hive and flink is ok

Expected behavior
A clear and concise description of what you expected to happen.
Environment Description

Hudi version :
0.11.0
Spark version :
3.1.2
Hive version :
2.11
Hadoop version :
3.0.0
Storage (HDFS/S3/GCS..) :
HDFS
Running on Docker? (yes/no) :
no
Additional context

Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.

@txl2017 Thanks for reporting this. @nsivabalan @alexeykudinkin if I'm not wrong, is this a known issue wrt the non-existent partition field?

@txl2017 could you also provide the full commands for Hive sync and spark-submit/spark-shell for reproducing the issue?

@txl2017 could you also provide the full commands for Hive sync and spark-submit/spark-shell for reproducing the issue?

'partition-path-field'='systemdate'
'keygen-class'='ComplexTimeKeyGenerator'
'hive-sync-partition-extractor-class'='org.apache.hudi.hive.MultiPartKeysValueExtractor',
systemdate format is yyyyMMdd HH:mm:ss like '2022-06-29 12:00:00', and partition format is yyyyMMdd.
with this config sync to hive, use hive、flink、spark query hive ro table with systemdate=20220629, hive and flink hit the right result,
but spark return nothing, then we delete  the systemdate=20220629 condition, the result return with systemdate='2022-06-29 12:00:00', not '20220629', so i think it's the reason why spark use systemdate=20220629 hit nothing.

@txl2017 could you also provide the full commands for Hive sync and spark-submit/spark-shell for reproducing the issue?

'partition-path-field'='systemdate' 'keygen-class'='ComplexTimeKeyGenerator' 'hive-sync-partition-extractor-class'='org.apache.hudi.hive.MultiPartKeysValueExtractor', systemdate format is yyyyMMdd HH:mm:ss like '2022-06-29 12:00:00', and partition format is yyyyMMdd. with this config sync to hive, use hive、flink、spark query hive ro table with systemdate=20220629, hive and flink hit the right result, but spark return nothing, then we delete the systemdate=20220629 condition, the result return with systemdate='2022-06-29 12:00:00', not '20220629', so i think it's the reason why spark use systemdate=20220629 hit nothing.

after that, we try another way to avoid this.
we change the hudi  source code in StreamWriteOperatorCoordinator class
private void initHiveSync() {
this.hiveSyncExecutor = NonThrownExecutor.builder(LOG).waitForTasksFinish(true).build();
if(ZvosComplexTimeKeyGenerator.class.getName().equals(conf.getString(FlinkOptions.KEYGEN_CLASS_NAME))){
conf.set(FlinkOptions.PARTITION_PATH_FIELD, "dt");
}
this.hiveSyncContext = HiveSyncContext.create(conf);
}
update the partition field to 'dt' when sync to hive.
with this case , spark got an error "org.apache.spark.sql.AnalysisException: cannot resolve 'dt' given input columns"，hive and flink is ok
note: dt is a not exist field in record.
this is the story of how we got an error with spark，and thanks for your reply!

cc @minihippo

use 0.11.1， is ok now


fix typo: "root_dir" -> "role_dir"

"root_dir" is undefined, use "role_dir" instead

Thanks!

Thanks for the nice ansible-role!
I've got some small enhancements in mind like using an ansible variable to enable/disable auto-reboot. There might be more PRs coming :-)


How to re-enable password storage

I'm using https://github.com/swick/moz-gnome-keyring-integration and I'd like to not have to constantly enter my Thunderbird password. Even though I found it before, I can't find the about:config boolean to flip for the life of me. Can you let me know what it is?
Noah

I am not sure... We certainly don't do anything with passwords.
(Was this a general question?)

You know what--there actually is no problem. I could explain to you my misunderstanding, but it's a rather weird, long and complicated, and mostly boring story, so I'll save you the time.
Thanks for the response!


Build date or submission date

We currently only update the "build date" when a student push to their repository. However, it would be nice to distinguish between the actual build date, e.g., for rebuild purposes, and the submission date when the student last updated their code in their repo. This would allow us to rebuild if a test were updated and see that the date actually change in response. As is, the date remains the same for rebuilds.
Conclusion: we need two different date fields in the results view...
Should be done in or on top of PR #704, or after it has been merged.

The logic where this happens:
// record_results.go
func (r RunData) newTestRunSubmission(previous *qf.Submission, results *score.Results) *qf.Submission {
	if r.Rebuild && previous != nil && previous.BuildInfo != nil {
		// Keep previous submission's delivery date if this is a rebuild.
		results.BuildInfo.BuildDate = previous.BuildInfo.BuildDate
	}
        ...
}

Perhaps an additional field in BuildInfo, ex. RebuildDate, could be added and set here.

Also, in cases where the previous submission is approved and has ApprovedDate set, we should keep approved date in the new submission created in newTestRunSubmission.
Currently ApprovedDate is set when a submission is updated with status set to Approved. However if a student pushes changes, or a submission is rebuilt, the approved date does not carry over to the newly generated submission.


Revisit Build-Script Polyfill Level Granularity

The compile-time features in the crate are fairly granular, but in build.rs they are more coarse.
In practice, this means that platforms such as AVR can't express that they natively support some
atomic operations on small-width integer types, but need polyfills on larger ones to the build process.
Would you be open to a patch that makes the built-in tuning in build.rs a bit more granular?

Closing due to lack of response. If you have a particular example of some hardware that can do X but not Y in hardware, and the current features are too coarse to separate X and Y please open a new issue.


[Replication] Structure values are not replicated correctly when Seq.App.Replication is used with Seq 4

Version 4 passes log data through as IReadOnlyDictionary<string, object>, not IDictionary<string, object>, which causes structure values to be replicated as strings.
The fix should be backwards-compatible, as v3's dictionaries will also support this interface.

Published in version 2.0.66


fix: find blocks if fieldname is similiar to 'blocks'

Fixed findBlocks because if we have a block with a property inside which name ends with 'blocks' the findBlocks function is called assuming that field contains something similar to volto's block, but it couldn't be.
For example, if we have some blocks with the property 'subblocks' inside that is simply an array of object (not volto's blocks) an error is thrown

@sneridagh @ichim-david do you think we could merge this one during Salamina sprint?


Better guidance for the user to make appropriate choices for a directory structure

Feedback on First Workload:

Given that the reader is not familiar with the solution and is being guided to clone repos, create keys and store settings, it is important to provide guidance for a directory structure.  I found myself lost where things are and in 2 cases created assets where they were not intended or expected.
A recommended (as you build it) directory structure is highly recommended, all files, keys, settings created during install and config should reside in one directory so that it could be moved with simple tar/zip.
All steps where any Create, Update and Delete operations are performed need a clear notation of the working directory.

I think it is reasonable for us to show a directory structure of what each repo would look like and how to position the repos side by side in a local developer machine. This would help a read know they are "done"
For instance at the end we can say you should have bedrock-workload dir somewhere on your machine and it should have the following by the end of the walkthrough:
.
├── hld-repo
├── manifest-repo
├── voting-app
├── helm-chat-repo
├── bedrock-tf-generated-repo
└── yarn.lock

should live in "first workload" doc


Create itm.txt

https://www.itm.edu.co/aspirante-pregrado/programas-profesionales/ingenieria-de-sistemas/
The subdomain for institutional emails is "correo.itm.edu.co"

@andaoro I am sorry, the domain correo.itm.edu.co is removed from our trusted domains list because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).

@andaoro I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host itm.correo.itm.edu.co not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


resolve .ts/.tsx/.d.ts first, and then fallback to @types/*

@alexgorbatchev @bradzacher Do you have any time to review this PR? It is really needed.

+1 for reviewing, really looking forward to having this.

@rdsedmundo You can try yarn add -D eslint-import-resolver-typescript@JounQin/eslint-import-resolver-typescript#feat/resolve_dts temporarily.

Works like a charm with the alwaysFindTypes option. Thanks @JounQin! 👍

Any news on a potential merge ?

Hey guys, it seems @alexgorbatchev has 'disappeared' for a few months, or he just forgot this project, so I'm going to fork this repository and republish it as eslint-import-resolver-ts to npm. You can simply change your eslint config:
'import/resolver': {
- typescript
+ ts: {
    alwaysTryTypes: true,
  },
},

If anyone is interested, you can follow eslint-import-resolver-ts, PR welcome.
And I will not close this PR, in case @alexgorbatchev return.

Great, thanks for taking the initiative.

@JounQin if it's not too late, it's best to publish forks under a scope.

@ljharb @JounQin you should be able to unpublish NPM packages within 48 hours of them being published. Would the scoped name you're referring to be @jounqin/eslint-import-resolver-typescript?

Yes, exactly.

@ljharb scoped package shorthand is supported by eslint-plugin-import?
{
  '@rxts/typescript': {}
}

It's a bit long to me

i don’t believe we support a shorthand, but the priority imo shouldn’t be “what you have to copy and paste into your config file”, but rather “what will make it very clear this is a fork”

@ljharb @trevorblades  I'm not only going to fork it without other changes but also refactor, add new features and try to maintain it in the future.
Of course, if @alexgorbatchev return and accept, I can PR back.
Please help to review https://github.com/rx-ts/eslint-import-resolver-ts/pull/10 if you don't mind.

Sorry for MIA :( life...

Welcome back @alexgorbatchev . So are you going to maintain this resolver in the future? I can PR back from my fork https://github.com/rx-ts/eslint-import-resolver-ts which has been refactored to be .ts based itself which a few new improvements, maybe.

I think it would make sense to merge back. I can make you a collaborator on the repo. Would that work?

@alexgorbatchev That would be great.

Done
On Fri, Sep 27, 2019, 17:15 JounQin<EMAIL_ADDRESS>wrote:

@alexgorbatchev https://github.com/alexgorbatchev That would be great.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alexgorbatchev/eslint-import-resolver-typescript/pull/20?email_source=notifications&email_token=AAAQAYKFNWMAP4VXWLAHIU3QL2O3RA5CNFSM4H4L4IE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72LZGY#issuecomment-536132763,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAQAYIIUR2JCOSZG4XKZFDQL2O3RANCNFSM4H4L4IEQ
.


Fix node similarity checking bug

The bug introduced by 39c9da4615d248265ff8de376a95adab799ca981 on #829 and reported by @alfonsogarciacaro on https://github.com/snabbdom/snabbdom/pull/829#discussion_r587475354.

Fantastic that you spotted this @alfonsogarciacaro and thanks for the quick fix @the-dr-lazy 👍


(PA-2104) Restart Solaris 11 puppet service on package upgrade

Prior to this commit, the refresh action was executed by SMF when the package manifest changed. However, no action was implemented for refresh, hence the puppet service did not automatically restart
when the puppet-agent package was upgraded.
This commit adds functionality to the refresh action, killing the service for it to be restarted automatically by SMF, which is the intended behavior.

CLA signed by all contributors.


disable -Werror

When using third_pary/abseil-cpp, we get lots of warnings treated as errors, see
https://github.com/libjxl/libjxl/pull/999.
Disabling those errors would be a solution to the problem.

With a system absl (libabsl-dev), soon to be added to #999, it should be possible to have Werror, so it might be good to keep some targets with that on in the pipeline.


Listening on Cloudinary Responsive Events

I was wondering if there were some events triggered when the img src is set or changed when using cloudinary.responsive()?
If any such events exist, which ones should I be listening to?

@akshat12 We don't have an event fired for changing responsive images.
Could you please elaborate on your functional use case?

Closing this issue due to the time elapsed. Please feel free to either re-open the issue, contact our support at http://support.cloudinary.com or create a new ticket if you have any additional issues.


sim:nxwm Test failure

For the sim:nxwm target the simulation crashes
❯ ./nuttx
nxwm_main: Initialize the NSH library
ERROR: Failed to register oneshot at /dev/oneshot: -17
createTaskbar: Create CTaskbar instance
createTaskbar: Connect CTaskbar instance to the NX server
createTaskbar: Initialize CTaskbar instance
Segmentation fault (core dumped)

May relate to my timer reconstruction, let's take a look.

I investigated this a little bit, here are some logs:
Program received signal SIGSEGV, Segmentation fault.                                                     0x00005555555920b5 in nxmu_sendwindow (wnd=0x0, msg=0x7ffff3ccfdb0, msglen=16) at nxmu/nxmu_sendwindow.c:87 87	  if (!NXBE_ISBLOCKED(wnd)) (gdb) bt #0  0x00005555555920b5 in nxmu_sendwindow (wnd=0x0, msg=0x7ffff3ccfdb0, msglen=16) at nxmu/nxmu_sendwindow.c:87 #1  0x000055555559248d in nx_getposition (hwnd=0x0) at nxmu/nx_getposition.c:94 #2  0x000055555556fe13 in NXWidgets::CWidgetControl::waitGeoData (this=0x7ffff3cd5038) at src/cwidgetcontrol.cxx:950 #3  0x00005555555a8ec8 in NXWidgets::CWidgetControl::getWindowSize (this=0x7ffff3cd5038, size=0x7ffff3ccfe6c)     at /home/seb/repos/incubator-nuttx-apps/include/graphics/nxwidgets/cwidgetcontrol.hxx:730 #4  0x000055555556d367 in NXWidgets::CNxWindow::getSize (this=0x7ffff3cd51b0, pSize=0x7ffff3ccfe6c) at src/cnxwindow.cxx:165 #5  0x0000555555564a3a in NxWM::CTaskbar::createBackgroundImage (this=0x7ffff3cd01f0) at src/ctaskbar.cxx:1001 #6  0x0000555555563dad in NxWM::CTaskbar::initWindowManager (this=0x7ffff3cd01f0) at src/ctaskbar.cxx:224 #7  0x000055555556359a in createTaskbar () at src/nxwm_main.cxx:181 #8  0x000055555556395c in nxwm_main (argc=1, argv=0x7ffff3ccff60) at src/nxwm_main.cxx:524 #9  0x000055555556110a in nxtask_startup (entrypt=0x5555555638fd <nxwm_main(int, char**)>, argc=1, argv=0x7ffff3ccff60)     at sched/task_startup.c:165 #10 0x000055555555d34f in nxtask_start () at task/task_start.c:144 #11 0x0000000000000000 in ?? () (gdb) f 0 #0  0x00005555555920b5 in nxmu_sendwindow (wnd=0x0, msg=0x7ffff3ccfdb0, msglen=16) at nxmu/nxmu_sendwindow.c:87 87	  if (!NXBE_ISBLOCKED(wnd)) (gdb) p wnd $1 = (struct nxbe_window_s *) 0x0

I have a fix for this

@sebastianene07 thanks to find the fix.

This is not fully resolved until https://github.com/apache/incubator-nuttx-apps/pull/456
Is merged correct?

This is not fully resolved until apache/incubator-nuttx-apps#456
Is merged correct?

I confirm

App side backport that will close this issue out https://github.com/apache/incubator-nuttx-apps/pull/458
@sebastianene07 thanks for taking care of this one.


first commmit

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

@dkundel  Why is it not merged?

Please merge


Cannot determine FIM admin groups from sync engine when SQL server database is installed remotely

Hi Ryan,
I'm facing an installer issue which I can't seem to bypass. I checked issues #103 and #104 but my issue seems to be different. The same message appears if the service account is manually added to the group or not. I'll email you the msiexec installation log.
Cheers
Dave

Hi @dminnelli,
Use the latest build found at the end of #102  which will allow you to use the SKIPGROUPCHECK parameter in #104
Still send me the log and i'll investigate the issue, but this should allow you to proceed.
Ryan

Thanks @ryannewington. That version of the software has worked when using the SKIPGROUPCHECK parameter. Cheers. Dave

autosync.zip
@dminnelli here is an updated build that fixes this and #113 if you need the fixes or would like to test them

Fixed in https://github.com/lithnet/miis-autosync/releases/tag/v1.1.6500


performance of gray image is not so good

Hi, I tested hand tracking on gray images ,but the performance is not so good compared to rgb images, So are there any plans to improve performance of gray frames?
Thanks.

Can you share videos or pictures of your claim abt poor performance of gray images?

Can you share videos or pictures of your claim abt poor performance of gray images?

hi, here is a video record, I used a gray camera with 640x480 image format from an eyeware glasses. In some cases that some fingers is not visible, performance is poor.
https://drive.google.com/file/d/1lrmC01tHvZtIH0dTBJHOaRDrfJjqqRUe/view?usp=sharing

there is a lot of rectilinear lens distortion here (things are stretched towards edge of image) compared to a smartphone front facing camera.
do you have an rgb version of that same wide-angle lens type?
if not, then I would guess that the lens distortion in your gray camera is also playing a role in accuracy loss.
the center of the image has the least distortion, and i would expect decent results there, but as your hand moves to the side, it gets stretched, thus a possible loss in accuracy.
i would compare accuracy of a smartphone camera converted to grayscale vs smartphone camera rgb -- that would show the impact of grayscale images -- your test is also adding in distortion + grayscale.
do you have an rgb eyeware glasses camera to compare?

there is a lot of rectilinear lens distortion here (things are stretched towards edge of image) compared to a smartphone front facing camera.
do you have an rgb version of that same wide-angle lens type?
if not, then I would guess that the lens distortion in your gray camera is also playing a role in accuracy loss.
the center of the image has the least distortion, and i would expect decent results there, but as your hand moves to the side, it gets stretched, thus a possible loss in accuracy.
i would compare accuracy of a smartphone camera converted to grayscale vs smartphone camera rgb -- that would show the impact of grayscale images -- your test is also adding in distortion + grayscale.
do you have an rgb eyeware glasses camera to compare?

Sorry, I have no rgb version cameras with the same lens type, I will try to undistort the gray images first and check the performance.
Thanks for helpling  me figure out the problems.

hi, I made some tests on undistorted images and found no significant improvement. By the way, In the previous distorted  images, performance was also not good when hand is in the middle part of image,where camera distortion is small.

thanks for the updates and testing undistorted images.
i was not involved in model training, but i do believe the model was trained on primarily rgb data in the context of "selfie" use-case (not egocentric), and also likely not much was done on strictly grayscale data.
@fanzhanggoogle any thoughts or insights here?

thanks for the updates and testing undistorted images.
i was not involved in model training, but i do believe the model was trained on primarily rgb data in the context of "selfie" use-case (not egocentric), and also likely not much was done on strictly grayscale data.
@fanzhanggoogle any thoughts or insights here?

thanks for your response.
will there be any model optimization plans for gray camera and egocentric scenarios in the future? I mean, this is also a very typical application scenario,especially for headset AR/VR devices.

thanks for the updates and testing undistorted images.
i was not involved in model training, but i do believe the model was trained on primarily rgb data in the context of "selfie" use-case (not egocentric), and also likely not much was done on strictly grayscale data.
@fanzhanggoogle any thoughts or insights here?

thanks for your response.
will there be any model optimization plans for gray camera and egocentric scenarios in the future? I mean, this is also a very typical application case,especially for headset AR/VR devices.

Hi, thank you for reporting the quality issue. We don't have gray images in our training dataset, but we do have a lot of data augmentation to compensate for gray image. Also we do lack of first-person view training data in the model as well, I guess that's why the model works poorly on gray image + some distortion + first-person view. We are considering building a version specifically for first-person view as you mentioned for AR/VR use case. But currently don't have an exact date for it.

I'm running mediapipe library to extract the face landmakrs using the grayscale frames but it is showing me following error,
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Traceback (most recent call last):
  File "g:\My Drive\JP\JP\Tasks\SODEC - DS3\DetectionCV\faceMeshVideo copy.py", line 39, in <module>
    results = face_mesh.process(image)
  File "C:\Users\CC\AppData\Local\Programs\Python\Python310\lib\site-packages\mediapipe\python\solutions\face_mesh.py", line 124, in process
    return super().process(input_data={'image': image})
  File "C:\Users\CC\AppData\Local\Programs\Python\Python310\lib\site-packages\mediapipe\python\solution_base.py", line 354, in process
    if data.shape[2] != RGB_CHANNELS:
IndexError: tuple index out of range

Can anyone explain me why? or the mediapipe do not support grayscale at all?


In CSV loader options, use datetime to specify datetime type

For consistency with pandas.
Fix #41

Also blocked by #37


[BUG]

Describe the bug
tsc complains about uuid/v4 types and implicit any's in process.ts
To Reproduce
Steps to reproduce the behavior:
npm i<EMAIL_ADDRESS>npm run generate:nodegen
Expected behavior
no compilation errors
Node & NPM version
node: v13.13.0
npm: 6.14.5
Operating system:

OS: ubuntu
Version 18.04.4

Additional context
src/http/nodegen/request-worker/process.ts(4,20): error TS7016: Could not find a declaration file for module 'uuid/v4'. '/home/patrickmcgowan/source/acrontum/bmw/dsd/user-management/user-management/node_modules/uuid/v4.js' implicitly has an 'any' type.
  Try `npm install @types/uuid` if it exists or add a new declaration (.d.ts) file containing `declare module 'uuid/v4';`
src/http/nodegen/request-worker/process.ts(40,32): error TS7031: Binding element 'callId' implicitly has an 'any' type.
src/http/nodegen/request-worker/process.ts(40,40): error TS7031: Binding element 'error' implicitly has an 'any' type.
src/http/nodegen/request-worker/process.ts(40,47): error TS7031: Binding element 'response' implicitly has an 'any' type.

temp fix:
npm i @types/uuid
replace
-      const handleMessage = ({ callId, error, response }) => {
+      const handleMessage = ({ callId, error, response }: any) => {

/src/http/nodegen/request-worker/process.ts

@p-mcgowan this looks to be for the server tpl not the core.
The fix you wrote looks correct, would be easiest if you could just send the fix straight to dev branch on the tpl repo then merge it to master.

yep - realized that after the fact
thanks


Can not view data

when i click the table according to the README.md , i didn't see data of the table.
My machine is MacBook 2018 , My idea version is 2019.1 Ultimate Edition

The same on windows 10.  I double click on it or pick "View collection content" in popup menu but collection doesn't open in tabs.
Mongo Plugin v0.12.0
WebStorm 2019.1.2
Build #WS-191.7141.49, built on May 7, 2019
JRE: 1.8.0_202-release-1483-b49 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

Same behavior for me.  Can connect to database just fine, see the collections, but cannot view documents from collections when selecting "View collection content".
Mongo Plugin v0.12.0
WebStorm 2019.1.2
Build #WS-191.7141.49, built on May 7, 2019
JRE: 1.8.0_202-release-1483-b49 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.3

+1

I'm running a Linux machine with the last version of Intellig Idea and I have the same problem, I can't see my documents.

+1 newest win10 ,newest Datagrip

+1
Mongo Plugin v0.12.0
MongoDB shell version v4.0.3
Macos 10.14.5 (18F132)
openjdk version "11.0.3" 2019-04-16 LTS

+1

+1

+1

This could be a duplicate of #269 . You might want to try the zip I've attached to that issue (copied here):
mongo4idea.zip

I'm also experiencing this issue in Pycharm 2019.1, Mongo Plugin v0.12.0, MongoDB shell version v4.0.10, on ElementaryOS Juno (based on Ubuntu 18.04)

@cunneen Thank you , this can solve my problem.

@cunneen Thanks, worked for me too


lxd-user: Use per-user bridge

Forgot to send that one after @tomponline introduced the needed restriction last cycle.


Added code for dynamically adding balls depending on the level at random locations

Also decreased the size of the virus

Disregard this pull request


Update README

Include directory structure
Make it prettier. Include banners(screenshots) at the start of the file
A section for contributors
Mention the contract address and the network it's deployed on
Add env setup instructions for both frontend and the contract directory

@Anuragwagh You may go ahead

is this issue still open, may i contribute ?

@nerdy-nakul It's open. You may work on this.

I want to work on this issue to make a proper readme file with beautiful emojis and proper info about the contribution process to look more atttractive , please assign me under JWOC.

@Code1705 Thank you for showing your interest. But, this issue has been assigned and will be closed soon


Remove workarounds for the old pip resolver

This can be merged when the new pip resolver is ubiquitous.

Merging this now.
Using a version of pip with the new resolver is now a requirement of this stack, though there's unfortunately no way to enforce this. Hopefully, most developers will have a new version, and if not, we can document the requirement.
As-is, the need to duplicate version pins are causing problems allowing other downstream libraries to more correctly determine their own constraints.


Interactive states doesn't work well on mobile or Figma mirror app

Duplicates ❌

[X] I have searched the existing issues

Which Figma library is concerned?
Not related to one Figma library
Current behavior 😯
Today for example on radio button nothing happen on mobile when tapping one.
(all figma lib concerned and all interactive components)
Expected behavior 🤔
Tomorrow we have to be sure that when tapping radio on mobile it works :) For testing it's better.
(all figma lib concerned and all interactive components)
Context 🔦
No response
Screenshots / Videos 📸
No response

No impact for dev library


Fixes #342 Create new record for separate repository

When popper archive is run on new repository which has not been archived yet, a new record is created otherwise, a new version of a previously existing record is created. Also enabled test for popper archive with zenodo and fixed the tests.

awesome!


Maybe avoid duplication for clone()d parameter name inlay hints?

I don't know if this is a VSCode thing, a VSCode-rust thing, a rust-analyzer thing, or something else, so apologies if this is in the wrong place :)
It seems that the parameter name inlay hints are smart enough that when I pass a variable named cache or args.cache into the function's cache parameter, it doesn't duplicate the parameter name there. But if I pass name.clone() to the name parameter, it treats that as a different thing, even though I as a (admittedly non-expert) user would say that that's redundant - should the parameter names be hidden here?

Than makes perfect sense!
We have a set of geuristics here: https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L324
we can add one more there.
Those heuristics tend to bloat though, so some time later we need to come up with a refactoring there.


fixed the startOffsetNextM is undefined issue. fixed destOffsetNextM …

…which was also not defined. tested and bumped version to 0.1.3
see the fix working:
http://www.studionorthern.com/dev/svg-pathmorphing-startOffsetNextM-is-not-defined/fixed.html

Thank you!


The aciTree website (acoderinsights.ro) is down.

I just noticed http://acoderinsights.ro/ is down. It was online yesterday, but now it's not. Most of the documentation and demos of aciTree are now offline.

It seems the website is up again. Thanks!

It seems the site is down again :-(

The last time that happened, it took around 3 days before the issue was resolved. I downloaded the site's contents back then, so I wouldn't have to rely on the site anymore.
You can try browsing the site through this archive from a few months back.

2 weeks have passed, but it's still down.

site is still down

RIP 😞

site still down


Plugins

Made this PR for watching plugins grow as a spectator sport.

This change is

I'll see if we can set this up on the office projector.

Odds 2:1 that @mlucy will have more commits than @Tryneus by merge time.

I am imagining the look @mlucy gave @Tryneus when he saw the bracket spacing eslont rule. Immediately afterward it was changed.

Closing in favor of #865


Create abstract methods instead of open methods

How come the abstract NameImplBase class generates open functions rather than abstract functions? I think it would be nice to get a compile time error if a method has not been implemented, rather than a runtime error.

The choice came from trying to expose an API that mimicked the existing grpc-java behavior as close as possible. Generating open methods over abstract methods adheres to the principal of least surprise. Another reason is that it is common to evolve the api contract separately from the implementation. Most orgs Im familiar with will have a separate review process for their proto definitions.
But to your point, some users might find it beneficial to enforce method implementation at compile time. This could be hidden behind a configuration flag to make it opt-in only. Im interested in hearing what the thoughts are about this feature from other users in the community.

Thanks again for the quick response - that makes sense then and I can see the reasoning why it would not be default. If it is possible to be supported that would be great, but if no one else sees any value in this that is also fair.

One thing that is possible if a new rpc method is added but one does not want to implement the method one could just add it with a TODO, as below, leading to a very similar effect as when not overriden:
override suspend fun rpcFn(request: MyRequest): MyResponse {
        TODO("not implemented")
    }
``


Beginner level programming questions.... But in Assembly!

Hey there! Welcome to Hacktoberfest 2021!
Thanks for taking interest in this project.
In this issue, we want you to solve at least 2 of the following problems in Assembly.

Check if a string is a palindrome or not
Find the largest element in an array of n elements
Sort an array of n elements (with any sorting algo)
Find the sum of all even elements in an array of n elements
Find the smallest element in an array of n elements

Recommended Tech Stack - 8086 Assembler

Feel free to contact us here (Telegram) if you need any help!

It's okay if you don't finish 100% of what is required, it's the attempt that matters!
We'll accept PRs even if they complete a sub-component of this issue
(depending on the code submitted and the effort taken)
All the best :D

Hi, Can I work on this issue?


Form validations are not working with angular amd

More info please.

@lirantal Can this issue be closed?
@munikumar604 If you are still having issues, feel free to reopen the issue and provide us with more information. Thanks!

Closing


How to replace route "../user/"?

Hi, how to replace the default route with the ../user/ on ../user/ ?

You will have to extend ProfileController
	public function actionShow($username) {
		$user = $this->finder->findUserByUsername($username);
		if (!$user)
			throw new NotFoundHttpException('Profile not found.');

		$profile = $this->finder->findProfileById($user->id);
		if (!$profile)
			throw new NotFoundHttpException('Profile not found.');

		return $this->render('show', [
			'profile' => $profile,
		]);
	}

Perhaps this should be in core actionShowById and actionShowByUsername :)

@Thoulah
I extend ProfileController
`
use dektrium\user\controllers\ProfileController as Profile;
use yii\web\NotFoundHttpException;
class ProfileController extends Profile
{
/**
 * Shows user's profile.
 *
 * @param $username
 *
 * @return \yii\web\Response
 * @throws \yii\web\NotFoundHttpException
 */
public function actionShow($username) {
    $user = $this->finder->findUserByUsername($username);
    if (!$user)
        throw new NotFoundHttpException('User not found.');

    return parent::actionShow($user->id);
}

}
Also added a line inweb.php
'controllerMap' => [
'profile' => 'app\controllers\ProfileController',
}
`
But i still can't get the link:
site.com/user/
What is my problem?

Possibly urlRules missing?
	'modules' => [
		'user' => [
			'class' => 'dektrium\user\Module',
			'controllerMap' => [
				'profile' => 'app\controllers\user\ProfileController',
			],
			'urlRules' => [
				'profile/<username:\w+>'					=> 'profile/show',
				'<action:(login|logout)>'					=> 'security/<action>',
				'<action:(register|resend)>'				=> 'registration/<action>',
				'confirm/<id:\d+>/<code:[A-Za-z0-9_-]+>'	=> 'registration/confirm',
				'forgot'									=> 'recovery/request',
				'recover/<id:\d+>/<code:[A-Za-z0-9_-]+>'	=> 'recovery/reset',
				'settings/<action:\w+>'						=> 'settings/<action>',
			],
		],
	],

I'm not sure if you need to (re)define all rules. You can try.
@dektrium Please update your SSL certificate.

Please note, that the GitHub Issue Tracker is for bug reports and feature requests only.
We are happy to help you on the support forum. Please use it to discuss the problem.
If the result of the discussion turns out that there really is a bug in the extension, feel free to
come back and provide information on how to reproduce the issue. This issue will be closed for now.


Start adding TypeScript to the CLI and stop committing build output

@dfunckt mentioned that he's going to be adding some CLI features soon, based on TS code elsewhere: https://www.flowdock.com/app/rulemotion/resin-tech/threads/w9ehtABDLGFpdKQ8bJLI2hVXuiA. That means it'd be useful to start the TS migration sooner rather than later, if possible.
This PR does that, largely based on the patterns in the SDK. It:

Adds a minimal TS setup
Converts a single tiny file, to check it works
Stops committing the JS output of the build. It gets regenerated at publish time anyway, and it's just a recipe for conflicts and hassle.
Moves from a .npmignore blacklist of files to not publish to a files whitelist in package.json.

Thank you @pimterry @thgreasi 💯


Compatible with rails 4.2?

Hello Juanmcuello,
I looked into your gem and I'm running into some problems with rails 4.2 Everything works fine, except for the to_json_var hook.
Do you have a more recent version available?
Regards,
Sander

Hello Sander,
Sorry, this project is not currently maintained :(
It's been a long time since the last commit and I don't use Rails anymore. I'll update the Readme file to clarify this.
Sorry and good luck finding an alternative.

Ok, thanks


Preferences Sync notification returns after being explicitly turned off

Issue Type: Bug
Following the confusing notification for the Preferences Sync (https://github.com/microsoft/vscode/issues/94927), I figured out how to turn it off via cmd-shift-p: "Preferences Sync: Turn off."
However, the same notification returned again a few days later when I restarted vscode. It appears that this bug occurs whenever a new window is opened:

The new window has the Preferences Sync notification

The original window again has the Preferences Sync notification, even though it was just turned off in that window.

Turning off Preferences Sync and opening new windows repeats the flaw.
VS Code version: Code - Insiders 1.45.0-insider (44c5185373d5f209cd6c0b5d29a216fb801da34e, 2020-04-10T19:43:46.226Z)
OS version: Darwin x64 19.4.0

Thanks for reporting, duplicate of https://github.com/microsoft/vscode/issues/94888. Should be fixed in today's insiders, which we're working on releasing


Error when running in docker (Address not Available)

Bug Description
I have a docker compose file (attached below).
I use it to run a postgres database and my rust program but when I start my the compose file I get the following error message:
Could not open database!: Io(Os { code: 99, kind: AddrNotAvailable, message: "Address not available" })
I try to connect to it via the service name (in my case just db).
When I just start the database and change to db host to localhost instead of db then everything is working fine.
Also I attached a pgadmin image to the compose file to try if I can establish a connection from there and yes I can. (Also using db as a hostname)
Minimal Reproduction
Write a basic rust program that connects to a postgres database.
Try to run it in docker.
The compose file I use:
version: "3.8"
services:
  rust:
    build:
      context: .
      dockerfile: docker/rust/Dockerfile
    #restart: unless-stopped
    environment:
      RUST_BACKTRACE: 1
    volumes:
      - ./src/:/usr/src/ehkurz/src
      - ./Cargo.toml:/usr/src/ehkurz/Cargo.toml
      - ./Cargo.lock:/usr/src/ehkurz/Cargo.lock
      - .env:/home/ehkurz/.env
    ports:
      - "2005:2005"
    depends_on:
      db:
        condition: service_healthy
  db:
    image: postgres:16.0-alpine3.18
    restart: unless-stopped
    environment:
      POSTGRES_USER: ${DATABASE_USER}
      POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
      POSTGRES_DB: ${DATABASE_NAME}
    ports:
      - "5432:5432"
    volumes:
      - ./system/data:/var/lib/postgresql/data
    healthcheck:
      test: [ "CMD-SHELL", "sh -c 'pg_isready -U ${DATABASE_USER} -d ${DATABASE_NAME} || exit 1'" ]
      interval: 10s
      timeout: 3s
      retries: 3

Info

SQLx version: 0.7.2
SQLx features enabled: runtime-tokio, postgres
Database server and version: PostgreSQL 16.0.0
Operating system: Local Fedora 38 and Docker Alpine 3.18
rustc --version: 1.73.0

Things I tried

running only the DB in docker and replacing DB with localhost -> worked but that isn't my goal
going into the container and pinging db -> worked to the hostname db can be resolved

Solved it....
Haven't loaded my env vars correctly it defaulted to localhost everytime -__-

Solved it.... Haven't loaded my env vars correctly it defaulted to localhost everytime -__-

Might I ask: how did you end up solving this? Specifically, what did you change in how you were loading env vars?

Solved it.... Haven't loaded my env vars correctly it defaulted to localhost everytime -__-

Might I ask: how did you end up solving this? Specifically, what did you change in how you were loading env vars?

I had to add the https://crates.io/crates/dotenv crate and do dotenv().ok(); in order to load the env vars.


getvehicles v2 failed

After the Update to the Version 2.8.1 the Adapter works verry well.
Now i got a new error in the log:
bmw.0	2024-10-05 18:16:21.838	info	Adapter will retry in 3 minutes to get vehicles
bmw.0	2024-10-05 18:16:21.838	error	TypeError: Cannot read properties of undefined (reading 'replace')
bmw.0	2024-10-05 18:16:21.838	error	getvehicles v2 failed
bmw.0	2024-10-05 18:16:21.838	info	Found 1 bmw vehicles
bmw.0	2024-10-05 18:16:21.519	info	Start getting bmw vehicles
What can i do ?

update to 2.8.2

Version 2.8.2
Fine :-)
No erros at all.
Tx a lot !

Sorry, but after restart the adapter a second time, the same error is back :-(

bmw.0 | 2024-10-06 20:49:27.222 | info | Adapter will retry in 3 minutes to get vehicles
-- | -- | -- | --
bmw.0 | 2024-10-06 20:49:27.222 | warn | Rate Limit exceeded, please wait 5 minutes
bmw.0 | 2024-10-06 20:49:27.221 | error | {"statusCode":403,"message":"Out of call volume quota. Quota will be replenished in 00:10:33."}
bmw.0 | 2024-10-06 20:49:27.221 | error | AxiosError: Request failed with status code 403
bmw.0 | 2024-10-06 20:49:27.221 | error | getvehicles v2 failed
bmw.0 | 2024-10-06 20:49:27.087 | info | Start getting bmw vehicles
bmw.0 | 2024-10-06 20:49:26.466 | info | starting. Version 2.8.2 (non-npm: TA2k/ioBroker.bmw) in /opt/iobroker/node_modules/iobroker.bmw, node: v18.18.0, js-controller: 6.0.11

Clean log:
bmw.0	2024-10-06 20:49:27.222	info	Adapter will retry in 3 minutes to get vehicles
bmw.0	2024-10-06 20:49:27.222	warn	Rate Limit exceeded, please wait 5 minutes
bmw.0	2024-10-06 20:49:27.221	error	{"statusCode":403,"message":"Out of call volume quota. Quota will be replenished in 00:10:33."}
bmw.0	2024-10-06 20:49:27.221	error	AxiosError: Request failed with status code 403
bmw.0	2024-10-06 20:49:27.221	error	getvehicles v2 failed
bmw.0	2024-10-06 20:49:27.087	info	Start getting bmw vehicles
bmw.0	2024-10-06 20:49:26.466	info	starting. Version 2.8.2 (non-npm: TA2k/ioBroker.bmw) in /opt/iobroker/node_modules/iobroker.bmw, node: v18.18.0, js-controller: 6.0.11

I'll test it in the next week carefully!

Same issue here with 2.8.2

I have no issus any more.
Thx.


Microphone volume randomly increases when entering the voice channel

Acknowledgements

[X] I have checked that there is no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[ ] This bug affects Discord website.

[ ] This issue is confirmed to be reproducible when WebCord is packaged
on at least all three latest supported Electron major releases.

[ ] This issue is reproducible in Chrome, Chromium or any
Chromium-based browser, e.g Brave or Edge (please write in
Additional Context which browser you have used if it is neither
Chrome nor unmodified Chromium).

[ ] There are no fixes done to master which resolves this issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🐧 Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
v27
Application version
v4.5.0
Bug description
Microphone volume randomly increases when entering the voice channel
Additional context
DE: xfce 4.18

I'm quite sure of those things to be true:

This is intentional.
This can be toggled off in Discord settings.
I believe this bug was already discussed here and this issue is a duplicate of another.


Git provider should not force branch on master

By default, git will check out the master branch when a repository is first
cloned (unless the repo specifies a different default branch). The git provider
will then attempt to force update to the checkout_branch, but will fail
because you can't force checkout a branch you are on.  An example on the
command line:
$ git checkout master
$ git branch -f master abcde12345
fatal: Cannot force update the current branch.

 I forgot to rebase, so I had to force push, and github isn't smart enough to know that.
I would like to write a regression test for this behavior. Would it be appropriate to stick something in kitchen-tests?

@danielsdeleo You seem to be someone with authority over this repo. I made the pull request a while ago and nobody has taken a look at it.

I think this is what enable_checkout false is for.  Code which is merged onto master is ready for production. Chef should pick up new changes on the next chef run.

@iankronquist why does the checkout branch name matter then? As long as the revision is the same, you have the same code.

The revision will change. We want the code in production to track the tip of the master branch. If new commits get pushed to master we want chef to update the code to the tip of master.

That's exactly how chef works by default, just the branch name on the host is "deploy" and not "master." If you tell chef to track master, it'll pull in updates as they are available and force overwrite the "deploy" branch with the new commits.

Yes, however, consider the following invocation of the git provider:
 git '/opt/fenestra' do
  action :sync
  repository 'https://github.com/osuosl/fenestra'
  checkout_branch 'master'
end

Chef will

Clone the repo and check out master
Force branch to master, but you can't force branch to a branch you're already on, so it fails.

Maybe there's a better way to do this, but when I use the git resource in a way very similar to the one above it fails.

You get exactly the behavior you want if you just omit checkout_branch 'master'. If you want to be explicit that you're tracking the upstream's master branch, then revision "master" is what you want.

BTW, I'm not fundamentally opposed to your change, it just seems to me like what you need to do is already supported. Maybe it's a docs issue?

I'm going to have to put together a cookbook which demonstrates my issue. It may well be a docs issue. I'll be out of town for a little while so I'll bother you in a week or two.

@danielsdeleo FYI, more other people have run into the issue and left comments recently.
As promised, Here is the cookbook that demonstrates the issue. To see the bug in action just run kitchen test. The README has more information.
It could be a documentation bug, but I don't think so.

Right, so the reason I say it's a documentation issue is that the git provider is designed to work two ways:

You want to always sync a particular commit (which can change over time based on use of attributes, etc.). In this case you identify what commit you want from the upstream repo using the revision property of the git resource. The git provider will locally maintain its own branch and force it to whatever commit you want. This way, if you want to switch from one branch to another, or only deploy certain tags (maybe you set with attributes or a data bag item), you just set the revision and the provider will always ensure you're on the correct commit by checking git ls-remote on the upstream repo.

You want to do a one-time checkout. Usually this happens when you're maintaining developers' laptops with Chef. In this case, you set enable_checkout to false which prevents the git provider from attempting to checkout master to master. This usage was sort of bolted on to the git provider after use case (1), so it's a bit unwieldy, I admit.

You seem to have use case (1), so you just need to set revision to "master" and not use the checkout_branch option and it should work the way you expect.
About it being a docs issue, the docs don't explain these two use cases (or much about how things work under the hood) so it seems like you're confusing resource properties for use case (2) when trying to implement use case (1).

That is to say,
change:
git '/opt/fenestra' do
  action :sync
  repository 'https://github.com/osuosl/fenestra'
  checkout_branch 'master'
end

to
git '/opt/fenestra' do
  action :sync
  repository 'https://github.com/osuosl/fenestra'
  revision 'master'
end

And each chef run will set the checked out code to the latest on master, as determined by running git ls-remote REPO_URL master

It looks like it's a docs issue then.

@chef/client-core thoughts? I'm happy to just copy the text from above to an issue on chef-docs and call this done. On the other hand, it's not really that big a deal if we let people set the checkout branch to master. But then again, I think people only want to do that because of a misunderstanding of how the provider actually works and maybe they'll get into trouble if they later try to change what branch/tag/whatever they track on the upstream by setting checkout_branch and it doesn't work.

Agree we should just get the docs fixed.

https://github.com/chef/chef-docs/issues/552


[snippets] Generates invalid snippet paths (on Windows)

This issue regards the snippets package.
Description
The snippet paths generated are invalid for me (when I generated them using dart pub global run snippets:extract_sample --input packages/flutter/lib/src/material/theme_data.dart).
There are two separate problems:

Only on Windows: the generated paths use backslashes, which makes the CI in flutter/flutter fail because it cannot deal with them. Instead, forward slashes should be used since they work both on Windows and Linux/OS X.
The generated paths are not relative from the repository root, i.e. d:\os\flutter\flutter\dev\snippets\config\templates\stateless_widget_scaffold.tmpl was generated for me instead of dev/snippets/config/templates/stateless_widget_scaffold.tmpl.

Resources

What I needed to manually fix after generation (Git commit): https://github.com/flutter/flutter/pull/89070/commits/ab80376ff58764e83d373e38cc6b5633bf7434b7
CI failure in flutter/flutter due to backslahes in paths: https://github.com/flutter/flutter/pull/89070/checks?check_run_id=3447125054

Versions
I used snippets 0.2.4 to generate the snippets.
[✓] on Microsoft Windows [Version 10.0.19042.1165], locale en-150
    • Dart version 2.15.0 (build 2.15.0-64.0.dev)

Hi @creativecreatorormaybenot
Thanks for filing the issue, backslashes are always an issue with Windows, that's why i prefer to use Linux/macOS for anything with dartdocs.


Enhance MDTM feature (Set file modification Time)

Enhance MDTM feature, able to set the modification time of a file on the server
The following command is used: MDTM YYYYMMDDhhmmss filename
Example: MDTM<PHONE_NUMBER>3042 log.txt
As in RFC-3659 https://tools.ietf.org/html/rfc3659

Done, please check

In case someone's interested in details about time zones, leap seconds etc, they're described in section 2.3 of said RfC.

Hey @coderbuzz I had to revert this because it was causing test failure. If you can fix the test, I'll take this PR. Thanks!


Too many redirects.

It says too many redirects. Which version of axel do you use?
Initializing download: http://vision.imar.ro/human3.6m/filebrowser.php?download=1&filepath=Poses/D2_Positions&filename=SubjectSpecific_3.tgz
Too many redirects.

Did you find a solution? I am facing the same problem. Its giving the same error : Too many redirects.

Yes I have edited the file name to 'config.ini' and added the PHPSESSID corresponding to my account. Here take a look at the screenshot.

the rest of the x's are also replaced by my PHPSESSID. I just hid them for privacy concerns

What you've done is correct. The other possibility is that you're currently logged out of the Human3.6M website. Go to http://vision.imar.ro/human3.6m/ and make sure that you're logged in.

I have written https://github.com/anibali/h36m-fetch/commit/098cf6cc27e5d41ab35a76d8cbaa9869e4810162 which verifies the PHPSESSID before attempting to download files. Hopefully this will provide better feedback for future users that have an invalid PHPSESSID or are logged out.

Me and @saketdingliwal were working on it together. Yes you are right, we were logged out from Human3.6M website at that moment. The script is working fine now. It's a good thing you updated the script to display a different error message. This will help people in future. Thank You

Hello, i have created an account on Human3.6m, but when i want to sign in, it always show "Account needs manual verification from the admins. Please be patient.".So, may i share your dataset with you?


fix(multi-geth hook): rpcUrl should override service runner url

fixes #79

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


Unexpected StatusCode.UNAVAILABLE: Connection reset by peer

What version of gRPC and what language are you using?
Python 3.6
grpcio==1.21.1
What operating system (Linux, Windows,...) and version?
Ubuntu 18 in Docker
What runtime / compiler are you using (e.g. python version or version of gcc)
Running in Kubernetes with Envoy as a proxy
What did you do?
Invoke a function via gRPC
What did you expect to see?
Normal invocation and computed result
What did you see instead?
Sometimes (~ in 1-5 %) I get:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/backoffice/worker.py", line 138, in handle text

File "/usr/local/lib/python3.6/contextlib.py", line 52, in inner return func(*args, **kwds)

File "/usr/local/lib/python3.6/site-packages/backoffice/worker.py", line 261, in task_handler data.update(self.get_faq_search_article(input_text))

File "/usr/local/lib/python3.6/contextlib.py", line 52, in inner return func(*args, **kwds)

File "/usr/local/lib/python3.6/site-packages/backoffice/worker.py", line 225, in get_faq_search_article response =
self.faq_search_stub.GetFAQArticleID(query)

File "/usr/local/lib/python3.6/site-packages/grpc/_channel.py", line 565, in __call__ return _end_unary_response_blocking(state, call, False, None)

File "/usr/local/lib/python3.6/site-packages/grpc/_channel.py", line 467, in _end_unary_response_blocking raise _Rendezvous(state, None, None, deadline) grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "Connection reset by peer" debug_error_string = "{"created":"@1561963566.707249650","description":"Error received from peer ipv4:<IP_ADDRESS>:8100","file":"src/core/lib/surface/call.cc","file_line":1046,"grpc_message":"Connection reset by peer","grpc_status":14}" >

status_code => 'StatusCode.UNAVAILABLE'
error_details => 'Connection reset by peer'

Self-made retry mechanism with exp. backoff helped mitigate this issue.

How can we reproduce this problem? Do you have a minimal reproduction case?
Failing that, can you please turn up logging by setting the following environment variables and supply us with the output?
GRPC_TRACE=all
GRPC_VERBOSITY=DEBUG

Does this problem occur in earlier versions of gRPC?

@yutkin Would you be willing to share your solution?

@geoffjukes You have to define an interceptor for RPC Errors. It will doing retries on failures with exponential backoff sleeping policy:
class SleepingPolicy(abc.ABC):
    @abc.abstractmethod
    def sleep(self, try_i: int):
        """
        How long to sleep in milliseconds.
        :param try_i: the number of retry (starting from zero)
        """
        assert try_i >= 0

class ExponentialBackoff(SleepingPolicy):
    def __init__(self, *, init_backoff_ms: int, max_backoff_ms: int, multiplier: int):
        self.init_backoff = randint(0, init_backoff_ms)
        self.max_backoff = max_backoff_ms
        self.multiplier = multiplier

    def sleep(self, try_i: int):
        sleep_range = min(
            self.init_backoff * self.multiplier ** try_i, self.max_backoff
        )
        sleep_ms = randint(0, sleep_range)
        logger.debug(f"Sleeping for {sleep_ms}")
        time.sleep(sleep_ms / 1000)

class RetryOnRpcErrorClientInterceptor(
    grpc.UnaryUnaryClientInterceptor, grpc.StreamUnaryClientInterceptor
):
    def __init__(
        self,
        *,
        max_attempts: int,
        sleeping_policy: SleepingPolicy,
        status_for_retry: Optional[Tuple[grpc.StatusCode]] = None,
    ):
        self.max_attempts = max_attempts
        self.sleeping_policy = sleeping_policy
        self.status_for_retry = status_for_retry

    def _intercept_call(self, continuation, client_call_details, request_or_iterator):

        for try_i in range(self.max_attempts):
            response = continuation(client_call_details, request_or_iterator)

            if isinstance(response, grpc.RpcError):

                # Return if it was last attempt
                if try_i == (self.max_attempts - 1):
                    return response

                # If status code is not in retryable status codes
                if (
                    self.status_for_retry
                    and response.code() not in self.status_for_retry
                ):
                    return response

                self.sleeping_policy.sleep(try_i)
            else:
                return response

    def intercept_unary_unary(self, continuation, client_call_details, request):
        return self._intercept_call(continuation, client_call_details, request)

    def intercept_stream_unary(
        self, continuation, client_call_details, request_iterator
    ):
        return self._intercept_call(continuation, client_call_details, request_iterator)

Usage example:
interceptors = (
  RetryOnRpcErrorClientInterceptor(
    max_attempts=4,
    sleeping_policy=ExponentialBackoff(init_backoff_ms=100, max_backoff_ms=1600, multiplier=2),
    status_for_retry=(grpc.StatusCode.UNAVAILABLE,),
  ),
)
stub = YourStub(
    grpc.intercept_channel(grpc.insecure_channel("service-hostname:8100"), *interceptors)
)

Thank you so much for sharing @yutkin, this is incredibly helpful.

@yutkin Thanks for the detailed interceptor! Retries are something that are not currently handled automatically within the gRPC library, either in Python or in C++, so doing retries like this within your application is definitely the way to go. If you'd like to contribute this interceptor, we have a Github project called grpc-ecosystem for great community-authored add-ons like this. (guide for contributing)

What I don't understand is why would this happen in the first place? Is this a normal potentiality in the python GRPC library or does it say something about the service that is responding:
status_code => 'StatusCode.UNAVAILABLE'
error_details => 'Connection reset by peer'

It's also not clear here https://grpc.github.io/grpc/python/grpc.html
If there is support for secure_channels --- finally does anyone know what This is an EXPERIMENTAL API. means in so far as using this channel intercept stuff?

@iamliamc It says something about the connection between the client and the server.
Yes, interceptors do indeed work with secure_channels.
Interceptors are currently considered an experimental API. Which means that we technically reserve the right to change the API without making it a major version bump. In practice however, so many things have come to depend upon the current form of the interceptor API, that it's highly unlikely we'll do this. In fact, we probably need to to make it a priority to graduate the API from experimental in the not-too-distant future.

We weirdly only experience this on versions > 1.25. We are also building from source now since we need to use OpenSSL instead of BoringSSL (our certs are somehow incompatible with BoringSSL but work fine with OpenSSL. We're working on replacing them with BoringSSL compatible certs), but I can't see how this issue would be related to OpenSSL.
Has anyone else experienced this in the latest versions of gRPC (1.46.3)?

Is the randomness in the sleep needed in this grpc case?


Code fixes

Fixes linter warnings, adjusted a couple of use statements, and made sure the tests still pass without modification.

@Kevin-Morales: thanks for running the linter. I run clippy, but I didn't run a linter.
There are two things (maybe more) that I know I don't agree with the linter (or clippy) about. One is the "needless return" style. I find the code more readable when the returns are explicit. It is probably just my background where many of the languages I used in the past did that, so I look for them now. I'll admit I not 100% consistent with adding returns, but I would be happy to mostly have the linter tell me when there are missing.
The other style is that I prefer the line length to be 120 chars, not 80 chars. I'm old enough to know where the 80 char line length came from, but it no longer makes sense. The shorter lines means more lines are needed for the same code, so less that I see on a screen at once.
There are some individual linting "fixes" that I find bad style. For example, I just found out that the NVDA python style requires a comma after the final argument in a function in a situation like:
myFunctionCall(
some long argument that is on its own line,
)
I find that very ugly.  But it is their style, not mine, so I need to follow that.
Can you redo your changes/undo your changes with those two styles in mind. Thanks.

I think one of your merges has a problem with a recent update to a test case. One of the fixes I made caused the test to recognize the Chemistry and I updated the expected result but I think you missed that. The correct result for "pointless_nones_in_mmultiscripts" in src/canonicalize.rs is:
 <math>
  <mmultiscripts data-chem-formula='6'>
    <mtext data-chem-element='1'>C</mtext>
    <mprescripts></mprescripts>
    <mn>6</mn>
    <mn>14</mn>
  </mmultiscripts>
 </math>

Can you submit the fix and I'll trigger the build again. Otherwise, the fixes look good.
Is there way to bring the linter into the VSCode environment so problems show while editing? Have you played with rustfmt? See #273 for a little discussion on that. It might something to use.

FYI: the problem is from your commit https://github.com/NSoiffer/MathCAT/pull/291/commits/3389eb068b9524d9a1780bcce3c4bce4d9ce720a that reverted a commit I made. I don't know why you reverted my commit.

Hi Neil,
I have updated the test cases, as pointed out in your last message.
After the fix, all of the tests that are not ignored by the test runner
should pass now.
Still working on the Python scripts and their code style.
Best Regards,
Kevin
On Tue, Oct 15, 2024 at 8:56 PM NSoiffer @.***> wrote:

I think one of your merges has a problem with a recent update to a test
case. One of the fixes I made caused the test to recognize the Chemistry
and I updated the expected result but I think you missed that. The correct
result for "pointless_nones_in_mmultiscripts" in src/canonicalize.rs is:

C

6
14

Can you submit the fix and I'll trigger the build again. Otherwise, the
fixes look good.
Is there way to bring the linter into the VSCode environment so problems
show while editing? Have you played with rustfmt? See #273
https://github.com/NSoiffer/MathCAT/issues/273 for a little discussion
on that. It might something to use.
—
Reply to this email directly, view it on GitHub
https://github.com/NSoiffer/MathCAT/pull/291#issuecomment-2415431938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVUXHK3U4U5MODFQGG25V3Z3W2TBAVCNFSM6AAAAABP35TH22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVGQZTCOJTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


DocIndex: User defined mapping from python type to db type

When a user creates a Document Index with a schema, it is not always unambiguous what types should be used in the database:
class MySchema(BaseDocument):
    text: str  # should this be a string or a varchar? if varchar, what length?
    embedding: NdArray  # should this be float tensor or boolean tensor?
    num: float  # float32 or float64?

index = MyDocIndex[MySchema]

Right now, there is the method python_type_to_db_type that disambiguates these things, but it leaves no user choice.
We should enable an (optional!) feature like this:
class MySchema(BaseDocument):
    text: str  = Field(..., col_type='varchar', max_len=2048)
    embedding: NdArray  = Field(col_type='boolean_tensor')
    num: float  = Field(col_type='float64')

index = MyDocIndex[MySchema]

@JohannesMessner
I would please like to work on this issue!

@JohannesMessner
I would please like to work on this issue!

Hi, thanks for you interest! We first need to merge https://github.com/docarray/docarray/pull/1124, which should happen tomorrow.
You can keep an eye on it, after it's done I'd be happy to assign this issue to you!

To give some more detail about how I would solve it: When creating a _Column we should look at the args passed to Field, specifically if there is a col_type=... argument that was passed. If so, the default provided by python_type_to_db_type should be overriden, and the passed col_type should be set as the db_type in the _Column. Then it is up to the backend dev to treag it properly.
We could additionally consider asking every backend to define a set of valid column types, i.e. a set of valid values for col-type=. That way we could check the input and fail early if something is misconfigured.

Hi @AsRaNi1, the other PR has been merged, so I assigned you to this issue.
Here you can find more guidance on Document Index in general, not all of it will be useful to you, but the sections on python_type_to_db_type and _Column might be.
Please open a draft PR even before you are completely done, so everyone can see what is going on, and offer help if needed. And feel free to add me as a reviewer :)

@JohannesMessner from what  gathered from the documents is that, _create_single_column creates a column of type _column and gets passed a _type which is the types of the column present in the database. This _type gets passed to python_type_to_db_type which returns the corresponding type in the database. What i think i have to do here is that in _column of in i have to specify a col_type which can then be passed to the respective functions ahead.
Please do correct me if i am wrong anywhere.

I think your understanding is correct.
But instead of adding a new field in _ClumnInfo (I renamed it from _Column to avoid confusion :) ), I would say we should just change what is stored in _ColumnInfo.db_type.
So what you need to do is implement a mechanism that, given a user input of, e.g., num: float  = Field(col_type='float64') (see above) extracts float_64 and passes it to _ColumnInfo.db_type.
This should happen in _create_single_column.
It might be as simple as looking at the custom_config variable there, seeing if a col_type is present, and if so, overriding db_type with it.
I hope this explanation is clear :)


Deep sort

Hi guys, thank you for the PR but I really don't have ideia what this code is about. I'd assume it was some kind of mistake commiting/pushuing/pr'ng to the wrong repo. I'm closing it but let me know if you need something.
Have fun on coding.


Required bound views are null after calling ButterKnife.bind(this) in library module

Here is example project ButterKnifeModule
I'm not using proguard
in app:
buildscript {
    repositories {
        jcenter()
        mavenCentral()
        maven { url "https://jitpack.io" }
        maven { url 'https://maven.fabric.io/public' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.2'
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
     }
}
dependencies {
    compile 'com.jakewharton:butterknife:8.6.0'
    apt  'com.jakewharton:butterknife-compiler:8.6.0'
}

package com.example;
@Layout(id = R.layout.activity_login)
public class MyActivity extends BaseActivity {
}

package com.example.activities;
public class BaseActivity extends BaseToolbarActivity {
}

in lib module:
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.jakewharton:butterknife-gradle-plugin:8.6.0'
    }
}

apply plugin: 'com.android.library'
apply plugin: 'android-apt'
apply plugin: 'com.jakewharton.butterknife'
dependencies {
    compile 'com.jakewharton:butterknife:8.6.0'
    apt  'com.jakewharton:butterknife-compiler:8.6.0'
}

package com.base.ui.activities;
public class BaseToolbarActivity extends BaseContentActivity {
    @android.support.annotation.Nullable
    @butterknife.BindView(R2.id.toolbar)
    Toolbar mToolbar;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);//setContentView and bind is called is super class BaseContentActivity
         // mToolbar is NULL
      }
}

package com.base.ui.activities;
public class BaseContentActivity extends AppCompatActivity{

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
         Class cls = getClass();
        if (!cls.isAnnotationPresent(Layout.class)) return;
        Annotation annotation = cls.getAnnotation(Layout.class);
        Layout layout = (Layout) annotation;
        setContentView(layout.id());
        ButterKnife.bind(this);
       }
}

Log:
D/ButterKnife: Looking up binding for com.example.MyActivity
D/ButterKnife: Not found. Trying superclass com.example.activities.BaseActivity
D/ButterKnife: Not found. Trying superclass com.base.ui.activities.BaseToolbarActivity
D/ButterKnife: HIT: Loaded binding class and constructor.
D/ButterKnife: Looking up binding for com.example.MyActivity
D/ButterKnife: HIT: Cached in binding map.

I'm seeing this same issue.  Specifically, I have an abstract activity in a library module and the binding with ButterKnife 8.6.0 doesn't function for it at all; every bound view is null, onClicks are never called, etc.
Everything on my end is exactly the same as Kolyall here is seeing, except my debug log has a HIT:Loaded binding class and constructor for the second line.  There's no Not found errors at all.

Dupe of #808.


AttachAction - use the specified related key names

When using BelongsToMany relationships that have custom keys, the AttachAction needs to load the record using the relatedKey instead of the primary key of the record, because the id passed by the search query itself is the relatedKey, not the primaryKey of that record

Thanks

Thanks for your great work on filament. It's really a lifesaver


(MODULES-9600) Add support for Changelog Generator gem

Description

Added support for Changelog Generator gem
Ran pdk update on repo
Added labels to historical PRs (upstream)
Moved existing CHANGELOG.md to HISTORY.md
Regenerated CHANGELOG.md using Changelog Generator gem

Tests

[x] Ran pdk validate (YAML syntax failures)

This module has been deprecated


updated README.md

#9

/lgtm

@sajanjswl @xing-yang squashed commits and removed table.

@sajanjswl @xing-yang squashed commits and removed table.

/assign @wlan0

/lgtm

/ok-to-test

/approve


File downloaded from deepdoctection/d2_casc_rcnn_X_32xd4_50_FPN_GN_2FC_publaynet_inference_only does not match the expected size! You may have downloaded a broken file, or the upstream may have modified the file.

Bug 💥
I'm running the GetStarted.ipynb.
Error occured when run cell:
analyzer = dd.get_dd_analyzer(config_overwrite=["LANGUAGE='deu'"])

The error log is:

[0422 14:53.05 @model.py:1012]  ERR  File downloaded from deepdoctection/d2_casc_rcnn_X_32xd4_50_FPN_GN_2FC_publaynet_inference_only does not match the expected size! You may have downloaded a broken file, or the upstream may have modified the file.
[0422 14:53.15 @model.py:1012]  ERR  File downloaded from deepdoctection/d2_casc_rcnn_X_32xd4_50_FPN_GN_2FC_pubtabnet_rc_inference_only does not match the expected size! You may have downloaded a broken file, or the upstream may have modified the file.
[0422 14:53.35 @model.py:1012]  ERR  File downloaded from deepdoctection/d2_casc_rcnn_X_32xd4_50_FPN_GN_2FC_pubtabnet_c_inference_only does not match the expected size! You may have downloaded a broken file, or the upstream may have modified the file.

I noticed you have fix this with #292 and make it a warning, not an error.
Howerver, it seems still an error in my environment.
Expected behavior  🧮
run Get_Starter.ipynb successfully.
Screenshots 🖼

Desktop (please complete the following information, if any other than the one in the install requirements):

OS: Linux XXX <IP_ADDRESS>-microsoft-standard-WSL2 # 1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ pip show deepdoctection
Name: deepdoctection
Version: 0.31
Summary: Repository for Document AI
Home-page: https://github.com/deepdoctection/deepdoctection
Author: Dr. Janis Meyer
Author-email:
License: Apache License 2.0
Location: /home/jq_lu/miniconda3/lib/python3.11/site-packages
Requires: catalogue, huggingface-hub, importlib-metadata, jsonlines, mock, networkx, numpy, packaging, Pillow, pypdf, pyyaml, pyzmq, tabulate, termcolor, tqdm
Required-by:

Additional context 🧬
If necessary add some context related to the problem

Sorry, my fault.
After install tersseract with
sudo apt install tesseract-ocr
sudo apt install libtesseract-dev

It stil output the error log, but error doesn't stop the program.


Fix russian quotes

An error was made when creating a list of quotations in Russian. In a fairly large number of quotes, a dash was used not only to separate the text of the quote and its author, but also in the quote itself. Because of this, many quotes were deprived of the author.

Wow this is kind of embarassing 😅
Thank you for taking the time to fix it !


L2 Assets Frontend: Product discussion changes

This PR contains changes that were discussed and agreed upon in the last product discussion, more precisely:

Change table header on L2 Assets page
Rename the tab 'Detailed TVL' -> 'Value Locked'
Change the TVL header to say 'Sum of all tokens expressed in USD/ETH'
Stacked chart are filled with uniform color without any patterns
Stacked chart has now only a single hover point instead of three
Use stacked charts by default instead of the OG chart type on project pages

label centering looks a bit off here, i would expect it to be aligned with the long dash

type on mobile (chose -> choose)


[Catalog] Make thumbnail clickable; display full-size image

:help-wanted: on http://meshery.io/catalog|meshery.io/catalog -
Slack Message

Hey @leecalcote , Can you assign this issue to me?

@leecalcote When image is expanded how much width should it take and should we also need to provide close button to minimize it again?

@Raj100679 let me know what you figure out... make a proposal. Ideally, as large as the modal. Ideally, the modal doesn't go away, but perhaps another on top or just the same modal, but screenshot taking the whole space. Yes, user should return to their original location (modal) when done.

Hey any update on this issue?

@0xSaksham , will work on it today

Hey @0xSaksham , was not able to solve it, You can assign anyone who wants to work on this issue. Thanks

@Raj100679 I'll try this today.

@0xSaksham Sorry, I guess I have got it now, @leecalcote Can you suggest what more should i do ?
https://github.com/meshery/meshery.io/assets/85561967/0a0f6fd8-33b2-4b8b-9218-c8c69269df6d

@0xSaksham i think you nailed it. Looks great.

Hey @Raj100679  Let's discuss this on website call tomorrow at 6:30 PM IST / 7 AM Central time. Please add this as an agenda item in the meeting minutes.

Hey @leecalcote , So I have stopped scrolling and centered image, more work has to be done when window size goes down 1300px, Any suggestions?
https://github.com/meshery/meshery.io/assets/85561967/9854a74e-945b-468f-bb16-cbf2f428a666

@leecalcote, please engage with other contributors as needed.

@abhijeetgauravm , what do u think abt it, should i raise a pr

@abhijeetgauravm , what do u think abt it, should i raise a pr

Looks good to me @Raj100679

@abhijeetgauravm will improve the css for responsiveness and will raise a pr by the end of week


Replace playground with GraphiQL

When I added the playground I mainly did it because it supported subscription, but it looks like now GraphiQL supports them as well: https://github.com/graphql/graphiql/tree/master/packages/graphiql
It might also be nice to add the explorer plugin by default, since it provides a really nice dev experience: https://github.com/OneGraph/graphiql-explorer
We should also consider whether to disable this by default and only having it in debug mode. (Same for introspection).

How about a separate flag to enable/disable graphiql. I can imagine wanting to have debug off but but graphiql on.
graphql_app = GraphQL(schema, debug=False, graphiql=True)

@sarendsen yes!
We'd need this for our django, flask and asgi apps :)

I should be able to create a initial PR for this somewhere this week if that's fine by you.

Sure!


required positional argument: 'authorization'

I'm getting this error.
error caught in notification handler '/Users/raf/dotfiles/vim/plugged/chatgpt.nvim/rplugin/python3/chatgpt_nvim.py:command:ChatGPT [['testing']]'
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pynvim/plugin/host.py", line 140, in _on_notification
    handler(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pynvim/plugin/host.py", line 86, in _wrap_delayed_function

    plugin = cls(self._configure_nvim_for(cls))
  File "/Users/raf/dotfiles/vim/plugged/chatgpt.nvim/rplugin/python3/chatgpt_nvim.py", line 285, in __init__
    self.bot = Bot(Chatbot(Config.load().as_dict()))
  File "/Users/raf/dotfiles/vim/plugged/chatgpt.nvim/rplugin/python3/chatgpt_nvim.py", line 42, in load
    return Config(**json.load(file))
TypeError: Config.__init__() missing 1 required positional argument: 'authorization'

Is the authorization field in .chatgpt-nvim.json needed? I don't think I can access an API key.

Yeah it's required for now, but you can keep it blank. I'll make it optional soon since not many people may have api keys.

Thanks. And thanks for creating this plugin. Really stoked to check it out. I've set authorization to an empty string, but then I get this when I try :ChatGPT query:

Thanks. And thanks for creating this plugin. Really stoked to check it out. I've set authorization to an empty string, but then I get this when I try :ChatGPT query:

Did you set your session_token? Its currently needed to make requests to ChatGPT.

Yes. I copied a 2481-character string from DevTools > Application > Cookies.

I'm still getting the same error, though.

Incidentally, I can get this repo working using the access token I can see at https://chat.openai.com/api/auth/session. Is there a way of using this access token with chatgpt.nvim?

Incidentally, I can get this repo working using the access token I can see at https://chat.openai.com/api/auth/session. Is there a way of using this access token with chatgpt.nvim?

Try updating the dependency pip3 install revChatGPT --upgrade, seems to be working for me


Parsedown renders UTF-8 BOM as character

Create MD file in UTF-8 + BOM format
Attempt rendering with Parsedown

Result is that rendered output starts with  breaking first line of file. If first line is blank, it outputs

.

I'm not entirely sure this is a bug since Parsedown doesn't handle reading of files?
According to http://www.unicode.org/faq/utf_bom.html#bom1, a file with UTF-8 + BOM will start with the bytes EF BB BF (i.e. the result that you're seeing in your output). If these bytes aren't desired in the output, it would seem it is the file reader's responsibility to remove this?


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

Codecov Report

:exclamation: No coverage uploaded for pull request base (dependabot/composer/mockery/mockery-0.9.staror-1.3.star@bd71878). Click here to learn what that means.
The diff coverage is n/a.

@@                                    Coverage Diff                                     @@
##             dependabot/composer/mockery/mockery-0.9.staror-1.3.star      #21   +/-   ##
==========================================================================================
  Coverage                                                           ?   74.63%
  Complexity                                                         ?      171
==========================================================================================
  Files                                                              ?       10
  Lines                                                              ?      347
  Branches                                                           ?        0
==========================================================================================
  Hits                                                               ?      259
  Misses                                                             ?       88
  Partials                                                           ?        0

Continue to review full report at Codecov.

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


Determine all terminal types and relations for typesystem

Description
Determining the ultimate terminal types and terminal relations for a given object type and relation. This data is proposed to be calculated at the time of typesystem creation and validations (t.NewAndValidate()) and associated in a multi-key map on the typesystem struct.
This work enables two different optimizations. The first is an optimized TTU and userset lookup with much fewer DB queries. However, this requires knowledge of the terminal types and relations for a given userset to craft the appropriate query. Currently, this is limited to usersets that result in a direct relation and necessarily doesn't result in a computed relation, union, intersection, etc. This limitation can be observed in #1733.
Secondly, this map of connected types can ultimately be used as an optimization in Check, ListObjects and ListUsers as a screen to determine if the request's relation and types are valid with respect to the model. If not, we can exit the process with a falsey outcome and prevent some DB requests. This work was previously visited in #1582 but this PR will reduce the computation to a O(1) lookup at runtime.
DRAFT: Work is still in progress. Needs more testing and support for intersection and difference rewrites.
References
Supports: #1733, #1735, #1734
May help supercede: #1582
Review Checklist

[x] I have clicked on "allow edits by maintainers".
[x] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[x] I have added tests to validate that the change in functionality is working as expected

Superseded by #1765


os.environ['OMP_THREAD_LIMIT'] = '1' still leading to usage of mutiple CPU cores

As per tesseract source code, setting 'OMP_THREAD_LIMIT=1' should lead to usage of only single CPU core. Below is the snippet from tesseract.1.asc file from https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc
However, I still see multi core usage even after I set the variable in my python script. Anyone else facing similar issue?
ENVIRONMENT VARIABLES
TESSDATA_PREFIX::
If the TESSDATA_PREFIX is set to a path, then that path is used to
find the tessdata directory with language and script recognition
models and config files.
Using <<TESSDATADIR,--tessdata-dir 'PATH'>> is the recommended alternative.
OMP_THREAD_LIMIT::
If the tesseract executable was built with multithreading support,
it will normally use four CPU cores for the OCR process. While this
can be faster for a single image, it gives bad performance if the host
computer provides less than four CPU cores or if OCR is made for many images.
Only a single CPU core is used with OMP_THREAD_LIMIT=1
I have installed Tesseract using conda-forge:
tesseract 4.1.0
leptonica-1.78.0
libgif 5.1.4 : libjpeg 9d : libpng 1.6.37 : libtiff 4.1.0 : zlib 1.2.11 : libwebp 1.1.0 : libopenjp2 2.3.1
Found AVX2
Found AVX
Found SSE
I am using pytesseract[python wrapper] to create a solution which is using conda tesseract. I am working on Linux 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64 GNU/Linux with 7 cores

duplicate #2996

This is not a duplicate issue, although it is related to query before and the system specification is same. I tried setting the environment variable and it did not work. Wanted to know what could be the reason

This is not an issue at all, but a user question. Please use the Tesseract user forum for questions.

Okay. Thank you

So, any answers?

So, any answers?

@objectisliper I was able to achieve it using the following line of command in the beginning on my python script:
import os os.environ["OMP_NUM_THREADS"]= '1' os.environ["OMP_THREAD_LIMIT"] = '1' os.environ["MKL_NUM_THREADS"] = '1' os.environ["NUMEXPR_NUM_THREADS"] = '1' os.environ["OMP_NUM_THREADS"] = '1' os.environ["PAPERLESS_AVX2_AVAILABLE"]="false" os.environ["OCR_THREADS"] = '1'
Please note that you have to ensure that the above code should be present at the beginning of your python script, all other imports and line of codes should follow this for example:
`import os
os.environ["OMP_NUM_THREADS"]= '1'
os.environ["OMP_THREAD_LIMIT"] = '1'
os.environ["MKL_NUM_THREADS"] = '1'
os.environ["NUMEXPR_NUM_THREADS"] = '1'
os.environ["OMP_NUM_THREADS"] = '1'
os.environ["PAPERLESS_AVX2_AVAILABLE"]="false"
os.environ["OCR_THREADS"] = '1'
import pandas as pd
import numpy as np
import json
import requests
import pytesseract`
This should work


[GPT2] Add generation unwrapping protection

Every once in a while, GPT2-Inference will crash with this error:
Illegal instruction (core dumped)

This change adds unwrapping protection in case something goes wrong during generation.

I'm still seeing Illegal instruction (core dumped), but this will hopefully aid in eventually locating the root cause.

@texasmichelle I'm not sure I follow how this helps in locating the root cause?  This hides the error, previously, we would actually hit the unreachable codepath, allowing us to understand whats going on in in a debugger


Script that pulls in weather info from json API

As of 6e9f3ba0d9734e57109e99c5b8fef446a74e3dde, weather script is live and functional


How to edit NODE's property in Flutter?

Like this:

We'll be extending the example to include some controllers that will make this easier to do in Flutter soon. Right now you can do this by extending the logic in nima_actor.dart.
You would query for the node when you want to change it:
ActorNode eyes = _actor.getNode("Eyes");
if(eyes is ActorNodeSolo)
{
	eyes.activeChildIndex = 0; // set to closed
	eyes.activeChildIndex = 1; // .. or set to open
	eyes.activeChildIndex = 2; // .. or set to angry
}

I'll post a note when we have an example specifically showing how to do this on top of the existing example.

thanks so much, 👍


How does tf-encrypted integrate with TF Serving?

Tensorflow Serving is the defacto serving environment for predicting on a model trained in tensorflow.
We should figure out how this framework could/would integrate with that ecosystem component.

Multiple questions arise from this:
Why TF serving can be interesting for us
It specifically handle the usecase of load once and serve multiple request which is mandatory for our usage due to the overhead of network optimisation done by TF when loading a distributed graph.
It's also made for model versioning, updates and rollback which can be nice in the long run.
Does our models can be loaded in TF serving
As long as we keep using Tensorflow functions under the hood to build our graph, we are fine.
TF serving provides signatures for regression, calssification and a generic prediction. Those are used to create a gRPC API and/or a REST API. Those APIs consume JSON, convert and route it for your graph inputs automatically. As long as the graph is only containing native C++ functions, one can load its graph using TF Serving.
Note that we can build new C++ ops and add them to a custom TF build, that will be used to build a custom TF Serving.
Can we do distributed Tensorflow Serving
There is currently no use cases for Google to implement it there is no obvious reason why distributing computation for inference would speed up the said inference.
But, hopefully, at least one guy wanted to do it and he has been kind enough to post his exploration on StackOverflow here.
Based on his notes, I gave it a go and see if I could save a distributed model on localhost with a cluster and use it in RF Serving out of the box: spent 1h30 building using bazel to end up erroring...
First good point:

all the needed bits are here to do distributed computation using TensorFlow Serving and TF clusters.

Second good point:

When defining a model and save it. Devices are saved by default, meaning that as long as you define your cluster and keep it online. TF Serving is just using the graph which handles the distributed computation.

Potential bad points:

This is not officialy supported so might run into multiple problems

Model versioning might be broken.
What happens if the master node stops?
What happens if anhy stops actually?
Error handling maybe?

TODO
Actually seeing if it works out of the box or you have to build from scratch. I'll retry inside a docker env soon


Add Filmora Video Editor 10.5

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@OfficialEsco  please approve my changes

@OfficialEsco @msftbot @wingetbot @quhxl  Someone please approve my pull request


UnstructuredMarkdownLoader + MarkdownTextSplitter

Are UnstructuredMarkdownLoader and MarkdownTextSplitter meant to be used together? It seems like the former removes formatting so that the latter can no longer split into sections.
import github

from langchain.document_loaders import UnstructuredMarkdownLoader
from langchain.text_splitter import MarkdownTextSplitter

gh = github.Github(get_secret("github_token"))

repo_path = "hwchase17/langchain"
user_name, repo_name = repo_path.split("/")
repo = gh.get_user(user_name).get_repo(repo_name)

user_name, repo_name = repo_path.split("/")
repo = gh.get_user(user_name).get_repo(repo_name)

readme_file = repo.get_readme()
readme_content = readme_file.decoded_content.decode("utf-8")

with tempfile.NamedTemporaryFile(mode='w', delete=True) as temporary_file:
    temporary_file.write(readme_content)
    temporary_file.flush()
    loader = UnstructuredMarkdownLoader(temporary_file.name)
    documents = loader.load()

document_chunks = splitter.split_documents(documents)

Based on the documentation, we need not use UnstructuredMarkdownLoader when we use create_documents method of MarkdownTextSplitter.