Bump to dev version + update versions in switcher.json

Related to the discussion in https://github.com/pydata/pydata-sphinx-theme/issues/556, and trying to improve the versions in the dropdown in our own demo docs.
cc @drammock

I added stable and latest versions, and therefore needed to remove the harcoded "v" in the template url
I trimmed down the list of versions a bit

Highlighting this comment from another PR: https://github.com/pydata/pydata-sphinx-theme/pull/576#issuecomment-1034195480

I rebased on master and pushed a commit that:

Added a check for the READTHEDOCS_VERSION variable, and uses it if found
Added extra_classes for stable and dev to see if this works

Added extra_classes for stable and dev to see if this works

When I check for the class on the RTD deployment of this PR, I do not see "dev" the extra class...

@choldgraf, can you confirm this is the case for you as well?

@tupui, since you implemented #576, do you have any thoughts?

But the json is not deployed. This is the issue no?

But the json is not deployed.

You are right... I forgot about that 😉
This is in fact confusing if you have a weak memory like me... I think we might find a way to actually "see" changes on the version-switcher-related stuff on RTD previews, but that is another discussion!

Thanks for the updates! Since we will only really see how it goes once merged, let's merge this

Hmm, so the dropdown is not working. But that might actually already be an issue with https://github.com/pydata/pydata-sphinx-theme/pull/576?
It's giving an error in the console: Uncaught TypeError: $(...).classList is undefined, which is pointing to
https://github.com/pydata/pydata-sphinx-theme/blob/0c77b6d84fb09974479157fa376f91b2e6e17a2b/src/pydata_sphinx_theme/theme/pydata_sphinx_theme/_templates/version-switcher.html#L79

@jorisvandenbossche sorry about that. But please see #597 as @choldgraf was changing the logic to not rely on JS here.

No problem. And yes, I saw that PR, but I thought this could go in first, so we could ensure https://github.com/pydata/pydata-sphinx-theme/pull/597 would ensure the same behaviour ..

Got it, sorry cannot really help a lot here. I got help for the syntax at the end. I originally had a for loop and I recall testing it locally and it was working.

$("#version_switcher_menu").classList.add(...entry.extra_classes);
You might need to get the actual node with jquery... I think something like the following (untested) might work?
$("#version_switcher_menu")[0].classList.add(...entry.extra_classes);

OK, here you have a https://github.com/pydata/pydata-sphinx-theme/pull/599 fixing this one among other things I have talked about in my above comments:

This is in fact confusing if you have a weak memory like me... I think we might find a way to actually "see" changes on the version-switcher-related stuff on RTD previews, but that is another discussion!

Btw, there is another issue with this PR... if you land into stable: https://pydata-sphinx-theme.readthedocs.io/en/stable/ and try to go any other version, it will fail, ie. https://pydata-sphinx-theme.readthedocs.io/en/vv0.7.2/
Notice the vv0.7.2. I think we may need to make a 0.8.1 release when #599 is merged so stable can actually redirect properly to other versions... although 0.8.0 will be always broken 😢? (unless we literally hack something to fix it... although it is late here and I might be missing something).

IMO we should fix it, release 0.8.1, and then remove 0.8.0 from existence - in general, I only think we need to display the versions of the latest release on a major version (or, for each minor release for now maybe)

Btw, there is another issue with this PR...  Notice the vv0.7.2.

Ah, good catch, I didn't think about that when changing the url_template ..
We can now indeed fix it in 0.8.x, and remove 0.8.0 from the dropdown.
But assume that the dropdown already had existed for a longer time (eg also in 0.6 and 0.7 docs), then this would not have been that easy to "fix". So this points a bit to an inherent limitation of changing things in future versions after an initial set-up? Which makes our current approach not super robust to changing urls?
Although you can probably always fix it by using full urls instead of the url template, thanks to https://github.com/pydata/pydata-sphinx-theme/pull/575 (I suppose this is the generic solution for projects that might change url template at some point, but want to keep working links in older docs?)

That's a good point @jorisvandenbossche - I'm actually wondering if the approach you describe - giving fully-resolved URLs instead of a template - is actually a better solution in general with less complexity. I'll write up an issue to discuss

👉 https://github.com/pydata/pydata-sphinx-theme/issues/600


What about the performance?

Hello, thanks for your excellent work.
What about the performance of your reimplement  model?

I am trainning on the way. The model is much bigger since it uses multi-scales feature maps.

I am training on the way. The model is much bigger since it uses multi-scales feature maps.

Thanks for you great work. How about the performance now? Could the code performances as good as the official implementation?

@Lotus-95 I didn't finish training, since official code is much more faster and memory efficient than mine.

@Lotus-95 I didn't finish training, since official code is much more faster and memory efficient than mine.

Thanks for your reply. So you mean you dropped the code?

Yes, This repo could be considered as thought verification.


Consider bumping minimum supported node version.

Support for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>has ended.  If you bump the minimum supported version to node@4, you can drop the path-is-absolute and inherits dependencies.

See https://github.com/isaacs/node-glob/pull/385.


Opponent vehicle

To fix the merge conflict, add the Blueprints to Blueprint List.md, then
git checkout origin/main -- Airsim/Unreal/Environments/Blocks/Content/Maps/FlyingExample.umap
git add .
git commit -m "Message Here"
git push origin

Can we cancel this Pull Request? I created a new branch that contains the stuff I need from here + the path

Closing Pull PR.


how to navigation menu put the right side?

I tried to align the navigation menu to the right using
<NavigationMenu className="mx-auto flex flex-row justify-end" >
but it didn't work.
When I added 'mx-auto,'
it centered the menu but not to the right.
I want to place the logo on the left side and the menu on the right side,
but I'm not sure how to do it.

I had no problems while testing. It's probably related to the <NavigationMenu> parent element. Please share the relevant code block for further help.

I noticed that max-width was applied by the developer tools,
but I never added max-width: max-content myself.
I couldn't figure out why it was added to the navigation component.
I checked all the CSS code, but I couldn't find it anywhere.
Nevertheless, I was able to solve the issue by overriding the max-w attribute like this
<NavigationMenu className="bg-blue-200 mx-auto flex flex-row justify-end max-w-5xl">

I noticed that max-width was applied by the developer tools, but I never added max-width: max-content myself.
I couldn't figure out why it was added to the navigation component. I checked all the CSS code, but I couldn't find it anywhere.
Nevertheless, I was able to solve the issue by overriding the max-w attribute like this <NavigationMenu className="bg-blue-200 mx-auto flex flex-row justify-end max-w-5xl">

No, the "relative z-10 flex max-w-max flex-1 items-center justify-center" styling is already in the component as default, not added by developer tools. but you can override it if needed. For details, you can check this file: https://github.com/shadcn-ui/ui/blob/main/apps/www/registry/default/ui/navigation-menu.tsx


Fix options passed to date-fns/parse

To provide symmetry with date formatting, also use the special unicode tokens flags on date parsing.
See #4469

@martijnrusschen Is it possible to do another release with these changes?
If you were planning on a release this week, I can wait, but this PR does fix a crash that's happening in our app with some specific dateformats that we want to use in our next release.
Thanks!


Duplicate ACK to same message id will cause receiver reject the message

Problem

Some coding issue results in the code sending two ACKs to one message id.
The code might reject the message with payload if duplicate ACK is received.

Proposed Solution
Analysis the protocol and

Avoid sending duplicate ACK to the same message
Discuess whether to reject the message if duplicate ACK received.

Avoid sending duplicate ACK to the same message

#7935 will mostly do that.  We could still run into it in the following way, with events listed in the order they happen, with time passing between the steps:

A sends a message to B.
B receives message from A.
B responds with an app-level response with a piggybacked ack (but this message is delayed in transit)
A resends the message.
B receives the resent message.
B responds with a standalone ack (as we always do for duplicates using MRP).
A receives the standalone ack.
A receives the response from step 3, which got delayed in the network somewhere.

This is a perfectly legitimate sequence of events, albeit one that is not going to happen in our CI as things currently stand, because our CI does not test interesting complicated network scenarios so far...  I keep hoping we'll re-enable the cirque tests and use those to test this sort of thing.
Anyway, given the scenario above it seems clear to me that a message with a piggyback ack that is not itself a duplicate has to be processed properly even if the ack is for a message id that we don't think we need an ack for.
@erjiaqing @yufengwangca @turon

Or another scenaraio where we have the same problem:

A sends a message to B.
B receives message from A.
B responds with an app-level response with a piggybacked ack, but this response is lost.
A resends the message.
B receives the resent message.
B responds with a standalone ack (as we always do for duplicates using MRP).
A receives the standalone ack.
B resends its response.
A receives the resent response, which has an app-level message we need to process, and a piggybacked ack for a message id that has already been acked.


Error when starting frontpage-vue-app, says error is in vue-apollo

I get this:
ERROR in ./~/vue-apollo/index.js
Module not found: Error: Can't resolve './lib/vue-plugin' in '/srv/http/frontpage-vue-app/node_modules/vue-apollo'
@ ./~/vue-apollo/index.js 1:17-44
@ ./src/main.js
@ multi main
It worked for me yesterday when i cloned the package, but not today.

+1


FLOATY FLOATY FORK

Right so valkyrium ore.
It drops 4-8 valkyrium shards without fortune and more with it.
It has no anti gravity effect which is odd considering shards are less concentrated but do.
Introducing.


Add policies section

Notes for Reviewers
This PR fixes #https://github.com/meshery/play/issues/48
Signed commits

[x] Yes, I signed my commits.

Thank you, @lolverae 👏


Traefik suddenly offers SSLv3

Do you want to request a feature or report a bug?
Bug
Did you try using a 1.7.x configuration for the version 2.0?

[ ] Yes
[x] No

What did you do?
I updated from 1.7.13 to version 1.7.14 of Traefik. Then run a TLS check (https://www.ssllabs.com/ssltest/) and suddenly got a rating downgrade from A+ of B.

What did you expect to see?
I expected to see my original A+ rating to continue to be A+ due to secure defaults.

What did you see instead?
Rating went down from A+ to B because Traefik suddenly starts to support SSLv3.

I have an idea where it might comes from:
https://github.com/containous/traefik/commit/989a59cc29f58e25c07dab2eab97f0f683cef5ab
At least this seems to be the latest change to the TLS code which might lead to autodetected SSLv3 support? As there is a cipher overlap between TLS1.0 and SSLv3 around TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA and TLS_RSA_WITH_3DES_EDE_CBC_SHA.
Additional hint: I verified that just by changing the image version back to 1.7.13 the rating went back to A+ and SSLv3 was disabled.

Note that the constants in question are detailed in:
https://golang.org/pkg/crypto/tls/#pkg-constants
But more of note:
https://golang.org/doc/go1.13#crypto/tls
SSLv3 was always disabled by default, other than in Go 1.12, when it was mistakenly enabled by default server-side. It is now again disabled by default. (SSLv3 was never supported client-side.)

😢
and the fix:
https://github.com/golang/go/issues/33837

Thanks @SISheogorath for this report, we will work on getting this resolved ASAP.

In the meanwhile I was able to help myself with this patch:
https://git.shivering-isles.com/shivering-isles/infrastructure/commit/624f7809af6e86152e82694811970e2e655fa5e1
(Adding TLS.minVersion:VersionTLS10)

Cool. That was essentially what I was going to suggest you try, and was going to be my avenue for a patch.
Good to know that it will work.


integration-cli: check err on tmp dir creation

Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM

LGTM when janky is happy

It's green :smile:


Modernize fork hooks to not conflict with other gems

Fix: https://github.com/zk-ruby/zk/issues/108
Module#prepend is much more composable than alias method chains.
This is essentially a port of the Active Support implementation.
FYI: @niodice

@casperisfine thank you for taking a look at this! The forking logic is not my strong suit.
I was able to confirm that the related error when running with passenger is gone and it appears that the ZK forking is still happening (just based on a puts I added in the CoreExt::fork method). I'm not a good person to comment on the correctness of the fork logic, though.


Name conflicts

We should find a way to handle when a user attempts to create a new administration, code, software or standard with the same name of one that already exists. As of now, all the new info from the form will overwrite the existing data, which is bad.
My current ideas are:

Check if WET-BOEW already has a way to handle that
Add our own custom validation (onChange, check if value exists)
Throw an error in the JS workflow when we encounter such an error

Thoughts?

We should check for this and show an error before the form can be submitted

I'd suggest then that we validate the name onChange just so the user doesn't go through the whole process of filing the form and then get denied


Update feature_alignment (now TRIC)

This PR updates feature_alignment which was renamed to TRIC.

tests are failing now :(

I can't find the 'All tool test results' artfiact?!

under summary :)

under summary :)

thank you! I was expecting it somewhere here :) (it was there before):

The error is:
Job in error state.. tool_id: feature_alignment, exit_code: 127, stderr: /tmp/tmp1zbnmvo3/job_working_directory/000/2/tool_script.sh: line 9: feature_alignment.py: command not found
Requirements are correct:
<requirement type="package" version="0.11.0">msproteomicstools</requirement>
https://bioconda.github.io/recipes/msproteomicstools/README.html
Any ideas?

Have you tested this with planemo test --docker locally? It seems that the created container does not have the python file?

I've tested it with:
planemo test --no_dependency_resolution
--> all tests green
and with:
planemo test --docker
--> 3 of 5 tests green
--> feature_alignment.py is availiable in all tests!

The one with --docker you need to get all green. That is also what is here running.

I restarted the tests.

ping @bgruening :)

 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa756ad0f10>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /packages/34/39/cde2c8a227abb4f9ce62fe55586b920f438f1d2903a1a22514d0b982c333/flake8-4.0.1-py2.py3-none-any.whl
does the test restarts itself?

Thanks!


pkgsite: doesn't correctly handle trailing slash in godoc.org redirection

What version of Go are you using (go version)?

$ go version
go version go1.15.6 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/jasonhall/Library/Caches/go-build"
GOENV="/Users/jasonhall/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/jasonhall/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/jasonhall/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.15.6/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.15.6/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/jasonhall/git/build/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/bb/l0yfqc6d6kb5zm5f9ktyx0nw0000gn/T/go-build918433136=/tmp/go-build -gno-record-gcc-switches -fno-common"
GOROOT/bin/go version: go version go1.15.6 darwin/amd64
GOROOT/bin/go tool compile -V: compile version go1.15.6
uname -v: Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
ProductName:	Mac OS X
ProductVersion:	10.15.7
BuildVersion:	19H2
lldb --version: lldb-1<IP_ADDRESS>
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1<IP_ADDRESS>)

What did you do?
Browse to https://godoc.org/github.com/google/go-containerregistry/ (with trailing slash)
...or any godoc.org link to a valid package name, with trailing slash:
https://godoc.org/github.com/google/go-github/
https://godoc.org/github.com/gorilla/mux/
What did you expect to see?
I expected to be redirected to https://pkg.go.dev/github.com/google/go-containerregistry/ (with or without the trailing slash, I have no preference)
...and that's what happens when I browse to https://godoc.org/github.com/google/go-containerregistry (no trailing slash)
What did you see instead?
I was redirected to https://github.com/golang/go/issues/43036 which is closed working-as-intended, and seemingly unrelated to my issue.

Possibly a regression of https://github.com/golang/go/issues/40166?

Possibly a regression of https://github.com/golang/go/issues/40166?

Thanks for letting us know, @ImJasonH! We're working on a fix.

Thanks for letting us know, @ImJasonH! We're working on a fix.

Thanks for the quick fix! 👍

Thanks for the quick fix! 👍


Support max_by in Aggregation function

Is your feature request related to a problem or challenge?
max_by(arg, val)

Description
Finds the row with the maximum val. Calculates the arg expression at that row. This function is affected by ordering.

Example
max_by(A, B)

Alias(es)
argMax(arg, val), arg_max(arg, val)

Describe the solution you'd like
D SELECT max_by(x, y) FROM VALUES ('a', 10), ('b', 50), ('c', 20) AS tab(x, y);
┌──────────────┐
│ max_by(x, y) │
│   varchar    │
├──────────────┤
│ b            │
└──────────────┘

Describe alternatives you've considered
No response
Additional context
https://duckdb.org/docs/sql/functions/aggregates#max_byarg-val
https://docs.databricks.com/en/sql/language-manual/functions/max_by.html

take

This probably could be an aliases (with some additional transformations) for first/last aggregation functions -- otherwise there it'll end with two implementations of basically the same function (not something bad, but still redundant).
Relevant discussion -- https://github.com/apache/datafusion/issues/12075

Given https://github.com/apache/datafusion/issues/12357 we may want to move this function to some other repo rather than the core

Suggestion: https://github.com/apache/datafusion/issues/12254#issuecomment-2353615046

We are going to implement these in a different repository so closing this ticket to avoid confusion: https://github.com/apache/datafusion/issues/12254#issuecomment-2374446425


Lectures: Offer to instructors a text box next to the option of removing the slides

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I followed the coding and design guidelines.
[ ] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[ ] I documented the Java code using JavaDoc style.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[ ] I followed the coding and design guidelines.
[ ] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[ ] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[ ] I documented the TypeScript code using JSDoc style.
[ ] I added multiple screenshots/screencasts of my UI changes.
[ ] I translated all newly inserted strings into English and German.

Changes affecting Programming Exercises

[ ] I tested all changes and their related features with all corresponding user types on Test Server 1 (Atlassian Suite).
[ ] I tested all changes and their related features with all corresponding user types on Test Server 2 (Jenkins and Gitlab).

Motivation and Context
Fix issue: #7039
Description

Add an input field below Remove Break slide and Remove Example solution slide, respectively.
Send the input value with the DTO

Offer a default value

Check the input value in LectureUnitProcessingService and remove slides, if selected.

Steps for Testing
Prerequisites:

1 Instructor

Log in to Artemis
Edit or create a new lecture
Select Automatic unit processing
Upload a prepared slide deck
Click Process units
Select Remove Break slides
Type in the keyword

Or don't if the slides match the default value (base case)

Submit

Review Progress

Performance Review

[ ] I (as a reviewer) confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[ ] I (as a reviewer) confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Exam Mode Test

[ ] Test 1
[ ] Test 2

Test Coverage

Screenshots
Before

@sleiss @JohannesStoehr
I guess, one could rework the feature to just a text field that takes a comma-separated list and removes slides that fit any of the key phrases.
Then we would lose the check boxes, which are more convenient and I argue that we should not complicate the two slide types too much, until maybe there will be a third type.

Support multiple words per input. If one of them matches, the slide will be removed

There is no difference between break and solution slides except the keyword. Why not simply offer one comma separated list to the user?


Feature request: convert explicit paths to import.

I want Rust Analyzer to have a code assist to do something like this:
fn main() {
    let x : std::path::PathBuf;
    let y : std::path::PathBuf;
}

to
use std::path::PathBuf;
fn main() {
    let x : PathBuf;
    let y : PathBuf;
}

It can already import PathBuf when I write it from the beginning, but I typically prefer having explicit paths unless they get really repetitive, and replace them all in one go.

There is already a quick fix for this.

How do I trigger it? I see "extract type as type alias" when I select the path, but that's not it. And it does not replace other usages of the path.
rust-analyzer plugin is version 0.3.921.

Put the cursor on the PathBuf and trigger code actions. You should get a "Replace qualified name with use" assist.
There's a list of assists in the manual: https://rust-analyzer.github.io/manual.html#assists-code-actions

Indeed, I need to select (or place cursor to) the last component, not the whole path.

Can rust_analyzer somehow monitor manual code edits and detect that user's behaviour matches some existing code assist, for a tip about specific code action to be shown exactly when user needs (or very recently neeed) it?

Can rust_analyzer somehow monitor manual code edits and detect that user's behaviour matches some existing code assist

That would be very complicated and error-prone, I don't think it's really feasible.
Let's close this issue since the assist exists.


Slightly modify the max width of a tracking space

/botio test

There is a small difference with issue14415.pdf but from my pov it's acceptable: a space was alone in a span and now it belongs to the next span so from a text selection point of view it isn't a problem.

There is a small difference with issue14415.pdf but from my pov it's acceptable: a space was alone in a span and now it belongs to the next span so from a text selection point of view it isn't a problem.

Agreed, that seems OK to me too.

/botio makeref

/botio-windows makeref


Fix hang in select into outfile

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #3350
Problem Summary(Required) ：
now the parameter of FragmentMgr::exec_actual was a pointer of
std::shared_ptr<FragmentExecState>. which will bring two problems

wild pointer

        auto exec_state_iter = _fragment_map.insert(std::make_pair(fragment_instance_id, exec_state));
        // if _fragment_map resize in another thread. exec_state_ptr
        // will be a wild pointer
        exec_state_ptr = &exec_state_iter.first->second;

did too much work when hold a lock

        std::lock_guard<std::mutex> lock(_lock);
        auto iter = _fragment_map.find(exec_state->fragment_instance_id());
        // when we erase iter from _fragment_map.
        // FragmentExecState's destructor will be called. will may hold
        // lock too much time
        if (iter != _fragment_map.end()) {
            _fragment_map.erase(iter);

please also check pipeline engine logic.

@kangkaisen pipeline has no problem


Setting queues on ports

Hi,
I am new to the whole SDN thing and I am exploring QoS with ONOS controller and Openflow 1.3 enabled switch using Queues and Meters. I have setup a simple network using 1 Lagopus switch and 2 virtual hosts.
I want to set 2 queues on each port with high and low priority. I do not know how to set queues on the Lagopus switch. I have done it previously on Open vSwitch but then found out that it does not support meters yet.
This guide gives a brief hint
http://www.lagopus.org/lagopus-book/en/html/datastore.html?highlight=queue#queue-object
do I need to add these lines to the lagopus.dsl file? If someone could point me to any guide or example, it would be great help.  @kishiguro  @falcon8823 @cl4u2  @hidetai  @ynkjm
Thanks
Pradeep Jha

do I simply add the lines to add the queue in lagopus.dsl ?? As mentioned in the file https://github.com/lagopus/lagopus/blob/master/test/datastore/long_run/test_scenarios/functional_tests/queue.dsl .
i want to set 2 queues on the ports with different priorities.
@hibitomo @ynkjm

Hi,
You have to make queue objects and attach them to port objects.
The queue objects can be attached by using "-queue" of port objects as mentioned in the lagopus-book
http://www.lagopus.org/lagopus-book/en/html/datastore.html?highlight=queue#port-object .
Multiple queues can be attached by using multiple "-queue" options.
Then you can use the set-queue action of OpenFlow to select the queue.
But actually the queue function have not been tested well and it may have bugs.
So please tell us your test results.
Thank you!

@hirokazutakahashi  Thanks for the reply.
I do everything as mentioned by you and the link you have provided. but as soon as I add the lines to create the queue object to the lagopus.dsl file and the restart the switch using sudo lagopus command, the switch doesnt start anymore. the show version command on lagosh shows the error "switch not running?"
Any idea why that might be happening?

Can you check or paste the console log and syslog by using "-d" option for lagopus?
$ sudo lagopus -d  (other options)

hi @hirokazutakahashi thanks for the reply.
everything works fine with mininet and onos and lagopus, unitl I configure the file to add queues.
sudo lagopus -d does not do anything and remains in a blank screen forever. I have to stop it by keyboard interrupt. lagopus -l  option however produces the log file which I have included in the comment.
Attached below are my lagopus.conf file and lagopus.dsl files. If only I remove everything related to queues, it starts working correctly.
With these setting in place, mininet won't start anymore and fail at starting switches
Starting 1 switches
s1 --------------------------------------------------------------------------------
Caught exception. Cleaning up...

error: [Errno 111] Connection refused
--------------------------------------------------------------------------------

I have tried both the methods, writing directly to the dsl file as well as using the lagosh shell to configure->edit->commit->save to the same result. One thing to note though is that when I commit my conf file, it throws an error saying INVALID_ARGS: Bad opt = -id.
lagopusConf.txt
lagopusDSL.txt
Uploading lagopusLog.txt…

hi @hirokazutakahashi  thanks for the reply.
everything works fine with mininet and onos and lagopus, unitl I configure the file to add queues.
sudo lagopus -d does not do anything and remains in a blank screen forever. I have to stop it by keyboard interrupt. lagopus -l option however produces the log file which I have included in the comment.
Attached below are my lagopus.conf file and lagopus.dsl file. If only I remove everything related to queues, it starts working correctly.
With these setting in place, mininet won't start anymore and fail at starting switches
Starting 1 switches
s1 --------------------------------------------------------------------------------
Caught exception. Cleaning up...

error: [Errno 111] Connection refused
--------------------------------------------------------------------------------

I have tried both the methods, writing directly to the dsl file as well as using the lagosh shell to configure->edit->commit->save to the same result. One thing to note though is that when I commit my conf file, it throws an error saying INVALID_ARGS: Bad opt = -id.
lagopusConf.txt
lagopusDSL.txt
lagopus-l.txt

Hi @pjpradeepjha,
Please try to edit the DSL file as follows.

delete "-id (queue id)" from the queue objects.
add the queue id to the "-queue" options of the port objects like "-queue (queue name) (queueid)",  https://github.com/lagopus/lagopus/blob/master/test/datastore/long_run/test_scenarios/functional_tests/queue.dsl .

The lagopus-l.txt seems to indicate multiple starts, another lagopus process was already running.

oh great. thanks @hirokazutakahashi
I removed the queue id from the queue object and added it on the port object and the configure -> commit -> save was successful.
It just that the instructions on the lagopus-book says otherwise. Maybe we should update it accordingly.
Also, is there any way we can check if the queues have actually been created and attached to a port. Like, is there any Lagosh CLI command that would confirm that.
I created a flow on the switch and pointed it to the queue using ONOS. The pings are going through, but for some reason the iperf tcp test is unable to connect the client with the server. and iperf udp test is not sending any server statistics. FYI, I am using the lagopus version of mininet. The tests works fine with the OVS switch and rate limiting queues.

At now, there are no commands related to queues in the lagosh.
But you can check queue related configuration by using lagopus DSL interface.
$ telnet localhost 12345
Then you can check queue configuration by
queue[enter]
and port configuration by
port[enter].
At now, I have no idea for the iperf problem.
But the mininet version of lagopus uses raw sockets instead of DPDK interfaces by some interoperability problems.
The raw socket implementation is for debug purpose.
So it's very low performance and may not have full functionality.
Please try DPDK configuration if you can.

thank you so much @hirokazutakahashi
you have been extremely helpful throughout. I tried everything as you directed and got the following output on telnet
pradeep@peace:~$ telnet localhost 12345
Trying <IP_ADDRESS>...
Connected to localhost.
Escape character is '^]'.
queue
{"ret":"OK",
"data":[{"name":":queue01",
"type":"two-rate",
"id":1,
"priority":2,
"color":"color-blind",
"committed-burst-size":15000,
"committed-information-rate":15000,
"peak-burst-size":1500,
"peak-information-rate":1500,
"is-used":true,
"is-enabled":true}]}

port
{"ret":"OK",
"data":[{"name":":s1-eth1-p",
"port-number":1,
"interface":":s1-eth1-i",
"policer":"",
"queues":{":queue01":1},
"is-used":true,
"is-enabled":true},
{"name":":s1-eth2-p",
"port-number":2,
"interface":":s1-eth2-i",
"policer":"",
"queues":{},
"is-used":true,
"is-enabled":true}]}

Looks like the queues are successfully created and bound to the ports. I'll now try to test them with iperf and let you know the results.
Thanks again.
Pradeep Jha
<EMAIL_ADDRESS>


Conflicting changeValue

I have realized that it can happen that several V variables are changed at the same time, e.q. Vradar and Vfield because the new radar doesn't have the previous field. I'm not fully sure what would happen then, but I believe _update_plot() would be called twice, this would be wasted time to say the least.
I will present my thoughts bellow.

At first I thought to hide the alteration of field calling
self.Vfield.value = new_field

But that is really wrong, since other classes may be holding just the Vfield but not the Vradar, they how then not be informed of the change. I decided then to make two kinds of value change: a soft and a strong one and is responsibility of the Display to react to the right one. There are two ways of doing that:

Variable have two signal "ValueChanged" and "StrongValueChanged", normally both are emitted but in the case of a soft update just the first is emitted. Display on the other hand would just react to "StrongValueChange"

There is still just one signal, but V variable send and extra argument strong=True/False. Then display would do the following:
 def NewField(self, variable, value, strong):
     # do some thing
     # ...
     if strong:
        self._update_plot()

Comments?

I agree that calling python _update_plot() more than once is wasted time and/or resources.  I admit that I haven't checked the signals coming back into the Display instance.  I'm not sure I understand the difference between strong and not strong.
I just went back and looked at the code again.   In cases like say the python tilt.py, is it necessary to have Vradar called?  If you comment that section out, there is seemingly no affect on the Display.  Can this be safely removed then?
I assumed that the .change takes the change and updates the Variable instance in the Display.  Is this the case?  And if so, why not drop the Vradar altogether?
Finally, are we talking about two different things here?

Yes, we are probably talking about different things. So I will not comment your questions, since I'm not sure if I understood.
I'm talking about, suppose for safety menu.py around line 313 is updated to the following
radar = pyart.io.read(self.filename)
if self.Vfield.value not in radar.fields.keys():
    self.Vfield.change('reflectivity')
self.Vradar.change(radar)

this is just an example, menu don't have Vfield and this check should be done by Display, I believe. But any way, in this case, plot is update twice. I would like to do the following
radar = pyart.io.read(self.filename)
if self.Vfield.value not in radar.fields.keys():
    self.Vfield.change('reflectivity',strong=False)
self.Vradar.change(radar,strong=True)

in this case Display can choose not to update the plot when Vfield is changed.

closed by PR #22


convert prompt tuning vocab to fp32

closes: https://github.com/huggingface/peft/issues/62

Hello @mayank31398, Thank you for adding support for this 🤗. Could you please add it for PeftModelForSeq2SeqLM too?

Awesome, thanks. PeftForSeq2SeqLM also works


feat: Settings

[x] Super basic settings page layout
[x] Profiles CRUD

[x] Basic customization

[ ] Theme configuration
[ ] User preferences

Closes #9


Add example and add details

Added example for "list databases" server command of HTTP API
Add issue links to Java requirements in appendix

Thanks!

Thanks!


Action fails after v1.11.0

Hey there.
Our pipeline started failing yesterday (even though we didn't change anything) and we believe it's related to the latest version of your action (v1.11.0).

Run wearerequired/lint-action@v1
2022-01-10T21:44:39.4606674Z ##[group]Run wearerequired/lint-action@v1
2022-01-10T21:44:39.4607372Z with:
2022-01-10T21:44:39.4609091Z   github_token: ***
2022-01-10T21:44:39.4609669Z   swiftlint: true
2022-01-10T21:44:39.4610395Z   swiftlint_args: --strict
2022-01-10T21:44:39.4611224Z   swift_format_lockwood: true
2022-01-10T21:44:39.4611850Z   swift_format_lockwood_args: --lint --verbose
2022-01-10T21:44:39.4612660Z   continue_on_error: true
2022-01-10T21:44:39.4613232Z   auto_fix: false
2022-01-10T21:44:39.4613718Z   git_no_verify: false
2022-01-10T21:44:39.4615098Z   git_name: Lint Action
2022-01-10T21:44:39.4615775Z   git_email<EMAIL_ADDRESS>2022-01-10T21:44:39.4617965Z   commit_message: Fix code style issues with ${linter}
2022-01-10T21:44:39.4619691Z   check_name: ${linter}
2022-01-10T21:44:39.4620248Z   neutral_check_on_warning: false
2022-01-10T21:44:39.4620847Z   stylelint: false
2022-01-10T21:44:39.4621493Z   stylelint_extensions: css,sass,scss
2022-01-10T21:44:39.4622234Z   gofmt: false
2022-01-10T21:44:39.4622816Z   gofmt_extensions: go
2022-01-10T21:44:39.4623354Z   golint: false
2022-01-10T21:44:39.4623981Z   golint_extensions: go
2022-01-10T21:44:39.4624548Z   eslint: false
2022-01-10T21:44:39.4625125Z   eslint_extensions: js
2022-01-10T21:44:39.4625638Z   prettier: false
2022-01-10T21:44:39.4626996Z   prettier_extensions: css,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml,yml
2022-01-10T21:44:39.4729737Z   xo: false
2022-01-10T21:44:39.4730395Z   xo_extensions: js
2022-01-10T21:44:39.4730990Z   php_codesniffer: false
2022-01-10T21:44:39.4731605Z   php_codesniffer_extensions: php
2022-01-10T21:44:39.4732229Z   black: false
2022-01-10T21:44:39.4736014Z   black_extensions: py
2022-01-10T21:44:39.4736666Z   flake8: false
2022-01-10T21:44:39.4737230Z   flake8_extensions: py
2022-01-10T21:44:39.4738639Z   mypy: false
2022-01-10T21:44:39.4739134Z   mypy_extensions: py
2022-01-10T21:44:39.4739726Z   oitnb: false
2022-01-10T21:44:39.4740311Z   oitnb_extensions: py
2022-01-10T21:44:39.4740991Z   rubocop: false
2022-01-10T21:44:39.4741559Z   rubocop_extensions: rb
2022-01-10T21:44:39.4742077Z   erblint: false
2022-01-10T21:44:39.4743112Z   erblint_extensions: erb
2022-01-10T21:44:39.4743729Z   swiftformat: false
2022-01-10T21:44:39.4744357Z   swiftformat_extensions: swift
2022-01-10T21:44:39.4745060Z   swift_format_lockwood_extensions: swift
2022-01-10T21:44:39.4745774Z   swift_format_official: false
2022-01-10T21:44:39.4746407Z   swift_format_official_extensions: swift
2022-01-10T21:44:39.4747090Z   swiftlint_extensions: swift
2022-01-10T21:44:39.4747645Z env:
2022-01-10T21:44:39.4748290Z   LINUX_SOURCEKIT_LIB_PATH: /usr/share/swift/usr/lib

Adding auth information to Git remote URL
Fetching remote branch "<branch_name>"
fatal: could not read Password for<EMAIL_ADDRESS>No such device or address
Error: Command failed: git fetch --no-tags --depth=1 origin <branch_name>
fatal: could not read Password for<EMAIL_ADDRESS>No such device or address

I wonder if there might be a bug in this latest version or if we should be sending new parameters to make the action work again.
Thanks!

I ran into the same thing. No problems with a PR the day before, suddenly my next one is stuck here.

I'm also curious if it needs to do anything with the Auth Token.

The Usage from the readme shows using actions/checkout which by default persists the credentials for the repo so this shouldn't need to add them again.
If the repo has already been checked out, is fetching the branch again even needed?

Thanks for the report, a fix has been released in v1.11.1.


update yanked deps

fixes #5116
just for interest, is it good to update other dependencies?
(hope lock file update doesn't break anything. tested only on x86_64-pc-windows-gnu toolchain)

oh, I see the CI results. will try to work on it later

The CI failures seem unrelated.

oh, I see the CI results. will try to work on it later

should be fixed. tested on Linux machine

the Redox failure is very strange

now not all yanked deps are updated:(

@ognevnydemon Oh, I am sorry. This patch was independently updating Cargo.lock, right? I will try to lookup previous version.

@ognevnydemon Oh, I am sorry. This patch was independently updating Cargo.lock, right? I will try to lookup previous version.

yeah, but I just ran cargo update which is not correct in many cases... so maybe it's needed to update them carefully

just for interest, is it good to update other dependencies?

Yes, we update dependencies for various reasons.
Without getting new features, these are good reasons to update dependencies.

To remove one of multiple versions of same library in Cargo.lock
To follow up incompatible library update. (major upgrade for >= 1.0.0 or minor upgrade for <1.0.0)

Avoiding yanked version is one of the good reason to do it.

Yes, we update dependencies for various reasons.
Without getting new features, these are good reasons to update dependencies.

To remove one of multiple versions of same library in Cargo.lock
To follow up incompatible library update. (major upgrade for >= 1.0.0 or minor upgrade for <1.0.0)

Avoiding yanked version is one of the good reason to do it. Any other reasonable suggestion will be also welcome.

understood. thanks for attention! maybe I'll try to update more deps if they have more fresh version

uh.. openssl has changes

which crate would affect test_fractions?

maybe num-complex or other num- one

I rebased the changes, now this PR updates only lockfile

The change is partially merged in #5217

looks like only one test fails. is this critical?

The change is partially merged in #5217

yes, I rebased my branch to main so now it's just cargo update change

It is hard to say critical, but at the same time, updating deps is not also critical.
Merging without reasoning doesn't seem reasonable.
It will be worth to try revert only num-* crates and retrying it to check what's going on.


fix(build): fix npm audit

semantic-release still has 4 vulnerabilities in their latest version

This is now stale


[FLINK-18529][hive] Query Hive table and filter by timestamp partitio…

…n can fail

What is the purpose of the change
Fix the issue that querying a Hive table and filter by timestamp partition column can fail.
Brief change log

Don't try to generate date/timestamp literals in ExpressionExtractor, because such filters cannot be pushed down anyway.
Add more test cases

Verifying this change
Existing and added tests
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? NA

Thanks @lirui-apache , can you explain what bug in Hive?

When we specify a filter like timestamp '2018-08-08 08:08:09' = p2, the type of the timestamp literal is TIMESTAMP(0). And when we try to get an object inspector for such type, HiveCatalog will throw exception because the timestamp precision is not supported.
Perhaps the root cause is that FlinkTypeFactory::leastRestrictive returns the 1st type when we call it with a List(TIMESTAMP(0), TIMESTAMP(9)). Therefore, if we change the filter to p2 = timestamp '2018-08-08 08:08:09' the query will pass.
But anyway, I think it's OK to skip generating filter for timestamp partitions because HMS doesn't support such filters.


Long multipart upload

Related issue
For long uploading of files while app is in background. (Force-closing the app will fail the post for both platforms).
iOS: if POST and has filepath, will use NSURLSessionUploadTask instead of NSURLSessionDataTask.
Android: if POSTing multipart/form-data file, multipartFileUpload can be set to upload using IntentService
  RNFetchBlob.config({
    multipartFileUpload: true,
  })

@pkwak-sf , thanks for the PR 👍  I'll do some test on it once I have time 😄


ApplyTheme: neutralLighter / second section color does not change

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
not applicable
Developer environment
No response
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version
SPFx version
Node.js version
etc

Describe the bug / error
Previously, when I applied a theme that I created with Theme Designer (https://fluentuipr.z22.web.core.windows.net/heads/master/theming-designer/index.html), it also allowed me to change the second section color. For the second section color the color "neutralLighter" from the theme is used as far as I know (until now it was always like this). We use different tenants and on those, where always directly the new releases are applied, this color is no longer loaded from my self-defined theme, but a standard light gray is used. On the other tenants it still works correctly. Is this a bug that will hopefully be fixed as soon as possible or have things fundamentally changed here?
Steps to reproduce

Apply a custom theme with the endpoint "/_api/ThemeManager/ApplyTheme"
Check the second section background color, if it has the color of "neutralLighter" in the theme definition.

Expected behavior
The second section background color has the color that is defined as "neutralLighter" in the custom Theme.

We are also seeing this issue on multiple tenants. The issue is not the theme not setting (the colors are set correctly if you check with powershell) but they are not rendering correctly. It looks like MS is just ignoring some of the theme colors like "neutralLighter " and using default gray values.

I also noticed this issue. Colors are set correctly when requesting them through the API but something is going wrong before/during/after loading the page where some colors like 'neutralLighter' are reset to some default values like '#F0F0F0'.
Did some testing and created a new theme using the steps described here but the issue persists.
The issue is now also starting to pop up with some of our customers so it'd be great if this could be resolved quickly before we start receiving more reports and angry emails of why the colors are all wrong.
Thanks in advance!

@emilyTeichrib @tomvr2610 @DmitriyVdE - thank you for your comments.
We've got the lead why it's happening and will be working on it.

Seems to be fixed since today.

@emilyTeichrib - could you also confirm this is fixed?


RadioButton Behaviour is not same as flex

Project Details are :
https://paste.apache.org/cpo8y
Test case is available on VDI.
Go to Import from Select in Menu
Go to Import -> LC Charges from Setups in Menu
File : com/dbz/modules/IMP/dbzLCChargesSetup.mxml
There's 3 radioButton in dbzLCChargesSetup
Percentage
Amount
None
On selection of any RadioButton function is called fn_SetChargesType.
In this function there is a check for all radioButtons.
By default None is selected.when i select Percentage or Amount RadioButton,then if part of None radiobutton is executed which is wrong,then i have to again select Percentage  or Amount RadioButton then the right part is executed.
Please help

for 1st time it works but for 2nd time it doesn't work
when I open the setup by default None radiobutton is selected both textfield should be disabled and it is working fine

when I Select Amount radiobutton,Amount textfield should be enabled and percentage textfield should be disabled and it is working fine

when I Select Percentage radiobutton,Percentage textfield should be enabled and Amount textfield should be disabled and it is working fine

but now if i select any of them None,Percentage or Amount Everytime system is assuming that Percentage radioButton is Selected.

Still same issue

Did you verify that the browser is running the latest code?

Yes,browser is running the latest code
RadioButton.js :
Still issue in radiobutton

Each RadioButton seems to be getting a separate Group.

@aharui Thanks issue resolved


Use pending words observer for results publishing

Right now if there are still words pending verification by the moment when the main timer triggers its timeout, final calculation of results is delayed by 2 seconds. Instead of that we could observe all pending words, and trigger results calculation upon change of class in the last word.

Alternatively it could make sense to just update the results when the last word is processed as it is done for the words that could not be processed

This is no longer required after changes implemented within #18

This is no longer required after changes implemented within #18


Figure out release strategy

/kind feature
Describe the solution you'd like
Right now we're using latest and building from HEAD. This is a very bad practice and we should figure out releases for this project.
I'm hoping that the GitHub packing is available now to solve a large part of this issue for us.
Anything else you would like to add:
Don't use latest image tag.
Environment:

Cluster-api-provider-docker version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):

Release a v0.1
Track cluster-api v1alpha1 on our release-0.1 branch (used for integration tests elsewhere)

/assign
/lifecycle active


Introduce cache and more pagination.

As discussed on Matrix, bundling changes from #173 and #174 into a new PR with some additional changes.
New style errors
This PR implements the new error modals as defined by @MariaPleshkova in https://xd.adobe.com/view/a814493c-193a-4dfc-5735-0e6d459a6924-de25/. These errors are displayed when an invalid URL is visited, for example /account?address=NotARealAddress. When you are searching for an account using the AJAX form, the errors should be displayed as before, this PR does not change those.
Note: This PR does not change the Javascript warning - that will need some extra thought because it cannot be implemented as a modal - drawing a modal depends on Javascript.
Cache
Cache has been introduced, which acts as a data buffer between hub and gui. Cache has setter functions which are used by the hub, and getter functions which are used by gui. It holds pre-formatted data which is ready to be served directly to gui without needing to lock any mutexes in the hub or hit the database. This facilitates implementing #167 because now the hub is able to push data into the cache when it knows the data has changed, whereas the previous model had the gui pulling data from the hub on a timer, with no knowledge of whether the underlying data had changed or not.
Pagination
Pagination has been added for both the Mined Blocks and the Connected Clients tables on the account page.
Rate Limiting
Rate limiting moved to a middleware which removes a lot of duplicated code.
As a result, rate limiting has been added to some places it was previously missing:

/ws the websocket route
/logout for admin logout

The limit has been increased from 3 to 5 for GUI clients. This is because some of the pages are now making extra requests (pagination, establishing a websocket, AJAX form submissions) and the limit of 3 was causing issues.

Done reviewing.

Thanks @dnldd, I've pushed commits implementing review changes.

Minor comment updates and we're good to go @jholdstock

Done


Update Contributing on Website and in root

please add some guidelines about how to work with github(fork, pull request, draft, create changes, mark as ready, review, test) to both documents.

Generally intended workflow:

fork repository
create a feature branch (issue-xxx-does-something)
create a draft pull request
mention fixes #xxx in the description
make your changes to the branch
check if actions are all green
mark as ready to review
get changes merged


Issue with canCheckBiometrics

I am using the latest local_auth version which is 2.2.0.
Steps to reproduce

Install app on iOS that uses local_auth
Add Face ID and passcode to device
Turn off passcode and remain Face ID
Run the example MyApp statefulWidget provided and try execute canCheckBiometrics

Expected results
As mentioned in documentation where canCheckBiometrics only indicates whether hardware support is available.
Since my device supports biometric authentication, so canCheckBiometrics should always return true.
Actual results
Only after turning off passcode and remain Face ID, canCheckBiometrics return false.
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.5 23F79 darwin-arm64, locale en-MY)
    • Flutter version 3.19.5 on channel stable at /Users/yongchuan/develop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (2 months ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/yongchuan/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (3 available)
    • iPhone (mobile) • 00008030-000D24C0349A802E • ios            • iOS 17.5.1 21F90
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 125.0.6422.142

[✓] Network resources
    • All expected network resources are available.

• No issues found!

@JtycEdgeTech
Check this issue comment and also read the plugin's readMe on the said method to check if it helps further in your case or not.

Hi, based on my understanding, the plugin's readMe on the said method mentioned that the method is to check if hardware support is available right? Which means that if device supports biometric (has certain hardwares for biometric enrolment), then canCheckBiometrics should be always returning true regardless of any biometric enrolled or not right?

While for the issue comment, based on my understanding, basically they are exactly the same explanation as in plugin's readMe.

Please kindly correct me if I am wrong ya, thankss!

Check https://github.com/flutter/flutter/issues/107210#issuecomment-1178167791 for further reference.


feat(ingest/teradata): Add option to not use file backed dict for view definitions

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Merging through what looks like a non error to me


Num of Executors gets changed internally

I put the bumber of executors and cluster size as per my cluster but when i run the training it gets changed and i get an error saying number of executors expected and available is different.
Is there any special rational for choosing the executors and cluster size.
As per the source code it should just read whatever configuration is passed by the command line.
I have a 4 node cluster ,each with 15 GB RAM,8 cores and 1 GPU.

I am not aware of this in the source code, as you also observed. Which scheduler (resource manager) are you using? yarn?

This is happening in both cases :
with YARN as well as spark standalone manager.
Thanks and regards
Abhay Kumar https://in.linkedin.com/in/abhay-kumar-99780458
On Thu, Jul 28, 2016 at 12:35 AM, Jun Shi<EMAIL_ADDRESS>wrote:

I am not aware of this in the source code, as you also observed. Which
scheduler (resource manager) are you using? yarn?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yahoo/CaffeOnSpark/issues/126#issuecomment-235687224,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIWia3zMgIkdAD8hoGRtYQUUVbzcBscgks5qZ6vkgaJpZM4JWI1p
.

clusterSize actually gets set in the source code. See my answer in https://github.com/yahoo/CaffeOnSpark/issues/125

I changed the settings as per your instructions :
Now i am providing only the no of cores and memory for each executor and
let the scheduler decide no of executor.
As per my setting It decides no of executors as 8.
But if i run the training it again fails with nullponter exception.
My settings are as follows for :
spark-submit --master spark://$(hostname):7077
--files
cifar10_quick_train_test_hdfs.prototxt,cifar10_quick_solver_hdfs.prototxt
--executor-memory 5G
--executor-cores 3
--conf spark.driver.extraLibraryPath="${LD_LIBRARY_PATH}"
--conf spark.executorEnv.LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
--class com.yahoo.ml.caffe.CaffeOnSpark
${CAFFE_ON_SPARK}/caffe-grid/target/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar

-train
-features accuracy,loss -label label
-conf cifar10_quick_solver_hdfs.prototxt
-clusterSize 8
-devices ${DEVICES}
-connection ethernet
-model hdfs://master:9000/CIFAR/model/cifar10_train_df
-output hdfs://master:9000/CIFAR/feature/cifar10_train_df
The error log from one of the executors is :
INFO CoarseGrainedExecutorBackend: Got assigned task 25
16/07/29 14:10:38 INFO Executor: Running task 7.3 in stage 1.0 (TID 25)
16/07/29 14:10:38 ERROR Executor: Exception in task 7.3 in stage 1.0 (TID
25)
java.lang.NullPointerException
at
com.yahoo.ml.caffe.CaffeOnSpark$$anonfun$train$1.apply$mcVI$sp(CaffeOnSpark.scala:153)
at
com.yahoo.ml.caffe.CaffeOnSpark$$anonfun$train$1.apply(CaffeOnSpark.scala:149)
at
com.yahoo.ml.caffe.CaffeOnSpark$$anonfun$train$1.apply(CaffeOnSpark.scala:149)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)
at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:103)
at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:47)
at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:273)
at scala.collection.AbstractIterator.to(Iterator.scala:1157)
at
scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:265)
at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1157)
at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:252)
at scala.collection.AbstractIterator.toArray(Iterator.scala:1157)
at
org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$12.apply(RDD.scala:927)
at
org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$12.apply(RDD.scala:927)
at
org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
at
org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
at org.apache.spark.scheduler.Task.run(Task.scala:89)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
16/07/29 14:10:39 INFO CoarseGrainedExecutorBackend: Driver commanded a
shutdown
16/07/29 14:10:39 ERROR CoarseGrainedExecutorBackend: RECEIVED SIGNAL 15:
SIGTE
Thanks and regards
Abhay Kumar https://in.linkedin.com/in/abhay-kumar-99780458
On Thu, Jul 28, 2016 at 1:54 AM, Jun Shi<EMAIL_ADDRESS>wrote:

clusterSize actually gets set in the source code. See my answer in #125
https://github.com/yahoo/CaffeOnSpark/issues/125
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yahoo/CaffeOnSpark/issues/126#issuecomment-235709053,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIWia1nEqtmUPJSS7H31wnLZ25mZmGgvks5qZ75xgaJpZM4JWI1p
.


Phone number does not gets deleted on tapping on mobile keypad remove button after entering indian phone number in confirm phone number page.

Frequency: 100%
Repro on build version: Playstore Build V1.14.3 internal build V1.15.1, Testflight build V1.15.1(64) appstore build V1.14
Repro on devices: Redmi note 8 (10.0), Vivo V11 pro (10), Iphone SE2 (14.2), iPhone 6+ (12.4.5)
Account details: Enter any india number +91<PHONE_NUMBER>
Pre-condition:

Make sure user should enter india number & tap on mobile keypad remove button.

Repro Steps:

Launch the application
Complete education
Complete Add photo page
Select india country & Enter Indian phone number
Tap on mobile keypad remove button 2 times
Observe number not get removed

Current Behavior:  Phone number does not gets deleted on tapping remove button. Expected Behavior: Phone number must get removed on tapping remove button.
Investigation:

Also it is observed that, on continuously tapping remove button oo removing two digits of phone number, it automatically gets replaced by 91 digits repeatedly.
This issue is not repro on selecting “United states” from country flag drop down menu.
Impact: Users may be confused on phone number not getting removed on tapping remove button.
Attachment: RemoveEnteredNumber.mp4

Looks to be related to onFocus and related to Entered phone number is not removed when user tap on “X” in the Phone number field. #7069

These two issues do indeed appear to be the same. Can we consolidate into one as to not bloat the backlog @MuckT?

https://valora.testquality.com defect D31.

Hey @MuckT We have verified this issue on android internal build V:1.23.3 and observed that issue is still reproducible
Observation :  When user taps on the back key( from phone keyboard) it does not delete the numbers completely , the country code repeats on the phone number field
Attachment : Phonenumber.mp4
Device : OnePlus 7T(11.0)


UHF-7324: Support deleting old revisions

todo

Codecov Report

Merging #133 (ba533eb) into main (f5fab16) will decrease coverage by 0.72%.
Report is 5 commits behind head on main.
The diff coverage is 51.51%.

:exclamation: Current head ba533eb differs from pull request most recent head 0b75930. Consider uploading reports for the commit 0b75930 to get more accurate results

@@             Coverage Diff              @@
##               main     #133      +/-   ##
============================================
- Coverage     64.17%   63.46%   -0.72%
- Complexity      478      505      +27
============================================
  Files            66       69       +3
  Lines          1661     1760      +99
============================================
+ Hits           1066     1117      +51
- Misses          595      643      +48

Files Changed
Coverage Δ

src/Commands/RevisionCommands.php
0.00% <0.00%> (ø)

src/Entity/Form/MenuLinkFormTrait.php
0.00% <0.00%> (ø)

src/Plugin/QueueWorker/RevisionQueue.php
0.00% <0.00%> (ø)

src/Entity/Revision/RevisionManager.php
98.07% <98.07%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


This should make this module work with both V3 and V4 versions

This is working for old style and classy style of model definition.

You're the real MVP :+1: thanks


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.14.240",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=56cf748562d3cbfd33d1ba2eb4a7603a5e20da88"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "56cf748562d3cbfd33d1ba2eb4a7603a5e20da88",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "virtio_console: Assure used length from device is limited\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.14.240 by commit 56cf748562d3cbfd33d1ba2eb4a7603a5e20da88. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001412


added education command

Fixes

Fixes #166  by @khushigarg1
Types of changes

[ ] Bug/Hot fix (non-breaking change which fixes an bug)
[x] New feature (non-breaking change which adds a functionality/feature)
[ ] Refactoring Old Code ( non-breaking change replacing already existing code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Preview Link

https://khushigarg1.github.io/Terminal-Portfolio/
Checklist:

[x] I have read the CONTRIBUTING guidelines in repository.
[x] My pull request has a descriptive title and is attached to an existing issue.
[x] I haven't repeated the code and it follows established code style of repository.
[x] My branch is up-to-date with upstream branch.

Merge Conflict and same  problem

Education command not working

Hey can I work on it? @TechSpiritSS

Hey can I work on it? @TechSpiritSS
let her complete as she's facing minor bugs

Education command not working

now check this please
https://khushigarg1.github.io/Terminal-Portfolio/

PR is not previous version.


Deploy the Orders Service to the Kubernetes Cluster

As a User
I need the service to be publicly available on Kubernetes
So that I can use it from the Internet
Details and Assumptions

Create the necessary Kubernetes metadata files for deployment (deployment.yaml, service.yaml, secrets.yaml, postgres.yaml, etc.) file so that Kubernetes will know how to
deploy the application.
Use the Kubernetes CLI kubectl command to deploy the service to the Kubernetes cluster.
Get the IP address of the worker node and combine it with the port to go to the URL of the service and make sure that it works.
Development port is: 31001 and the Production port is:31002

Acceptance Criteria
Given I have created the required files to deploy service on Kubernetes
When I issue a `kubectl apply -f deploy`
Then the service successfully deploys to Kubernetes


Towncrier one-page per release experiment.

As title. Targets release0.58.

This is the output of `towncrier build. The file docs/source/release/0.58.0rc1-notes.rst is created and all the individual news snippets are added.


[Bug]: SQL window ODC parsing SQL speed optimization

ODC version
ODC432
OB version
independent
What happened?
SQL window ODC parsing SQL speed optimization

What did you expect to happen?
。
How can we reproduce it (as minimally and precisely as possible)?
SELECT
    bd.TARIFFPLAN_ID,
    bd.PLANITEM_ID,
    bd.DISC_ENTITY,
    bd.DISC_COND,
    bd.G_DISC_COND,
    bd.DISC_TYPE,
    bd.REFITEM_TYPE,
    bd.FREEREFITEM_TYPE,
    bd.REFITEM_CODE,
    bd.REFITEM_CYCLES,
    bd.REFITEM_CYCLE_OFFSET,
    bd.REFVALUE_CALC_TYPE,
    bd.REFVALUE_UNIT,
    bd.DISC_OBJECT_TYPE,
    bd.DISC_ITEM_CODE,
    bd.START_CYCLE_OFFSET,
    bd.VALID_CYCLE_TYPE,
    bd.VALID_CYCLES,
    bd.INUSE,
    bd.TARIFFPLAN_TYPE,
    bd.DISC_ITEM_TYPE,
    bd.FREEREFITEM_MIN_USAGE,
    bd.NOTE,
    bd.ISDISCTSPEC,
    bd.SPECDISCT_EXPR,
    bd.G_SPECDISCT_EXPR,
    bd.CONVERT_TYPE,
    bd.REF_ENTITY_TYPE,
    bd.DISC_SOURCE,
    bd.G_DISC_SOURCE,
    bd.DISC_SOURCE_FACTOR,
    bd.DISC_ITEM_EXPR_ID,
    bd.FORCE_OUTPUT_EVENT,
    bd.DISC_SOURCE_TYPE,

    bducd.WORKORDER_ID,
    bducd.DISC_ENTITY AS UCD_DISC_ENTITY,
    bducd.DISC_COND AS UCD_DISC_COND,
    bducd.G_DISC_COND AS UCD_G_DISC_COND,
    bducd.DISC_TYPE AS UCD_DISC_TYPE,
    bducd.REFITEM_TYPE AS UCD_REFITEM_TYPE,
    bducd.FREEREFITEM_TYPE AS UCD_FREEREFITEM_TYPE,
    bducd.REFITEM_CODE AS UCD_REFITEM_CODE,
    bducd.REFITEM_CYCLES AS UCD_REFITEM_CYCLES,
    bducd.REFITEM_CYCLE_OFFSET AS UCD_REFITEM_CYCLE_OFFSET,
    bducd.REFVALUE_CALC_TYPE AS UCD_REFVALUE_CALC_TYPE,
    bducd.REFVALUE_UNIT AS UCD_REFVALUE_UNIT,
    bducd.DISC_OBJECT_TYPE AS UCD_DISC_OBJECT_TYPE,
    bducd.DISC_ITEM_CODE AS UCD_DISC_ITEM_CODE,
    bducd.START_CYCLE_OFFSET AS UCD_START_CYCLE_OFFSET,
    bducd.VALID_CYCLE_TYPE AS UCD_VALID_CYCLE_TYPE,
    bducd.VALID_CYCLES AS UCD_VALID_CYCLES,
    bducd.INUSE AS UCD_INUSE,
    bducd.TARIFFPLAN_TYPE AS UCD_TARIFFPLAN_TYPE,
    bducd.DISC_ITEM_TYPE AS UCD_DISC_ITEM_TYPE,
    bducd.FREEREFITEM_MIN_USAGE AS UCD_FREEREFITEM_MIN_USAGE,
    bducd.NOTE AS UCD_NOTE,
    bducd.ISDISCTSPEC AS UCD_ISDISCTSPEC,
    bducd.SPECDISCT_EXPR AS UCD_SPECDISCT_EXPR,
    bducd.G_SPECDISCT_EXPR AS UCD_G_SPECDISCT_EXPR,

    bcl.LOGONID,
    bcl.OPERID,
    bcl.MACADDR,
    bcl.IPADDR,
    bcl.SUCCESS,
    bcl.LOGONTIME,
    bcl.HOSTNAME,
    bcl.SID,

    -- Fields from BILLINGCYCLE
    bc.CYCLE_SCHEMA_ID,
    bc.CYCLE_ID,
    bc.CYCLE_NAME,
    bc.CYCLE_STATUS,
    bc.OPENDATE,
    bc.CLOSEDATE,
    bc.INVOICEDATE,

    CASE
        WHEN bd.DISC_TYPE = 1 THEN 'Type 1'
        WHEN bd.DISC_TYPE = 2 THEN 'Type 2'
        ELSE 'Other Type'
    END AS DISC_TYPE_DESCRIPTION,

    NVL(bd.NOTE, 'No Note') AS NOTE_STATUS,

    DECODE(bcl.SUCCESS, 1, 'Success', 0, 'Failure', 'Unknown') AS LOGIN_STATUS,

    TO_CHAR(bcl.LOGONTIME, 'YYYY-MM-DD HH24:MI:SS') AS FORMATTED_LOGONTIME,

    (bd.REFITEM_CYCLES * bd.REFVALUE_UNIT) AS TOTAL_REF_VALUE,

    (bducd.REFITEM_CYCLES + bducd.REFITEM_CYCLE_OFFSET) AS TOTAL_UCD_REF_CYCLES,

    COUNT(bd.TARIFFPLAN_ID) OVER (PARTITION BY bd.TARIFFPLAN_ID) AS TARIFFPLAN_COUNT,

    SUM(bd.FREEREFITEM_MIN_USAGE) OVER (PARTITION BY bd.PLANITEM_ID) AS TOTAL_USAGE_PER_PLAN,

    AVG(bd.DISC_SOURCE_FACTOR) OVER () AS AVERAGE_DISC_SOURCE_FACTOR,

    ROW_NUMBER() OVER (ORDER BY bcl.LOGONTIME DESC) AS RN,

    RANK() OVER (PARTITION BY bd.TARIFFPLAN_TYPE ORDER BY bd.DISC_TYPE DESC) AS DISC_TYPE_RANK,

    DENSE_RANK() OVER (ORDER BY bc.CYCLE_STATUS) AS CYCLE_STATUS_RANK,

    NTILE(4) OVER (ORDER BY bd.TARIFFPLAN_ID) AS QUARTILE_TARIFFPLAN,

    LEAD(bcl.LOGONTIME, 1) OVER (ORDER BY bcl.LOGONTIME) AS NEXT_LOGONTIME,

    LAG(bcl.LOGONTIME, 1) OVER (ORDER BY bcl.LOGONTIME) AS PREV_LOGONTIME,

    FIRST_VALUE(bd.DISC_COND) OVER (PARTITION BY bd.TARIFFPLAN_ID ORDER BY bd.PLANITEM_ID) AS FIRST_DISC_COND,

    LAST_VALUE(bd.DISC_COND) OVER (PARTITION BY bd.TARIFFPLAN_ID ORDER BY bd.PLANITEM_ID ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS LAST_DISC_COND,

    (SELECT COUNT(*)
     FROM BILLDISC_DEF bd_sub
     WHERE bd_sub.TARIFFPLAN_ID = bd.TARIFFPLAN_ID
    ) AS SUBQUERY_COUNT_BD,

    (SELECT MAX(bcl_sub.LOGONTIME)
     FROM BILLINGCLIENTLOG bcl_sub
     WHERE bcl_sub.LOGONID = bcl.LOGONID
    ) AS LAST_LOGON_TIME,

    (SELECT bc_sub.CYCLE_NAME
     FROM BILLINGCYCLE bc_sub
     WHERE bc_sub.CYCLE_ID = bc.CYCLE_ID
    ) AS CURRENT_CYCLE_NAME,

    (SELECT AVG(bducd_sub.FREEREFITEM_MIN_USAGE)
     FROM BILLDISC_DEF_UCD bducd_sub
     WHERE bducd_sub.PLANITEM_ID = bducd.PLANITEM_ID
    ) AS AVG_FREEREFITEM_MIN_USAGE,

    (SELECT SUM(bd_sub.REFVALUE_UNIT)
     FROM BILLDISC_DEF bd_sub
     WHERE bd_sub.DISC_ENTITY = bd.DISC_ENTITY
    ) AS TOTAL_REFVALUE_UNIT_PER_ENTITY,

    (
        SELECT MAX(
            (
                SELECT COUNT(*)
                FROM BILLINGCLIENTLOG bcl_inner
                WHERE bcl_inner.LOGONID = bcl.LOGONID
            )
        )
        FROM DUAL
    ) AS MAX_LOGIN_COUNT,

    (
        SELECT MIN(bc_sub.OPENDATE)
        FROM BILLINGCYCLE bc_sub
        WHERE bc_sub.CYCLE_STATUS = bc.CYCLE_STATUS
    ) AS MIN_OPEN_DATE_SAME_STATUS,

    CASE
        WHEN bd.DISC_TYPE = 1 AND bcl.SUCCESS = 1 THEN 'Active Discount and Successful Login'
        WHEN bd.DISC_TYPE = 2 AND bcl.SUCCESS = 0 THEN 'Inactive Discount and Failed Login'
        ELSE 'Other Conditions'
    END AS COMBINED_STATUS,

    CONCAT(bd.DISC_ITEM_CODE, '_', bducd.WORKORDER_ID) AS DISC_WORKORDER_COMBINE,

    UPPER(bcl.OPERID) AS OPERID_UPPERCASE,

    LOWER(bd.DISC_SOURCE) AS DISC_SOURCE_LOWERCASE,

    INITCAP(bc.CYCLE_NAME) AS CYCLE_NAME_INITCAP,

    MONTHS_BETWEEN(bc.CLOSEDATE, bc.OPENDATE) AS CYCLE_DURATION_MONTHS,

    ROUND((bc.CLOSEDATE - bc.OPENDATE)) AS CYCLE_DURATION_DAYS,

    ADD_MONTHS(bc.OPENDATE, 6) AS SIX_MONTHS_AFTER_OPEN,

    NEXT_DAY(bc.OPENDATE, 'MONDAY') AS NEXT_MONDAY_AFTER_OPEN,

    LAST_DAY(bc.CLOSEDATE) AS LAST_DAY_CLOSEDATE,

    bd.REFITEM_CYCLES * bducd.REFITEM_CYCLE_OFFSET AS CYCLE_MULTIPLICATION,

    bd.FORCE_OUTPUT_EVENT + bducd.DISC_SOURCE_TYPE AS EVENT_SUM,

    bd.DISC_SOURCE_FACTOR / NULLIF(bducd.REFVALUE_UNIT, 0) AS FACTOR_DIVISION,

    POWER(bd.DISC_TYPE, 2) AS DISC_TYPE_SQUARED,

    SQRT(bd.REFITEM_CYCLES) AS SQRT_REFITEM_CYCLES,

    SUM(CASE WHEN bcl.SUCCESS = 1 THEN 1 ELSE 0 END) OVER (PARTITION BY bd.TARIFFPLAN_ID) AS SUCCESSFUL_LOGINS,

    COUNT(CASE WHEN bc.CYCLE_STATUS = 1 THEN 1 END) OVER (PARTITION BY bd.TARIFFPLAN_ID) AS ACTIVE_CYCLES,

    MAX(bd.DISC_SOURCE_FACTOR) OVER (PARTITION BY bd.TARIFFPLAN_TYPE) AS MAX_DISC_SOURCE_FACTOR_PER_TYPE,

    MIN(bcl.LOGONTIME) OVER (PARTITION BY bcl.LOGONID) AS FIRST_LOGIN_TIME_PER_USER,

    AVG(bd.FREEREFITEM_MIN_USAGE) OVER (PARTITION BY bd.DISC_ENTITY) AS AVG_USAGE_PER_ENTITY,

    bd.TARIFFPLAN_ID + bducd.DISC_ENTITY AS TARIFFDISC_COMBINED_ID,

    bcl.SID * bc.CYCLE_ID AS SID_CYCLE_MULTIPLIER,

    bd.PLANITEM_ID || '-' || bducd.WORKORDER_ID AS PLANITEM_WORKORDER_COMBINE,

    (bd.START_CYCLE_OFFSET + bc.CYCLE_SCHEMA_ID) AS CYCLE_OFFSET_SUM,

    (bd.VALID_CYCLES - bducd.VALID_CYCLES) AS VALID_CYCLES_DIFFERENCE,

    (bd.DISC_SOURCE_FACTOR * bd.CONVERT_TYPE) AS DISC_SOURCE_CONVERTED,

    CASE
        WHEN (bd.REFVALUE_CALC_TYPE = 1 AND bducd.REFVALUE_CALC_TYPE = 2) THEN 'Type Combination 1-2'
        WHEN (bd.REFVALUE_CALC_TYPE = 2 AND bducd.REFVALUE_CALC_TYPE = 1) THEN 'Type Combination 2-1'
        ELSE 'Other Type Combinations'
    END AS REFVALUE_TYPE_COMBINATION,

    bd.TARIFFPLAN_ID + 0 AS TD1,
    bd.TARIFFPLAN_ID + 1 AS TD2,
    bd.TARIFFPLAN_ID + 2 AS TD3,
    bd.TARIFFPLAN_ID + 3 AS TD4,
    bd.TARIFFPLAN_ID + 4 AS TD5,
    bd.TARIFFPLAN_ID + 5 AS TD6,
    bd.TARIFFPLAN_ID + 6 AS TD7,
    bd.TARIFFPLAN_ID + 7 AS TD8,
    bd.TARIFFPLAN_ID + 8 AS TD9,
    bd.TARIFFPLAN_ID + 9 AS TD10,
    bd.TARIFFPLAN_ID + 10 AS TD11,
    bd.TARIFFPLAN_ID + 11 AS TD12,
    bd.TARIFFPLAN_ID + 12 AS TD13,
    bd.TARIFFPLAN_ID + 13 AS TD14,
    bd.TARIFFPLAN_ID + 14 AS TD15,
    bd.TARIFFPLAN_ID + 15 AS TD16,
    bd.TARIFFPLAN_ID + 16 AS TD17,
    bd.TARIFFPLAN_ID + 17 AS TD18,
    bd.TARIFFPLAN_ID + 18 AS TD19,
    bd.TARIFFPLAN_ID + 19 AS TD20,

    bducd.DISC_ENTITY * 1 AS UCD_DE1,
    bducd.DISC_ENTITY * 2 AS UCD_DE2,
    bducd.DISC_ENTITY * 3 AS UCD_DE3,
    bducd.DISC_ENTITY * 4 AS UCD_DE4,
    bducd.DISC_ENTITY * 5 AS UCD_DE5,
    bducd.DISC_ENTITY * 6 AS UCD_DE6,
    bducd.DISC_ENTITY * 7 AS UCD_DE7,
    bducd.DISC_ENTITY * 8 AS UCD_DE8,
    bducd.DISC_ENTITY * 9 AS UCD_DE9,
    bducd.DISC_ENTITY * 10 AS UCD_DE10,

    bd.REFITEM_CYCLES - bducd.REFITEM_CYCLES AS REF_CYCLES_DIFF,
    bd.FREEREFITEM_MIN_USAGE + bducd.FREEREFITEM_MIN_USAGE AS TOTAL_MIN_USAGE,

    LISTAGG(bd.DISC_COND, ', ') WITHIN GROUP (ORDER BY bd.DISC_COND) OVER (PARTITION BY bd.TARIFFPLAN_ID) AS LISTAGG_DISC_COND,

    LISTAGG(bducd.SPECDISCT_EXPR, '; ') WITHIN GROUP (ORDER BY bducd.SPECDISCT_EXPR) OVER (PARTITION BY bducd.PLANITEM_ID) AS LISTAGG_SPECDISCT_EXPR,

    CONCAT(CONCAT(bd.DISC_ITEM_CODE, '-'), bducd.WORKORDER_ID) AS CONCAT_DISC_WORKORDER,

    SUBSTR(bd.DISC_COND, 1, 10) AS DISC_COND_SUBSTR,

    REPLACE(bd.NOTE, ' ', '_') AS NOTE_REPLACED,

    MOD(bd.TARIFFPLAN_ID, 100) AS TARIFFPLAN_ID_MOD,

    FLOOR(bducd.REFVALUE_UNIT / 2) AS FLOOR_REFVALUE_UNIT,

    CEIL(bd.FREEREFITEM_MIN_USAGE / 1000) AS CEIL_MIN_USAGE,

    ROUND(bd.DISC_SOURCE_FACTOR, 2) AS ROUND_DISC_SOURCE_FACTOR,
    CASE
        WHEN bd.INUSE = 1 AND bducd.INUSE = 1 THEN 'Both In Use'
        WHEN bd.INUSE = 1 THEN 'BD In Use Only'
        WHEN bducd.INUSE = 1 THEN 'UCD In Use Only'
        ELSE 'Neither In Use'
    END AS INUSE_STATUS,

    CASE
        WHEN bc.CYCLE_STATUS = 1 AND bd.DISC_TYPE = 1 THEN 'Active Cycle & Type 1'
        WHEN bc.CYCLE_STATUS = 2 AND bd.DISC_TYPE = 2 THEN 'Closed Cycle & Type 2'
        ELSE 'Other Cycle Status & Types'
    END AS CYCLE_TYPE_COMBINATION,

    TRUNC(bcl.LOGONTIME, 'MONTH') AS LOGON_MONTH,

    EXTRACT(YEAR FROM bc.OPENDATE) AS OPEN_YEAR,

    EXTRACT(MONTH FROM bc.CLOSEDATE) AS CLOSE_MONTH,

    bd.TARIFFPLAN_ID + 20 AS TD21,
    bd.TARIFFPLAN_ID + 21 AS TD22,
    bd.TARIFFPLAN_ID + 22 AS TD23,
    bd.TARIFFPLAN_ID + 23 AS TD24,
    bd.TARIFFPLAN_ID + 24 AS TD25,
    bd.TARIFFPLAN_ID + 25 AS TD26,
    bd.TARIFFPLAN_ID + 26 AS TD27,
    bd.TARIFFPLAN_ID + 27 AS TD28,
    bd.TARIFFPLAN_ID + 28 AS TD29,
    bd.TARIFFPLAN_ID + 29 AS TD30,

    bducd.DISC_ENTITY * 11 AS UCD_DE11,
    bducd.DISC_ENTITY * 12 AS UCD_DE12,
    bducd.DISC_ENTITY * 13 AS UCD_DE13,
    bducd.DISC_ENTITY * 14 AS UCD_DE14,
    bducd.DISC_ENTITY * 15 AS UCD_DE15,
    bducd.DISC_ENTITY * 16 AS UCD_DE16,
    bducd.DISC_ENTITY * 17 AS UCD_DE17,
    bducd.DISC_ENTITY * 18 AS UCD_DE18,
    bducd.DISC_ENTITY * 19 AS UCD_DE19,
    bducd.DISC_ENTITY * 20 AS UCD_DE20,

    bd.TARIFFPLAN_ID + 30 AS TD31,
    bd.TARIFFPLAN_ID + 31 AS TD32,
    bd.TARIFFPLAN_ID + 32 AS TD33,
    bd.TARIFFPLAN_ID + 33 AS TD34,
    bd.TARIFFPLAN_ID + 34 AS TD35,
    bd.TARIFFPLAN_ID + 35 AS TD36,
    bd.TARIFFPLAN_ID + 36 AS TD37,
    bd.TARIFFPLAN_ID + 37 AS TD38,
    bd.TARIFFPLAN_ID + 38 AS TD39,
    bd.TARIFFPLAN_ID + 39 AS TD40,

    bducd.DISC_ENTITY * 21 AS UCD_DE21,
    bducd.DISC_ENTITY * 22 AS UCD_DE22,
    bducd.DISC_ENTITY * 23 AS UCD_DE23,
    bducd.DISC_ENTITY * 24 AS UCD_DE24,
    bducd.DISC_ENTITY * 25 AS UCD_DE25,
    bducd.DISC_ENTITY * 26 AS UCD_DE26,
    bducd.DISC_ENTITY * 27 AS UCD_DE27,
    bducd.DISC_ENTITY * 28 AS UCD_DE28,
    bducd.DISC_ENTITY * 29 AS UCD_DE29,
    bducd.DISC_ENTITY * 30 AS UCD_DE30,

    -- Additional Conditions and Filters
    CASE
        WHEN bd.VALID_CYCLE_TYPE IN (1, 2, 3) THEN 'Valid Cycle Type 1-3'
        WHEN bd.VALID_CYCLE_TYPE IN (4, 5) THEN 'Valid Cycle Type 4-5'
        ELSE 'Other Valid Cycle Types'
    END AS VALID_CYCLE_TYPE_DESC,

    CASE
        WHEN bc.CYCLE_STATUS = 1 AND bd.INUSE = 1 THEN 'Active and In Use'
        WHEN bc.CYCLE_STATUS = 0 AND bd.INUSE = 0 THEN 'Inactive and Not In Use'
        ELSE 'Mixed Status'
    END AS STATUS_COMBINATION,

    -- Final Repetitions to Ensure Length
    bd.TARIFFPLAN_ID + 40 AS TD41,
    bd.TARIFFPLAN_ID + 41 AS TD42,
    bd.TARIFFPLAN_ID + 42 AS TD43,
    bd.TARIFFPLAN_ID + 43 AS TD44,
    bd.TARIFFPLAN_ID + 44 AS TD45,
    bd.TARIFFPLAN_ID + 45 AS TD46,
    bd.TARIFFPLAN_ID + 46 AS TD47,
    bd.TARIFFPLAN_ID + 47 AS TD48,
    bd.TARIFFPLAN_ID + 48 AS TD49,
    bd.TARIFFPLAN_ID + 49 AS TD50,

    bducd.DISC_ENTITY * 31 AS UCD_DE31,
    bducd.DISC_ENTITY * 32 AS UCD_DE32,
    bducd.DISC_ENTITY * 33 AS UCD_DE33,
    bducd.DISC_ENTITY * 34 AS UCD_DE34,
    bducd.DISC_ENTITY * 35 AS UCD_DE35,
    bducd.DISC_ENTITY * 36 AS UCD_DE36,
    bducd.DISC_ENTITY * 37 AS UCD_DE37,
    bducd.DISC_ENTITY * 38 AS UCD_DE38,
    bducd.DISC_ENTITY * 39 AS UCD_DE39,
    bducd.DISC_ENTITY * 40 AS UCD_DE40,

    -- Final Fields to Reach Required Length
    bd.TARIFFPLAN_ID + 50 AS TD51,
    bd.TARIFFPLAN_ID + 51 AS TD52,
    bd.TARIFFPLAN_ID + 52 AS TD53,
    bd.TARIFFPLAN_ID + 53 AS TD54,
    bd.TARIFFPLAN_ID + 54 AS TD55,
    bd.TARIFFPLAN_ID + 55 AS TD56,
    bd.TARIFFPLAN_ID + 56 AS TD57,
    bd.TARIFFPLAN_ID + 57 AS TD58,
    bd.TARIFFPLAN_ID + 58 AS TD59,
    bd.TARIFFPLAN_ID + 59 AS TD60,

    bducd.DISC_ENTITY * 41 AS UCD_DE41,
    bducd.DISC_ENTITY * 42 AS UCD_DE42,
    bducd.DISC_ENTITY * 43 AS UCD_DE43,
    bducd.DISC_ENTITY * 44 AS UCD_DE44,
    bducd.DISC_ENTITY * 45 AS UCD_DE45,
    bducd.DISC_ENTITY * 46 AS UCD_DE46,
    bducd.DISC_ENTITY * 47 AS UCD_DE47,
    bducd.DISC_ENTITY * 48 AS UCD_DE48,
    bducd.DISC_ENTITY * 49 AS UCD_DE49,
    bducd.DISC_ENTITY * 50 AS UCD_DE50

FROM
    GSH.BILLDISC_DEF bd
    INNER JOIN GSH.BILLDISC_DEF_UCD bducd
        ON bd.TARIFFPLAN_ID = bducd.TARIFFPLAN_ID
        AND bd.PLANITEM_ID = bducd.PLANITEM_ID
    LEFT JOIN GSH.BILLINGCLIENTLOG bcl
        ON bd.TARIFFPLAN_ID = bcl.LOGONID
    LEFT JOIN GSH.BILLINGCYCLE bc
        ON bcl.SID = bc.CYCLE_ID

WHERE
    -- Complex WHERE Conditions
    (
        (bd.DISC_TYPE = 1 AND bd.INUSE = 1)
        OR
        (bducd.DISC_TYPE = 2 AND bducd.INUSE = 0)
    )
    AND
    (
        bc.CYCLE_STATUS IN (1, 2, 3)
        AND
        bcl.SUCCESS = 1
    )
    AND
    (
        bd.REFITEM_CYCLES BETWEEN 1 AND 10
        OR
        bducd.REFITEM_CYCLES BETWEEN 5 AND 15
    )
    AND
    (
        bd.DISC_COND LIKE '%Discount%'
        OR
        bducd.DISC_COND LIKE '%Condition%'
    )
    AND
    (
        bcl.IPADDR IS NOT NULL
        AND
        bcl.MACADDR IS NOT NULL
    )
    AND
    (
        bc.OPENDATE < SYSDATE
        AND
        bc.CLOSEDATE > SYSDATE
    )
    AND
    (
        bd.TARIFFPLAN_TYPE IN (100, 200, 300)
        OR
        bducd.TARIFFPLAN_TYPE IN (400, 500)
    )
    AND
    (
        bcl.LOGONTIME BETWEEN ADD_MONTHS(SYSDATE, -6) AND SYSDATE
    )
    AND
    (
        bc.CYCLE_NAME LIKE 'Cycle%'
    )
    AND
    (
        (
            bd.DISC_SOURCE_FACTOR > 0
            AND
            bducd.REFVALUE_UNIT > 1
        )
        OR
        (
            bd.DISC_SOURCE_FACTOR < 5
            AND
            bducd.REFVALUE_UNIT < 10
        )
    )
    AND
    (
        NVL(bd.NOTE, 'No Note') <> 'Deprecated'
    )
    AND
    (
        bducd.SPECDISCT_EXPR IS NOT NULL
        OR
        bd.SPECDISCT_EXPR IS NOT NULL
    )
    AND
    (
        (
            bd.CONVERT_TYPE = 1
            AND
            bducd.CONVERT_TYPE = 0
        )
        OR
        (
            bd.CONVERT_TYPE = 0
            AND
            bducd.CONVERT_TYPE = 1
        )
    )
    AND
    (
        EXISTS (
            SELECT 1
            FROM GSH.BILLDISC_DEF bd_inner
            WHERE bd_inner.TARIFFPLAN_ID = bd.TARIFFPLAN_ID
            AND bd_inner.DISC_ENTITY = bd.DISC_ENTITY
        )
    )
    AND
    (
        NOT EXISTS (
            SELECT 1
            FROM GSH.BILLINGCLIENTLOG bcl_inner
            WHERE bcl_inner.OPERID = bcl.OPERID
            AND bcl_inner.SUCCESS = 0
        )
    )
    AND
    (
        bd.DISC_ITEM_CODE IN (
            SELECT DISC_ITEM_CODE
            FROM GSH.BILLDISC_DEF
            WHERE DISC_TYPE = 1
        )
    )
    AND
    (
        bducd.WORKORDER_ID IS NOT NULL
    )
    AND
    (
        bc.CYCLE_ID IS NOT NULL
    )

ORDER BY
    bd.TARIFFPLAN_ID,
    bducd.PLANITEM_ID,
    bcl.LOGONTIME DESC,
    bc.CLOSEDATE ASC;

Anything else we need to know?
No response

This is an old problem that requires a special person to be responsible for, and can be done as an optimization requirement


gRPC can't find binary for tools like check_epollexclusive.exe after 1.6.0 update

When I try to build a project that was previously building with 1.4.x versions of gRPC I get this error:
λ cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE=C:\Users\Rodrigo\Code\vcpkg\scripts\buildsystems\vcpkg.cmake ..
-- using protobuf
CMake Error at C:/Users/Rodrigo/Code/vcpkg/installed/x64-windows-static/share/grpc/gRPCTargets.cmake:173 (message):
  The imported target "gRPC::check_epollexclusive" references the file

     "C:/Users/Rodrigo/Code/vcpkg/packages/grpc_x64-windows-static/debug/bin/check_epollexclusive.exe"

I can confirm that the CMake target exported in 1.4 pointed to tools/grpc/ path for these tools instead of debug/bin.

See #1810.

Same thing for me. Had to manually copy
vcpkg\packages\grpc_x86-windows\tools\grpc*.exe -> vcpkg\packages\grpc_x86-windows\debug\bin
vcpkg\packages\grpc_x86-windows\tools\grpc*.exe -> vcpkg\packages\grpc_x86-windows\bin

I get this error too. Here's the error output when trying to import grpc from vcpkg into my own project:
`CMake Error at External/vcpkg/installed/x64-windows/share/grpc/gRPCTargets.cmake:173 (message):
The imported target "gRPC::check_epollexclusive" references the file
 "C:/halcyon/External/vcpkg/packages/grpc_x64-windows/debug/bin/check_epollexclusive.exe"

but this file does not exist.  Possible reasons include:

The file was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and contained
"C:/halcyon/External/vcpkg/installed/x64-windows/share/grpc/gRPCTargets.cmake"

but not all the files it references.
Call Stack (most recent call first):
External/vcpkg/installed/x64-windows/share/grpc/gRPCConfig.cmake:16 (include)
External/vcpkg/scripts/buildsystems/vcpkg.cmake:145 (_find_package)
Modules/Asset.Service/CMakeLists.txt:3 (find_package)
`

Thanks for reporting this!
It should be fixed in f527812e.


Feature/l3 24

What
A nodejs template for API serices. Won't be putting much in here so please refer to the README - new repo:)

Review depcheck output:
Unused dependencies
* config
* pg
* pino-colada
* uuid
Unused devDependencies
* @types/config
* @types/sinon
* concurrently
* nodemon
* sinon


Adding morocco notebook

Added dashboard for Morocco

Will review by end of week

@all-contributors add @Otman404 for content


Beamer.of Nested Navigation

I am really struggling with nested navigation and tabbed views:
Every time I define additional beamer for my tabbed view with global key etc...and controlling navigation for that one particular beamer, it also affects "ROOT beamer"
So for example you have
Scaffold

APPBAR with back buttom which is calling context.beamBack() or Beamer.of(context, root:true).beamBack() etc..
BODY
WITH ANOTHER BEAMER controlled via global key in that view
Bottom navigation for example

So for every change in that bottom navigation you will call (for each tab)
 beamerKey.currentState?.routerDelegate.beamToNamed('/detail');
or
     beamerKey.currentState?.routerDelegate.beamToNamed('/artworks');
or
   beamerKey.currentState?.routerDelegate.beamToNamed('/events');
So this should only affect my secondary beamer (ie switch router outlet)
Which works, BUT immediately after first tab switch, my ROOT beamer context is lost...and I cannot return back to previous page.
So how to access parent beamer for "pushed" views then...
PS. yes I saw your examples, and I dont want to pass global keys all over the place, this should work without any "hacks" in place

As a work around I used popBeamLocation instead of beamBack but that will mess with parent beamer state

@radvansky-tomas this sounds like a good reason to add an attribute like detached to the Beamer widget so it doesn't update parent. I'll think a bit about naming and will do this for v0.14.1.
If you wish to test this right away, take beamer source and try to remove updating the parent in BeamerDelegate's update function. You'll then need to call updateRouteInformation instead because the parent usually does it.
Let me know if that works for you.

Here ?
https://github.com/slovnicki/beamer/blob/136255ccb89cd1114e47eb443458dae875f2074c/package/lib/src/beamer_delegate.dart#L343
I mean I already tried with updateParent = false and it did not help
To me main issue is, that there is no actual tracking of beamers across the app...
So If you push (navigate elsewhere) and there is embedded beamer on that page, it will take over (and context is lost)
Basically if I call
Beamer.of(context).beamToNamed() it does not use current beamer, but one which is defined in current build method
Which I could still partially understand, but then this should def work:
Beamer.of(context, root:true).beamToNamed()
But this will again return beamer defined after...
I though that whole point of defined all those locations, beamers, rules, paths etc it so be able to construct complex navigation at any point of time...
As now I can see that as only way of achieving this would be to have explicit path AND location for every possible scenario in the app and completely remove stacked design...
So for example you have BookDetail page /books/:id
But you can get there from
/books  - list of books
but also from
/authors/:authorId/books/:bookId
or from
/library/:libId/books/book:id
/library/authors/:authorId/books/:bookId

etc.
etc.
So I though that I can create generic page for book detail and then navigate from any possible location there and back
Also be able to have inside book page, router outlet have tabs there
/book/:bookId/detail
/book/:bookId/reviews
/book/:bookId/etc...

But in this scenario, everything gets broken...once you include nested navigation...you cant go back and whole context is lost...OR every beamBack() cause return to every single tab switch you've committed since

Tried v0.14.0, not difference to nested navigation...
Every time you play with nested beamer, it affects everything in parent one...history its getting affected etc...
I really dont understand why those things are coupled in the first place

Hi @radvansky-tomas
I'm back from a vacation and I'll be focusing on this now.
The first step is to definitely add updating the route information with just update() even when rebuild: false and parent == null (to remove the need to explicitly use updateRouteInformation). This is kind of a bug, but a very easy fix.
Then we need to determine the exact usage you are trying to accomplish. Can you share with me some of your codes via direct repo share and/or can we schedule a meeting so I get a better understanding of your app?

Email sent @slovnicki , thx

@radvansky-tomas some minor things we talked about have been done: https://github.com/slovnicki/beamer/commit/5b509a78ccf782cadc5dcb57a3472defc8d0d546

I ran into similar issues with nested routers. I noticed that BrowserPlatformLocation.pushState was called twice when I navigated, with either the root or the nested Beamer. This resulted in doublicated history entries.
When the browser back button was clicked, only one of the two entries was removed, resulting in no action because the same entry is still there.
I tired updateParent = false on the nested Beamer but that wasn't enough.
This workaround worked though with beamer: 1.0.0-pre.5.0:
class _NestedBeamerDelegate extends BeamerDelegate {
  _NestedBeamerDelegate({
    required LocationBuilder locationBuilder,
    Function(RouteInformation, BeamLocation)? listener,
    bool setBrowserTabTitle = true,
    bool updateParent = true,
  }) : super(
          locationBuilder: locationBuilder,
          listener: listener,
          setBrowserTabTitle: setBrowserTabTitle,
          updateParent: updateParent,
        );

  @override
  void updateRouteInformation(RouteInformation routeInformation) {
    // Don't update route information on parent, only listen to changes.
    // By calling super.updateRouteInformation(), every url change is sent twice to the web history API
    // tracking issue https://github.com/slovnicki/beamer/issues/312
  }
}


how to include 3rd party style in component scoped without using ViewEncapsulation.None

how to include external 3rd plugin that has some css (maybe the css also with some images);
for example:
when use jquery ui datepicker,this plugin along with some self-css rules, jquery-ui.css and jquery-ui-theme.css;
1: i'don't want include these css files into .angular-cli.json's [styles]
2:assume the css with some background-images, where to place these images?
like this?
"assets": [
  { "glob": "**/*", "input": "../node_modules/some-package/images", "output": "./some-package/" },
]

here is an example:
import { Component, AfterViewInit, ViewChild, ElementRef, OnInit, ViewEncapsulation ,Inject} from '@angular/core';

import * as $ from 'jquery';
import 'jqueryui';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: [
    './app.component.css',
    '../../node_modules/jqueryui/jquery-ui.css',
    '../../node_modules/jqueryui/jquery-ui.theme.css',
  ],
// encapsulation: ViewEncapsulation.None//
})
export class AppComponent implements OnInit {

  @ViewChild('test_input_for_angular') ceshi_input: ElementRef;

  ngOnInit() {
    const el = this.ceshi_input.nativeElement;
    console.log($(el).val());
    $(el).datepicker();

  }
}

if we comment theencapsulation: ViewEncapsulation.None",the plugin style can't be applied.
so i want to know what's the best solution for this situation?
thanks.

I would import the third party css in src/styles.css and move the images into the asset folder.

@slmyers ,thanks for replying...but as your said, the bundled file may very large and  most of the css rules not be applied.  load 3rd party css only required pages is better. i just want to find that way...

If you're using the styles in your component, native encapsulation is required.  Including them via the angular-CLI styles field is probably cleaner as the styles are intended to be global.  Also,  if you include the styles in the root component with native view encapsulation, they effectively become global anyway.
Either way,  the CLI supports CSS url() and import processing so the images should be automatically processed.

thank you guys.


Develop

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

对不起，操作失误，请您拒绝这个申请


Setup / build script isn't correct as gulpfile-update-manifest.js isn't correctly included

A small bug in the setup / build of the client solution.
gulpfile.js should include the following line
require('./gulpfile-update-manifest.js');
or else the command 'gulp update-manifest' to set the correct CDN URL won't work.
Refer also to this documentation:
https://github.com/SharePoint/sp-dev-build-extensions/tree/master/gulp-tasks/update-manifest

PR is merged to 'dev' branch. When merged into 'master' we can close this issue

Merged!


emit ReactionCollector#remove on all unreactions

Please describe the changes this PR makes and why it should be merged:
This will emit an event when a user removes a collected reaction. This is in addition to Collector#dispose, which will only fire when all users have unreacted to the same emoji.
Closes #2056
Semantic versioning classification:

[x] This PR changes the library's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

Shouldn't this event only be emitted when collected reactions are removed?
dispose gets called before the filter is checked, so this will emit on every reaction removal (I think).


Disk Space Analyzer [GSSoC'23]

Aim
The aim of the script is to analyze disk space usage in a specified directory and provide a summary of the sizes of files and folders within that directory. The script will help users gain insights into the distribution of disk space and identify the largest files and folders.
Details
The script will have the following features:

Directory Selection: The script will prompt the user to specify the directory path they want to analyze or accept it as a command-line argument.

File and Folder Analysis: The script will recursively scan the specified directory and calculate the size of each file and folder within it.

Sorting by Size: The script will sort the files and folders based on their sizes in descending order, with the largest ones displayed first.

Display: The script will output the names and sizes of the files and folders in a readable format.

Error Handling: The script will handle cases where the specified directory does not exist or is not accessible. It will provide appropriate error messages to the user.

With these features, the script will enable users to efficiently analyze disk space usage and identify space-consuming files and folders within a directory.
Request @avinashkranjan @Yashbhadiyadra , to kindly assign this task to me, to contribute under GSSoC'23. Thanks!

GO AHEAD @prernamittal