How about light+ theme?

I like the light+ theme of VSCode, will you have a plan to generate it for vim?
thx

@alexya
I just finished rewriting the main theme so that it's customizable at build time.
This should allow for these type of adjustments.
That said, it's on the roadmap.


try/catch/finally crashes clang

Building this file
#import <Foundation/Foundation.h>

int main()
{
	@try {

	} @catch (NSException* e) {

	} @finally {

	};
	return 0;
}

with 09/12 toolchain
clang-cl -I C:\GNUstep\x64\Debug\include -fobjc-runtime="gnustep-2.0" -Xclang -fexceptions -Xclang -fobjc-exceptions -fblocks -DGNUSTEP -DGNUSTEP_WITH_DLL -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -D_NATIVE_OBJC_EXCEPTIONS -DGSWARN -DGSDIAGNOSE /MDd /c test.m

clang crashes with
Stack dump:
0.      Program arguments: "C:\\Program Files\\LLVM\\bin\\clang-cl.exe" -I C:\\GNUstep\\x64\\Debug\\include -fobjc-runtime=gnustep-2.0 -Xclang -fexceptions -Xclang -fobjc-exceptions -fblocks -DGNUSTEP -DGNUSTEP_WITH_DLL -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -D_NATIVE_OBJC_EXCEPTIONS -DGSWARN -DGSDIAGNOSE /MDd /c test.m
1.      <eof> parser at end of file
2.      test.m:3:5: LLVM IR generation of declaration 'main'
3.      test.m:3:5: Generating code for declaration 'main'
 #0 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x20c6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x20c52c9
 #1 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x20c4f8b C:\Program Files\LLVM\bin\clang-cl.exe 0x1f4c679
 #2 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x1f540d7 C:\Program Files\LLVM\bin\clang-cl.exe 0x1dc0cbf
 #3 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x1db9fd1 C:\Program Files\LLVM\bin\clang-cl.exe 0x1dbdd6b
 #4 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x1dc46ca C:\Program Files\LLVM\bin\clang-cl.exe 0x3e18c3f
 #5 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x3e16909 C:\Program Files\LLVM\bin\clang-cl.exe 0x2fa80f9
 #6 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x238a9c2 C:\Program Files\LLVM\bin\clang-cl.exe 0x23521bd
 #7 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x23f8c26 C:\Program Files\LLVM\bin\clang-cl.exe 0x75c3
 #8 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x47ff C:\Program Files\LLVM\bin\clang-cl.exe 0x22658c6
 #9 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x1b3d39f C:\Program Files\LLVM\bin\clang-cl.exe 0x22655b7
#10 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x21a9462 C:\Program Files\LLVM\bin\clang-cl.exe 0x21a9a09
#11 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x218bf26 C:\Program Files\LLVM\bin\clang-cl.exe 0x411d
#12 0x00007ff7d11e6f9a C:\Program Files\LLVM\bin\clang-cl.exe 0x3e367b8 (C:\Program Files\LLVM\bin\clang-cl.exe+0x20c6f9a)
#13 0x00007ff7d11e6f9a
#14 0x00007ff7d11e6f9a (C:\Program Files\LLVM\bin\clang-cl.exe+0x20c6f9a)
0x00007FF7D11E6F9A (0x00000270E6A49808 0x00000270E6C8E001 0x0000E037002A1F10 0x00000270E6A497E0)
0x00007FF7D11E52C9 (0x00000270E0AAEE50 0x00007FF7D291006D 0x000000C8F0B89BD0 0x000000C8F0B89BE0)
0x00007FF7D11E4F8B (0x0000000000000000 0x00007FF7D291D499 0x00000270E6A4BD68 0x00007FF7D062E1A0)
0x00007FF7D106C679 (0x0000000000000001 0x000000000000002B 0x00000270E6C732F0 0x0000E037002A1930)
0x00007FF7D10740D7 (0x0000000000000001 0x0000000000000000 0x000000C8F0B8A250 0x000000C8F0B8A1C0)
0x00007FF7D0EE0CBF (0x0000000000000000 0xFFFFFFFFFFFFFFFF 0x0000000000000000 0xFFFFFFFFFFFFFFFF)
0x00007FF7D0ED9FD1 (0x0000000000000003 0x00000270E23C7F30 0x00000270E6C736F0 0x00007FF7D2168455)
0x00007FF7D0EDDD6B (0x000000C8F0B8BCB8 0x0000000000000003 0x0000000000000000 0x00000270E0A84F20)
0x00007FF7D0EE46CA (0x00000270E23C7F40 0x000000C8F0B8D2A0 0x00000270E23CBE90 0x00007FF7D20CD082)
0x00007FF7D2F38C3F (0x00000270E23C7F30 0x0000000000000000 0x00000270E23C82D0 0x0000000000000000)
0x00007FF7D2F36909 (0x000000C8F0B8D3C8 0x000000C8F0B8D3B8 0x000000C8F0B8D3B8 0x00007FF7D147031A)
0x00007FF7D20C80F9 (0x0000000000000000 0x0000E037002A48A0 0x2D646E756F72522D 0x3163632D70697274)
0x00007FF7D14AA9C2 (0x00000000000000E8 0x00000270E0A883D0 0x0000000000000001 0x00000270E0A75D40)
0x00007FF7D14721BD (0x0000000000000000 0x0000000000000000 0x000000C8F0B8DDE8 0x00000270E0A00000)
0x00007FF7D1518C26 (0x000000C8F0B8D7C0 0x000000C8F0B8D658 0x000000C8F0B8D5A8 0x0000000000000000)
0x00007FF7CF1275C3 (0x0000000000000006 0x000000000000003F 0x000000C8F0005080 0x000000C837001126)
0x00007FF7CF1247FF (0x00007FF7D0C5D640 0x0000000000000000 0x00000270E0A74EA0 0x000000C8F0B8DF88)
0x00007FF7D13858C6 (0x00000270E0A74EA0 0x000000C8F0B8DF70 0x000000C8F0B8DF88 0x00007FF7D0C5D04B)
0x00007FF7D0C5D39F (0x000000C8F0B8DFD8 0x00000270E0A836E0 0x00000270E0A836E0 0x00007FF7D0C4278C)
0x00007FF7D13855B7 (0x0000000000000000 0x0000001000000000 0x0000000000000000 0x0000000000000060)
0x00007FF7D12C9462 (0x00000270E0A71970 0x00000270E0A71910 0x00000270E0A353E0 0x0000000000000026)
0x00007FF7D12C9A09 (0x0000000000000050 0x00007FFB33BC39CE 0x0000000000000000 0x0000000000000000)
0x00007FF7D12ABF26 (0x0000000000000051 0x0000027000000000 0x0000E04874267BC3 0x00000000000000BC)
0x00007FF7CF12411D (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
0x00007FF7D2F567B8 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
0x00007FFB33CD7034 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
0x00007FFB35CC2651 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
clang-cl: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 13.0.0
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin

Thanks for the report. Is this with Clang 13.0.0 installed from the LLVM website?
@davidchisnall could you take a look at this?

I installed via chocolatey.
C:\DEV>clang --version
clang version 13.0.0
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin

OK, these are the files generated by clang crash.zip

I am not actively using GNUstep or anything Objective-C related, and have almost no time to work on it at the moment. If there is a reduced test case, then I can take a look when I next have some spare time, but please try to provide something that doesn't include megabytes of headers.

@levinli303 can you try building this without GNUstep, maybe something like this:
clang-cl -fobjc-runtime="gnustep-2.0" -Xclang -fexceptions -Xclang -fobjc-exceptions /MDd /c test.m
You might have to replace "NSException" with "id" in the code.

ok I removed import of Foundation and used id in place of NSException* crash.zip

Minimal test case:
$ cat crash.m
int main()
{
        @try {
        } @catch (id e) {
        } @finally { };
}
$ clang -cc1 -triple x86_64-pc-windows-msvc -emit-obj -fobjc-runtime=gnustep-2.0 -fobjc-exceptions  -x objective-c crash.m

It looks as if this is a bug in the Windows EH code for Objective-C with all runtimes.  Clang is trying to pop something off the EH stack and expecting a catch but getting a cleanup.  It crashes in the same place with any -fobjc-runtime= flag (e.g. macosx).  Please can you file a clang bug for this?  It's not in code that I'm familiar with and so I'm unlikely to have enough time to work on it this year but someone else might (especially with the reduced test case).

thanks I will file a bug to llvm.

So I think this only happens when @finally is present, we just ran into this as well. @try/@catch without @finally works fine for us.
@levinli303 would be great if you could share the link to the LLVM bug here once you have filed it.

@triplef you are right. if there is no @finally, clang does not crash.
the filed bug is here: https://bugs.llvm.org/show_bug.cgi?id=52557

Thanks! Could you maybe clarify in the bug that this specifically happens with @finally, and maybe add/reference this info from David (I don’t seem to have permissions to even add comments):

It looks as if this is a bug in the Windows EH code for Objective-C with all runtimes. Clang is trying to pop something off the EH stack and expecting a catch but getting a cleanup. It crashes in the same place with any -fobjc-runtime= flag (e.g. macosx).

@davidchisnall is there a way to bring this to the attention of anyone who might be familiar with the relevant code?

@triplef  I think LLVM is migrating the bug system from bugzilla to GitHub so I can't edit either. let's wait until the migration finishes. (Nov. 29 as it suggests.)

I remembered this comment from last year that I think is talking about the same issue:

I think the funclets for cleanups are incorrect in the SEH codegen (Windows only).

@DHowett-MSFT any chance you could take a look at this? https://bugs.llvm.org/show_bug.cgi?id=52557

Interesting. This reminds me of LLVM-44483 "[Windows] evaluating a variable from an outer scope in a @finally inside a block causes an internal compiler error" as well. There's significant issues in @finally generation on Windows.
Unfortunately, I haven't had my compiler engineering hat on for a while now and can only invest at the "hobby" level ☹

FYI, the issue has been transferred to GitHub  https://github.com/llvm/llvm-project/issues/51899

@DHowett if you could take a look even at the "hobby" level that would certainly be appreciated! 🙏
(Another user ran into this issue with an existing large code base that is re-throwing exceptions from @finally, for which there’s no straight-forward workaround for this issue.)


General Readability edits

Deliver a personalized, rich, connected experience that's inspired through your brand. - not sure what this means?
Also, think about adding the architectural pillars to help you dive deeper into the scenario. - what scenario is being talked about here?
Data management and analytics are aligned to...  -should this be DMAS is aligned to..?
Understand and prioritize your LOBs needs'.  - what is LOB here? Acronym used without precedent.
Data, applications, and services all have their own gravitational pull. But data is the heaviest here, and so it has the most gravitational pull. Unlike Newton's apple, data doesn't have a physical mass to draw in surrounding objects. Instead, latency and throughput act as accelerators to the analytics process.  - could we review this analogy? Find it a little distracting.
"..To activate your data strategy to overcome your challenges by iteratively building a scalable and agile modern data platform.." - not sure what this means?
The other major driver for data governance is data protection.  - no first driver is discussed before this. If data quality if that driver, it is not clear from the write-up
Data privacy, and the growing number of data breaches, have made data protection a top priority in the boardroom. change 'have' to 'has'. Also suggest rewriting as 'Data privacy, along with the growing...'

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

ID: 33a4c609-db68-7d7d-0229-fec630de559d
Version Independent ID: 29423660-00f2-b43b-c205-a0a57d9d3098
Content: What is data governance? - Cloud Adoption Framework
Content Source: docs/scenarios/data-management/overview-data-governance.md
Service: cloud-adoption-framework
Sub-service: scenario
GitHub Login: @mboswell
Microsoft Alias: mboswell

#label:"data management and analytics"
#assign @simonlid
Another one to tackle on the first pages.

The following users don't have valid GitHub IDs, or are not collaborators on this repo: kle on the first p

#assign @simonlid

@rathulya @mboswell  It looks like this issues was reported on an in-progress collaboration branch. If this was not addressed prior to publication of that branch, can you open a new issue from the published doc?


Updating README to improve install instructions

What he ^ said

Has anyone got this extension working? I've followed two different instructions posted on here but no luck. :S

I'm pretty sure I've had it working, what troubles have you run into?

I'm getting all of the following being evaluated as undefined --
blackberry.io.filetransfer
blackberry.io.fileTransfer
webworks.io.filetransfer
webworks.io.fileTransfer
Even though I have the extension deployed to the WebWorks ext folder as indicated. And the   feature added to the config.xml file of the app.
Please let me know if I'm missing a step.
Thanks,
-----Original Message-----
From: Jeffrey Heifetz<EMAIL_ADDRESS>Sent: January-12-12 4:33 PM
To: Mukul Seth
Subject: Re: [WebWorks-Community-APIs] Updating README to improve install instructions (#33)
I'm pretty sure I've had it working, what troubles have you run into?

Reply to this email directly or view it on GitHub:
https://github.com/blackberry/WebWorks-Community-APIs/pull/33#issuecomment-3470959

In my testing I was able to get the namespace loaded without any issues at all. When you build with "-s" did you see that the extension was loaded into the src folder?

Nope. Not seeing webworks.io.fileTransfer in the src directory.
I'm using WW SDK 2.2 - I don't know if that should matter.
-----Original Message-----
From: Jeffrey Heifetz<EMAIL_ADDRESS>Sent: January-13-12 1:32 PM
To: Mukul Seth
Subject: Re: [WebWorks-Community-APIs] Updating README to improve install instructions (#33)
In my testing I was able to get the namespace loaded without any issues at all. When you build with "-s" did you see that the extension was loaded into the src folder?

Reply to this email directly or view it on GitHub:
https://github.com/blackberry/WebWorks-Community-APIs/pull/33#issuecomment-3484068

Then that means that the feature ID in your config.xml does not match the
one in your library.xml. Make sure that the library.xml is in the root of
your ext folder (ie ext/webworks.io.filetransfer/library.xml) and that the
feature id matches exactly the one in your config.xml

Yep.. validated everything is in place. Tried renaming everything to webworks.io.filetranfer for consistency as well.Finally, I tried including the webworks.io folder (as well as the com, and org folder which are in the dependencies) with its contents into the app root directory prior to building the package. Doing this did copy all the files into the correct location  (verified by looking at the generate src folder) but still can't access that namespace.
-----Original Message-----
From: Jeffrey Heifetz<EMAIL_ADDRESS>Sent: January-13-12 1:48 PM
To: Mukul Seth
Subject: Re: [WebWorks-Community-APIs] Updating README to improve install instructions (#33)
Then that means that the feature ID in your config.xml does not match the one in your library.xml. Make sure that the library.xml is in the root of your ext folder (ie ext/webworks.io.filetransfer/library.xml) and that the feature id matches exactly the one in your config.xml

This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Reply to this email directly or view it on GitHub:
https://github.com/blackberry/WebWorks-Community-APIs/pull/33#issuecomment-3484281


Improved css loader support

genericized config for all CSS loaders, so that making them work in both development and production can be done in a single file, while still allowing for differences such as CSS file extraction in production
explicit support for both lang="scss" (unindented syntax) and lang="sass" (indented syntax), a la https://github.com/hedefalk/atom-vue/issues/5
support for both lang="stylus" and lang="styl"
all syntaxes have been manually tested in both development and production, so that installing the necessary loader is all that's necessary to get them working

Awesome! Thanks a lot :)


[PT-BR] Translation of some playground example files

Translated files:

~Infer From Usage Changes.ts~
~Flattened Error Reporting.ts~
Nullish Coalescing.ts

@khaosdoctor, @alvarocamillont, @danilofuchs e @orta

lgtm


Periodic Syncing of NPL iptables Rules

Fixes https://github.com/antrea-io/antrea/issues/2210
Periodically verify that all required NodePortLocal iptables rules are present in the Node.
Changes made to npl_controller.go where a go routine was added to periodically call the SyncRules() function from port_table.go .
Signed off by : Naman Agarwal<EMAIL_ADDRESS>

Thank You @antoninbas for your review. I have made the changes that you recommended. I am still working on improving the integration test.

Add an integration test. It adds some NPL iptables rules, and delete the
rules and check if the rules are recovered automatcally.

/test-conformance
/test-e2e
/test-networkpolicy

/test-integration

Codecov Report

Merging #3461 (a5da6fd) into main (15de4cf) will decrease coverage by 25.84%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #3461       +/-   ##
===========================================
- Coverage   60.95%   35.11%   -25.85%
===========================================
  Files         266      113      -153
  Lines       26508    15248    -11260
===========================================
- Hits        16159     5354    -10805
- Misses       8597     9378      +781
+ Partials     1752      516     -1236

Flag
Coverage Δ

integration-tests
35.11% <ø> (?)

kind-e2e-tests
?

unit-tests
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/agent/nodeportlocal/k8s/npl_controller.go

pkg/agent/nodeportlocal/npl_agent_init.go

pkg/agent/nodeportlocal/portcache/port_table.go

pkg/agent/nodeportlocal/rules/iptable_rule.go

pkg/agent/nodeportlocal/rules/rules.go

pkg/agent/util/iptables/iptables.go

pkg/ovs/openflow/ofctrl_nxfields.go

pkg/apiserver/handlers/webhook/convert_crd.go

pkg/agent/controller/egress/egress_controller.go

pkg/agent/apiserver/handlers/ovstracing/handler.go

... and 369 more

/test-all

Tests failing are not related to the patch.

because of a Github bug, it's possible that my review comments are all duplicated...


[ANSIBLE0012] and [ANSIBLE0011]  bug report ansible-lint

issue-type

Bug report

Ansible and Ansible Lint details
ansible --version 2.5.0
ansible-lint --version 3.4.21

- ansible installation method:  pip
- ansible-lint installation method:  pip,

# Actual Behaviour (Bug report only)

Please give some details of what is actually happening.
Include a [minimum complete verifiable example](http://stackoverflow.com/help/mcve)
with:
ha-cleanup.yml
---
- name: Delete percona mysql pod
  shell: source ~/.profile; kubectl delete -f {{ pod_yaml_alias }}
  args:
    executable: /bin/bash
  delegate_to: "{{groups['kubernetes-kubemasters'].0}}"

- name: Confirm percona pod has been deleted
  shell: source ~/.profile; kubectl get pods
  args:
    executable: /bin/bash
  delegate_to: "{{groups['kubernetes-kubemasters'].0}}"
  register: result
  until: "'percona' not in result.stdout"
  delay: 120
  retries: 6

# second playbook===ha.yml
---
- hosts: localhost

  vars_files:
    - ha-vars.yml

  tasks:
   - block:

       #################################################
       # PREPARE TEST ENV FOR THE HA TEST              #
       # (Includes installing packages, deploying apps)#
       #################################################

       - include: ha-prerequisites.yml

       - name: Get $HOME of K8s master for kubernetes user
         shell: source ~/.profile; echo $HOME
         args:
           executable: /bin/bash
         register: result_kube_home
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"

       - name: Download YAML for percona mysql plugin
         get_url:
           url: "{{ percona_mysql_plugin_link }}"
           dest: "{{ result_kube_home.stdout }}/{{ pod_yaml_alias }}"
           force: yes
         register: result
         until:  "'OK' in result.msg"
         delay: 5
         retries: 3
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"

       - name: Check whether maya-apiserver pod is deployed
         shell: >
           source ~/.profile;
           kubectl get pods -l name=maya-apiserver --no-headers
         args:
           executable: /bin/bash
         register: result
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"
         until: "'Running' in result.stdout"
         delay: 60
         retries: 10

       - name: Start the log aggregator to capture test pod logs
         shell: >
           source ~/.profile;
           nohup stern "{{test_pod_regex}}" --since 1m > "{{result_kube_home.stdout}}/{{test_log_path}}" &
         args:
           executable: /bin/bash
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"

       - name: Deploy percona mysql pod
         shell: source ~/.profile; kubectl create -f {{ pod_yaml_alias }}
         args:
           executable: /bin/bash
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"

       - name: Confirm pod status is running
         shell: >
           source ~/.profile;
           kubectl get pods -l name=percona --no-headers
         args:
           executable: /bin/bash
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"
         register: result
         until: "'percona' and 'Running' in result.stdout"
         delay: 120
         retries: 15

       ###################################################################
       # PREPARE FOR FAULT-INJECTION                                     #
       # (Includes identifying objects to fail, simulating infra changes)#
       ###################################################################

       - name: Get storage ctrl pod name
         shell: >
           source ~/.profile;
           kubectl get pods -l openebs/controller=jiva-controller
           --no-headers
         args:
           executable: /bin/bash
         register: result
         delegate_to: "{{ groups['kubernetes-kubemasters'].0 }}"

       - name: Set ctrl pod name to variable
         set_fact:
           ctrl_pod_name: "{{ result.stdout.split()[0] }}"

       - name: Get node on which the pod is scheduled
         shell: >
           source ~/.profile;
           kubectl describe pod {{ctrl_pod_name}} | grep -w 'Node:'
         args:
           executable: /bin/bash
         register: result
         delegate_to: "{{ groups['kubernetes-kubemasters'].0 }}"

       - name: Store the ctrl pod node name in a variable
         set_fact:
           ctrl_node: "{{ result.stdout.split('/')[0].split('\t')[2]}}"

       - name: Make the current ctrl node unschedulable
         shell: source ~/.profile; kubectl cordon {{ctrl_node}}
         args:
           executable: /bin/bash
         register: result
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"

       - name: Confirm ctrl node is unschedulable
         shell: source ~/.profile; kubectl get nodes | grep {{ctrl_node}}
         args:
           executable: /bin/bash
         register: result
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"
         failed_when: "'SchedulingDisabled' not in result.stdout"

       ########################################################
       # INJECT FAULT                                         #
       # (Includes using tools, commands etc.,)               #
       ########################################################

       - name: Delete the ctrl pod to force reschedule
         shell: source ~/.profile; kubectl delete pod {{ctrl_pod_name}}
         args:
           executable: /bin/bash
         register: result
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"
         failed_when: "ctrl_pod_name and 'deleted' not in result.stdout"

       #########################################################
       # VERIFY RECOVERY                                       #
       # (Includes checking desired fault-tolerance behaviour) #
       #########################################################

       - name: Check if ctrl pod is restarted within 30s
         shell: >
           source ~/.profile;
           kubectl get pods -l openebs/controller=jiva-controller
         args:
           executable: /bin/bash
         register: result
         until: "'Running' in result.stdout_lines[1]"
         delay: 5
         retries: 6
         delegate_to: "{{ groups['kubernetes-kubemasters'].0 }}"

       #######################################################
       # POST RECOVERY HEALTH-CHECK                          #
       # (Includes application status etc.,)                 #
       #######################################################

       - name: Get percona pod details post ha
         shell: >
           source ~/.profile;
           kubectl get pods -l name=percona -o wide
           --no-headers
         args:
           executable: /bin/bash
         register: result
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"

       - name: Set pod variables to facts
         set_fact:
           pod_status: "{{ result.stdout.split()[2] }}"
           pod_restarts: "{{ result.stdout.split()[3] }}"
           pod_ip: "{{ result.stdout.split()[5] }}"

       - name: Verify percona is running w/o restarts
         debug:
           msg: "Percona pod health-check is successful"
         failed_when: "pod_status != 'Running' and pod_restarts != '0'"

       - name: Create a test db on percona to confirm health
         shell: mysql -uroot -pk8sDem0 -h {{pod_ip}} -e "CREATE DATABASE Inventory;"
         args:
           executable: /bin/bash
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"
         register: result
         failed_when: "result.rc != 0"

       ########################################################
       # REVERT FAULTS AND CLEANUP                            #
       # (Includes commands, delete applications etc.,)       #
       ########################################################

       - name: Uncordon the K8S node as part of cleanup
         shell: source ~/.profile; kubectl uncordon {{ctrl_node}}
         args:
           executable: /bin/bash
         register: result
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"

       - include: ha-cleanup.yml

       - name: Terminate the log aggregator
         shell: source ~/.profile; killall stern
         args:
           executable: /bin/bash
         delegate_to: "{{groups['kubernetes-kubemasters'].0}}"

       - set_fact:
           flag: "Pass"

     rescue:
       - set_fact:
           flag: "Fail"

     always:
       - name: Send slack notification
         slack:
           token: "{{ lookup('env','SLACK_TOKEN') }}"
           msg: '{{ ansible_date_time.time }} TEST: {{test_name}}, RESULT: {{ flag }}'
         when: slack_notify | bool and lookup('env','SLACK_TOKEN')

- output of running ansible-lint==ansible-lint ha.yml

[ANSIBLE0012] Commands should not change things if nothing needs doing
/home/vibhor/openebs/e2e/ansible/playbooks/feature/ha/ha-cleanup.yml:2
Task/Handler: Delete percona mysql pod

[ANSIBLE0012] Commands should not change things if nothing needs doing
/home/vibhor/openebs/e2e/ansible/playbooks/feature/ha/ha-cleanup.yml:8
Task/Handler: Confirm percona pod has been deleted

[ANSIBLE0011] All tasks should be named
ha.yml:204
Task/Handler: set_fact flag=Pass __file__=ha.yml __line__=205

[ANSIBLE0011] All tasks should be named
ha.yml:208
Task/Handler: set_fact flag=Fail __file__=ha.yml __line__=209

- if you're getting a stack trace, output of
  `ansible-playbook --syntax-check playbook`
 [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

playbook: ha.yml

This is by no means a minimal example - please reduce this report to a reasonable sized test case.
I'm not sure what you're expecting to happen vs what is actually happening

sorry for that long post as i am new git user ,please help me with this issue.

Please provide a very simple example of what is happening (one or two tasks, not an entire playbook) and what you expect to happen vs what is actually happening

[ANSIBLE0012] Commands should not change things if nothing needs doing
+1
There is no reason for a Warning (severity:High!) . The command is executed only if there are items in the list.
> ansible-lint freebsd-postinstall.yml
[ANSIBLE0012] Commands should not change things if nothing needs doing
/home/vlado/.ansible/roles/vbotka.freebsd_postinstall/tasks/mount-iso.yml:78
Task/Handler: mount-iso: Delete nodes

- name: "mount-iso: Delete nodes"
  command: "mdconfig -d -u {{ item }}"
  loop: "{{ local_node_list|default([]) }}"

Regarding the original issue text... for a task that uses a command, even if the script is formatted and correct, it is recommended to use changed_when, see this blog post for examples.
If this simply isn’t necessary for your task, you can direct ansible-lint to skip this task, see docs (skip_ansible_lint will skip to all ansible-lint rules for that task - in the next minor release we plan to allow for more granular skipping - to skip a particular rule for a particular task).


Add state agent

name: Add state agent
Description
Add state agent
Checklist
Please check the following items before code is ready to be reviewed.

[X]  Code has passed all tests
[X]  Docstrings have been added/updated in Google Style
[X]  Documentation has been updated
[X]  Code is ready for review

Closing this for now.


[DOC] Fix small typo

What does this implement/fix? Explain your changes.
A small grammatical error in the documentation
PR checklist
For all contributions

[x] I've added myself to the list of contributors. Alternatively, you can use the @all-contributors bot to do this for you.
[x] The PR title starts with either [ENH], [MNT], [DOC], [BUG], [REF], [DEP] or [GOV] indicating whether the PR topic is related to enhancement, maintenance, documentation, bugs, refactoring, deprecation or governance.

@all-contributors please add @georgejl7  for documentation


uuid 0.7.3 not building

it indicates that winapi isnt available. however we ensure that we dont have winapi linked on *nix platform. According to the Cargo.toml:
[target."cfg(windows)".dependencies.winapi]
version = "0.3"
optional = true

https://docs.rs/crate/uuid/0.7.3/builds/150373

found out that the metadata was enforcing all features across the board..
fixing myself


registry: templated factory registrations inheritance

Title: registry: templated factory registrations inheritance
Description:
Currently, factory registrations for base class cannot be used by their derivations. For example, an input Input registered for BaseClass cannot be created from a factory of DerivedClass. We do not have any precedence for these interactions with the existing extension registries, so it will be better if we can come up with a good solution to support shared inputs.
Relevant Links:
#20116

Another instance where factories might need to be smarter: custom tree matchers are specialized by DataType even though the matchers do not directly inspect the data. That means we have to register the same matcher for each possible DataType.


Super Sound Muffler Causes an Unknown Problem alert

When I place to super sound muffler a "toast" popup from Minecraft says an unknown problem occurred. And it spams my game till I reload.

I don't think there is something I can do about that issue, but you can go into vanillafix.cfg and change the line
"I:errorNotificationDuration=" to 1. I'll also be changing that for future versions.


release and publish on marketplace

Would it be with tern.java 0.9 ?
ref https://github.com/angelozerr/tern.java/issues/253

@paulvi if I see that JSON Editor is a little stable, I will integrate it with tern.java to provide custop, JSON Editor for .tern-project and .jshintrc, otherwise no.

For the moment you can install the SNAPSHOT version https://github.com/angelozerr/eclipse-wtp-json/wiki/InstallationUpdateSite but there is again a problem with JSON model synchronization with the JSON editor content.

Frankly I am not that happy about one more JSON Editor.
I would love to see authors to have a joint conversation first to try eliminate effort for doing the same in different ways.
I created this issue following idea "should be visible to all community".
Once again to minimize unsync-ed work.
I hope conversion will happen as it started inside angelozerr/tern.java#253
@skoptelov @xcoulon
@piotrtomiak also mentioned some work, not yet published

f you are interested in getting the source code we can provide it.

Frankly I am not that happy about one more JSON Editor.

My goal is to contribute to WTP with this JSON Editor. My first step is to provide full JSON commons features like syntax coloring (done), validation (todo), format (todo), text hover (done), folding (done), outline (done).
After that I would like to

support JSON Schema for validation and completion https://github.com/angelozerr/eclipse-wtp-json/issues/4. Ex for bower.json have completion for dependencies object key
extends the editor with custom completion (ex : for bower.json, have completion for dependencies values)

JSDT will support bower features. If my JSON Editor based on WTP is accepted by WTP, We could have a cool bower.json editor
@mickaelistria suggested me to host to WTP Incubator. I will do it, but before that I would like to finish my first step.

wow, thanks, that was roadmap presented

Hi all. Thought I'd chime in, since I was mentioned here.
 So I took Xtext and made my own editor in less than a day, and it's suitable enough for my needs. Xtext provides all common infrastructure, such as syntax coloring, folding, outline etc.
All in all, it's more of a pet project, not intended for general public, even though general public is welcome to use it.

@skoptelov  Nice to see you here, Semyon

not intended for general public, even though general public is welcome to use it.

:-)
similar, could you please release and publish on marketplace

My main concern at the time of making my editor was that existing eclipse javascript editors suck big time at handling medium-sized files (around 1Mb). So I took Xtext and made my own editor in less than a day, and it's suitable enough for my needs. Xtext provides all common infrastructure, such as syntax coloring, folding, outline etc.

XText is very powerful, but I think WTP will not accept a new XText dependencies, In muy case I implement WTP SSE for JSON.


Wire Pod on Web Server - Communication

Hello.
I installed wire pod in a VPS (Private Virtual Server), i'm trying put Vector to communication through Word Wide Web.
Somebody know how change the communication adress that Vector use to server ?

Are you using a production (regular) bot or an OSKR/dev-unlocked bot? The hostname escapepod.local is hard-coded into production bots and it cannot be changed, so you must find a way to forward that to your VPS.

Hello, my noble, thank for response.
It is regular, but i think can turn it on OSKT with this https://randym32.github.io/Anki.Vector.Documentation/how-to/OSKR Tutorial Windows 10.html


I'd like to know your policy. About standalone.

Will you support standalone components?

Hey @SuzGori,
This morning I went ahead and created a PR to convert the entire app to standalone and a few other maintenance changes. You're welcome to fork the repo or hopefully prime is interested in updating the repo!
https://github.com/primefaces/sakai-ng/pull/28

Hi,
I tried to convert to standalone using ng g @angular/core:standalone in 3 steps.
But I get hhtpClient not recognized problem and most of the pages not dowing anything.

Hi, I tried to convert to standalone using ng g @angular/core:standalone in 3 steps. But I get hhtpClient not recognized problem and most of the pages not dowing anything.
I wanted to hand convert but when I start with a new setup with version 16 of angular and primeNg then I am stuck with the fonts and look not as in standard samples. I check several times and follow video of Cagatay and also prime blocks full version code, not get same fonts and css

Make sure you update the bootstrapApplication to include the correct methods. You can see what I did here:
https://github.com/primefaces/sakai-ng/pull/28/files#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3d

Any update on that?

it would have been ok if it was also standalone, after you program with standalone you don't want to go back to ngModules...


Feature to scale by group "deeply"

Current code can only use the Group scalers on 2D data, but the Deep scalers can scale with n dimensions. We could potentially enhance the code to use the group scaler on n-dimensional data.

Done in deep scalers and distributed scalers.


no gamemode at all

Describe the bug
After installation, initial setup, and reboot, nothing happens. Bazzite runs in the KDE plasma environment like a run-of-the-mill distribution
What did you expect to happen?
When you install a distro that is "just like steam-os!" you expect to get steamOS, not a stripped down version of manjaro.
Output of rpm-ostree status
No response
Hardware
No response
Extra information or context
No response

Install the deck version if you want game mode, read the README, provide the details requested of the issue template.


Improve unit test IdentityTest1Async

fixes https://github.com/NLog/NLog/issues/1441 ?

improvement, but still won't work always


Proxy setting to reach slack webhooks.

Firstly, thank you so much for providing this capability.. i am sure this is going to help to monitor the k8s infra...below is my query to run inside a corporate network..
I am running inside a corporate network, so i tried setting the http_proxy, https_proxy as env variables. I also set the proxy https_proxy in the .npmrc..but still i face the below error from the pod logs
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 201)
(node:1) UnhandledPromiseRejectionWarning: Error: tunneling socket could not be established, cause=connect EINVAL <IP_ADDRESS>:80 - Local (<IP_ADDRESS>:0)
at
My NPM config on the pod looks like below..
app $ npm config ls
; cli configs
metrics-registry = "https://ok-repo.ok.com/nodejs/content/groups/npm/"
scope = ""
user-agent = "npm/5.6.0 node/v8.11.2 linux x64"
; project config /app/.npmrc
https-proxy = "proxy-appgw.ok.com:9090"
registry = "https://ci-repo.ok.com/nodejs/content/groups/npm/"
; userconfig /home/kube-slack/.npmrc
http_proxy = "http://proxy-appgw.ok.com:9090"
https_proxy = "http://proxy-appgw.ok.com:9090"
proxy = "http://proxy-appgw.ok.com:9090/"
; node bin location = /usr/local/bin/node
; cwd = /app
; HOME = /home/kube-slack
; "npm config ls -l" to show all defaults.

The npm settings are for npm commands only.
We're using Slack's SDK behind the scene, so this is how the docs says how to do it and added to this file.

Oh wait, we're using node-slack
https://github.com/xoxco/node-slack/blob/81ed5dd5d91dd0d15b1adeb7d8cea270406752fe/slack.js#L31
so setting https_proxy or http_proxy should work...
I'm guessing that maybe Kubernetes API access is proxied too. Could you check your proxy server logs (or tcpdump)?

Thank you for the reply..
you mean the logs on the proxy server..?

Yup, I'd like to know how the proxy get used.
On reading the original logs again, I noticed it mentioned EINVAL <IP_ADDRESS>:80. Is that IP your proxy server? And is the 0.0 prefix redacted or is it that way in the log.

The IP is not the proxy server IP.
I went to the pod shell and set the https_proxy manually and ran the following from the command line. this time its a different error..
app $ node .
{"name":"kube-slack","hostname":"kube-slack-5df468977d-845w9","pid":47,"level":30,"msg":"Kubernetes monitors started","time":"2018-05-23T23:38:22.582Z","v":0}
node:47) UnhandledPromiseRejectionWarning: Error: tunneling socket could not be established, statusCode=403
at ClientRequest.onConnect (/app/node_modules/tunnel-agent/index.js:166:19)
at Object.onceWrapper (events.js:319:30)
at emitThree (events.js:136:13)
at ClientRequest.emit (events.js:217:7)
at Socket.socketOnData (_http_client.js:474:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:597:20)
(node:47) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:47) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Hi..
i did a try by enabling the http_noproxy as well to make sure the k8s cluster does not use proxy when it makes its call.. but still the 403 error comes up.. i will dig further and update you.

I just added SLACK_PROXY option in master. Could you please try the image with latest tag?

sure..
let me give a try..thank you!

Hi,
I just tried with the new changes in master..it looks to have an error..there is a conflict with config directory..cannot find the module config.
internal/modules/cjs/loader.js:596
throw err;
^
Error: Cannot find module 'config'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/app/src/index.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)

You can use the prebuilt image on Docker hub (tagged latest).
For that error I believe you haven't run npm install or config module is
missing from packages.json.
On Sat, Jun 2, 2018, 1:13 AM satishkumar432<EMAIL_ADDRESS>wrote:

Hi,
I just tried with the new changes in master..it looks to have an
error..there is a conflict with config directory..cannot find the module
config.
internal/modules/cjs/loader.js:596
throw err;
^
Error: Cannot find module 'config'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/app/src/index.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wongnai/kube-slack/issues/34#issuecomment-393966008,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVFi6kBHzuNO-0ZyFDIVnkXxv7S7LIHks5t4YRNgaJpZM4UFZAd
.


Clients roles

Hi, here are some issues which I find noticeable.
Unable to use clients roles for authorization

Now configuring roles by --resources="uri=/*|roles=services" gatekeeper parses data from token which includes Realm roles in Keycloak only, example:
part of token which contains the realm role:
  "realm_access": {
    "roles": [
      "services"
    ]
  }

And it works, meaning that user is being authorized based on role in the example.
However, if I assign a client's role, it doesn't work. And in this case token contains this part of role in this form:
  "resource_access": {
    "app-1": {
      "roles": [
        "services"
      ]
    }
  }

Authorization doesn't work. I get error 403 Access to domain.org was denied. But at the same time I can see in Keycloak an active user session in that client (app-1). But I suppose it's  the correct behavior.
the log output says:
msg=access denied, invalid roles headers

I also tried to use a Client role mapper, where I can define myself token claim for the role, in this case it doesn't work either. Here is the mapper, and how it looks in token:

Token:
  "roles": [
    "services"

Options
Would be great if there was an option to configure using this roles for example by this keys:

--resources="uri=/*|realm-roles=services" - for realm roles
--resources="uri=/*|client-roles=services" - for client roles
--resources="uri=/*|custom-roles=services" - for custom roles added by client's roles mapper, but in this case it's  nessesary to add a predefined custom claim for the role like - custom-role-name=roles.

I think that most people handle all cases using only first two options.

@p53 thanks!

@hillout @RadikSeyfullin checked now code + documentation, your use case is actually there supported, as you can see in example in docs in several places there is:
  roles:
  - client:test1
  - client:test2

so it gathers realm roles + client roles from token and matches against these
https://gogatekeeper.github.io/gatekeeper/userguide/#example-of-usage-and-configuration-with-keycloak
it does not work for you? I can make docu more explicit about roles

@p53 thanks. Its work for me now. I didn't understand that when I was reading the documentation(

will update docs to be more helpful

@RadikSeyfullin hi, it doesn't work for me now, maybe I configure it wrong, here is what I've tried:
      - "--enable-default-deny=false"
      - "--resources=uri=/*|roles=app-1:test1"

And:
      - "--resources=uri=/*|roles=app-1:test1"

@hillout did you setup client role, not custom claim right?

@RadikSeyfullin @p53 my mistake, it's working with -
"--resources=uri=/*|roles=app-1:test1"
Although you need to specify the flag:
- "--enable-default-deny=false"
Otherwise you'll get the error, cuz default is true:
[error] you've enabled default deny and at the same time defined own rules for /*.
Also doesn't work without specifying the uri=/*, so you can't put like this "--resources=roles=app-1:test1"
Would be handful if you could specify the roles as a standalone flag:
realm-role, client-role. OR it can work as it is now, cuz it gives more flexibility upon the /path rights to access but again - docs :)
Document should definitely be updated, can contribute.

probably this in docu will need update, i will check code to confirm:
resources:
- uri: /admin/test
  # the methods on this URL that should be protected, if missing, we assuming all

that error was added because some users were trying to use both at once, hoping that those rules from default-deny+resources will combine, which is not the case, default-deny is just convienient default

@hillout if i correctly understand your third case, this is also supported by https://gogatekeeper.github.io/gatekeeper/userguide/#claim-matching (see last example in section)

@p53 hi, confirm, all is working, Thanks!


Add DeviceController::PairDevice(NodeId remoteId, const char * setupCode) API that looks for the device over supported networks

Problem
As of today, CHIPDeviceController::PairDevice API requires the user to pass  the ip, port and interfaceId of the device to connect to.
This PR introduce an additional API, that takes a const char * setupCode and search over supported networks for a device (currently BLE/IP).
The current CHIPDeviceController is already complex, and I would expect the new code to grow as more edge cases are coming in. As a result I have added a separate class for the mentioned work.
As a separate issue I think it will be helpful to spend some times on how the mdns records are retrieved. Currently AbstractMdnsDiscoveryController is used to look over the network for commissionable nodes. It is not very practical because under the hood, there is a “Browse” operation which ends up beeing broken into multiples “Resolve”.  AbstractMdnsDiscoveryController does not have a way to know when the multiple resolves are done for a single browse, and so there is no easy way for the user of the API to know when it is time to retrieve commissionable nodes results.
Change overview

Update src/platform/Darwin/MdnsImpl.cpp to support browsing for subtypes
Update src/setup_payload/ headers to use #pragma once since that’s missing and it was causing conflicts…
Add a new class chip::Controller::SetUpCodeParser which parses a setup code and extract the relevant rendezvousInformation in order to search for the target peripheral
Update chip-tool to have a few additional commands for browsing mdns
Update chip-tool pairing qrcode and pairing manualcode APIs to use the new SetupCodeParser::PairDevice interface

Testing
scripts/tests/test_suites.sh has been changed so it uses the new API in order to find which device it needs to connect to. This should exercise the API, as well as the minimal and Darwin mdns backends.

General comment - in the python controller, this is handled for QR by having the python layer parse the code, discover, then connect. I'm not sure bunching all this together in the SetupParser is the correct place for this. To me, SetupParser seems like it should be exclusively for parsing the setup code - that way it's contained and testable. This all seems like it should be implemented a layer up in a convenience function layer where we put all the steps together for those that wish to do that.

General comment - in the python controller, this is handled for QR by having the python layer parse the code, discover, then connect. I'm not sure bunching all this together in the SetupParser is the correct place for this. To me, SetupParser seems like it should be exclusively for parsing the setup code - that way it's contained and testable. This all seems like it should be implemented a layer up in a convenience function layer where we put all the steps together for those that wish to do that.

I have renamed the class so (I hope) it is a bit clearer. The idea behind having a separate class is to be able to add more logic to it without having to pollute the DeviceController.
I understand that the python controller parses the QR code manually before using those informations. The issue is that this is also done (before this PR) inside chip-tool, and then inside iOS ChipTool, and likely inside the Java controller....
It does sounds like there is a need for a single API that does this simple operation for you, while if you want to do it your way there is still an API that let's you do so.

Fixes #9343


Only link agains libbpf if it exists

Libbpf is optional so we must only link against it when it exists. This
optional linking is already  done for the dynamic build but not the
static:
if (LIBBPF_BTF_DUMP_FOUND)
  target_compile_definitions(bpftrace_test PRIVATE HAVE_LIBBPF_BTF_DUMP)
  target_include_directories(bpftrace_test PUBLIC ${LIBBPF_INCLUDE_DIRS})
  target_link_libraries(bpftrace_test ${LIBBPF_LIBRARIES})
endif(LIBBPF_BTF_DUMP_FOUND)

Looks like this somehow broke static builds in the CI.


guide for YouTube or Russian translate?

a guide for each function with a more detailed description or a video guide.  it is possible to translate the description in the cheat into Russian?

poshel nahui eblan

Чел ты...

Чел ты...

haha why am i not surpised that ur siberian XDDDD

Just learn english, it's not hard

More retarded module for hypixel servers

Impact Client Modules

nahuy eng coderam ebatsa s drugimi yazikami?

xz


[feat] API/POST endpoints without a front

Use case
I need to be able to have API endpoints (mostly POST requests) that will be called not by a user, but by other server (e.g. a CRON that calls a /api/something, with an API key).

Those endpoints are never shown to the user
They are only server side
They do not need to go through rendering UI

I'm using vite-plugin-ssr with Vercel, but this applies to all types of deployments.
Current limitations

All posts are going through api/render.ts (Vercel specific)

Here I add body from the request to the pageContext

Declare a .page.server.ts with exported onBeforeRender to handle the request

I can read the body fron the pageContext

Also declare .page.client.ts or .page.ts otherwise vite-plugin-ssr generates an error
Return specific data in onBeforeRender, like { pageContext: { noRender: true } }
In api/render.ts, handle the specific case where noRender is true

What would I want?

api/render.ts calls renderPage, which could be avoided because I know I do not want to render
Be able to simply create a new api/? enpoint, or something as simple as that
Probably utils to allow/forbid endpoints a POST endpoints
A solution could be to not require .page.client.ts behind some logic, or have other files like .api.server.ts to handle post requests

This is kinda specific to Vercel regarding the use of api/render.ts, with a tweak to the rewrites config and the localhost server, I think I could easily fix this, but I wonder if we could have a generic reusable way to do POST requests across platforms.

Yes rewrite seems to be the canonical way to do it. For example:
{
  "rewrites": [
    {
      "source": "/((?!api/).*)",
      "destination": "/api/render.js"
    }
  ]
}

So that all URL /api/* requests aren't routed to the file /api/render.js.
Let me know how it goes.

In general I believe that API is out of scope for this plugin. Let me know if you disagree.
And keep me in touch what you ended up doing.

In general I believe that API is out of scope for this plugin. Let me know if you disagree

I agree. The minimal requirement regarding this matter is that this plugin should not block or make it more difficult to handle API calls. Perhaps the existing examples should include an example that demonstrate how to still handle API calls next to this plugin. It may be trivial for some, but for Vercel it isn't

Let me know how it goes.

The vercel.json I'm using (not fully tested yet in production, will be edited if something doesn't work)
{
  "rewrites": [
    {
      "source": "/((?!(assets|api)/).*)",
      "destination": "/api/render.ts"
    }
  ]
}

In server/index.ts (local express dev server)
// one import per endpoint
import something from '../api/something';

// Add the following above `app.get('*', ...`
app.all("/api/something", something); // one of these per imported endpoint

There probably is a solution that could streamline this thanks to an express middleware.

Makes sense 👍
Btw. we will soon release an RPC implementation (https://twitter.com/brillout/status/1460963504698101774) which will, basically, be a better alternative to Vercel/Next.js's /api/* thing.


[leveler] Mee6 Converter

Mee6 Converter for both user levels and roles.

Amazing... thank you for sharing this and PRing it.


Error editing child device

When a try to edit a child device this error is showed:
'django.utils.datastructures.MultiValueDictKeyError'
"'site'"

Duplicate of #433


JSDOC Build Script

It would be great to just automatically generate all of our documentation, on the fly when we are running npm publish.
@christianechevarria Let me know if this is possible.

Solved by be3d4f0


"Object doesn't support property or method 'sign'" IE11 Error

When I call viewer.startAutoRotate(), the whole script stops and in the console shows the error message Object doesn't support property or method 'sign'.
The function seems to be not supported by Internet Explorer.
In my project I solved this by extending the Math object:
if (typeof Math.sign === 'undefined') {   Math.sign = function (x) {     return x > 0 ? 1 : x < 0 ? -1 : x;   } }

Thanks. I didn't realize Math.sign was ES6 and is only supported by recent versions of Firefox and Chrome. I just removed the only use of it.

You could use polyfill:
https://polyfill.io/v3/polyfill.min.js?flags=always&features=Math.sign

When I call viewer.startAutoRotate(), the whole script stops and in the console shows the error message Object doesn't support property or method 'sign'.
The function seems to be not supported by Internet Explorer.
In my project I solved this by extending the Math object:
if (typeof Math.sign === 'undefined') { Math.sign = function (x) { return x > 0 ? 1 : x < 0 ? -1 : x; } }

This works like a charm, thank you so much.


wants to give notes and pdf for android ,web development and wish to add the spring and springboot repository

Idea Contribution

[X] I have read all the resource request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Where do you want to add the resource? Specify the category and section.
in the main section i wants user do have spring and springboot resource
Provide the URLs of the resources you are adding
i have my handwritten as well as my course pdf also
Any alternative approaches/features
No response
Additional Context
No response
Code of Conduct

[X] I follow the CONTRIBUTING GUIDELINE of this project.

Read CONTRIBUTING.md. Since youre adding PDF, you need to put it somewhere else that people can download or see like gdrive maybe

for each skills how maximum how much pdf i can send like for android development may be its 3-4
is it limitation on files sending or it is upto me ?
@jfmartinz

Its up to you.

Provide the URL and description for each resource youre adding. You can check contributing.md for reference of the format

CSS
https://docs.google.com/document/d/1763-si1rcq6e5aGuXc6MwRdlm5MBf3Y5RdSFZc8VXiw/edit#heading=h.6jynaot9cbnq
C programming
https://drive.google.com/file/d/1ddpxOdV76fgcwpyITDLIJ2puA4NA2eI3/view?usp=sharing
Data structure
https://drive.google.com/file/d/1nm7kNN93AUqfr3I8Bs6JQSyV2bCX0TOf/view?usp=sharing
https://drive.google.com/file/d/14mN5wZfo9qSAMdiKImxLiLMqRFdVUVw1/view?usp=sharing
Git
https://drive.google.com/file/d/1cCKOGMTCJ2zDWNtU5xT6xDjur3f82YDb/view?usp=sharing
MongoDB
https://drive.google.com/file/d/1McVm4nJmXo6d2zhQKO3WSOPDXayUc07D/view?usp=sharing
Angular
https://drive.google.com/file/d/1tyjoZYGQ83iR7Y9jJubCfaqoOBNQlGxL/view?usp=sharing
sql
https://drive.google.com/file/d/1IYZCRM0RiE77ZK6yRMlj6cD0I-Ee2cnz/view?usp=sharing
https://docs.google.com/document/d/11tdVEG_jOiasv6xx2BPioDKZOm2oocB5JBPjq5Zh6uY/edit
Spring
https://drive.google.com/file/d/11FEwEg7l2R3MUDGZtA7NPztDW9ghXm-S/view?usp=sharing
https://drive.google.com/file/d/1Y8Wx9K7-ibH_85aV0iPk7Y90BViu1Kht/view?usp=sharing
https://drive.google.com/file/d/17gLA6_-qROtyBDtBKVglS7wogne8mcwk/view?usp=sharing
SpringBoot
https://drive.google.com/file/d/1uMDo4L3QJTRwBb9bXRqVtDHgGqamEKFR/view?usp=sharing
Microservices
https://drive.google.com/file/d/1eQgXyS3Y6EKuvX9B2egBwljGW_VV4D_s/view?usp=sharing
https://drive.google.com/file/d/1Vl-thQttGejkOunkQ0YDXsLPUx8YwsF2/view?usp=sharing
ReactsJs
https://drive.google.com/file/d/1NNSvU3AmtLyPRLeeXJmLGzAxeoimon95/view?usp=sharing
https://drive.google.com/file/d/1vow5MwFagJf2vxeBfMqzAZq-mokMVe9X/view?usp=sharing
C++
https://drive.google.com/file/d/163kA7b6tT4cpZuXixD0EH5VUjWLQlFqT/view?usp=sharing
https://drive.google.com/file/d/1nYeNFTDD0-X_j-bqyW1oUMCleNEkxTD2/view?usp=sharing
https://drive.google.com/file/d/1yVgbn0KVI5J_hUnfRU2tniZKEO3NJRGc/view?usp=sharing
Html
https://drive.google.com/file/d/1Om5eixDGx5eRpMqlPm6BvglMdTPeM57i/view?usp=sharing
NodeJs
https://drive.google.com/file/d/1tfz8Ope-y5echlAoThjkK6dcYrjYRxc3/view?usp=sharing
https://drive.google.com/file/d/1DzJkkC0EopoEoyNPoqi6lQDHMfAxAw9f/view?usp=sharing
Kotlin
https://drive.google.com/file/d/1GTFdf0IJhdBXttxVGdV-mb7sLqa1fB5h/view?usp=sharing
Javascript
https://drive.google.com/file/d/1aolxufhIkxvIPH6R-epEkrpjWHC3ZNEH/view?usp=sharing
https://drive.google.com/file/d/1Oay4898Fb-ZzmnRyxQOmxHjyFm4inOSh/view?usp=sharing
Hibernate
https://drive.google.com/file/d/1_SXsEl8UwFDku1Qwzen7n11JLMnpyZvM/view?usp=sharing
JDBC
https://drive.google.com/file/d/1c5gMXJkHanaLDhkla_qO-msZUOx95fc_/view?usp=sharing
Java
https://drive.google.com/file/d/1sk9Ui_cx4G64NI44EQ1e9obzV-e_EdKv/view?usp=sharing
https://drive.google.com/file/d/1_a433YmB9Ha6GJWzA3iwmwQjemf3pt3p/view?usp=sharing
Docker
https://drive.google.com/file/d/1EZWwp2OKzvJ0qknQw9UFErL2oN36iI9Z/view?usp=sharing
DBMS
https://drive.google.com/file/d/1EZWwp2OKzvJ0qknQw9UFErL2oN36iI9Z/view?usp=sharing
Computer network
https://drive.google.com/file/d/1621LDDgrHX8pwoNAXGyx4hYnakwKUzMW/view?usp=sharing
Android
https://drive.google.com/file/d/1BanPy4hJ3G3x_Sp1Ver38dYdW8KdG_o8/view?usp=sharing
Algorithm
https://drive.google.com/file/d/13bLeg9i1-dI59mWl8COpgGz4q6WV5_fQ/view?usp=sharing
https://drive.google.com/file/d/1TeG4TWHf6T04VegYFobP84wHSg8xMFa1/view?usp=sharing
Python
https://drive.google.com/file/d/1V36jUB16ZycBPfVph_5GXnzapKwHeCv0/view?usp=sharing
https://docs.google.com/document/d/1SpQWCjLWGw9tf_hDQzJ9i8xmmJT0TfQ-oEnfrXCAYss/edit

@jfmartinz completed with all link
if you want then i can give sde sheet also for coding practice

Yea. You can add it into its respective category and section.

Some of them are programming languages so you can add them into this category

@jfmartinz sir , pls do check all this


chore: remove CI/CD section from README

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


Cant set title?

Is there anyway to set the title of the view controller?
In Example 1:
'http://www.axmag.com/download/pdfurl-guide.pdf', 'pdf-sample');
... suggests that 'pdf-sample' would be the view controllers title?

Hi @stuarteaton
Our plugin does not have this functionality.
Sorry, but we are only supporting minor or critical changes.
Feel free to collaborate.


ISPN-11051 Upgrade to protostream-4.3.1.Final

https://issues.jboss.org/browse/ISPN-11051

Merged, thanks


Fix quotation in split_part macro

It seems that there's extra quotes in split_part macro because if you run dbt_utils.get_url_paramter code for clickhouse results in extra quotes around field name.
Summary
Removed quotes around field_name.

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

Link to issue: https://github.com/ClickHouse/dbt-clickhouse/issues/337

@BentsiLeviav fixed. I've got sqlfmt running on save and it reformatted it.

@BentsiLeviav not sure how i can check for quotation in SQL reliably.
Why not implement split_part macro same way that original does? Here is original, that you refered:
split_part(
{{ string_text }},
{{ delimiter_text }},
{{ part_number }}
)

and updated version for Clickhouse:
{% macro clickhouse__split_part(string_text, delimiter_text, part_number) %}
    splitByString({{delimiter_text}}, {{ string_text }})[{{ part_number }}]
{% endmacro %}

both of them expect to params to be quoted. And in dbt_utils they also quote it before using macro:
{%- set formatted_url_parameter = "'" + url_parameter + "='" -%}

{%- set split = dbt.split_part(dbt.split_part(field, formatted_url_parameter, 2), "'&'", 1) -%}

Don't think that we need to overcomplicated with checks and it's ok to make it similar to base implementation.

As I wrote before, it is not safe to assume the user is passing the char quoted, and although the dbt team implemented that way, it doesn't mean this is the right thing to do.

Don't think that we need to overcomplicated with checks and it's ok to make it similar to base implementation.

I'm afraid I have to disagree with you, If we want to break an API we better have a really good reason why we are doing it.
In addition, due to these changes the related test is failing, please run the tests and fix them where needed.

Checked documentation about split_part. It states that that make intentionally:

you can use column and pass text without quotes
you can use text and pass quoted text as argument

{{ dbt.split_part(string_text='column_to_split', delimiter_text='delimiter_column', part_number=1) }}
{{ dbt.split_part(string_text="'1|2|3'", delimiter_text="'|'", part_number=1) }}

I'll check tests later this week. Is there any documentation on how to run it locally?

@BentsiLeviav test fixed
========= 144 passed, 15 skipped, 44077 warnings in 63.43s (0:01:03) =========


New Release when?

I desperately looking forward for a new release on npm, since there are a couple of fixes here that I really need :)
Any plans?

Hi @joh-klein, thanks for reporting!
Yup, our auto publish was broken when all the NPM tokens were revoked following that nasty eslint-plugin-scope issue.
Anyway, new version was just released, and semantic-release should now automatically report failed publishing :)


default new apps as private so they are not accidentally published to…

… npm

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

lgtm


⚠ ClamAV has degraded performance

In c6f1b6a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 235 ms

Resolved: ClamAV performance has improved in afe41dd after 15 minutes.


Make string escape sequences SQL compliant

Right now, alasql is using JavaScript's escape sequences ('\.' is turned into '.', for example). In SQL, the only characters that can be escaped are single quotes.
This PR is probably going to break stuff in some SQL dialects, but it's necessary for Postgres support.

Current coverage is 66.92% (diff: 50.00%)

Merging #734 into develop will decrease coverage by 0.03%

@@            develop       #734   diff @@
==========================================
  Files             1          1
  Lines          9721       9734    +13
  Methods        1021       1022     +1
  Messages          0          0
  Branches       2897       2904     +7
==========================================
+ Hits           6509       6514     +5
- Misses         3212       3220     +8
  Partials          0          0

Powered by Codecov. Last update 02188e3...6a28c68

Thank you so much for making the quality better.
It might break something - but as long as our regression tests are still OK its fine for now.
(and if any issue come up we fix it when time comes...)


clair-scanner not working for clair-scanner_linux_amd64

[CRIT] ▶ Could not analyze layer: Clair responded with a failure: Got response 400 with message {"Error":{"Message":"could not find layer"}}

Hi, I too facing the same error. Did you resolve it? If yes, please help with this.
Thanks!

Hi, I too facing the same error. Did you resolve it? If yes, please help with this. Thanks!

Hey were you able to find any fix?


SQL Module documentation has added to Reference_Manual.md. [API-1635]

SQL Module documentation has added to Reference_Manual.md

Windows test PASSed.

Linux test PASSed.

Test coverage report is added, only sql tests are run
coverage-html-reports.tar.gz

Linux test FAILed.

Windows test PASSed.

Windows test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test FAILed.

Linux test FAILed.

Windows test PASSed.

Linux test PASSed.

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test FAILed.

Linux test PASSed.

Windows test PASSed.


Uncaught TypeError: event.srcElement.className.StartsWith is not a function - links.js:40

Error in console log reporting:
Uncaught TypeError: event.srcElement.className.StartsWith is not a function
onDOMModified	@	links.js:40
This happens whenever a watch data structure is modified.

Hey @alindberg, thanks for the report!
Is links.js a source file within your project? It looks like that stack trace may be coming from your project.
The className property on an HTMLElement's prototype returns a string. In this scenario, some code in your project is attempting to invoke the StartsWith method on that string. Unless this is a custom method you're adding to the native String prototype, then it looks like it may just be a misspelling, and you may have meant to use startsWith (part of ES6 spec).

It seems that links.js is part of chrome's extensions and that an extension from my company was causing the issue.
Sorry for reporting an error on your chrome extension.
Alex<EMAIL_ADDRESS>   On Monday, September 28, 2015 10:29 AM, Andrew Levine<EMAIL_ADDRESS>wrote:
Hey @alindberg, thanks for the report!Is links.js a source file within your project? It looks like that stack trace may be coming from your project.The className property on an HTMLElement's prototype returns a string. In this scenario, some code in your project is attempting to invoke the StartsWith method on that string. Unless this is a custom method you're adding to the native String prototype, then it looks like it may just be a misspelling, and you may have meant to use startsWith (part of ES6 spec).—
Reply to this email directly or view it on GitHub.

@alindberg That's no problem :) Just glad we were able to get it figured out.


Update pip install command in notebooks

Fixes #612

Thanks, @epelaaez! @vtomole, is there anything else that should be added?

is there anything else that should be added?

Noope


Lack of obviousness about what needs to be wrapped in parens within JSX

I recently started playing with the syntax of the master branch (read: post-uniform parenthesized syntax).
Upon putting in the following code:

  ReasonReact.stringToElement("Oh boy!")

It refmtd into

  ReasonReact.stringToElement
  "Oh boy!"

Which makes sense, but was initially surprising.

So two things:

onClick=handle(foo) should stay that way
The content of the tag is now two elements, which is wrong.

Hmm what about

MyThing()
(2 + 3)

?
I don't think we want that to mean MyThing()(2+3).
It's probably best to require surrounding parens at the moment, unless we want to delimit children with semicolons, or commas, or something

@jaredly that one currently formats to:

 (MyThing(())) (2 + 3)
;

(cc @IwanKaramazow somehow the double parens is still there?)
I've tested the following and it works as intended:

  {ReasonReact.stringToElement("Oh boy!")}

So we can take the occasion and accidentally move closer to JS JSX =D

So you're saying that in order to have

MyThing()
(2 + 3)

be treated correctly (as two elements) under the proposed syntax change, I would need to do

MyThing()
{2 + 3}

?

Nono, your example currently has the correct precedence. The issue's example doesn't.

But how do you distinguish at a parser level? I think they'll be indistinguishable

Your example works because it's a variant and it'll always be fully applied. I think we're just gonna suggest to surround things in {}

I've now updated the docs on reason and reason-react to use braces.


A few Improvements Part 2

Reworked Controls
A New version of Alphabet from Psych Experiment branch
New Control Option Substate
Removed Gamepad (Controller Mode)
Fixed Shader Coord resize
Removed shubs from the Credits
Removed Ludum Dare 47 and QT Saw Leftovers

If you don't like this, you may close my pr.

Imma put this in a different branch since Jordan doesn’t wanna use 0.7 I think

I’ll try to cherry pick some of your improvements since they’re good and unrelated to 0.7


[Redo] Memory leak in OpManager

Changing OpManager inst to a pointer avoids the leak sanitizer from complaining about memory leak at exit time. The idea comes from @ajtulloch.
@tqchen, please review.

Thanks, @hlu1 , this is now merged


Extracting data out of AccessToken

Hello there,
thanks for this nice library.
The Google-Login works fine. Now I want to get the E-Mail-Information out of the AccessToken. Is this possible with your library? If not, what next step do you recommend? (For example picking up another library).
The thing is, getting the E-Mail out of access token is the only functionality I need, and using other Libs seems to be way too overkill for that.
Thanks in advance.

Hey @quiKsilverItaly! This library is more meant to be used in the scenario where you send the access token to the backend, but in your scenario I can see how that's overkill as well.
To get the email, you could make this API call manually:
GET https://www.googleapis.com/oauth2/v3/userinfo?access_token=ACCESS_TOKEN_FROM_SIMPLICITY
It should return something like this:
{
  "sub": "113934915402034538610",
  "name": "Edward Jiang",
  "given_name": "Edward",
  "family_name": "Jiang",
  "profile": "https://plus.google.com/113934915402034538610",
  "picture": "https://lh6.googleusercontent.com/-eOdaSp-2dHY/AAAAAAAAAAI/AAAAAAAAABU/Z8_UB6zN_4I/photo.jpg",
  "email"<EMAIL_ADDRESS>  "email_verified": true,
  "gender": "male",
  "locale": "en"
}

So then you should be able to parse out the email!
Make sure that you request the email scope with Simplicity, though!

If you want to write some code for this, I'd definitely want to incorporate this into Simplicity in the future.
See https://github.com/SimplicityMobile/Simplicity/issues/15

@edjiang I used the same solution like you recommended.
Please note I used the libraries Alamofire (for HTTP-Connection) and SwiftyJSON (for extracting the JSON more easily) in my code.
This solution only currently supports Google-Login, but the two classes can be easily expanded with Facebook-Login and more.
http://pastebin.com/Y5J5EDgW

Thanks! Yeah, the code to merge into Simplicity would take a little more work (no dependencies should be used, + this should be documented), but if it works for you I'm happy! =]


⚠ Bofrost.de has degraded performance

In b07b5ae, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1304 ms

Resolved: Bofrost.de performance has improved in 6288917.


docker-compose clarification

This project is exactly the tool I'm looking for; thank you for creating it!
I'm using docker-compose to deploy an application I created, I was wondering if you could provide information on the docker-compose usage detailed in the docs.
  shepherd:
    build: .
    image: mazzolino/shepherd

What is the build: . key-value pair specifying?

Build . means build an image from a Dockerfile located in the current directory.

An image is also specified with a Dockerfile. Which one takes priority?


feat(curriculum): create javascript fundamentals quiz

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #56204

@gikf @naomi-lgbt thanks for reviewing, I will incorporate the suggestions!

Hi @khatri7. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


chore: add node abstraction

Why

Passes node service state to other tests after bootstrapping.
Checklist

N/A I have made corresponding changes to the tests
N/A I have made corresponding changes to the documentation
N/A I have run the app using my feature and ensured that no functionality is broken

Looks great, left a comment

Looks great, left a comment

Where is the comment?

Weird that it is not visible to you. The node struct has a graphsync store and I was wondering if we should also add a bitswap store.


Chinese Simplified & Traditional: Search Error - Inconsistent Punctuation

As per Chinese Simplified QA on Aug 6, 2020:
Change “:” in the second bullet point to dash “——“ like those in the first and third bullet points for consistency in BOTH the Chinese Simplified and Chinese Traditional versions of the app.

Acceptance Criteria

[ ]  There should be dash “——“ before the strings "1356 Kingsway Vancouver". instead of ":" - i.e. consistent with those in the first and third bullet points

Steps for QA - Chinese Simplified:

Go to Search page
Enter a keyword and an invalid location e.g. "00000"
You should see the Invalid Location error message like the screenshot above, except on the second bullet point:

[ ]  There should be dash “——“ before the strings "1356 Kingsway Vancouver". instead of ":" - i.e. consistent with those in the first and third bullet points

Steps for QA - Chinese Traditional:

Go to Search page
Enter a keyword and an invalid location e.g. "00000"
You should see the Invalid Location error message like the screenshot above, except on the second bullet point:

[ ]  There should be dash “——“ before the strings "1356 Kingsway Vancouver". instead of ":" - i.e. consistent with those in the first and third bullet points

This should be fixed in the next staging release.

Tested on Staging 1.43.0:
Fixed on Chinese Simplified (first screenshot below), but NOT on Chinese Traditional (see second screenshot below):


Drop bits-extras in favour of System.Endian

bits-extras is causing compilation issues. Drop the dependency in favour
of the more portable System.Endian equivalent functions.
fixes #2

cc @pxqr

I am also running into this issue.  It would be very helpful if this could get merged.


Distinct returns incorrect indexes

After using distinct() on a collection of ids, the indexes of those distinct ids are exactly the first index where the value is encountered. Normally, I think one would expect them to be from 0 to N-1 ( N being the number of distinct values ).
I just found out it's not only distinct. Returned result sets's indexes are the same ones from their previous collection.

Discarding indexes has the following problems:

While you consider the behavior you propose obvious, others may have a different opinion.

Indexes are discarded forever, you can't get them back once they're gone. On the other hand, the opposite operation (discarding indexes from the iterator with indexes returned from disctinct()) is just a matter of calling toList().

Consistency between various method calls are lost: one method keeps keys, another discards, so you never know what to expect without checking documentation every time. Inconsistency in behavior leads to bugs and frustration.

Under normal circumstances, keys from distinct() can be ignored by the code which works with the iterator. For example, just using foreach ($values as $v) discards them.

Overall, YaLinqo follows a simple rule: Indexes are never discarded, unless stated otherwise. If you need to discard keys, you need to do it explicitly by calling toList() or toListDeep(). If you want to keep using iterator instead of switching to plain old array, there's also toValues() method.
The only exception to the rule is the cycle() method. Without discrading of keys, it causes keys to be duplicated many times, making sequences nonsensical and hard to use (keys are supposed to be unique).


How did you build the library?

Hi @parsiad !! amazing library! I have started learning from it.
Can you just give a general overview of how you build it -
design, where to get started etc?
Cheers

Hi @andrewcz. Thanks for the kind words. The library is not necessarily a source of good engineering practices as I wrote it when I was a student and needed it only to compute numerical solutions of various problems. Having said that, maybe I can recommend some related reading that might inspire you:

C++: Stroustrup, Bjarne. The C++ programming language. Pearson Education, 2013.
Linear algebra: Saad, Yousef. Iterative methods for sparse linear systems. Society for Industrial and Applied Mathematics, 2003.
Optimal stochastic control theory: Touzi, Nizar. Optimal stochastic control, stochastic target problems, and backward SDE. Vol. 29. Springer Science & Business Media, 2012.
There are also lots of books on finite difference methods for PDEs but I do not have a particular recommendation. All the best!


Preparation for next sprint: Glenn. Daily build.

Planning will be created for next sprint. Please put down days for your availability for next sprints daily build; days that guarantee a comprehensive commit. At least, once a week.

Hoping to have a major commit with either basic auth or github integration for Friday. As soon as I've made a decent amount of progress on another term project I'll be switching gears back to 410.


Flutter_3.7.12 Containers of the same color will be white when scrolling

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Put several solid-color Container components in the scrollable component and scroll up the screen
Expected results
The entire page background should be solid red
Actual results
There are white lines between different Containers
Code sample
Code sample
import 'package:flutter/material.dart';

class Demo extends StatefulWidget {
  const Demo();

  @override
  State<Demo> createState() => _TestState();
}

class _TestState extends State<Demo> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('test'),
      ),
      body: SingleChildScrollView(
        child: Column(
          children: [
            ...[1, 2, 3, 4, 5, 6].map((num) => Container(
                  color: Colors.red,
                  height: 200,
                ))
          ],
        ),
      ),
    );
  }
}

Screenshots or Video

Logs
Logs
[Paste your logs here]

无日志

Flutter Doctor output
Doctor output
无输出

Steps to reproduce
Put several solid-color Container components in the scrollable component and scroll up the screen
Expected results
The entire page background should be solid red
Actual results
There are white lines between different Containers

possibly duplicate of https://github.com/flutter/flutter/issues/22056
also @eatfishs please use American English language as specified in the docs

Thanks for the report. I believe this is same as https://github.com/flutter/flutter/issues/14288 and could be happening due to anti-aliasing. I suggest you to follow-up in the linked issue for further updates.
Closing this as a duplicate. Also check the related issues linked in above comment for your reference.
If you disagree, write in comments and I'll reopen it.


application won't launch

I have installed all dependencies and attempt to launch the application, hover it crashes. It does this whether I do it from the launcher or the command line.
I am using Ubuntu 16.04.

Paste console output log.


TranslateStore being created a second time causing no translations in lazy loaded module

Current behavior
I have outlined this here in this post, but not expecting much feed back from there.
In summary, as in the post, when loading my second lazy loaded module, I am seeing a second TranslateStore being created, and this being empty I get no translations. This has never happened before I upgraded to v15.0.0, and does not happen a small sample project, which makes it hard to demonstrate. I am doing exactly the same setup in the broken application as in a small sample app that works, so really have no idea of what is different to cause this (obviously my production application has a lot of other dependencies, but nothing else to do with translations)
I have spent a very long time trying to debug, but I just cannot see why a second TranslateStore is being created, as it goes very deep into the Angular DI code, which I just cant follow, so hoping there may be some suggestions on what could possibly cause this.
Expected behavior
To stop this second instance of TranslateStore being created so translation will one work in all modules.
How do you think that we should fix this?
I have no idea why the second TranslateStore is being created. I notice there is a always a new instance of TranslateService for each module being created, but this also occurs in a sample application where I do not have any problems
Environment

ngx-translate version: 15.0.0
Angular version:16.1.3

Browser:
- [ x] Chrome (desktop) version 115.0.5790.110

My workaround has been to set a reference somewhere (eg in  a service) to tracslate.store
this.translator.use(hostInfo.locale);
this.translateStoreLoaderService.setStore(this.translator.store);

Then at the start of each lazy component
translateStoreResetService.resetStore(translate);

with..
public setStore(translateStore: TranslateStore): void {
    this.translateStore = translateStore;
}

public resetStore(translateService: TranslateService): void {
   translateService.store = this.translateStore;
}

Your solution work perfectly !


SAP NetWeaver Monitoring Issue

Hi Team,
We have successfully added resource providers for 3 SAP NetWeaver systems under Providers i.e., S01 (Sandbox), D01 (Dev) and R01 (Testing). However, in the Monitoring section of SAP NetWeaver, when we go to the different sub sections, we see that we can see the data only for 1 SAP system (S01) and for the remaining systems (D01 and R01) no data is displayed for some if the sections.
Data is displayed for all systems (S01, D01 and R01) for the following parameters ... Availability, Enqueue Statistics and Queue Statistics.
Data is displayed only for S01 for the following parameters ... Application Performance, System Performance and Workload Statistics.
Subscription ID: a6124a65-6960-437b-9cc9-cc0ab172df46
We have done the same configuration settings for all the systems. We have rebooted the services, system, removed the systems from Providers and re-added it but no change. We have got the configuration reviewed by MS SME over screen sharing and no config issue is observed.
We have a go-live next week, and this issue is a showstopper. Please help me fix this issue.
Let me know if you need any other details from my end.
Regards,
Raja Sekhar

Hi @RajaKavila ,
Thank you for reaching out to us. I could check from the logs that there may have a few app server(s) that are offline in your landscape. This is a known issue for us where if you have any application server offline, we are unable to collect RFC metrics from the source system, the fix would be in production with in next few weeks.
To unblock you, the work around is that you create a new NetWeaver provider with the "Application Server" property using hostname/fully qualified domain name, and not the IP address.

Rest assured I am happy to get on a call with you if you still have questions.

Hi Devansh,
We have tried adding using FQDN but we are getting following error when trying to add using hostname. Please check and assist with the next steps.

Let me know if you need any other details from our end.

Hi Devansh,
Can we get into a call to check this?

Hi Devansh,
We have a go live this weekend starting from Friday and this is a pre-requisite for the go-live to happen. Go-live will be in jeopardy if this is not resolved before that. Hence, this is kind of super critical for us. I have already reached out to MS SMEs, and we are having daily calls, but they are also pointing to get help from you.
Hence, I need to have a call with you at the earliest feasible today itself. We work in IST time zone. If you can share your earliest time, you are available in IST, we can have a call.

Hi @siagrawal,
I just received your message. It is already 10mins past 2:30pm. We can have the call now. Will you be sending the invite to me?

@RajaKavila
Scheduled a meeting for 3:30 PM IST,
Microsoft Teams meeting
Join on your computer, mobile app or room device
[Click here to join the meeting]
Meeting ID: 248 172 865 389
Passcode: o2QBFK
Download Teams | Join on the web

@RajaKavila
3:00 PM works, please join

As discussed in call I am closing this ticket. Issue being discussed in other forum
Kind Regards

Hi @edwardmeade1
Do not close this ticket. We never agreed to close the ticket. Devansh was working with me on the same ticket.

Hi @edwardmeade1
Reopen this ticket and confirm. It is not ok to close a ticket without solving an issue. There is no other forum this issue is being discussed upon.

Hi @RajaKavila ,
We had a call today with rest of your team at 8pm IST. There we saw that as FQDN details were entered correctly, that SID S01, D01 and R01 are currently working as expected. Only current issue is for SID D02 with is an authentication issue. There is an action on your team to validate username and password details.
Your team have raised a ticket with our support partners. The rest of your team confirmed it was okay for us to resolve this issue, as it is a duplicate of issue raised by them with our support partners.
Sorry if any confusion has made however we are actively working with your team.
Kind Regards

Hi @edwardmeade1,
Thanks for the update. I am sorry that I was not aware of the call at 8pm IST as I was in another call, and I was still referring to our call today morning. My bad and thanks for the help so far. For the 3 systems, S01, D01 and R01, things look good so far.
You can keep this ticket closed. I will raise a new ticket should I need any other help.


Create build.json for release page

@cmaloney: you wanna sketch out what the build.json metadata is gonna look like? We could just hardcode one for EA until it's auto-generated.

@ashenden we can't finalise this page without this, can you let us know when we could get this part?

Understood.  Let's leave this in limbo for now.  Once @cmaloney is ready to support us on this, we can pick it back up again.
@cmaloney if you happen to have a rough idea of how you'd formate the JSON, we can at least hook this up with dummy data.

Ticket just got bumped out of the 1.8.0 release backlog: https://dcosjira.atlassian.net/browse/DCOS-86


ConvertTo-Json doesn't place type hint correctly

In Windows PowerShell, if converting an object to JSON that has a type hint __type, it would correctly place the type hint as the first property in the JSON output.  This is a requirement of some APIs (including WCF-based APIs, see here: https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/stand-alone-json-serialization#type-hint-position-in-json-objects)
In PowerShell Core, this ordering is no longer enforced.
Expected Output (Example from Windows PowerShell):
C:\> [PSCustomObject]@{ param1 = "test"; __type = "sometype"; param2 = "test" } | ConvertTo-Json
{
    "__type":  "sometype",
    "param1":  "test",
    "param2":  "test"
}

Actual Output:
C:\> [PSCustomObject]@{ param1 = "test"; __type = "sometype"; param2 = "test" } | ConvertTo-Json
{
  "param1": "test",
  "__type": "sometype",
  "param2": "test"
}

Version Data:
Name                           Value
----                           -----
PSVersion                      6.2.0
PSEdition                      Core
GitCommitId                    6.2.0
OS                             Microsoft Windows 10.0.17134
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

As I understand it, it's the hashtable where the ordering is not guaranteed, and technically never has been, even if the results normally came out alphabetically sorted.
You should be able to use [pscustomobject][ordered]@{__type="foo", param1 = ""...} to maintain a specific order and put the type hint first in the associative array.

You're not wrong, but it looks like the API used in Windows PowerShell had a special case for type hints which should likely be mimicked in the new APIs used for 6.0+

I should clarify, I'm specifically running into this problem with PowerShell classes.  I just used PSCustomObject for the example.  Sure, I could work-around this by placing __type first in the class (as Cirzen recommends), but this doesn't work when sub-classing:
class BaseClass {
    $__type = "BaseClass"
    $baseprop = "value"
}

class SubClass : BaseClass {
    $subprop
    SubClass() {
        $this.__type = "SomeClass"
    }
}

$test = [SubClass]::new()
$test | ConvertTo-Json

Windows PowerShell output:
{
    "__type":  "SomeClass",
    "subprop":  null,
    "baseprop":  "value"
}

PowerShell Core output:
{
  "subprop": null,
  "__type": "SomeClass",
  "baseprop": "value"
}

Yeah, this definitely should be handled by the json serializer.
/cc @markekraus is this potentially a simple fix? 🙂

I found a workaround for the sub-classing problem: just redefine the property on the subclass rather than reusing the inherited property (as I did in my earlier example):
class BaseClass {
    $__type = "BaseClass"
    $baseprop = "value"
}

class SubClass : BaseClass {
    $__type = "SubClass"
    $subprop = "anothervalue"
}

$test = [SubClass]::new()
$test | ConvertTo-Json

Output:
{
  "__type": "SubClass",
  "subprop": "anothervalue",
  "baseprop": "value"
}

This works on both 5.1.17134.858 and 7.0.0-rc.3.  I have not tested on other versions.


Repository Structure

The current repository structure can be improved. The main issue is that Selflow should support plugins in any language.
The current structure is a mix of the standard go structure and the nx structure. Maybe refactoring the code only to use the nx structure is a better idea.
This can looks like something like this:
.
├── apps              # Applications and e2e tests for those applications
├── libs
│   ├── core          # Selflow core-libraries
│   ├── [app-name]    # Libraries specifics to [app-name]
│   ├── protos        # Protobufs
│   └── ui            # Libraries shared by all UI projects
├── docs              # Markdown documentation
└── assets            # Assets for the main README

I'm open to suggestions

I think it's sane, and it looks pretty good !
One note, since nx 17, you don't have to stick with apps and libs (see as provided vs. derived), but I think the separation is a good thing. This will allow for expansion with a bit of isolations needed :)

Thank's @beaussan!
I missed this new feature! That's very interesting! Currently, the repository is still using version 15 of NX. But I plan to migrate it to NX 17 in the next few weeks, mainly for dynamic targets (for all the Go projects) and the possibilities offered by the evolution of the nx show command.
If you have any recommendations, I would be happy to hear them!

The dinamic target is definitely interesting, I've fiddled a bit with them last month and I love what they enable. I could be useful for a polyglot repo, that's for sure!


Fix nightly tests

Nightly run looks like it's going to pass (did locally).

THe nightly failures were in tests we don't own or CI problems.


Possible missing parameter 1 value

I see the following event in the Event Viewer of my Windows 10 Pro 1803 system:
The computer has rebooted from a bugcheck.  The bugcheck was: 0x000000e6 (0x0000000000000026, 0xffffd08bb1435060, 0x0000000000000040, 0x0000000000000006).
The first parameter, 0x26, is not shown in the list above.

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

ID: b26a9559-aee1-4875-0060-d713a80133dd
Version Independent ID: 27ed6e22-357d-3d01-16c0-eaa727e5ec1d
Content: Bug Check 0xE6 DRIVER_VERIFIER_DMA_VIOLATION - Windows drivers
Content Source: windows-driver-docs-pr/debugger/bug-check-0xe6--driver-verifier-dma-violation.md
Product: windows-hardware
GitHub Login: @DOMARS
Microsoft Alias: domars

I have the same problem. In case it's not linked, the webpage he's referring to is at https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0xe6--driver-verifier-dma-violation

Same issue here with Windows 10.
The bugcheck was: 0x000000e6<PHONE_NUMBER>000026, ffff950d53459060,<PHONE_NUMBER>000027,<PHONE_NUMBER>000006).

Mine is almost identical to the others posted:
0x000000e6 (0x0000000000000026, 0xffffd48b9ae8d060, 0x0000000000000024, 0x0000000000000006)

For what it's worth WinDbg maps 0x26 to the following description: IOMMU detected DMA violation.
Here's the header of a bugcheck analysis with the same bugcheck code and first argument:
DRIVER_VERIFIER_DMA_VIOLATION (e6)
An illegal DMA operation was attempted by a driver being verified.
Arguments:
Arg1:<PHONE_NUMBER>000026, IOMMU detected DMA violation.
Arg2: ffffb90c3e547060, Device Object of faulting device.
Arg3:<PHONE_NUMBER>000025, Faulting information (usually faulting physical address).
Arg4:<PHONE_NUMBER>000006, Fault type (hardware specific).

Same problem here with parameter 1 26 since 2 or 3 days. Seems like some driver or update broke something.

@hunger1 - I will check with the dev team to work on updates here.
In the meantime don't forget the use of !analyze to display bug check information, like this:
0: kd> !analyze -show 0xe6 0x26
DRIVER_VERIFIER_DMA_VIOLATION (e6)
An illegal DMA operation was attempted by a driver being verified.
Arguments:
Arg1:<PHONE_NUMBER>000026, IOMMU detected DMA violation.
Arg2:<PHONE_NUMBER>000000, Device Object of faulting device.
Arg3:<PHONE_NUMBER>000000, Faulting information (usually faulting physical address).
Arg4:<PHONE_NUMBER>000000, Fault type (hardware specific).

In my case the ASMedia driver caused this. The latest driver introduced some new setting:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\asmtxhci\Parameters
"DmaRemappingCompatible"
Uninstalling the driver doesn't help because the key will stay in the registry.
Deleting the key fixed the bluescreens.
BR

@hunger1 - The topic now includes an updated list of parameters. Thanks for your input on this stop code.


DiffCompression: use map and add test

diffCompressionMap is a map that maps the base media types to their corresponding compression values.
The switch statement is replaced by a simple lookup in diffCompressionMap.
The logic for detecting compression in ocispec.MediaTypeImageLayer is simplified using a switch statement.
add test

I don't think we should take this change. The original logic is already simple enough and this still has the same level of complexity in terms of switching. The original logic also avoid needing an additional static variable.

I don't think we should take this change. The original logic is already simple enough and this still has the same level of complexity in terms of switching. The original logic also avoid needing an additional static variable.

My idea is that it will be easier to add new ones in the future. If you think this modification is unacceptable, then I will close it

/ok-to-test

@helen-frank I agree with Derek. Currently, the image media type is fixed and switch logic is very straightforward.
So I am going to close it. Thanks for the contribution.