Actionable Release Notes for Microsoft Defender for Endpoint on Linux

The Microsoft Defender for Endpoint for Linux Version release notes here do not provide much useful information to teams which need to closely track changes to their environment, head off potential issues, track resolution of previously noted issues, etc.
Please provide more meaningful release beyond "Performance improvements & bug fixes".

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

ID: 38276f58-2d15-9f05-cd4a-87646ec11b27
Version Independent ID: 12f1b3df-123f-7005-9f68-38ab20df09cd
Content: What's new in Microsoft Defender for Endpoint on Linux
Content Source: microsoft-365/security/defender-endpoint/linux-whatsnew.md
Product: m365-security
Technology: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@Dansimp Please help us resolving this issue. Thanks


Support custom icons

It's a pity this one is not merged. I'm using bootstrap 4 where glyphicons are deprecated. This PR would make a switch to FA much simpler.


Complete Searching Feature and UI changes for Posted Page, Add CRUD Logic and Search Keyword Generator

Features
Searching Feature complete

Can be searching with queries

개쩌는 기능이니깐 칭찬 부탁드립니다.

Posted Page UI changes
Scrollable posted page

SingleChildScrollView widget contains like/dislike button, comments box, which means it can be scrollable the whole page.
Remove Empty box when no images
Notice that above screen, there's no empty box.
Before than, there's empty box size of image's height. But now the image list widget returns sizedBox with height zero when there's no images, more natural posted page.
Change the map page title

Change the title of map page (Before then, it was Animate group of markers dynamically)
Code Changes
Add getPostsByUserIdAndCommunityId CRUD Logic
static Stream<List<Post>> getPostsByUserIdAndCommunityId

Return the stream of posts which satisfying user id and community id.
search keyword generator
static Stream<List<Community>> getCommunityStreamByLocation(String query)

Generating keywords from query
It can also be used within generating post searching keywords.
Database Changes

Community now stores array of search Keywords.
Note
commit number # cc4db0d의 메시지는 샷건 치다가 그렇게 된 거니 양해 바랍니다.

멋집니다. 수고하셨어요.


build: allow to customize tmpdir

Hello,
This change allows customizing the directory for temporary files, setting up the current behavior as default.
I'm particularly interested in this change because I want to use a memory filesystem (tempfs) to speed up a bit the puppeteer process.

hum checks are failing for a non related thing.

ops, fixed the camel case naming 🙂
I'm not sure about PUPPETEER_TMP_DIR because it's limiting the possibility to use a function where the path can change over time, rather than a static string.

I'm not sure about PUPPETEER_TMP_DIR because it's limiting the possibility to use a function where the path can change over time, rather than a static string.

If the path changes over time and your code knows about it, can't you have it update the PUPPETEER_TMP_DIR env var accordingly?

you're right; I'm assuming os.tmpdir() will return a different path every time, but it looks like constant value:

let me do the code changes for a new environment variable 🙂

@mathiasbynens done at https://github.com/puppeteer/puppeteer/pull/7243/commits/083ea5ff7e8f6a51b16db9699e237864961c9eaa
Do you think it could be moved into a common, so it just could be declared once?

@mathiasbynens Can I do something to move this PR forward? 🙂

The diff seems to include lots of unrelated changes. Could you please check?

@mathiasbynens updated 👍

@mathiasbynens all green now 🙂

@mathiasbynens I think now can be merged

Could you maybe move the implementation of const tmpDir = () => process.env.PUPPETEER_TMP_DIR || os.tmpdir(); into a separate file like helpers.ts or something similar to reduce code duplication?

I want to do that, experimental/puppeteer-firefox/lib/Launcher.js is CJS and src/node/Launcher.ts is ESM.
I guess I can't just create a file that can be loaded on both parts; am I wrong?

Could you maybe move the implementation of const tmpDir = () => process.env.PUPPETEER_TMP_DIR || os.tmpdir(); into a separate file like helpers.ts or something similar to reduce code duplication?

I want to do that, experimental/puppeteer-firefox/lib/Launcher.js is CJS and src/node/Launcher.ts is ESM.
I guess I can't just create a file that can be loaded on both parts; am I wrong?

Ah sorry, I didn't see that one is for Firefox and one in src. In this case, I think this change looks good!

@jschfflr @mathiasbynens any chance to merge this? it's already approved and tests pass on green 🙂


Add Federation Support

A basic implementation of federation. Some issues I have and could use guidance:

[x] Using AnyCodable as a dependency Used the Map type from GraphQL
[ ] Where to store JSONEncoder/Decoder for reusability
[ ] Users having to implement FederationContext/FederationResolver and copying the SDL in directly
[ ] How to apply directives to fields/types (ie: @key(fields: "id"), @inaccessible, @shareable )
[x] Supporting older versions of Swift (any FederationContext requires 5.7) Updated FederationResolver protocol to offer a method for older versions of Swift

How to apply directives to fields/types (ie: @key(fields: "id"), @inaccessible, @shareable )
@NeedleInAJayStack is directive support already in Graphiti?

How to apply directives to fields/types (ie: @key(fields: "id"), @inaccessible, @shareable )

@NeedleInAJayStack is directive support already in Graphiti?

Not at the moment, but it's deinitely a highly sought-after feature

Not at the moment, but it's deinitely a highly sought-after feature

I can work on that feature - would you prefer directive support before merging in federation?

Awesome, thank you so much @samisuteria! Yeah, from my understanding federation support typically uses custom directives so solving custom directives first in a general way makes sense to me. Thanks again, and great work so far!

Federation can work without directives in the application code. If you are writing schema first (I'm not sure the split between schema-first and code-first in the GraphQL ecosystem) you can enable federation without directives. As long as the service sdl query returns the schema federation will work correct.
query {
   _service { sdl }
}

If you check out the samisuteria/graphiti branch on https://github.com/samisuteria/apollo-federation-subgraph-compatibility/ and run make test subgraph=swift-graphiti you'll see it passes all tests except federated tracing (which seems like a much larger project based on: https://www.apollographql.com/docs/graphos/metrics/sending-operation-metrics#tracing-format) and it appears about half the subgraph libraries have warning levels of support for it https://www.apollographql.com/docs/federation/building-supergraphs/supported-subgraphs .
*************
Federation v1 compatibility
*************
_service PASS
@key (single) PASS
@key (multi) PASS
@key (composite) PASS
repeatable @key PASS
@requires PASS
@provides PASS
federated tracing WARNING

*************
Federation v2 compatibility
*************
@link PASS
@shareable PASS
@tag PASS
@override PASS
@inaccessible PASS

I still plan on working on adding directive/sdl support for Graphiti but I think this PR is ready for review and can be used by people who are schema-first.

I still plan on working on adding directive/sdl support for Graphiti but I think this PR is ready for review and can be used by people who are schema-first.

Sounds good for me. Nice work 👍 . While It's probably a bit awkward atm given you can't really fully do schema-first or use directive with Graphiti, those feature can be separated and worked on later with future PR / releases.

Great info @samisuteria! Thanks for walking me through that, and in that case I'm totally ok with this going in before directive support.
Sorry about the delay - I'll get a review in this weekend.

@samisuteria See what you think of this twist on your implementation: https://github.com/NeedleInAJayStack/Graphiti/tree/federation_jay
If you're okay with it, we can pull those commits into this MR.

@NeedleInAJayStack I really like the changes on your branch and the Key implementation / mapping to the Resolver argument types is a much better way to implement federation.
The syntax for defining keys in the schema seems like complicated (anytime you have multiple builder closures in a function).
What do you think of something like this? It would just require keys: [KeyComponent<ObjectType, Resolver, Context>] to be mutable.
Type(Product.self) {
    Field("id", at: \.id)
    Field("sku", at: \.sku)
    Field("package", at: \.package)
    Field("variation", at: \.variation)
    Field("dimensions", at: \.dimensions)
    Field("createdBy", at: \.createdBy)
    Field("notes", at: \.notes)
    Field("research", at: \.research)
}
.key(at: ProductResolver.getProduct1) {
    Argument("id", at: \.id)
}
.key(at: ProductResolver.getProduct2) {
    Argument("sku", at: \.sku)
    Argument("package", at: \.package)
}
.key(at: ProductResolver.getProduct3) {
    Argument("sku", at: \.sku)
    Argument("variation", at: \.variation)
}

@samisuteria Ooo, I love that idea. You're right, looks cleaner and better preserves the public API

@samisuteria I just implemented your suggestion on my branch. If you like it, feel free to pull those commits into this MR. Thanks again!

Just pulled in the changes - thank you so much for the help on this :)

This is a useful dockerfile if you're on Apple Silicon and want to test older versions of Swift:
FROM swift:5.6-focal as swift5.6

WORKDIR /build

# Cache dependencies
COPY ./Package.* ./
RUN swift package resolve

COPY . .
RUN swift test --parallel

FROM swiftarm/swift:5.5.3-debian-buster as swift5.5

WORKDIR /build

# Cache dependencies
COPY ./Package.* ./
RUN swift package resolve

COPY . .
RUN swift test --parallel

FROM swiftarm/swift:5.4.3-focal-multi-arch as swift5.4

WORKDIR /build

# Cache dependencies
COPY ./Package.* ./
RUN swift package resolve

COPY . .
RUN swift test --parallel

FROM swift:latest

WORKDIR /build

# Make sure all stages actually run
COPY --from=swift5.6 ./build ./build-5.6
COPY --from=swift5.5 ./build ./build-5.5
COPY --from=swift5.4 ./build ./build-5.4


Auto import

I think we've reached the state where we can have a useful auto-import functionality!
UI
We don't have 100% reliable resolve yet, so we can't implement auto-import as a fix for "unresovled reference" diagnostic. Instead, we should implement it as an assist, available when the cursor is on an identifier, which doesn't resolve to anything
General Flow
The assist should work like this:

we check that the cursor is on an ast::NameRef
using hir, we verify that identifier does not resolve to anything (classify_name_ref should help here)
using symbol index, we find a symbol with a matching name
symbol index gives us only rough textual match. We should convert this textual match into a hir object (classify_name should work here)
using this hir type, we should construct a canonical path to this item from it's crate root (crate::foo::bar::Thing)
we should transform this canonical path to the one that we should insert at the use-site. For simplicity, this should just replace crate:: with the correct crate name for the start.
we should compute the edit to insert this path into the target file. This is already done in add_import

Details
One interesting thing here is that we use text-based index for finding auto-import candidates. I think this is essential to make this feature scale to gigantic code-bases. At the moment, this won't work perfectly because symbol index misses items declared by macros, but this should be fixed by improving the index. Note that symbol index implementation already has a mode for precise, non-fuzzy queries (though I don't think that it is actually used anywhere, so it might have bit-rotten). Note that symbol_index is strictly and IDE part, not a compiler part. For this reason, the code for auto-import should live in the ra_ide_api crate. That is, for the time being, this should be the only assist that lives outside of ra_assist crate.
classify_name / classify_name_ref I think could be used for switching between semantic hir and semantic-less AST. I am not 100% sure here, maybe it's better to write some custom code.
construction of a canonical path for an item is a well-isolated task that can be done separately. It's even useful indepndently: for example. currently "run test" functionality uses only a function name, which might run more than one test. Ideally, we should use full path and --exact flag.
The code for inserting an import path into a file already exists. I am not sure if it has the right interface to be extracted, some refactoring might be required to make it really work for this use-case.

Why not add missing imports as an auto completion option, and then auto-import when the completion option is chosen, like done in Intellij-Rust and most other editors?

That would require 100% correct resolve to not be annoying. We'll get there one day.

using this hir type, we should construct a canonical path to this item from it's crate root (crate::foo::bar::Thing)

How do I get the actual crate and module names from the NameDefinition object that I receive from the classify_name method?

Is there any infrastructure in RA related to reexports? (pub use some_other_module)
I'm going through the flow suggested and currently at this step

using this hir type, we should construct a canonical path to this item from it's crate root (crate::foo::bar::Thing)

I have a Module struct as a hir type returned by the classify_name method, but the module path that we can build from that object may contain private modules that are reexported in different modules.
HashMap is a good example of this case.

No, there’s nothing for reexports yet. It might be ok to ignore them at first: adding them later shouldn’t be harder.
A simple rule might be to just check if an item is visible in an ancestor path with the same visibility.

Auto import here doesn't include importing automatically with text autocompletion or e.g. shortcut to auto import all missing imports in the file, right?

Auto import here is meant as the explicit assist to import an unresolved item via user action, what you refer to sounds more like the auto import completion https://github.com/rust-analyzer/rust-analyzer/issues/1062


Add support for user roles

As a developer it would be great to be able to have an array/slice to store user roles, so we can implement RBAC.

Implemented via #50.


How to profile Alpa models and get the trace

System information

Alpa version: 1.0.0.dev0
Are you willing to contribute it (Yes/No): Not sure, will submit PR if I have the bandwidth

Describe the new feature and the current behavior/state
The JAX framework has a built-in jax.profiler that can profile trace, but when we tried to use jax.profiler to analyze the alpa model traces, we found that there is no trace about cuda kernel.
I wonder if there are any ways to analyze Alpa traces? Thanks!
Will this change the current API? How?
N
Describe alternatives you've considered
Additional context
None

When I tried to use jax.profiler to get the traces, I found there is only traces about cpu but no traces about cuda kernels.


No way of showing added or removed empty lines?

Thanks so much for this awesome tool! Is there a way to make it show added or removed empty lines? I see the added space from the new lines in my diff, but they aren't highlighted at all. (I installed it on OS X, following your instructions to a tee, including all of your suggested changes to my Git config.)

take a look at #11

Amazing!
On Tue, Feb 9, 2016, 4:34 PM Sergey Vlasov<EMAIL_ADDRESS>wrote:

take a look at #11 https://github.com/stevemao/diff-so-fancy/pull/11
—
Reply to this email directly or view it on GitHub
https://github.com/stevemao/diff-so-fancy/issues/16#issuecomment-182084499
.


Global limit for MSQ controller tasks implemented

Improvements
Implemented a way to limit on the number of query controller tasks running at the same time. This limit specifies what percentage or amount of task slots can be allocated to query controllers. If the limit is reached, the tasks would wait for resources instead of potentially blocking the execution of other tasks (and failing after a timeout).
Rationale
There is no mechanism in Druid to prevent the cluster from being overloaded with controller tasks. Currently, it could cause a significant slowdown in processing and may lead to temporary deadlock situations.
Introduced new configuration options

druid.indexer.queue.controllerTaskSlotRatio - optional value which defines the proportion of available task slots that can be allocated to msq controller tasks. This is a floating-point value between 0 and 1. Defaults to null.
druid.indexer.queue.maxControllerTaskSlots - optional value which specifies the maximum number of task slots that can be allocated to controller tasks. This is an integer value that provides a hard limit on the number of task slots available for msq controller tasks. Defaults to null.

This PR has:

[x] been self-reviewed.
[x] added documentation for new or modified features or behaviors.
[x] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

Remove useless tail

Done, thanks

Thanks @kfaraz, @cryptoe  for your comments
The most trivial deadlock scenario occurs when we queue a group of controller tasks but don't have available task slots for actual workers. This results in tasks hanging and eventually timing out. Thanks for highlighting the WorkerTaskRunnerConfig, it seems like the great place for this configuration. I've updated the behavior and merged it with parallelIndexTaskSlotRatio, now it's more flexible, also I've added the logging to inform the user why the task is Pending

@cryptoe , do you have any further comments on this PR?

@nozjkoitop , sorry I had missed these null checks in the earlier review. Could you please include these?
I am unable to commit the suggestions myself.

Could you please include these? I am unable to commit the suggestions myself.

Done, thanks

@nozjkoitop , @cryptoe has expressed some concerns around having a per-worker config
He makes some good points here:
https://apachedruidworkspace.slack.com/archives/C030CMF6B70/p1727836829640959

He makes some good points here: https://apachedruidworkspace.slack.com/archives/C030CMF6B70/p1727836829640959

I'm afraid I don't have access to this Slack workspace

I'm afraid I don't have access to this Slack workspace

You can try this link https://druid.apache.org/community/join-slack from the Druid docs.

Hey @cryptoe, what do you think about this solution? I've used SelectWorkerStrategies to utilize dynamic configuration of global limits, and it seems like a good option to me.

Apologies, I have been meaning to get to this PR. Will try to finish it by EOW.


NREL MIDC website is offline

as indicated by test failures in #886 . Affects pvlib.iotools.midc.py and associated tests.

FYI:  I am told that NREL IT is aware of the issue, though the fix may not be quick.

issue is resolve at MIDC website, back online.


Fix signatures of the IN Presto predicate

A natural signature of the IN predicate is (T, T,...) -> boolean. It takes 2 or
more arguments of the same type and returns a boolean, e.g. c IN (x, y, z).
When in-list is constant and long (dozens of values) this signature is
inefficient to execute. Each item in the in-list becomes its own
ConstantTypeExpr and requires evaluation and production of shared pointers to
constant vectors. For this reason, the signature for constant in lists is
(T, array(T)) -> boolean.
Using same signature for non-constant in-list is inefficient as it requires the
appliction to wrap in-list columns in an array_constructor, which is slow
because it needs to copy all the data.
a IN (x, y, z) -> in(a, array_constructor(x, y, z))
Hence, we use (T, array(T)) -> boolean signature for constant in-list and
(T, T,...) -> boolean for non-constant in-list.

@mbasmanova Looks like the fuzzer did not run as the signature changed. can you please manually run it to ensure it doesn't fail with these changes?


New release

The last release is from December 2019 and I wanted to ask if there is a plan to release a new version?
I'm waiting for some features, such as https://github.com/zaquestion/lab/issues/349
Thanks for your efforts and this helpful tool!

Hey @galan, this is happening soon as part of: https://github.com/zaquestion/lab/issues/406

Thanks, looking forward to it.


[FEATURE] add ollama LLM integration

Is your feature request related to a problem? Please describe.
ollama API models can be very useful for local text generation on MacOS vs vllm and in addition to llama-cpp
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
vllm does not work and llama-cpp is slower.
Additional context
They don't have a Python SDK

There are several providers that do have a ollama API integrations

https://litellm.vercel.app/docs/providers/ollama
https://python.langchain.com/docs/integrations/llms/ollama
https://haystack.deepset.ai/integrations/ollama


Compute a scalar pointer for vector load instead of extracting it from a tensor

Currently, if we detect a vector load/store, we extract a pointer from a tensor, then use it to build a memref, then make a load/store. The original tensor of pointers computation stays intact, and LLVM is not always capable of optimizing it to a scalar code. As a result, we might get a vector of pointers computations to just extract a single pointer from it to make a load.
This patch tries to rebuild a scalar pointer by going through the original tensor's data flow. This showed a nice improvement for softmax.

How do you feel about using MLIR lit tests for these types of changes, vs Python ones? The Python ones are probably easier to write, but MLIR is more targeted (we can just run one specific pass) and seeing the expected output vs the old output makes review easier too.

I agree lit tests are great for MLIR passes. Will check if I can quickly add one for this fix.
But I also have a concern here that if I write optimization and expect it to work on some particular workload (e.g. softmax or matmul) then lit test can miss a regression because changes in any part of our pipeline can lead to optimization not working on our test. E. g. changes in TTIR->TTCIR pipeline can lead to a situation when some later transformation in TTCIR->TTTCIR stops working. Lit test wouldn't find it, right? It would check just successfully check that optimization works on a code we don't generate anymore. Any thoughts on this?

This showed a nice improvement for softmax.

Neat! How much of an improvement?

I had a set of optimizations for softmax and it's hard to measure the contribution of each optimization individually. This particular one would give almost nothing applied alone (without vector math and mask optimization), but its removal from the whole package causes at least a 10% slowdown.

oh wow 10% is huge, awesome!
Re tests, I think if you're concerned about a particular case you should add the relevant E2E (i.e. Python) tests as well. Perf regression tests on the relevant kernel can also catch many of these issues without having to be tailored for each specific optimization, but that requires more CI setup.

I think the ideal situation would be mostly optimization-specific MLIR tests + a handful of E2E tests + perf regression tests. The downside of relying primarily on E2E python tests is that they can't pattern-match too specifically, otherwise changes in the pass pipeline that affect downstream codegen will require updating a lot of tests even though the fundamental optimization is still working.

Wow, glad to see this optimization!
Could you have a quick example in the PR description? I mean TTCIR changes before/after. As we don't often have detailed comments in the code, sometimes it's not easy to follow all the intentions. So, it'd be great if you give more information in the PR descriptions.
I also wanted to suggest MLIR testing or similar. But you can do it in a follow-up PR.

I might missed the talk in the beginning, but were you using TRITON_CPU_FAST_MATH=1 for the softmax testing? This allows much better code genration.
TRITON_CPU_FAST_MATH=1 python3 python/tutorials/02-fused-softmax-cpu.py

I might missed the talk in the beginning, but were you using TRITON_CPU_FAST_MATH=1 for the softmax testing? This allows much better code genration.
TRITON_CPU_FAST_MATH=1 python3 python/tutorials/02-fused-softmax-cpu.py

Not sure about the original kernel, but I see no effect for the tiled version.

Could you have a quick example in the PR description? I mean TTCIR changes before/after. As we don't often have detailed comments in the code, sometimes it's not easy to follow all the intentions. So, it'd be great if you give more information in the PR descriptions.

I'll try to make more detailed descriptions in the future, especially for performance-related patches. Here is an example of the code for one of the loops generated for tiled softmax:
TTTCIR without optimization:
    scf.for %arg5 = %c0_i32 to %arg4 step %c16_i32  : i32 {
      %16 = vector.splat %arg5 : vector<16xi32> loc(#loc30)
      %17 = arith.addi %16, %cst_2 : vector<16xi32> loc(#loc30)
      %18 = arith.muli %17, %cst_1 : vector<16xi32> loc(#loc31)
      %19 = arith.extsi %18 : vector<16xi32> to vector<16xi64> loc(#loc31)
      %20 = arith.addi %11, %19 : vector<16xi64> loc(#loc31)
      %21 = vector.extract %20[0] : i64 from vector<16xi64> loc(#loc32)
      %22 = tt.int_to_ptr %21 : i64 -> !tt.ptr<f32> loc(#loc32)
      %23 = triton_cpu.ptr_to_memref %22 : <f32> -> memref<16xf32> loc(#loc32)
      %24 = vector.load %23[%c0] : memref<16xf32>, vector<16xf32> loc(#loc32)
      %25 = arith.mulf %24, %15 : vector<16xf32> loc(#loc28)
      vector.store %25, %23[%c0] : memref<16xf32>, vector<16xf32> loc(#loc33)
    } loc(#loc29)

TTTCIR with optimization:
    scf.for %arg5 = %c0_i32 to %arg4 step %c16_i32  : i32 {
      %12 = tt.addptr %6, %arg5 : !tt.ptr<f32>, i32 loc(#loc28)
      %13 = triton_cpu.ptr_to_memref %12 : <f32> -> memref<16xf32> loc(#loc29)
      %14 = vector.load %13[%c0] : memref<16xf32>, vector<16xf32> loc(#loc29)
      %15 = arith.mulf %14, %11 : vector<16xf32> loc(#loc26)
      vector.store %15, %13[%c0] : memref<16xf32>, vector<16xf32> loc(#loc30)
    } loc(#loc27)

You can see that usage of scalar pointers is much simpler because we can use regular pointer arithmetic, don't need splat/extract ops and int-ptr conversions.
ASM without optimization:
.LBB0_9:
        vmovd   %eax, %xmm1
        vpslld  $2, %xmm1, %xmm1
        vpmovsxdq       %xmm1, %xmm1
        vpaddq  %xmm1, %xmm3, %xmm1
        vmovq   %xmm1, %rcx
        vmulps  (%rcx), %zmm0, %zmm1
        vmovups %zmm1, (%rcx)
        addl    $16, %eax
        cmpl    %ebx, %eax
        jl      .LBB0_9

ASM with optimization:
.LBB0_9:
        cltq
        vmulps  (%r15,%rax,4), %zmm0, %zmm1
        vmovups %zmm1, (%r15,%rax,4)
        addl    $16, %eax
        cmpl    %ebx, %eax
        jl      .LBB0_9

Performance gain depends on input size and used CPU. E.g. for single-threaded softmax on Intel Xeon Platinum 8468V for 2048x1024 input size, I got:
Without optimization: 10.95 GB/s
With optimization: 12.11 GB/s


add specialisation for byElement & byElementInStandardSimplex in case of 1D

The reason is to reduce computations in case of 1-dimensional slices. Both specialisations just return the slice.

:white_check_mark:

👍

LGTM :+1:

Auto-merge toggled on


Wip

Codecov Report

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

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   54.32%
=======================================
  Files           ?        6
  Lines           ?      162
  Branches        ?       28
=======================================
  Hits            ?       88
  Misses          ?       50
  Partials        ?       24

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 8a8c056...9f76bf7. Read the comment docs.


[SP-6306] - Backport of PPP-4610 - Use of Vulnerable Component: Components/snakeyaml:1.25 (9.4 Suite)

@renato-s
@bcostahitachivantara
@smmribeiro

:x: Build failed in 31s
Build command:
mvn clean verify -B -e -Daudit -amd

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:white_check_mark: Build finished in 2m 10s
Build command:
mvn clean verify -B -e -Daudit -amd

:ok_hand: All tests passed!
Tests run: 114, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


No error message with input named with brackets

We have this input:
<input type="text" name="customer[name]">

and this corresponding validation rule:
$rules = [
    'customer.name' => 'required',
];

If empty input is submitted, we should have an error, but no error or message was set.

Added issue #37

Awesome this looks great, thanks! Could you add a test for the case you outlined in the initial comment? I can add it too if you don't have time. Will get it merged in then :+1:

Added your commits to this PR on a new branch, with comments there: #38

Hello Adam,
If you have the time, can you write the test ? I have little experience with testing and little time for the moment.
Samuel

Le 18 févr. 2015 à 19:43, Adam Wathan<EMAIL_ADDRESS>a écrit :
Awesome this looks great, thanks! Could you add a test for the case you outlined in the initial comment? I can add it too if you don't have time. Will get it merged in then
—
Reply to this email directly or view it on GitHub.


Banned?

Any invite I try to join the support server with shows that I am banned
Click the Discord link in the README.MD
No idea if this was a mistake in identity or not, but I did not break any rules, nor have I given anyone unauthorized access to my account. My user ID is<PHONE_NUMBER>92158465. I've also sent you a DM on Discord, and I would appreciate an explanation for this.

 Absolutely ridiculous!


Better cache for roles and permissions

In this PR I changed cachedPermissions and cachedRoles functions for better performance and preventing more requests to the database.

Hey @hamid-a,
Thanks for contribution and nice concept.
I was wondering that do you thing with that code we need to clear that variable if object change how current code clear cache?
https://github.com/hamid-a/ntrust/blob/7f1d69e353f91c5b9decc21a202d3cf5ce6c4672/src/Ntrust/Traits/NtrustRoleTrait.php#L63-L96
Same on other files?

@klaravel
Thanks for your response.
You are right.
I'm forget it.
It's now fixed.

@hamid-a
That code won't work because when cache store as individual user's roles.
Because of static. It always show first used cached user's roles.

So we can push it into array with associative id key
public function cachedPermissions()     {         $rolePrimaryKey = $this->primaryKey;         $roleKey = $this->$rolePrimaryKey;         $cacheKey = 'ntrust_permissions_for_role_'.$roleKey;         if (isset(self::$permissions[$roleKey])) {             return self::$permissions[$roleKey];         } else if (Cache::getStore() instanceof TaggableStore) {             self::$permissions[$roleKey] = Cache::tags(Config::get('ntrust.profiles.' . self::$roleProfile . '.permission_role_table'))->remember($cacheKey, Config::get('cache.ttl', 1440), function () {                 return $this->perms()->get();             });             return self::$permissions[$roleKey];         } else {             self::$permissions[$roleKey] = $this->perms()->get();             return self::$permissions[$roleKey];         }     }
public function cachedRoles()     {         $userPrimaryKey = $this->primaryKey;         $userKey = $this->$userPrimaryKey;         $cacheKey = 'ntrust_roles_for_' . self::$roleProfile . '_'.$userKey;         if (isset(self::$roles[$userKey])) {             return self::$roles[$userKey];         } else if (Cache::getStore() instanceof TaggableStore) {             self::$roles[$userKey] = Cache::tags(Config::get('ntrust.profiles.' . self::$roleProfile . '.role_user_table'))->remember($cacheKey, Config::get('cache.ttl', 1440), function () {                 return $this->roles()->get();             });             return self::$roles[$userKey];         } else {             self::$roles[$userKey] = $this->roles()->get();             return self::$roles[$userKey];         }     }


Add null.vg

https://null.vg
9.0 KB
yellowlab result: https://yellowlab.tools/result/gp85vlot32

Added manually. Thank you for your submission and welcome to the 250kB Club! Your sub-page will be https://250kb.club/null-vg


Start linting dependencies

This adds missing (implicit) dependencies and adds a pre-commit linter.

Warning
This removes python-magic-bin, which conflicts with python-magic. If we want to support direct installation on win32 machines, this needs to be fixed.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations

Docs

[ ] Link to documentation:

Pull Request Checklist

[ ] Privileged queries and mutations are either absent or guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migrations are either absent or optimized for zero downtime
[ ] The changes are covered by test cases

@saleor/core It's a small one, please review 🙏

@patrys is there any way to exclude non-commit changes from the check?
From time to time, I add some Jupyter files or some scripts for my local usage to the saleor directory. All of them are marked as untracked, now I see that pre-commit also checks these files and blocks me from making the cherry-pick.
payment_server.py:7:0: DEP001 'starlette' imported but missing from the dependency definitions
server.py:5:0: DEP001 'twisted' imported but missing from the dependency definitions
server.py:6:0: DEP001 'twisted' imported but missing from the dependency definitions
work.ipynb:7:0: DEP001 'pydantic' imported but missing from the dependency definitions
work.ipynb:17:0: DEP003 'tqdm' imported but it is a transitive dependency

@korycins I think you can add some exclude rules. Or, even better, open a ticket with the pre-commit tool to only lint or complain about staged files, as it should.


Examples on Flatpickr

Where should I write all these codes in Examples (https://flatpickr.js.org/examples/) to make them work? Could someone give an Example and Direction?

Please stop opening issues here. I've explained 2 times already that this where problems with flatpickr are reported. What you are asking doesn't have a simple straight answer. You need to look into HTML, CSS, Javascript and whatever else you need to use. There are plenty of resources online for beginners.


YjsPersister errors in case startAutoLoad is run before startAutoSave

Describe the bug
This is the error I see:
Error: Content is not an array undefined
    at errorNew (/node_modules/tinybase/persisters/persister-yjs/index.js:36:9)
    at _callee2$ (/node_modules/tinybase/persisters/persister-yjs/index.js:447:27)
    at tryCatch (/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.eval (/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.eval [as next] (/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)

The issue is if I run startAutoSave before startAutoLoad it wipes the Yjs object.
Your Example Website or App
https://codesandbox.io/p/sandbox/x77hnc
Steps to Reproduce the Bug or Issue
Run this code:
const doc1 = new Doc();
const store1 = createStore();
const persister1 = createYjsPersister(store1, doc1, "space", (error) => {
  console.log("YjsPersister Error:", error);
});
await persister1.startAutoLoad();
await persister1.startAutoSave();

Expected behavior
Graceful handling of the error
Screenshots or Videos
No response
Platform

Tinybase 5.3

Additional context
No response

Yeah in our case there is no need for initial content since the sync engine will provide the initial content. Is this a use-case that's not desired or should I provide just dummy initial content?

I see - makes sense! Ok so let me do this: if you provide any initial content (even [{},{}]) the error will be suppressed. Will that work?

sounds good to me 👍

Fix in https://github.com/tinyplex/tinybase/commit/5de84aa16f43f4504f05054b013fd6877e17afa0 - should appear in the next release!


[order] Sort imports by import kinds

This PR is inspired by and replacing https://github.com/import-js/eslint-plugin-import/pull/2398 - which has been stale for a while.
Closes https://github.com/import-js/eslint-plugin-import/issues/2339

[x] write tests
[x] implement feature/fix bug
[x] update docs
[x] make a note in change log

Please don’t open an additional PR to replace an existing opened one - next time, please just paste a link to your branch, and i can update it.
Now i have to keep both updated and in sync.

Please don’t open an additional PR to replace an existing opened one - next time, please just paste a link to your branch, and i can update it.
Now i have to keep both updated and in sync.

That is good to know. Feel free to change source branch in the original PR. And let's close this.
Sorry for the trouble.

nah this one now has to stay open too, so both land at the same time, or the PR ref for it will be permanently orphaned.


Decal projection onto Terrain

Hello.
I think Air Sticker is a great feature.
By the way, it appears that Air Sticker does not support decal projection on Terrain.
Are there any plans to support Terrain in the future?

Thank you for reporting the Issue.
As reported, AirSticker is not compatible with Terrain.
We will check if we can support it and if so, we will do so, so please wait a little longer.

Decals on terrain were found to be feasible and will be released as a new feature in the near future.

Thank you!
I look forward to the support for Terrain.


ionic serve error

I have followed all of the instructions.
When I use ionic serve it gets all the way to 'dev server running: http...(etc)'
then it says
[ERROR] app-scripts serve unexpectedly failed.settings: undefinedcontext: [object Object]
any ideas?

Check if your package.json is the same with the one of the repo. Can you provide any code or a printscreen from your terminal?
Something must be different in your app modules or the package.json.

I found the solution for this error. The problem is the latest ionic cli v3.2.1. This one crashes on ionic serve. The bug is at the ionic cli and not at this tutorial, as stated on the ionic official blog
Solution
You can run (ionic serve) this tutorial succesfuly by running:
sudo npm install -g<EMAIL_ADDRESS>
which will install the ionic cli v2.1.18, that doesn't crash on "ionic serve".
You can obviously return to the latest ionic cli version, after the completion of this project by:
sudo npm install -g ionic

Let me know about your progress  and if this solution works for you, so that i can close the issue!

Closing for now. Feel free to reopen!


Steps in README ?

I have included the doc link and all the open question related to the READ ME.
DOC Link  : https://github.com/marklogic/marklogic-samplestack/tree/develop
Java JDK 1.7 or 1.8
[Gaurav]  : Shouldn't 1.8 be removed from here .
Latest MarkLogic 8.0 Nightly Build (see instructions below)
[Gaurav] : I guess this will point to Ea3 build not the nightly .
If you are using OSX and have access to the nightly builds site, an MLVM script is available to fully configure the Java Middle Tier, including the download/installation of the latest nightly, dowload/loading of seed data and initialization and starup of of the middle-tier:
https://github.com/marklogic/marklogic-samplestack/blob/develop/appserver/java-spring/cleanstart.sh
[Gaurav] : QA hasnt tried this , not sure what is final decision here to include this or not .
DOC Link : https://github.com/marklogic/marklogic-samplestack/blob/develop/browser/README.md
Temporary OSX Workaround for Watch Mode
In general your "watch" process is faster if you raise the limit of the number of open files for your process or the system. However, in normal cases, there is no harm (other than speed) to not raising the limit, because gaze implements a different strategy when it reaches that limit. However, at the present time two forces are combining to make the watch task problematic:
OSX defaults to a very low limit
gaze has a bug that is causing it to fail when that limit is reached.

Thus, while generally it's just a good idea to raise the limit, for now it's also mandatory on OSX.
To achive this, make or modify the file at ~/.launchd.conf to have a line reading:
limit maxfiles 16384 unlimited
and then log out of your OSX session and log back in (or just restart your machine).
[Gaurav] :  Temporary OSX Workaround for Watch Mode , QA havent tried this , are we planning to include this ?

I think the only comment that hasn't gotten addressed here is lack of QA review/repro for the Temporary OSX workaround. Has QA ever encountered this? Is it only Daphne?

Moving to 8.0-2 as it is not a stop ship but would like to answer asap...

Ideally this is an optimization.... a while back it was also a necessity to a bug in a dependency, but I don't know if that's still true.
For 8.0-2 let's find out if it's still as big of a problem.

@laurelnaiad tried update a file with gulp watch nothing major i have seen . Please close this one if you thing if this is not relevant anymore . Thanks


Angular 12

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#pr
[ ] Tests for the changes have been added (for bug fixes / features)
I'm open to suggestions on what to check for here.
[x] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Other... Please describe: Angular 12 upgrade & enable Ivy compilation 🤞🏻

What is the current behavior? (You can also link to an open issue here)

Doesn't appear to be compatible with projects after upgrading to Angular 10 if Ivy is enabled.
Over 1,000 vulnerabilities

What is the new behavior?

It is hoped that this will enable Ivy compilation.
28 vulnerabilities require semver-major dependency updates.
5 vulnerabilities require manual review

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
(Not known)
Other information:

Coverage remained the same at 100.0% when pulling 05522883b40c6bb063c873cdc35fc31e882fdcb5 on mrsegen:ivy into 8c7c39c285ef6a3dbf2c45a18e62afcdcdd429f7 on moribvndvs:master.

@mrsegen I see this is marked as a draft -- what work is outstanding to productize your updates?

Hi @NateRadebaugh
I haven't worked more on this since making that update. IIRC, the blocker was something about the automated checks not accepting aot: true.
I comments as I did above with the hope that someone more familiar with this tool could either pick it up or point me in a direction

I hope to report back tomorrow on what the local changes were that I wasn't able to push

@NateRadebaugh
I can't figure out how to push the local changes due to the checks in place. But the spirit of this was:

Update via ng update @angular/cli @angular/core -C
Add "aot": true under options in angular.json

If you can support (or advise on) upgrading this package to be Ivy-compatible, that'd be very helpful.

Based on this link, it looks like either your versions are mismatched or the aot flag is in the wrong spot:

https://github.com/angular/angular-cli/issues/11479

Maybe the aot flag isn't needed anymore since everything is aot in ivy?
Note, I have no affiliation with this project, just a concerned citizen like you 🙃

According to the docs building and publishing Ivy libs to npm is discouraged: https://angular.io/guide/creating-libraries#publishing-your-library

For now, it is not recommended to publish Ivy libraries to NPM because Ivy generated code is not backward compatible with View Engine, so apps using View Engine will not be able to consume them. Furthermore, the internal Ivy instructions are not yet stable, which can potentially break consumers using a different Angular version from the one used to build the library.

Could this get merged without that but with updated deps and ng 11 compatability?

is there any update available? But project seems to be fairly dead?

@cshouts-tasc I made your suggested change locally, but I'm blocked form being able to push the change and getting this output:
husky > pre-push (node v14.15.3)

><EMAIL_ADDRESS>lint C:\[path]\GitHub\ng2-idle
> ng lint core && ng lint keepalive

TSLint's support is discontinued and we're deprecating its support in Angular CLI.
Linting "core"...
To opt-in using the community driven ESLint builder, see: https://github.com/angular-eslint/angular-eslint#migrating-an-angular-cli-project-from-codelyzer-and-tslint.
All files pass linting.
TSLint's support is discontinued and we're deprecating its support in Angular CLI.
To opt-in using the community driven ESLint builder, see: https://github.com/angular-eslint/angular-eslint#migrating-an-angular-cli-project-from-codelyzer-and-tslint.
Linting "keepalive"...
All files pass linting.

><EMAIL_ADDRESS>pretest C:\other-dev\GitHub\ng2-idle
> npm run build

><EMAIL_ADDRESS>prebuild C:\other-dev\GitHub\ng2-idle
> npm run clean:dist

><EMAIL_ADDRESS>clean:dist C:\other-dev\GitHub\ng2-idle
> rimraf dist

><EMAIL_ADDRESS>build C:\other-dev\GitHub\ng2-idle
> ng build core --aot true && ng build keepalive --aot true

Unknown option: '--aot'
Unknown option: 'true'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `ng build core --aot true && ng build keepalive --aot true`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\[usernam]\AppData\Roaming\npm-cache\_logs\2021-06-17T17_36_34_271Z-debug.log
npm ERR! Test failed.  See above for more details.
husky > pre-push hook failed (add --no-verify to bypass)
error: failed to push some refs to 'https://github.com/mrsegen/ng2-idle.git'

@julius-numo Could you clarify what specific change you're suggesting? [I'm not a developer on the project - just someone trying to upgrade an application to Angular 11 (now 12).]

@mrsegen Libraries use a different builder (ng-packagr) which only accepts a subset of the options of the standard builder (build-angular). AOT is not one of those options, so using the CLI argument --aot is not going to work here.
Angular issue to improve the docs for the build options available when building a library.

@cshouts-tasc Thanks that seemed to do it!

Hey @mrsegen
Thanks for your PR ! 👍
Could you rebase it to let @moribvndvs merge it ? 😊

Cool! I'm looking forward to this as well. Let me know when a new npm package with this is available...

@SuperITMan @moribvndvs Thanks! Done! There's a lot of commits appearing above due to pull/push with my local. But, to simplify review, note that these are the only changes between the commit approved above and the current latest. (I addressed ~40 vulnerabilities by upgrading lerna.)

@worksoncloud @SuperITMan Updated as suggested. Also, I incremented the version to 12

Seems nice! 👍
@worksoncloud Can you merge this?

@mrsegen I see you want to merge 69 commits 😮
Could you rebase your commits on top of master branch ?
git remote update
git rebase upstream/master # with upstream = https://github.com/moribvndvs/ng2-idle.git

Regarding the CHANGELOG, I think is generated automatically by @commitlint/config-conventional and you should not edit the file manually. Commitlint uses your commit messages to update the CHANGELOG.
The same thing regarding the package version. The version should be updated by Lerna when we'll release the new version 12.
I didn't notice these details before but I think they should be solved before merging this PR.
Thanks for your work 👍

@SuperITMan I ran those commands (accepting incoming changes on the conflicts) and force pushed.

@mrsegen The issue I see is that you have multiple duplicated commits 😕
For instance:
5bf20e036a80fd85554d9e48826d963cbb784734 and e37f20dc037e2459aec8a55f1aed7c5f6efdcd92 both change "package.json" file:
"@commitlint/cli": "^8.3.5", --> "@commitlint/cli": "^11.0.0",

Yeah, I suspect it was because I pulled them pushed on Sunday/Monday instead of force pushing.
If a née branch is the only way, no promises on when I'll get to it.

Hey @mrsegen
I did my best to do a good rebase. Please feel free to take my branch: https://github.com/superitman/ng2-idle/tree/feature/upgrade-ivy-angular-12, check it seems correct to you and force push it here 😊
Like this, we keep the comments in a single PR

As long as the changes are good, I could just squash it when I merge rather than fart around with force pushing and the likes.
Another question I have is about Angular 11 support. Do we just skip over that guy, modify this so it can cover 11 and 12, or patch in 11 support via another branch + tag?

I appreciate the effort on the cleaner branch! It'd likely be another several days before I get to it. But I'm also fine with the squash merge.
I can go either way on 9+ vs 9-12. If change is desire, feel free to edit. (I think I enabled contributors to edit the branch.)

What is the status of this PR? We have a few projects waiting to be upgrading to Ang 12 and this is our last dependency that we are waiting on.

What is the status of this PR? We have a bunch of projects waiting to be upgraded to Ang 12 and this dependency is the last one on our list before we can start.

@SuperITMan, I reset the branch to your and force pushed those changes here. Thank you!
@moribvndvs, it should be good to go now.
Thanks, too, to @cshouts-tasc, @julius-numo, and @NateRadebaugh for your input.
cc: @NgRepoMan, @StefanKoenigMUC, and @HarelM that this might be released soon

Thanks for the info and all the hard work!


Sprint ending 5/5 Tasks

🟢 Issues Ready For I&T

[ ] https://github.com/nasa-pds/cloud-tasks/issues/19
[ ] https://github.com/nasa-pds/pds-api/issues/51
[ ] https://github.com/nasa-pds/registry-api/issues/128

📜 Test Plan / Procedure

⚙ Automated Tests

Test completed with TestRail result in system-i-n-t#22.  Pending verification of pds.jpl.nasa.gov on cloud-tasks#19 from @gxtchen .

test is complete with passing result for https://github.com/cloud-tasks/system-i-n-t/issues/19.


fixing typo in AusioSessionState constants

There was an typo in the AudioSessionState costants, now they are in line with the documentation: https://docs.microsoft.com/en-us/windows/win32/api/audiosessiontypes/ne-audiosessiontypes-audiosessionstate

@emarj I apologize for missing your contribution. I'm really sorry about that.
Though it's too late, thank you for your contribution. :bow:


Fontend mentor, a platform for frontend challenges, can be accessed at https://www.frontendmentor.io/

Frontend Mentor is a platform, that provides frontend coding challenges to users, and also helps grade and review them. It has both a free, and a premium tier. The free tier offers much challenges, but the premium offers a lot more. Solutions can be reviewd by other users, and comments can also be made, by other users, if the owner decides to accept comments.
Happy Sunday 😀

Hi Temiloluwa. thanks for contributing to this project.
Please add only one resource per PR. And, also don't change the structure of the repo. If you think that we could improve the readability of the resources open an issue. The idea of the repo is to be as simple as possible.

Hi Marko.
Sorry, I made a PR with one resource, and didn't notice that it wasn't yet accepted, before making the second commit.
I'll delete the second resource, so you can merge the first.

Great. Can you also remove the formatting of the table of contents? We'll keep the format s simple as possible.

There's been no change, with table of contents. Can you help point it out?

Sure. Can you check this commit?
https://github.com/MarkoDenic/web-development-resources/pull/1/commits/2acb28368d1ffbaf86c5c5f461d05787f2bca75e

I've been able to make the changes
Thanks
Temiloluwa

Hi Temiloluwa.
Now it's good. One tiny last change left to do. The link is broken (https://.frontendmentor.io)? Can you please fix it?
Thank you for your patience.

Sure
I've done that now

Hi Temiloluwa. Thank you for your patience. Unfortunately, you changed the permissions on the files in this repo, probably unintentionally.
I will add Frontend Mentor as a resource myself.
I'm encouraging you to add more resources to the repo in the future, but please check the code before doing the PR, so we don't lose that much time on fixes and communication.
Thanks.

Thanks Marco
I'd do well to check everything I'm adding, before I make a pull request


Improvisation of index page

The starting page could be made more appealing by adding few catchy yet spiritual related content.
Kindly assign this issue so as to make the initial page more appealing as well as responsive.

hii @MetiUmashri What kind of contents do you wish to add to the index page

The vedio been inserted at the beginning is not in an appealing form hence would try to insert at the end probably
The pictures are unecessary so would try to give a peaceful aspect to the website rather than small pics
Trying to add a quote (spirituality related) which could be more appealing
Google thing shown on right corner

some contributors are working on it


Displaying shimmer table while deployments are being fetched

When we don't know the length of deployments that will be returned, it's not possible to know the length of shimmer table. Choosing an average number for now (a table of 15 shimmered rows)
Closes https://github.com/microsoft/bedrock/issues/808

This looks good to me 👍


operator project-quay (3.8.2)

Add 3.8.2 to community operators

/merge possible

/merge possible


Add StatCounter API for most recent browser stats

It might be cool to include some recent stats instead of just a link.
http://api.statcounter.com/

Not gonna do it.


Closure conversion: length is always renamed

Due to the File.length() method, closure conversion renames property accesses to length, which seems to bypass some optimizations in the VM and causing slow performance for lists.

This issue was moved to dart-lang/sdk#28131


[CARBONDATA-1454]false expression handling and block pruning for the …

Issue :-  In case of wrong value/invalid  for time-stamp and date data type. all blocks are  identified for scan .
Solution :- Add False Expression handling  and False Filter Executor. it can be used to handle invalid Filter value.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed? NO

[ ] Any backward compatibility impacted? NO

[ ] Document update required? NO

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
TestCase Added
- How it is tested? Please attach test report.
TestCase Added
- Is it a performance related change? Please attach the performance test report.
NA
- Any additional information to help reviewers in testing this change.
NA

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3453/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2213/

@BJangir Please add a test case for it

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3460/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2220/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3320/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3327/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2247/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3488/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3345/

retest please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2268/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3354/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3506/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2269/

LGTM


Can the language support Simplified Chinese?

Can the language support Simplified Chinese?

Hey @ljlzzzzz , optional languages are a community effort. If someone is willing to help out and create translation files, these files can then be added to the list of available options

Already supported in PR https://github.com/CyferShepard/Jellystat/pull/276 two weeks ago, just update and enjoy!

Already supported in PR #276 two weeks ago, just update and enjoy!

thank you so mush


Test/issue form

Interbtc UI Pull Request Template
Description

Add a brief description

Current behaviour (updates)

Please describe the current behaviour that you are modifying

New behaviour

Please describe the behaviour or changes this PR adds

Reproducible testing steps:

Please list all testing steps required for the reviewer to test this specific issue. Consider regressions and edge cases.

Try using within for error messages.


[CORE-2858] Add ability to read included files. Also added ability…

… to add/read includeAll, and property elements of changelog
┆Issue is synchronized with this Jira Story by Unito

sorry for the code format, but I can't find proper formatter configuration for liquibase project.

Hi @bilak
Would you resolve the branch conflicts and consider adding some tests?  Here's some info below to help:
Thanks for your pull request!
Here’s what happens next:
A member of the Liquibase team will take a look at your contribution and may suggest:

Changes based on guidelines for PR submission
Additional tests (unit and/or integration)
Provide other feedback, like requesting changes.

The PR will be prioritized according to our internal development and testing capacity.
We’ll let you know when it’s ready to move to the next step or if any changes are needed.

@ro-rah you can probably close this PR... I don't recall what I was trying to solve here.

@bilak , I am so sorry it took so long to get back to you.  We have revamped our PR process and I hope you will give PR submission a try again if you need it and find more responsive.


[ADDON] - AppMesh

Add support for AppMesh as an add-on.
https://github.com/aws/eks-charts#app-mesh

IRSA role support for both controller and sidecar proxy https://github.com/terraform-aws-modules/terraform-aws-iam/pull/231 recently added

We need to resume/take over the work for #539

Excited to see this addons available. We decide to adopt appmesh as service mesh solution and looking forward to have it on the addons list.

closed in #539


Add num_instances to scores

Right now, we don't report the number of instances (only score, score_name, and confidence interval).
This is always useful, but more so when we use the group_by options, which splits the original data into groups.

implemented by PR #1282  , commit  5c7e2c31a45506410287410d1e02fae4459cb415


Pndg pnplus1

Implements functionality for PnDG-P(n+1) family (SWE2D only at the moment). Changes are fairly minimal, only needed to add a case for "not integrating pressure gradient by parts".
Test added by running swe2d/test_steady_state_basin_mms.py with P1DG-P2 as well.
Again not really convinced of the options name (use_continuous_pressure). Any better ideas? Maybe we should have just one switch that offers mimetic/equal-order-dg/mixed-dg-cg ?

Looks good. I agree that it would be clearer to have just a single switch. We could have options.element_family that could be 'rt-dg', 'equal-order-dg' or 'mixed-dg-cg' for example.
By the way, should we use order or degree for the degree of the basis functions? I think firedrake uses degree which might be more accurate terminology.

I think we can merge this. Implementing options.element_family or the like requires changes in the 3D model as well so I'd do that in a separate branch.


Fix async lifx_set_state

Description:
Hotfix for #12973.
Related issue (if applicable): reported in forum
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox.

Works for me in 0.65.2 :+1:


Update gems with bummr

Coverage remained the same at 86.158% when pulling 4aafb8d4bab4a3a44f6b332263e3f1b695859d49 on update-gems into be463c1b7ad331ff95542f597d515ea213aefd34 on master.


Fix for Windows < 10 and Removable/CDROM drives

On Windows 10, CDROM and Removable drives (Floppy, USB,
etc) seem to be ignored unless they are currently active (meaning that
there is media mounted to these drives). In previous versions of
Windows, the OS seems to consider those drives valid and therefore
attempts to get volume information from them and emits the OS error 21 (device is not ready) error. To fix this, on error of the
GetVolumeInformationW system call, the function calls
GetDriveTypeW and checks whether the drive is removable or a
CDROM. If so, set all disk space information to 0 and carry on.
Closes: #58

Thanks!

No problem! This is actually my first open source contrib so I'm pretty pumped about it


codechecker log failed with incompatible cpu-subtype error

Describe the bug
make ven_venv ,make package already finished.
I tried to run codechecker/docs/examples using log command, but caused incompatible cpu-subtype error on a M1 mac mini
Codechecker log --build "make" --output ./compile_commands.json
The error details:
[INFO 2021-06-08 21:44] - Starting build ...
dyld: could not load inserted library '/var/folders/rn/plq877vx3tb08dxd7_nxqgzr0000gn/T/intercept-b_pfj3op/libear.dylib' because no suitable image found.  Did find:
/var/folders/rn/plq877vx3tb08dxd7_nxqgzr0000gn/T/intercept-b_pfj3op/libear.dylib: incompatible cpu-subtype: 0x00000000 in /var/folders/rn/plq877vx3tb08dxd7_nxqgzr0000gn/T/intercept-b_pfj3op/libear.dylib
/var/folders/rn/plq877vx3tb08dxd7_nxqgzr0000gn/T/intercept-b_pfj3op/libear.dylib: stat() failed with errno=1
[INFO 2021-06-08 21:44] - Build failed.
CodeChecker version
6.16.0
To Reproduce
1.Execute Codechecker log --build "make" --output ./compile_commands.json on /codechecker/docs/examples
Desktop (please complete the following information)

OS: macOS 11.0.1

Additional context
I already tried : copy binary file : scan-build,intercept-build,etc. from Homebrew to codechecker/venv/bin
It does not work. What should I do now?

@ljq1206 I think this problem is related to the intercept-build instead of CodeChecker. Under the hood CodeChecker will call the following command on OSX:
https://github.com/Ericsson/codechecker/blob/fad91e145fffdaab7a28358716fee36ac928b228/analyzer/codechecker_analyzer/buildlog/build_manager.py#L82-L84
So in your case the command which will be executed looks like this: intercept-build --cdb ./compile_commands.json sh -c "make". Please try to run this command manually to make sure that the problem is not coming from the intercept build command.

sorry for my late reply.
yes. the problem is about intercept-build. I do not konw why this Error happened, but  using Bear instead of Codechecker log command to generate compilation database is effective to solve it. what was going on intercept-build?


JSON Logging Fixups

Use the same module-global variable as json_logging (_current_framework) to detect logging initialization
Read celery loglevel from flask app, or celery CLI option

Hello @ivan-c! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file portal/factories/celery.py:

Line 12:80: E501 line too long (93 > 79 characters)


⚠ Bofrost.be has degraded performance

In 0eaff47, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 986 ms

Resolved: Bofrost.be performance has improved in 5feb6e2.


improvement: add mysql support for the inventory service

Description

Add support for mysql database for the inventory service

Changes

Add required dependencies
Add required annotations for the Entity class Item
Add an interface repository for the Item Entity CrudOperations on DB
Update the Springboot component scan packages to scan classes from the service-sdk module
Update the Springboot application configurations to include default DB configurations
Implement a InventoryConnector that uses the database
Update the InventoryController to ensure database does not have duplicate entries on every restart

Related PRs:

PR https://github.com/GoogleCloudPlatform/point-of-sale/pull/90 must be reviewed after this one

Couple questions:

Should these changes include README / docs changes to talk about the MySQL connection?

Yes, it should. I am hoping to add the README and docs after I have tested these on a full K8s/ABM installation. Having it merged helps me add a build pipeline to deploy this to K8s in the CI project. This gives a clearer idea as to all the details that go into the README.

Any plans to generify MySQL into "any SQL" / support for Cloud SQL / etc? (see for example: https://github.com/GoogleCloudPlatform/bank-of-anthos/tree/main/extras/cloudsql)

If I understand correctly BoA uses CloudSQL backed by a  PostGRES instance. I hope to do the same but backed by MySQL. I have tested this on a CloudSQL instance with a MySQL backend. Let me know if I have misunderstood this question.

Where does the SQL database come from? Is it stood up by the user ahead of time? Are there any instructions to do so?

This PR adds support for the application to connect and use a MySQL backend. In the final product we would have a one click install setup in GCP that will have everything pre-populated. We will also have the CI project configures with a CloudSQL(MySQL) instance. Also we would have manual steps for someone who just wants to run the application without any K8s stuff. After I get these implementations merged, Ill be working on standing up a CloudSQL in the CI project and having this properly deployed. Then, I am hoping to add READMEs to explain the flow.

Is this change going from in-database -> SQL, and if so, is there an option to opt out of the additional overhead of SQL altogether and keep the "old" way of in-database / text files?

The way it is implemented, if no environment variable is set (to use Database) then the application continues to work using in-memory datastores. This will not change.

Last question: this is getting merged into the main branch, presumably without readme / docs changes or implementation of the SQL instance. Is this a breaking change, or will this application continue to work "as-is" even without the SQL instance set-up? I think you answered that question by saying "that's correct" but I wanted to confirm

Last question: this is getting merged into the main branch, presumably without readme / docs changes or implementation of the SQL instance. Is this a breaking change, or will this application continue to work "as-is" even without the SQL instance set-up? I think you answered that question by saying "that's correct" but I wanted to confirm

Yup, it won't break anything on the main as long as they just use it as is. However, they could look at the code and try things out by enabling the Database; at which point they had decided to do it themselves.
Also after thinking a little longer, I am planning on merging all of it into a new branch v2-sql and then merging it finally into main.

Can test App at: http://<IP_ADDRESS>/

MySQL flavor (skaffold with -p dev) working, UI reachable + app working.
mysql-db-0 mysql-db 2022-03-16T20:59:53.955491Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.28'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.

In memory profile (-p dev,inmemory) working as well. LGTM.


Stacked charts

Implements stack bar charts
Increases the width of each charts and tables to 80% of the container area
Implements an area underneath stacked bar charts for additional information
Implements multi-column tables
Implements the "Website is loading" message

 Feature: Split bars for daily cases into "previously reported" and "newly reported"

 Indication that page is loading

 Accommodate new data source

@neb42 yes, I have changed things a lot since 1am last night when I finished this. I'll push them before I merge.


Mention certain components must be children of Router

Description
I've added documentation explaining that certain elements like <Link /> &  <Switch /> must be nested inside of a router.
Fixes #2903

I've been using for a little bit now and have some ideas about improving documentation for yew. These aren't complete thoughts, but I just wanted to share what was on my mind as it might be helpful.
Also to share my experience reading the docs:

I will found the Tutorial to be helpful, but the actual Docs section not that helpful. Often I felt it included a lot of verboseness that deviated from just explaining the core of the concept and how to use it.

I'm not in the loop about what is being done with the docs, but my suggestion is to overall structure the documentation more like reacts. Yew does this to an extent already, but it could be better e.g.

The callback documentation on paper makes sense, but when I tried to use it ... it didn't really make sense how to use it. Coming from react I expected to just be able to directly pass closures or functions around, but this wasn't the case. There was a bit of friction and I had to actually go dig through the code (and ask for help in discord) for what I was trying to do (pass a function as a prop to one of my components) - in this case I think just doing a more in depth example with more code could really help here.

TLDR; more code and detail to describe and communicate the concepts
Also, I'm willing to help with more documentation efforts especially with the things I've had a bit of trouble with like passing a function as a prop

Also, as a general question is it just better to put up PRs here rather than just propose things?

If you have a ready proposition that improves things, a PR is welcome. If it's unclear what to change and you want to figure things out first, the have a few tags you can apply to your issue, among them documentation, question and ergonomics.

Also, I'll squash these commit together into one whenever merging

@WorldSEnder no worries :)

Sorry, I forgot this PR was waiting on me. @sasacocic can you please update the PR so it can be merged. If you don't want to, that's fine. I can do that for you


add ImageFolderWithCache

For small datasets and models, reading images from disk can slow training down. The idea is to add ImageFolderWithCache: it should be inherited from torchvision.datasets.ImageFolder and override __getitem__ so that every image is cached before applying transforms. Users should be warned that they should avoid inplace transforms, which is especially relevant for the "accimage" backend (although it is somewhat unexpected to use both caching and "accimage").

functools.lru_cache already solves the problem.


Master

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: YeSei:x: AntuwYou have signed the CLA already but the status is still pending? Let us recheck it.


Guidance for Blue Green deployments

I find myself wanting to do blue green deployments, but am unable to find any solid guidance on implementation.
Ideally it would be easy to deploy a Dapr service in a green state, logically side by side with the active blue instance of that service.
There would be some method of testing the service in isolation, so this green service would ideally automatically point to virtualized green instances of all the bindings as to not handle any production traffic, data, or messages. By default Dapr would need to route everything to blue.
And then maybe some kind of rules engine to allow certain invocations, messages, etc to route to green. Think like data for a test tenant, or maybe even manually injected stuff. Once green has been tested, we’d need a way to swap blue and green so green becomes blue with all of blues existing bindings.
Bonus points if we can tie in automated swap back tied to some kind of monitoring metrics.
Am I even on the right track here? Some of this seems like service mesh territory, but am I wrong for thinking it would really be nice if Dapr had a native process for a blue green setup as described. Does anyone else agree?  How are others handling testing in production with Dapr?

@joshuadmatthews  - starting DAPR1.11, blue green deployments are enabled via Argo rollouts - https://github.com/dapr/dapr/issues/5605; https://github.com/dapr/dapr/pull/6052 ;  however currently there is an issue that deployments are failing, and it will be fixed soon as part of 1.12 itself and you will be able to try out the feature.

I’m not too familiar with Argo, do Argo rollouts handle all of the concerns I mentioned regarding dapr binding isolation for green instances?

Argo will help with routing to the canary for services that are exposed through ingress with "Ingress desired/stable host routes"
https://argoproj.github.io/argo-rollouts/best-practices/
But what about dapr service invocations and other triggers?


Hacktober Fest Contrbutions  🔥 🔥

Add Graph related algorithms !!!!

can u assign to me,i want to work on this

Go for it!!
On Mon, 5 Oct 2020, 19:55 KalyanKumar-4<EMAIL_ADDRESS>wrote:

can u assign to me,i want to work on this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/shreyanshchordia/Graph_Algorithms/issues/9#issuecomment-703667164,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALL2PODUHX54MCDIXEPY35DSJHJOTANCNFSM4SEMTVNQ
.

can u assign me..i would like to do this task

I do have a good knowledge on graph algorithm so i want to work on this. Will you please assign this to me?

@shubhamnag14 @shivam2001pandey go for it!! Please make sure that the problems are not repeated.

@shubhamnag14 @shivam2001pandey go for it!! Please make sure that the problems are not repeated.

I would also like to work on this issue. May I?

could you please assign this task to me?
I am willing to contribute towards Advanced graph Algorithms.

I would also like to contribute on this issue. Can I do it?

@Ambareen09 @alkatrivedi @rahulmishra11 sure!!


ol-map default projection should be 3857

Fixed in https://github.com/roemhildtg/can-geo/commit/262522ee37c596ff83a7a4193e74e435cf783421


How is arbitrage possible with such long block confirmations?

Curious how we can take advantage of arbitrage if it takes over 24hours to send BTC from one address to another...

Because the transactions are done on the exchange. Transactions on exchanges do not touch the blockchain, so they are completed instantly.

I could have this wrong but you buy low on one exchange, in order to sell that coin on another exchange at a higher price to make profit you would have to transfer via blockchain to the other exchange. right?

It assumes you already have coins on the other exchange.
On Wed, Dec 27, 2017, 15:27 KBernard-nx<EMAIL_ADDRESS>wrote:

I could have this wrong but you buy low on one exchange, in order to sell
that coin on another exchange at a higher price to make profit you would
have to transfer via blockchain to the other exchange. right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/butor/blackbird/issues/354#issuecomment-354173114,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJIOYO6oVcMZq0v8L01itHup5cOgN8GYks5tEqgygaJpZM4RL1G-
.

Nope, this is not how it works.
Long/short arbitrage means that whenever an arbitrage opportunity comes up, Blackbird goes long on an exchange and short on the other one. When the spread closes then the two positions are closed. There is no need for transfers, expect for occasional rebalancing.
Take a look at #100 for more details.


AOT wasm buffer has implicit 32bit alignment requirement

Currently the AOT loader has a requirement that the passed in buffer must be 32bit aligned. The code returns an opaque magic header not detected error if this is not the case. The alignment requirement is implicit in the use of read_uint32 at https://github.com/bytecodealliance/wasm-micro-runtime/blob/7abd1ca813794db267aeb9fb18d465f461a0d4da/core/iwasm/aot/aot_loader.c#L1816 which re-aligns the buffer pointer thus offsetting the magic header location if the buffer is not properly aligned.
I think this requirement should either be dropped or documented with three exclamation points.

@exFalso yes, the AOT buffer must be 4-byte aligned in current design. We will update the the related document. Thanks a lot!

Comments of API wasm_runtime_load() was updated, and seems that we can close the issue.


Create a CFG package to better support DDL/DML in incremental Flyway scripts.

A lot of Flyway incremental scripts have DDL/DML that is either:

not foolproof
not fast by using slow-by-slow code
verbose (rename SYS constraint to a real name)
fail when the object to be changed is locked (ORA-00054)

The idea is to create a package that:

allows a nested table of SQL error codes to ignore (nested table supports "member of")
check that SQL starts with INSERT|UPDATE|DELETE and not a PL/SQL block (can be overridden though)
introduce procedures for common operations like (create|rename|drop) column(s) or (create|rename|drop) constraint(s) with all the SQL error codes to ignore
use DDL_LOCK_TIMEOUT (e.g. alter session set ddl_lock_timeout=30) for the operation

Package CFG_INSTALL_DDL_PKG.


Implement SRS as Opposed to Rarefaction

Rarefaction being random can misrepresent the diversity of samples, using a method like SRS which has a qiime plugin which uses ranked subsampling

I think my plan is to add in a bool param in that will run the downstream analysis with a coremetric like suite that takes a table from decontam => SRS => MyCoreMetric


Add some EOLs and CMake ouput files to .gitignore

a silly PR...
also not really necessary if people build the lib in the build/ folder, but may as well ignore them completely. these ones added are the defaults for CMake that git can setup for you in your .gitignore when creating the repo.

This looks like it's going to make the git history very funky, so I'm going to make it easier and just copy+paste the gitignore in.

yeah no worries, should've done it on a new branch


code-server (VSCode) not working correctly

Since the last days I have started encountering different issues with code-server (VSCode in the browser). The colour themes no longer apply in the IDE and running code directly on VSCode is no longer possible. I seem to remember that this might have happened soon after a code-server update.

I've seen how the coloring in my terminal has changed as part of upgrading to ubuntu 22.04, which has also happened in the base image.
When you describe "running code on vscode is no longer possible", I don't yet understand what you mean. You could mean that you open a terminal and write python mycodefile.py, or press a button from a python code file to run the code, or that you browse a jupyter notebook etc and try to run code.
@JordiBolibar maybe you could provide a screenshot or gif animation? Preferably, an error message or a clear indication of the failure is included in it.

This is strange. The colour theme of VSCode is something that can be configured. Even when apply new ones now I cannot see any difference. The colour scheme changes on the bars and menus, but not on the IDE text, which seems to be overwritten somehow.
Regarding the running of code, the terminal seems to be dead (see image). Also, keyboard shortcuts or the "play" button don't work in order to run the code.

Thanks @JordiBolibar that was very helpful! I've opened #138 to address the coloring at least. I could reproduce the failure to open a functional bash terminal as well, and hopefully that is resolved by downgrading to code-server 4.4.0 as well.
I'm unsure how to get further logs from code-server erroring when opening a terminal, but i could get a definitive error message when using ctrl+shift+p and running the Create terminal command entry.

I confirm everything is working well now. Thanks so much @consideRatio! 😄


Attempting to deploy Raygun to Azure Container Apps via azd results in an error

If I attempt to deploy the Raygun service, I get the following error:
ERROR: failed deploying service 'Raygun': generating container app manifest: configuring ingress for resource Raygun: Binding http can't be mapped to main ingress because it has port 24605 defined. main ingress only supports port 80 for http scheme.

This also is a problem when attempting to synthesize the infrastructure etc.

Thanks for bringing this to our attention. Before we dive into potential solutions, I'd like to get a better picture of what you're trying to achieve. Could you help me understand a few things about your setup?

What kind of environment are you deploying to? Is this a production, staging, or some other type of setup?
Are you intentionally trying to deploy the Raygun service to Azure, or did you expect it to be excluded from the deployment?

Once we have a clearer picture of your setup, we'll be in a better position to guide you towards the best solution. Looking forward to your response!
Raygun4Aspire is intended for local development rather than deployment, so we're just trying to get an idea around what is expected here.

Hey, we've been using it for local dev testing, but of course I haven't yet found a way to "silo" it off so azd doesn't pick it up - I've effectively had to remove it entirely from the code for deployment.


chore(docs): fix a cognito event source example

Issue #, if available:
N/A
Description of changes:
fix a cognito event source example
Description of how you validated changes:
N/A
Checklist:

~Write/update tests~
[x] make pr passes
[x] Update documentation
~Verify transformed template deploys and application functions as expected~
~Add/update example to examples/2016-10-31~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

rebased on current develop HEAD


Doc Feature request - cli options listing

This cli options listing is really helpful - I find myself going to it instead of the Traefik documentation for a single page overview of all of the command line options:
https://traefik.mattclemente.com/

Hello,
In the v2 doc, we created a dedicated page for the CLI options: https://docs.traefik.io/v2.1/reference/static-configuration/cli/

Awesome - sorry - still on 1.7.   Awesome tool - thanks and Happy Holidays!  Didn't mean for anyone to look at this anytime this week.


Gardenimage Upload API

The image is stored as a base64-encoded data url. We also need the coordinates of the placement.
❗ It may happen that positions are extended by bottomRight. #151
@jarkenau Can you work with the data url to generate the image as a tile?
JSON could look like this:
{
  "data": "data:image/png;base64,GVsbG8sIFdvcmxkIQ==",
  "positions": {
    "topLeft": {
      "lat": "52.31703822683545",
      "lng": "7.630155086517335"
    },
    "topRight": {
      "lat": "52.31703822683545",
      "lng": "7.630155086517335"
    },
    "bottomLeft": {
      "lat": "52.31703822683545",
      "lng": "7.630155086517335"
    }
  }
}

@lucaslootalot It would be better if I get the image as a .png, or best case as .tif for georeferencing it.   Especially for large images, which I image the drone picture will be, this could make a difference.
Also, I would propose a slightly different JSON structure, so that it will be easier to add more points later. We just use an Array to store all the position and the referencing is done via the pixel's x, y coordinate and the latitude and longitude. Is this possible for you?
{
   "img": ...
   "positions":[
      {
         "x":0,
         "y":0,
         "lat":52.31703822683545,
         "lng":7.630155086517335
      },
      {
         "x":"Img-Width",
         "y":0,
         "lat":52.31703822683545,
         "lng":7.630155086517335
      },
      "..."
   ]
}

I don't quite understand why we need x and y. The script we are working with assigns the cooridnates based on the names "topRight", etc. Your idea with the array of positions would of course make more sense, but I think it would be sufficient for now to implement it less flexibly with the names.
The image is a .png. Do I understand correctly that you want to have the image separately and not as a data url? Is then the img field in your JSON the URL to the image?

OK, let's do it with the currently implemented script. It would be best to have the image separate, so I can directly save it. The img field would then be the URL to retrieve the image after it's saved.

Then i would send you the following JSON. What will the endpoints be called then?
{
  "imgUrl": null,
  "positions": {
    "topLeft": {
      "lat": "52.31703822683545",
      "lng": "7.630155086517335"
    },
    "topRight": {
      "lat": "52.31703822683545",
      "lng": "7.630155086517335"
    },
    "bottomLeft": {
      "lat": "52.31703822683545",
      "lng": "7.630155086517335"
    }
  }
}

Currently, the upload and download are under the following endpoint:
https://github.com/naturerobots/HSOS-SEP-PlantMap-2022/blob/6820c80300afc3107abecf8c52a55e1d9fe07cfb/django/restapi/urls.py#L21
Should we use this or change something?
Also, another point occurred to me, do we allow uploading different file formats like .png, .jpg etc. or do we just focus on one?

Don't we need a second endpoint for the JSON then? As we have to upload and download image and image data separately.
Since every garden needs a company, this should actually fit. Does this fit with your implementation of the company-garden-user structure?
We should only focus on one image format, as we make it a .png regardless of the format that is uploaded. Making it .tif instead should not be a problem. I then just need to test how it would behave to use .tif in combination with the map.

@lucaslootalot For the GET it's obvious what I should return, but what's with the POST? Should even anything be returned?

Maybe simple status description JSON for POST response?
{
  "status": 200,
  "description": "Garden successfully uploaded"
}


Corrupt or otherwise invalid packs throw uncaught exceptions

20:53:52.8276 | ERROR | Blish_HUD.Modules.Module | Module "Pathing (bh.community.pathing) v0.13.6" had an unhandled exception while loading.
System.IO.InvalidDataException: End of Central Directory record could not be found.
   at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
   at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
   at System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding)
   at TmfLib.Content.AsyncSafeZipArchive.GetArchive() in C:\Users\dade\source\repos\TmfLib\Content\AsyncSafeZipArchive.cs:line 51
   at TmfLib.Content.AsyncSafeZipArchive.InitMetadata() in C:\Users\dade\source\repos\TmfLib\Content\AsyncSafeZipArchive.cs:line 27
   at TmfLib.Content.ZipArchiveReader..ctor(String archivePath, String subPath) in C:\Users\dade\source\repos\TmfLib\Content\ZipArchiveReader.cs:line 21
   at TmfLib.Pack.FromArchivedMarkerPack(String archivePath) in C:\Users\dade\source\repos\TmfLib\Pack.cs:line 31
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at BhModule.Community.Pathing.PackInitiator.<LoadPackedPackFiles>d__14.MoveNext() in C:\Users\dade\source\repos\Pathing\PackInitiator.cs:line 111
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at BhModule.Community.Pathing.PackInitiator.<LoadAllPacks>d__17.MoveNext() in C:\Users\dade\source\repos\Pathing\PackInitiator.cs:line 130
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at BhModule.Community.Pathing.PackInitiator.<Init>d__12.MoveNext() in C:\Users\dade\source\repos\Pathing\PackInitiator.cs:line 101
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at BhModule.Community.Pathing.PathingModule.<LoadAsync>d__24.MoveNext() in C:\Users\dade\source\repos\Pathing\PathingModule.cs:line 124

Notably when somebody uses a zip that is partially downloaded.
REF: https://discord.com/channels/531175899588984842/534492012263636992/895503929721376769

https://pastebin.com/vGV8bYbp


fix searchbar issue #3917

Fixed Searchbar issue in default theme  #3917

still texts are coming

Fixed

@deepaksinghgusain227
remove search key only when search by image, if user put any keyword in search bar then it should not removed


ISSUE 6 - Fixed usage section in README.md

Submitting a fix to the usage section of the README.  This fix is for Issue#6

Just what I needed :)

Great catch - thank you @attesch :)


Saving files deletes all file contents.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.85.1
OS Version: Darwin arm64 23.1.0 & Windows 10

Steps to Reproduce:

Open a file, write some text into it.
Try saving the file.  When I save all the text contents of the file is deleted and I'm left with an empty file.

BTW, this is a show stopper for me.  I am unable to do any work right now.  Can someone at the very least point me to a link for version 1.85.0?

Found this issue from a few years back that is the exact same issue I'm having now.
https://github.com/microsoft/vscode/issues/61310

And now all of a sudden the issue went away.  I have zero idea what changed.

So is this fixed?

So is this fixed?

It appears so.  Although I have no idea how it got fixed.  I'll close the issue.


Add find_add command to search by address

Currently, the AB3 AddressBook only has the feature to find individuals by name.
However, as Financial Advisors, client meetings are highly volatile and subject to change in short periods of time. As such, Financial Advisors will stand to benefit from being able to search for clients by their address, in order to coordinate client meetings and improve efficiency.
The find_add command will allow Financial Advisors to search for clients by their addresses.
This will allow Financial Advisors to more efficiently plan their client meetings and be more productive.

Some lines are not covered by tests, but CodeCov has passed, so no issues!
Other than that, LGTM!


FlutterWebView.m:412:1: error: control may reach end of non-void function [-Werror,-Wreturn-type] when running on iOS

I tried to run my flutter app on my iPad or the simulator and I get this error related with the webview_media package. anyone has an idea how to fix this?
this is the error I got while running

Please update to latest version of the plugin.

It is updated but still having the same error

Here is another screenshot of the error on Xcode that might help.


Aragorn error Workflow A.8

https://arax.ncats.io/?source=ARS&id=cd380ba8-7688-4b1c-9156-8fc73c1f2e7a
https://github.com/NCATSTranslator/minihackathons/blob/main/2021-12_demo/workflowA/A.8_EGFR_simple.json

  "logs": [
    {
      "code": null,
      "level": "ERROR",
      "message": "Exception in Strider: NotImplementedError('There are multiple predicates, mixed canonical and not')",
      "stack": "Traceback (most recent call last):\n  File \"/app/./strider/server.py\", line 85, in catch_exceptions_middleware\n    return await call_next(request)\n  File \"/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 45, in call_next\n    task.result()\n  File \"/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py\", line 38, in coro\n    await self.app(scope, receive, send)\n  File \"/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py\", line 78, in __call__\n    await self.app(scope, receive, send)\n  File \"/usr/local/lib/python3.9/site-packages/starlette/exceptions.py\", line 82, in __call__\n    raise exc from None\n  File \"/usr/local/lib/python3.9/site-packages/starlette/exceptions.py\", line 71, in __call__\n    await self.app(scope, receive, sender)\n  File \"/usr/local/lib/python3.9/site-packages/starlette/routing.py\", line 580, in __call__\n    await route.handle(scope, receive, send)\n  File \"/usr/local/lib/python3.9/site-packages/starlette/routing.py\", line 241, in handle\n    await self.app(scope, receive, send)\n  File \"/usr/local/lib/python3.9/site-packages/starlette/routing.py\", line 52, in app\n    response = await func(request)\n  File \"/usr/local/lib/python3.9/site-packages/fastapi/routing.py\", line 214, in app\n    raw_response = await run_endpoint_function(\n  File \"/usr/local/lib/python3.9/site-packages/fastapi/routing.py\", line 149, in run_endpoint_function\n    return await dependant.call(**values)\n  File \"/app/./strider/server.py\", line 271, in sync_query\n    query_results = await process_query(qid, log_level, redis_client)\n  File \"/app/./strider/server.py\", line 180, in process_query\n    await strider.setup()\n  File \"/app/./strider/fetcher.py\", line 120, in setup\n    self.qgraph = fix_qgraph(self.qgraph, curie_map, primary = True)\n  File \"/app/./strider/trapi.py\", line 215, in fix_qgraph\n    \"edges\": {\n  File \"/app/./strider/trapi.py\", line 216, in <dictcomp>\n    qedge_id: fix_qedge(qedge)\n  File \"/app/./strider/trapi.py\", line 238, in fix_qedge\n    raise NotImplementedError(\"There are multiple predicates, mixed canonical and not\")\nNotImplementedError: There are multiple predicates, mixed canonical and not\n",
      "timestamp": "2021-08-12T01:47:27.356890"
    },
    {
      "code": null,
      "level": "ERROR",
      "message": "Strider error: HTML error status code 500 returned.",
      "timestamp": "2021-08-12T01:47:27.362142"
    }
  ],
  "message": {
    "knowledge_graph": null,
    "query_graph": null,
    "results": null
  },
  "status": null,
  "validation_result": {
    "message": "",
    "size": "5 kB",
    "status": "PASS",
    "version": "1.1.1"
  },
  "araxui_provider": "ARS",
  "araxui_response": "4a5a1b89-63de-48e8-8724-2dc352904ce8"
}

Strider being deployed Sep 9 should handle this query.

Aragorn was having issues last night.


@conda-forge-admin, please add bot automerge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/gitdb-feedstock#14.


chore: switch to Noir Keccak implementation with variable size support

Description
Problem*
We are still using a blackbox function for Keccak, while we have the keccak permutation blackbox.
Summary*
Add variable size support for Noir Keccak, and also switch to the Noir implementation in stdlib
Additional Context
Documentation*
Check one:

[X] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[X] I have tested the changes locally.
[X] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I investigated the circuit size increase in the report as it does not match my own tests. It was because the test is using constant input which was simplified. I have added constant folding also for keccak permutation. This resolves the issue.

Nice, looking much better now. Can you chuck a no_predicates on the hash function?

Nice, looking much better now. Can you chuck a no_predicates on the hash function?

on which one? keccak256 already has one so I am not sure which one you refer to?

Ah yeah, sorry I missed that.