django-channels: do not fetch subscriptions for anon users

Fixes #50

Codecov Report

Merging #51 into master will decrease coverage by 0.25%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
- Coverage   77.24%   76.98%   -0.26%
==========================================
  Files          25       25
  Lines         602      604       +2
==========================================
  Hits          465      465
- Misses        137      139       +2

Impacted Files
Coverage Δ

django_nyt/consumers.py
0% <0%> (ø)
:arrow_up:

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 9768a93...584d5d3. Read the comment docs.


Is there any way to stop page scolling

Hi, I use this package with SlideMenuController. But I found when I open the side menu, the page was moving together. How can I let the page stop moving when I open my side menu? I have tried to set "containerView.isScrollEnabled = false", but it didn't work.

Sorry, I have forgotten to add a delegate for slide menu, now it works.


Modules/physics

Description
Updates to the Physics section of the Documentation repository. All index files have been updated with links to each document.
Fixes # (issue)
Type of change

[ X ] Documentation (update or new)

How Has This Been Tested?
Prettier and Vale tests have been run on the repository.
Testing Checklist:

[ X ] Tested in latest Chrome
[ X ] Tested in latest Safari
[ X ] Tested in latest Firefox

Checklist:

[ X ] My code follows the style guidelines of this project
[ X ] I have performed a self-review of my own code
[ X ] I have commented my code in hard-to-understand areas
[ X ] I have made corresponding changes to the documentation
[ X ] My changes generate no new warnings
[ X ] I have requested a review from ... on the Pull Request

You can use #155 for conflicts


Root-level containers don't have borders

This was originally a explicit decision to elide container borders for root containers, to follow what Sway/i3 generally does, but I have decided to make that a toggle-able option.
I find it confusing, especially when there's tabbed/stacked containers and I don't know if there are multiple windows or not.
The configuration option should look like this:
way_cooler.windows = {
  borders = {
    -- true will be the default,
    -- false will give the previous (current) functionality.
    root_container_borders = true
 }
}

hm, actually I changed my mind about that configuration option.
I want way_cooler.windows to be able  to be configurable with rules when I add them. E.g I want all the options to be applicable to ALL types of containers, not just specific ones. This option is just for root container borders, which would go against that.
So what I might do instead is simply change how this feature works for now: root containers get borders as well, and later on if you want them gone you'll specify something like this:
way_cooler.windows = {
  -- This is a "path" from the root container down.
  -- "*" is a wildcard, matching all containers regardless of layout or whatever.
  -- "/" Ensures that it's a path, and only matches the top level containers.
  -- This will _only_ affect the root container, because that's the top of the path
  -- To turn off view borders in root you'd do: "*/{view}" or something like that
  "*/" = {
    borders = {
      size = 0 -- disable borders
  }
}

Still not sure how I'll set up rules, I'll have to look at awesome but I don't want to force myself into any corners which is why I won't make that configurable right now.


Tracing: Added missing k_thread_heap_assign trace hook

Added missing k_thread_heap_assign trace hook call
which all trace systems have defined but which was
never called by the system. As part of this update
and to avoid inclusion problems the static
inline k_thread_heap_assign function was changed
into a define.
Signed-off-by: Torbjörn Leksell<EMAIL_ADDRESS>

@dcpleung Yes, sorry for being unclear on that part.
Background: SYS_PORT_TRACING_FUNC depends on defines in tracing/tracing.h to evaluate into a tracing format defined trace hook function or nothing if it isn't used/implemented by the tracing format.
Problem: tracing/tracing.h is included at the end of kernel.h. As such, if k_thread_heap_assign is a static inline function it will evaluate SYS_PORT_TRACING_FUNC before tracing/tracing.h has been included, resulting in the implicit declaration of a non-existing function sys_port_trace_k_thread_heap_assign instead of mapping it as specified by tracing/tracing.h.
Because of this problem I changed k_thread_heap_assign into a define, it might be possible to solve this by updating the include ordering but it might get complicated (tracing/tracing.h depends on a lot of information in kernel.h).

Thanks for the explanation. Could you include it in the commit message? It would make it clear to other developers why static inline was changed simply by looking at the commit message.

Actually... can we maybe look a little harder at the root cause here?  It definitely seems like we have a header dependence bug (not surprising give that tracing touches everything).   This is just papering over that, and we'll no doubt see the same kind of problems elsewhere, leading to the same kind of hacks.
Have you tried just moving tracing.h?
Also: I forget whether or not we still require macros be ALL_CAPS; this might be a coding style violation.

I understand the issue, I agree with @dcpleung at a minimum the commit should include why the change is needed in more detail.
I ran into a similar, but not the same, issue with kernel.h and tracing.h being mutually dependent, and decided to avoid that issue altogether when doing the syscall tracing hooks I added by making it a separate header as I had nothing but issues trying to add it to tracing.h.
I'm interested to see if you can resolve the issue without changing the static inline into a macro.

@andyross I agree that solutions like this pushes an annoying issue forwards without addressing it, there will be similar problems in other cases since there are more functions in kernel.h that I would like to add into the tracing system. The solution to this problem is not really that difficult but we would have to decide how to best implement the changes without unnecessarily complicate kernel.h or compromise the coding style of Zephyr.
Currently the primary issue is that tracing/tracing.h depend on knowing about all different kernel object types in Zephyr. While many of these are declared early in kernel.h (k_thread, k_mutex, k_sem, k_msgq, etc) some are declared/defined throughout kernel.h (k_work, k_work_q, k_work_queue_config, and some typedefs). As such, if we move tracing/tracing.h to to an early part of kernel.h we get a bunch of compile errors due to unknown type names and the compiler thinking we are declaring types as they are used as arguments in tracing/tracing.h.
Solution: Include the declaration of (k_work, k_work_q, k_work_queue_config etc) with the other ones (k_thread, k_mutex, k_sem, k_msgq, etc) and include tracing/tracing.h after all types have been declared. I've tested this and it works with k_thread_heap_assign as static inline. You can check a quick example of how this change might look here
The primary issue with this change is how to best handle the different typedefs, we could move them or have them in two locations (compiles for me but not legal C99 AFAIK).
Let me know if we should move forward with this kind of change to kernel.h, I could update the linked example with whatever we feel is best and submit it as a PR if we agree on the solution. Following this I could update this PR and remove the change from static inline to define.

@tleksell-pe that makes sense, would that allow for simplifying the tracing_macros.h tracing.h differences? Does that even make sense to do?

@teburd It depends on what you mean with combining, in terms of having tracing.h include tracing_macros.h it should be fine, combining as in creating a header with the content of both files, it would get quite messy.
@andyross @dcpleung What do you think of moving ahead with a change similar to what I've suggested here (solves the tracing inclusion problem and allows tracing of static inline functions in kernel.h), and if so, how should we handle the typedefs?

@andyross @dcpleung What do you think of moving ahead with a change similar to what I've suggested here (solves the tracing inclusion problem and allows tracing of static inline functions in kernel.h), and if so, how should we handle the typedefs?

That seems reasonable.

The proposed change (with typedef caveat) is now available as PR #40279, with the exception of the Compliance check (no new typedefs) the change seems to test fine.

I'm still waiting for PR #40279 to be merged before re-basing and updating this PR. It seems that #40279 is ready for merge but it hasn't been done yet.


mgo/txn: in PurgeMissing, also remove aborted and applied transactions

These turn out to be not uncommon.

I guess this isn't gonna happen.


Support template

Add the support of the following templates:
template "template 1" do
  read_only false
  board_bgtype "board_graph"
  original_title "my board"
  height context.height
  width "100%"
  template_variables []
  widgets []
  shared false
  title_edited true
end

template "template 2" do
  title_size 16
  title_align "left"
  title_text ""
  title true
end

screenboard "board1" do
  include_template "template 1", height: 80
end

screenboard "board2" do
  read_only false
  board_bgtype "board_graph"
  height 80
  width "100%"
  templated false
  widgets do |*|
    include_template "template 2"
    height 13
    tile_def do
      viz "timeseries"
      requests do |*|
        q "aws.dynamodb.provisioned_read_capacity_units{*}"
      end
      events []
    end
    width 47
    timeframe "1h"
    y 13
    x 10
    legend_size "0"
    type "timeseries"
    legend false
  end
end

Please marge if no problem 🙇

Very useful ✨  Thanks a lot!!

This is released in 0.3.0


Fit the play icon in the container on IOS

This PR should close #636

Before

After

Tested on my Iphone


templating: add support for template filters

This PR adds support for Jinja2 template filters, some documentation and a test
Signed-off-by: Florian Scherf<EMAIL_ADDRESS>

Codecov Report

Merging #186 (2e3f7e8) into master (398665f) will increase coverage by 0.18%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
+ Coverage   59.32%   59.51%   +0.18%
==========================================
  Files          69       69
  Lines        4701     4705       +4
  Branches      914      915       +1
==========================================
+ Hits         2789     2800      +11
+ Misses       1656     1646      -10
- Partials      256      259       +3

Impacted Files
Coverage Δ

lona/default_settings.py
100.00% <100.00%> (ø)

lona/templating.py
82.08% <100.00%> (+0.83%)
:arrow_up:

lona/app.py
58.04% <0.00%> (+4.02%)
:arrow_up:

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 398665f...2e3f7e8. Read the comment docs.

@maratori Thanks for reviewing! :)


compile errors while installing

tried to install it using the luarocks wrapper https://gist.github.com/nonchip/2c93ff2d9bc1bf2cd12bc6e76010da0f (essentially just setting the right environment for cuda etc) i get the following errors (omitting output of cmake before them):
[  6%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o
/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"
/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined
/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"
/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_000006f0_00000000-7_THCBlas.cpp1.ii".
/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"
/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined
CMake Error at THC_generated_THCBlas.cu.o.Release.cmake:279 (message):
  Error generating file
  /tmp/luarocks_cutorch-scm-1-9RB3n2/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCBlas.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:72: lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
2 errors detected in the compilation of "/tmp/tmpxft_000006e9_00000000-7_THCSleep.cpp1.ii".
CMake Error at THC_generated_THCSleep.cu.o.Release.cmake:279 (message):
  Error generating file
  /tmp/luarocks_cutorch-scm-1-9RB3n2/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCSleep.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:79: lib/THC/CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o] Error 1
/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"
/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_00000705_00000000-7_THCReduceApplyUtils.cpp1.ii".
CMake Error at THC_generated_THCReduceApplyUtils.cu.o.Release.cmake:279 (message):
  Error generating file
  /tmp/luarocks_cutorch-scm-1-9RB3n2/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCReduceApplyUtils.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:65: lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o] Error 1
/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"
/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_00000715_00000000-7_THCStorageCopy.cpp1.ii".
CMake Error at THC_generated_THCStorageCopy.cu.o.Release.cmake:279 (message):
  Error generating file
  /tmp/luarocks_cutorch-scm-1-9RB3n2/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorageCopy.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:93: lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o] Error 1
/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"
/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_00000736_00000000-7_THCHalf.cpp1.ii".
CMake Error at THC_generated_THCHalf.cu.o.Release.cmake:279 (message):
  Error generating file
  /tmp/luarocks_cutorch-scm-1-9RB3n2/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCHalf.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:562: lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o] Error 1
2 errors detected in the compilation of "/tmp/tmpxft_00000724_00000000-7_THCStorage.cpp1.ii".
CMake Error at THC_generated_THCStorage.cu.o.Release.cmake:279 (message):
  Error generating file
  /tmp/luarocks_cutorch-scm-1-9RB3n2/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorage.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:86: lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:172: lib/THC/CMakeFiles/THC.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Error: Build error: Failed building.

all dependencies of torch and cutorch are installed according to their documentation.
versions that might be important:
CUDA: 8.0
glibc: 2.26
gcc: 7.3.0
luajit: 2.0.5
luarocks: 2.4.3
kernel: Linux t1.nonchip.de 4.14.12_4 #1 SMP PREEMPT Mon Jan 8 11:05:24 UTC 2018 x86_64 GNU/Linux

a very hacky "solution" I found was modifying /usr/include/bits/floatn.h by inserting this after the preprocessor switch that sets __HAVE_FLOAT128:
#if CUDART_VERSION
#undef __HAVE_FLOAT128
#define __HAVE_FLOAT128 0
#endif

but I'd rather prefer not abusing system includes to patch for what seems to be a broken usage of cuda types...

tried with cuda 9.1, same error.
both cuda versions, when trying clang instead of gcc, fail because The version ('50001') of the host compiler ('clang') is not supported

ok, figured it out, this combination works:

cuda 9.1.85_387.26 (installed from the .run file with --override so it doesn't complain about me not running an old ubuntu)
gcc 7.3.0
ugly /usr/include/bits/floatn.h hack above.

seems to be just NVIDIA being archaic with their supported compilers; but you might want to include this somewhere in the documentation, for people using OS versions newer than 4 years :P


Allows setting LoadErrorHandlingPolicy for DRM

The DefaultDrmSessionManager allows setting this policy.  This change simply plumbs the setting up to the DefaultDrmSessionManagerProvider

Thanks for the PR!
I'm going to send this for internal review now. You may see some more commits being added as I make changes in response to review feedback. Please refrain from pushing any more substantive changes as it will complicate the internal review - thanks!


fix xpub prefix and avoid save xpub without addresses

Headline

Fix xpub with wrong prefix;
Avoid to save xpub without addresses;

Issue 338
Sentry

#344


opening a file using code --wait does not wait to quit

Testing #34764

Open VS Code with a folder.
Now from terminal, open a file from a different folder and has .vscode folder in it using --wait

Expected the command waits but it terminates immediately

Pushed a change to now prefer to open the file that was passed to --wait instead of opening the parent folder when it contains a .vscode folder.


Allow IPSec and kube-proxy-replacement=strict to be used together

This is a draft PR which allows cilium to be used with kube-proxy-replacement=strict as well as IPSec.
It does so by reducing the IPSec key space to 3 bit (i.e. 8 Keys) and therefore resolving the conflict between MARK_MAGIC_SNAT_DONE and MARK_MAGIC_KEY_ID.
I tested this on a small test cluster where the cilium connectivity test passes.
xref: #12985

retest-net-next

I think 8 keys is likely OK, but it does create a compat problem on upgrade if user has a working key sytem using >8keys they will potentially break.

@joestringer maybe we could wrap it in a helm option for users to opt in? So for a release have a --reduced-ipsec-keys option? Then drop it later? Do we support multiple version jumps I presume users going from 1.8->1.10 for example need to upgrade through 1.9 to have any expectation the upgrade system will guard them from breaking changes.

@jrfastab It will most likely create an update problem anyway, since the position of the key index in the skb->mark changed, which will connections cause to drop (if I understood the concept correctly, but I'm not sure on that point)
Another point is what @joestringer mentioned in the slack yesterday is that we indeed have a clash with the kubelet IPTables chains using 0x8000 and 0x4000 as marks for DROP and SNAT, which we should also fix.

Just wondering did you try at all to find an alternative value than 0x1500 for the MARK_MAGIC_SNAT_DONE feature? Like I'm not sure I follow why we need to check all three bits 0x1500 and why we couldn't for instance use 0x0500 (/cc @borkmann). If we're setting the two bits 0x0500 in the 4-bit range that we're using 0x0F00 it would otherwise plausibly overlap with decrypt (0x0D00) but we could tell it's not decrypt by the fact that the 0x0800 is not set.
In logic where there's things like this:
#define MARK_MAGIC_SNAT_DONE 0x1500
if ((ctx->mark & MARK_MAGIC_SNAT_DONE) != MARK_MAGIC_SNAT_DONE) {

I would anticipate using instead:
#define MARK_MAGIC_SNAT_DONE 0x0500
#define MARK_MAGIC_FEATURE_MASK 0x0F00
if ((ctx->mark & MARK_MAGIC_FEATURE_MASK) != MARK_MAGIC_SNAT_DONE) {

Agree there's an upgrade concern here and I think @martin31821 is on point given that as-is this would shift from using bits at 0xF000 to using 0xE000 for the value, but today we do things like keyIndex << 12.

Do we support multiple version jumps I presume users going from 1.8->1.10 for example need to upgrade through 1.9 to have any expectation the upgrade system will guard them from breaking changes.

Yes we instruct users to go v1.8 -> v1.9 -> v1.10, with the latest version in a series before going to the next one (in case we need to do any compatibility fixups for upgrade in an older relaase).
Helm options could be explored but if we can get away with bitshuffling and no flags or actual move of the bits, that's even better.
Not sure how exactly we deal with overlap on 0x8000 vs. k8s today, if it works today then we shouldn't need to take any action. But if using key index 8 or larger today triggers that drop rule then clearly we should avoid that.

Just wondering did you try at all to find an alternative value than 0x1500 for the MARK_MAGIC_SNAT_DONE feature

The MARK_MAGIC_SNAT_DONE is used to avoid going through the SNAT engine twice when a request was sent to a NodePort service and a remote backend was selected. When the from-netdev attached at TC ingress receives such request, it selects the backend, does the SNAT, sets the mark, and then redirects the packet to the to-netdev attached at TC egress (potentially to the same device in the case of a single device). The to-netdev does the check for the mark.
@borkmann I'm wondering whether we could use any other skb field here (we don't depend on the mark in the case of XDP, as there is no skb and egress hook). E.g. skb->priority (we don't change netns, so no skb scrubbing?) or skb->queue_mapping (AFAIK EDT uses only 16bits, so 16bits left)?

FWIW, I tried using 0x8500 for SNAT_DONE first, but that ended up with dropped traffic due to the KUBE-MARK-DROP chain, that's why I went with the changed shifts, though.
I'll try to rotate the ipsec keys to match KUBE-MARK-DROP and see if the traffic gets dropped.

@borkmann I'm wondering whether we could use any other skb field here (we don't depend on the mark in the case of XDP, as there is no skb and egress hook). E.g. skb->priority (we don't change netns, so no skb scrubbing?) or skb->queue_mapping (AFAIK EDT uses only 16bits, so 16bits left)?

queue_mapping is only 16 bit and all used up for EDT. The priority seems not preserved last time I checked, so we should probably use a per-CPU scratch map slot for transferring the info.
@jrfastab @martin31821 What is the expectation wrt services when ipsec is used? E.g. request arrives on one node, which then does SNAT to its own IP and forwards the request to final remote backend in the cluster.. is the expectation that this traffic is then encrypted, or do we expect to see unencrypted traffic for this case?

@jrfastab @martin31821 What is the expectation wrt services when ipsec is used? E.g. request arrives on one node, which then does SNAT to its own IP and forwards the request to final remote backend in the cluster.. is the expectation that this traffic is then encrypted, or do we expect to see unencrypted traffic for this case?

@borkmann I think, I'd like to see encrypted traffic in this scenario, i.e. connection from the internet to a NodePort service and a backing pod on another node. At the moment, we have xfrm policies for [Node CIDR -> All other Node CIDRs] in place, which means if the SNAT on such a service would translate to the IP address on cilium_host, then it will get encrypted, but if it gets the public IP address as source then it won't.

@joestringer @brb: I tested the IPSec key rotation to keyID 7 to run into KUBE_MARK_DROP, but that traffic was catched by the CILIUM_* iptables chains and it worked fine, so from my side it's ready now.
Still need to decide how we want to proceed on the update problem, reducing the key space is mandatory, so maybe we should include a check in the preflight deployment which ensures all keys are within [0, 7]?
Also, could one of you take a look at the net-next failure? I don't think it's related to the changes here.

reducing the key space is mandatory,

I saw above that 0x8500 was attempted, but I didn't see that other values using the 0xF00 bits were tested, for instance 0x0500. Are we sure that reducing the key space is mandatory at this point? If we don't have to reduce the space, then that will also resolve the update problem.
As for the net-next failure, the job logs have expired so I can re-kick the CI.

retest-net-next

I'll take a look whether 0x500 could work. The net-next seems to hit a timeout after 2h50m, causing the test to be aborted.

Failure looks legitimate:
test/helpers/kubectl.go:667:38: too many arguments in call to kub.GetCiliumPods
	have (string)
	want ()
make[1]: *** [Makefile:444: govet] Error 2

Are we sure that reducing the key space is mandatory at this point?

We could use per-CPU scratch map to indicate SNAT_DONE as per @borkmann suggestion (https://github.com/cilium/cilium/pull/12985#issuecomment-683861698). That would allows us to get rid of the MARK_MAGIC_SNAT_DONE.

@brb do you have some pointers for me to get started using those scratchmaps in the data path?

do you have some pointers for me to get started using those scratchmaps in the data path?

@martin31821 Grep for cilium_xdp_scratch in bpf/include/ctx/xdp.h.

@martin31821 Are you still working on this?


redhat-certification-test from nightly job fails

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
redhat-certification-test from nightly job fails.
The local image cache is no longer used. It may be change in quay.io/opdev/preflight:stable. We can no longer run checks on images that are not published.
https://github.com/Kong/kubernetes-ingress-controller/actions/runs/3358462686/jobs/5565485610
Expected Behavior
Pipeline should be able to run redhat image checks nightly sucessfully.
Steps To Reproduce
No response
Kong Ingress Controller version
No response
Kubernetes version
No response
Anything else?
No response

Obsolete, surpassed by

https://github.com/Kong/kubernetes-ingress-controller/issues/3689


[SPARK-33062][SQL] Make DataFrameReader.jdbc work for DataSource V2

What changes were proposed in this pull request?
Support multiple catalogs in the following use case:
DataFrameReader.jdbc(url, "catalog.db.tbl", properties)
DataFrameReader.jdbc(url, "catalog.db.tbl", columnName, lowerBound, upperBound, numPartitions, properties)
DataFrameReader.jdbc(url, "catalog.db.tbl",  predicates, properties)

Why are the changes needed?
Make DataFrameWriter.jdbc work for DataSource V2
Does this PR introduce any user-facing change?
No
How was this patch tested?
new tests

Test build #129379 has started for PR 29939 at commit ffe8e42.

Test build #129379 has finished for PR 29939 at commit ffe8e42.

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

Merged build finished. Test FAILed.

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

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

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

Merged build finished. Test FAILed.

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

Test build #129418 has started for PR 29939 at commit 5fb2a1a.

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

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

Merged build finished. Test PASSed.

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

Test build #129418 has finished for PR 29939 at commit 5fb2a1a.

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

Merged build finished. Test FAILed.

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

Test build #129431 has started for PR 29939 at commit e1b2ad6.

cc @maropu

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

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

Merged build finished. Test PASSed.

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

Test build #129431 has finished for PR 29939 at commit e1b2ad6.

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

Merged build finished. Test PASSed.

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

Test build #129457 has started for PR 29939 at commit 135eb08.

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

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

Merged build finished. Test PASSed.

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

Test build #129457 has finished for PR 29939 at commit 135eb08.

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

Merged build finished. Test PASSed.

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

@cloud-fan one more to review. Thank you!


todo: add average fitness and novelty to metrics

also add mutation rate mean, sd, min and max to metrics

and exploration rate


ppsspp(-dev): Remove extract_dir, bin, Add 32bit arch

Remove extract_dir. Fixes #794

Remove bin as application is not a command-line app

Add 32bit arch for ppsspp

[x] I have read the Contributing Guide.

/verify


bool (and data dependent control flow)

HF BERT data-dependent control flow:
if self.config.pad_token_id in input_ids[:, [-1, 0]]:
   4348     warn_string = (
   4349         "We strongly recommend passing in an `attention_mask` since your input_ids may be padded. See "
   4350         "https://huggingface.co/docs/transformers/troubleshooting"
   4351         "#incorrect-output-when-padding-tokens-arent-masked."
   4352     )
   4354     # If the pad token is equal to either BOS, EOS, or SEP, we do not know whether the user should use an
   4355     # attention_mask or not. In this case, we should still show a warning because this is a rare case.

input_ids is a tensor, that ultimately makes us fail on __bool__ for tensors.
Repro:
import torch, thunder, transformers

m = transformers.BertForSequenceClassification(transformers.BertConfig())
jm = thunder.jit(m)
a = torch.randint(1, 20, (1, 25))
jm(a)

Same issue as for #1174, it seems that the first step here would be to implement the bool ops on tensors. Some repro snippets:
import thunder

def foo(x):
    return not x

jf = thunder.jit(foo)
a = torch.tensor(0)

jf(a)

and also something like this:
def bar(x):
    return x or False


Not compatible with Netbox v4.0.2

Hey :)
I noticed that the Plugin is not compatible yet with the new Netbox versions (probably > 4.0.0)
Log files from startup of Netbox:
Traceback (most recent call last):
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 255, in fetch_command
    app_name = commands[subcommand]
               ~~~~~~~~^^^^^^^^^^^^
KeyError: 'rqworker'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/netbox/netbox/manage.py", line 10, in <module>
🧬 loaded config '/etc/netbox/config/configuration.py'
🧬 loaded config '/etc/netbox/config/extra.py'
🧬 loaded config '/etc/netbox/config/logging.py'
🧬 loaded config '/etc/netbox/config/plugins.py'
    execute_from_command_line(sys.argv)
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 262, in fetch_command
    settings.INSTALLED_APPS
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/conf/__init__.py", line 89, in __getattr__
    self._setup(name)
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/conf/__init__.py", line 76, in _setup
    self._wrapped = Settings(settings_module)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/conf/__init__.py", line 190, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/netbox/netbox/netbox/settings.py", line 750, in <module>
    raise e
  File "/opt/netbox/netbox/netbox/settings.py", line 743, in <module>
    plugin = importlib.import_module(plugin_name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/netbox/venv/lib/python3.11/site-packages/netbox_prometheus_sd/__init__.py", line 1, in <module>
    from extras.plugins import PluginConfig
ModuleNotFoundError: No module named 'extras.plugins'

Sadly I don't have time to investigate further / fix this myself and make a PR at the current time, but wanted to create an Issue so it's on the radar. I assume that it's a relatively easy fix, probably just a few API endpoints changed. Thank you for this project and for your hard work :)

Netbox 4 support is on the way. I'm on vacation this week, I will work on it when I'm back. A first approach is already there as a draft PR.


Persist scrollbar position after rerendering with hooks

I'm struggling to stop the scrollbar to scroll to top after component rerendering. Any help/suggestion. Much appreciated. Thanks.

I'm struggling to stop the scrollbar to scroll to top after component rerendering. Any help/suggestion. Much appreciated. Thanks.

I've got the same issue here. Have you solved it?

Hey, were you able to solve your issue?


[AutoPR azurestack/resource-manager] Fix AzureStack swagger specs lint errors

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3506

Namaste

Namaste is the best


fix changelog link for v0.6.1

The v0.6.1 link is broken and v0.6.0 links to v0.6.1 changes. Fix the typo to fix that

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @therealprof (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

bors r+


Changing the order of values of categorical columns is not reflected in the filter panel

Steps to reproduce:

Open the filter panel and ensure that the categorical column you are about to modify is added as a filter
Change the order of values of the previously mentioned categorical column (right click on the column header -> sort -> custom)
Filter out one of swapped values from the 2nd step

Expected result:

The values are correctly filtered out

Current result:

The wrong value is being filtered out (values in the filter panel are based on the initial order that is not updated after creating custom order)

https://user-images.githubusercontent.com/99964535/167807072-bd349526-375d-4cec-9025-cb07ffc0dd32.mp4
Work around:

Change the custom order with the closed filter panel
Close & reopen the filter panel when the modification was made while it was opened

Found out the root cause, but handling it properly will take some time. Estimate: 5/22/2022

@skalkin - on priority

Fixed in Datagrok v1.1.8


fix bot.quit()

probably net browserify doesn't implement end event so we don't get the end event from mineflayer either

https://github.com/PrismarineJS/net-browserify/blob/master/browser.js


Update README.MD

Added the link to the flatpak bellow the link to the snapcraft so that people know where else they can the game.

Nice one DeaDvey I appreciate your support! :penguin: :clinking_glasses:

No, problem, I enjoyed the game a lot!


feat: Make empty favorite fragment similar to Eventbrite.

Fixes #1430
Changes: Made UI simillar to Eventbrite with the search option as in Eventbrite.
Screenshots for the change:

@liveHarshit @nikit19 please review


.NET Core SDK 2.0 is supported or will be?

Description
For now the README.md seems to point that Giraffe is design to build on top of the lastest released SDK, which is the SDK 1.0 and runtime 1.1. I tried, naively build the provided template with the SDK 2.0.0 preview 2 and doesn't works. So, for now, this is the expected, right?
But you have plans to support SDK 2.0.0 before release too? Or only after the official release?
Thanks anyway for that great web framework!
System/SDK version
Just for completeness sake, I'll add my current version info from dotnet --info
❯ dotnet --info
.NET Command Line Tools (2.0.0-preview2-006497)

Product Information:
 Version:            2.0.0-preview2-006497
 Commit SHA-1 hash:  06a2093335

Runtime Environment:
 OS Name:     manjaro
 OS Version:
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /opt/dotnet/sdk/2.0.0-preview2-006497/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0-preview2-25407-01
  Build    : 40c565230930ead58a50719c0ec799df77bddee9

Hi, Yes I definitely plan to support .NET Core 2.0, but I haven't had time to play with preview 2 yet. From previous experience I thought it might be better to wait for the final RTM, because they often changed quite a few bits very last minute and I don't want to migrate the library multiple times, but if the support for .NET Core preview 2 is much desired I can definitely work on it and release pre-release of Giraffe on that version too.

Good to hear it, @dustinmoris! Awesome job.
I'll be watching your progress.
I'm very excited about .NET Core 2.0, seems they improved a lot and fixed annoying bugs (which I suffer on some cases, like the wrong f# templates for console apps and others things). Another thing I expect is, but I don't have sure, If they will release support for Linux x86.

Looks like aspnetcore 2.0.0 was released on nuget.
I assume the cli tools will be released soon as well.
There have definitely been some breaking changes, but I'm not sure how much of it will affect Giraffe directly.

Thanks, weird I didn't see any official announcements of ASP.NET Core 2.0 yet, but you're right... it's been out for 3 days now! I actually also didn't think that netstandard2.0 is a new netstandard rather then a continuation of the previous one. This breaks the whole concept of netstandard, that when you target a lower version it will always work on a platform which supports a higher version. I am really confused... I don't understand why adding more APIs to netstandard2.0 stops compatibility with the old standards... anyway... given that this is the case I will indeed have to wait for all other dependencies to update first.

Yeah I pulled down the repo and just started shoving 2.0 dependencies at it. The first thing I noticed was an f# compiler error, which is when I stopped. I think that will be the only thing that will need to be waited on.
Aspnet stuff -> 2.0
System stuff -> 2.0
Json -> not yet
though i'm not sure how much these matter
Since 2.0 is a superset with no breaking changes I feel like it should be attemptable.
Every time I think I understand this stuff I look into it and something like "we don't need to do  semver because we feel it's a big change" happens.
Anyhoo, If I have some time I'll look into the F# issue (it was an error about multiple imports of System.Runtime on compilation) and see if I can't sort it out.

nice... let me know how you get on with it and if you want me to help with something, otherwise I'll just wait for the PR :D

So I got the projects building with these changes, but am running into all sorts of weird nuget-type errors.
I was at it for a while and got down pretty far the nuget/netcore rabbit hole.
Decided to take a step back and see if everything worked minimally.
I made a copy project with minimal dependencies to see if it would work. It seems to work, but this is just targeting netcore and I only tested the simple application (which uses some giraffe features).
Somewhere between these two repos is the answer lol.
Figured I'd put the information here for reference.

FYI, .NET Core 2.0 was released two days ago!

Yeah it's pretty exciting. I made sure to install it before starting on any of the porting work. I've got the partial working solution in the copy project repo I made. It's stripped down to only the necessary bits to get giraffe working on dotnet core, but doesn't include any of the CI or net461 parts. I'll look at it a bit more today.

Got passed all the weird runtime issues. Everything is building and tests are passing. I just need to fix up the samples and I should have a PR in today.

error NU1202: Package Microsoft.AspNetCore 2.0.0 is not compatible with net46
I've got everything tested under netstandard2.0
Not sure if everything will work with the net46 dependency

Additionally, I don't think I'll be able to test 461 (which should be compatible if you want to bump it) on my mac. It could be set up in docker, but I don't think I have the time to set that up at the moment.

So I've got everything working targeting netstandard2.0/netcore2.0 here except for the samples.
The SampleApp has the following error:

And the IdentityApp has errors to do with wherever all the identity stuff got moved to, but it shouldn't be too much work to translate it over.
I don't know if I'll be able to actually get to that stuff this weekend (just got booked for meetings, and then will be away from the computer), but I've checked in 90% of what needs to be done in my repo.
Let me know if you'd like that PR'd into a netcore2.0 branch or something where the last 10% can be finished up.

Hi I just created a netstandard20 branch. Feel free to submit the PR and I will merge it in there and finish the last 10% :)

Any easy way to consume it for now?

Hi @NinoFloris I aim to work on the 2.0 branch this weekend and hopefully have a new pre-release package ready by then which you can consume. I'll keep you posted here...

Hey, I am going through your changes and targeting 461 all works too, so might have a new release ready tonight or tomorrow. There's one things which I am surprised and I wanted to know how it works now without FSharp.Core and FSharp.NET.Sdk??

F# compiler and targets have been rolled into the Microsoft.NET.Sdk since
2.0
On Sat, Aug 26, 2017, 22:50 Dustin Moris Gorski<EMAIL_ADDRESS>wrote:

Hey, I am going through your changes and targeting 461 all works too, so
might have a new release ready tonight or tomorrow. There's one things
which I am surprised and I wanted to know how it works now without
FSharp.Core and FSharp.NET.Sdk??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dustinmoris/Giraffe/issues/76#issuecomment-325161199,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEBfuTneGoxr_0g3bznlZTJPHEHwsdRhks5scIUYgaJpZM4OutRC
.

Nice, that's great, thanks!

Just released all packages with the upgrade to netstandard2.0 and net461. Enjoy!

🎉


error while instaling

Type: Bug
Error while installing 'Debugger for Firefox' extension. Please check the log for more details.
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 10.0.22621
Modes:

Hi @daffa-art
Thank you for reporting your concern. We are following up to determine how best to address it, meanwhile could you please share Error screenshot and message to investigate better.
Thannks,
VS Marketplace Team

Closing the issue as there have been no updates for a week. If the problem persists you can contact us with the requested data.


Increased API Key length

Due to changes in ChatGPT API Key length, need to increase API Key and remove check of exact length

@giaphiep : please review

Thank you for letting me know that. I'm appreciate

@giaphiep : still not working: I'm getting


[FEATURE] Add Steps to Reproduce in Bug 🐛 Issue template

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.
Currently there is no standardized way to provide steps to reproduce a bug or issue within GitHub issue templates. This makes it difficult/extra work for maintainers and contributors to reproduce reported issues after creating an issue. A "Steps to Reproduce" section would solve this problem. We can bring awareness to providing steps to reproduce when creating an issue itself.
Proposed Solution
Adding a new optional section of "Steps to Reproduce" in issue template of Bug 🐛. This section would allow the user to provide a steps to reproduce the bug or issue in numbered list.
Template
Steps to Reproduce

Screenshots
No response
Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this
To implement this, the Issue Template of bug.yml would need to be updated to support adding a new section called Steps to Reproduce

Adding a new field definition in the YML file for stepsToReproduce as a textarea type.
Using the placeholder property to provide a sample format such as:

1. First step...
2. Second step..
3. etc.

The required property could be set to true since having steps to reproduce is important for maintainer.

I love this idea.  I think making it required is ideal, but sometimes folks don't know exactly how to reproduce a bug.
Maybe a step first saying "Do you know how to reproduce this bug" if they select yes, steps are required
wdyt?
I will unlock and assign to you as well

Maybe a step first saying "Do you know how to reproduce this bug" if they select yes, steps are required

I think most will always select "no" because it is less work. What about making it required and seeing how it goes - if people don't know they will write something just to progress, we see that in other require fields for features template but it definitely had an overall positive impact

I love this idea. I think making it required is ideal, but sometimes folks don't know exactly how to reproduce a bug.
Maybe a step first saying "Do you know how to reproduce this bug" if they select yes, steps are required
wdyt?
I will unlock and assign to you as well

It could work out, but I personally think from maintainers perspective it is extract work for us to do. If It's required, even if the steps aren't perfect, some info is better than nothing. This will reduce the burden on us to find out bugs from scratch and make our lives much easier.
Also, I have seen in some issue for "Do you want to work on this issue?" as empty, Not even "Yes or No"
Could it be because required is set to false?

Maybe a step first saying "Do you know how to reproduce this bug" if they select yes, steps are required

I think most will always select "no" because it is less work. What about making it required and seeing how it goes - if people don't know they will write something just to progress, we see that in other require fields for features template but it definitely had an overall positive impact

Making it required could work out if we follow below,

People who knows the steps can provide it. (they can follow placeholder template or prefilled value)
People who knows it partially can give heads up steps for us
People who doesn't have any idea, we can allow them to enter "Could not reproduce", "Need help", etc..

We can mention these with in placeholder of input field along with the steps. Let me know what you think?


New features and code refactor

Hi! First of all, thanks for this tool, I have migrated from pass to KeePass successfully thanks to it.
However, I found some minor issues with it, and I took the liberty to propose you some improvements in this PR

I had to modify the code to change the export format.

Now the code takes arguments using argparse, which is included since Python 3.2

I can't use the GPG agent

python-gnupg defaults to not use the GPG agent, so I added the option to use it.

I can't tell the script the gpg binary to use

python-gnupg defaults to use gpg1, but also supports gpg2, so now you can provide the GPG binary of your choice.
There's also two changes that are not a features at all, but maybe an improvement:

I removed the global vars and made the exporter a class.

I added a setup.py in case you want to add to the readme a direct install from GitHub, or maybe submit to PyPi, or whatever.

The rest of the code is mostly the same, and I tested it as best as I could, however, I couldn't add any tests as this is all the time I have for this :/
Greetings, Fernando

Thank you, looks good!
I made some small changes to your request:

Changed the path-argument to be positional since it is a required argument.
Changed the setup.py version to 0.1.0 as I'm not comfortable calling this 1.0.0 yet.

Merged!


Cannot enable the Verify the hostname option Remote Log Publishing

Describe the issue:

Cannot enable the Verify the hostname option in Remote Log Publishing
https://github.com/wso2/product-is/assets/40081059/6f08eedb-1624-41b8-807c-bb9d8ced4bf1
How to reproduce:

1.Login in to the console
2.Go to remote logging function
3.Try to enable verify hostname option and click on update.
4.Navigate to another page and check the status of verify hostname option you can see that the option is still in disable state.
Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [https://drive.google.com/file/d/1aPLoG3Dnap-4Uk7jkXvbwK2jlqCHQmgy/view?usp=sharing]

Optional Fields
Related issues:

Suggested labels:

This is now fixed in the latest Jenkins build.
https://github.com/wso2/product-is/assets/41533942/9c4c7ffb-e91a-4f22-8c6e-97e70583f550


SQLite binary [Question]

Looking to try out the plugin but not sure if it assumes that SQLite is already installed on OS.
In my case I'm using MacOS and I usually just use the portable binary download from sqlite.org (SQLite-Tools-OSX) which doesn't require a hard OS install - is it possible that the plugin can somehow be pointed to the portable sqlite3 executable binary which is not located with the system folders of the OS?
Looking at the source files all of the sqlite path references appear to relate to the location of the .db file not the sqlite3 binary.
I see the desktop app as being able to include the sqlite binary rather than depending on the host computer having SQLite installed.
If it needs it to be installed I will probably have to try the SQL.js (WASM) route on the client side (the databases I require are not generally large).

You don't need to install sqlite at all for this plugin, The sql crates we use bundle the latest available version inside the binary. (libsqlite3-sys via sqlx - using the bundled feature)


go/types, types2: provide better error message for short variable declarations

Given
var a int
a, b, b := 1, 2, 3
_ = a
_ = b

The compiler reports: b repeated on left side of :=.
types2 (go tool compile -G) reports: b redeclared in this block.
The compiler error message seems better because it's actually ok to "redeclare" a variable (here: a) with a short variable declaration.
cc: @findleyr

cc: @findleyr

This was resolved by the port to go/types: https://golang.org/cl/314629.


Generate models

The following models should be generated:

[x] User
[x] Donation
[x] Beneficiary
[x] Inventory
[x] Reminder

Generated all 5 models


gradle dependency for using as library

can i have gradle dependency for using this project as library

I have no idea what you are talking about.

i want to include your project as a library in my project.

But this project is not a library, it's an application. If you want to implement something similar then just look at implementation of this project - its not complicated.


koordlet: BECPUEvict supports cgroups-v2

Signed-off-by: Mew2<EMAIL_ADDRESS>Ⅰ. Describe what this PR does

cpuevict support cgroups-v2
Ⅱ. Does this pull request fix one issue?

part of https://github.com/koordinator-sh/koordinator/issues/407
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

/lgtm


Remix IDE doesnt work for me

I've tried to open remix.ethereum.org several times in several browsers but it only shows white screen and doesn't load anything, any solution?

Oh my lord


Cobra CLI

Implemented Cobra CLI based on response to my previous pull request
Usage:

typer is used to generate random words by default.

--file / -f followed by filename is used to read input from file instead.

--length / -l followed by an integer is used to set number of max words, by default is set to max int value.

--capital / -c is used to indicate that the user wants to include capital letters from text, by default capital letters are changed to lowercase.

--punctuation / -p is used to indicate that the user wants to include punctuation from text, by default punctuation is removed.

All groups of whites pace characters are replaced with a single space character by design.
The app lacks description to be included with Cobra, it needs your touch imho.
Licensing was changed to Cobra's license, don't know how to resolve that tbf.
edit: Wasn't able to link related issue

I addressed most of the review with the changes.
The Viper is out of my reach for now.

go run main.go didn't work?

go run main.go -l 100 worked for me 👍
But I don't think the default length should be MaxInt, maybe change it to 60?

Also, we will need to be able to ctrl+c to exit the typing test

I've adjusted word limits. DefaultLength was set to 20 words and MaxLength was set to 500 words, which seems reasonable, but can be adjusted further.

Changes merged in https://github.com/maaslalani/typer/pull/9
Thanks so much for contributing @happyRip ❤  I really appreciate it!


Creek 0.3.3-SNAPSHOT

Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage: 99.668%. Remained the same when pulling 7a10c2af737ab88095171ff83c2cadfc3fd30b20 on big-andy-coates-patch-1 into c8eacf13d982d89c0e4065246ed44feea2f64ec7 on main.


Create feature_report.md

Short Description
Create template for feature issue.
Pull Request Type
feature
Pull Request Content
Create a new file for issue template. Which helps to track the feature development.
Major Changes:
See related file in .github/issue/feature_report.md
More on [Your Task]
None
Related Test
Related File
None
Test Case
None
Next Step
None
About [Your Task]
None
System-Wide

LGTM


represent classes in XML

Let's make them visible in XML and all metrics make XML processing.

Job gh:yegor256/jpeek#85 assigned to @yegor256  (profile). The budget is fixed and it is 30 minutes. Please, read the Policy and go ahead.

@yegor256 this job was assigned to you 5 days ago. It will be taken away from you soon, unless you close it, see par.8.

@yegor256 this job was assigned to you 8 days ago. It will be taken away from you soon, unless you close it, see par.8.

@yegor256 resigned from gh:yegor256/jpeek#85, please stop working.


Freezing layers for training not working

Hi,
I have been trying to freeze a layer before training. But it does not seem to be working.
The code below illustrates this.
from keras.layers import Dense
from keras.models import  Sequential

model = Sequential()
model.add(Dense(32, input_shape=(500,)))
model.add(Dense(10, activation='softmax',trainable = False))
model.compile(optimizer='rmsprop',
      loss='categorical_crossentropy',
      metrics=['accuracy'])

model.get_config() produces the following output
[{'class_name': 'Dense',
  'config': {'W_constraint': None,
   'W_regularizer': None,
   'activation': 'linear',
   'activity_regularizer': None,
   'b_constraint': None,
   'b_regularizer': None,
   'batch_input_shape': (None, 500),
   'init': 'glorot_uniform',
   'input_dim': None,
   'input_dtype': 'float32',
   'name': 'dense_1',
   'output_dim': 32,
   'trainable': True}},
 {'class_name': 'Dense',
  'config': {'W_constraint': None,
   'W_regularizer': None,
   'activation': 'softmax',
   'activity_regularizer': None,
   'b_constraint': None,
   'b_regularizer': None,
   'init': 'glorot_uniform',
   'input_dim': None,
   'name': 'dense_2',
   'output_dim': 10,
   'trainable': False}}]

However, model.trainable_weights is [dense_1_W, dense_1_b, dense_2_W, dense_2_b] while model.non_trainable_weights is [].
Looking through layers/core.py, I noticed that in the build method of the Dense class, the trainable flag is not checked before self.trainable_weights is set.
Changing the build function to:
        if self.trainable:
            self.trainable_weights = [self.W, self.b]
        else:
            self.non_trainable_weights = [self.W, self.b]

appears to have fixed the problem. However, this change would need to be made to the build function of each layer individually. Is there a more elegant solution to this problem?

I think self.non_trainable_weights is for layers such as normalization. To freeze weights, you can refer to examples/mnist_transfer_cnn.py and modify your code to:
feature_layers = [
    Dense(32, input_shape=(500,))
]
classification_layers = [
    Dense(10, activation='softmax')
]

model = Sequential()
for l in feature_layers + classification_layers:
    model.add(l)
for l in feature_layers:
    l.trainable = False
model.compile(optimizer='rmsprop', loss='categorical_crossentropy', metrics=['accuracy'])

Hope this can help you.

Thank you!!


fix: removed the release flag and handle the inconsistency when releasing invalid structs

I'll do one last change!

It's okay now :D

Looks great! 🥳

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Check all re-exports are as desired

We should check and double check the re-exports in bitcoin and  primitives. Discussion/consensus will hopefully be reached on #3037

For error type re-exports please also see #3068

I don't know how to action this fully, may be closed by #3551.

Yeah, let's close this. It's not a big deal anyway because the only failure mode we're likely to find is that we forgot some re-exports, and we can easily add them in point releases as we find them.


Inconsistency in code provided in example is confusing due to mixing of different ways of writing code to achieve the same thing

Type of issue
Other (describe below)
Description
RaiseSearchDirectoryChanged is returning a callback and RaiseFileFound is just a method. There is no reason or explanation to say why one is a callback and one isn't, which is confusing for anyone new to events looking at this documentation, they may copy the example blindly and they may even think there is a material difference between the two. I think it is better just to use actual methods rather than the callback that is used in the example.
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/event-pattern
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/event-pattern.md
Document Version Independent Id
d2078536-1ee3-5b60-3872-f2635d245cc2
Article author
@BillWagner
Metadata

ID: 90b37f1a-cd59-d9e5-067b-30ea5f26e5cc
Service: dotnet-csharp
Sub-service: fundamentals

Thanks for commenting @BonnieSoftware
I took a cursory look at the article, and I think a lot of the confusion could be fixed with an edit pass, and including more of the source from the backing sample. A couple of the concepts (like ?.Invoke) are used without explanation. That should be made more clear.


Settings export over storage access framework

Intention:
In the pr for the runtime permission (#2110) it became clear that it is a good idea to move the export to saf to reduce the need for the external storage permission.
Notes;
That works only in android version newer than Kitkat, so I left the old legacy path for those devices. I tested the functionality with the jelly bean emulator.
I'm not sure about the "no_file_manager" check in the onImport function. Since Android is shipping with the content provider to save at the internal storage/external storage there should always be a provider. Or?

Since Android is shipping with the content provider to save at the internal storage/external storage there should always be a provider. Or?

I would not trust one of the manufacturers / a custom ROM not to screw this up. It's easier to just handle it.

@GoneUp: Are you planning on addressing the raised issues? If not we should know so we can do it ourselves.

Sorry, totally forgot it. I'm switching back to the university, including a move atm. And I actually don't have access to my dev pc. So it would take a while for me to include the fixes. It would be nice if you could do that :/
Am 28. Februar 2017 10:42:05 MEZ schrieb cketti<EMAIL_ADDRESS>
@GoneUp: Are you planning on addressing the raised issues? If not we
should know so we can do it ourselves.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/k9mail/k-9/pull/2256#issuecomment-282991118

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Thanks!
Continued here: #2382


add logo and CHRC to directory/directory.json

uploaded logo of CHRC
and edited the directory.json

would please tell me what left? or what's the mistake?

You also need to rebase against master


fix for noise matrix absence and allow for double wrap correction in the future

@alexjaffray I think we can merge this.


Changing $headings-color override text enphasises

With the following app.scss:
@import "variables";
@import "~bootstrap/scss/bootstrap";
@import "~font-awesome/scss/font-awesome";

body {
  > header {
    background: url('../img/header-background.svg') center top;

    #header {
      a:not(.btn) {
        @extend .text-light;
        text-decoration: underline;
      }
    }
  }
}

And the following variables.scss override:
$cyan: #0097a7;
$green: #689f38;
$orange: #ffa000;
$red: #e64a19;

$theme-colors: (
  primary: #455a64,
  secondary: #644f45,
  warning: $orange,
);

$headings-color: map_get($theme-colors, 'primary');

Changing the $heading-color variable to primary also affect titles under text-light (and certainly the other) rules:

This title should be colored

This one not. But it is.

This may be not a bug, but in this case the $heading-color is not very useful for overriding in my opinion.
Though?

Works for me: https://codepen.io/emdeoh/pen/WdRyOb. That's the best live demo I could produce to test the problem.


Flicker Issue when loading Branding Artifacts (css, js etc.) using SPFx Extension in Modern SharePoint Site

Category

[X] Question
[ ] Typo
[X] Bug
[ ] Additional article idea

Observed Behavior
Need help for the following scenario wherein any modern page that gets displayed shows a flicker of the default SharePoint page for 1-2 seconds before the actual page with branding is displayed.
Details:
We are facing an issue regarding the user experience in SharePoint Modern sites. For Branding, we have used SPFx Application customizer aka extensions to inject custom styles. With this implementation, we are facing a flicker because extension takes fractions of seconds to load itself. In the meantime, OOB page appears first and then extension starts loading.
Is there any way to load SPFx extension before SharePoint page starts loading? Or any way to inject custom styles on modern pages without SPFx extension?

Is there any way to load SPFx extension before SharePoint page starts loading?
No.
Or any way to inject custom styles on modern pages without SPFx extension?
No, there's no way to do this on SPO modern experience other than creating SharePoint framework solutions
With SharePoint, you should always colour within the lines. Don’t do anything that isn’t supported, ever. If you do, and you run into issues, you’re on your own.


Fontfixes

Improves font and label rendering.
If a swf generated by a converter (eg: pdf to swf), then sometimes the converter cannot create a valid font information. Also the "text" label shouldn't flip vertically, but the text2 should.

@tobytailor are there fixes here we still need to cherrypick?

Nope, everything should already be fixed in master.


Use cargo-docs-rs for the dev-docs

What problem does this solve or what need does it fill?
There are quite a few inconsistencies between our dev-docs and docs.rs. We want to minimize these inconsistencies so that we can easily see what changes will look like before a full release is made to docs.rs.
What solution would you like?
Use cargo-docs-rs to build our dev-docs here. It automatically manages all of the flags and configuration that docs.rs does, and is maintained by the wonderful David Tolnay. There's even a built-in Github Action that we can use!
What alternative(s) have you considered?
We could manually recreate all of the flags that docs.rs sets, but that runs the risk of going out-of-date.
Additional context
A small amount of discussion on Discord.

cargo-docs-rs doesn't support the --workspace flag, meaning that we can't use it to generate source documentation for all of our crates. Closing as unplanned.


Respect "hidden" tag

The JSON generated by cucumber-js for my tests has Before and After steps that are tagged in the JSON as "hidden". It would be nice if cucumber-junit respected the the "hidden" tag and left these steps out of the generated xml.
Example excerpt:
"steps": [
          {
            "keyword": "Before ",
            "hidden": true,
            "result": {
              "duration": 6105808,
              "status": "passed"
            },
            "match": {}
          },
          {
            "name": "I log in as user \"username\" and password \"password\"",
            "line": 9,
            "keyword": "When ",
            "result": {
              "duration": 33224808,
              "status": "passed"
            },
            "match": {}
          },

Interesting.  Good catch.  I would want it to show up if it failed there.

<EMAIL_ADDRESS>

Nice, thanks!

I'm running into a problem. Skipping hidden steps in the JUnit report is fine when they pass. But if an error occurs in a hidden step then the Cucumber run will exit with 1, failing the build, but the report doesn't show where the error occurred.
Perhaps hidden steps should only be skipped from the report if they've passed?


AL-52: Get alerts for prisoners

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.33%. Comparing base (08a2f27) to head (e0c336a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #57      +/-   ##
============================================
+ Coverage     93.21%   93.33%   +0.11%
- Complexity      333      339       +6
============================================
  Files            57       58       +1
  Lines          1076     1095      +19
  Branches         54       54
============================================
+ Hits           1003     1022      +19
  Misses           63       63
  Partials         10       10

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Decrease accuracy when running llava model

I successfully converted the model to TensorRT-LLM by following the tutorials. However, when I evaluated the accuracy of this model on both the A100 device and Jetson Orin AGX, the accuracy decreased significantly (from 97% to 93%) when using FP16/FP8 precision and (from 97% to 89%) when using INT4.
Do you have any suggestions for resolving this issue?

Use higher precison


⚠ Spryr has degraded performance

In c15842d, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 503
Response time: 3371 ms

Resolved: Spryr performance has improved in b212263 after 10 minutes.


No aarch64 arch

There appear to be only amd64 deb packages... No mention of aarch64 etc...
Can this be enabled?
thx!

I already tried: https://github.com/dionysius/vaultwarden-deb/discussions/2
You can build the package yourself using the instructions in the README. It seems it has built in the past

Github seems to release github-hosted arm runners by end of this year. This should make building times flawlessly fast compared to cross-compiling. If anyone is interested I'd happily review a PR to my package building workflow repo and the workflow in this repo. But since I've no arm-device I cannot test the development and the ongoing package updates, so I can't verify the reliability on those builds.

Update: https://github.com/github/roadmap/issues/970

Status: Q1 2025 – Jan-Mar


diffoscope: 77 -> 85

Motivation for this change
diffoscope is failing on release-17.09 due to a failing test for libarchive-c. The new version of ``libarchive-c``` fails the same test so I disabled it, but diffoscope seems to work.
Also includes an update for libarchive-c but diffoscope is the only user of that library.
If @dezgeg is cool with this, I will push it to 17.09 as well.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

FYI I bisected the breakage of the test in libarchive-c; it's caused by f9f9749fd2a7b75bea9660a60634965de98bac88, so cc @fpletz.

I was running diffoscope for a long time and was sad there was no progress reporting...
but apparently there is!
After some wrangling the python dependencies, ended up with this: https://github.com/dtzWill/nixpkgs/tree/feature/diffoscope-progressbar
Which also bumps to 86 which among other things adds support for progressbar2.
If this sounds good, feel free to grab the relevant commits or ping me and I'll do a PR in a day or two.

If you could do a PR that would be great! Please ping me when you do the PR.

I've added these commits to #29009.

Thanks!


Remove FAQ / Endorsements from ModelPage

Now that we have the FAQ and Endorsement pages we no longer need this content here

Arguable, I'd like to keep it until we have more complex needs.
Especially useful on mobile where a single page with all the important
information is better than a tab with dropbowns.
On Sat, Mar 21, 2020 at 2:07 PM Zack Rosen<EMAIL_ADDRESS>wrote:

Now that we have the FAQ and Endorsement pages we no longer need this
content here
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/covid-projections/covid-projections/issues/65, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADSWQVIBPFLQBQJ7PJ6Z73RIUUBBANCNFSM4LRBSFVQ
.

I'll hold off on this for now then


remove example project folder

I'm currently still busy with it, so please let it stay until I'm done :)

example or playground ??

sorry, playground


Says could not generate to HTML

cannot convert component LiveSelect.Component with id "test[review][0][name_review]_assignee_component" to HTML.
A component must always be returned directly as part of a LiveView template.
Any idea?

Not without more context :)
How are you adding LiveSelect to your view/component? Can you please show me your heex template?

maybe you're trying to add the component to the root template directly?

I am adding it not to a heex template, but inside a component, and that component will be used inside a heex template. This is the component
def review_table(assigns) do
    assigns =
      assigns
      |> assign_new(:hide_header, fn _ -> false end)
      |> assign_new(:phx_target, fn _ -> nil end)

    ~H"""
    <% input_class = "shadow-sm text-sm rounded-lg border-gray-300 focus:border-primary-500"

    table_classes = if @hide_header, do: "", else: "border-t rounded-t-lg"

    header_visibility = if @hide_header, do: "collapse", else: "visible"
    header_classes = if @hide_header, do: "", else: "border-b"

    header_row_classes =
      "table-cell px-4 py-3 bg-slate-50 text-left text-xs font-medium text-slate-500 uppercase tracking-wider border-b"

    row_classes =
      "table-cell px-4 py-3 overflow-hidden max-w-xs whitespace-no-wrap font-medium text-sm text-slate-800 border-b align-middle" %>

Question

Answer

Assignee

Status

        <%= for descriptor <- @descriptors do %>
          <%= inputs_for @form, descriptor.field, fn f -> %>
            <% review = Changeset.apply_changes(f.source) %>
            <% row_bg_color = if descriptor.critical, do: "bg-yellow-100", else: "" %>

      .................

                <%= live_select(f, :assignee) %>

                <.ev_error_tag form={f} field={:assignee} />

                  <%= select(f, :status, AnswerReviewItem.statuses(), class: input_class) %>
                  <.status_icon status={review.status} />

                <.ev_error_tag form={f} field={:status} />

          <% end %>
        <% end %>

    """
  end

Thanks.
This is probably the reason.
The anonymous function in your inputs_for might be the problem.
Try using the variant without anonymous function: https://hexdocs.pm/phoenix_html/Phoenix.HTML.Form.html#inputs_for/2

Thank you!
The mentioned variant in the link is form_for right? Can we adapt that to inputs_for as well?

I changed the annonymous function to this
<%= for f <- inputs_for(@form, descriptor.field) do %>
Still gives the same error

Okay, I think I figured it out! Thank you for pointing me in the right direction!

Great! Glad you figured it out.

Just to be clear, I can pass the options like this right?
<%= live_select(f, :assignee, Constants.asignee_list()) %>

No you can't. Take look at the docs: https://hexdocs.pm/live_select/LiveSelect.html#live_select/3
<%=  <%= live_select(f, :assignee, options: Constants.asignee_list()) %>

Opening this issue again. What I am facing right now is not related to this issue, but since the context and the code samples are already here, thought of opening this again.
Issue is, the handle_info function is triggered when the user inputs characters, but once an option is clicked, the phx_change event is not triggered. Any idea why?
 <%= live_select(f, :assignee,
                  options: Constants.assignee_ids(),
                  dropdown_extra_class: "!absolute",
                  update_min_len: 1
                ) %>


Gradebook should have a MEAN score for every question as ROW 2 in the table

Just add up everything and divide by number.

This is done.


[Bug] 1.15.2 Fatal Error?

Describe the bug
I get a java.lang.NullPointerException after I launch Minecraft (during the Forge bootup/loading)
To Reproduce
Launch Twitch App
Click Play (purple button in Twitch App)
Click Play (green button in Minecraft Launcher)
Crash occurs while Forge is loading mods (I think)
Expected behavior
To at least make it to the main menu after the mods load.
Latest Log: https://gist.github.com/Yourname942/8d24e3f35fb3dbc0368b07c7ca45dc2f
Crash Log: https://gist.github.com/Yourname942/eede40d60fc91adece68ecabf0c6cfd5
Minecraft: 1.15.2
Forge: 31.2.36
FluxNetworks: 1.15.2-5.0.3-4

Duplicated: #384
Relevant Issue: #6374

As you can see, it caused by ContentTweaker


Home Page UI Books Slider

I have add the book slider in home page. For now book details are same, later it can fetched from database. I also added image for the mobile view as discussed earlier. All the work is responsive. Below is the work:
https://drive.google.com/file/d/1yzRycJmRh96K_6YySxp7SLpDdaqRUDDq/view?usp=sharing

@rohansx  The new navbar that someone has added is not responsive, it is going out of the page.

great work!! @laxanarana1513

@rohansx The new navbar that someone has added is not responsive, it is going out of the page.

Yeah, color also needs to be changed. Wanna take up on this issue?

@rohansx The new navbar that someone has added is not responsive, it is going out of the page.

Yeah, color also needs to be changed. Wanna take up on this issue?

great work!! @laxanarana1513

Thank you @rohansx

@rohansx The new navbar that someone has added is not responsive, it is going out of the page.

Yeah, color also needs to be changed. Wanna take up on this issue?

Yes sure I will make new issue of this and improve it

Yeah proceed with the new issue and take the reference of scribd homepage's navbar color

@laxanarana1513 Do you have any other suggestions for the homepage or overall web application?

@laxanarana1513 More detailed view of the selected book is needed, will you be able to do that?

@laxanarana1513 More detailed view of the selected book is needed, will you be able to do that?

Okk I will do that

@laxanarana1513 Let it be, someone else is taking on this issue

@laxanarana1513 Let it be, someone else is taking on this issue

Ohhk not an issue

If they fails to complete the task, I'll assign you. Meanwhile you can check for the other issues

Yaa ok... Is there anything that I can do in backend?

@rohansx  May I implement the user Sign in and sign up functionalities???


You're the computer, you sort the fields

Restructure makeStructType to have sane API, update callers.

cc: @ahl

So much nicer! 😎


NetworkAttachmentDefinition not listed in cluster-explorer or search

Issue description:
NetworkAttachmentDefinition isn't being listed as an object type under the k8s.cni.cncf.io group, only Networks (see attached screenshot)
Business impact:
No UI management ability for NetworkAttachmentDefinitions
Troubleshooting steps:
n/a
Repro steps:
Rancher 2.6.2, downstream custom RKE2 with multus/canal
Apply the test-network-attachment-definition.yaml file (attached)
Notice that this object type isn't listed on the left navigation thing or in search

Workaround:
Is workararound available and implemented? no
What is the workaround: n/a
Notes:
SURE-3769

Note: Your provisioned cluster needs to be RKE2 with Multus

The resource is there, but we label it just 'Networks' - we will rename this to 'Network Attachment Definition' in 2.6.5

Verified on v2.6-head https://github.com/rancher/rancher/commit/6bb6e45fba97f58443e547e2f57d2807a424467f.
REPRODUCED ENVIRONMENT DETAILS

Linode Ubuntu 20.04.4 VM - Client Machine
Docker install
Rancher version: v2.6.4
Kubernetes version: v1.22.7+rke2r2
Cluster Type: Downstream RKE2 - 3 control plane, 3 etcd, 3 worker

Provisioned via Rancher UI
Container network, multus, canal

VERIFIED ENVIRONMENT DETAILS

Rancher version: v2.6-head https://github.com/rancher/rancher/commit/6bb6e45fba97f58443e547e2f57d2807a424467f
Install option: Helm Chart
Kubernetes version: v1.22.8
Cluster Type: Downstream RKE2 - 3 control plane, 3 etcd, 3 worker

Provisioned via Rancher UI
Container network, multus, canal

REPRODUCTION STEPS

Setup Rancher v2.6.4 and navigate to Rancher UI in a browser.
Provision downstream RKE2 cluster with networking multus,canal selected.
Download kubeconfig file, apply to a local client machine. Once done, apply a test NetworkAttachmentDefinition YAML file to your cluster.
Navigate to top-left dropdown menu > Explore Cluster > freshly created-RKE2 cluster > More Resources > k8s.cni.cncf.io. Should see the following:

VERIFICATION STEPS

Setup Rancher v2.6.4 and navigate to Rancher UI in a browser.
Provision downstream RKE2 cluster with networking multus,canal selected.
Download kubeconfig file, apply to a local client machine. Once done, apply a test NetworkAttachmentDefinition YAML file to your cluster.
Navigate to top-left dropdown menu > Explore Cluster > freshly created-RKE2 cluster > More Resources > k8s.cni.cncf.io. Should see the following:


Successive runs with cache enabled generates different UHDM output

Two consecutive runs of Surelog, with no change and cache enabled, generates different UHDM output. First run has correct ref_obj/actual_group bindings. In the second run, however, many ref_obj/actual_group bindings are null. Also, many vpiNet objects are missing in the second run.
Test - Assignments
Attached are the two log files from consecutive runs.
FirstRun.log
SecondRun.log

Fixed by #2817


40 update dependencies and buildtools

Codecov Report

Merging #42 (6436750) into master (7033dbf) will increase coverage by 0.98%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
+ Coverage   94.69%   95.67%   +0.98%
==========================================
  Files          21       21
  Lines        1489     1504      +15
==========================================
+ Hits         1410     1439      +29
+ Misses         79       65      -14

Impacted Files
Coverage Δ

Sources/ShuskyCore/GitHookFileHandler.swift
100.00% <100.00%> (ø)

Sources/ShuskyCore/Shell.swift
97.77% <100.00%> (+0.10%)
:arrow_up:

Sources/ShuskyCore/ShuskyFile.swift
93.75% <100.00%> (ø)

Tests/ShuskyCoreTests/HookHandlerTests.swift
100.00% <100.00%> (ø)

Tests/ShuskyCoreTests/ShuskyCoreTests.swift
100.00% <0.00%> (ø)

Tests/ShuskyCoreTests/ShuskyFileTests.swift
100.00% <0.00%> (ø)

...ests/ShuskyCoreTests/GitHookFileHandlerTests.swift
100.00% <0.00%> (ø)

Tests/ShuskyCoreTests/ShuskyModelsTests.swift
90.80% <0.00%> (+0.05%)
:arrow_up:

Sources/ShuskyCore/ShuskyCore.swift
91.02% <0.00%> (+0.11%)
:arrow_up:

... and 3 more

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 7033dbf...6436750. Read the comment docs.


Event Date!

Hi,Rakshit!
I have added The event date so that viewer's of this repo will be get aware of this event.
STAY HOME,STAY SAFE

Great, thanks.


Open  Multiple folders

When I open a new folder,last folder must be close,but at some time this isn't what we want.
So,that's so fun if I can open multiple folders which arrange like project inVS.

At least you can open a new window with ctrl + shift + n, but what would be nice is to be able to right click a folder and select open in new window.

https://github.com/Microsoft/vscode/issues/396
Duplicate


Provisioning a host that can only be reached via ProxyJump is extremely difficult

Is your feature request related to a problem? Please describe.
I wanted to use nixos-anywhere to setup NixOS on a work machine, which I can only reach by going through a seperate login server. For this host, I have an entry in my ~/.ssh/config along the lines of
Host to-be-provisioned
  User myusername
  HostName internal.address
  ProxyJump login.veryrealcompany.com

I was able to SSH into the host successfully and ran nixos-anywhere ... myusername@to-be-provisioned.
Initially, nixos-anywhere was able to connect as well and installed its SSH key.
However, at some point, it switched to trying to connect via internal.address which obviously did not work.
To mitigate this, I added a Host internal.address entry to my ~/.ssh/config and was able to get a step further.
Subsequently, ssh-keyscan failed because apparently it does not read ~/.ssh/config.
As a last resort, I tried to port-forward internal.address:22 to localhost:2222 and target that instead, but again ssh-keyscan failed because it tried to scan username@localhost rather than localhost.
Describe the solution you'd like
I'm sure each of these issues can (and maybe should be) fixed individually.
However, I do believe that my initial attempt should ideally just work.
To that end, nixos-anywhere should stick with the originally provided hostname for its connections or manually specify the appropriate ProxyJump. Further, if a ProxyJump is required, ssh-keyscan must be run on the bastion host.
In case there is a good reason to for nixos-anywhere to switch the hostname it uses for connections in some scenarios, it may be sufficient to enable this behavior through a flag.
Describe alternatives you've considered
Instead of automatically detecting the configured bastion host, it could also be specified via command line args.
While I find that slightly more cumbersome, an argument could be made that that solution is purer since the bastion host needs to be explicitly specified.
That said, the SSH config is currently respected so I believe implicit detection does not go against the spirit of the tool.
Additional context
In this setup, I have no possibility to run nix on the bastion host. I have instead performed the installation manually by running the same steps that nixos-anywhere would, only with the correct SSH options.

Mhm. It's quite common that jumphosts actually don't allow one to run commands on it. We currently only need the ssh-keyscan in case we need to build on the remote.
So we could improve the situation a bit by not fetching the public key otherwise.

With https://github.com/nix-community/nixos-anywhere/pull/240 you should be able to have the jumphost passed to --ssh-option instead.

I can confirm that --ssh-option "ProxyJump=${user}@${host}" works for me.

Closing this for now as it works in most cases.


Rename example operators SPL toolkits.

Looking at the project names it's not obvious to me which contains the operator under test and which contains the test composite. Looking at them my thinking goes com.ibm.streamsx.testing.examples.operators.app just contains the app that demonstrates use of the composite, and thus com.ibm.streamsx.testing.examples.operators.spl must contain the operator under test, therefore where is the test composite? spl is not a descriptive term here.
I propose renaming:
com.ibm.streamsx.testing.examples.operators.app to com.ibm.streamsx.testing.examples.operators.
(lose the app)
Reason, this is the toolkit that contains the operator under test, and it happens to include a app that demonstrates the operator under test.
com.ibm.streamsx.testing.examples.operators.spl to  com.ibm.streamsx.testing.examples.operators.testing.
Reason, makes it clear this is testing support for the toolkit and is probably a good pattern to encourage.

@chanskw Thoughts?

I like:
com.ibm.streamsx.testing.examples.operators.app to com.ibm.streamsx.testing.examples.operators.
(lose the app)
I do not like:
com.ibm.streamsx.testing.examples.operators.spl to com.ibm.streamsx.testing.examples.operators.testing.
For some reason having testing appears twice bothers me.  :)
What about:  com.ibm.streamsx.testing.examples.operators.testop

I think we want to define a pattern so that if I have a toolkit a.b.c how do a name a toolkit that contains testing artifacts for a.b.c.. Note that it may be more that operators that exist in such a testing toolkit.
I'm proposing a.b.c.testing.
Testing only appears twice because we are in the streamsx.testing project.
We could rename these example toolkits to something else, e..g something like examples.operators
or testexamples.operators since they are never going to be used as real toolkits.

1 on just renaming the examples to something else, maybe that will make it simpler.

What about:  com.ibm.streamsx.examples.operators - remove testing from the name?

I think com.ibm.streamsx.examples.operators is a bit too general.
Since these are just examples of how to urn a test I don't think it's needed that they are in a namespace that starts with 'com.ibm.streamsx`.

I updated the pr to:

have the lead in for the toolkits/namespaces/packages be examples.operators.
Change the layout to have all test related artifacts under `tests.

I'll merge the PR and any suggest any subsequent renaming/layout changes should be under a new PR.


Drop Python 2.7 and Django 1.11 support

May as well do these two together.
I won't be doing this before 2020, this is just a reminder.

May as well do this now as I doubt there's going to be any bugfixes in the next month.


Add support for provisioned users API endpoint

In 14.8, GitLab added a new provisioned users API endpoint. The new endpoint allows group maintainers to list users provisioned by a group.
Provisioned users API documentation

@svanharmelen 👋 Could you please review this when you have a chance? Thanks! 🙏

@sfang97 Thank you for working on this so quickly.
@svanharmelen I have tested this against the new API as T-Mobile has direct need of it. Code works as intended.

@svanharmelen Any chance we can get a final review and merge on this?


Vaught k hw03 main

Questions completed.
Dunction 1 have been completed.
Awaiting instructions for function 2.

Artwork for Function 1 is a house under a night sky.

You need to move a few files around as well:

Your HW03-VaughtK/Kai_hw03_questions.md should be inside the Answers folder.
You should also upload your Google Doc to the PDFs folder.


Add etcd s3 timeout

Signed-off-by: Brian Downs<EMAIL_ADDRESS>

Proposed Changes

Add the ability to pass in a timeout value for S3 operations used with etcd snapshots.
Types of Changes

Verification

Linked Issues

#4207
User-Facing Change

Add the ability to pass in a timeout value for S3 operations used with etcd snapshots.

Further Comments

Your linked issue just points back to this PR?


Revert allowNativeBroker default to false

This PR: Reverts allowNativeBroker from true to false by default

Codecov Report

Merging #6280 (2aaae99) into dev (81d34b4) will increase coverage by 1.67%.
Report is 225 commits behind head on dev.
The diff coverage is 92.78%.

:exclamation: Current head 2aaae99 differs from pull request most recent head 13fc288. Consider uploading reports for the commit 13fc288 to get more accurate results

Flag
Coverage Δ

msal-angular
96.73% <92.78%> (+0.22%)
:arrow_up:

msal-browser
85.55% <ø> (-0.92%)
:arrow_down:

msal-common
?

msal-core
?

msal-node
?

msal-node-extensions
?

msal-react
94.24% <ø> (-0.45%)
:arrow_down:

node-token-validation
?

Files Changed
Coverage Δ

lib/msal-angular/src/msal.interceptor.ts
100.00% <ø> (ø)

lib/msal-angular/src/msal.module.ts
100.00% <ø> (ø)

lib/msal-angular/src/msal.navigation.client.ts
93.33% <ø> (+0.47%)
:arrow_up:

lib/msal-angular/src/msal.redirect.component.ts
100.00% <ø> (ø)

lib/msal-angular/src/msal.service.ts
100.00% <ø> (ø)

lib/msal-angular/src/packageMetadata.ts
100.00% <ø> (ø)

...b/msal-browser/src/app/IPublicClientApplication.ts
42.42% <ø> (-1.33%)
:arrow_down:

...ib/msal-browser/src/app/PublicClientApplication.ts
67.44% <ø> (-27.89%)
:arrow_down:

...er/src/broker/nativeBroker/NativeMessageHandler.ts
86.29% <ø> (+0.33%)
:arrow_up:

lib/msal-browser/src/cache/AsyncMemoryStorage.ts
80.76% <ø> (+2.99%)
:arrow_up:

... and 48 more

... and 175 files with indirect coverage changes


Enhance SFC logic for chains with multiple replicas of pods/interfaces

Signed-off-by: Rastislav Szabo<EMAIL_ADDRESS>

Coverage remained the same at 68.833% when pulling bb30a07d34d0b100184b2dd36150902e24a73f02 on rastislavszabo:sfc-l2xconn into 88fd6b912b9674fc03aad26eb4ab4fd11a212e8c on contiv:dev.


deis apps:run should receive stderr

@Joshua-Anderson pointed out that deis run doesn't return stderr. At first glance, it looks like the canonical implementation for fleet could call paramiko's makefile_stderr function to do so. This would require similar, possibly backward-incompatible changes in the other schedulers (or no-ops), and probably in the controller models, REST API, and client(s).

I know we're slowly getting away from fleet but I got a fix for this one if you're interested:
            def _do_ssh(cmd):
                with tran.open_session() as chan:
                    chan.get_pty() # <--- this make the stderr to show up (in order) in the output
                    chan.exec_command(cmd)

This issue was moved to deis/controller#1213


Course - educationalCredentialAwarded

Property educationalCredentialAwarded missing in Course (https://pending.schema.org/educationalCredentialAwarded)

Based on the link you share, educationalCredentialAwarded isn't in the official spec yet, so we'll need to wait for that until it appears in this package.


When ellipsis appears, the clear 'X' doesn't work on Chrome

I'm using a select2 with this options:
$("#cbo").select2({
        multiple: false,      minimumInputLength: 4,        allowClear: true,
        ajax: {
            url: "FiltersWs.asmx/getData",
            dataType: 'json',            delay: 250,            type: 'POST',
            data: function (params) {                return { searchTerm: params.term};            },
            processResults: function (data, page) {  return { results: data };
            }
        },
        templateResult: cboFormatResult,
        templateSelection: cboFormatSelection,
    });

When the result is so long the ellipsis appears on the right (it's great) but the cross to clear the selection doesn't work. I think it's a Chrome problem ('...' is over de X) I don't know the easy way to fix it. Meanwhile I put on the left side removing the float:right and adding some margin.
.select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    /*float: right;*/
    margin-right:2px;
    font-weight: bold; }

I'm using W8.1, Chrome 43.0.2357.124 m, jquery 2.1.4 and no other pluggins.
In FF 38.0.5 works fine.

This appears to be a duplicate of https://github.com/select2/select2/issues/3306.


Auth0 Extend Blog: Extend Salesforce with Node.js - Updates

[x] Add tl;dr section as a call to action
[ ] Update footer banner to be template-ized
[ ] Override footer banner content to point to auth0.com/extend/salesforce


Pedestrian detection in low light

Hi, I am work on the project which can detect and track pedestrian in low light or night. Then how can I use your model for my dataset?

Unfortunately, this dataset does not contain pedestrian..


Font Awesome 5 Pro fa5-upgrade script

[x] Review the documentation: https://github.com/oblador/react-native-vector-icons
[x] Search for existing issues (including closed ones): https://github.com/oblador/react-native-vector-icons/issues

Environment
OS: macOS
target: iOS, android
version: 6.5.0

Description
Describe your issue in detail. Include screenshots if needed.
I am trying to load FontAwesome 5 Pro icon fonts into an expo project. Running the fa5-upgrade script downloads the fonts, but I guess as it is an expo project it fails to run the link command. Additionally if I were to try to take the manual route as outlined in the readme, I don't have the supported xcode files. What are my options from this point?
Demo
You can use https://snack.expo.io/ to create a demo that can help users to better understand your problem.

Closing in favor of recommended steps by fontawesome.


fix(mips32el): fix positions of float registers in Little-Endian MIPS32 CPU

Hello,
When loading double constants using two lwc1 instructions ("Load Word in Coprocessor 1"), the words are swapped on Little-Endian MIPS machines.
More precisely, when compiling the following function with mipsel-linux-gnu-gcc -O3 -mfp32 -march=mips1
    double add_0x100000000(double num) {
        return num +<PHONE_NUMBER>.0;
    }

The produced assembly (seen with objdump) is:
00000000 <add_0x100000000>:
   0:    3c1c0000     lui   gp,0x0
   4:    279c0000     addiu gp,gp,0
   8:    0399e021     addu  gp,gp,t9
   c:    8f820000     lw    v0,0(gp)
  10:    00000000     nop
  14:    c4400000     lwc1  $f0,0(v0)     ; load the first 32-bit word
  18:    00000000     nop
  1c:    c4410004     lwc1  $f1,4(v0)     ; load the second 32-bit word
  20:    03e00008     jr    ra
  24:    46206000     add.d $f0,$f12,$f0  ; perform the addition

(the rodata section contains 00000000 0000f041 to encode the constant).
When opening the produced file with Ghidra 10.0, the assembly code is fine but the decompiler outputs:
    double add_0x100000000(double param_1)
    {
      return param_1 + 5.465589744795806e-315;
    }

5.465589744795806e-315 comes from the decoding of 0000f041 00000000 instead of 00000000 0000f041: the words were swapped.
Fix this by swapping f0 and f1, f2 and f3... when using a Little-Endian MIPS machine with 32-bit floating-point registers.

Good catch! The processor tests for this should have caught it, but there was a bug with the tests so that the little-endian tests were running the wrong test suite.