Redis error  Cannot assign requested address when used with workspace container.

Info:

Docker version ($ docker --version): 17.12.0-ce, build c97c6d6
Laradock commit ($ git rev-parse HEAD): 0077de28a13feea669f9d46ef21c20477fa6dbb0
System info (Mac, PC, Linux): Windows 10 Pro
System info disto/version: No Idea

Issue:

After docker-compose up -d nginx mysql redis All containers start without errors, but when i send a request to laravel, like an http ajax, or if i start tinker, or even the queue:work command, i get this error.
PHP Warning:  stream_socket_client(): unable to connect to tcp://localhost:6379 (Cannot assign requested address) in /var/www/vendor/predis/predis/src/Connection/StreamConnection.php on line 127 Predis\Connection\ConnectionException with message 'Cannot assign requested address [tcp://localhost:6379]'
But, if i stop the nginx container and just do a php artisan serve it works fine. There is some IP problem. So i checked the IP of the redis container. It was <IP_ADDRESS> and set the REDIS_HOST env variable to that. Still same error.

Expected behavior:

It should'nt give the error.
Reproduce:

git clone laradock.
Initiate an empty laravel project and set it up with laradock.
Use redis as Cache driver and try to use it

Having same problem with workspace container. Besides, I am running node.js server which is running beyound laradock, and it connects to redis just fine.
@oberoivarun I checked and assigned IP of redis container to REDIS_HOST variable, all works fine for me.
I am using redis as BROADCAST_DRIVER

I had exact the same problem and I have solved it similarly as @Drummer01 said. In case it helps, these are the steps I followed:

Get the list of containers with docker ps
Get the Redis container details with docker inspect <CONTAINER_ID>
Get the IP address from Redis container details JSON (in my case located in NetworkSettings/Networks/laradock_backend/IPAddress)
Set the IP address in the Laravel .env file (in my case property DB_HOST)

As i have mentioned in my post, i did try to enter the container IP in the .env file but it still did not work.
In my case, i solved it by running compose dump-autoload. Just forgot to close this.


Selectively enable back OR forward navigation gestures?

There are scenarios where pages may want to allow a forward navigation gesture whilst disabling back, for example, in an app with multiple top-level routes:
- Top-level-route-1 (forward only)
  - Sub route 1 (back or forward)
    - Sub route 2 (back or forward)
- Top-level-route-2 (forward only)
  - Sub route 3 (back or forward)
    - Sub route 4 (back or forward)

In an app with multiple top-level routes, the current behaviour allows swiping back to navigate between top level routes - IMO this breaks the logical organisation of routes in the application structure where top-level routes are independent. additionally, I believe that this could cause confusion for users as it breaks the usual iOS app expectations.
tldr; The current AllowBackForwardNavigationGestures creates a behaviour which is more like a website than an app. Improving the configuration to enable forward whilst disabling back (or vice versa) allows for more 'app-like' navigation and is a step away from the uncanny valley of Cordova apps.

Isn't this something that can be customized in the web app?

I don't see how, isn't this a WKWebView-level feature?
Sure, I can selectively enable/disable the swipe navigation with window.WkWebView.allowsBackForwardNavigationGestures() - but this enables both back and forward.
And since it seems that allowsBackForwardNavigationGestures simply navigates the WKWebView history, navigating between multiple top-level routes has a history and back swiping is allowed.
For example, if you open the Apple Music app:
- Library
  - Playlists
    - Some playlist

You can navigate down the route path, and you can swipe back up it, but once you reach the Library page, you can't swipe to go back to previous top-level route like Browse.
(Additionally, something like Apple Music doesn't appear to allow forward swiping at all, something this feature request would also allow us to emulate).

Are we talking about a Single Page App (e.g. Ionic) or about classic HTML pages that link to each other?

SPA

I just created a separate issue (for the benefit of future visitors from Google) because I'm now beginning to believe that I'm not using the feature as it's intended...

+1

@lougreenwood Have you found the solution?

Nope - still in the uncanny valley :(

@janpio do you have any other thoughts? Seems that the support label is possibly incorrect?

No thoughts.

Seems that the support label is possibly incorrect?

Why? We have 3 categories here: Bug reports, Feature requests and Support questions. I consider this a support question where a user is looking for individual help to solve one of their problems.

Seems to me this is actually a feature request, from the initial ticket:

tldr; The current AllowBackForwardNavigationGestures creates a behaviour which is more like a website than an app. Improving the configuration to enable forward whilst disabling back (or vice versa) allows for more 'app-like' navigation and is a step away from the uncanny valley of Cordova apps.

as explained in https://github.com/apache/cordova-plugin-wkwebview-engine/issues/52#issuecomment-525862460, this just allows to set/unset a wkwebview property, and the property allows both forward and backward, it doesn't offer a way of only forward or only backward


Update dependencies

Coverage remained the same at 100.0% when pulling bff3637a2c7cccf2e77f2a5665c1f08d804199dc on chore-update-deps into 101000b348214efbcccd7a4a3dc0e5dc628c126d on master.


Add namespace seeder

Issues: #245 and #227
I think making seed in modules without namespace will make autoload into the folder Database/Seeds and I see no such features. To that end I propose this new feature as an improvement of the seed in modules.

Which one is right? =)
https://github.com/caffeinated/modules/pull/252

No support call in one class seeder?
php artisan module:seeder --class=App\Modules\Post\Database\Seeder\CustomClass?
No support generate other class seeder?
php artisan make:module:seeder post CustomSeeder?
Will generate seeder in app\Modules\Post\Database\Seeder\CustomSeeder


Silly Question - How to import my old settings after updating

Hi,
I updated to 2.01 from 1.5
But I'm unable to import my old config...
My instance is build via terminal on a mac and runs on startup...

Copy your config.json to the new file location while TA is not running:
https://josephdadams.github.io/TallyArbiter/docs/usage/control-interface


AP CSP Week 27 Review Ticket

[x] Space and Time Complexity
[x] Big Idea 2 Quiz
[x] Project Fastpages
[x] Project Fastpages Repo
[x] Project Planning
[x] Trio Project Issue

Criteria
Points

Team Plans
1/1

Scrum Board
1/1

Pair-Trio
1/1

Code Completed
1/1

Quiz Corrections
1/1

Github Commits
1/1

CPT Planning
1/1


[Code Addition Request]: Adding String matching algorithm

Have you completed your first issue?

[X] I have completed my first issue

Guidelines

[X] I have read the guidelines
[ ] I have the link to my latest merged PR

Latest Merged PR Link
N/A
Project Description
I would like to add string matching algorithm: boyer moore algorithm, kmp agorithm
Full Name
Anushka Mahajan
Participant Role
GSSOC Extended 2024 Contributor

Please read this #1073.


add example to access session from bitwarden

Goal: Have option to access session information from bitwarden-cli.

Abandoning in favour or a more generic approach. https://github.com/reubenmiller/go-c8y-cli/pull/383


Missing PositionalLocatorState when port to Unity 2022.3.14f using MRTK2.8

I get the following error when I try to port this project to Unity 2022.3.14f using MRTK2.8.
Assets\MRTKExtensions\QRCodes\SpatialGraphCoordinateSystemSetter.cs(20,17): error CS0246: The type or namespace name 'PositionalLocatorState' could not be found (are you missing a using directive or an assembly reference?)
Can you please help me fix this issue.
Thank you

I have no idea what branch you have used, but please refer to https://localjoost.github.io/Upgrading-reading-and-positioning-QR-codes-with-HoloLens-2-to-Unity-2020-+-OpenXR-plugin/ for using newer versions of Unity first

Hi Joost,
I downloaded QRCodeService ‘slightly_improved_version’ from github LocalJoost/QRCodeService at slightly_improved_version (github.com)https://github.com/LocalJoost/QRCodeService/tree/slightly_improved_version
I am trying to port it to Unity 2022.3.14f using MRTK 2.8 but run the error Missing PositionalLocatorState.  Can you help me fix it?
Thank you,
@.***https://www.rockwellautomation.com/
Thong Nguyen
Sr. Research Scientist
1201 South Second Street
5W21
Milwaukee, WI 53204
P 1–414-382-1685
From: Joost van Schaik @.>
Sent: Sunday, March 24, 2024 8:07 AM
To: LocalJoost/QRCodeService @.>
Cc: Thong Nguyen @.>; Author @.>
Subject: EXTERNAL: Re: [LocalJoost/QRCodeService] Missing PositionalLocatorState when port to Unity 2022.3.14f using MRTK2.8 (Issue #19)
[Use caution with links & attachments]
I have no idea what branch you have used, but please refer to https://localjoost.github.io/Upgrading-reading-and-positioning-QR-codes-with-HoloLens-2-to-Unity-2020-+-OpenXR-plugin/https://urldefense.com/v3/__https:/localjoost.github.io/Upgrading-reading-and-positioning-QR-codes-with-HoloLens-2-to-Unity-2020-*-OpenXR-plugin/__;Kw!!JhrIYaSK6lFZ!pSWvcfmG1HYFRydzkZXxFA6K_D6Id8urKUGcnTSPVwbcTd--EJMCPTE_MjC0L89V2zY8-SwC-tcD5Bs2Jg2j-9d46OJywlhLVA$ for using newer versions of Unity first
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/LocalJoost/QRCodeService/issues/19*issuecomment-2016804047__;Iw!!JhrIYaSK6lFZ!pSWvcfmG1HYFRydzkZXxFA6K_D6Id8urKUGcnTSPVwbcTd--EJMCPTE_MjC0L89V2zY8-SwC-tcD5Bs2Jg2j-9d46OLok_CyvQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A662BUYUXZIOHPFBDCU5ZHLYZ3FWZAVCNFSM6AAAAABFFV3OM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHAYDIMBUG4__;!!JhrIYaSK6lFZ!pSWvcfmG1HYFRydzkZXxFA6K_D6Id8urKUGcnTSPVwbcTd--EJMCPTE_MjC0L89V2zY8-SwC-tcD5Bs2Jg2j-9d46OIrvf_m-w$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Please try this branch first https://github.com/LocalJoost/QRCodeService/tree/openxr

Hi Joost,
I am surprised to receive your reply on Sunday.
Thank you.  I will give it a try.  Have a good weekend.
@.***https://www.rockwellautomation.com/
Thong Nguyen
Sr. Research Scientist
1201 South Second Street
5W21
Milwaukee, WI 53204
P 1–414-382-1685
From: Joost van Schaik @.>
Sent: Sunday, March 24, 2024 8:17 AM
To: LocalJoost/QRCodeService @.>
Cc: Thong Nguyen @.>; Author @.>
Subject: EXTERNAL: Re: [LocalJoost/QRCodeService] Missing PositionalLocatorState when port to Unity 2022.3.14f using MRTK2.8 (Issue #19)
[Use caution with links & attachments]
Please try this branch first https://github.com/LocalJoost/QRCodeService/tree/openxrhttps://urldefense.com/v3/__https:/github.com/LocalJoost/QRCodeService/tree/openxr__;!!JhrIYaSK6lFZ!tSNweQhj6O_kZv04nA6473KlqaBM991wsmSbYbjpvUFVne_5gtKT04jv9Ds4cMORpO77ZAfNcu0OjXzte8tU0zc47wh1iBSEbg$
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/LocalJoost/QRCodeService/issues/19*issuecomment-2016807310__;Iw!!JhrIYaSK6lFZ!tSNweQhj6O_kZv04nA6473KlqaBM991wsmSbYbjpvUFVne_5gtKT04jv9Ds4cMORpO77ZAfNcu0OjXzte8tU0zc47wiah2jSJg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A662BU4NB3TLBWZUUASRY3LYZ3G6LAVCNFSM6AAAAABFFV3OM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHAYDOMZRGA__;!!JhrIYaSK6lFZ!tSNweQhj6O_kZv04nA6473KlqaBM991wsmSbYbjpvUFVne_5gtKT04jv9Ds4cMORpO77ZAfNcu0OjXzte8tU0zc47wh3e7dgKQ$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

;) this QR stuff is a side project, not work, so you actually have a better change of getting an answer from me in the weekend and the (CET) evenings. Anyway, I was just between potting up some seedlings and sowing new flowers and veggies, so I was answering you in a short break between botanical activities

Hi Joost,
It nice that you can sow and plant seeds.  In Wisconsin, US, we just got 10cm of snow.  ☹
I just finished deploying the QRCodeService-openxr using Unity 2022.3.14f1 with MRTK2.8.3.  Unity successful created a Visual Studio solution but I get a note saying ‘QR tracking is not supported’
@.***
QR tracking not supported
UnityEngine.Debug:Log (object)
MRTKExtensions.QRCodes.QRCodeTrackingService:SendProgressMessage (string) (at Assets/MRTKExtensions/QRCodes/QRCodeTrackingService.cs:148)
MRTKExtensions.QRCodes.QRCodeTrackingService:InitializationFail (string) (at Assets/MRTKExtensions/QRCodes/QRCodeTrackingService.cs:137)
MRTKExtensions.QRCodes.QRCodeTrackingService/d__40:MoveNext () (at Assets/MRTKExtensions/QRCodes/QRCodeTrackingService.cs:63)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<MRTKExtensions.QRCodes.QRCodeTrackingService/d__40> (MRTKExtensions.QRCodes.QRCodeTrackingService/d__40&)
MRTKExtensions.QRCodes.QRCodeTrackingService:InitializeTracker ()
MRTKExtensions.QRCodes.QRCodeTrackingService:Initialize () (at Assets/MRTKExtensions/QRCodes/QRCodeTrackingService.cs:44)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit/<>c:b__68_0 (Microsoft.MixedReality.Toolkit.IMixedRealityService) (at .@.@./Core/Services/MixedRealityToolkit.cs:1035>)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder (System.Action`1<Microsoft.MixedReality.Toolkit.IMixedRealityService>) (at .@.@./Core/Services/MixedRealityToolkit.cs:1158>)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeAllServices () (at .@.@./Core/Services/MixedRealityToolkit.cs:1035>)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeServiceLocator () (at .@.@./Core/Services/MixedRealityToolkit.cs:560>)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeInstance () (at .@.@./Core/Services/MixedRealityToolkit.cs:678>)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterInstance (Microsoft.MixedReality.Toolkit.MixedRealityToolkit,bool) (at .@.@./Core/Services/MixedRealityToolkit.cs:830>)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:get_Instance () (at .@.@./Core/Services/MixedRealityToolkit.cs:653>)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit/EditorEventListener/<>c:<.cctor>b__1_1 () (at .@.@./Core/Services/MixedRealityToolkit.cs:1573>)
UnityEditor.EditorApplication:Internal_CallHierarchyHasChanged ()
I successfully deploy the application to a Hololens.  However, it does not pick up my QR Code
@.***
Hololens screen capture
@.***
Can you suggest what I need to do to fix this issue?
Thank you very much for your support.
@.***https://www.rockwellautomation.com/
Thong Nguyen
Sr. Research Scientist
1201 South Second Street
5W21
Milwaukee, WI 53204
P 1–414-382-1685
From: Joost van Schaik @.>
Sent: Sunday, March 24, 2024 10:15 AM
To: LocalJoost/QRCodeService @.>
Cc: Thong Nguyen @.>; Author @.>
Subject: EXTERNAL: Re: [LocalJoost/QRCodeService] Missing PositionalLocatorState when port to Unity 2022.3.14f using MRTK2.8 (Issue #19)
[Use caution with links & attachments]
;) this QR stuff is a side project, not work, so you actually have a better change of getting an answer from me in the weekend and the (CET) evenings. Anyway, I was just between potting up some seedlings and sowing new flowers and veggies, so I was answering you in a short break between botanical activities
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/LocalJoost/QRCodeService/issues/19*issuecomment-2016841068__;Iw!!JhrIYaSK6lFZ!uTy7W_XMRZrwwL07xU1Iq873rLH-ustsM-zmUU_66kVxydwe__OvMJ0uFqY5qAPXXcrjvDceS5-gZjsQdwxlLE4EFPD8CGgMqg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A662BU3KOLXWLT7KNPVXEALYZ3UXRAVCNFSM6AAAAABFFV3OM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHA2DCMBWHA__;!!JhrIYaSK6lFZ!uTy7W_XMRZrwwL07xU1Iq873rLH-ustsM-zmUU_66kVxydwe__OvMJ0uFqY5qAPXXcrjvDceS5-gZjsQdwxlLE4EFPAb-sfFYw$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

First of all, I should add that both potting and sowing took place in the attic hobby room, not outside. We don't have snow here, but it's way too cold for sowing outside.
"QR tracking is not supported" you get in the editor only, because the QR tracking only works it in HoloLens. So if you try to run in the editor, you get this warning. Duh ;)
You can deploy in HoloLens, but it does not pick your QR code. What are you using for QR code? It does not recognize just any old QR code, it searches for a specific a QR code. Which you can plainly see in the editor. The sample you have downloaded look for a QR code having "https://github.com/LocalJoost/" as a payload. As it also says on my blog: https://localjoost.github.io/Positioning-QR-codes-in-space-with-HoloLens-2-building-a-'poor-man's-Vuforia'/#tracker1
Did you read my blog, or did you just pull the code and tried it to get to work?

Hi Joost,
Thank you for pointing out my mistake.  I read both ‘Reading QR codes with an MRTK2 Extension Serivce’ and  ‘Upgrading reading and position QR Codes with Hololens 2 to Unity 2020 + OpenXR plugin’ and forgot about your original post. I was so focused on porting to Unity 2022 with MRTK 2.8.3 that I forget that this code looks for a payload ‘https://localjoost.github.io’ .  I was expecting the app will show the received payload even if it is not ‘https://localjoost.github.io’.
Thank you.  I got it working.
@.***https://www.rockwellautomation.com/
Thong Nguyen
Sr. Research Scientist
1201 South Second Street
5W21
Milwaukee, WI 53204
P 1–414-382-1685
From: Joost van Schaik @.>
Sent: Sunday, March 24, 2024 11:11 AM
To: LocalJoost/QRCodeService @.>
Cc: Thong Nguyen @.>; Author @.>
Subject: EXTERNAL: Re: [LocalJoost/QRCodeService] Missing PositionalLocatorState when port to Unity 2022.3.14f using MRTK2.8 (Issue #19)
[Use caution with links & attachments]
First of all, I should add that both potting and sowing took place in the attic hobby room, not outside. We don't have snow here, but it's way too cold for sowing outside.
"QR tracking is not supported" you get in the editor only, because the QR tracking only works it in HoloLens. So if you try to run in the editor, you get this warning. Duh ;)
You can deploy in HoloLens, but it does not pick your QR code. What are you using for QR code? It does not recognize just any old QR code, it searches for a specific a QR code. Which you can plainly see in the editor. The sample you have downloaded look for a QR code having "https://github.com/LocalJoost/https://urldefense.com/v3/__https:/github.com/LocalJoost/__;!!JhrIYaSK6lFZ!sitVY-YtIDCwtWQeXNpZCBDY-z0U35M9KPHOtXDypaGnZ1bNdjYZmtekrYHqdNdL503BgaThbUVxjwHMHuPtXU90gaS0XckpPg$" as a payload. As it also says so on my blog: https://localjoost.github.io/Positioning-QR-codes-in-space-with-HoloLens-2-building-a-'poor-man's-Vuforia'/#tracker1https://urldefense.com/v3/__https:/localjoost.github.io/Positioning-QR-codes-in-space-with-HoloLens-2-building-a-'poor-man's-Vuforia'/*tracker1__;Iw!!JhrIYaSK6lFZ!sitVY-YtIDCwtWQeXNpZCBDY-z0U35M9KPHOtXDypaGnZ1bNdjYZmtekrYHqdNdL503BgaThbUVxjwHMHuPtXU90gaQY_YfK8A$
Did you read my blog, or did you just pull the code and tried it to get to work?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/LocalJoost/QRCodeService/issues/19*issuecomment-2016856463__;Iw!!JhrIYaSK6lFZ!sitVY-YtIDCwtWQeXNpZCBDY-z0U35M9KPHOtXDypaGnZ1bNdjYZmtekrYHqdNdL503BgaThbUVxjwHMHuPtXU90gaRXd2WdlQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A662BU76AVZ4DXEJ5PHPEOLYZ33H3AVCNFSM6AAAAABFFV3OM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHA2TMNBWGM__;!!JhrIYaSK6lFZ!sitVY-YtIDCwtWQeXNpZCBDY-z0U35M9KPHOtXDypaGnZ1bNdjYZmtekrYHqdNdL503BgaThbUVxjwHMHuPtXU90gaTLCgmBxA$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Great to to hear that. Yeah, the samples evolved a bit over time and became more elaborate. Of course, you can change the code to respond to any QR code pretty easily, but my idea was that it would do different things for different QR codes. So I checked it to only respond to one single code. My latest sample with QR codes actually shows responses to multiple different QR codes, dunno if that is interesting to you :) https://localjoost.github.io/Showing-multiple-location-based-items-based-on-QR-codes-using-MRTK3-and-HoloLens-2/

Hi Joost,
I need to recognize the QR payload and then act on the payload using switch/case statement in my code.
I am using MRTK 2.8.3 and not MRTK3 because version 2.8.3 supports multiple platforms including Android and iOS.
Thank you for getting over the hump.  I tried 3 three different projects until you steer me to the openXR version.  The previous 3 projects don’t work with Unity 2022 and MRTK.
Thank you.  I would love to go out to lunch or dinner with you to learn more of about your work!
@.***https://www.rockwellautomation.com/
Thong Nguyen
Sr. Research Scientist
1201 South Second Street
5W21
Milwaukee, WI 53204
P 1–414-382-1685
From: Joost van Schaik @.>
Sent: Sunday, March 24, 2024 12:17 PM
To: LocalJoost/QRCodeService @.>
Cc: Thong Nguyen @.>; Author @.>
Subject: EXTERNAL: Re: [LocalJoost/QRCodeService] Missing PositionalLocatorState when port to Unity 2022.3.14f using MRTK2.8 (Issue #19)
[Use caution with links & attachments]
Great to to hear that. Yeah, the samples evolved a bit over time and became more elaborate. Of course, you can change the code to respond to any QR code pretty easily, but my idea was that it would do different things for different QR codes. So I checked it to only respond to one single code. My latest sample with QR codes actually shows responses to multiple different QR codes, dunno if that is interesting to you :) https://localjoost.github.io/Showing-multiple-location-based-items-based-on-QR-codes-using-MRTK3-and-HoloLens-2/https://urldefense.com/v3/__https:/localjoost.github.io/Showing-multiple-location-based-items-based-on-QR-codes-using-MRTK3-and-HoloLens-2/__;!!JhrIYaSK6lFZ!v2sjvggFh3cwRALLGMqVxjaM6qSlCVKwzSAvql2JpPlJxd9gKGEKHQdJbJkmtttbvyuElvCOdJkDBEh_NEoOReRKoAaPnbH70g$
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/LocalJoost/QRCodeService/issues/19*issuecomment-2016876446__;Iw!!JhrIYaSK6lFZ!v2sjvggFh3cwRALLGMqVxjaM6qSlCVKwzSAvql2JpPlJxd9gKGEKHQdJbJkmtttbvyuElvCOdJkDBEh_NEoOReRKoAaf3n4Jdg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A662BUYM62MEMBKGSD6SETDYZ4DCBAVCNFSM6AAAAABFFV3OM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHA3TMNBUGY__;!!JhrIYaSK6lFZ!v2sjvggFh3cwRALLGMqVxjaM6qSlCVKwzSAvql2JpPlJxd9gKGEKHQdJbJkmtttbvyuElvCOdJkDBEh_NEoOReRKoAZb2XxpLg$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Great to hear it got you going. Interesting you state your reason for sticking with MRTK2.8.x is multi platform support. Did you notice this little side panel left bottom on my blog?

I think MRTK3 is even more suited to multi platform support than 2. And since MRTK2 is now in 'maintenance mode', this mean it won't support newer and future Unity versions. While I have already seen announcements of provisionary MRKT3 implementation on Apple Vision Pro by a community member. In addition, you might want to take into consideration the QR tracking and positioning code in my samples uses a library that utilizes a native HoloLens API that works on HoloLens 2 - and HoloLens 2 only.

Thank you.  I would love to go out to lunch or dinner with you to learn more of about your work!

You are welcome. This is what MVPs do. About that lunch or dinner - sounds like fun, but there is the minor detail of me living about 4000 miles way from Wisconsin. That distance, as well as the Atlantic Ocean, makes dropping bit tricky ;). Should you find yourself for some reason near Amersfoort, the Netherlands in the future - please drop by.
Good luck.


Sorting direction icon doesn't show up when useExternal is set

Using Griddle, I'm loading data externally by setting useExternal to true, and I found that it doesn't render the sorting direction icon when header cell is clicked for sorting.
The data sorting works with externalChangeSort but the icon doesn't just show up.
I found some related code on line 80 in /modules/gridTitle.jsx.js
if (that.props.sortSettings.sortColumn == col && that.props.sortSettings.sortDirection === 'asc') {
                columnSort = that.props.sortSettings.sortAscendingClassName;

Here the sortDirection is always null when useExternal is set to true.
And inside changeSort function in /modules/griddle.jsx.js, it won't set state of sortDirection simply returning when useExternal is set.
if (this.props.useExternal) {
    this.props.externalChangeSort(column, this.props.externalSortColumn === column ? !this.props.externalSortAscending : true);
    return;
}

Looking forward to have a quick fix on this.

@kevinmuller1220 I was suffering from the same issue as well. Clearly the Griddle library should be implemented to work with the sort icon features working whether it be a documented external implementation provided by users or through existing default internal implementation. However, my workaround for now was to implement a custom SortableHeaderComponent class (I'm using material-ui svg icons):
export default class SortableHeaderComponent extends Component {
  constructor(props) {
    super(props);
  }

  textOnClick(e) { }

  render() {
    return (

{this.props.displayName}{this.renderSortArrow()}

    )
  }

  renderSortArrow(){
    if(this.props.state.sortAscending) {
      return ( <SortAscendingArrow /> );
    }
    return ( <SortDescendingArrow /> );
  }

I use containers to basically manage all of the state and props data for components, so in that wrapper container is where I set and pass in the columnMetadata object array to my component class implementing Griddle. When I build my columnMetadata objects I add the CustomHeaderComponent:
getColumnMetadata() {
    return (this._getCurrentProjectedFields(this.state)).map((f, i) => {
      return {
        "columnName": `${f.id}`,
        "order": i,

        ...

        "sortable": true,
        "displayName": `${f.label}`,
        "customHeaderComponent": SortableHeaderComponent,
        "customHeaderComponentProps": {
           style: { color: 'black'},
           state: {
           sort: this.state.sort,
           sortColumn: this.state.sortColumn,
           sortAscending: this.state.sortAscending
        }
     }
  }
}

The important part of this is that I keep track of the column being used to sort-by currently and the direction, and update this whenever my externalChangeSort function is triggered, so that it is correctly passed on to the custom header component where the logic determines which direction arrow should be rendered, if any.

@BrandKNY nice. I had no luck myself trying to fix it with custom header components. I'll try this. Hopefully this fix makes it's way into Griddle soon.

Could someone please make a PR for this functionality in the 0.x version. When 1.0 is done it should work out of the box but trying to finalize the API so we're not saying "here's 1.0 ... nevermind here's 2.0 with a better API" a month or two later :)

Please do something :)

Same issue here ...

Fixed 486


NameError (uninitialized constant XTJ::Tags::XMLTag::T) when requiring my newly created ruby gem

Hi there,
I've created my first ruby gem and wanted to use sorbet for type checking. It work as expected when I run the specs but unfortunately it fails to load when I've gem-installed it and want to require it. The error I'm currently getting is:
require 'xtj'
Traceback (most recent call last):
       13: from /home/gregg/.rvm/rubies/ruby-2.6.4/bin/irb:23:in `<main>'
       12: from /home/gregg/.rvm/rubies/ruby-2.6.4/bin/irb:23:in `load'
       11: from /home/gregg/.rvm/rubies/ruby-2.6.4/lib/ruby/gems/2.6.0/gems/irb-1.0.0/exe/irb:11:in `<top (required)>'
       10: from (irb):2
        9: from /home/gregg/.rvm/rubies/ruby-2.6.4/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require'
        8: from /home/gregg/.rvm/rubies/ruby-2.6.4/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
        7: from /home/gregg/.rvm/rubies/ruby-2.6.4/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `require'
        6: from /home/gregg/.rvm/gems/ruby-2.6.4/gems/xtj-0.1.0/lib/xtj.rb:5:in `<top (required)>'
        5: from /home/gregg/.rvm/gems/ruby-2.6.4/gems/xtj-0.1.0/lib/xtj.rb:5:in `require_relative'
        4: from /home/gregg/.rvm/gems/ruby-2.6.4/gems/xtj-0.1.0/lib/xtj/tags/xml_tag.rb:4:in `<top (required)>'
        3: from /home/gregg/.rvm/gems/ruby-2.6.4/gems/xtj-0.1.0/lib/xtj/tags/xml_tag.rb:5:in `<module:XTJ>'
        2: from /home/gregg/.rvm/gems/ruby-2.6.4/gems/xtj-0.1.0/lib/xtj/tags/xml_tag.rb:6:in `<module:Tags>'
        1: from /home/gregg/.rvm/gems/ruby-2.6.4/gems/xtj-0.1.0/lib/xtj/tags/xml_tag.rb:7:in `<class:XMLTag>'
NameError (uninitialized constant XTJ::Tags::XMLTag::T)

and this happens when I launch irb and call require 'xtj'.
Source code here: https://github.com/grzegorz-jakubiak/xtj
Any ideas how I can fix that?

When publishing a gem, you should never put your dependencies in the Gemfile and always put them in the *.gemspec file. When you installed your gem, it didn't know to also install the sorbet-runtime gem dependency. It would know this if it was listed in your *.gemspec as a runtime dependency:
https://guides.rubygems.org/specification-reference/#add_runtime_dependency

https://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/

@jez thanks I tried it locally but it didn't help find updated gemspec below:
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'xtj/version'

Gem::Specification.new do |spec|
  spec.name          = 'xtj'
  spec.version       = XTJ::VERSION
  spec.authors       = ['Grzegorz Jakubiak']
  spec.email         =<EMAIL_ADDRESS>
  spec.summary       = 'Allows you to parse XML documents into Ruby Hash or JSON'
  spec.description   = spec.summary
  spec.homepage      = 'https://github.com/grzegorz-jakubiak/xtj'
  spec.license       = 'MIT'
  spec.required_ruby_version = '>=2.5'

  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_development_dependency 'bundler', '~> 1.17'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_runtime_dependency 'sorbet'
  spec.add_runtime_dependency 'sorbet-runtime'
end

I also tried with development_dependencies and updated the gem to 0.1.1 with that specify but it keeps giving me:
7: from (irb):1:in `require_relative'
        6: from /Users/grzegorz/Documents/xtj/lib/xtj.rb:5:in `<top (required)>'
        5: from /Users/grzegorz/Documents/xtj/lib/xtj.rb:5:in `require_relative'
        4: from /Users/grzegorz/Documents/xtj/lib/xtj/tags/xml_tag.rb:4:in `<top (required)>'
        3: from /Users/grzegorz/Documents/xtj/lib/xtj/tags/xml_tag.rb:5:in `<module:XTJ>'
        2: from /Users/grzegorz/Documents/xtj/lib/xtj/tags/xml_tag.rb:6:in `<module:Tags>'
        1: from /Users/grzegorz/Documents/xtj/lib/xtj/tags/xml_tag.rb:7:in `<class:XMLTag>'
NameError (uninitialized constant XTJ::Tags::XMLTag::T)

fixed it by requiring sorbet-runtime, sorry for the issue


WIP: Container registry/blob push pull support API changes

#20512
Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API changes have been detected in @azure/container-registry. You can review API changes here

API changes have been detected in @azure/container-registry. You can review API changes here

API changes have been detected in @azure/container-registry. You can review API changes here

API changes have been detected in @azure/container-registry. You can review API changes here

API changes have been detected in @azure/container-registry. You can review API changes here

API changes have been detected in @azure/container-registry. You can review API changes here

API changes have been detected in @azure/container-registry. You can review API changes here


Enable double harvesting upload in the json templates

Broen asked me to start uploading root files for both servers (including a new dedicated relval node) such that they can better validate and have reliable testing in the new Guis.

changes only json templates. @ticoann merge it please


New Workflow Submission - Start a Workflow within a Workflow CDK

Note the following information for the model:
Name: workflow-within-a-workflow-cdk
Description: This sample project demonstrates how to use an AWS Step Functions state machine to launch other state machine executions. The state machine combines workflows using a Step Functions StartExecution task state with various integration patterns.
Simplicity: 1 - Fundamental
Language: Typescript
Diagram: Included in the PR.
PR: #182
Type: Standard
Framework: CDK
Author: Zainab Allawi

merged


Add arm(7) 32bit build option

Building on arm7 32bit hardware running (Debian 10) linux fails with:
root@wandboard:~/git/LLL-TAO# make -f makefile.cli
Compiling src/main.cpp
g++: error: unrecognized command line option ‘-m64’
make: *** [makefile.cli:1255: build/main.o] Error 1

If techincally not to challenging it may be nice to have this working, lot of hardware like this laying around I'd think.

Compile succeeds when "hard" setting in the makefile.cli:
BUILD_ARCH=arm and omit CXXFLAGS+ = -m32
I need to find some time to see how to implement this properly, then I'll report back or make a pull request.

Created PR #52


Node js connect with oracle database data crud operaion SELECT QUERY issuse

[ oracle database data crud operaion SELECT QUERY issuse]

I connect with oracle database with help of node js  that data passing to api axios api that api get the data to display the front end component but without error to fetching  data but space is allocated but not value display how network connection also workhow can i solve help to resolve it and then give a solution.
⚠ THIS MY ISSUES  see this image better understanding::**

))

ID: 6c1ef1bb-91a3-db70-2e06-b38c1a494bed
Version Independent ID: 1b4e4189-04a9-f818-32ca-b3056e5fae3f
Content: Microsoft Edge DevTools extension for Visual Studio Code - Microsoft Edge Developer documentation
Content Source: microsoft-edge/visual-studio-code/microsoft-edge-devtools-extension.md
Service: microsoft-edge
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

This repository is specific to maintaining the edge developer docs at https://learn.microsoft.com/en-us/microsoft-edge/
I don't really understand your question here, but it doesn't seem related to our docs, so I will close this issue.
If you suspect that there's an issue with Edge DevTools, then you can reach out about this at https://github.com/MicrosoftEdge/DevTools.
If you think this is a browser issue instead, then please send feedback by using the browser feedback tool:

Click Settings and more (the ... button in the top-right corner of the browser).
Click Help and feedback.
Click Send feedback.

Thank you for your understanding.


fix(drag-drop): handle list and viewport auto scroll regions overlapping

The way auto-scrolling is currently set up is that we have regions that are X% of the width/height of a node and whenever the user's pointer gets into the region, we start scrolling either the element or the page. It looks something like this where red are the regions of the list and green are the ones of the page:

The problem with our current approach is that as soon we find that the user's pointer is in one node's scroll regions, we disregard any of the other scroll regions and we start scrolling, even if the element can't actually scroll. This is problematic in cases where the scroll list might be close to the viewport's edge and thus it could have its region overlapping with the viewport's. These changes address the issue in two ways:

We have the list's scroll regions take precedence over the ones of the page.
If the regions overlap, we check whether the element can continue scrolling that direction and if it can't, we start scrolling the page.

Fixes #16647.

+1


ZEPPELIN-3379. Refactoring of JDBC autocomplete.

What is this PR for?
Current implementation of autocomplete allows only completion in schema.table.column scenario. Such scenario exclude tables for default schema.
The PR fixes the scenario with tables in default schema and alias processing.
Also I want to add feature to complete columns for used tables in statement from blank cursor.
The autocomplete was tested for Greenplum 4.3 (PostgreSQL), Oracle 11g, MySQL (Hive Metastore) and Hive.
This PR is reopening of #2970
What type of PR is it?
Improvement
What is the Jira issue?
ZEPPELIN-3379
How should this be tested?

Manually
Tests pass

Screenshots (if appropriate)

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

Will revert when anyone could test this PR.

@mebelousov would need this functionality, how can I help?

Hi @anirbanch !
I have adopted PR to branch 0.8 and have created patch (can be founded in linked JIRA issue).
You can apply patch and build jars.
On your risks you can

Replace next files (from linked JIRA issue)
$ZEPPELIN_HOME/interpreter/jdbc/zeppelin-jdbc-0.8.1-SNAPSHOT.jar
$ZEPPELIN_HOME/interpreter/jdbc/postgresql-native-driver-sql.keywords
$ZEPPELIN_HOME/lib/interpreter/zeppelin-interpreter-0.8.1-SNAPSHOT.jar
Set "completionSupport" to false in $ZEPPELIN_HOME/interpreter/jdbc/interpreter-setting.json
also you can add "completionKey": "TAB" to editor key
Run Zeppelin.


[2122] Added other as 24

Context
24
Changes proposed in this pull request
24
Guidance to review
24
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Add new DfE subjects to backend


SelfTypeParam::derivesFrom called when implementing a method on Array

Input
→ View on sorbet.run
class Array
  def foo
    each { |k, v| }
  end
end

Observed output
Exception::raise(): SelfTypeParam::derivesFrom not implemented, not clear what it should do. Let's see this fire first.

PS. You need to make some syntax errors on purpose to see the crash message. It looks like the output pane isn't updated when a crash like this happens. Possibly something that should be fixed to facility bug report like this one?
Expected behavior
It shouldn't crash.

Seems to be fixed on recent versions.


After getting 500 error and clicking on Log out, store is not reset

Rancher Version: master 6.9
Steps to Reproduce:

Got 500 error when kubernetes environment failed to setup properly
Click on Log out

Results: Went back to Default environment but had kubernetes stacks inside it.  There is no Store reset after error.
Expected:  Store Reset should be called so environment is properly reset.

Version - v1.1.0-rc3
Verified fixed


Using SabreCSG as a package

Hi,
I'm doing something a little unusual and it breaks with SabreCSG. I'm not familiar enough with "The Unity Way" to know whether it makes more sense for me to patch SabreCSG to get round this or whether what I'm doing is going to be break so many 3rd party assets I should rethink my whole strategy.
Inspired by how Keijiro has been using the Unity 2018 packages directory to keep 3rd party code separate from his project code I've devised a workflow that involves package manifests and git submodules. (I got more inspiration from LotteMakesStuff here: https://gist.github.com/LotteMakesStuff/6e02e0ea303030517a071a1c81eb016e )
Basically - I fork any repo I want to use in my project, add a package.json and use it as a submodule which lives in the project's Packages directory.
See https://gist.github.com/andybak/f7573d2985aa6d1b905ed6519cb6a343 for a step by step guide I was hoping to put out for others.
I had dreams of grandeur. Others might adopt this workflow and it might get official Unity blessing/tooling support. I also really really wanted a tidy Assets directory :-(
This looked like it was going to work beautifully until I added SabreCSG to a project.
SabreCSG does lots of stuff where it loads shaders and textures via a hardcoded path. Both Unity's Resource.Load and the code in Sabre's LoadObject seem to break once I move SabreCSG into Packages.
Now - this all seems fixable - and maybe in a way that might be worth a pull request upstream - but I wanted to ask if you think this is a fool's errand?
I've tried simpler Unity assets and it works fine. It's just code that uses explicit paths to certain resource types that seem to break.

We have pinpointed the problem and are looking into a solution.
By the way how is this repository supposed to work? What if people open issues or PRs there? Are you going to keep it updated manually? Can't you link to this repository if we include the package.json?

By the way how is this repository supposed to work?

My initial assumption was that I'd be maintaining my forks. I was planning maybe have a script that pulled in upstream changes. (This also assumes that the only change in my fork is the inclusion of package.json)
If upstream actually is happy to add their own package.json then I'd probably remove my fork. I'd have to think a bit more deeply about this if other people start using my approach and there's already people using my repo url. I think Github allows repos to redirect automatically - or maybe just maintaining a fork indefinitely isn't so bad if pulling upstream changes is fully automated.
I could sidestep this by asking upstream repos first - and only forking if they aren't interested.

Hey andybak,
I am not sure that you check Discord often enough so I will post some recent findings here thanks to @Kerfuffles.
We have to wait a Unity 2018 version before introducing package support because there's an issue with the AssetDatabase class that we rely on. It refuses to look anywhere except for the 'Assets/' path so we can't find some important resources in 'Packages/'. While there are alternative methods to fix this issue it will require a significant amount of work and rewriting chunks of SabreCSG.
Here's Kerfuffles report:

So I'm finding an issue with fixing #155. AssetDatabase and Resources are completely ignored in 'Packages/', and additionally, scripts from those packages are not included or visible in the editor. They have to be assigned from scripts inside the package. I don't think that's intended behaviour.
So after doing some reading I found here: https://github.com/JetBrains/resharper-unity/issues/476 that it looks like Unity will support using AssetDatabase on the 'Packages/' directory in the future. Possibly in 2018.2 or 2018.3.
It's possible to force it to work by moving the assets that are loaded, into the 'Assets/' folder.
I tried using System.IO commands to get paths and such, but AssetDatabase refused to use those paths, even after replacing path characters. It expects a local path starting with 'Assets/' so, for now, out of the box, SabreCSG has partial package support until Unity tech can fix their internal code to accept 'Packages/' as a valid asset path.
At least, if SabreCSG didn't need to rely on local script location... a special case, which unfortunately will not work.

@Henry00IS Thanks for the update. I'm curious if this does work in 2018.2 - if it's not already there then it's pretty late in the cycle for it to appear. We're on b9 already so I'm guessing it's a couple of weeks from a release.
If not I'd guess/hope it's slated for 2018.3
The good news for my general approach is that this doesn't seem like it will affect the majority of code that I would want to reuse. I can always fall back to having some code in my Assets directory where necessary. The real win is keeping most of it hidden away.

I have a comment on the assetdatabase.find page that specifies if you
include "Assets" and "Packages" as your search terms you can find in both.
They changed the search to not include packages in 2018.2.0b7 so before
then the normal search works fine.
On Sat, Jun 23, 2018, 8:49 PM Andy Baker<EMAIL_ADDRESS>wrote:

@Henry00IS https://github.com/Henry00IS Thanks for the update. I'm
curious if this does work in 2018.2 - if it's not already there then it's
pretty late in the cycle for it to appear. We're on b9 already so I'm
guessing it's a couple of weeks from a release.
If not I'd guess/hope it's slated for 2018.3
The good news for my general approach is that this doesn't seem like it
will affect the majority of code that I would want to reuse. I can always
fall back to having some code in my Assets directory where necessary. The
real win is keeping most of it hidden away.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sabresaurus/SabreCSG/issues/155#issuecomment-399664894,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU8jxcHg0eDPWHCytatzCj22DyGUfXFqks5t_h1NgaJpZM4UsP9a
.

@vertxxyz That's worrying. Is there an actual bug tracker for Unity or is it "post something in the forums and hope"?

They did it on purpose now there's a filter on project search. I've got one
bug reported about having no filters on object fields search, but it may
have been fixed already.
I just find this stuff out myself because I'm working with the latest beta
:P, and fix it by throwing a bunch of ideas at it or sometimes going
through the decompiled code to see if there's a new implementation.
Very irritating when they change stuff I rely on, it seems to happen every
update but that's the beta life.
On Sun, Jun 24, 2018, 8:14 PM Andy Baker<EMAIL_ADDRESS>wrote:

@vertxxyz https://github.com/vertxxyz That's worrying. Is there an
actual bug tracker for Unity or is it "post something in the forums and
hope"?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sabresaurus/SabreCSG/issues/155#issuecomment-399745239,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU8jxTCuUi2ZeVyRcJILoIWH-BPamCLyks5t_2aggaJpZM4UsP9a
.

So. I'm using the searchInFolders parameter and getting this message back in return, on 2018.1.5f1

string[] guids = AssetDatabase.FindAssets("CSGModel t:Script", new string[] { "Packages", "Assets" });
found in CSGModel, line 1433. It seems to be failing to find Packages entirely, as if it doesn't exist.

They only changed it in 2018.2.0b7, so before then the search shouldn't
need to contain any further parameters and functioned normally including
packages for me, but I didn't do too much testing apart from finding they
broke my searches on that version, and fixing it via that code.
On Mon, Jun 25, 2018, 5:02 PM Daniel Cornelius<EMAIL_ADDRESS>wrote:

So. I'm using the searchInFolders parameter and getting this message back
in return, on 2018.1.5f1
[image: image]
https://user-images.githubusercontent.com/355687/41834859-3fffdd60-781b-11e8-894f-3e8090e99a89.png
string[] guids = AssetDatabase.FindAssets("CSGModel t:Script", new
string[] { "Packages", "Assets" });
found in CSGModel, line 1433. It seems to be failing to find Packages
entirely, as if it doesn't exist.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sabresaurus/SabreCSG/issues/155#issuecomment-399852335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU8jxR77268VsFK9ivWD34KDDRFVXHIcks5uAIr5gaJpZM4UsP9a
.

I tested both using searchInFolders and without. Even tried putting the direct path. It refuses to use Packages/ at all. Mirroring the behaviour in the asset browser.

Hrm, damn, I mustn't have been using Find back in 2018.1 - does using a
direct AssetDatabase.Load("Packages/com.example.example/...") work?
I've just tested 2018.1.0b12, so hopefully it should work in 2018.1.5f1
You should be able to load regardless of location if you append the search
with the "Packages" directory. Basically take the path from whatever Unity
takes you to in the project window after selecting a package script.
Sucks that the search is nonexistent in earlier versions... I'll have to do
my own testing to find out when and ammend my own codebase ):
On Mon, 25 Jun 2018 at 19:28, Daniel Cornelius<EMAIL_ADDRESS>wrote:

I tested both using searchInFolders and without. Even tried putting the
direct path. It refuses to use Packages/ at all. Mirroring the behaviour
in the asset browser.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sabresaurus/SabreCSG/issues/155#issuecomment-399889766,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU8jxbswtUGVRUGhf_iSJrowhacNydHTks5uAK0igaJpZM4UsP9a
.

Just tested a direct load like that and got nothing. Using both the package name and the directory path.

Interestingly enough, I cannot get this to work, even with the simplest test.
using UnityEngine;
using UnityEditor;

[CustomEditor(typeof(BoxCollider))]
public class AssetTestGUI : Editor
{
	public static Texture2D TestTex
	{
		get
		{
			return m_TestTex;
		}
		set
		{
			m_TestTex = value;
		}
	}

	private static Texture2D m_TestTex;

	public override void OnInspectorGUI()
	{
		if(TestTex == null)
			Debug.Log(TestTex = AssetDatabase.LoadAssetAtPath<Texture2D>("Packages/kerfufflestudios/ALT/testtex.tga"));

		GUILayout.Label(TestTex, GUILayout.ExpandWidth(true), GUILayout.ExpandHeight(true));
		//GUI.DrawTexture(new Rect(0, 0, 128, 128), TestTex);
	}
}

Just an update from my perspective. I've abandoned attempts to create a workflow based on submodules and packages - not because of anything Unity related (I actually found most other assets worked pretty well with this system).
The sticking point was in two places: Github desktop has horrible, patchy and inconsistent support for submodules. I was really hoping this workflow might be usable by people who weren't happy with arcane command line incantations.
But even worse was the fact that git itself is still overly complex and unpredictable in how it handles submodules. If you make a mistake it's hard to fix and easy to leave your repo in a confused state if you do the wrong thing. The Stack Overflow page on "removing a submodule" is one of the most complex I've seen!)
I do sometimes shed a tear for poor old Mercurial...


Speeding up program execution

Hi @ichiban
I was wondering if there's perhaps a way to add facts to the prolog interpreter without going through the p.Exec() route, which parses a string, but rather by calling methods on p directly. The reason I ask is that I'm trying to speed up the process of adding and removing facts from the same interpreter p, as I have an application where I need to use the same underlying p to query against many differing sets of facts. It was suggested in another issue to look into association lists/AVL trees for this but I first wanted to see if there's speeding up options within the current library.
For instance, would it be possible to add a fact P(a). by directly calling the p.Assertz function rather than going through .Exec?  Or is there even a lower level entry point that would allow to skip the string parsing and hopefully gain some performance?

Is string parsing expected to be such a tremendous overhead that it is worth thinking about? If it is, then it seems best to first improve the parser, so that it becomes as fast as needed to quickly handle these facts.

Good question. What I see in the testing with the data I have is that the repeated execution with p.Exec of sets of assertz and retract statements for the different sets of facts seems to be the speed bottleneck, rather than the actual querying.
I will try to do some more profiling to see if it's the parser or if there's gains to be had somewhere else in the code.

Also I wonder if .Exec is thread safe. What happens if .Exec on the same program P is called from multiple goroutines? that could be a way to parallelize the writing of the facts to the db.

@riccardopinosio Hi! You can actually skip p.Exec() like this:
package main

import (
	"context"
	"fmt"

	"github.com/ichiban/prolog"
	"github.com/ichiban/prolog/engine"
)

func main() {
	p := prolog.New(nil, nil)

	t := &engine.Compound{Functor: "foo", Args: []engine.Term{engine.Atom("a")}}

	if _, err := p.Assertz(t, engine.Success, nil).Force(context.Background()); err != nil {
		panic(err)
	}

	sols, err := p.Query(`foo(X).`)
	if err != nil {
		panic(err)
	}

	for sols.Next() {
		var s struct {
			X string
		}
		if err := sols.Scan(&s); err != nil {
			panic(err)
		}
		fmt.Printf("X = %s\n", s.X)
	}
}

Note that the interface of "github.com/ichiban/prolog/engine" is unstable and this trick might not be available in the future releases.
The DB is just a map and not goroutine safe.
https://github.com/ichiban/prolog/blob/6d174c70bca7f45597f494dae19b9219764f8e6e/engine/vm.go#L51

As of v0.15.0, the hack above can be done like this:
package main

import (
	"context"
	"fmt"

	"github.com/ichiban/prolog"
	"github.com/ichiban/prolog/engine"
)

func main() {
	p := prolog.New(nil, nil)

	t := engine.NewAtom("foo").Apply(engine.NewAtom("a"))

	if _, err := engine.Assertz(&p.VM, t, engine.Success, nil).Force(context.Background()); err != nil {
		panic(err)
	}

	sols, err := p.Query(`foo(X).`)
	if err != nil {
		panic(err)
	}

	for sols.Next() {
		var s struct {
			X string
		}
		if err := sols.Scan(&s); err != nil {
			panic(err)
		}
		fmt.Printf("X = %s\n", s.X)
	}
}

We've done a couple of performance tunings since you submitted this issue. I bet it's way faster in many use cases. I'll close this issue for now. Feel free to reopen it or submit a new one!


Revert "Add VietName lunar calendar"

Reverts golang-module/carbon#221

@gouguoyin  why merge and revert feature/vi-lunar branch?
Are there any problem with this branch?

@gouguoyin why merge and revert feature/vi-lunar branch? Are there any problem with this branch?

Do not recalculate Julian days in the Gregorian calendar, use calendar/Julian pakage
for example
julian.FromGregorian(time.Date(year, time.Month(month), day, 0, 0, 0, 0, time.Local)).ToJulian().JD(0)


Add convenience methods to interact with container

Exec in Container
Place files in container
Mount directories in container
Download files from container

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

Checked in a local version of grails-functional-tests (UploadControllerSpec):
void "Test file upload"() {
        when: "When go to an upload page"
        go "/upload/index"

        copyFileToContainer(Transferable.of("Test upload", 0777), "/test.txt")
        def form = $('#myForm')

        form.myFile = "/test.txt"
        $('#input1').click()

        then:"The file is uploaded"
        $('p').text() == 'Test upload'
    }

where without the convenience methods a cast is needed:
(webDriverContainer as WebDriverContainer).copyFile...

is needed.

@jdaugherty Can you confirm that it works on MacOS with Testcontainers.exposeHostPorts(serverPort) before start()?

@sbglasius Would it be benefitial to expose the container via:
    BrowserWebDriverContainer getContainer() {
        return webDriverContainer
    }

And then you can access all methods on the container in the tests, eg: container.execInContainer(...) instead of creating methods in ContainerGebSpec that just delegates?

Followed @matrei's suggestion, removed convenience methods and added getContainer() instead

Nice! Now there are some unused imports and a whitespace issue (Line 122) again.
If @jdaugherty, can confirm the MacOS fix, that should probably be in it's own PR or commit as it fixes a bug.
Otherwise, I'd say Squash and merge on the new feature!

I'm working on confirming the change on MacOS, but I noticed the README.md still contains references to GebConfig.groovy.  Isn't this need removed now?

the reference to GebConfig.groovy is relevant if you use GebSpec instead of ContainerGebSpec


Return devices as they reply

Hi,
We're considering using your library in our project.
We have a UI where we want to show the discovered devices, and users would expect devices to appear quite immediately, while the scan can last 30seconds.
Unfortunately, this is not possible with the current API because of this line:
https://github.com/vmartos/onvif-discovery/blob/c231b1df95039761d3f6ea09ff8ef3fe32864412/OnvifDiscovery/Discovery.cs#L50
A new API entry point could be created with this signature:
public async Task Discover(Action<DiscoveryDevice> onDeviceDiscovered, int timeout, CancellationToken cancellationToken = default)

Thanks to the onDeviceDiscovered callback, items could be made available as they reply.
To avoid code duplication, the current entry point could be a wrapper around this new method, like so:
public async Task<IEnumerable<DiscoveryDevice>> Discover (int timeout, CancellationToken cancellationToken = default)
{
	var devices = new List<DiscoveryDevice> ();
	await this.Discover(devices.Add, timeout, cancellationToken);
	return devices;
}

What do you think?
We can make the PR if you want.

Hey,
Sorry for taking so long to answer, I don't know what happened but I did not receive any notification.
Regarding the issue, this library was intended as an implementation that follows ONVIF discovery devices from the official docs. This just only sends one probe message, so even if you wait for 30 seconds probably all the cameras will respond to that probe message in no more than 1 or 2 seconds.
Is true that maybe some cameras can take more than 3 seconds to respond, or even some messages can be lost. So I can improve the code to make a long running version that sends multiple probe messages and accepts an Action as an argument, or even to have an ObservableCollection as property to just observe changes on that collection. I will think about it.
Also I Accept Pull Request, so if you have already did some work feel free to create one PR.

Hey,
OK, probably not 30seconds, but you get the point, I want to show my camera as soon as they replay to avoid waiting.
Sending several  probes could be an idea, but that can also be done externally, right?
I'm not a fan of exposing an ObservableCollection, because nothing prevents you to call multiple Discover in parallel at the moment, and introducing a property would break that.
We didn't start the implementation here, but I'll try to give it a try in a few days.

Ok, thanks for your thoughts, in fact is a good idea. When I have time I will probably work on it. But let me know if you decide to start the implementation and I'll happy to merge it.

Starting implementation, stay tuned...


Fix missing breadcrumb parent

As flagged in Slack, some pages don't have a parent page, but the breadcrumb component still gets half-rendered, causing navigational issues (flagged in the 2021 a11y report)
See thread in Slack.

The decided fix was to ensure all pages had a parent (root being "Home").

For immediate consideration
Here are two things we could do pretty quickly:

We've said that all pages should have a parent, the root being "Home", but we haven't actually done that.
Press releases don't have any breadcrumb (e.g. https://wellcomecollection.org/pages/Y5n_fxEAAF9hr92I), but they are tagged consistently in Prismic as press. We could create a rule that says "if a page is tagged with 'press'", it gets a breadcrumb "Home / About us / Part of Media office", which scoops up significant chunk of our untagged content.

For future consideration
I did a brief spike on Tuesday, looking at ways we could improve breadcrumb consistency. As Jenn says in the thread, in an ideal world we don't want this to be something that's managed manually by content editors – that gets unwieldy – but it is the system we currently have.
We have tools for analysing Prismic content in bulk, and we analyse the documents as a whole, not just as individual pages. If we look at the tagging/breadcrumbs for each page, we can start to see it as a tree, for example:
collections
	YDaP2BMAACUAT7DS (Databases)
	X_2eexEAACQAZLBi (Library membership)
	YA64vRMAACAAgRjZ (Accessing our collections )
	YCAVKxIAACIAV1oF (Library facilities)
	  	YBGdERMAAB8AjXKe (Copying and photography)
  		YBGcehMAAB4AjW_c (Computers, printing and wifi)
	  	YBGczxMAACAAjXFz (Book a study room)
	YBfeAhMAACEAqBTx (Collections)
	YBmCmhMAAB4Ar0G1 (Events for researchers)
	YLnuVRAAACMAftOt (The history and context of our collections)
	YFiLgBAAACoAKF7b (Collections offers and donations)
	YCUJ1hUAACcAUi5L (Inter-library loans)
	YE99nRAAACMAb7YE (What’s in the collections)

I only had a very brief look at this, just to establish the data is there to do it – and yes, it is.
We could use this to run validation rules against page breadcrumbs, for example:

Does every page that's not a top-level item have a breadcrumb?

Does every page have a site section?

Are there any incomplete breadcrumbs? i.e.
on page C: breadcrumb = A / B / C

on page D: breadcrumb = C / D

This still puts the onus on somebody to tag the content manually, but building this visualisation tool properly would help us identify gaps in our breadcrumb strategy.
Here's the complete output for the site: structure.txt

I'm going to add the "Home" prefix to all breadcrumbs.

The "Home" prefix is done; I'm going to leave this ticket open and move it back into the backlog for the tree viewer idea, and to track discussion around the breadcrumb trail on press releases.


MINOR: Update LICENSE-binary file

Tested with:
$ ./gradlewAll clean releaseTarGz
$ tar xzf core/build/distributions/kafka_2.13-3.8.0-SNAPSHOT.tgz
$ cd kafka_2.13-3.8.0-SNAPSHOT/
$ for f in $(ls libs | grep -v "^kafka\|connect\|trogdor"); do if ! grep -q ${f%.*} LICENSE; then echo "${f%.*} is missing in license file"; fi; done

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

If you need to run this several times, you can try to omit the test suite, it will be faster :)
./gradlewAll clean releaseTarGz -x test


JSDoc @import statement for side effects

🔎 Search Terms
JSDoc, @import
🕗 Version & Regression Information
I don't think this is supported right now; perhaps intentionally.
⏯ Playground Link
No response
💻 Code
I created a global.d.ts like so:
export interface GlobalData {
    myString: string;
}

declare global {
    interface Window {
        globalData: GlobalData;
    }
}

In an app.js file I have this code which imports the global.d.ts with the desire of augmenting the window object:
/**
 * @typedef {import('./globals')}
 */

With this in place window is augmented as desired.
Looking at TS 5.5 release notes: https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#the-jsdoc-import-tag I wondered if an @import statement could be used instead to support "side effects only" imports:
/** @import "./globals" */

But it doesn't appear to.  Perhaps this is intentional?
🙁 Actual behavior

Imagine the import worked in the same manner as the typedef - that'd be great, right?
🙂 Expected behavior
I wondered if it might work - it didn't.
Additional information about the issue
Also discussed here: https://stackoverflow.com/questions/77427341/jsdoc-globalthis-window-object-extend/78927974#78927974

Why do we need this if we have regular import?

If it's for side-effects, can you just use `/// ``?

Yep I can confirm that /// <reference path="./globals" /> works, as does:
/**
 * @typedef {import('./globals')}
 */

This is more a question than anything else: is it intentional that /** @import "./globals" */ / side effects JSDoc type imports isn't supported.  It's totally fine BTW - I am in no way blocked; I'm just curious if this was an intentional "nope, we don't want to support that usecase; we don't need to / it's bad for reason X etc"

Yeah, as import type is not available in JavaScript, it makes sense with the new @import JSDoc tag that simply wrapping the import type with in a comment would work. For example:
TS (playground):
import type {Scene} from 'lume'

const s = {} as Scene

s.position // ok

JS (not working, playground):
/** @import type {Scene} from 'lume' */

const s = /**@type {Scene}*/({})

s.position // should be ok


winget should refresh the process env vars

Description of the new feature / enhancement
It's a bit annoying that after installing a package, I have to restart the shell so that PATH (or other env vars) get updated.  Ideally, winget should just refresh the process env vars based on system/user env var changes.
Proposed technical implementation details
No response

Take a look at:

https://github.com/microsoft/winget-cli/issues/549

We're looking at a few scenarios related to the path, and there is discussion and a possible workaround as well as some design work on how we might achieve this.

We're currently working on the dependency flow:

https://github.com/microsoft/winget-cli/issues/2939

I would say this duplicates:

#3077

Similar discussion at #222

Duplicate of #3077


Regional bitmap coding

hi
can i write regionally several images on a big blank jpeg image(10000*10000 pixel) on device's storage using this library and read the final image?
exactly the opposite of what BitmapRegionDecoder does in it(without out of memory error).
thanks

Unfortunately I can't help with this, my library is for displaying images, not writing them. I recommend asking this question on stackoverflow.

Thank you anyway :)


Help is not loading in any of the maps

This task is to correct the path or configuration for the RAMP help markdown files and images, so they load properly in every viewer instance.

Hey team! Please add your planning poker estimate with ZenHub @RyanCoulsonCA @spencerwahl @yileifeng


Automatic ammo pick up doesn't work for me

Only works for money and eridium. But still helps a lot, thank you for this mod nonetheless!

I think for me it only picks up eridium, nothing more.

It only picks health for me. Not even money or else. It's a bit strange… Tested on TPS.

Weird, for me it only pick up money, nothing else including ammo, eridium, health.

Oh good to know. I play in german

Guys, I've solved it, please check this PR and use that version.
https://github.com/tominator1pl/bl-sdk-mods/pull/4

I discovered the bug, the "language", in my case I play in Spanish, so in addition to "Ammo" in the list (in the .py file of the mod) I added "Munición" and now it picks up the ammo.
You need to add the names of the objects in the list in several languages, maybe by request? otherwise it will only pick up the objects in the list as long as they have the same language name of the game.

Yes, it is because the ItemName is actually a localized string, so I use GetFullDefinitionName() instead, and replace the pickup dict with prefixes of full definition names.
Tested and works for me now.

I discovered the bug, the "language", in my case I play in Spanish, so in addition to "Ammo" in the list (in the .py file of the mod) I added "Munición" and now it picks up the ammo.
You need to add the names of the objects in the list in several languages, maybe by request? otherwise it will only pick up the objects in the list as long as they have the same language name of the game.

Yes, it is because the ItemName is actually a localized string, so I use GetFullDefinitionName() instead, and replace the pickup dict with prefixes of full definition names. Tested with BL2 and works fine for me now, not tested with TPS because I haven't played TPS yet.

Thanks for the fix =)

Thanks for the help @viva-la-v


Missing WD Item for CT_222

CT_222 is not found in WD even though its referenced here Q36281361
also update ortholog CTL_0475 to include CT_222

Looks like CT_222 was discontinued: https://www.ncbi.nlm.nih.gov/gene/884897  which is why there is no WD item.  On the scale of things, I think this is the correct behavior.  @khybiske can you have a look and if you agree, close the issue?

Yes, I think we should stay aligned with NCBI, but rather than waiting for users to complain I think we should proactively ask NCBI to review this case.  They have a form to request corrections here:
https://www.ncbi.nlm.nih.gov/projects/RefSeq/update.cgi. @khybiske, want to fill this out or shall I? either way, we should point them back to this github issues so they have the ability to comment here (though it's also possible that it would only get an email response of course)...

Before we ping NCBI, I want to hear back from a colleague (Dan Rockey) to get his two cents. Make sure I am not imagining something.

@andrewsu What would we specify in the request form? Clarification on why the gene was discontinued? or request that it be reissued?

Both/either?  I think we want to propose a reexamination of that discontinuation, and hopefully they'd share with us the rationale.

Sorry, I have not yet sent in the request. I'm dealing with a stack of grant and paper deadlines. As soon as the dust settles, I can do this.

Has the request been sent?

Ack, no.. I'll try to deal with it


Issue rename app project

Rename app to project as in the rest of the PyBossa ecosystems.

:cake:


Update styling to match Accord Project website

Feature Request 🛍
Update styling of https://concerto.accordproject.org/ to match https://docs.accordproject.org/ and accordproject.org
Possible Solution
We could update the concerto site, or migrate the old docs to Docusaurus 2, then we'd only need one doc site with one set of styling.

@mttrbrts I'm interested in assigning this issue to @jesswang-dev, but it looks like I don't have permission to do that in this repo


Min valid year

Please change min valid year (_MIN_VALID_YEAR constant) from 1970 to 1 or just get availability to set this param via props. Now it is not possible to set year under 1970. Thanks

done.


[SUPPORT] flink jdbc reading to hudi lost record for not enough checkpoints in flink stream api.

Describe the problem you faced
using flink stream api
(1) create a flink jdbc source, which is obvious batch reading.
(2) create a flink hudi sink
(3) sink source to sink,start the flink job in streaming mode
(4)  checkpoint works, and some record stored on hdfs.
(5) jdbc source run out and flink exit while records submitted to hudi without enough checkpionts completed.
(6) only a small part of records writed down, some record losted
is there any way to solve it?
Environment Description

Hudi version :
0.13.1
Spark version :
none
Hive version :
2.1.1
Hadoop version :
3.0.0
Storage (HDFS/S3/GCS..) :
hdfs
Running on Docker? (yes/no) :
no

note my flink version: 1.13.6
is this require  might come true when using a flink version more than 1.14?
here are flink doc for feature 'ENABLE_CHECKPOINTS_AFTER_TASKS_FINISH' :
Checkpointing with parts of the graph finished #
Starting from Flink 1.14 it is possible to continue performing checkpoints even if parts of the job graph have finished processing all data, which might happen if it contains bounded sources. This feature is enabled by default since 1.15, and it could be disabled via a feature flag:
Configuration config = new Configuration();
config.set(ExecutionCheckpointingOptions.ENABLE_CHECKPOINTS_AFTER_TASKS_FINISH, false);
StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(config);

For streaming execution mode you are right, did you try batch execution mode?

@lschampion Any updates here?


Instructions in ollama.md result in a 404 error.

[x] This is an actually a bug report.
[x] I am not getting good LLM Results
[ ] I have tried asking for help in the community on discord or discussions and have not received a response.
[x] I have tried searching the documentation and have not found an answer.

What Model are you using?

[ ] gpt-3.5-turbo
[ ] gpt-4-turbo
[ ] gpt-4
[x] Other (ollama)

Describe the bug
The instructions in ollama.md fail with an error openai.NotFoundError: 404 page not found
To Reproduce
Confirm ollama is running.
[~] curl http://192.168.1.xxx:11434
Ollama is running

instructor hub pull --slug ollama --py > ollama_example.py

Edit base_url in ollama_example.py
17c17
<         base_url="http://localhost:11434/v1",
---
>         base_url="http://192.168.1.xxx:11434/v1",

Traceback (most recent call last):
  File "/home/x/ollama_example2.py", line 23, in <module>
    resp = client.chat.completions.create(
  File "/home/x/.local/lib/python3.10/site-packages/instructor/patch.py", line 575, in new_create_sync
    response = retry_sync(
  File "/home/x/.local/lib/python3.10/site-packages/instructor/patch.py", line 406, in retry_sync
    for attempt in max_retries:
  File "/home/x/.local/lib/python3.10/site-packages/tenacity/__init__.py", line 347, in __iter__
    do = self.iter(retry_state=retry_state)
  File "/home/x/.local/lib/python3.10/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
  File "/home/x/.local/lib/python3.10/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/home/x/.local/lib/python3.10/site-packages/instructor/patch.py", line 409, in retry_sync
    response = func(*args, **kwargs)
  File "/home/x/.local/lib/python3.10/site-packages/openai/_utils/_utils.py", line 271, in wrapper
    return func(*args, **kwargs)
  File "/home/x/.local/lib/python3.10/site-packages/openai/resources/chat/completions.py", line 659, in create
    return self._post(
  File "/home/x/.local/lib/python3.10/site-packages/openai/_base_client.py", line 1200, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "/home/x/.local/lib/python3.10/site-packages/openai/_base_client.py", line 889, in request
    return self._request(
  File "/home/x/.local/lib/python3.10/site-packages/openai/_base_client.py", line 980, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: 404 page not found

Expected behavior
There should be a successful connection to the ollama server.
Screenshots
N/A

does the completion run work if if you do not patch the instructor client

If I do not patch the instructor client, and simply use base_url="http://localhost:11434/v1",, it still does not appear to work, and fails with the same error.
The ollama server does appear to receive the request, if that helps:
[~] ollama serve
2024/03/06 17:52:06 images.go:799: total blobs: 9
2024/03/06 17:52:06 images.go:806: total unused blobs removed: 0
2024/03/06 17:52:06 routes.go:777: Listening on <IP_ADDRESS>:11434 (version 0.1.10)
2024/03/06 17:52:06 routes.go:797: Warning: GPU support may not be enabled, check you have installed GPU drivers: nvidia-smi command failed
[GIN] 2024/03/06 - 17:52:17 | 200 |    1.083246ms |       <IP_ADDRESS> | GET      "/"
[GIN] 2024/03/06 - 17:52:28 | 404 |       4.956µs |       <IP_ADDRESS> | POST     "/v1/chat/completions"

The [GIN] 2024/03/06 - 17:52:28 | 404 |       4.956µs |       <IP_ADDRESS> | POST     "/v1/chat/completions" line is the line which triggers upon executing python3 ollama_example.py.

I've tried the same thing. Updating the instructor to the latest version + fresh ollama installation worked for me.


gui: some languages not displayed in bitcoin-qt language list

Ported from: https://github.com/bitcoin/bitcoin/issues/17047.
There are, for now, 4 languages which are not displayed in the windows/linux qt language list. I am not sure about macOS.
These languages are:
Esperanto, Latin, Silesian and Kapampangan.
Side note: My windows machine has the options to switch to Esperanto and Silesian languages, so they do "exist" somewhere in Windows.
Kurdish is also not displayed (correctly?), but I'm not sure if that's only a font issue or not.
QT fetches language names from OS itself, unless otherwise specified. Some info here.
I tried to fix this issue with https://github.com/bitcoin/bitcoin/pull/16808.
On the image: Esperanto name not displayed -  (eo).

https://github.com/bitcoin/bitcoin/pull/16808

Not sure if this issue should keep open as it seems there is a common opinion (https://github.com/bitcoin/bitcoin/pull/16808 and https://github.com/bitcoin/bitcoin/pull/19001) that this is an upstream Qt bug which is not worth to deal with in our code.


Spamming error "extrinsic error code 1010: Invalid Transaction: Inability to pay some fees "

After some time of letting the worker run, the error message
[2021-10-29T07:56:58Z ERROR ws::handler] WS Error <Custom(Extrinsic("extrinsic error code 1010: Invalid Transaction: Inability to pay some fees (e.g. account balance too low)"))>
gets spammed.. without ever stopping. (after 5 minutes only)

for now, let's just give more funds. So it runs for > 15min

Issue has not been fixed, but the time window the worker can keep running has been increased to 1hour +


Update glyph-lefkowitz-automat-pyninsula-0.json

Fix speaker name to be mononymous, consistent with other JSON.

Following up from #678 .

Thanks again !!


double-beep: Blacklist keto\W*mode

double-beep requests the blacklist of the keyword keto\W*mode. See the MS search here and the Stack Exchange search here.

keto\W*mode has been seen in 6 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Only add local files to the recent documents, not URLs

Fixes https://github.com/atom/atom/issues/10071
Also, add them in Workspace::open and not AtomEnvironment::openLocations, so that files opened in an existing window will also be added to the list.
/cc @atom/core

Really great work figuring this out :clap:

Really great work figuring this out

:+1: :8ball:

:+1: Great work!

Thanks @maxbrunsfeld for addressing the issue and finally fixing it.


updated env chapter also cluster names

Signed-off-by: deepblue2k<EMAIL_ADDRESS>Updated "environmental information" chapter. Also replaced "manage from" to "AIops" and "manage to" to "Application" for cluster names.
Details are listed as below:
[root@mygit1 waiops-tech-jam]# grep -i "manager from" -r *
src/pages/tutorials/aiops/optionalGrouping/index.mdx:( select Node + AlertKey + AlertGroup + Manager from alerts.status where Severity > 0 and Type = 2 )
[root@mygit1 waiops-tech-jam]# grep -i "manage from" -r *
src/pages/tutorials/instana/agent/index.mdx:To install Instana agent on OpenShift cluster you need to authenticate to the OCP cluster with appropriate permissions (cluster admin role). In the lab environment, the control node is already logged into the cluster.  But, we need to make sure you are logged into the manage to cluster and not the manage from cluster.  Issue the following command:
src/pages/tutorials/mm/mm-mad/index.mdx: Open a shell on your control node, switch context to your 'manage from' environment, then verify that your AI Manager installation has completed successfully:
[root@mygit1 waiops-tech-jam]# grep -i "manage to" -r *
src/pages/tutorials/instana/agent/index.mdx:To install Instana agent on OpenShift cluster you need to authenticate to the OCP cluster with appropriate permissions (cluster admin role). In the lab environment, the control node is already logged into the cluster.  But, we need to make sure you are logged into the manage to cluster and not the AIOps cluster.  Issue the following command:
src/pages/tutorials/instana/agent/index.mdx:Then, look for the qotd and qotd-load projects.  If you don't see those two projects, then you must login to the correct cluster.  Open the OpenShift user interface for the manage to cluster.  Then, click in the upper right corner on the username and select Copy loging command
src/pages/tutorials/instana/agent/index.mdx:The configuration.yaml file will be downloaded to your laptop.  You must copy this file to the control node.  Or, if you have oc installed on your laptop, you can login to the manage to cluster and run the commands from your laptop.
src/pages/tutorials/instana/robot-shop/index.mdx:Double check to make sure you are logged into the manage to OpenShift cluster.  To do that, run oc get projects and grep for qotd.  You should see the qotd and qotd-load projects listed:

@deepblue2k - Jeff, suggest maybe you want to checked-in the powerpoint of the overview diagram together as the turbo lab section will need updating on the diagram too with the new cluster name and changes in the diagram to match the overview. I can update that when I'm back to work next week. And, the manage-from and manage-to are used in turbo labs instead of manage from and manage to.


validator doesn't resolve dynamic models

I have inputs that are dynamically created, so i may have a model that is set to v-model="entityModel[key]". The key could be from a iterating array. Vue validator doesn't resolve the key, so if the key were test, instead of entityModel.test i end up with entityModel[key]. Any way around this?

Can you please provide example code in jsfiddle ?

I need validate a items on one dynamic list (http://jsfiddle.net/0bsn9pdL/), but I don't get success on this validation.

Sorry for the late relpy.
I think that this issue can resolve you use v-component directive.
like this:
https://jsfiddle.net/kazupon/xkkcrzn7/5/

No problem dude.
v-component is amazing! This solve my problem.
Final version of my test: https://jsfiddle.net/cwjtta99/7/

One question:
Why the default value of quantidade property of the data v-component element, is not setted on input with model quantidade?


Fix bug of trimming in CsvTokenizer

When trim_if_not_quoted is true, AB C will be parsed as "".

oops! the comments is true but code was not.
:+1:


Ci setup

Stitching together the ci workflow for the testing and coverage.

[x] Travis CI
[x] Pytest
[x] Coverage plus issue (https://thomas-cokelaer.info/blog/2017/01/pytest-cov-collects-no-data-on-travis/)
[x] CodeCov
[x] Badge interactions

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8f436fb). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #12   +/-   ##
=========================================
  Coverage          ?   25.90%
=========================================
  Files             ?        4
  Lines             ?      471
  Branches          ?       93
=========================================
  Hits              ?      122
  Misses            ?      341
  Partials          ?        8

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 8f436fb...6eb2101. Read the comment docs.


OpenAI: Add gpt-o1/o1-mini to chat model enum

Thank you for taking time to contribute this pull request!
You might have already read the [contributor guide][1], but as a reminder, please make sure to:

Sign the contributor license agreement
Rebase your changes on the latest main branch and squash your commits
Add/Update unit tests as needed
Run a build and make sure all tests pass prior to submission

According to the OpenAI api docs these new model names don't start with gpt. Should be o1-mini etc.
See https://platform.openai.com/docs/models/o1

merged in 40eaa9974e2ca84763e7eb9032392c241a6145a2
:bow:


Introduce a Ballerina connector for Zoom REST API

We are planning to introduce a new Ballerina connector for the latest Zoom REST API, generated using it's OpenAPI specification.
Related links:

https://marketplace.zoom.us/docs/api-reference/zoom-api
https://developers.zoom.us/api-specs/zoom-api/methods/ZoomMeetingAPI-spec.json

This includes the following tasks:

Create a new repository under 'ballerina-platform' organization.
Review and sanitize the OpenAPI specification.
Generate the connector client.
Implement a test suite covering the core functionalities.
Write documentation with examples.

hey @NipunaRanasinghe @keizer619 can i work on this issue?

@NipunaRanasinghe @keizer619 please assign this issue to me :)

👋 Welcome, @s-vamshi! 🚀
We're thrilled to have you join the Ballerina Hacktoberfest community! The issue has been assigned to you, and we’re excited to see your contributions.
To help you get started, here are a few essential resources:

Connector Contributor Guide: Make sure to go through our Ballerina Hacktoberfest connector contributor guidelines and follow the exact steps, to contribute effectively.
Learn Ballerina: Whether you're new to Ballerina or looking to enhance your skills, check out our official learning resources.
Community & Support: If you have technical questions, feel free to ask on Stack Overflow with the Ballerina tag, or join us on Discord to connect with other community members.

No contribution is too small, and your feedback is always welcome! Don’t hesitate to ask questions, propose new ideas, or report issues.
We are currently in the process of creating a GitHub repository for this connector module and will update you once it’s available. In the meantime, please go through the relevant resources and documentation related to the connector.
Happy coding and welcome aboard! 🎉

Hey could I work on this issue please?

Hey, can i work on this issue?

👋 Welcome, @adibmbrk! 🚀
We're thrilled to have you join the Ballerina Hacktoberfest community! The issue has been assigned to you, and we’re excited to see your contributions.
To help you get started, here are a few essential resources:

Connector Contributor Guide: Make sure to go through our Ballerina Hacktoberfest connector contributor guidelines and follow the exact steps, to contribute effectively.
Learn Ballerina: Whether you're new to Ballerina or looking to enhance your skills, check out our official learning resources.
Community & Support: If you have technical questions, feel free to ask on Stack Overflow with the Ballerina tag, or join us on Discord to connect with other community members.

No contribution is too small, and your feedback is always welcome! Don’t hesitate to ask questions, propose new ideas, or report issues.
We are currently in the process of creating a GitHub repository for this connector module and will update you once it’s available. In the meantime, please go through the relevant resources and documentation related to the connector.
Happy coding and welcome aboard! 🎉

I have generated the client succesfully, please let me know if any sanitation of the openapi spec is required. Link to the repo.

Hi @adibmbrk ,
I'll be mentoring your project, and we have created the repository for your connector project with the initial project template: https://github.com/ballerina-platform/module-ballerinax-zoom.zmeeting.
Please sync the changes in your repo with the main branch of the above repository and send a PR with the generated client. We will review the PR with let you know the next steps
Please refer to the contribution process section for guidelines on raising a PR: https://ballerina.io/hacktoberfest/connector-contributor-guide/#contribution-process.
Happy coding! 🎉

Hi @TharmiganK , I have generated the client successfully does it require any sanitations.

Hi @adibmbrk, I will review the PR and let you know 👍🏼

Hi @adibmbrk
The given OpenAPI specification only has inline schemas which creates some random type names. Please regenerate the client using this flatten OpenAPI specification
and update the PR

@adibmbrk I have added few comments in the PR, please check them

@adibmbrk Are you still working on this issue?

Hi @adibmbrk  👋
Just checking on the progress of the connector project.
Are you actively working on this project ? If not we will have to reassign this to someone else.


Decide delivery method for users

Downloadable exe?
website?
Full fledged desktop application?

Web application was the decided delivery method


IndexSizeError: Index or size is negative or greater than the allowed amount

I've got this error, anyone the same?

yup

It's actually a bug in https://github.com/mourner/simpleheat It happens when the initial page load doesn't have dimensions above zero. I think a workaround could actually come from CSS, ensuring that your map as dimensions above zero in all conditions.
The relevant line in simpleheat is here: https://github.com/mourner/simpleheat/blob/gh-pages/simpleheat.js#L104


Not as fast on Macs

As first reported by @zkat, and verified by others, it looks like the final number on the benchmark, referring to the primed-cache speed of qdd, seems to be not significantly better on Macs. While I'm getting times of 0.5s on my machine (Linux), Mac users seem to be getting closer to 4s or 5s.
I collected .cpuprofile data from my machine and a Mac, and found that around 80% of the time on Macs is being spend in (idle), leading me to believe it's simply waiting on filesystem operations the whole time. On Linux the (idle) time is closer to 20%-25%, so while this might not account for all of the overhead, it at least accounts for a really huge chunk of it.
Since almost all of that operation consists of a recursive copy, I modified that file to use standard fs module operations (the qdd version calls the binding directly), and also added perf_hooks marks to see which of the filesystem calls were taking up the most time. The resulting script is in this gist, which can be run from any arbitrary empty directory. The test downloads a tarball, unpacks it, and measures the time to copy recursively from one directory to another. In qdd these operations happen many, many times in parallel.
Here are the results (time in ms):
My Arch Linux Lenovo X1 Carbon (from 2016):
$ node copytest.js
readdir 1.995347
stat 16.328005827783088
mkdir 7.106336499999999
copyfile 15.482173730219255
---
77.179121

A Google Compute Cloud instance (TODO put specs in here):
$ node copytest.js
readdir 1.7026445
stat 14.900154024738319
mkdir 9.860568500000001
copyfile 15.350753629170656
---
71.24901

A macincloud.com Pay-as-you-Go instance (OS X High Sierra):
$ node copytest.js
readdir 4.9309635
stat 83.9008870846811
mkdir 38.07782
copyfile 78.84369494852221
---
353.116088

While this is still pretty inconclusive, fs.stat and fs.copyFile seem to be taking considerably longer on a Mac than on Linux. In all tests<EMAIL_ADDRESS>is used. For both my machine and the Google instance, the filesystem is ext4 and for the Mac it's HFS+.

Maybe compare ulimit -n? I think it is 256 on macOS by default... not sure what benchmark you are using, but that is pretty low if you are opening a bunch of files.

Does the perf difference carry over to sync calls as well?

@evanlucas For ulimit -n I'm seeing 4096 on my Linux machine, 32768 on macOS.
@addaleax It looks like it does. I added a sync version of the test to the gist. Here are the results:
Linux:
$ node copytestsync.js
readdir 0.44465699999999997
stat 0.01158147002854424
mkdir 0.056488000000000003
copyfile 0.02846236224976165
---
75.75296

Mac:
$ node copytestsync.js
readdir 0.9944815
stat 0.050528007611798355
mkdir 0.222148
copyfile 0.48516409151572953
---
673.984851

Since the test code here is effectively doing the same thing as a cp -r, I thought I'd try timing that in both environments. The script used is in the gist as copytest.sh.
Linux:
real    0m0.022s
user    0m0.003s
sys     0m0.019s

Mac:
real	0m0.318s
user	0m0.026s
sys	    0m0.281s

I think that rules out overhead from the threadpool mechanisms (which is ultimately implemented in a very platform-dependent way). (Btw, file system writes are protected by a global lock on OS X, so they can’t use the threadpool effectively there – but that seems unlikely, too, if it also affects sync code and other functions.)
If you want to hear my best guess, it’s probably an actual perf difference in the OS or the file system. I guess trying to reproduce this with C code using the raw syscalls could prove or disprove that?

@bengl, if you spend the entire night debugging syscalls, which I suspect you will, you should take notes and turn it into a talk ;)

@LarsJK AFAIK yes, but note also that my Linux system is using LUKS, which I'd imagine is pretty similar in terms of overhead.