age restricted video

Checklist

[ ] I'm reporting a broken site support issue
[ ] I've verified that I'm running youtube-dlc version 2020.09.14
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose log

[youtube] sBzrzS1Ag_g: Downloading webpage
[youtube] sBzrzS1Ag_g: Downloading embed webpage
ERROR: Video is age restricted and only playable on Youtube. Requires cookies!
bowser@bowser-Inspiron-530:~$ youtube-dlc https://www.youtube.com/watch?v=sBzrzS1Ag_g -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=sBzrzS1Ag_g', u'-v']
[debug] Loading archive file None
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dlc version 2020.10.09
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-121-generic-i686-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] sBzrzS1Ag_g: Downloading webpage
[youtube] sBzrzS1Ag_g: Downloading embed webpage
ERROR: Video is age restricted and only playable on Youtube. Requires cookies!
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dlc/youtube_dlc/YoutubeDL.py", line 830, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dlc/youtube_dlc/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dlc/youtube_dlc/extractor/youtube.py", line 1902, in _real_extract
    raise ExtractorError('Video is age restricted and only playable on Youtube. Requires cookies!', expected=True)
ExtractorError: Video is age restricted and only playable on Youtube. Requires cookies!

bowser@bowser-Inspiron-530:~$

PASTE VERBOSE LOG HERE

Description

!--age restricted video not working for this video  - https://www.youtube.com/watch?v=XgnwCQzjau8  and this video https://www.youtube.com/watch?v=sBzrzS1Ag_g   using youtube-dlc version 10 -9 -2020  tried signed in / not signed in and with and without cookies

update !! this video  -  https://www.youtube.com/watch?v=sBzrzS1Ag_g  does work
without being signed in & using cookies using just youtube-dl
this video -

this video - https://www.youtube.com/watch?v=XgnwCQzjau8 does not work with either
youtube-dl or youtube-dlc

Just made a fresh cookies.txt file and it worked here.
Verbose log:
youtube-dlc -v https://www.youtube.com/watch?v=XgnwCQzjau8
[debug] System config: []
[debug] User config: ['-o', '/dev/shm/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--no-mtime', '--add-metadata', '--embed-thumbnail', '--cookies', '/home/nico/.config/youtube-dl/cookies.txt']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=XgnwCQzjau8']
[debug] Loading archive file None
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dlc version 2020.10.09
[debug] Python version 3.6.9 (CPython) - Linux-4.15.0-121-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg N-99430-g9d8f9b2-Nico_20201001, ffprobe N-99430-g9d8f9b2-Nico_20201001
[debug] Proxy map: {}
[youtube] XgnwCQzjau8: Downloading webpage
[youtube] XgnwCQzjau8: Downloading embed webpage
[youtube] XgnwCQzjau8: Downloading MPD manifest
[youtube] XgnwCQzjau8: Downloading thumbnail ...
[youtube] XgnwCQzjau8: Writing thumbnail to: /dev/shm/youtube-dl - --cookies option.webp
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/dash/expire/1602888504/ei/2M6JX_P_Lqr5sAKc5oQI/ip/#REDACTED#/id/5e09f0090ce36aef/source/youtube/requiressl/yes/playback_host/r3---sn-5hne6nsd.googlevideo.com/mh/zu/mm/31%2C26/mn/sn-5hne6nsd%2Csn-4g5ednsl/ms/au%2Conr/mv/m/mvi/3/pl/15/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/2200000/vprv/1/mt/1602866807/fvip/3/keepalive/yes/fexp/23915654/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRQIhAIqTsFEj61V-WXJRHXwnewW_kqma3J6V-5HI77u9NcfMAiARyqDxTGdedZBevDvt4ejvCgzrdmBTFVmyA0RgSUPlSw%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRQIgCQ41N9kMdekaiN-iFkIA4gMe4rpWSroBb9ji2jmeRkgCIQCN4aMy6njksZktYerYHlEXVUOGTNVAeb16dokoDwtSvA%3D%3D'
[dashsegments] Total fragments: 130
[download] Destination: /dev/shm/youtube-dl - --cookies option.f136.mp4
[download] 100% of 39.30MiB in 00:13
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/dash/expire/1602888504/ei/2M6JX_P_Lqr5sAKc5oQI/ip/#REDACTED#/id/5e09f0090ce36aef/source/youtube/requiressl/yes/playback_host/r3---sn-5hne6nsd.googlevideo.com/mh/zu/mm/31%2C26/mn/sn-5hne6nsd%2Csn-4g5ednsl/ms/au%2Conr/mv/m/mvi/3/pl/15/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/2200000/vprv/1/mt/1602866807/fvip/3/keepalive/yes/fexp/23915654/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRQIhAIqTsFEj61V-WXJRHXwnewW_kqma3J6V-5HI77u9NcfMAiARyqDxTGdedZBevDvt4ejvCgzrdmBTFVmyA0RgSUPlSw%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRQIgCQ41N9kMdekaiN-iFkIA4gMe4rpWSroBb9ji2jmeRkgCIQCN4aMy6njksZktYerYHlEXVUOGTNVAeb16dokoDwtSvA%3D%3D'
[dashsegments] Total fragments: 70
[download] Destination: /dev/shm/youtube-dl - --cookies option.f140.m4a
[download] 100% of 10.57MiB in 00:09
[ffmpeg] Merging formats into "/dev/shm/youtube-dl - --cookies option.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/dev/shm/youtube-dl - --cookies option.f136.mp4' -i 'file:/dev/shm/youtube-dl - --cookies option.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:/dev/shm/youtube-dl - --cookies option.temp.mp4'
Deleting original file /dev/shm/youtube-dl - --cookies option.f140.m4a (pass -k to keep)
Deleting original file /dev/shm/youtube-dl - --cookies option.f136.mp4 (pass -k to keep)
[ffmpeg] Adding metadata to '/dev/shm/youtube-dl - --cookies option.mp4'
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/dev/shm/youtube-dl - --cookies option.mp4' -map 0 -c copy -metadata 'title=youtube-dl: --cookies option' -metadata date=20200324 -metadata 'description=youtube-dl: --cookies option

Some YouTube videos can be downloaded or streamed only if the user is logged and is over 18 years old.
In the case of the youtube-dl utility, the --cookies option must be used, because the --username and --password options are not accepted by YouTube.

Disclaimer: This episode is neither a promotion nor a recommendation any product or service, but does reflect my personal experiences.
Disclaimer: This episode is presented with ABSOLUTELY NO WARRANTY WHATSOEVER.

Date:  24 MARCH 2020

[obs q6 ffmpeg irfanview]' -metadata 'comment=youtube-dl: --cookies option

Some YouTube videos can be downloaded or streamed only if the user is logged and is over 18 years old.
In the case of the youtube-dl utility, the --cookies option must be used, because the --username and --password options are not accepted by YouTube.

Disclaimer: This episode is neither a promotion nor a recommendation any product or service, but does reflect my personal experiences.
Disclaimer: This episode is presented with ABSOLUTELY NO WARRANTY WHATSOEVER.

Date:  24 MARCH 2020

[obs q6 ffmpeg irfanview]' -metadata 'purl=https://www.youtube.com/watch?v=XgnwCQzjau8' -metadata artist=SteveAB4EL 'file:/dev/shm/youtube-dl - --cookies option.temp.mp4'
[ffmpeg] Converting thumbnail "/dev/shm/youtube-dl - --cookies option.webp" to JPEG
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/dev/shm/youtube-dl - --cookies option.webp' -bsf:v mjpeg2jpeg 'file:/dev/shm/youtube-dl - --cookies option.jpg'
[atomicparsley] Adding thumbnail to "/dev/shm/youtube-dl - --cookies option.mp4"
[debug] AtomicParsley command line: AtomicParsley '/dev/shm/youtube-dl - --cookies option.mp4' --artwork '/dev/shm/youtube-dl - --cookies option.jpg' -o '/dev/shm/youtube-dl - --cookies option.temp.mp4'

SOLVED !! had to run like this - bowser@bowser-Inspiron-530:~$ python3 /usr/local/bin/youtube-dlc https://www.youtube.com/watch?v=sBzrzS1Ag_g --cookies '/home/bowser/Downloads/cookies.txt' -f mp4  it works.

For some reason you sometimes need very fresh cookies but not always.

SOLVED !! had to run like this - bowser@bowser-Inspiron-530:~$ python3 /usr/local/bin/youtube-dlc Tame Impala - The Less I Know The Better (Official Video) --cookies '/home/bowser/Downloads/cookies.txt' -f mp4 it works. both link now work

Yeah...,
That's why I use an alias for the youtube-dlc command:
alias youtube-dlc='python3 /usr/local/bin/youtube-dlc'
Insert that line in the file .bash_aliases in your /home folder.
If it doesn't exist, create it.
It's a hidden file; to view hidden files, press Ctrl+H.


TypeError: visualize_boxes_and_labels_on_image_array() takes at least 7 arguments (8 given)

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
My code
for image_path in TEST_IMAGE_PATHS:
image = Image.open(image_path)
image_np = load_image_into_numpy_array(image)
image_np_expanded = np.expand_dims(image_np, axis=0)
output_dict = run_inference_for_single_image(image_np, detection_graph)
vis_util.visualize_boxes_and_labels_on_image_array(
image_np,
output_dict['detection_boxes'],
output_dict['detection_classes'],
output_dict['detection_scores'],
category_index,
instance_masks=output_dict.get('detection_masks'),
use_normalized_coordinates=True,
line_thickness=8)
plt.figure(figsize=IMAGE_SIZE)
plt.imshow(image_np)
Describe the current behavior
TypeError                                 Traceback (most recent call last)
 in ()
17       instance_masks=output_dict.get('detection_masks'),
18       use_normalized_coordinates=True,
---> 19       line_thickness=8)
20   plt.figure(figsize=IMAGE_SIZE)
21   plt.imshow(image_np)
TypeError: visualize_boxes_and_labels_on_image_array() takes at least 7 arguments (8 given)
Describe the expected behavior
detected files(.jpg)
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Nagging Assignee @jch1: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@jbhhhhh,
While running visualize_boxes_and_labels_on_image_array function please try to retrieve image coordinates.
Could you please try a separate loop on "image" to filter boxes with the score threshold.
 ymin = int((boxes[0][0][0]*height))
  xmin = int((boxes[0][0][1]*width))
  ymax = int((boxes[0][0][2]*height))
  xmax = int((boxes[0][0][3]*width))

  Result = np.array(img_np[ymin:ymax,xmin:xmax])

Thank you!


Added nino, gender and previous names to person view

Context
Users of the support desk need gender and NINO to help identify the correct record.
Changes proposed in this pull request
Add NINO, Gender and previous name(s) to the summary list on the person view, as per the designs.
Guidance to review
CRM query, UI + tests
Checklist

[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Add NINO and Gender to person view


Update picroft-audio.md

In this file currently there is only one line amixer not anymore three. So we just need to change the number not comment an entire line

CLA received with thanks, merging PR.
Thank you again for your contribution!


Scope work for zipping blob within vscode and decouple dependency on zip file from periscope tool.

Initial description
This work-item is created to scope what all work will entail to stock take work needed to write extension level *.zip for case when\if periscope tool removes *.zip from their upload to azure storage.

How much upfront work will be needed to render the azure storage and use jszip.
With initial investigation it will definitely involve writing the zipper function within the vscode.

Origination of this thought/idea and key issue:

Currently for the the vscode x periscope feature leverage the  *.zip file which was always there by design form the initial days of periscope tool

Now, given Periscope tool is cleaning up and as part of clean up holding the *.zip of something which already exist, is in the possible re-think.

Key challenge:

Current way we can rely on the vscode default browser behaviour of download since we will handle the zip at vscode level how can we trigger default save behaviour?

Update 20th June
Gained more clarity by implementing the functionality and there were challenges but more succinct version is below and I will tag a PR with this for the associated changes.
Goal To implement the vscode level download and zipping mechanism and to move away from the browser click mechanism. This enhancement decouples the underlying periscope implementation to calling mechanism only and no point of being dependent on a zip file which was populated earlier by the tool.
Implementation

For the click mechanism I will utilise the vscode -> webview messaging call back to invoke 2 key aspects.

Call the storage to get the node logs, and stream read it and download  like here: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-nodejs-legacy#download-a-blob
Then from in-memory stream zip those files using jszip and store it ad the downloadFolder location

Update 21 June - Draft POC PR

Draft PR reside here for the implementation: https://github.com/Azure/vscode-aks-tools/pull/75

⚠ 💡  Implication of doing this in VsCode are following:
Here is what we found the implications/Poor experience are from the draft POC implementation here:  https://github.com/Azure/vscode-aks-tools/pull/75

Poor Download U/X experience: The current downside to move away from the link to browser will be gone, and replaced with only message driven approach. ( this is something which seems inevitable)

Slower U/X experience: This will happen because the underlying code now deal with directly downloading the blob from storage and stream the download into the zip file and save it into the download folder all within vscode.

Maintenance of this code needs some guarantee and contract form the persicope tool that the blob folder structure will not change in future.

Breaking change: As an user-experience and tool related breaking change the vscode changes need to go first before any tool related changes to remove zip upload is removed.

Periscope Tool level PR:  https://github.com/Azure/aks-periscope/pull/65

Thanks,

💡Update: This is not longer necessary because the zip functionality is added back with latest enhancement. Thanks. PR at the periscope end where discussion took place et. al. is here: https://github.com/Azure/aks-periscope/pull/65
Closing this work item.


RD2: Match Opportunity with projected installment within date range

Critical Changes
Changes
Issues Closed
Community Ideas Delivered
New Metadata
Deleted Metadata

**lurch: attach W-038890

Tracking W-038890

**lurch: attach W-038425

Tracking W-038425

**lurch: detach W-038425

Detached W-038425

**lurch: attach W-038890

Tracking W-038890


Generated ToscaIntegration.pdf report is inconsistently filled /from empty to full ..

When running large scale tests - we see the tosca integration report to be inconsistent.. Sometimes empty, sometimes full, sometimes  with only one or two test results in ..
[0] 6:53:29 PM: [ToscaIntegrationReport]
A general error occurred during printing. Check the project file and the data source.
[3] 6:53:29 PM: Task 'Print Report ... ToscaIntegrationReport' finished
[3] 6:53:29 PM: Closing Workspace
[3] 6:53:29 PM: Closing Workspace!
[3] 6:53:29 PM: Log closed!

There is a couple of thoughts whats going on:
Solution improvement ideas:

Idea#1
In general, you don’t have to open the workspace every time you use it like you do here:
[https://github.com/Boehringer-Ingelheim/toscaci/blob/6239ea8fd4ea92303202217c428a871aade2fdbf/server/CIService/Helper/ExecutionHelper.cs#L131-L150]
are printed, you can close the workspace on the machine. Opening and closing the workspace and the whole WorkspaceSession concept only makes sense if multiple requests are coming in for the same workspace in parallel (like in the case of the REST API). In the CIService, the workspace is only being used by a single thread, so no need for the session logic.

Idea#2
Possible small bug in the WorkspaceSession code, the following 2 lines need to be placed in curly braces if they both apply to the IF statement. Otherwise, C# just takes the first line after the IF statement.

[https://github.com/Boehringer-Ingelheim/toscaci/blob/6239ea8fd4ea92303202217c428a871aade2fdbf/server/CIService/Tosca/WorkspaceSession.cs#L75-L77]

Idea#3
Also, since Tosca 14.2, the ImportAutomationObjectResultsToExecutionLogTask is available in the Product. So this task can be removed from the custom solution and we can use the Product one “Tricentis.Automation.TCAddIns.ExecutionAddIn.Tasks. ImportAutomationObjectResultsToExecutionLog”. For the sessionId, you can send in the executionTracking.id.

maybe tosca tasks execute "async'ly" ... https://github.com/Boehringer-Ingelheim/toscaci/blob/main/server/CIService/Helper/ExecutionHelper.cs#L220

quick update - looks like we have found it ... aside from now using std APIs from the product - compiling it for 64bits helped a LOT

Closing this issue since it does not seem to be related to the implementation of toscaci anymore, but to the execution environment and it's (virtual) screen setup/session.


this bug was found on the latest action build, please fix this bug

Describe your bug here. If you are modding, try testing your bug in a clean version of the engine instead. Also, if you're using an older version of JSE, please try the latest version/action build. Also, be sure to check the pinned 'JS Engine: Known Issues' issue, to check if your issue hasn't already been found!

Command Prompt/Terminal/Crash logs (if existing)
a

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
a

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
a
If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?
None
Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.
Yes

and yet you didn’t explain anything at all

and yet you didn’t explain anything at all

i think i know what's happening
if the Save Undos option is enabled, saving 1 undo will cause the game to infinitely pop up the unsaved changes prompt, when it should only pop up if you press BACKSPACE. will be fixing

oh, that wasn’t very obvious
On Wed, Sep 18, 2024 at 10:02 PM Jordan Santiago @.***>
wrote:

and yet you didn’t explain anything at all
i think i know what's happening
if the Save Undos option is enabled, saving 1 undo will cause the game to
infinitely pop up the unsaved changes prompt, when it should only pop up if
you press BACKSPACE. will be fixing
—
Reply to this email directly, view it on GitHub
https://github.com/JordanSantiagoYT/FNF-JS-Engine/issues/592#issuecomment-2359829103,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5VHQKRXBV4XZEEJSSZ5D3DZXIWDHAVCNFSM6AAAAABOO3S6JKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZHAZDSMJQGM
.
You are receiving this because you commented.Message ID:
@.***>


documentation-edit.md

name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
Checklist

[ ] Is there an existing issue for this PR?

link issue here

[ ] Have the files been linted and formatted?

What docs page needs to be fixed?

Section: Tutorials/Quick Start
Page:  Create a redux state slice

What is the problem?
At line 93 we created counterSlice and gave a reducers as key on line 98
at line 118 we export default counterSlice.reducer but shouldn't it be export default counterSlice.reducers
What changes does this PR make to fix the problem?
I changed it to counterSlice.reducers

Sorry, the current code is correct as-is.
You pass in an object called reducers, full of "case reducer" functions.
It generates a slice.reducer field, which is the one "slice reducer" function that has all of the "case reducers" inside.
Thanks anyway!


Ability to handle ACL creation

Migrated from https://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=100
It would be ideal if the bulk filesystem import tool could also handle ACLs.  Possibly add a configuration in the properties.xml file for each ACE.

Hi,
It's not still possible to import ACLs with properties.xml ?

That's correct. You should watch this ticket in order to be notified of any work here.
In the meantime you can post-process the imported content to set ACLs. This is a relatively common activity and one that Alfresco's SI partners and/or prof. svcs. team can assist with.

Peter, is there a plan to tackle this issue anytime soon? In addition to the post-process approach as you suggested, if anyone wants to roll up his/her sleeves, does the bulk import tool code provide any API or hook to support it? You know, something similar to onCreateNode in Alfresco Behavior, or AOP interceptor? Appreciate your help.

I don't have any immediate plan to fix it, for two reasons:

I consider post-processing to be a better approach, in part because...
Richard McKnight implemented this for v1.x of the tool and found that the performance impact was dire. IIRC it seems that Alfresco doesn't expect ACLs to change rapidly, and doing so causes issues with database and cache thrashing.

That said, I'd be open to PRs that added this capability in a way that didn't impact import performance for those who don't need to set ACLs and/or are happy to set them via post-processing.


Support for conventional MVC roles?

I'm not sure if this issue is best placed here or in the IdentityManager project, but it's aspnet specific...
Can we get support for or a guide on how to manage conventional ASP.NET MVC roles with AspNetIdentity? I'm using IdentityManager.AspNetIdentity to manage the users in my MVC app and the roles created are not recognised by MVC.
Thanks!

@danda1man You're talking about IdentityServer, but this issue is about IdentityManager... I have the same problem with IdentityManager, and IsInRole or Authorize(Roles="...") definitely doesn't work with the simple "role" claimtype. I have a workaround now where I add the roles again after sign-in (in "GenerateUserIdentityAsync"), using the Microsoft ClaimTypes.Role, and then everything works fine... Just wondering if this is the right approach.

Ok, took me forever, but I just added a RoleClaimType to the AspNetIdentityManagerService so you can pick what claim types you want for roles.

Brock, this works fine for me, I have modify the code in this way:
public class ApplicationIdentityManagerService :
        AspNetIdentityManagerService<ApplicationUser, string, IdentityRole, string>
    {
        public ApplicationIdentityManagerService(ApplicationUserManager userMgr, ApplicationRoleManager roleMgr)
            : base(userMgr, roleMgr)
        {
            RoleClaimType = ClaimTypes.Role;
        }

    }

And now IdentityManager fill the Claim table with the Microsoft Schema ("http://schemas.microsoft.com/ws/2008/06/identity/claims/role")
The checks: [Authorize(Roles = "ASPNET_IDENTITYMANAGER")]
and
User.IsInRole("ADMINISTRATOR") now works properly.
I have a question now:
Checking the AspNet sql tables I notice that AspNetUserRoles is empty and that the AspNetUserClaims table is filled properly...
The application works but I don't know if this can cause some problem...
Thanks to support


Missing sub-type resolution in suggestion popup

TypeScript Version:
discovered in 2.9.0-dev.20180511 and 2.7.2
I discovered https://github.com/Microsoft/TypeScript/issues/24409 while trying to reproduce this in<EMAIL_ADDRESS>Code
// x.ts
import { Enum } from '~/types'

type ObjectFromEnum<T, R extends string = Enum> = {
  [S in R]: T
}

export const SYMBOLS: ObjectFromEnum| // <- cursor for ctrl+space hints here

// types.d.ts
export type Enum = 'a' | 'b' | 'c'
export type EnumX = 'd' | 'e' | 'f'
export type ObjectFromEnumX<T, R extends string = EnumX> = {
  [S in R]: T
}

Expected behavior:
Expected is that referenced types are resolved for both local and external (not yet imported) types.
In this case for external type ObjectFromEnumX, EnumX = 'd' | 'e' | 'f'

Actual behavior:
Type Enum is not resolved for locally available type.

"Locally available" applies for imported types as well. The EnumX resolution is missing again once ObjectFromEnumX is imported.

Either behavior is correct here; this isn't a bug.

@RyanCavanaugh Thank you for getting back to it.
I see that it now behaves differently.
Both of the types are written just as ... R extends string = Enum ... and ... R extends string = EnumX ...

Before,

when the type ObjectFromEnumX was not imported at the time the intellisense for ObjectFromEnumX was invoked, it would resolve to ... R extends string = "d" | "e" | "f" ..., which was useful.
when peeking into the intellisense for ObjectFromEnum, having the Enum imported in the file, it would resolve to just ... R extends string = Enum ...
After also doing import { Enum, ObjectFromEnumX } from '~/types', the intellisense for ObjectFromEnumX would then change from "d" | "e" | "f" to just ... R extends string = Enum ....

That was kind of puzzling bac then, but today the behavior is different, so this ticket is indeed not needed any more.


External Mapping Service

This is definetely not a crucial feature. Just an idea I had. It would help if the community could expand this idea as well as providing other use cases.
Please describe your use case / problem.
I want to do A/B testing based on certain business rules, such as directing traffic to the new version of my service initially only for requests coming from a set of users.
Describe the solution you'd like
Similarly to authentication, the solution would consist of declaring an "external mapper". When a mapping condition is met, the request will be redirected to the external mapper. After treating the request, the mapper would send back to the ambassador information related to which service should be used. This information could be a new prefix(or header, host , etc.) or the external mapper could be attached to a mapping and would decide if the mapping would take place or not
Solution 1: Mapping returns a new prefix, which would be used in other mappings:
---
apiVersion: ambassador/v1
kind:  MappingService
name:  map_by_user_region
auth_service: "external-mapper:8080"
path_prefix: "/myservice"
---
apiVersion: ambassador/v1
kind:  Mapping
name:  old_service_mapping
prefix: /old_service/
service: "appv1:8080"
---
apiVersion: ambassador/v1
kind: Mapping
name: new_service_mapping
prefix: /new_service/
service: "appv2:8080"

Solution 2: The external mapper would decide if the mapping should take place in the attached mapping (returns 200 OK) or not (different than 200 OK).
---
apiVersion: ambassador/v1
kind:  Mapping
name:  old_service_mapping
prefix: /same_prefix/
service: "appv1:8080"
---
apiVersion: ambassador/v1
kind: Mapping
name: new_service_mapping
prefix: /same_prefix/
service: "appv2:8080"
mapping_service: "external-mapper:8080"

You could also use weight if the external mapper returns OK in two or more mappings:
---
apiVersion: ambassador/v1
kind:  Mapping
name:  old_service_mapping
prefix: /same_prefix/
service: "appv1:8080"
mapping_service: "external-mapper:8080"
---
apiVersion: ambassador/v1
kind: Mapping
name: new_service_mapping
prefix: /same_prefix/
service: "appv2:8080"
mapping_service: "external-mapper:8080"
weight: 10

Describe alternatives you've considered
I could just make my own business gateway that would forward the requests to the appropriate service.
P.S.: Is it possible to do a mapping based on headers sent by the external auth service? This could also be an alternative, although maybe not pretty considering microservices best practices.

You can definitely route based on headers added by the AuthService -- this is supported, and we have many people using it.
Whether they're using it for actual A/B testing, I couldn't tell you...


GSSoC'23 - Improved UI

I have visualized your web app and it needs to have an improved UI and better responsiveness. Please assign this task to me, I will improve the responsiveness and make some necessary changes to the UI if needed

Hey @SurajPratap10 Can I work on this issue?

Hey @SurajPratap10 Can I work on this issue?

I'm already working on it!

Hey @SurajPratap10 Can I work on this issue?

I'm already working on this issue.

Hey @SurajPratap10 Can I work on this issue?

@abrehan2  has already been assigned on this, so if u wish you can work on other issues.

@SurajPratap10  There is bug in loading images but i don't know tthe tecnology used. How can i fix it? If you can help it would be great.

@SurajPratap10 There is bug in loading images but i don't know tthe tecnology used. How can i fix it? If you can help it would be great.

There isn't a bug as such if you will run the whole project on your local device providing the OpenAI API key  in your env file then it will run just while deploying the whole site the backend is giving some issues which are open for folks to solve rest the project will run fine in your local device.

And if you have any doubts about Tech Stacks and stuff do read the Readme file, there I have mentioned every info and also provided a WORKING VIDEO (YouTube) of the site.

ok thank you @SurajPratap10

Is there any other thing on which I can work ?

Is there any other thing on which I can work ?

Just check the issues section regularly and be the first to get the beginner-level issues assigned by me.

@SurajPratap10 ok bro thanks I'll let you know

Hi Suraj,
I hope this finds you well. I have pushed all the changes in a
separate branch but can't find a way to make a PR.
Link: https://github.com/abrehan2/Imagine_AI/tree/GSSoC-23
Best regards,
Rehan
[image: image.png]
On Sat, 20 May 2023 at 11:43, Suraj Pratap @.***> wrote:

Hey @SurajPratap10 https://github.com/SurajPratap10 Can I work on this
issue?
@abrehan2 https://github.com/abrehan2 has already been assigned on
this, so if u wish you can work on other issues.
—
Reply to this email directly, view it on GitHub
https://github.com/SurajPratap10/Imagine_AI/issues/2#issuecomment-1555719698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYBTD23AWDF7HBB67NGA4ITXHBRZTANCNFSM6AAAAAAYIA6WUY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Suraj, I was working on the issue that was assigned to me. Why can't I find
it? Why is this closed? It was working on it. I couldn't do it earlier
because of exams but now when I did I can't find my own issue that I
created earlier. Did you close it?
On Sat, 24 Jun 2023, 1:08 am Rehan Najam, @.***> wrote:

Hi Suraj,
I hope this finds you well. I have pushed all the changes in a
separate branch but can't find a way to make a PR.
Link: https://github.com/abrehan2/Imagine_AI/tree/GSSoC-23
Best regards,
Rehan
[image: image.png]
On Sat, 20 May 2023 at 11:43, Suraj Pratap @.***>
wrote:

Hey @SurajPratap10 https://github.com/SurajPratap10 Can I work on this
issue?
@abrehan2 https://github.com/abrehan2 has already been assigned on
this, so if u wish you can work on other issues.
—
Reply to this email directly, view it on GitHub
https://github.com/SurajPratap10/Imagine_AI/issues/2#issuecomment-1555719698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYBTD23AWDF7HBB67NGA4ITXHBRZTANCNFSM6AAAAAAYIA6WUY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @SurajPratap10,
I trust this message reaches you in good health. I have successfully committed all the modifications to a separate branch. However, I'm currently facing an issue when attempting to create a pull request. When I click on "compare and PR," the interface does not display a field to enter any text.


defect #267087: Show descriptive error message when trying to create pipeline with already existing name.

Defect fixed.

:x: Build hp-application-automation-tools-plugin octane_latest.4-txipgmce failed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/1a2204e534 by @mgustus)

:white_check_mark: Build hp-application-automation-tools-plugin octane_latest.6-ixrrnhsd completed (commit https://github.com/hpsa/hp-application-automation-tools-plugin/commit/789f38d68d by @mgustus)

approved for build

approved for test build


temperate_synth

Illustration of inegal temperament in baroque musique based on polysynthetizer with several tunings for the same music scale. The scale will be built by individual tuning of each note, based on pure tierce, pure quinte and pure octave with an convenient user interface. This is for music educative objective.

Hello Chris,
Perhaps can you help me. Two synths are available on :
https://webaudiodemos.appspot.com/
"Monosynth" finds the midi keyboard connected to my windows PC and "analog synth" doesn't.
The audio part works well with both synths. How coul'd I use "analog synth" ?
Do you know if other similar applications for music do exist ?
Thank you for your help.
Marc Nicolardot

Monosynth has the polyfill added, analog does not.  You're either not using Chrome, or it doesn't have the MIDI flag enabled in chrome://flags.

Thank you very much Chris, the MIDI flag was not enabled. Now, analogs works well.
Marc Nicolardot
De : Chris Wilson<EMAIL_ADDRESS>À : cwilso/midi-synth<EMAIL_ADDRESS>Cc : nicolardot<EMAIL_ADDRESS>Envoyé le : Vendredi 13 février 2015 16h36
Objet : Re: [midi-synth] temperate_synth (#10)
Monosynth has the polyfill added, analog does not. You're either not using Chrome, or it doesn't have the MIDI flag enabled in chrome://flags.—
Reply to this email directly or view it on GitHub.


(Question) Dynamically scaling Selenoid hosts/instances

So I'm currently part of setting up a test architecture using Selenoid on AWS. Currently, we've managed to setup ggr and selenoid on a single EC2 instance (basically as a POC) which works somewhat decent. A problem we have though is that running 4+ tests or so completely tanks the instance (the instance is fairly small, c5.large 2 vCPU and 4GB memory, but is this "normal" or have we bungled configuration?) and we are now looking at expanding into a larger setup.
When looking at documentation for ggr and selenoid, (and your articles "Selenium testing: a new hope") we get the picture that a ggr directs tests to a cluster of static hosts/instances, and on the instances, selenoid spins up containers that run the tests.
However we have some difficulty in understanding how to dynamically scale this solution. We don't really want static instances running in AWS as the tests generally come in infrequent spikes, and so we would like to have something like this:
test -> ggr -> load balancer -> selenoid -> containers.
Does this make sense/is it possible? Can we for instance specify the load balancer as host within the quota file?
We're also looking into some other AWS solutions like ECS but figured that it would be beneficial seek some input from the creators of this as well, and any advice is well appreciated.

@tymfear Would you mind sharing in some detail how you've configured confd and aws cli? I receive the error MissingRegion: could not find region configuration (i'm assuming from the aws cli) but as far as I can tell, the region is set as it should in ~/.aws/config

@PapoyEdits Hello, I'm trying to dynamically scale it also following what you have done, but i'm having trouble to have confd keep updating. It seems that when i have it running using confd command without -onetime command, it doesn't automatically update it although i have it running on the back ground.
Did you run into the same issue? How were you able to solve it?
Also, what version of confd are you using?
Thank you in advance.

@PapoyEdits Hello, I'm trying to dynamically scale it also following what you have done, but i'm having trouble to have confd keep updating. It seems that when i have it running using confd command without -onetime command, it doesn't automatically update it although i have it running on the back ground.
Did you run into the same issue? How were you able to solve it?
Also, what version of confd are you using?
Thank you in advance.

@PapoyEdits sorry, I’ve noticed your questions only now because of the message above. It’s been almost a year, but anyway I really sorry that I missed it. Glad you’ve managed it on your own!

@PapoyEdits sorry, I’ve noticed your questions only now because of the message above. It’s been almost a year, but anyway I really sorry that I missed it. Glad you’ve managed it on your own!

@shj941013 Hmm, I believe we had an issue similar to that, but I can't remember the resolution for it. Either way, the command that we use to run confd is the following:
confd -interval 10 -backend dynamodb -table <YOUR_TABLE> &>>/etc/confd/logs/confd-logs.txt
The version of confd is 0.16.0, which is the latest as far as I can tell since confd isn't updated anymore  :(

@shj941013 Hmm, I believe we had an issue similar to that, but I can't remember the resolution for it. Either way, the command that we use to run confd is the following:
confd -interval 10 -backend dynamodb -table <YOUR_TABLE> &>>/etc/confd/logs/confd-logs.txt
The version of confd is 0.16.0, which is the latest as far as I can tell since confd isn't updated anymore  :(

@PapoyEdits Thank you very much! :)

@PapoyEdits Thank you very much! :)


Detect RtMidi via pkg-config

https://github.com/yuxshao/ptcollab/blob/7783fcee695793bae12ca93a101dad17aaea818f/src/editor.pro#L8-L10
https://github.com/yuxshao/ptcollab/blob/7783fcee695793bae12ca93a101dad17aaea818f/src/editor.pro#L184-L185
You can use pkg-config (added compile-time dependency) via Qmake to add the include paths, library paths and linker arguments for RtMidi instead. This doesn't rely on a hardcoded path like /usr/include/rtmidi and library name like -lrtmidi.
CONFIG += link_pkgconfig
PKGCONFIG += rtmidi

Ahhh wow I had no idea this existed. Thanks so much! I'll get to adding some time soon(TM).

Hey, sorry for the super late response! I wasn't able to get this to work on windows / mac but hopefully the existing changes make it work in other environments. LMK if anything looks weird. Thanks again.

Better dependency tests were implemented in #11, closing.


Failed to run the Flutter compiler.

Running "flutter packages get" in newproject...      22.7s

[!] Flutter is partially installed; more components are available. (Channel dev, v0.1.6, on Linux, locale en_IN)
[✓] Android toolchain - develop for Android devices is fully installed. (Android SDK 27.0.3)
[✓] Android Studio is fully installed. (version 3.0)
[✓] IntelliJ IDEA Community Edition is fully installed. (version 2017.1)
[!] VS Code is partially installed; more components are available. (version 1.20.1)
[✓] Connected devices is fully installed. (1 available)

Run "flutter doctor" for information about installing additional components.

All done! In order to run your application, type:

  $ cd newproject
  $ flutter run

Your main program file is lib/main.dart in the newproject directory.

After creating the project I had fire this command
flutter run
then the output is
`Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...                                0.6s
Resolving dependencies...                             1.0s
Running 'gradlew assembleDebug'...
/home/serpentcs/Mustafa/Mtfa/Flutter/flutter/bin/cache/artifacts/engine/android-arm-profile/linux-x64/gen_snapshot: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Failed to run the Flutter compiler. Exit code: 127
FAILURE: Build failed with an exception.

Where:
Script '/home/serpentcs/Mustafa/Mtfa/Flutter/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 421

What went wrong:
Execution failed for task ':app:flutterDependenciesDebug'.

Process 'command '/home/serpentcs/Mustafa/Mtfa/Flutter/flutter/bin/flutter'' finished with non-zero exit value 127

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 3s
Gradle build failed: 1
`
What went worng, i can't understand

What distro of Linux are you running? If it is Ubuntu then try apt-get install lib32stdc++6

This looks to be a dupe of #6207. Following @mraleph 's instructions should fix this for you. Please let us know if not!

@cbracken maybe tool could make an actionable suggestions instead of linking to an bug with a lot of comments? should we file a separate issue for that?
I would expect a lot of people running flutter on x64 linuxes without proper 32-bit libraries installed.

Agreed this seems like something easy to check for but keeping up with what the right command/package is on each of the Linux distros might be a pain. Doing Ubuntu (which likely uses the same package names as all the Debian-based distros) and Fedora might be sufficient.

@mraleph I've landed a very quick first pass that adds instructions for the major distros in #15004.
Missed the 'd' in libstdc++ in the commit message, I notice though! :(


Why spray's doesn't work?

Cuz they are not implemeted.

Cuz they are not implemeted.

:/ WTF, it's actually available on inventory changer how they're not implemented.

its in your invent but not actually useable

:/ WTF, it's actually available on inventory changer how they're not implemented.

In changer there is everything, but it doesnt mean everything works either

:/ WTF, it's actually available on inventory changer how they're not implemented.

In changer there is everything, but it doesnt mean everything works either

True, but I saw some Russian inventory changer that has spray changer and sell it for 50 rubles, that's stupid.


BlockChain Network with Coroutines and Channels. MVP config: 3(100) Nodes, 100 Transactions, 0(1) Unhealthy Nodes

20 tests passed, 1 test failed, 1 unlimited processing (all_blocks_verification_are_handled_in_network), 1 ignored


DEVENV: Rebrand vagrant environment to hyperledger

This rebrands the vagrant environment from "obc" to "hyperledger".
We have published the base image as hyperledger/fabric-baseimage.  Note that the docker environment still remains as "openblockchain" for now because we lack access to the dockerhub account that controls this namespace.  Docker will be updated in a future patch once this is resolved.
Passes all unit-tests.  Behave tests all pass except #680.  However, this test has been intermittently failing for some time and not believed to be related to this commit.
Signed-off-by: Gregory Haskins<EMAIL_ADDRESS>

@srderson @binhn FYI
@jyellick #680 still consistently fails for me (with or without this patch).  Let me know if there is some information I can gather for you.

LGTM. Thanks!
As an additional data point, I ran the behave tests with this PR and #680 passed for me, but it sounds as though investigation is needed.


KAFKA-5438: Fix UnsupportedOperationException in writeTxnMarkersRequest

Before this patch, the partitionErrors was an immutable map. As a result if a single producer had a marker for multiple partitions, and if there were multiple response callbacks for a single append, we would get an UnsupportedOperationException in the writeTxnMarker handler.

Yes. The test case I added tried to reproduce the problem, but does not. I left it there because it does give us some additional coverage.

Note I opened https://issues.apache.org/jira/browse/KAFKA-5441 for the group problem. I don't think we need to fix it for this release, but it would probably be good to understand how it can happen so that we can write a better test case.

Thanks for the patch. Merging to trunk and 0.11.0


concat adds an extra character to the string

Expected Output:
phil
khal
philkhal
Generated Output:
phil
khal
philkhal�

Done


use kbld to build images for kpack

Things left to do:

Figure out why ytt is not templating the image values into the final template
How to make the image destinations configurable. Possibly make images.yaml a template that I ytt the destination into?
Once this gets merged in, update pipelines to ensure things continue to get templated in accurately

closing b/c kpack images are now built with...kpack!


More advance algorithm compare one block of image is in another snapshot

Implement an api that provide feature that will ignore a given background color then select rest of the image and compare it with another image to see if it is inside.
Possible detect rotation and scale changes too.

Too much work for this feature


Debug mode for fleet in rancher

Note how to enable debug mode for fleet in rancher in Troubleshotting section added.
ref. https://github.com/rancher/fleet/issues/2345

Associated with v2.9 but concerns instructions that are valid for earlier versions.


Create and test shortest path algorithm

Select an algorithm for shortest path algorithm. Actually writing a test example may be a good way to do this. Could provide insights and the data structure (presumably the adjacency matrix that we discussed) could be used as a boilerplate for later.

changed title since it was moved to iteration 3, so it now reflects what is to be done by the end of this iteration

See algo branch


eosio.wasmsdk error

I am trying to use the following C++ JSON library:
https://github.com/nlohmann/json
Below is the code I am trying to compile with eosio-cpp gda.cpp -o gda.wasm
#include <eosiolib/eosio.hpp>
#include <nlohmann/json.hpp>
#include <string>

using json = nlohmann::json;

class gda : public eosio::contract {
    public:
        explicit gda(action_name self) : contract(self) {}

        // @abi action
        void doit(const std::string action) {
            json j = {
                {"pi", 3.141},
                {"happy", true},
                {"name", "Niels"},
                {"nothing", nullptr},
                {"answer", {
                    {"everything", 42}
                }},
                {"list", {1, 0, 2}},
                {"object", {
                    {"currency", "USD"},
                    {"value", 42.99}
                }}
            };
            std::string d = j.dump();
        }
};

EOSIO_ABI( gda, (doit) )

Below is the output from trying to compile:
/usr/local/eosio.wasmsdk/bin/wasm-ld: error: locale.cpp.o: undefined symbol: strftime_l
/usr/local/eosio.wasmsdk/bin/wasm-ld: error: memory.cpp.o: undefined symbol: __cxa_pure_virtual
/usr/local/eosio.wasmsdk/bin/wasm-ld: error: system_error.cpp.o: undefined symbol: __cxa_pure_virtual

If the j.dump() line is commented out, the contract will compile.
A similar issue has been raised on stackoverflow.
https://stackoverflow.com/questions/52350514/linking-issue-with-eosio-ld

You should probably file this directly on the eosio.cdt repository issues list.

3rd party library might not work in the smart contract if it uses system api.

Please refer to latest eosio.cdt, code and documentation:
https://github.com/EOSIO
https://developers.eos.io/
If problem persists with latest version please raise new issue.


Visit cancellations by staff

We know that prison staff cancel visits, we are unsure how they do this since there is no ability to cancel as staff. One possibility is that they use the 'cancel' link in the copy of the visitors email that they get.
This PR changes the link url that gets generated on the copied visitor view to a new page where the staff can cancel a visit. This cancellation then gets email to the visitor instead of the prison.
The page where the cancellation is rendered is a new show page adapted from the 'updated' template. Ideally we'd use the new show page we've done for the dashboards. We should switch the redirect to the proper show page once we 'launch' the dashboards (as well as adding the ability to cancel from the dashboard show page)

To finish it needs a view of the copy of the visitor email and the temporary show page. The temporary show page could with some minor styling, specially the 'notice' message and the cancellation form.

Once deployed we should backfill cancellation records for old visit cancellations to keep the data consistent.


[Schema Registry] Add getSchemaByVersion

Follows https://github.com/Azure/azure-sdk-for-python/pull/26055
Fixes https://github.com/Azure/azure-sdk-for-js/issues/23122
TODO:

added tests

Looks like you need to add tests.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-schema-registry


[SPARK-36876][SQL][FOLLOWUP] Support Dynamic Partition pruning for HiveTableScanExec

What changes were proposed in this pull request?
remove redundant branches
Why are the changes needed?
clean code
Does this PR introduce any user-facing change?
NO
How was this patch tested?
Exist UT

Can one of the admins verify this patch?

Can you explain why is this redundant in the Pr description?

@whcdjj how about "remove unnecessary matching cases for hive table tests in DynamicPartitionPruningHiveScanSuite" ? plz also update your description in pr.

ok to test

Can you explain why is this redundant in the Pr description?

Remove redundant branches. In this suite, table format is 'hive table', so these branches won't enter.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49686/

jenkins, test this please

Can one of the admins verify this patch?

Test build #145219 has started for PR 34587 at commit 66e2c6f.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49689/

Test build #145219 has finished for PR 34587 at commit 66e2c6f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145219/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49689/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49689/

Test build #145224 has started for PR 34587 at commit b770df4.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49694/

Can one of the admins verify this patch?

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49694/

Test build #145224 has finished for PR 34587 at commit b770df4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49694/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145224/

Merged to master.

@whcdjj It's a little strange we still have FileSourceScanExec in a hive suite, then we can't make sure which code path the suite goes through. Could you investigate more for the failed case, or should we move it to DynamicPartitionPruningDataSourceSuiteBase?

@whcdjj It's a little strange we still have FileSourceScanExec case in a hive suite, then we can't make sure which code path the suite goes through. Could you investigate more for the failed case, or should we move it to DynamicPartitionPruningDataSourceSuiteBase?

ok, i will try it.


Cannot lookup registry-1.docker.io... again

I see that this issue has been filed several times, and is closed as fixed in Parallels 11.1.0. Unfortunately, I recently updated to 11.1.0, and I am still seeing the problem.
Parallels version: 11.1.0 (32202)
docker version: 1.9.1
docker-machine version: 1.5.1
docker-machine-parallels version: 1.1.0
$ docker pull busybox
Using default tag: latest
Pulling repository docker.io/library/busybox
Get https://registry-1.docker.io/v1/repositories/library/busybox/tags/latest: dial tcp: lookup registry-1.docker.io: no such host

I tried the debugging steps mentioned in #11, but dig worked fine in trying to resolve registry-1.docker.io.

Have you tried to reload your VM (docker-machine restart <vm_name>)?

@legal90 Yes, and I've restarted my Mac, to no effect.

@leedm777 - I got around this by adding <IP_ADDRESS> and <IP_ADDRESS> to my network dns settings

@rbenedum Strangely, it keeps undoing it, so I'm constantly having to go back in and edit /etc/resolv.conf.

Hi, I'm a networking developer in parallels, could you please help us to investigate the problem. I've sent an email to you (on yahoo.com mail) with instructions.

Well, now I can't reproduce it. I shall happily continue using docker machine on parallels, and if it happens again, I'll reopen and send the debugging info request.
Thanks!

Hi, I've install driver on Parallel 11 for Mac Pro (V. 11.1.3 (32521)) and docker-machine version 0.6.0, build e27fb87. Same problem, same trick to resolve ...but I can't image why. I try to change DNS servers on WiFi configuration and docker don't fire resolve auth.docker.io. Only when I add to /etc/resolv.conf: nameserver <IP_ADDRESS> docker and docker-compose do work.


init_mem test crashed in 2.8

All tests ran fine in 2.6. After updating to 2.8, I see:
Running test init-mem.t                                             ./runtests.sh: line 66: 32698 Segmentation fault      timeout -s INT -k $TIMEOUT $TIMEOUT "${test_exec[@]}"
Test init-mem.t failed with ret 139
...
Test run complete, kernel: 6.11.8-1-default #1 SMP PREEMPT_DYNAMIC Thu Nov 14 12:54:01 UTC 2024 (099023b)

The same happens with 6.13-rc1.

Ah, so the same issue as in 8100d7b5f862fa514d821e8bd8f99d0de79af571?

Ah, so the same issue as in 8100d7b?

Yes. I will send a PR tomorrow.


Driver Easy Pro Crack Ful

Expected Behavior
Driver Easy Pro Key is an impressive application that you can use to find missing drivers and then download them to your computer. You can view system information focusing on the machine, RAM, processor, motherboard, and operating system. You can also view data about hardware such as video cards, hard drives, networks, and audio cards.
> ✔👍Download Link🔗✅
> ✔👍Download Link🔗✅
Driver Easy Pro Key Features:
You can use this application to find missing drivers and then download them to your computer.
You can view system information focusing on the machine, RAM, processor, motherboard, and operating system.
It is designed to quickly and easily identify unknown device drivers and keep your driver in the latest version.
You can also view data about hardware such as video cards, hard drives, networks, and audio cards.
It has a very user-friendly interface that is very easy to use for every user.
You can view hardware information and use the backup and restore system for drivers.
Current Behavior (optional)
Driver Easy Pro Key is an impressive application that you can use to find missing drivers and then download them to your computer. You can view system information focusing on the machine, RAM, processor, motherboard, and operating system. You can also view data about hardware such as video cards, hard drives, networks, and audio cards.
> ✔👍Download Link🔗✅
> ✔👍Download Link🔗✅
Driver Easy Pro Key Features:
You can use this application to find missing drivers and then download them to your computer.
You can view system information focusing on the machine, RAM, processor, motherboard, and operating system.
It is designed to quickly and easily identify unknown device drivers and keep your driver in the latest version.
You can also view data about hardware such as video cards, hard drives, networks, and audio cards.
It has a very user-friendly interface that is very easy to use for every user.
You can view hardware information and use the backup and restore system for drivers.
Context
Driver Easy Pro Key is an impressive application that you can use to find missing drivers and then download them to your computer. You can view system information focusing on the machine, RAM, processor, motherboard, and operating system. You can also view data about hardware such as video cards, hard drives, networks, and audio cards.
> ✔👍Download Link🔗✅
> ✔👍Download Link🔗✅
Driver Easy Pro Key Features:
You can use this application to find missing drivers and then download them to your computer.
You can view system information focusing on the machine, RAM, processor, motherboard, and operating system.
It is designed to quickly and easily identify unknown device drivers and keep your driver in the latest version.
You can also view data about hardware such as video cards, hard drives, networks, and audio cards.
It has a very user-friendly interface that is very easy to use for every user.


normal does not work

bug should be here
void ANSI::normal()
{
_stream->write("\033[0m", 3);
}
it should be
void ANSI::normal()
{
_stream->write("\033[m", 3);
}
testet with VSCode and teraterm

made a pull request ;-)

Merged

after additional testing (for 0.3.0 version) I found that it should be
_stream->write("\033[0m", 4);
Already patched in the develop branch,
Thanks for pointing to this bug.

hey .. you are write .. works ..
and underline and so on works also with the change from 3 to 4 .. and it is logical because this are 4 signs :-D ..
void ANSI::normal()
{
_stream->write("\033[0m", 4);
}
void ANSI::bold()
{
_stream->write("\033[1m", 4);
}
void ANSI::low()
{
_stream->write("\033[2m", 4);
}
void ANSI::underline()
{
_stream->write("\033[4m", 4);
}
void ANSI::blink()
{
_stream->write("\033[5m", 4);
}
void ANSI::reverse()
{
_stream->write("\033[7m", 4);
}

i updated my fork if you want to try .. :-)

PR is waiting for merge, I need to run some checks.
So expect merge this weekend (0.3.0)

@d0m1n1qu3
Tests done, merged into master, build for 0.3.0 is running.

works like a charm :-)

Good to hear,
Today I uncommented a number of experimental functions including setPrintingMode().

for what is setPrintingMode ?

The original terminals connected to servers could work in 2 modi (i know of). Screen mode which we normally use with all the escape codes. They also have printing mode which allowed the terminal to forward the data from the server to be forwarded to a printer connected to the terminal.
TeraTerm and Putty do support a printer mode.
So this allows your Arduino sketch to communicate to e.g. putty and at some moment the arduino can send data to the printer and thereafter it can go to screen mode again.

uhh thats sounds nice .. thanks for explanation


[Question] Multiple Module

For a multi-module project, is it enough to put the plugin in the app module?

Hi, yes, the plugin needs to be added to the app module and not the root Gradle file. In case you have multiple modules that produce an Android app, you can also add the plugin to more than just one module, they should be able to coexist independently


[9.x] Add assertClientError to TestResponse

I have added support for asserting that a test response has a client side error status code (>= 400, <500). Similar to how assertSuccessful uses the Symfony response class' isSuccessful, this assertion uses isClientError.
This allows for asserting that responses are caused by a client error, not necessarily needing to test which specific status code it has returned.
$response->assertClientError();

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Use a descriptor for PipelineLayout

Adds support for structures inside descriptors.

I think this is ready to review, but I don't think I'll be doing any more work this week so it's not urgent.

Sounds good to me. But don't you need Kangz's approval too?

Yes, but I meant since he is out, do you think it would be ok to land since I made the necessary changes? Or should I just wait (it's not a huge deal to wait)?

Unless you're really backed/blocked on this, let's wait.

Ok, I'll probably do another descriptor patch as a separate PR "on top of" this one so I won't have to deal with merging later.


How to upgrade my meanjs environment to the latest version?

I am not sure which version I am using, may be 0.3.x.
I realized that now meanjs provide a grunt task prod for running the application in production environment, I hope to enjoy this feature rather than just running node server.js.
Actually, my application is not ready for production yet, but test environment. But without this feature, I have to change NODE_ENV to test or production before I execute node server.js to start the application, it's quite inconvenient.
In short, is it safe for upgrading the meanjs environment? And how?

Depends what you call by "safe" :)
A lot has changed in the MEAN.JS structure of files/folders and also how the application is structured itself from 0.3 to 0.4.
There's no 'path of upgrade' if that's what you're looking for.
What I suggest doing is cloning the latest master branch of MEAN.JS and seeing how you can copy&paste old files functionality from your previous MEAN.JS app to the new one you cloned.

Copy&paste would be "safe" to upgrade the meanjs environment , I will try it when 0.4.x is stable, thank you for the advice. I am closing this.
Looking forward to see the better ways to do this in future.


Update svg2png to v1.0.0 and add configuration

The goal of this update is to benefit from the new concurrency parameter. This option let the user restrict the number of phantomjs instances that could run concurrently.
It is a life saving option when converting a lot of images (=> lot of phantomjs instance => "fork bomb") on obsolete computer or poorly sized VMs.

 The new PR is : https://github.com/gavro/gulp-iconify/pull/27

fixes #28


[BUG] Panic during collecting metrics

Describe the bug
https://cloud-native.slack.com/archives/CNVPEL9U3/p1709281294886339
2024-03-01T10:28:17.583228766+01:00 time="2024-03-01T09:28:17Z" level=warning msg="Failed to get engine proxy of pvc-4c4da4f6-6585-4afe-8c2c-23b6624573ed-e-0 for volume pvc-4c4da4f6-6585-4afe-8c2c-23b6624573ed" func="metrics_collector.(*VolumeCollector).Collect" file="volume_collector.go:192" collector=volume error="failed to get binary client for engine pvc-4c4da4f6-6585-4afe-8c2c-23b6624573ed-e-0: cannot get client for engine pvc-4c4da4f6-6585-4afe-8c2c-23b6624573ed-e-0: engine is not running" node=core8
2024-03-01T10:28:17.583267365+01:00 time="2024-03-01T09:28:17Z" level=warning msg="Panic during collecting metrics" func="metrics_collector.(*VolumeCollector).Collect.func1" file="volume_collector.go:164" collector=volume error="runtime error: invalid memory address or nil pointer dereference" node=core8
2024-03-01T10:28:17.590616231+01:00 <IP_ADDRESS> - - [01/Mar/2024:09:28:17 +0000] "GET /metrics HTTP/1.1" 200 33847 "" "Prometheus/2.47.1"

To Reproduce

Expected behavior

Support bundle for troubleshooting
supportbundle_e3a48966-8520-476f-90bc-758701853d85_2024-03-01T09-29-10Z.zip

Environment

Longhorn version:  v1.6.0
Impacted volume (PV):
Installation method (e.g. Rancher Catalog App/Helm/Kubectl):
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version:

Number of control plane nodes in the cluster:
Number of worker nodes in the cluster:

Node config

OS type and version:
Kernel version:
CPU per node:
Memory per node:
Disk type (e.g. SSD/NVMe/HDD):
Network bandwidth between the nodes (Gbps):

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):
Number of Longhorn volumes in the cluster:

Additional context

The issue is not harmful and won't destroy longhorn-manager pod, because the recover mechanism is introduced.


Slack channel of the project

Commenting issues on slack

This is the invitation link of the channel : https://join.slack.com/t/qr-menugroup/shared_invite/zt-1kevrtz06-G0tq0NAmmd03cW9X8oI~GA
(please note that this will inspire soon)

workspace url : https://qr-menugroup.slack.com


Implement the property to change the ramp-above value for electrostatic coloring

Current implementation uses hard-coded value (1.4 angstroms) as the ramp-above value, which should be changeable from the property setting.

ramp_value property was implemented in molsurf and dsurface renderers.


要是wordpress下也有这种主题就好了

For now this theme (NexT) officially only supported under the Hexo engine. There are same old clones under Jekyll or Hugo, but there are not officiall (many features was cutted-out in this clones / new features wasn't added). Under WP and similar engines NexT not planned to adapt for now.
BTW,
NexT is rebased into organization repo.
If you want new feature, fix, or support, create new in NexT v6.x repo (desirable in English).
There is instructions on English or Chinese how to update from v5.1.x to v 6.x
You also may read this for details.


Add AbstractClassAssert#is(Not)Primitive()

Feature summary
The AbstractClassAssert lacks with is(Not)Primitive().
Example
assertThat(int.class).isPrimitive();
assertThat(String.class).isNotPrimitive();

There is already workarounds for the case, I know.
assertThat(c.isPrimitive()).isTrue();

I just found a case regarding the .as(...).
for (Field file : findSomeSpecificFields()) {
    assertThat(field.getType().isPrimitive())
        .as("@NullableBySpecification on primitive field: %s", field)
        .isFalse();
}

which may be more fluent,
for (Field file : findSomeSpecificFields()) {
    assertThat(field.getType())
        .as("%s annotated with @NullableBySpecification, field)
        .isNotPrimitive();
    //  '...Class#field annotated with @NullableBySpecification should not be primitive.
}

Fine by me!

Hi @joel-costigliola
Could I take this one? 😃

Go for it, @ManuelG28!

Oh. I just found myself, again, expecting assertThat(clazz).isPrimitive().
@ManuelG28 Is your PR still working in progress?

Sorry, #2722 slipped under our radar.
I've added it to 3.25.0.

Done


Fix one-off script

The script was failing on prod. After nuking my local node_modules and reinstalling deps, I was able to reproduce it. Guess it has to do with updated commander version in this PR #869.
The other scripts might be broken too, should probably update them before we use any.

Merging and deploying this now, will address any comments later.


Map Art Maker for Java Edition

Hey! Is it at all possible to use this for Java Edition of Minecraft, or is it possible to be edited for Java Edition? Sorry for making a GitHub issue out of this, I didn't see any other forms of contact on the website. Thanks!

Hi !
No problem with opening an issue here! The app currently works only for Bedrock edition. Actually, one of the main reasons that motivated me to publish it was that I didn't find any map art tools for Bedrock, that also worked in a vanilla sort of way without modifying the world dat files etc...
I suppose it's possible to modify it for Java - there'll be 2 major parts that need to be changed - the Colour palette (the table in the webpage, & the RGB values which are currently hardcoded into image processing script), and the addon format (the mcfunction files can stay the same iirc, but the rest of the java datapack structure is different).
Unfortunately, this'll take a bit of effort to do, and I wasn't planning to make any changes soon. I suppose that you could use some of the other map art generator tools available online like MapArtCraft ? (It seems to be quite popular, though I haven't tried it myself since I don't play on Java Edition much).
However, making the colour palette easier to edit is something I want to do when I next get a chance (I'll probably have to do that anyway when 1.19 arrives, since there are new blocks etc & the palette will most likely change). Maybe at some point in the future I'll add a Java edition version of the site !


[WIP] Refactor indexing

Improve the current indexing infrastructure of Daru

Hey could you please pull the latest master and make your changes on top of that?

I like your solution. But are you sure this won't break any other functionality?
Also, we need to make sure that data can be accessed by both index value and element position value. Ranges should be supported too.
If your solution fits into all this AND makes indexing more extensible and less fragile than it is now, do go ahead with the implementation.

Yes, this is more extensible and less fragile than earlier. Look at this:
    def [](*indexes)
      # Get a proper index object
      indexes = @index[*indexes]

      # If one object is asked return it
      if indexes.is_a? Numeric
        return @data[indexes]
      end

      # Form a new Vector using indexes and return it
      Daru::Vector.new(
        indexes.map { |loc| @data[@index[loc]] },
        name: @name, index: indexes.factor_out, dtype: @dtype)
    end

This approach nicely encapsulates the general behavior. Any new index would simply need follow these rules and it's good to go. And this approach does no harm to access element by index value or element position value. The only thing is that now Index holds this responsibility whether user gave index value of element position value.

So the indexes Array stores all indexes which the user wants.
The problem is that when you call #map on the indexes object, it again refers to @index to get the actual location in the data. So say for example indexes contains [0,1,5], you'll be passing that into @index, which would produce a wrong result.

Since I am not sure what you mean, could you please provide an example which you think would produce a wrong result? That would be very helpful.

If I get what you meant then I think you meant that for a vector v = Daru::Vector.new([1, 2, 3, 4, 5], index: [:a, :b, :c, :d, :e]), v[0, 1, 4] would give wrong output. But this is not the case. Here's the output:
[4] pry(main)> v[0, 1, 4]
=>
#<Daru::Vector:22398300 @name = nil @size = 3 >
    nil
  a   1
  b   2
  e   5

The only place where this code falls short of I think is with differentiating whether [0, 1, 4] is position index or key values (and too when 0 is also an index). I think this is not hard to fix once I am clear about the desired functionality.

My bad. I had thought that Daru::Index returns actual element positions with the #[] operator.
Your PR looks good the way it is apart from factor_out. Are you done with this feature?

Most of the work I think is done. Just a couple of things are left now like

give a nice message when index specified is/are invalid. I think broke this functionality while improving [] method.
refactor code for #[]= like [].

You can revamp the whole index infra for [] and []= in this PR itself. Just remember to keep one feature per commit so our working tree remains clean and readable.

[]= falls in place every nicely. You would love this. Earlier it used to be:
[1] pry(main)> v = Daru::Vector.new([1,2,3,4], index: [:a, :b, :c, :d])
=>
#<Daru::Vector:20516460 @name = nil @size = 4 >
    nil
  a   1
  b   2
  c   3
  d   4

[2] pry(main)> v[:a, :b, :c] = 20
=> 20
[3] pry(main)> v
=>
#<Daru::Vector:20516460 @name = nil @size = 4 >
    nil
  a  20
  b   2
  c   3
  d   4

But now it's
[2] pry(main)> v[:a, :b, :c] = 20
=> 20
[3] pry(main)> v
=>
#<Daru::Vector:11722400 @name = nil @size = 4 >
    nil
  a  20
  b  20
  c  20
  d   4

This looks great! Isn't it necessary to change anything in dataframe [] to reflect the changes?
Will merge once you confirm.

I don't think it's necessary to change anything in dataframe but a lot of things can be certainly improved. I am currently understanding how the dataframe works inorder to see how it can improved given the changes in the index. Apart from that there's very little chance that something would go wrong with dataframe as all the tests are passing but I haven't taken a thorough look since I do not yet fully understand how it works.

Alright. I'm merging these changes for now. Send a PR with your improvements when you're ready.


Add lead

No last name on gh profile so I added username to link text so it's not just a bare first name.

+1

+1 and merging


Salt Seed for clients

Based on this from Standard Notes.
(More description to come...)

Closing, will reopen via @orblivion


”Dagâța” is listed in the drop-down menu

Description:
"Dagâța" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Dagâța" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Dagâța, IAȘI".


First PR: Rare Intents

Follow the instructions on our wiki page: Pipeline Starter Project

Resolved with #222


Update widgets.py

.venv\Lib\site-packages\ttkbootstrap\widgets.py", line 856, in _draw_meter
img.resize((self._metersize, self._metersize), Image.CUBIC)
^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'CUBIC'. Did you mean: 'BICUBIC'?

There's already #467, #473, #479, #490 and #491 open to fix this problem.

This can be closed in lieu of #490

The issue was resolved by the merge of #490. Please close this one.

issue still present on running python -m ttkcreator
maybe https://github.com/israel-dryer/ttkbootstrap/pull/490 does not apply to ttkcreator?

The Pypi package has still not been updated. It should work, if you use it from this repo directly.


Res code failed auth

Now uses a response code of 401 for failed auths instead of 500

other than above ...lgtm


Follow-ups from GlobalSign UTF8STRING issues

Goals:

[ ] Make sure that when a warning to GlobalSign is triggered, we see it in the daily report. How to evaluate: Read a daily report and see at least 1 warning logged as part of requests from asheeshdev.sandcats.io. Doable as soon as May 20 evening.

[ ] Make sure the sandstorm code change to switch to UTF8STRING is fully deployed. How to evaluate: Verify that there are 0 warnings (aka "success with errors logged") in a daily report. Doable as soon as May 24 evening.

Other reliability notes:

Sometimes GlobalSign's WSDL is down. Should we do something about that? Retry?

Sometimes (I think) if we fail to get MSSLDomainInfo due to a transient GlobalSign API failure, then we add something invalid to the cache rather than re-fetch MSSLDomainInfo.

Other engineering notes on the incident:

I don't have a machine anywhere that uses the GlobalSign dev API (but also maybe it doesn't have this issue?).

Maybe when we get XML parse errors in our SOAP responses, it's a CloudFlare page. If so, a retry would be OK, probably.

I'll close this issue once the two "Goals" checkboxes are checked.


Map source elements to a specific instance in a target array

Hello,
I'd like to develop the following feature.
A screenshot is worth 1000 words so here it is :) :

The idea is that of being able to map to specific instances in an array. So the idea is that of adding a + sign on each array to add a specific instance over which the mapping can be defined. And a minus to remove it.
Would you be interested in integrating this new feature?
If yes could you provide some guidance concerning how you would implement it? And if you are ok concerning the ui (well, we'd make it a bit better of course :) ).
PS: I know the title is almost the same to issue #1418 ... Indeed it's a kind of superset of that issue (maybe you could rename 1418 to "Map multiple source elements to their K/V instances in a target array"?)

It is similar to what is doing IBM WTX : https://www.youtube.com/watch?v=uVxYPH2gwM4
I vote for it !

+1 This is a nice to have.
I would enhance Mapping Details pane to handle this kind of usecase, instead of showing it in document itself. Internally we can add a transformation to put a value into specific indexed collection item, like putAt().

By the way, please note that we're migrating to React version of UI and Angular version will be removed in 2.0.

If you keep the mapping of items on the panel then it is not very nice to do drag n drop to the item directly on the tree. I would prefer like WTX does

Btw, why react and no more angular?

Also you do have usage of right click to do actions on an item of the tree. Is it a choice to? Do you prefer contextual buttons on a tree?

We don't have any contextual menu or action in order to support assistive technologies and touch devices. In the React version we have a kind of toolbar that is shown on top of the field for mouse users with all the actions that can be performed on the field, which is also available to keyboard users moving through the app using tabs and arrows, and the enter key to focus a field.

Atlasmap moved to React in order to use PatternFly as the UI library.

We should also consider how to handle merging multiple collection, but not only mapping individual collection item. And also nested collection like Company<>/Section<>/Employee<> has to be taken into account.

We should also consider how to handle merging multiple collection, but not only mapping individual collection item. And also nested collection like Company<>/Section<>/Employee<> has to be taken into account.

@igarashitm Could you please expand a bit more the first problem?
We are interesting in also solving the problem of nested collections but for us it's less important than having this feature first. Would it be possible to tackle this problem in a second moment?

@riccardo-forina in this case we could use that contextual menu to add + and -, right?

@riccardo-forina in this case we could use that contextual menu to add + and -, right?

I guess so, although I'm inclined to think that this kind of transformation needs to be specified in the mapping details as a second step as @igarashitm was suggesting.

@vratojr for example
Company1:/Employee<>/id + Company2:/Employee<>/id <-> Report:/ParticipantIdList<>
I think both direction have to be supported when we tackle this collection enhancement.

Frankly I can't imagine a representation using the mapping details pane that would be clear and provide flexibility. Could you please share any drawing?

@igarashitm I see, thanks. What about tackling with nested arrays in a second moment?

If we can make sure the 1st step won't prevent further step, that would be OK. The drawing - user interface design is the biggest part for this and I don't have a good idea ATM. It would require a separate UI component for sure, maybe drilling down from somewhere and open up a "Collection Mapping" pane that is a special version of Mapping Details, or like that.

And of course it shouldn't break currently supported usecase in any step.

Ok, concerning the UI we have two problems to solve:

We have to display that there's a mapping between elements and the array itself. (and viceversa)
We have to display the detail of the mapping between the elements and the elements in each item of the array. (and viceversa)

Let's start with the easy situation:
We have input property P and an output Array A.
We want to map P to the property C of the first and second elements of A
We want to map P to the property D of the third element of A
For the first point the display will be the same as actual situation:

This works also for the reverse case and array to array mapping.
Second point:
We could add a transformation: "Map to specific item" and ask as input the index of the item to map to. This would also let us to concatenate specific transformations for each object:

This, would potentially also work when mapping an array to a property by using the transformation "Map from specific item" and also with array to array when mixing both.
When using nested arrays, the point 1 is still valid. For the point 2 we should enrich the ui since there is ambiguity:
Let's say that A's elements are objects containing arrays with properties C and D.
A<>/B<>/{C,D} (I hope the notation is coherent with yours :) )
The user could want to map the value of P to:

property C of the nth element of B of  mth element of A or
property C of all elements of B of the mth element of A or
property C of nth element of B of the mth element of A

In that case this could be solved by adding a "Parent collection field" in the mapping and by adding subsequents transformations like:

So here's the first proposition over which we can start to discuss. To me it seems pretty compact and reuses a lot of components that you've already created.

@igarashitm and @riccardo-forina, friendly ping :)

Hey, sorry for the lack of communication, we were at the end of the sprint and had to focus on what was planned. Now we are in code freeze and this should give us the chance to look at this.

Took longer to get out from busy sprint - not yet sure if I understood correctly,  from the screenshots, you want to add "map to item" transformation in a regular transformation chain? doesn't it mix up with other transformations that applies to whole collection? I was thinking to isolate it to "Collection Mapping" that is an advanced version of "Mapping Details" dedicated to collection mapping.
This "how to let user edit mapping multiplicity" has been a biggest headache for me, and nested collection killed me 100 times...

It mixes, yes, but only to the current mapping.
I mean, it won't be possible to define a generic mapping:
P->A<>
An then overwrite it with a more specific one:
P->A<1>
But I was thinking that it could be reasonable to say:"if you decide to specify a mapping to a given collection element, then you have to do it for each each other element". That is, if you map to element 1 then you have also to specify the mapping to the other elments, otherwise the elements will be left empty. Anyway I think that this kind of mapping will be mainly used to map an object to an array and so the set of properties to map will be countable.

I mean, with that reason I don't like to have "Map to item" as one of transformation dropdown item.

So what about adding a button "Collection Mapping" that open this Collection Mapping in which you can define the mappings in the way I showed above?
In this way you can define global mappins from the Mapping Details and specific ones from the Collection Mapping.

Yes that sounds better. With that direction "Map to item" no longer have to be in dropdown menu, it can focus on collection item with its index in that specialized collection mapping pane.

Seconded

What about the implementation? We group all the actions from the collection
pane in a separate list?
Il mar 16 giu 2020, 19:38 Riccardo Forina<EMAIL_ADDRESS>ha
scritto:

Seconded
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/atlasmap/atlasmap/issues/2007#issuecomment-644909059,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKOGBDVC5DPCPZTATEEJK3RW6UYLANCNFSM4MZWQ5FA
.

After thinking a bit more, I think it's more clear like this:

In which we use two sub panes. The content of the first is the same as what we have now. In the second we also add the two mapping actions.
Like it?

I like it. Only one concern is that the vertical space is relatively expensive on modern wide display. Another option is to add some button in between "Mapping Details" and "X" button. I guess from this point PatternFly guildeline sometimes restricts what we can do.

I see your point.
If we try to add some button to the header like you are suggesting, I think it cannot be textual since that component will become too much cluttered up.
On the other side, we could think about adding just a action icon, like:

But I think that we should still find some place where to put the information that we are defining the default or element mapping. So it will be a kind of header somewhere and I think it will be very similar (maybe we'll spare some pixels) to the solution I've already proposed using the navs. Do you have any idea on the subject?
On the other side, instead of using horizontal navs, we could use a vertical one and put it on the side but I'm not very fond of it...
But, if we want to gain some pixel, we can look elsewhere ;) For example. Currently we have a lot of space that's reserved for the conditional mapping expression. We could change this if we move the f(x) in the upper toolbar and activate the expression field only on click:
off:

on:

The entire application would profit from this small change.

I think it's worth exploring.  We'd need to indicate to the user somehow on that icon if there's an expression in place if it's hidden.  If this approach was followed it'd be better probably if when expanded it floated above the content like a panel rather than make the UI shift downwards when expanded.  Kind of like the popover perhaps.  That being said, the control itself has it's own typeahead/suggestion elements and I'd be concerned this would further complicate the usability of this field.
Follow on question, @pleacu or @riccardo-forina the conditional mapping expression field has to do with the currently selected mapping, right?  Do you recall the reason why it's in an area outside of the mapping details screen?

the conditional mapping expression field has to do with the currently selected mapping, right? Do you recall the reason why it's in an area outside of the mapping details screen?

I can answer for this one, Mapping Details pane is a vertical space and we thought it's horizontally too short to write down a expression. We imagined spreadsheet math formula when we added Conditional Mapping (expression).

Semantically it makes sense in the details pane tho. The horizontal space limit can be overcome by making the textarea autoexpand in its height as needed (up to a limit). A bit like how Excel handles this.
About D&D, we talked during the last UX sync meeting and we felt that since the input method is already the keyboard, using drag & drop doesn't feel like the first input choice from a user perspective and so it's maybe not that important to support.
I think it makes a lot of sense to at least try moving it in the details pane and see how it feels.

Not a bad idea focusing on keyboard experience - I would even disable d&d for expression if we move it to the right side.
To expanding text field, if it's in Mapping Details pane, it should expand to left, going over targets and even sources I guess to get more horizontal space. It could be a full screen expression editor.

To expanding text field, if it's in Mapping Details pane, it should expand to left, going over targets and even sources I guess to get more horizontal space. It could be a full screen expression editor.

Kind of along these lines perhaps?  I wonder how wide they let that detail pane expand.

The drawer is fixed to 500px I believe, or fullscreen on small screens.

What about moving this discussion to a separate issue/pr so here we can focus on collection mapping? :)

So, assuming that we are going to spare some vertical space, do we agree on the solution with tabs that I propose previously? Or the one with the action or other? ;)

Maybe go with tab at this point and re-evaluate the look&feel as a part of wider discussion for "Variation of Mapping Details pane"?

Ok, concerning implementation. When we send the actions to the backend, we wrap then into a separate array
collectionAction
for the given field?
For example,
actions: [],
collectionActions: [],
docId: "input_nested"
fieldType: "STRING"
index: 0
jsonType: "io.atlasmap.json.v2.JsonField"
name: "name"
path: "/A<>/B<>/name"
userCreated: false

so that we can first apply the 'global' actions and then overwrite them with the collection action?
Or do you prefer to add a flag to the Action object?
BTW: In the PR that I opened I have already implemented a stub of behavior for the backend. Could you check it and tell me if I'm on the good path?

what about if we have multiple element mapping for the same field?
Say: when I map to element 0 do this, element 1 do another ect.
I cannot just modify the path. On top of this I have to trace all the other actions that should be applied to the give mapping (append, ect) so I need a list of actions.

Isn't it just 2 mappings?
/foo -> /A[0]
/bar -> /A[1]

I thought about letting the user do this:
/foo -> A[0]
/foo -> A[1] and Prepend the string "$"

Then that prepend action could be applied to the 2nd mapping in "Collection Mapping" pane just like you do for non collection I guess?

Yes but imagine:
/foo -> A[0]
/foo -> A[1] and Prepend the string "$"
/foo -> A[2] and do something else

:)
btw if you have a slack that we can use to communicate maybe it could go faster :)

BTW/FYI, we also have a gitter channel https://gitter.im/atlasmap/community for temporary discussion

Addressed by #2171


Moderation Feature: Enable Role to View All Channels

Title says it all. This might be a bit of a niche case but the idea is for servers with large numbers of private channels to be able to quickly designate a role or user (e.g. moderators of officers) with the permissions to view all private channels.
My thought is this would basically loop through the list of channels and give the user or role the permissions to view and send messages in all of them. There could potentially be parameters to specify how much access to give them.
Something like:
!viewall <role/user>
Thoughts? Is there already a good way or a better way to do this?

as  said in #386 this  feature is planned to be  covered by my moderation 2.0 ideas with custom commands


Compiling error

Hi,
There is an error message popping up when trying to compile it on a Kali 2019.4
Steps followed:

apt install gradle

git clone https://github.com/TypeError/Bookmarks.git

./gradlew fatJar

Error:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

gradle wrapper

Error:
FAILURE: Build failed with an exception.

* Where:
Build file '/home/hunter/Bookmarks/build.gradle' line: 2

* What went wrong:
A problem occurred evaluating root project 'bookmarks'.
> Failed to apply plugin [id 'kotlin']
   > Current version of Gradle Gradle 4.4.1 is not compatible with Kotlin plugin. Please use Gradle Gradle 4.9 or newer or previous version of Kotlin plugin.

Resource: https://stackoverflow.com/questions/29805622/could-not-find-or-load-main-class-org-gradle-wrapper-gradlewrappermain
Down to the bottom, I am not a gradle expert but it seems some things are messed around, so, instead of trying to resurrect a dead man here, could you have a releases section for this too where the jar file can be get as standalone jar file.?
Thanks!
Here,

Thanks for letting me know @Hax0rG1rl!
I added the gradle wrapper to the repo and updated the installation steps. :)
I have a couple things to work on this weekend and then I will upload the regular release jar files.

@Hax0rG1rl You can now find the stand-alone JAR in releases, thanks!  😄

Thank you!


Block rewriting error when there are no explicit break

Found while messing with "shadow mission impossible"
import cps

type
  Cont* = ref object of RootObj
    fn*: proc(c: Cont): Cont {.nimcall.}

proc trampoline(c: Cont) =
  var c = c
  while c != nil and c.fn != nil:
    c = c.fn(c)

proc noop*(c: Cont): Cont {.cpsMagic.} = c

template doAssert(b: bool, msg: string) =
  if not b:
    raise newException(AssertionDefect, msg)

var r = 0
proc b() {.cps: Cont.} =
  inc r
  block:
    noop()
    echo "in block"
    inc r
  inc r
  echo "out block"

trampoline b()
doAssert r == 3, "expected 3, got: " & $r

Output:
=== .cps. on b(original)  === temp.nim(19, 0)
 19  proc b() =
 20    inc r, 1
 21    block:
 22      noop()
 23      echo ["in block"]
 24      inc r, 1
 25    inc r, 1
 26    echo ["out block"]
 27
storing type env_385876243
next type env_385876522
=== .cps. on b(transform) === temp.nim(19, 0)
 19
 20  type
 21    env_385876243 = ref object of Cont
 22
 23  proc blockBreak_385876482(continuation: Cont): Cont {.cpsLift.}
 24  proc afterCall_385876492(continuation: Cont): Cont {.cpsLift.}
 25  proc blockBreak_385876482(continuation: Cont): Cont {.cpsLift.} =
 26    ## saften at 21 of temp.nim
 27    inc r, 1
 28    echo "out block"
 29
 30  proc afterCall_385876492(continuation: Cont): Cont {.cpsLift.} =
 31    ## saften at 848 of cps.nim
 32    echo "in block"
 33    inc r, 1
 34
 35  proc b(continuation: Cont): Cont {.cpsCall.} =
 36    ## saften at 19 of temp.nim
 37    ## saften at 20 of temp.nim
 38    inc r, 1
 39    block:
 40      ## saften at 22 of temp.nim
 41      ## re-use the local continuation by setting the fn
 42      continuation.fn = afterCall_385876492
 43      return noop(continuation)
 44    ## add tail call for block-break proc
 45    ## verbatim tail call
 46    ## new tail call: blockBreak_385876482
 47    ## re-use the local continuation by setting the fn
 48    continuation.fn = blockBreak_385876482
 49    return continuation
 50    ## new tail call: blockBreak_385876482
 51    ## re-use the local continuation by setting the fn
 52    continuation.fn = blockBreak_385876482
 53    return continuation
 54
 55  proc b(): Cont =
 56    result = env_385876243(fn: b)
 57
Hint:  [Link]
Hint: 53164 lines; 1.007s; 76.262MiB peakmem; Debug build; proj: temp; out: temp [SuccessX]
Hint: temp  [Exec]
in block
temp.nim(16) temp
Error: unhandled exception: expected 3, got: 2 [AssertionDefect]

Similar bug for if statement:
var r = 0
proc b() {.cps: Cont.} =
  if true:
    noop()
    inc r
  inc r

trampoline b()
check r == 2, "expected 2, got: " & $r

The issue in here is that saften expects control flow continuation to happen after the scoped block:
https://github.com/disruptek/cps/blob/0ba9b8bbfa024464caba663399f55897966bea3a/cps.nim#L579-L597
The idea doesn't hold when splitting is performed.

We have similar behavior in several places and the "solution" we use thus far -- staggered inclusion in the stack -- is a hack that seems unlikely to weather extension.
We should probably just enumerate the different modes and add proper support into Scope.
But we should talk about whether we even want saften to work this way at all; it's vestigial at this point.  I think it might make more sense (read: easier to test and debug) to process the input in passes instead of mixing these stages all at once.
However, it's not obvious: if we switch to stages, we may be moving a lot of the complexity into the type construction.  Maybe those artifacts are simply accumulated across passes, I dunno.


Implement alternate management

Players need a way to be assigned as alternates (see https://github.com/krystjan/heltour/issues/21).
Alternates need to be automatically sorted into buckets for different boards (see https://github.com/krystjan/heltour/issues/25), and ordered based on their registration/last round played dates.
Captains/mods need a way to see what alternates are available (see https://github.com/krystjan/heltour/issues/12, https://github.com/krystjan/heltour/issues/17, https://github.com/krystjan/heltour/issues/33).
Players/alternates need a way to be flagged as unresponsive (see https://github.com/krystjan/heltour/issues/30).
Alternates need a way to be assigned to a team/board/round (see https://github.com/krystjan/heltour/issues/23).
Pairings need to automatically update based on assigned alternates.

Alternate management is pretty much done. Yay!


Deprecation - Just curious if this will be updated.

[Deprecation] Using unescaped '#' characters in a data URI body is deprecated and will be removed in M71, around December 2018. Please use '%23' instead. See https://www.chromestatus.com/features/5656049583390720 for more details.
nova-froala-field:1
Thanks for making this, it's really amazing and I love it and use it every day.

Thanks for the feedback. I'm glad you're enjoying it.
Could you please clarify where you have found unescaped '#' character?

Hey I saw it on Chrome Dev Tools. It says it as a warning when you look at console on any create blade

Also it shows the line where the character is. I just couldn’t find it but check chrome dev tools when the editor is on the page.

Haven't see any warnings in Chrome Console on the page with editor.


fix-filter-options

fixing #203 by testing array for strings and only converting non-strings

Oh and a changelog entry 😄


[Bug fix]: API form success flash message randomly showing in admin UI & creating an API resource from admin results in broken page

[Bug fix]: API form success flash message randomly showing in admin UI & creating an API resource from admin results in broken page
Addresses: https://github.com/restarone/violet_rails/issues/949 and https://github.com/restarone/violet_rails/issues/1043
Demo for creating an API resource from admin results in broken page
https://user-images.githubusercontent.com/25191509/187018834-7f2ca39f-2020-4755-b0c5-74aebb856380.mp4
Demo for API form success flash message randomly showing in admin UI
https://user-images.githubusercontent.com/25191509/187018864-32ed9a84-fa01-4040-b8b7-9bbc954771d9.mp4

Acceptance criteria 📋

General regression pass: API Actions ⌛
General regression pass: Create API resource ⌛
Bug fix:  https://github.com/restarone/violet_rails/issues/949  ⌛
Bug fix: https://github.com/restarone/violet_rails/issues/1043 ⌛

@alis-khadka Here are the findings:
1. If there is no redirect API action, there is no feedback/redirect at all from the Admin.
This should not be the case, there should be a default redirect to the API Namespace / show page (after the user has created an API resource from the admin)
https://user-images.githubusercontent.com/35935196/187092981-3b96cbbf-3442-47f7-8212-047d65e0f3a6.mov

⚠ temporary deployment to staging underway