Add ability to specify min/max block counts on StreamBlock

This pull request resolves the required parameters named min_num and max_num for the StreamBlock, see issue #2514.

Hi, I have added the extra parameter min_max_fields
In order to validate the limits of a specific field within the block.
It is useful, to limit that only 2 videos can be added, in a block and where they find more elements.
What do you think of that? @m1kola

I like the idea of being able to set min and max values at any level, but it seems to me that this logic should be handled somewhere else (not is StreamBlock).
At the moment, there is one basic class called FieldBlock for all simple blocks (like CharBlock, TextBlock, URLBlock and many others) and there are three basic classes  for complex blocks: StructBlock, ListBlock and StreamBlock. I think we should handle each type as it was done for StreamBlock in 4ee94e47a6074fcd281d4da7d1a2671d72df5bcb.
I mean something like this:
class HomePageBodyBlock(blocks.StreamBlock):
    # Allow only 10 images per HomePageBodyBlock
    image = ImageChooserBlock(max_num=10)

    # Allow only 10 quotations per HomePageBodyBlock
    quotation = blocks.StructBlock([
        # What should we do with max_num in StructBlocks? Just ignore?
        ('text', blocks.TextBlock(max_num=10)),
        ('author', blocks.CharBlock()),
    ], max_num=10)

    # No limit for single videos
    video = EmbedBlock()

    # Allow only 2 lists with videos. Each list can contain up to 5 videos.
    list_of_videos = blocks.ListBlock(
        EmbedBlock(max_num=5)
    , max_num=2)

    class Meta:
        icon='cogs'

class HomePage(Page):
    # Allow only one HomePageBodyBlock per the body StreamField
    body = StreamField(HomePageBodyBlock(max_num=1))

@gasman I think we need your opinion here.

@m1kola I understand you
Was useful for my, for the fact that I can have a single block of components, and use it on many pages with different restrictions.

@m1kola I think the min_num / max_num definitions should be on the container block (i.e. the way that this PR does it), not the child. A business rule such as "this StreamBlock can contain up to 5 RichTextBlocks" is describing the behaviour of the StreamBlock, not the RichTextBlock.

Can we use max and min num in wagtail 1.12.2?

@burakk Yep, see the documentation at http://docs.wagtail.io/en/v1.12.2/topics/streamfield.html#streamblock.


Navigation

Now that we are starting to get some pages posted, will need to consider some type of primary navigation.

Closed in https://github.com/alexcarpenter/frontend-foundations/pull/24


Wordpress Permalinks not functioning as before

Problem description
Using the method outlined here (https://github.com/WPN-XM/WPN-XM/issues/393) I was able to run the program with no issues since 2016 (on and off), permalinks etc working fine
I tried yesterday and found that something seems to have changed in win 10 as I needed to change the config so that it used port 8070
Easy to do and I made the relevant changes in hosts, nginx.config, wordpress.conf so that it would use 8070
Firefox can’t find the server at wordpress.dev. when I go to http://wordpress.dev/wp-admin/setup-config.php
The non dev site functions as expected
The control panel interface continues to show nginx using 80 https://puu.sh/too4C/16c9dec947.png
Belated happy new year

Hey!
Thank you for the issue report.

Easy to do and I made the relevant changes in hosts, nginx.config, wordpress.conf so that it would use 8070

That won't work! Because the hosts file can't handle ports. It only resolves names.
before: <IP_ADDRESS>                 wordpress.dev
after:     <IP_ADDRESS>:8070       wordpress.dev // invalid syntax

Firefox can’t find the server at wordpress.dev

The invalid hosts file entry is the reason.
You could use the browser to select the port.
For instance with by using a bookmark http://wordpress.dev:8070/, which resolves to <IP_ADDRESS>:8070.
This is of course a workaround.
I guess, the real solution to your issue would mean to find out, why WP isn't served anymore at the old port.

The control panel interface continues to show nginx using 80
That's a bug of the SCP. It's already fixed and ships with the next version.
It will display the port(s) and names used in Nginx's config file.
I've prepared a tooltip overlay. It's a tiny display, which shows all "port to servername" relations.

Belated happy new year
Thank you! And also to you!

Regards, Jens

For any others having this issue I found the cause to be MsDepSvc which is the web deployment service

Thank for the feedback. I've updated the FAQ accordingly.

Credit where credit is due, http://www.devside.net/wamp-server/opening-up-port-80-for-apache-to-use-on-windows
Best article on port 80 issues I found, after much Googling.


CIN banner

Pull request overview
Give a general description of why a change is being made, include issue number(s) being fixed if relevant
Pull request checklist
Please check if your PR fulfils the following:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] Tests have been run locally and are passing (run_tests_locally())
[ ] Code is styled according to tidyverse styling (checked locally with tidy_code())

What is the current behaviour?
Please describe the current behaviour that you are modifying, or link to a relevant issue. Include screenshots for UI changes where possible.
What is the new behaviour?
Please describe the behaviour or changes that are being added by this PR. Include screenshots for UI changes where possible.
Anything else
Add any notes for people reviewing and testing your code that are appropriate. Tag a @person to review if someone in particular needs to see this.

@rmbielby @chfoster For some reason, we can't update any of the tests. Can anyone on the EES side update the tests please?


docs: Fix issue of Coming Soon logos not responsive for smaller screen sizes

Purpose
$subject.
Related Issues

https://github.com/asgardeo/mobile-ui-sdks/issues/34

Let's add a screenshot if possible.


Show month name in navigation

Hi Matt.
 Everything works fine, and I can navigate through different months with the previous and next buttons. But I can't see no month name at all. What am I missing?
Thank you very much. Your calendar is helping me much.

You need to bind the title to a variable like in the demo:
https://github.com/mattlewis92/angular-bootstrap-calendar/blob/master/index.html#L88 and then you can just display it in your template like so:
https://github.com/mattlewis92/angular-bootstrap-calendar/blob/master/index.html#L39
:smile:

That was! Thanks again Matt.


Fix for new discussion button width

See https://github.com/flarum/core/issues/1487 for details.

I don't think this fix will work in the context of a fix for https://github.com/flarum/core/issues/1486. The two issues are closely related so I think it will be easier to just have one PR that tackles both of them.

@tobscure I completely agree with your decision and it seems smart, but until we get the redesign for the tags page, it may be better if we fix this temporarily as we already have the fix.
We also don't have any point in having separate lines of code for the same button in different pages. These are the exact same buttons but one operates with auto and the other operates with 100%.

A fix for flarum/core#1486 and this is slated for beta 8.


[#158] [Generate project with Mason] Migrate Flutter project module generating step

Solves #158

What happened 👀

Update project_name for the Flutter project directory
Update project_name, app_name, app_version, build_number for Dart files.

Insight 📝
N/A
Proof Of Work 📹
The new Flutter project structure:

Log:
 ~/Desktop/nimble/github/flutter_templates  feature/158-…ule-to-mason !11  mason make template -o generated/                                                                                 ✔  flutter_templates   14:42:25
? Project name? (your_project_name) Manh Project
? Package name? (co.nimblehq.template) com.manh.test
? App name? (Your App Name) Manh Test
? App version? (0.1.0) 1.2.0
? Build number?  Rebased again 🙏

@manh-t It seems Mark modified & introduced some new components in this PR for the iOS module https://github.com/nimblehq/flutter-templates/pull/153. To have better code synchronizing & avoid conflicting for the Mason migration, do you think it's better to merge https://github.com/nimblehq/flutter-templates/pull/153 first and then rebase this PR again to ensure all components are in synchronized 💭

@luongvo #153 is targeting to develop branch. If we merge develop to feature/mason-integration now, the conflict can happen, and we may need to resolve it. Why don't we merge this PR to feature/mason-integration and resolve the conflict when synchronizing develop to feature/mason-integration? 😄 It is a one-time conflict.
Otherwise, when we merge develop to feature/mason-integration, we have to resolve the conflict. Then we rebase this PR, we need to resolve the conflict too. 💭 What do you think?


Search in Control Panel still big after install

I dont have much else to say, here's a screenshot :

Yes, I know it, unfortunately it is also present in some apps Open/Save dialogs.
I'm not sure if it is possible to do something with it at the moment.

Yes, I know it, unfortunately it is also present in some apps Open/Save dialogs. I'm not sure if it is possible to do something with it at the moment.

Ah, no problem, i'll be patient until you maybe find a solution :)


fix calculation of current length

there is a tiny bug in calculation of remaining length, this pr fixes that

Im using this code for more than 1 year now, and I never seen that issue >_<
Nice catch!


Add support for PFADD command

Add support for the PFADD command in DiceDB similar to the PFADD command in Redis. Please refer to the following commit in Redis to understand the implementation specifics - source.
Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5. For integration tests, you can refer to the tests folder. Note: they have used TCL for the test suite, and we need to port that to our way of writing integration tests using the relevant helper methods. Please refer to our tests directory.
For the command, benchmark the code and measure the time taken and memory allocs using benchmem and try to keep them to the bare minimum.

Assigned to myself.

Assigned to myself @JyotinderSingh / @arpitbbhayani

@Vsareen0 how close are we to completing this? what is ETA?

Hey @arpitbbhayani Sorry for the delay, will try to close this by this Sunday.

hey @arpitbbhayani Sorry for time consumption, I tried but unable to write implementation for this. You can reassign to someone else.

Thanks @Vsareen0 for the update.
cc @JyotinderSingh Please open it for everyone and someone else can pick this up.

Hey @JyotinderSingh , I would like to take this up.

Have started working on this as part of assigned issue.

@JyotinderSingh we can close this issue as implemented as part of PR here.


featureAdd hide config to hide config in webserver for safety.

Proposed changes
Issue Number: close #13254
Problem summary
Webserver on BE has no authorization verification. Anyone can get the config for be.
It is not safe for online system.
So I need to add a parameter to hide the config.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

If config's security is a problem, then why not add a config to disable all http APIs in BE?

If config's security is a problem, then why not add a config to disable all http APIs in BE?
The other webserver pages are still useful, and they are only monitor infomations.
Webserver is still useful in Be, shutdown will cause BE not work suitable.


File hierarchy changes, route changes, and login updates

File hiearchy:

All non-react/redux related code put in resources folder in the src directory.
slices folder moved to src directory
body folder renamed to "dashboard ", login folder contains login-related components, and new folder for landing page created
All components in the dashboard of the app moved to the dashboard folder

Routing:

login route added and login page moved to this route
root route leads to landing page, which currently automatically redirects to login route

Login:

login authentication is performed in the dashboard now
we are now getting cookies using document.cookie rather than the react-cookies package, which has caused some issues with react-router in its cookie wrapper component which it uses to send cookies into our components as props.

Other small changes

Small toast polishing here and there.

Looks good.


RFC : Set addrspace info for various builtins

Usecases are described on https://github.com/iovisor/bpftrace/issues/614
https://github.com/iovisor/bpftrace/pull/1427

Implemented usecases:

*addr(), str(addr) -> Use bpf_probe_read_kernel or
bpf_probe_read_user based on addrspace context.
Addrspace context:

kprobe, kretprobe, kfunc, kretfunc, tracepoints without syscalls
-> bpf_probe_read_kernel
usdt, uprobes, uretprobes, usdt, tracepoint with syscalls
-> bpf_probe_read_user

*uptr(addr), str(uptr(addr)) -> use bpf_probe_read_user

*kptr(addr), str(kptr(addr)) -> use bpf_probe_read_kernel

argX, retval on kernel context -> bpf_probe_read_kernel

argX, retval  on user context -> bpf_probe_read_user

args->field -> bpf_probe_read_user

Checklist

[ ] Language changes are updated in docs/reference_guide.md
[x] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

I will do few more minor changes here, before review. Thank you.

Right now, I could successfully resolve to either bpf_probe_read_kernel/user for newer kernel.
Two exceptions:

bpftrace -e 'usdt::tracetest:testprobe { printf("%s\n", arg1 ); exit(); }' -p $(pidof usdt_semaphore_test)
bpftrace -e 'usdt:./testprogs/usdt_semaphore_test:tracetest:testprobe { printf("%s\n", str(arg1) ); exit(); }' --usdt-file-activation

Nice! The inline comments are useful.
Does this handle syscall tracepoints correctly too? Data for those is usually coming from userspace, e.g. t:syscalls:sys_enter_openat { @=str(args->filename); }

Yes, this is handled. Added a case in builtin_args_tracepoint()

Question: @fbs, I used single_provider_type() to get the provider in certain cases and resolve the addrspace. If you can share some scenarios/examples where this could be different, that would be great.. Thnx

@fbs, @danobi
bpftrace -e 'kretprobe:vfs_read,uretprobe:sample:read  { printf("%s ", retval); }'

In this case, it is not possible to find the addrspace.
So, when the probe type is invalid (single_provider_type()), I will have to set the AddrSpace to none (which get resolved to bpf_probe_read). Atleast, here we wont introduce regression for x86, if any applications are using this assumptions. In this case, we cant help for arch with split addrspace.
I think, we should also define what combinations are allowed. From my point of view, we should ideally not allow this combination to happen and its not possible to know the addrspace.

One can separtely use bpftrace -e kretprobe:vfs_read {} followed by bpftrace -e uretprobe:sample:read {}

Thanks.

Ok. I see single_provider_type and checks are performed for "args" and "retval"

"reg" and "kaddr" use same type as before. Just to prevent regression, if any.
AddrSpace::none is used as default, when addrspace cannot be detected. Also to provide backward compatibility. There might be some usecase, old applications are still using.

Also see tools/runqlen.bt, builtin.ctx runtime test.

Now the codegen tests should work fine for both older kernel and newer kernel. Hence, we can probably enable probe_read_user/probe_read_kernel in ci.

Kind ping. Request for review @fbs, @danobi . Thank you.
W.r.t qemu tcg + s390x, I tried booting and packaging using debootstrap.  Simple tasks works, Yet to come up with full working state along with bpftrace. I will try to come up with the solution soon. May be cross compilation of bpftrace would also help, if compilation takes long in emulated platform.

Well, compilation does take a lot of time with qemu-tcg. Also runtime tests may timeout and might need some adjustment.

sudo ./src/bpftrace -e 'f:vfs_open { printf("open path: %s\n", str(args->path->dentry->d_name.name)); }'

This uses bpf_probe_read() and bpf_probe_read_str(). Isn't it supposed to use bpf_probe_read_kern() and bpf_probe_read_kern_str()?
  bytecode
Bytecode:
0: (bf) r6 = r1
1: (b7) r1 = 0
2: (7b) *(u64 *)(r10 -144) = r1
last_idx 2 first_idx 0
regs=2 stack=0 before 1: (b7) r1 = 0
3: (7b) *(u64 *)(r10 -136) = r1
4: (7b) *(u64 *)(r10 -128) = r1
5: (7b) *(u64 *)(r10 -120) = r1
6: (7b) *(u64 *)(r10 -112) = r1
7: (7b) *(u64 *)(r10 -104) = r1
8: (7b) *(u64 *)(r10 -96) = r1
9: (7b) *(u64 *)(r10 -88) = r1
10: (7b) *(u64 *)(r10 -80) = r1
11: (7b) *(u64 *)(r10 -72) = r1
12: (7b) *(u64 *)(r10 -64) = r1
13: (7b) *(u64 *)(r10 -56) = r1
14: (7b) *(u64 *)(r10 -48) = r1
15: (7b) *(u64 *)(r10 -40) = r1
16: (7b) *(u64 *)(r10 -32) = r1
17: (7b) *(u64 *)(r10 -24) = r1
18: (7b) *(u64 *)(r10 -16) = r1
19: (79) r3 = *(u64 *)(r6 +0)
func 'vfs_open' arg0 has btf_id 1006 type STRUCT 'path'
20: (07) r3 += 8
21: (bf) r1 = r10
22: (07) r1 += -8
23: (b7) r2 = 8
24: (85) call bpf_probe_read#4
last_idx 24 first_idx 0
regs=4 stack=0 before 23: (b7) r2 = 8
25: (79) r3 = *(u64 *)(r10 -8)
26: (07) r3 += 40
27: (bf) r1 = r10
28: (07) r1 += -8
29: (b7) r2 = 8
30: (85) call bpf_probe_read#4
last_idx 30 first_idx 0
regs=4 stack=0 before 29: (b7) r2 = 8
31: (79) r3 = *(u64 *)(r10 -8)
32: (bf) r1 = r10
33: (07) r1 += -72
34: (b7) r2 = 64
35: (85) call bpf_probe_read_str#45
last_idx 35 first_idx 31
regs=4 stack=0 before 34: (b7) r2 = 64
36: (79) r1 = *(u64 *)(r10 -72)
37: (7b) *(u64 *)(r10 -136) = r1
38: (79) r1 = *(u64 *)(r10 -64)
39: (7b) *(u64 *)(r10 -128) = r1
40: (79) r1 = *(u64 *)(r10 -56)
41: (7b) *(u64 *)(r10 -120) = r1
42: (79) r1 = *(u64 *)(r10 -48)
43: (7b) *(u64 *)(r10 -112) = r1
44: (79) r1 = *(u64 *)(r10 -40)
45: (7b) *(u64 *)(r10 -104) = r1
46: (79) r1 = *(u64 *)(r10 -32)
47: (7b) *(u64 *)(r10 -96) = r1
48: (79) r1 = *(u64 *)(r10 -24)
49: (7b) *(u64 *)(r10 -88) = r1
50: (79) r1 = *(u64 *)(r10 -16)
51: (7b) *(u64 *)(r10 -80) = r1
52: (18) r7 = 0xffff942999432200
54: (85) call bpf_get_smp_processor_id#8
55: (bf) r4 = r10
56: (07) r4 += -144
57: (bf) r1 = r6
58: (bf) r2 = r7
59: (bf) r3 = r0
60: (b7) r5 = 72
61: (85) call bpf_perf_event_output#25
last_idx 61 first_idx 55
regs=20 stack=0 before 60: (b7) r5 = 72
62: (b7) r0 = 0
63: (95) exit
processed 63 insns (limit 1000000) max_states_per_insn 0 total_states 2 peak_states 2 mark_read 2

Another issue:
% sudo ./src/bpftrace  -e 'uprobe:/bin/bash:readline { printf("PS1: %s\n", str(*(curtask->mm->mmap->vm_start + uaddr("ps1_prompt")))); }' -kk
Attaching 1 probe...
stdin:1:49-54: WARNING: Failed to probe_read_kernel: Bad address (-14)
uprobe:/bin/bash:readline { printf("PS1: %s\n", str(*(curtask->mm->mmap->vm_start + uaddr("ps1_prompt")))); }
                                                ~~~~~
stdin:1:49-106: WARNING: Failed to probe_read_str: Bad address (-14)
uprobe:/bin/bash:readline { printf("PS1: %s\n", str(*(curtask->mm->mmap->vm_start + uaddr("ps1_prompt")))); }
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PS1:

sudo ./src/bpftrace -e 'f:vfs_open { printf("open path: %s\n", str(args->path->dentry->d_name.name)); }'

This uses bpf_probe_read() and bpf_probe_read_str(). Isn't it supposed to use bpf_probe_read_kern() and bpf_probe_read_kern_str()?
bytecode

Nice. I will add a case in FieldAccess to resolve this.

Another issue:
% sudo ./src/bpftrace  -e 'uprobe:/bin/bash:readline { printf("PS1: %s\n", str(*(curtask->mm->mmap->vm_start + uaddr("ps1_prompt")))); }' -kk
Attaching 1 probe...
stdin:1:49-54: WARNING: Failed to probe_read_kernel: Bad address (-14)
uprobe:/bin/bash:readline { printf("PS1: %s\n", str(*(curtask->mm->mmap->vm_start + uaddr("ps1_prompt")))); }
                                                ~~~~~
stdin:1:49-106: WARNING: Failed to probe_read_str: Bad address (-14)
uprobe:/bin/bash:readline { printf("PS1: %s\n", str(*(curtask->mm->mmap->vm_start + uaddr("ps1_prompt")))); }
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PS1:

edit: I realized that since curtask is in kaddrspace, we need to use uptr() in this case.

Ok, Will change it.

Based on the provider type, curtask addrspace shall be selected.
If we use different providers in this case, then we end up in AddrSpace::none, which would translate to bpf_probe_read in x86.
If this is not allowed, we can also add a additional check.

Thank you

@sumanthkorikkar
To be clear, it is OK that curtask has kaddrspace. The problem here is curtask->mm->mmap->vm_start + uaddr("ps1_prompt")  has kaddrspace but it should do uaddrspace (btw, curtask->mm->mmap->vm_start is added to cope with ASLR). I'm not sure how we should handle kaddrspace + uaddrspace in general, but making it addrspace::none would preserve the current behavior.

@sumanthkorikkar
To be clear, it is OK that curtask has kaddrspace. The problem here is curtask->mm->mmap->vm_start + uaddr("ps1_prompt") has kaddrspace but it should do uaddrspace (btw, curtask->mm->mmap->vm_start is added to cope with ASLR). I'm not sure how we should handle kaddrspace + uaddrspace in general, but making it addrspace::none would preserve the current behavior.

Ok, correct. Could we have something like, For binop: ?

If lhs or rhs is none, then take the addrspace which is set
if both lhs, rhs is none, then addrspace is none.
if lhs or rhs has different addrspace (not none), then set the addrspace to none -> to preserve the behaviour for x86. May be also provide a warning?

Ok, correct. Could we have something like, For binop: ?

If lhs or rhs is none, then take the addrspace which is set
if both lhs, rhs is none, then addrspace is none.
if lhs or rhs has different addrspace (not none), then set the addrspace to none -> to preserve the behaviour for x86. May be also provide a warning?

Seems reasonable to me. +1 for adding a warning if addrspace becomes none.

@mmisono . Added changes.

For Binop, added usecases for mixed types. User is provided with warning once, if there is a addrspace mismatch for binop and the addrspace is set to None.
When selecting the probe: If the new probe read functions are available and Addrspace is still None, then the warning is issued only once, instead of repeated warnings. [ example multiple deferences ]
Added a missing usecase in FieldAccess [ kfarg ]

Thanks

I'm not a fan of the bpftrace/tests: Rewrite codegen tests for probe read commit. How does it know when to use user over the _kernel version of the helper?
With mockbpffeature we can control the has_helper_probe_read_kernel() behaviour. I think we can have it on by default.

I'm not a fan of the bpftrace/tests: Rewrite codegen tests for probe read commit. How does it know when to use user over the _kernel version of the helper?
With mockbpffeature we can control the has_helper_probe_read_kernel() behaviour. I think we can have it on by default.

I agree. I didnt know about mockbpffeature :)
But I suspect releases like bionic still dont have this helper. In this case, codegen tests would just fail. Hence, I had to somewhat manually add entries like probe_read|probe_read_user in expected ir code.  Let me know your thoughts. Thanks

* But I suspect releases like bionic still dont have this helper. In this case, codegen tests would just fail. Hence, I had to somewhat manually add entries like probe_read|probe_read_user in **expected ir code**.  Let me know your thoughts. Thanks

Codegen tests aren't loaded into the kernel, so they shouldn't fail :).

* But I suspect releases like bionic still dont have this helper. In this case, codegen tests would just fail. Hence, I had to somewhat manually add entries like probe_read|probe_read_user in **expected ir code**.  Let me know your thoughts. Thanks

Codegen tests aren't loaded into the kernel, so they shouldn't fail :).

Yes :) As, I was thinking about runtime select probe read helper... I will remove this commit and use mockbpffeature as suggested by you. Makes things much simpler then..

For codegen tests: As per my understanding, Setting  has_probe_read_kernel_ in mockbpffeature seems to be not enough.

In common.h, test() -> we do use mockbpffeature feature and pass by ref to semantics. However, it does not set bpftrace.feature_.
In irbuilderbpf.c -> we do use bpftrace.feature_.has_probe_read_kernel(). [ Which is not in sync with mockbpffeature ].

Hi @fbs,
Copy is restricted in bpffeature for good sake,  This doesnt look so nice. But I had to make this for codegen.

bpftrace.feature_ and MockBPFfeature are different instances and dont sync.
First point wont be a problem for semantic analyser though, as we have a ref to MockBPFfeature.

If it is fine for now, I will add this. Thanks
--- a/src/bpffeature.h
+++ b/src/bpffeature.h
@@ -30,7 +30,7 @@ protected:                                                                     \
                                                                                \
 public:                                                                        \
   bool has_helper_##name(void)                                                 \
-  {                                                                            \
+  {                                                                            \
     if (!has_##name##_.has_value())                                            \
       has_##name##_ = std::make_optional<bool>(                                \
           detect_helper(libbpf::BPF_FUNC_##name, (progtype)));                 \
@@ -92,6 +92,11 @@ public:
   DEFINE_PROG_TEST(tracepoint, libbpf::BPF_PROG_TYPE_TRACEPOINT);
   DEFINE_PROG_TEST(perf_event, libbpf::BPF_PROG_TYPE_PERF_EVENT);
   DEFINE_PROG_TEST(kfunc, libbpf::BPF_PROG_TYPE_TRACING);
+  void manual_set_probe_read_kernel()
+  {
+    has_probe_read_kernel_ = std::optional<bool>(true);
+  }
+

 protected:
   std::optional<bool> has_loop_;
diff --git a/tests/codegen/common.h b/tests/codegen/common.h
index a003d84..9544bcf 100644
--- a/tests/codegen/common.h
+++ b/tests/codegen/common.h
@@ -377,6 +377,8 @@ static void test(BPFtrace &bpftrace,
   ASSERT_EQ(driver.parse_str(input), 0);

   MockBPFfeature feature;
+  // By default, we set the codegen tests to use probe split variant
+  bpftrace.feature_.manual_set_probe_read_kernel();
   ast::SemanticAnalyser semantics(driver.root_, bpftrace, feature);
   ASSERT_EQ(semantics.analyse(), 0);
   ASSERT_EQ(semantics.create_maps(true), 0);

Ah yeah we shuffeled with that a bit. I think it makes more sense to let class bpftrace have a unique_ptr to bpffeature that way we can override it easily.

Ah yeah we shuffeled with that a bit. I think it makes more sense to let class bpftrace have a unique_ptr to bpffeature that way we can override it easily.

Ok. will try now.

Hi @fbs, @mmisono,
Done with the changes.

Use only one instance of bpffeature using unique_ptr. Needed for codegen tests
Added suggestion by mmisono.

Thanks.

Hi @fbs, @danobi, @mmisono,
Could please check if it looks good now. Looking forward to your comments and integration of this for our platform.  Thank you everyone

Small comment but I think its good for now. This probably has a bug or two but its a good base to build on imo

Small comment but I think its good for now. This probably has a bug or two but its a good base to build on imo

Ok sure. Thank you.

Kind ping.

can you fix the conflict?

Conflicts resolved - CHANGELOG.md.

@mmisono @danobi   any last comments? I don't think we're doing a release any time soon so we will still have time to land fixes and improve the addrsspace situation.

can you rebase onto master @sumanthkorikkar, i just merged #1544  to get rid of the test failure here

Done.

Minor change. Since recent commit commit be8fafc ("Positional params: handle numbers as strings") was introduced after this review.

Done.

Info: This PR fixes 26 runtime testcases on our platform. Also few tools.  This should also fix problems for ARM arch. Thanks.

\o/


dsl question about channel

@Bean
public IntegrationFlow channelFlow() {
return IntegrationFlows.from("input")
            .fixedSubscriberChannel()
            .channel("queueChannel")
            .channel("output")
		    .get();
}

Can I ask the flow.  the message got input channel, get out from input channel and then go into subscriberChannel, get out from subscriberchanel and then go into output channel and result get out from output channel and return by get?

GitHub Issues are not for asking questions; they are for reporting bugs or asking for new features.
Ask questions on Stack Overflow (tagged with spring-integration).
Also, your question is not clear. It makes no sense to have a flow with 3 channels back-to-back-to-back.


query search select columns from registered model

Is it possible to search only within select columns of the registered model. Say you have:
@whooshee.register_model('title', 'content')
class Entry(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    title = db.Column(db.String)
    content = db.Column(db.Text)

It would be great if I could only search content column by:
Entry.query.whooshee_search('chuck norris', fields=('content',)).all()

Or is it possible to do this by registering a custom woosheer? I can't quite figure out how to be able to search both 'title' and 'content', while also being able to search only 'title' or 'content' separately.

So I found that I can make a custom whoosheer to only search the 'content' column as below. However this seems to create a separate index from the original registered model. This seems a little inefficient or is that how these full text searches work? Is there something I'm missing?
@whooshee.register_whoosheer
class ContentWhoosheer(AbstractWhoosheer):
    schema = whoosh.fields.Schema(
        entry_id = whoosh.fields.NUMERIC(stored=True, unique=True),
        content = whoosh.fields.TEXT())

    models = [Entry]

    @classmethod
    def update_entry(cls, writer, entry):
        writer.update_document(entry_id=entry.id,
                               content=entry.content)

    @classmethod
    def insert_entry(cls, writer, entry):
        writer.add_document(review_id=review.id,
                               content=entry.content)

    @classmethod
    def delete_entry(cls, writer, entry):
        writer.delete_by_term('entry_id', entry.id)


Lexical or Preprocessor Issue (Xcode): 'twilio_conversations-Swift.h' file not found

Adding the package to pubspec.yaml and trying to run in an ios simulator is giving the above error.
Lexical or Preprocessor Issue (Xcode): 'twilio_conversations-Swift.h' file not found
/Users/sudhir/.pub-cache/hosted/pub.dev/flutter_twilio_chat_conversations-0.1.3/ios/Classes/TwilioConversationsPlugin.m:7:8
TwilioConversationsPlugin.m:7
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro.

+1


Add full support for pip/pypi installation

Currently, we only fully support installing both tabmat and glum through conda-forge. This would involve creating a wheel for each architecture and explaining how to install non-python packages in the installation notes.
See https://cibuildwheel.readthedocs.io/en/stable/

Fixed by #475.


HiResScreenCapture Update

You aeem to have closed this before i can merge the PR
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Oshane Thomas @.>
Sent: Tuesday, May 14, 2024 5:05:28 PM
To: SlicerMorph/SlicerMorph @.>
Cc: Subscribed @.***>
Subject: Re: [SlicerMorph/SlicerMorph] HiResScreenCapture Update (PR #325)
Closed #325https://github.com/SlicerMorph/SlicerMorph/pull/325.
—
Reply to this email directly, view it on GitHubhttps://github.com/SlicerMorph/SlicerMorph/pull/325#event-12809460054, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFCMSFENCZ7PXYZUI2E55JTZCKRERAVCNFSM6AAAAABHXDJN3SVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHAYDSNBWGAYDKNA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yeah. There are a millions commits that I want to squash first.
Oshane
Sent from my iPhone
On May 14, 2024, at 5:12 PM, muratmaga @.***> wrote:

You aeem to have closed this before i can merge the PR
Get Outlook for Androidhttps://aka.ms/AAb9ysghttps://urldefense.com/v3/__https://aka.ms/AAb9ysg*3E__;JQ!!DZ3fjg!5vj5fRUlgbdE697HkyWSzgV6RXlh819gOIyhAq9dfq96MsFO_vl5TnJxCcbcOcyLh5HAhDCxNxiKxVN2-R2ZG6J-4PL7$

From: Oshane Thomas @.>
Sent: Tuesday, May 14, 2024 5:05:28 PM
To: SlicerMorph/SlicerMorph @.>
Cc: Subscribed @.***>
Subject: Re: [SlicerMorph/SlicerMorph] HiResScreenCapture Update (PR #325)
Closed #325https://github.com/SlicerMorph/SlicerMorph/pull/325https://urldefense.com/v3/__https://github.com/SlicerMorph/SlicerMorph/pull/325*3E__;JQ!!DZ3fjg!5vj5fRUlgbdE697HkyWSzgV6RXlh819gOIyhAq9dfq96MsFO_vl5TnJxCcbcOcyLh5HAhDCxNxiKxVN2-R2ZG0OG9VUY$.
—
Reply to this email directly, view it on GitHubhttps://github.com/SlicerMorph/SlicerMorph/pull/325#event-12809460054https://urldefense.com/v3/__https://github.com/SlicerMorph/SlicerMorph/pull/325*event-12809460054*3E__;IyU!!DZ3fjg!5vj5fRUlgbdE697HkyWSzgV6RXlh819gOIyhAq9dfq96MsFO_vl5TnJxCcbcOcyLh5HAhDCxNxiKxVN2-R2ZG-U0MX_a$, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFCMSFENCZ7PXYZUI2E55JTZCKRERAVCNFSM6AAAAABHXDJN3SVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHAYDSNBWGAYDKNAhttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFCMSFENCZ7PXYZUI2E55JTZCKRERAVCNFSM6AAAAABHXDJN3SVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHAYDSNBWGAYDKNA*3E__;JQ!!DZ3fjg!5vj5fRUlgbdE697HkyWSzgV6RXlh819gOIyhAq9dfq96MsFO_vl5TnJxCcbcOcyLh5HAhDCxNxiKxVN2-R2ZG-rNO3Fg$.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/SlicerMorph/SlicerMorph/pull/325*issuecomment-2111357863__;Iw!!DZ3fjg!5vj5fRUlgbdE697HkyWSzgV6RXlh819gOIyhAq9dfq96MsFO_vl5TnJxCcbcOcyLh5HAhDCxNxiKxVN2-R2ZGyqd4b1M$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AEN5VLNOSOA23ZVVEWLAX6LZCKR65AVCNFSM6AAAAABHXDJN3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRGM2TOOBWGM__;!!DZ3fjg!5vj5fRUlgbdE697HkyWSzgV6RXlh819gOIyhAq9dfq96MsFO_vl5TnJxCcbcOcyLh5HAhDCxNxiKxVN2-R2ZG0gTvTsz$.
You are receiving this because you modified the open/close state.Message ID: @.***>


[BUG] Deleting Index does not fully work

Describe the bug
When i delete an index via the api and create a new index, the mappings and settings from the removed one are restored.
This is bad because the old index has 3300 fields and the new one would have 150 fields.
Even when i create the index with the following body the fields from the deleted index are somehow restored.
{    "mappings":{        "dynamic_templates": [],        "properties": {}    },    "settings":{    } }
I assume the index does not getting fully deleted.
Host/Environment (please complete the following information):

OS: Docker
Version opensearchproject/opensearch:1.1.0

@seriouz We are seeing the same issue today.  Are you able to share the solution?


Not able to Create Database

When I click Create Database, nothing happens. Here's what I get from console:
Traceback (most recent call last):
  File "./python3.3/subprocess.py", line 1104, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 818, in run_
    return self.run(edit)
  File "C:\Users\lubos.jerabek\AppData\Roaming\Sublime Text 3\Packages\Robot Framework Assistant\commands\scan.py", line 40, in run
    sublime.set_timeout_async(self.run_scan(file_), 0)
  File "C:\Users\lubos.jerabek\AppData\Roaming\Sublime Text 3\Packages\Robot Framework Assistant\commands\scan.py", line 55, in run_scan
    startupinfo=startupinfo
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1110, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 818, in run_
    return self.run(edit)
  File "C:\Users\lubos.jerabek\AppData\Roaming\Sublime Text 3\Packages\Robot Framework Assistant\commands\scan_and_index.py", line 53, in run
    sublime.set_timeout_async(add_builtin_vars(db_dir))
  File "C:\Users\lubos.jerabek\AppData\Roaming\Sublime Text 3\Packages\Robot Framework Assistant\commands\scan_and_index.py", line 35, in add_builtin_vars
    f_table = open(table_path, 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\lubos.jerabek\\AppData\\Roaming\\Sublime Text 3\\Packages\\Robot Framework Assistant\\database\\scanner\\BuiltIn-ca8f2e8d70641ce17b9b304086c19657.json'

In my Robot.sublime-settings file I have following customised:
"robot_framework_workspace": "C:\\Users\\lubos.jerabek\\Documents\\BitBucket\\acloudexpenses-lubos",
"robot_framework_automatic_database_update": true,
"robot_framework_database_path": "C:\\Users\\lubos.jerabek\\Documents\\BitBucket\\acloudexpenses-lubos",

When I navigate to the folder mentioned in log I can only find one file called scan_index.lol with nothing in it created at the very last moment when I ran the command. Am I doing something wrong or is it a RF Assistant issue?

Most likely there is configuration problem in your plugin settings. Would it be possible to see your settings for the plugin?

@aaltat Should I just paste here whole Robot.sublime-settings file?

{
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true,
    "draw_white_space": "all",
    "word_separators": "./\\()\"'-:,.;<>~!@#$%^&|+=[]{}`~?",
    "robot_framework_workspace": "C:\\Users\\lubos.jerabek\\Documents\\BitBucket\\acloudexpenses-lubos",
    "robot_framework_keyword_argument_format": false,
    "robot_framework_extension": "robot",
    "path_to_python": "/usr/bin/python",
    "robot_framework_module_search_path":
        [
        ],
    "robot_framework_automatic_database_update": false,
    "robot_framework_libraries_in_xml": "/path/to/library/documentation",
    "robot_framework_builtin_variables":
        [
            "${/}",
            "${:}",
            "${\\n}",
            "${CURDIR}",
            "${DEBUG_FILE}",
            "${EMPTY}",
            "@{EMPTY}",
            "&{EMPTY}",
            "${EXECDIR}",
            "${False}",
            "${LOG_FILE}",
            "${LOG_LEVEL}",
            "${None}",
            "${null}",
            "${OUTPUT_DIR}",
            "${OUTPUT_FILE}",
            "${PREV_TEST_MESSAGE}",
            "${PREV_TEST_NAME}",
            "${PREV_TEST_STATUS}",
            "${REPORT_FILE}",
            "${SPACE}",
            "${SUITE_DOCUMENTATION}",
            "${SUITE_NAME}",
            "${SUITE_SOURCE}",
            "${TEMPDIR}",
            "${TEST_DOCUMENTATION}",
            "${TEST_NAME}",
            "${True}",
            "&{SUITE_METADATA}",
            "@{TEST_TAGS}"
        ],
    "robot_framework_database_path": "C:\\Users\\lubos.jerabek\\Documents\\BitBucket\\acloudexpenses-lubos",
    "robot_framework_log_commands": false
}

It seems it's now doing something - I changed the path_to_python to C:\Python27\python.exe however I'm still not able to scan the whole repository.

Okay this one is resolved. Thanks for your help!

Good that you got the problem sorted out.
Updating the plugin internal database creates a log file, in the plugin installation directory, database/scan.log file. If someone keywords can not be found by the plugin, then the log file can provide more details why some library or test data scanning did fail.


[Dialog] The h6 DialogTitle class is applied to dialog titles instead of h2

The documentation and code both indicate that an h2 should be the default variant for DialogTitle, but the h6 class is applied.
This line of code has the component set to h2, but the variant set as h6.
https://github.com/mui-org/material-ui/blob/7df94e4235fc6fc98ec7c13710be45bdbbd86dbe/packages/material-ui/src/DialogTitle/DialogTitle.js#L24
This results in

Also see this related closed issue: https://github.com/mui-org/material-ui/issues/16569

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
.MuiTypography-h6 class is set on the DialogTitle
Expected Behavior 🤔
.MuiTypography-h2 class should be set on the DialogTitle
Steps to Reproduce 🕹
https://codesandbox.io/s/h6-bug-323pj?file=/demo.js
Context 🔦
Our h6 styling is much smaller causing the dialog titles to not stand out as expected.
Your Environment 🌎

`npx @material-ui/envinfo`
  System:
    OS: Linux 3.10 CentOS Linux 7 (Core)
  Binaries:
    Node: 12.20.1 - ~/.nvm/versions/node/v12.20.1/bin/node
    Yarn: Not Found
    npm: 6.14.10 - ~/.nvm/versions/node/v12.20.1/bin/npm
  Browsers:
    Chrome: 90.0.4430.72
    Firefox: 88.0
  npmPackages:
    @material-ui/core: ~4.11.3 => 4.11.3
    @material-ui/icons: ~4.5.1 => 4.5.1
    @material-ui/lab: ~4.0.0-alpha.44 => 4.0.0-alpha.44
    @material-ui/styles: ~4.9.13 => 4.9.13
    @material-ui/system:  4.11.3
    @material-ui/types:  5.1.0
    @material-ui/utils:  4.7.1
    @types/react: ~16.9.47 => 16.9.47
    react: ~16.9.0 => 16.9.0
    react-dom: ~16.9.0 => 16.9.0
    typescript: ~4.0.2 => 4.0.2.

After reading trough the discussion, I think that we should replace the variant to correspond to the tag used:
index 8837d98d39..817595e0f3 100644
--- a/packages/material-ui/src/DialogTitle/DialogTitle.js
+++ b/packages/material-ui/src/DialogTitle/DialogTitle.js
@@ -50,7 +50,7 @@ const DialogTitle = React.forwardRef(function DialogTitle(inProps, ref) {
       {disableTypography ? (
         children
       ) : (
-        <Typography component="h2" variant="h6">
+        <Typography component="h2" variant="h2">
           {children}
         </Typography>
       )}

Tagging @oliviertassinari as he was leading the initial discussion.

h6 is the correct typography variant, per https://material.io/components/dialogs#simple-dialog.

h6 is the correct typography variant, per https://material.io/components/dialogs#simple-dialog.

From what I can tell after reading that page, h6 isn't specified as the "correct" heading for a dialog though it is used in the Reply Material Theme and the Crane travel app theme as theming examples.

The documentation and code both indicate that an h2 should be the default variant for DialogTitle, but the h6 class is applied.

@Anna-log7 Do you have material to support this claim? More importantly, what's your root pain point? What problem are you trying to solve?

This page in the documentation https://material-ui.com/api/dialog-title/ lists h2 as the default typography variant for DialogTitle when it's not the case in reality.

My main issue is I want our application to use an h2 to match the rest of our styling for dialogs. I could use an override to solve this (and I am currently) but I thought I'd make this ticket to point out the issue for others.

Interesting, the h2 in the API description is a reference to the DOM node. The pain you have seem very much something we aim to fix in #19696. And if I understand it correctly, you want to customize the typography variant of the DialogTitle in the theme.

Fixed in ##26323


Docs: A popover of Type is incorrect in Keyof Type Operator.

Page URL:
https://www.typescriptlang.org/docs/handbook/2/keyof-types.html
Issue:
The first example of keyof operator is displayed as following:

It looks like reputation.
Recommended Fix:
Its popover should be displayed as 'type P = "x" | "y"'.
I shall think "twolash" has the cause.
I am a beginner, so comments, reviews are welcome.
We love TypeScript and thanks to members, contributors, communities, etc... of TypeScript!

Thanks, but this is exactly what you would get in the editor (because the info in the popover comes from typescript, it's not hand-written) - TypeScript keeps around names like this as much as possible before reverting to the actual values

@orta
Thanks, but I think that this example is added to comments for beginners.
Indeed, I am confused by this example.
I did not understand type P is equal to the union of key types immediately.
I suggest the following:
now:
## The `keyof` type operator

The `keyof` operator takes an object type and produces a string or numeric literal union of its keys:

```ts twoslash
type Point = { x: number; y: number };
type P = keyof Point;
//   ^?

after:
The keyof type operator
The keyof operator takes an object type and produces a string or numeric literal union of its keys.
The following type P is the same type as "x" | "y".
type Point = { x: number; y: number };
type P = keyof Point;
//   ^?

(My mother's language is not English, so the above may be unnatural.)

Yeah, I agree, this is a good idea 👍🏻

Thanks for your comment!
I will do this!

Thanks for your comment! I will do this!

great work!


Deploy Scripts

Description
Given that our product is designed to be multi-chain, it would be very convenient for users and developers if the same contracts were deployed on the same addresses across different chains. The address of an EVM smart contract is computed deterministically, with two variables: the caller (msg.sender) and the nonce (the transaction # of the msg.sender). So, for example, if a wallet's 39th transaction on 7 different chains is launching CrafterTransfer.sol, that instance of CrafterTransfer.sol will have the same address across all those chains.
Because it is so easy to mess this up, we want to make 2 checks

We want to ensure that the wallet is at the right nonce before sending the launch-contract transaction.
And we want to ensure that it is launching at the right address

Implementation
Our deploying wallet address is 0x6fd935c3BbbDf664b67e28B14236a66a7588D683. It is currently at nonce 17. So, inside the 001_Implementation folder, simply set the first contract's nonceToDeploy to 17 (skip the ProxyFactory though because we don't need to re-deploy that one. ) And the next one to 18, etc... And any time a new Implementation deploy script is added, just give it the next nonce. This isn't needed for non-Implementation scripts.
Verifying the address is slightly longer process. Use the private key for 0x6fd935c3BbbDf664b67e28B14236a66a7588D683 as your first account in the hardhat config. If you're running the deploy scripts on hardhat network, the scripts will auto burn nonces until the right nonce is reached. You just have to make sure that they are running in order. So now you have the same contracts deploying on an EVM network with the same msg.sender and the same nonce. So the address you get is what we will get on other EVM chains as well.

/cib


Update msstore-submissions.yml

Summary of the Pull Request
passive shows UI, need to use quiet flag instead

PR Checklist

[ ] Closes: #xxx
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

fuck you all


Are key stores deleted at a changed PIN or password?

The AndroidKeyStore by Google is affected by this bug: https://code.google.com/p/android/issues/detail?id=61989 . Is this project affected by it too?

More info about this topic:
https://doridori.github.io/android-security-the-forgetful-keystore/


Player client getting an error if any token is moved before game is unpaused

I have my PCs all on a scene, and one player client logged in with an owned character on the field. If I move any token (including theirs) as the GM while the game is still paused, the player client gets an error:
 this goes away after I unpause for the first time and doesn't come back if I repause. Happens on both gridless and 5ft grid scenes. No (relevant) modules (libwrapper, socketlib, modulemanagement+, find the culprit, silence compatibility warnings).

Unable to reproduce: check modules

I can't make it happen reliably, going to close, I'll post if I get something solid.


conditions with multiple fields?

For input JSON:
I have input JSON with topic fields inside child customData:
{"id":"fb1a463c-8a27-4cc2-9f0c-bd991c3802d6",
"initiatorIp": "<IP_ADDRESS>",
"topic":"topic1"
}

How would I do addIf condition based on two fields?
    rules:
          - type: add_if
            input: topic initiatorIp
            parameters: 'topic == "topic1" && initiatorIp="<IP_ADDRESS>"'
            output: compliance_boundary
            assignee: high

@ronensc
@eranra

Unfortunately, we don't support this feature currently.


Added extra commits on private blockchain and added permissioned bloc…

…kchain
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. Your PR title can be also used in here.
Types of changes
What types of changes does your content introduce to this project?
Put an x in the boxes that apply (without "`")

[ ] Proofreading (fix spelling, grammar, punctuation, accuracy) Proofreading
[ ] New content (new section, new readme, etc)
[ ] Modifications (modifying existing content, adding new content)
[ ] Other (please describe)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. Don't hesitate to ask if you're unsure about any of them. We're here to help! This is simply a reminder of what we will look for before merging your code.
Note: If you submit code make sure to test it

[ ] Tested any code that was added/modified in this PR
[ ] Added the necessary explanation
[ ] I have added the necessary links in the working section
[ ] Added external links
[ ] Added internal links
[ ] Added images
[ ] Added videos
[ ] Added code snippets

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
Adding your name in the contributors list
Comment "@all-contributors please add @your_username for content" to add your name in the contributors list.
You can change the "content" with any of this
Reviewers:

[ ] @username

If you adding code, please make sure that you are not adding any sensitive information like API keys, secrets, passwords, tokens, usernames, or other credentials. Refrain from adding your name, email, or other personal information to the code.

Merging

Merging

Thank you for recognizing me

Welcome

By the way are you part of any organization or just is it your personal project!

It's kind of my personal project.


fix: docstring for imagetorch encoder

Docstring for imagetorch encoder

Thanks a lot for the review, I have made changes as per all the suggestions.

@JoanFM @bwanglzu thanks for the re-review, the PR is up-to-date with the latest reviewed changes


MySQL+MariaDB: Format SET datatype in CREATE TABLE

MySQL (and MariaDB) have a SET datatype that resembles a bit flag:
https://dev.mysql.com/doc/refman/8.0/en/set.html
https://mariadb.com/kb/en/set-data-type/
At the moment, none of the formatting languages support this, and break the formatting for the CREATE TABLE definition (presumably because it's also a keyword).
Example (from the web demo):

Fixing this shouldn't be terribly difficult, and  it should probably be able to get the same treatment as the ENUM datatype, at least in my mind. Is this something that would be possible/easy to fix?

Hi, this issue is fixed in my fork here:
https://github.com/inferrinizzard/prettier-sql
https://www.npmjs.com/package/prettier-sql


[Frontend] User account page

To allow users to view their address and its qr code, also how many URL user already submitted.
https://www.figma.com/file/BPaDYx9xn4OFejQlUwpF4g?node-id=328:1407#424372032

Please see annotation in figma


Fix PS1-based bash shell integration

Fixes #150877

macOS bash PS1:

macOS bash PROMPT_COMMAND:

macOS bash debug trap/starship (warning is unrelated):

Linux bash PS1:

I think it's safe to assume it works in other cases on Linux too, the bash PS1 problem reproduced on macOS as well, we just didn't notice.

also fixes #150892


Compile sources with documentation.

While there is documentation on the source code, the same can not be found on the nuget, because of this, we are not able to make an efficient use of the documentation.

Thanks, @antonioortizpola. We are working on the documentation. Will add this to the list.

The latest version of the nuget packages address this issue.


define isleaf of Tagged functions

fixes #30

not sure why there are 4 builds, I canceled a couple of redundant ones.

I'll put a PR in for that. Looks good to merge.


Add OCI compatible registry.

Part of the long-term idea for pkg2 is to support directly installing collections of packages without using the original package managers.
This is already partially supported inside TinyRange with the -trplan option used to test this. That existing code has TinyRange extract the package. This is already partially supported with Alpine and Arch Linux in TinyRange.
Besides just supporting this inside TinyRange the idea came to have pkg2 implement a OCI compatible registry. The basic idea is each package is an independent archive that can be expressed as a layer in a OCI image. A minimal bit of code added to pkg2 could generate a manifest using these layers which could used a container base image.
There are a few tasks to implement this.

[x] Support emitting modified archives into the cache.
[x] Combine environment variables and scripts into a "layer".
[ ] Write an OCI compatible frontend that works with docker and podman (among others).
[ ] Write a web UI that generates a Dockerfile template that executes package scripts.

The initial version will probably only support Alpine (APK) packages.
One unsolved issue is changing the "directory" the archive is extracted to. This is possible by using image-specific blobs but that will be computationally expensive to compute hashes for.
Special thanks to @emilytrau for the original idea.

In the latest version there's now a demo of constructing valid docker images.
https://github.com/tinyrange/pkg2/blob/e70083652571a33c7970779b9ec2f1e7b7fc7523/scripts/make_docker_image.star
It can be tested with...
go run . -script scripts/make_docker_image.star -allowLocal
cp local/cache/managedCache/90616f53b228cf7ac7d6a261069a1ffb159b5f5cf77b7387c91b17c1d85fc186_1.bin gcc.tar
docker load -i gcc.tar

Then the image can be used with roughly this Dockerfile.
FROM pkg2/gcc:latest

RUN /.pkg/install.sh


Update AuthController.php

@thebasix isn't the password already hashed via a mutator in User model??

We already have a mutator for this.
https://github.com/francescomalatesta/laravel-api-boilerplate-jwt/blob/master/app/User.php#L32


Return execptions as errors

Currently exceptions thrown by the functions are passed as exceptions to the caller. Could we pass them as errors via the callback instead? @laardee? Relates to https://github.com/SC5/serverless-mocha-plugin/issues/33

Implemented in lambda-wrapper 0.2.0


Mastermind game

Describe the project you want to add with tech stack
The Mastermind game is a classic memory-based game implemented using HTML, CSS, and JavaScript. The objective of the game is to flip over pairs of cards and find matching pairs. The game continues until all cards have been matched.
Expected behavior
Following are the features of the game:
Interactive grid of cards: The game presents a grid of face-down cards that can be flipped by clicking on them.
Flipping cards: Players can click on two cards to flip them over and reveal their contents.
Match tracking: The game keeps track of flipped cards and checks for matches. If a match is found, the cards stay flipped; otherwise, they are turned back face-down.
Game completion: The game ends when all cards have been matched.
Timer: A timer displays the duration of the gameplay, allowing players to track their performance.
Move counter: The game tracks the number of moves made by the player, providing a measure of progress.
Please assign it to me as part of GSSOC'23

Please assign it to me as part of GSSOC'23


Correct Tensor order for dilation2D

gen_nn_ops.dilation2d seems to be in NHWC while the parent function was asking for NCHW.
I corrected the doc and the check.

I signed it...

Thank you for the change, I think it's correct but let me follow up with more knowledgeable folks in the TF team before I approve it.

@gabriel-vanzandycke can you also correct the converter tool to add the data_format arg? It should be parallel to the entry for erosion2d: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/compatibility/tf_upgrade_v2.py#L1525
@tomerk The converter didn't do the right thing here, can you review the change to make sure it will once @gabriel-vanzandycke is done?
@tensorflow/api-owners This is a bug affecting the API: the accepted string has changed. The old state is a bug, we need to fix it. I added relnotes.


Update storage-and-deletion.md

Improved strange sentence

@SamBouwer Thanks for the improvement, merged


common: modify MP2971 ISL69259 sensor driver to support vout scale

Summary:

Modify MP2971 ISL69259 sensor driver to support Vout scale.
Vout scale is determined by the voltage divider resistors on the circuit.

Test Plan:

Build code: PASS
Vout scale test: PASS

@Victor-Jhong can you please fix the cpp-check error

I have fixed the failing checks. Please help review. Thank you!


Animations aren't playing for GLB models

Hi, I decided to give the loader a try and was using this model: https://www.dropbox.com/scl/fi/nc2q0to7ch3d4va0nuf4n/stegosaurs_SStenops.glb?rlkey=x9mucmy17gdu8hyuh5w183ek9&dl=0 .
I previously tested the same model with GLTFKit 1.0 and the animations were intact but with the 2.0 I'm not able to play the animations. I switched the model and used another one that contains mixamo animations( https://www.dropbox.com/scl/fi/4v7tttow564c5xb73m8t3/tparc.glb?rlkey=npycsj58wpdzsa1peh5m0kv0e&dl=0 ) but didn't have much luck with that either. Can you please take a look and let me know if I'm missing something here?

Both of these assets seem to render and animate correctly in the sample viewer app on macOS. Can you provide more information about how you're trying to play animations?

The code in the iOS sample app was not properly updated during recent changes to SceneKit animation import. I've updated it.
If you just want to indefinitely loop the first animation in the asset, this updated code might be useful.
Thanks for bringing this to my awareness.

This issue will be automatically closed in seven days if no further response is received.

I appreciate the last response and am able to run animations now. The only change I had to make on top of the updated code is instead of playing the first animation I ended up playing all of them and am able to see skeletal animations as well.

Thanks for the follow-up. It's always been somewhat ambiguous which, if any, animations should be played automatically in cases like this, since it's easy to get into situations where incompatible animations are playing simultaneously with the all-or-nothing approach. I'm glad you found a solution that works for you.

Hey @warrenm Having this issue.
The code shared works great in my view using
SCNView
but the animations won't play in my AR view ARSCNView
Even thought I'm using the same model and code for playing it
           if let defaultAnimation = source.animations.first {
                        defaultAnimation.animationPlayer.animation.usesSceneTimeBase = false
                        defaultAnimation.animationPlayer.animation.repeatCount = .greatestFiniteMagnitude
                        scene.rootNode.addAnimationPlayer(defaultAnimation.animationPlayer, forKey: nil)
                        defaultAnimation.animationPlayer.play()
                    }

Please don't comment on closed issues. It's highly unlikely that you're experiencing the exact same issue as the original issue author. If you need help, please open your own issue describing (1) your platform and version; (2) exactly what you have done to diagnose the issue; and (3) a sample project demonstrating the issue, or at least a link to an asset that demonstrates the issue when loading with the sample viewers.


Clean up JSON-LD

JsonLd.svelte had a couple tiny issues that I decided to clean up.

Repeated strings to create the <script> element for body and head.
Unnecessary arrow function to create JSON content.

My commits are:

[x] Tested
[x] Linted
[x] Formatted

thank you!


ENH: Adding changes for itk::PolyLineCell

This PR adds support for itk::PolyLineCell.
First, the itk::PolyLineCell needs to be merged for this build to succeed.

Depending on the number of points in the Line we decide if LineCell of PolyLineCell needs to be created.
Changed the PolyDataToMeshFilterTest to account for LineCell having more than 2 points.
Visit for LineCell remains unchanged and a new Visit method with PolyLineCell is created.  Proposing to append the lines obtained from LineCell visitor and PolyLineCell visitor before calling outputPolyData->SetLines(lines );
Added itkPolyLineCellTest.py to test if PolylineCell conversion to polydata and back.

For Python build what tag should we use ?

Awesome @PranjalSahu !
Working on itk-5.3rc4.post1 to test the build.

Rebased on master and updated CI / Python package versions.


apex version?

Getting this error with apex==0.9.10.dev0. What is your apex version?

apex==0.1 did the job


Dot graph manipulation

I'd like to be able to get the dot graph directly so I can make use of the g object from graphviz.
I see the function dask.dot.to_graphviz. However I think it would be nice to be able to use dask.visualize to also return an in-memory construct rather than writing directly to a file. And I also think that should be generalized to be able to take a file descriptor so one can also write it directly to a IO object.
The other thing is that visualize() method has alot of logic to optimize or even construct the dsk object:
*     dsks = []
      args3 = []
      for arg in args:
          if isinstance(arg, (list, tuple, set)):
              for a in arg:
                  if isinstance(a, Mapping):
*                     dsks.append(a)
                  if is_dask_collection(a):
                      args3.append(a)
          else:
              if isinstance(arg, Mapping):
*                 dsks.append(arg)
              if is_dask_collection(arg):
                  args3.append(arg)

*     dsk = dict(collections_to_dsk(args3, optimize_graph=optimize_graph))
*     for d in dsks:
*         dsk.update(d)

If I use dask.dot.to_graphviz I'd have to do that manually. I think dask.visualize could expose this as well.
My ultimate goal is to be able to make use of the new formats: https://github.com/xflr6/graphviz/blob/master/graphviz/backend.py#L24-L62

Something like this:
def visualize(*args):

    dsks = []
    args3 = []
    for arg in args:
        if isinstance(arg, (list, tuple, set)):
            for a in arg:
                if isinstance(a, Mapping):
                    dasks.append(a)
                if dask.base.is_dask_collection(arg):
                    args3.append(a)
        else:
            if isinstance(arg, Mapping):
                dsks.append(arg)
            if dask.base.is_dask_collection(arg):
                args3.append(arg)

    dsk = dict(dask.base.collections_to_dsk(args3))

    for d in dsks:
        dsk.update(d)

    return dask.dot.to_graphviz(dsk)

But simpler.

Thanks for opening an issue @CMCDragonkai

I also think that should be generalized to be able to take a file descriptor so one can also write it directly to a IO object
My ultimate goal is to be able to make use of the new formats

Those both seem like nice improvements
Is this something you're interested in working on? If so, it may be easier to proceed through reviewing a concrete PR

Are you still interested in working on this @CMCDragonkai?


Update cache dir when bdist_pex.run called directly (#274)

Add unti test to make sure {pex_root} directory is not created
Update the cache_dir in bdist_pex

LGTM - thanks @digwanderlust


Service 'app' failed to build on Windows Server 2019

Hey,
When trying to run docker-compose up I got stuck at this error:

ERROR: Service 'app' failed to build: The command '/bin/sh -c mkdir -p /mattermost/data     && if [ "$edition" = "team" ] ; then curl https://releases.mattermost.com/$MM_VERSION/mattermost-team-$MM_VERSION-linux-amd64.tar.gz | tar -xvz ;       else curl https://releases.mattermost.com/$MM_VERSION/mattermost-$MM_VERSION-linux-amd64.tar.gz | tar -xvz ; fi     && cp /mattermost/config/config.json /config.json.save     && rm -rf /mattermost/config/config.json' returned a non-zero code:<PHONE_NUMBER>

Trying to find out which command returns<PHONE_NUMBER> (-1) I deleted all commands from the app dockerfile except of the first and found out it seems to be mkdir.
ERROR: Service 'app' failed to build: The command '/bin/sh -c mkdir -p /mattermost/data' returned a non-zero code:<PHONE_NUMBER>
The only thing I changed in the docker-compose.yml is the version (from 2 to 2.1) because I run windows and when I don't do that I always get this error:
ERROR: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version
See fix here
Running Windows Server 2019 17623 pre-release and Docker EE Preview-3 with API Version 1.33 (Client) and 1.34 (Server)
tia,
Spider

Hi !
Do you have any other log than ERROR: Service 'app' failed to build: The command '/bin/sh -c mkdir -p /mattermost/data' returned a non-zero code:<PHONE_NUMBER> ?
I don't know Windows and I don't have anything to test it. Are you able to build the following basic Dockerfile on your server ?
FROM debian:jessie

RUN mkdir /test

Hi,
Wow, your simple Dockerfile also throws an error, here is the complete output of the powershell:

PS C:\docker\images\test> docker build -t mkdir-test .
Sending build context to Docker daemon  2.048kB
Step 1/2 : FROM debian:jessie
jessie: Pulling from library/debian
f2b6b4884fc8: Pull complete
Digest: sha256:44d53bda18cc6b564cedca4bd4d7cfacce37a3f43a439ea8a73c4d8c32f53400
Status: Downloaded newer image for debian:jessie
---> 5dd74d62fab8
Step 2/2 : RUN mkdir /test
---> Running in 7adf1e9e12ed
The command '/bin/sh -c mkdir /test' returned a non-zero code:<PHONE_NUMBER>

So its not Mattermost related, I will post that in the docker github. If anyone has an Idea anyways I would be very pleased :)
Thanks,
Spider


Feature/google integration

Adds Google OAuth integration for in retrieving analytics data.
Carries out OAuth process using ueberauth_google and stores the access_token and refresh token for the team.

ping @edenspiekermann/backend

I know the renaming probably happened while you were figuring out how to implement the google auth stuff, it could have been in a separate PR, I think. But since it was not too big, it was fine.
From what I've learned so far from Phoenix, it looks good!

@zfhui
I'm okay with having the renaming as part of this PR, as it is part of the google integration. If we weren't adding google then AuthHandler would still be fine.
But yeah, it's still very much a learning process so it going to be full of refactoring (and ugly) code for the next few weeks. Thanks for the review!


Misleading phrasing for annotated binding sites

          I looked at the extensions for the protein-binding annotations, for most of them the residues indicated are on the annotated protein, which is what we want.

It is only not the case for the nod1 and gef2 annotations which are reciprocally inverted, the residues indicated in the nod1 annotation are on gef2, and the residues in the gef2 annotation are on nod1. Although, with the way the annotation in worded, it might make more sense as it is now.

I think a user who reads this annotation (on nod1) as a sentence, would get it as nod1 binds to the site on residues 957-1101 of gef2, so in the correct way.
Originally posted by @PCarme in https://github.com/pombase/pombase-chado/issues/1194#issuecomment-2273237715
Related to this comment from another issue, I think the way residue extensions in GO MF annotations are displayed on PomBase can easily be misinterpreted.

Here, for mis19 for example, I think these annotations look like Mis19 binds to the indicated residues on Mis18 and Mis16. But we kind of describe the opposite, the indicated binding sites are the Mis19 residues which bind to Mis16/18.

binding site mis19(4-63) binds mis18
(document this on the curation wiki)

The main site looks like this now.  Is that OK?  It's easy to reformat now the code is in the right place.
https://www.pombase.org/gene/SPBC27B12.02

Yes, that's clearer now !


Can't style Links, even with ~important

Bug report
Styles are all unset and the styled I passed in, I can't even find a reference to them on the page.
If the current behavior is a bug, please provide the steps to reproduce.
This does not result in styled output for me.

import { Link, styled } from 'reakit';

const StyledLink = styled(Link)`
  color: #33636f;
  text-decoration: underline !important;
  background: #eee !important;
  background-color: #eee !important;
`;

export const DisplayLink = props => {
  const { href, title } = props;
  return (
    <StyledLink href={href} target="_blank">
      {title}
    </StyledLink>
  );
};

What is the expected behavior?
Styles
Other relevant information:
reakit version:  0.16.0

The only rule that seems to appear on the page is my color rule.


react-motion warning: componentWillReceiveProps has been renamed, and is not recommended for use

Hi, I have recieved this warning:
componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: TransitionMotion

It seems that this is related to this issue in react-motion.
That issue is active these days and may resolve soon.
Please consider updating the dependencies, whenever that issue resolved.

since 2020, any progress regarding this issue ?


python36Packages.cassandra-driver: 3.6.0 -> 3.15.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-cassandra-driver/versions.
meta.description for python36Packages.cassandra-driver is: '"A Python client driver for Apache Cassandra"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.15.1 with grep in /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1

directory tree listing: https://gist.github.com/74e4162213bbcf2408324fca6bd1b44e

du listing: https://gist.github.com/f4aebe1376fecc5a8cd2af16b0fdbd02

Outpath report (click to expand)

Outpath difference report
8 total rebuild paths
2 package rebuilds
2 x86_64-linux rebuilds
2 i686-linux rebuilds
2 x86_64-darwin rebuilds
2 aarch64-linux rebuilds
First ten rebuilds by attrpath
python27Packages.cassandra-driver
python36Packages.cassandra-driver

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python36Packages.cassandra-driver https://github.com/r-ryantm/nixpkgs/archive/e9013e39dfed6e4d27b09676b3fdeae1b875e317.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1
ls -la /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1/bin

Success on x86_64-darwin (full log)
Attempted: python36Packages.cassandra-driver
Partial log (click to expand)
Processing ./cassandra_driver-3.15.1-cp36-cp36m-macosx_10_6_x86_64.whl
Requirement already satisfied: six>=1.9 in /nix/store/3amg4b41sqz4vjfqyzsbrm8gmqr6skj0-python3.6-six-1.11.0/lib/python3.6/site-packages (from cassandra-driver==3.15.1) (1.11.0)
Installing collected packages: cassandra-driver
Successfully installed cassandra-driver-3.15.1
/private/tmp/nix-build-python3.6-cassandra-driver-3.15.1.drv-0/cassandra-driver-3.15.1
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/i2scfbjjr19njk2k074ipg6n97mb0icp-python3.6-cassandra-driver-3.15.1/lib
patching script interpreter paths in /nix/store/i2scfbjjr19njk2k074ipg6n97mb0icp-python3.6-cassandra-driver-3.15.1
/nix/store/i2scfbjjr19njk2k074ipg6n97mb0icp-python3.6-cassandra-driver-3.15.1

Success on x86_64-linux (full log)
Attempted: python36Packages.cassandra-driver
Partial log (click to expand)
shrinking /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/cmurmur3.cpython-36m-x86_64-linux-gnu.so
shrinking /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/metadata.cpython-36m-x86_64-linux-gnu.so
shrinking /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/cython_utils.cpython-36m-x86_64-linux-gnu.so
shrinking /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/row_parser.cpython-36m-x86_64-linux-gnu.so
shrinking /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/protocol.cpython-36m-x86_64-linux-gnu.so
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1/lib
patching script interpreter paths in /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1
checking for references to /build in /nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1...
/nix/store/11y0qdcwzl3vd9a6iblaad7lqd4pxbmv-python3.6-cassandra-driver-3.15.1

Success on aarch64-linux (full log)
Attempted: python36Packages.cassandra-driver
Partial log (click to expand)
shrinking /nix/store/c7141vqcpb77q3yc6mjahsb754k1wv28-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/pool.cpython-36m-aarch64-linux-gnu.so
shrinking /nix/store/c7141vqcpb77q3yc6mjahsb754k1wv28-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/protocol.cpython-36m-aarch64-linux-gnu.so
shrinking /nix/store/c7141vqcpb77q3yc6mjahsb754k1wv28-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/query.cpython-36m-aarch64-linux-gnu.so
shrinking /nix/store/c7141vqcpb77q3yc6mjahsb754k1wv28-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/row_parser.cpython-36m-aarch64-linux-gnu.so
shrinking /nix/store/c7141vqcpb77q3yc6mjahsb754k1wv28-python3.6-cassandra-driver-3.15.1/lib/python3.6/site-packages/cassandra/util.cpython-36m-aarch64-linux-gnu.so
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/c7141vqcpb77q3yc6mjahsb754k1wv28-python3.6-cassandra-driver-3.15.1/lib
patching script interpreter paths in /nix/store/c7141vqcpb77q3yc6mjahsb754k1wv28-python3.6-cassandra-driver-3.15.1
checking for references to /build in /nix/store/c7141vqcpb77q3yc6mjahsb754k1wv28-python3.6-cassandra-driver-3.15.1...
/nix/store/c7141vqcpb77q3yc6mjahsb754k1wv28-python3.6-cassandra-driver-3.15.1

@GrahamcOfBorg build python27Packages.cassandra-driver

Success on x86_64-darwin (full log)
Attempted: python27Packages.cassandra-driver
Partial log (click to expand)
Requirement already satisfied: futures in /nix/store/d3g4qjg3hf9bjrn9qd9jfxii4pzlfziy-python2.7-futures-3.2.0/lib/python2.7/site-packages (from cassandra-driver==3.15.1) (3.2.0)
Requirement already satisfied: six>=1.9 in /nix/store/1slrgar3c0a9vx5af24v65lwfj9k3i9d-python2.7-six-1.11.0/lib/python2.7/site-packages (from cassandra-driver==3.15.1) (1.11.0)
Installing collected packages: cassandra-driver
Successfully installed cassandra-driver-3.15.1
/private/tmp/nix-build-python2.7-cassandra-driver-3.15.1.drv-0/cassandra-driver-3.15.1
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/z17kyh0m2lvdpq6pf3r1vkhclbrhwmf2-python2.7-cassandra-driver-3.15.1/lib
patching script interpreter paths in /nix/store/z17kyh0m2lvdpq6pf3r1vkhclbrhwmf2-python2.7-cassandra-driver-3.15.1
/nix/store/z17kyh0m2lvdpq6pf3r1vkhclbrhwmf2-python2.7-cassandra-driver-3.15.1

Success on aarch64-linux (full log)
Attempted: python27Packages.cassandra-driver
Partial log (click to expand)
shrinking /nix/store/6273ksy63x735bfq4cmsl6i59i9719yz-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/pool.so
shrinking /nix/store/6273ksy63x735bfq4cmsl6i59i9719yz-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/protocol.so
shrinking /nix/store/6273ksy63x735bfq4cmsl6i59i9719yz-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/query.so
shrinking /nix/store/6273ksy63x735bfq4cmsl6i59i9719yz-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/row_parser.so
shrinking /nix/store/6273ksy63x735bfq4cmsl6i59i9719yz-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/util.so
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6273ksy63x735bfq4cmsl6i59i9719yz-python2.7-cassandra-driver-3.15.1/lib
patching script interpreter paths in /nix/store/6273ksy63x735bfq4cmsl6i59i9719yz-python2.7-cassandra-driver-3.15.1
checking for references to /build in /nix/store/6273ksy63x735bfq4cmsl6i59i9719yz-python2.7-cassandra-driver-3.15.1...
/nix/store/6273ksy63x735bfq4cmsl6i59i9719yz-python2.7-cassandra-driver-3.15.1

Success on x86_64-linux (full log)
Attempted: python27Packages.cassandra-driver
Partial log (click to expand)
shrinking /nix/store/p9c44kndf3wb3z8zlaqk1wsjhxd7xrr1-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/parsing.so
shrinking /nix/store/p9c44kndf3wb3z8zlaqk1wsjhxd7xrr1-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/util.so
shrinking /nix/store/p9c44kndf3wb3z8zlaqk1wsjhxd7xrr1-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/ioutils.so
shrinking /nix/store/p9c44kndf3wb3z8zlaqk1wsjhxd7xrr1-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/bytesio.so
shrinking /nix/store/p9c44kndf3wb3z8zlaqk1wsjhxd7xrr1-python2.7-cassandra-driver-3.15.1/lib/python2.7/site-packages/cassandra/pool.so
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/p9c44kndf3wb3z8zlaqk1wsjhxd7xrr1-python2.7-cassandra-driver-3.15.1/lib
patching script interpreter paths in /nix/store/p9c44kndf3wb3z8zlaqk1wsjhxd7xrr1-python2.7-cassandra-driver-3.15.1
checking for references to /build in /nix/store/p9c44kndf3wb3z8zlaqk1wsjhxd7xrr1-python2.7-cassandra-driver-3.15.1...
/nix/store/p9c44kndf3wb3z8zlaqk1wsjhxd7xrr1-python2.7-cassandra-driver-3.15.1


we have PAX issue at a hardened Gentoo

The origin is here : https://bugs.gentoo.org/show_bug.cgi?id=576806
Any hints ?

Having looked at the issue, the only thing immediately jumping out at me would be in TestTest.cpp. The test CrashingTestsAreReportedAsFailures intentionally calls a function at address 0x0:
virtual void RunImpl() const
{
   reinterpret_cast< void (*)() >(0)();
}

If you or somebody can verify for me that this is indeed the cause, then it will be easy enough to come up with a fix.

@toralf I consider this issue addressed by #115, although there was some disagreement on my implementation there. Do you consider that to have fixed the issue, once a release is made?

well, dev-libs/unittest++-1.6.1 builds fine here since sbraz already cherry-picked a patch, so this can be closed for now IMO.


Dev

link share fix

Addressed conflicts @josh-chamberlain  @mbodeantor. Also bumped design-system to 2.0.5 and added QuickSearchForm to that page while here.
Noticed that I didn't get any search results from the /search/... endpoint locally (no XHR request fired either), but I was getting this error from the flask app, so I think it's something with my local install: Error while initializing the DigitalOcean client with psycopg2..

@joshuagraber I'll add a note about allowing IP addresses in DigitalOcean, combined with the right secrets that should allow the DB connection

LGTM!


docs: Add documentation for s3 event object key_filters

Description
People are having trouble with how to add event key_filters for s3 events. I gave an answer to them on SO.
https://stackoverflow.com/questions/69455698/how-to-add-a-suffix-to-an-event-in-lambda-function-with-zappa/73493272#73493272
I just verified this behavior works for our organization as well.
There was also an open issue for this, but it never went anywhere because of a typo.
GitHub Issues
https://github.com/zappa/Zappa/issues/446

Coverage remained the same at 73.637% when pulling 4346ed969bd7e25565c511440f4fe6e68b9d7c51 on jottenlips:feature/s3-event-filters-in-docs into 19f61daacf01cce27929e9912e2066bbe5f81681 on zappa:master.

thanks!

Thanks for the contribution!


Component taxnumber reactify

Short Description
Similarly to #336  and #335, this adds another component needed to reactify the tax number page
Changes

Add a React component for the tax number that can be split
Add unit tests for that component
Add a storybook for that component

Feedback

Are there any tests missing?
Anything else that you would have done differently?

The code smell is because of code duplication in the tests which is fine imo


update the Readme to install knative-serving into the knative-serving…

… namespace

Proposed Changes

Changes recommended install namespace to knative-serving

Release Note

NONE

/test pull-knative-serving-operator-build-tests


Use multiple swagger.json files in the same page

Hello,
I cannot use 2 json Files in the same page.md
Did I do something wrong ?

@Thibaudkhan  I created another MkDocs plugin to render Swagger UI https://github.com/blueswen/mkdocs-swagger-ui-tag. Which could render multiple Swagger UI in same page with different OpenAPI Spec file and supports build-in multiple OAS in single Swagger UI with top bar selector. Maybe my plugin could fit your requirement.

Shouldn't be an issue. What have you tried?

I have the same question and kind of prefer this plugin as it doesn't use iFrames, but @bharel how do you support it? I tried adding the tag twice and only the last spec is displayed

Need to check if https://github.com/bharel/mkdocs-render-swagger-plugin/pull/26  fixed. Might have been an issue with the IDs.

Yeah, #26 have fixed it.
@Thibaudkhan  @ChrisChinchilla please check with latest version on master, will soon deploy for 0.1.1


Minor linting fixes

 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.:x: vzvu3k6k sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Must use import to load ES Module

After upgrade from 4.1.2 to 5.0.0, I got this error:
Must use import to load ES Module: /Users/emilyxiong/Code/nx/node_modules/chalk/source/index.js
require() of ES modules is not supported.
Any idea on how to fix this?

Hello @xiongemi,
try to use the alternate ansis.
This lib support ES Module and CommonJS.
This lib support chalk API and is faster.

https://github.com/chalk/chalk/releases/tag/v5.0.0
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

Last version with require support:
npm i<EMAIL_ADDRESS>


how to run kafka-ui as API without opening UI

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running master-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
how we can run this tool as API. lets say we are not allow to use UI .
Expected behavior
No response
Your installation details
NA
Steps to reproduce
NA
Screenshots
No response
Logs
No response
Additional context
No response

I don't understand why you opened this as a bug.
You also consciously checked the box "I've looked up my issue in FAQ" even though the answer is actually there https://docs.kafka-ui.provectus.io/faq/faq#can-i-use-the-app-as-api

sorry my bad


Crytpo module not found issue with react native

Summary
(If you have not already please refer to the contributing guideline as described
here)

[ ] Tell us about the problem your pull request is solving.
Issue with crytpo module not found in dependency react native
[ ] Are there any open issues that are related to this? No
[ ] Is this PR dependent on PRs in other repos? No

If so, please mention them to keep the conversations linked together.
Other Information
If there's anything else that's important and relevant to your pull
request, mention that information here. This could include
benchmarks, or other information.
Your PR will be reviewed by a core team member and they will work with you to get your changes merged in a timely manner. If merged your PR will automatically be added to the changelog in the next release.
If your changes involve documentation updates please mention that and link the appropriate PR in feathers-docs.
Thanks for contributing to Feathers! :heart:

Hello juicy. I hope you are now feeling better.
This repo is intended to be used on the server. How are you using it?
Using npm crypto on the server seems problematic:
crypto
Deprecated Package
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.

It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.

this is stale and the author clearly misunderstands the intent of this project. I'd suggest closing.

Closing because the OP has not replied.


Paged attention

Thank you for awesome work! I saw from the blog that paged attention can also be implemented with flex attention. Will there be a new example about this?

Yup, we are currently woking on it, will post updates when available


Update authentication.md

Change ISC to IDN

IDN has been renamed and is now known as ISC (Identity Security Cloud). For more information please visit the following link: Identity Security Cloud.


Load cogs within subfolder directories

Getting the bot to load the cogs within the folder of another subfolder.

Solved with this


Add runelen function

Unlike RuneCount, it does not strip HTML or whitespace before counting runes. Useful
for formatting plain text.

Why not “strings.TextLen” or “strings.RunesLen” or “strings.CountAllRunes”? Apologies for the late hop into the conversation. Very likely I’m missing something important, but sometimes naming benefits from outside perspective :bow:
Sent from my iPhone

On Jun 4, 2018, at 2:12 AM, Bjørn Erik Pedersen<EMAIL_ADDRESS>wrote:
@bep commented on this pull request.
In docs/content/en/functions/runelen.md:

@@ -0,0 +1,28 @@
+---
+title: runelen
The ruling is strings.CountRunes.

I have no big interest in "auto generating" the template funcs themselves. That implies a need for many/all of them. I want to keep the count down and only add the ones "we really need". I want to do something about auto-docs, but that is a little beside the point.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

strings.CountAllRunes makes sense to me, probably less confusing.

Or RuneCountInString, since that's the name in the utf8 package.


Alt for TODO has not effect

Can someone confirm that
TODO = { icon = " ", color = "info", alt = {"TODO", "WIP","DONE"} },

Alt  property  - does not works - it wont highlight - additional keywords ...

This should work:
require("todo-comments").setup({ keywords = { TODO = { icon = " ", color = "info", alt = { "TODO", "WIP", "DONE" } } } } )

I also just pushed a change so that keywords are also deepcopied using the defaults.

If you're using Packer, and if you made those changes in your plugins.lua, then make sure to exit vim, open vim again, run PackerCompile, restart vim, to apply the changes

Ok I tried this setup:
	use { "folke/todo-comments.nvim",
		config = function()
    require("todo-comments").setup {
			 TODO = { icon = " ", color = "info", alt = {"TODO", "WIP","DONE"} },
    }
  end
	}

Restart compile, restart - no change. Maybe somebody else can confirm if they can reproduce this problem on theirs side.

You didn't add the keywords= part?

Ah, my bad. Sorry for wasting your time. Thanks for another great plug btw


README update

Update flag names and add section about testing

First two links for the methods in the README result in "page not found" and need to be updated.
These two links occur twice, the second time being in the citations section at the end.


Create Identification Score Documentation

💡 Summary
Urgently need to create documentation for identification score.
Motivation and context
Leadership would like to see the overall layout and plans for the identification score, so both a diagram and write-up are required to undergo review.
Implementation notes

Will include both the diagram and write-up of the identification score.

Acceptance criteria

[X] I-Score diagram complete
[X] I-Score write-up complete
[X] I-Score documentation finished and uploaded to sharepoint

Completed documentation for identification score, including diagram, write-up, and step-by-step walkthrough example of I-Score calculation. All of this is available in the metrics folder in Sharepoint


[BUG] Outdated wiki page

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
N/A
What problem did you encounter?
This page assumes the Play Roblox feature, which was removed in v2.8.0.
Bloxstrap Log
N/A

Thanks, didn't realize that.


SimBus, SimBranch etc.

Currently, SimBus and its associated Bus have the same id. This behaviour is assumed in some code. But, for example, when a SimBus is parsed, the id of its Bus needs to be duplicated. Either check this behaviour, enforce it through syntax, and or generally clean up and clarify the situation.

Resolve by making sure the SimBus and its corresponding bus don't assume equal ids.


chore: prefer undefined over null

BREAKING CHANGE:  Many methods that previously returned null may now return undefined.
We had types that were optional or null all over the codebase.  Cleaned this up by removing any null type that was already optional.

Codecov Report

Merging #309 into next will increase coverage by 0.03%.
The diff coverage is 96.66%.

@@            Coverage Diff             @@
##             next     #309      +/-   ##
==========================================
+ Coverage   95.32%   95.36%   +0.03%
==========================================
  Files          14       14
  Lines         898      884      -14
  Branches      187      184       -3
==========================================
- Hits          856      843      -13
+ Misses         42       41       -1

Impacted Files
Coverage Δ

src/auth/jwtaccess.ts
96.36% <100%> (ø)
:arrow_up:

src/transporters.ts
95.74% <100%> (ø)
:arrow_up:

src/auth/googleauth.ts
97.15% <100%> (-0.06%)
:arrow_down:

src/auth/jwtclient.ts
95.45% <100%> (ø)
:arrow_up:

src/auth/refreshclient.ts
91.3% <100%> (+1.94%)
:arrow_up:

src/auth/computeclient.ts
95.23% <100%> (-0.22%)
:arrow_down:

src/auth/oauth2client.ts
93.75% <90%> (-0.14%)
:arrow_down:

Continue to review full report at Codecov.

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


chore: remove Dependabot

Remove Dependabot and use Renovate instead

:tada: This PR is included in version 1.1.5 :tada:
The release is available on:

GitHub release
v1.1.5

Your semantic-release bot :package::rocket: