Copyright in posts change

Hey!
So I wanted to change the copyright button which appears on the right of every post (like in the about post) to show the MIT license, I wanted to license it under the MIT license instead of the creative commons license.
Please help me!

Sorry for the late reply.
There is no good solution so far, but it still can be fixed by overriding the copyright partial:
$ mkdir -p layouts/partials/post/panel
$ touch layouts/partials/post/panel/copyright.html

// layouts/partials/post/panel/copyright.html

And then restart the Hugo server for previewing.

I created two hooks for customizing panel actions, which called post-panel-begin and post-panel-end.
Now you can solve it by creating a hook:
// layouts/partials/hooks/post-panel-end.html

This feature was introduced by the latest commit, you'll need to upgrade the theme.

Hey!
Thank you for the reply,
After doing what you said in the first comment, it did show MIT Licence but it is showing the path above the button as shown down below.

I was trying to do what you said in the second comment so I looked at the upgrade guide for your theme, but when I tried to fetch the repo git fetch, it said that it isn't a repo, the directory is inside another repo (my own repo).

I removed the comment and it was changed but still messed up, but then I upgraded the theme again but this time by the method listed on your repo as the theme directory has info about the repo now, it is fine now.
Thanks alot for this theme and helping me!

Kind remind: the second solution is recommended, please delete the layouts/partials/post/panel/copyright.html of first solution.

I did this and it shows the creative commons license again, should I add it back? Will it affect my site negatively?

This is my repo: https://gitlab.com/AnonymousDebug/cyborgstation-website

Website: CyborgStation

I took a close look at the source code, found that the theme does not upgrade to the latest version yet.
Please try to upgrade the theme as the instructions shown.

After the git add themes/hugo-theme-bootstrap, when I try to commit it says:
`On branch main
Your branch is up to date with 'origin/main'.
nothing to commit, working tree clean`

I fork your repo and make some changes, https://gitlab.com/razonyang/cyborgstation-website, it works fine now.

I fork your repo and make some changes, https://gitlab.com/razonyang/cyborgstation-website, it works fine now.

Thanks once again, mind making a merge request?

Np.

I fork your repo and make some changes, https://gitlab.com/razonyang/cyborgstation-website, it works fine now.

I cloned your repo and tried it locally, blank white screen is shown and I get this error message in the console

To merge from your repo, pipline needs to run successfully but I am blocked from gitlab pipeline. I invited you to be a maintainer.

Hmm, it is a matter of taste.  Which one do you like?

BTW, style won't harm your site.

Hmm, it is a matter of taste. Which one do you like?

BTW, style won't harm your site.

Tbh, none of those.
I would like em both if they were INSIDE the box, but they are half in and half out and that triggers me a bit lol.
So that means that I can switch to the previous revision if it wont harm my site, right?

Yep, you can customize it via assets/css/custom.css:
.post-panel {
    right: -.35rem!important;
    box-shadow: none!important;
    border-radius: 0!important;
}

.post-panel .action {
    border-bottom: none!important;
    padding: 0!important;
}

Copyright button was like: Aight, I amma head out.

Did it, thanks!


add Chinese language files

just did some translation stuff. we have some discussion groups about this antvel project in China, and translation is strongly demanded.
some things need to be mentioned:

law.php,too long paragraphs. gonna go back to it at some point.
may have some out-of-sync issues among different files. will make some further checks.
not sure of the translations of some words, mainly because of the lack of context. also some grammatical differences between English and Chinese make some translations not that satisfying.
, those long lines in features.php really confused me...

create law.php for English as well and send the PR back to merge it. thanks!


Add priority class name to scan job

Description
Add capability to set the priorityClassName attribute of the scan job pod spec
Related issues

Close #1076

Remove this section if you don't have related PRs.
Checklist

I've read the guidelines for contributing to this repository.
[ ] I've added tests that prove my fix is effective or that my feature works.
I've updated the documentation with the relevant information (if needed).
I've added usage information (if the PR introduces new options)
[ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).

 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.

@SamarSidharth I'm planning to cut a release next week , if you could complete the PR by then , it will be included

@SamarSidharth is the PR ready for review ?

@SamarSidharth is the PR ready for review ?

Hello @chen-keinan, Apologies for the delay as I got caught up with some urgent work today so had to leave it in between. Just wanted you to have a look at the testing part as I am new to go, your review would be really helpful.
I would then work on it and submit it for the review in sometime.


Cannot generate the docs if comments are added in the .bal file

The following error is logged
Docerina: API documentation generation failed for foo/bar/Structs3.bal: Structs3.bal:16:0: unwanted token '//struct Person {'

@dilinisg this is thrown at ballerina runtime when parsing a comment outside of the scope, for example comment outside a function,struct,connector scope etc. We only recommend to put doc comments using annotations for each compilation unit in ballerina.

This should be reported under ballerina run time. Hence closing the issue


Caught N10facilities9WrongTypeE at the top level: facilities::WrongType.

Hi. I'm trying to analyze FermiLAT data using Binned likelihood method with gtselect option evclass=1024, evtype=512 (or other numbers other than 1, 2 and 3) and whenever i try to perform gtsrcmap (gtlike too) i get this error message :
Exposure hypercube file[GC_ltcube.fits]     GC_ltcube.fits
Counts map file[GC_ccube.fits]     GC_ccube.fits
Source model file[./data/LAT_model.xml]     ./data/LAT_model.xml
Binned exposure map[GC_expcube.fits]     GC_expcube.fits
Source maps output file[GC_srcmap.fits]     GC_srcmap.fits
Response functions[CALDB]     CALDB
facilities::WrongType. Cannot convert 'SIMPLE'to type double
Caught N10facilities9WrongTypeE at the top level: facilities::WrongType. Cannot convert 'SIMPLE'to type double
I'm using P8R3_ULTRACLEANVETO_V3 IRF and i want to use other event type rather than using front+back event type selection. I tried to change other commands to see what's the problem, and i guess it's the problem of evtype. Whenever i put other numbers like evtype=512 (corresponds to event type EDISP3, which is best quality energy selection type), it gives me the error messages. Can i ask what's the problem? Thank you.

Ok i think i found the problem. I guess i specified argument for LATSourceModel package incorrectly. After correcting arguments the program runs pretty well. Sorry for confusing!


[minor][docs] Add deployment documentations for Kubernetes Operator.

https://issues.apache.org/jira/browse/FLINK-35544

Thanks for the contributiion @qg-lin , could you create a FLINK JIRA and link it? it will be great if you can add some description for this PR

JIRA: https://issues.apache.org/jira/browse/FLINK-35544

Thanks for the contributiion @qg-lin , could you create a FLINK JIRA and link it? it will be great if you can add some description for this PR

Thanks for the contributiion @qg-lin , could you create a FLINK JIRA and link it? it will be great if you can add some description for this PR

Done!

Just fell over this PR when looking into whether Flink CDC works with the Flink Kubernetes Operator. @qg-lin any reason why this PR has not been merged yet?

I guess @PatrickRen forgot this PS， will merge soon

@qg-lin would you like to open a PR for branch release-3.2?

sure


Does it support jar change and workspace mapping

can spring loaded monitor jar package change?
If there is a web app application in Intellij Idea, then build a war package and put it into webapp dir of tomcat, can it reloaded if a JAVA file is modified and compiled in the Intellij Idea workspace？

To answer your first point: Yes, jar watching has been added recently. It is discussed (and syntax shown) here: https://github.com/spring-projects/spring-loaded/issues/70
It watches where things are loaded from - if you deploy an app to a tomcat and then go back to your IDE, you'd need to repackage and push that changed jar to where it is watching in order for it to see the change.


Update Iter.ml to use mutable fields instead of refs

In MList, type 'a node = Nil | Cons of 'a array * int ref * 'a node ref was changed to type 'a node = Nil | Cons of { a : 'a array; mutable n : int; mutable tl : 'a node } and all functions in MList were updated accordingly. This should hopefully make MList be a little faster (less indirection needed) and use less memory.

Thank you!


reality check cognacy  - possible extra 8% cognates filled in relatively easily!

I checked the FormTable for two kinds of issues that could be found easily and presented to a human reviewer for improvement of ABVD cognacy. Some forms may be identical but shouldn't belong to the same cognacy class, and vice versa, so human reviewing is necessary. I'm presenting these instances for the ABVD-team to consider.

forms without cognacy that are identical to other forms for the same concept which have assigned cognacy

example:

Concept
Form_1
Cognacy_1
Form_2
Cognacy_2

hand
tangan
18
tangan

left
karuk
83
karuk

legfoot
au
80
au

legfoot
kuku
46
kuku

The amount that can be filled in like this are 8% of the entire dataset, 24903 forms .
abvd_possible_matches.csv

same form, same concept but different cognacy classes.

example:

Language_ID
Form
Cognacy

134
sunu
1?

163
sunu
106

1353
sunu
4

1368
sunu
1

There are 661 concept-form matchings ('144_toburn' - 'sunu') where there are identical forms assigned to different cognacy classes. If you also include cases of multiple cognacy (e.g. '1, 50') there are 4910 of this kind.
abvd_different_cognate_same_form_excl_multiple.csv
Rscript for finding these instances:
library(tidyverse)
library(cluster)
library(reshape2)
library(stringdist)

forms <- read_csv("https://github.com/lexibank/abvd/raw/ccff2bc86c30b102cd5b95174fafb378ddc0d3eb/cldf/forms.csv", show_col_types = F)

unknown_cognacy <-  forms %>%
  filter(is.na(Cognacy)) %>%
  dplyr::select(ID_Var1= ID, Var1 = Form)

known_cognacy <- forms %>%
  filter(!is.na(Cognacy)) %>%
  dplyr::select(Var2 = Form, Var2_Cognacy = Cognacy)

percentage_unknown <- round(nrow(unknown_cognacy)/ (nrow(known_cognacy) + nrow(unknown_cognacy) ), digits = 2)

known_cognacy <- known_cognacy %>% distinct()
unknown_cognacy <- unknown_cognacy %>% distinct()

#make df to join to in loop
dist_full <- matrix(nrow = 0, ncol = 7) %>%
  as.data.frame() %>%
  rename("Var1" = V1, "Var2" = V2, "lv_dist"= V3, "Form_1" = V4, "Cognacy_1" = V5, "Form_2" = V6, "Cognacy_2" = V7) %>%
  mutate_if(.predicate = is.logical, as.character) %>%
  mutate(lv_dist = as.numeric(lv_dist))

##
#df to join info on the side of dists df
left <- forms %>%
dplyr::select(Var1 = ID, Form_1 = Form, Cognacy_1 = Cognacy)
right <- forms %>%
dplyr::select(Var2 = ID,Form_2 = Form, Cognacy_2 = Cognacy)

#vector of unique concepts to loop over
Parameters_ID_unique_vector <- forms$Parameter_ID %>% unique()

#index to start loop at
index <- 0

#for loop, calcuating the lv dist each time for all words within each concept
for(Parameter in Parameters_ID_unique_vector){

index <- index + 1

cat(paste0("I'm on ", Parameters_ID_unique_vector[index], ". Which is index ", index, " out of ", length(Parameters_ID_unique_vector), ".\n"))

forms_spec <- forms %>%
filter(Parameter_ID == Parameters_ID_unique_vector[index])
#filter(Parameter_ID == "122_water")

form_vec <- as.vector(forms_spec$Form)

names(form_vec) <- forms_spec$ID

dists <- stringdistmatrix(a = form_vec, b = form_vec, method = "lv",  useNames = "names")

dists[upper.tri(dists, diag = T)] <- NA

dists_long <- dists %>%
reshape2::melt() %>%
filter(!is.na(value)) %>%
filter(value <= 2)  %>%
distinct() %>%
mutate(Var1 = as.character(Var1)) %>%
mutate(Var2 = as.character(Var2)) %>%
rename(lv_dist = value) %>%
left_join(left, by = "Var1") %>%
left_join(right, by = "Var2") %>%
distinct()

dist_full <- full_join(dist_full, dists_long, by = c("Var1", "Var2", "lv_dist", "Form_1", "Cognacy_1", "Form_2", "Cognacy_2"))  %>%
  distinct()

}

#different cognate same form
different_cognate_same_form_incl_multiple <- forms %>%
  filter(!is.na(Cognacy)) %>%
  distinct(Form, Parameter_ID, Cognacy) %>%
  group_by(Form, Parameter_ID) %>%
  summarise(n = n(), .groups = "drop") %>%
  filter(n > 1)

different_cognate_same_form_excl_multiple <- forms %>%
  filter(!is.na(Cognacy)) %>%
  filter(!str_detect(Cognacy, ",")) %>%
  distinct(Form, Parameter_ID, Cognacy) %>%
  group_by(Form, Parameter_ID) %>%
  summarise(n = n(), .groups = "drop") %>%
  filter(n > 1) %>%
  arrange(desc(n))

different_cognate_same_form_excl_multiple %>%
  write_csv("output/abvd_different_cognate_same_form_excl_multiple.csv", na = "")

cat("There are ", nrow(different_cognate_same_form_excl_multiple), " concept-form matchings ('144_toburn' - 'sunu') where there are identical forms assigned to different cognacy classes. If you also include cases of multiple cognacy (e.g. '1, 50', there are ", nrow(different_cognate_same_form_incl_multiple), " of this kind.\n", sep = "")

#forms with missing cognacy that could probably be filled in easily
possible_matches <- dist_full %>%
  filter(is.na(Cognacy_2)) %>%
  filter(!is.na(Cognacy_1)) %>%
  filter(lv_dist <= 0)

possible_matches %>%
write_csv("output/abvd_possible_matches.csv", na = "")

cat("There are ", nrow(possible_matches
), " words where you could easily fill in the cognacy because they are identical to other words which are already filled in for cognacy. For example, 'tangan' for the concept hand is assigned cognacy class 18 in some languages but no cognacy in others. The amount that can be filled in like this are ",round(nrow(possible_matches
) / nrow(forms), 2) *100, "% of the entire dataset.\n", sep = "")

This could be a good approach to fill in gaps in ABVD. I couldn't get the same counts, though, when checking. I only count 8,335 cases of non-cognate-coded forms which are identical to cognate-coded forms in the same concept slot (vs your 24903 from case 1.)
Here's my code (it does not use the Cognacy column, but the items from CognateTable):
import collections

from csvw.dsv import UnicodeWriter
from pycldf import Dataset

def check(ds):
    cogs = collections.defaultdict(set)
    for c in ds.objects('CognateTable'):
        cogs[c.cldf.formReference].add(c.cldf.cognatesetReference)

    # Map form, concept pairs to sets of cognateset IDs
    forms = collections.defaultdict(set)
    for form in ds.objects('FormTable'):
        if form.id in cogs:  # A cognate-coded form
            forms[(form.cldf.form, form.cldf.parameterReference)] |= cogs[form.id]

    with UnicodeWriter('res.csv') as w:
        w.writerow(['ID', 'Form', 'Language', 'Concept', 'Ncogs'])
        for form in ds.objects('FormTable'):
            if form.id not in cogs:  # A non-cognate-coded form ...
                if (form.cldf.form, form.cldf.parameterReference) in forms:
                    # ... but there are identical, cognate-coded forms.
                    csids = forms[(form.cldf.form, form.cldf.parameterReference)]
                    w.writerow([form.id, form.cldf.form, form.cldf.languageReference, form.cldf.parameterReference, len(csids)])

if __name__ == '__main__':
    check(Dataset.from_metadata('cldf/cldf-metadata.json'))

The result is a table listing all  9716 forms that are not cognate-coded, but have identical forms for other languages which are, and the number of cognatesets these identical forms are assigned to, and I get:
  5. "Ncogs"

	Type of data:          Number
	Contains null values:  False
	Unique values:         5
	Smallest value:        1,
	Largest value:         5,
	Sum:                   11.409,
	Mean:                  1,174
	Median:                1,
	StDev:                 0,464
	Most common values:    1, (8335x)
	                       2, (1103x)
	                       3, (245x)
	                       4, (32x)
	                       5, (1x)

Row count: 9716

Just confirmed my numbers via SQL:
select
  count(distinct f1.cldf_id)
from
  formtable as f1
join
  formtable as f2
on
  f1.cldf_form = f2.cldf_form and
  f1.cldf_parameterReference = f2.cldf_parameterReference
where
  f1.cldf_id not in (select cldf_formReference from cognatetable) and
  f2.cldf_id in (select cldf_formReference from cognatetable)

gives:
$ sqlite3 abvd.sqlite < q.sql
9716

Or more performant and transparent:
select
  ncogs, count(cldf_id)
from (
  select
    f1.cldf_id, count(distinct c.cldf_cognatesetReference) as ncogs
  from
    formtable as f1
  join
    formtable as f2
  on
    f1.cldf_form = f2.cldf_form and
    f1.cldf_parameterReference = f2.cldf_parameterReference
  join
    cognatetable as c
  on
    f2.cldf_id = c.cldf_formReference
  where
    f1.cldf_id not in (select cldf_formReference from cognatetable)
  group by
    f1.cldf_id
)
group by ncogs

yielding

ncogs
cldf_id

1
8335

2
1103

3
245

4
32

5
1

Thanks @xrotwang !
I don't fully follow those scripts, but that's okay. I think you're def right that my original approach over-estimates category 1 numbers.
I did figure out one improvement as I was reading through, the original script does spit back too many rows for category 1 (possible matches) because it doesn't cut down duplicates correctly. I've made a small adjustment so that it spits out a summary per unknown form instead:
#forms with missing cognacy that could probably be filled in easily
possible_matches <- dist_full %>%
[abvd_possible_matches.csv](https://github.com/user-attachments/files/16026389/abvd_possible_matches.csv)

  filter(is.na(Cognacy_2)) %>%
  filter(!is.na(Cognacy_1)) %>%
  filter(lv_dist <= 0) %>%
  group_by(Var2, Form_2) %>%
  summarise(Cogancy_suggestions = paste0(unique(Cognacy_1), collapse = "; "))

There are much fewer rows that way, 2756 and it looks like this:

Var2
Form_2
Cogancy_suggestions

1-13_back-1
tundun
55

1-81_sharp-1
mangan
64

10-189_who-1
mei
65

100-177_this-1
di
13

100-88_tosqueeze-1
kuku
14

1000-185_we-1
kinta
I

101-140_dry-1
kor
29

1013-185_we-3
kəlau
I

1014-185_we-4
kam
2,65

1018-185_we-3
kir
I

1018-185_we-4
kim
E

102-127_woodsforest-1
ao
15,14

1029-185_we-4
kemem
E42

119-182_i-1
ja
1; 1,21

(I used semi-colon to separate multiple suggestions, commas denote compound or sub-cognacy class.)
abvd_possible_matches.csv
If the ABVD-team wants to go ahead with either occurrences of type (1) and/or (2), then I'd be happy to dig into it more the differences between mine and Robert's approaches, yet other different ways of finding these etc. Right now, I just wanted to present the basic idea here and hear if anyone wants to proceed with it at all in terms of expert reviewing and implementation.
Category 1 occurrences (probably easy to fill in) seem most important to me, since software like BEAST2 will treat all missing cognacy classes as lots of unique cognacy classes, unless I'm mistaken. Category 2 is also important, but perhaps less so (also fewer occurrences).

FYI: Judging from the output, your script now seems to miss some possible matches, e.g. 999-206_ten-1
$ csvgrep -c Form -m"hampuluʔ" abvd-cldf/cldf/forms.csv | csvgrep -c Parameter_ID -m"206" | csvcut -c ID,Form,Cognacy
ID,Form,Cognacy
431-206_ten-1,hampuluʔ,5
999-206_ten-1,hampuluʔ,

We do not want to do this. Yes, I realise that many cognates can be easily filled in, and are probably cognate. However, we decided a very long time ago that each cognate judgement would be checked and no automated guessing would be done.

Okay, not doing. I was just following up on discussions with Russell and Mary and just wanted to get it wrapped up. One way of wrapping up is to not do it. Understood!

since software like BEAST2 will treat all missing cognacy classes as lots of unique cognacy classes.

No, it depends on how the nexus file is made.

Genau, I just thought that was how it was done for the analysis of ABVD.


Broken Links to USC Pages

Hey there,
First of all, thank you for making this repository! It's a great asset to have available for research.
I noticed that the links to ict.usc.edu sites in the readme(s) currently produce a "Page not found error", I believe this is because they now need to be prefixed with vgl.. So for example https://ict.usc.edu/Research/DigitalEmily2/ should be https://vgl.ict.usc.edu/Data/DigitalEmily2/.
-Matt

Updated. Thanks for the heads up.


Do not overwrite users environment variables

These environment variables are currently enforced by vscode and there is no way to overwrite them. Turning this arround allows the user to use a custom GIT_ASKPASS inside vscode (e.g. /usr/bin/ksshaskpass for kde wallet).
This PR fixes #111839

@joaomoreno I have adjusted my changes accordingly.

@eamodio What is the status of the merge? Is there anything I can do to speed up the process?

Can we have this merged? It's incredibly frustrating

@MCterra10 thanks for spotting the typo. I have rebased my changes onto the new mainline so it can be merged easily.
@lszomoru any chance this can be merged?

@Backfighter conflicts?

are the maintainers always this slow for such simple changes?

Apologies for the delay on getting this in. This should be in tomorrow's Insiders release and the next Stable release.

sweeeeet


[DNM] Experimental pack run

Opening this PR to collect feedback. It's not yet ready to merge.
Introduces a pack run command which builds a container and then
immedatitly runs the newly built container.
A subset of the pack build args are supported, including:

--path
--builder
--run-image

And --port is introduced as the local port the running container will
receive requests for.
The run command internally leverages the build command's infrastructure.
The reponame is the md5 hash of the working directory.

Known issues:

[ ] need to add tests
[ ] ctl-c is only impactful after the container starts running, it is ignored prior to that

Should this also have a method of pulling in a .env file for environment variables? Or perhaps flags for setting env vars?

@josegonzalez can you expand on what you would like to see?

There are two modifications we should make to this PR before merging:

[ ] use a common prefix for the built image so that images are identifiable
[ ] instead of using 8080 inside the container, get the default port from the docker expose metadata for the container

@josegonzalez env vars can be set by individual buildpacks, is that sufficient for you?

@scothis not sure what you mean by that? Do you mean a user would have to create an env-buildpack to do what I am suggesting here?
Note: I don't think this is blocking, but more of a usability improvement for those utilizing the tool locally to verify their apps will work as expected on deployment.

@jchesterpivotal ptal

Thanks. LGTM after change.

@ekcasey please take another look


the left slide menu location is wrong if the iPhone(iOS < 8.0,) is facing up on the desk.

the method moveHorizontallyToLocation in SlideNavtivationController.m
if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0"))
{
rect.origin.x = location;
rect.origin.y = 0;
}
else
{
if (UIDeviceOrientationIsLandscape(orientation))
{
rect.origin.x = 0;
rect.origin.y = (orientation == UIDeviceOrientationLandscapeRight) ? location : location*-1;
}
else
{
rect.origin.x = (orientation == UIDeviceOrientationPortrait) ? location : location*-1;
rect.origin.y = 0;
}
}
rect.origin.x = (orientation == UIDeviceOrientationPortrait) ? location : location*-1;; it is not complete.
after change it to
rect.origin.x = (orientation == UIDeviceOrientationPortrait||orientation == UIDeviceOrientationFaceUp) ? location : location*-1;
the the slide menu behaviors correct.
please check,thanks
Michael

still there is a replicate animation issue when click the item of menu. need to check. SlideNavigationContorllerAnimatorSlide

I had the same issue,
I changed it back to deprecated function and this working again
UIDeviceOrientation orientation = self.interfaceOrientation

duplicate https://github.com/aryaxt/iOS-Slide-Menu/issues/147#issuecomment-114035416

I am also experiencing this issue and reverted back to an older version to avoid. Is there any progress on a solution in a newer version?


Stops when it hits a level-read error

I ran it on my characters and it picked up everything correctly until it was "Unable to determine level for Noelle" -- after that, it stopped scanning, and didn't scan the rest of my characters.
Perhaps as an alternative, if it can't determine someone's level, set it to some value or skip them (since it says it in the logs, it wouldn't be a big deal to enter that one character manually) and then continue scanning the rest of the characters. The way it is now, I have to manually enter all of my characters that come after Noelle.

Fixed in V1.3.0. Scanner instead sets character level to 1 if it can't figure out the level.

Fixed in V1.3.0. Scanner instead sets character level to 1 if it can't figure out the level.

There is a possibility of a fix, when character level can't be determined with screenshot then it should set the minimum required level based of the highest normalized talent (aka by not forgeting that tartaglia and constellations change talent level)


Multiple accounts, Notifications API

I'm trying to implement multiple accounts functionality. For currently active account I need to receive full bunch of the update events as usual.  However for inactive accounts I only need specific info, such as number of chats with unread messages, number of chats with mentions, total number of unread messages and total number of mentions, maybe updateNewMessage for unmuted chat to show notification for it.  Is it possible for inactive account to make TDLib send only events such as updateUnreadMessageCount, updateUnreadChatCount and updateNewMessage for unmuted chats?
Maybe this functionality can be done using Notifications API?
What is the best approach to implement multiple accounts, so inactive accounts will generate less update events comparing to active one?
Thanks

Mobile clients rely on push notification services and close all inactive accounts after a short idle time. When a push notification is received, they launch corresponding TDLib instance, process the push notification and close again the instance.
If receiving push notifications is not an option, you need to have all the instances always running to receive update. To reduce memory consumption you can still close them and reopen immediately without calling getChats and other heavy methods.
TDLib is stateful, so there is no way it can send only some updates. All updates notifies client about state change and if some of them are missed, the client will have partially outdated state. There should be not too much updates, so they shouldn't affect application performance.

Thanks, this very useful!


Update to latest Cluster API version

Changes
Update to latest Cluster API version.
Checks

[ ] The version constant is updated in Client.php
[ ] The changelog is updated (when applicable)
[ ] The supported Cluster API version is updated in the README (when applicable)

To do:

Add http_retry_properties attribute to clusters.
Nullable changes from Cluster API version 1.195.
Node create returns task collection.
Add is_ready + product attributes to nodes.
Add nodes product endpoint.


[EventChange] Table 81 OnBeforeLookUpAppliesToDocCust / OnBeforeLookUpAppliesToDocCust /OnBeforeLookUpAppliesToDocEmpl

Hi,
referring to this Request  we would like to ask you to define the record variables GenJournalLine as Var, as requested in the oringin request.
We suggest the following changes to the existing events:
OnBeforeLookUpAppliesToDocCust(Var GenJournalLine: Record "Gen. Journal Line"; AccNo: Code[20]; var IsHandled: Boolean)
OnBeforeLookUpAppliesToDocEmpl(Var GenJournalLine: Record "Gen. Journal Line"; AccNo: Code[20]; var IsHandled: Boolean)
OnBeforeLookUpAppliesToDocVend(Var GenJournalLine: Record "Gen. Journal Line"; AccNo: Code[20]; var IsHandled: Boolean)
Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Broken link on media service doc

The first link on this article throws a 404: https://azure-staging.microsoft.com/en-us/documentation/articles/media-services-portal-get-started-with-live/
@Juliako - can you please fix

Fixed https://acom-sandbox.azurewebsites.net/en-us/documentation/articles/media-services-portal-get-started-with-live/

verified on production site


Running Dev server on Windows

Hi,
I love this project by the way - it made my life so much simpler!
I just upgraded to 2.01 and now my Dev server won't start. I'm probably doing it all wrong anyway, so I hope someone will steer me right.
I have a small 'run.py' script that sits outside the API package I wrote, and it calls __hug__.serve()
This worked on 1.9.9, but after upgrading to 2.0.1 it throws this error:
  File "U:\API\.env\lib\site-packages\hug\use.py", line 171, in Socket
    'unix_stream': (socket.AF_UNIX, socket.SOCK_STREAM),
AttributeError: 'module' object has no attribute 'AF_UNIX'

I tried switching to use hug.API(api).http.server(), and even a crude call(["hug", "api"]), all with the same error.
Am I being dumb? or was there a change that broke Windows?
Thanks!
Geoff

Sockets work differently in Windows (unix sockets dont exist), I'll see if I can push a bug fix tonight.

@kirklg that would be amazing, thank you (and glad it's not me being dumb!)
The production server will be uWSGI on Ubuntu, but for Dev I have to work in Windows.

Hi @geoffjukes,
I'm glad hug is working out for you! We're very happy to have you as a user :) I'm very sorry that hug 2.0.0 broke Windows, I've pushed an emergency fix to resolve this issue, that essentially only creates the use.Socket class if unix is detected. Please let me know if this fix works for you it is pushed as release 2.0.2. I'm going to be thinking about ways to run the automated tests on Windows to keep issues like this from happening in the future.
Thanks!
~Timothy

@timothycrosley Amazing response, thanks!
 At first I had an issue because I used falcon-style middleware calls. I changed then to the @hug.request_middleware, and the error went away.
but now it just terminates with "Process finished with exit code 0".
My apologies, I am typing this on my phone via a remote desktop.

@timothycrosley pretty sure this one is my fault. My whole dev environment just went wonky.

@timothycrosley Its not my environment. I just rebuilt everything, and the server just exits.
I reverted to 1.9.9 until I'm back at my desk and can debug properly. I know there were other changes in 2.0, and it could be one of those.

@tcrosley, this sounds like the issue we saw when cython compiled types.py. But this is on windows, could be a different issue.
@geoffjukes, you mind verifying that types.py was compiled with cython, if so you could try removing the .so file and try rerunning in 2.0.

Hi @geoffjukes, the issue may simply be how your starting the server:
can you try switching out:
hug.API(api).http.server()

for:
hug.API(api).http.serve()

And report back? The server function creates the wsgi compatible server object, but by it'self it wont function. The serve command is what runs the development server forever locally.
In the meantime windows testing is getting close! https://ci.appveyor.com/project/TimothyCrosley/hug/build/1.0.19/job/nt3vg2tkub68rran
Thanks!
~Timothy Crosley

@kirklg When my env went wonky, I started from scratch, and cython wasn't installed. I am running python 3.4.4 (if that is relevant)

Silly me, cython is probably not being used here. Please disregard my previous comment.

@geoffjukes in case you missed my previous comment since we posted at the same time >.< can you try switching out:
hug.API(api).http.server()

for:
hug.API(api).http.serve()

? I think this may fix it

@timothycrosley that's why you get paid the big bucks :) That fixed it, and I'm now on 2.0.2. Thank you for the quick update and the help.
Just a heads up that I had to switch my middleware to the decorator style too, as the falcon-style wouldn't work for me. In case the docs need updating.
Great project, Great response!
Thanks guys.

So glad we could help resolve your issue! For future reference you should be able to use Falcon style middlewares as long as you switch from __hug__.add_middleware to __hug__.http.add_middleware or hug.API(__name__).http.add_middleware this is briefly documented in the change-log as: "API singleton now has sub-apis for each interface in use (IE hug.API(name).http and hug.API(name).cli)" but more documentation there would definitely be helpful.
Thanks!
~Timothy


prompts vast when pausing?

How can I display an advertisement (vast) when pausing the live streaming using Shaka Player?

Currently this functionality is not available in Shaka Player


Symantics on Assigning app setup policies to users 'in a group'

"Assign the FirstlineWorker app setup policy to users in a group" should be "Assign the FirstlineWorker app setup policy to users OF a group"
The members being assigned the policy does not need to be IN the group, as the policy is assigned only the individual members, and not the actual group itself.
This may send the wrong impression that the policy can actually be assigned to a group in itself, and that subsequent new members assigned to that group will be have the policy automatically assigned to them; at least make that clear.

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

ID: 58ea9573-59b1-1499-fb83-517d0ee0f034
Version Independent ID: bf98f739-ff51-0b90-dbc5-c594d3dacecd
Content: Manage the Shifts app for your organization in Microsoft Teams - Microsoft Teams
Content Source: Teams/expand-teams-across-your-org/shifts/manage-the-shifts-app-for-your-organization-in-teams.md
Service: msteams
GitHub Login: @kenwith
Microsoft Alias: v-lanac

@jadesolis Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@jadesolis Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


#1203 Improve filter performance by using only one instance of AllEncompassingFormHttpMessageConverter

FormBodyWrapperFilter wraps each request in FormBodyRequestWrapper. Each wrapper has own instance of AllEncompassingFormHttpMessageConverter.
Looks like instantiation of AllEncompassingFormHttpMessageConverter is heavy operation - if jackson exists in classpath, new ObjectMapper is created each time. Also Class.forName is executed several times.

@rterentiev Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@rterentiev Thank you for signing the Contributor License Agreement!


[CMake] Fix small bug in _add_swift_library_single

This option should be SWIFTLIB_SINGLE_TARGET_LIBRARY. If you rely on
SWIFTLIB_TARGET_LIBRARY, you get whatever was set in add_swift_target_library.
While these should be the same, I'm trying to remove SWIFTLIB_TARGET_LIBRARY
entirely.

@swift-ci please smoke test


Dask XGBoost with Dask Dataframes "empty DMatrix" and "regression_obj.cu:58: Label set is empty"

I'm running into strange warnings while using xgboost.dask.DaskXGBClassifier. When using dask dataframes as inputs to the .fit() method I'm getting the following output:
task NULL connected to the tracker
task NULL connected to the tracker
task NULL connected to the tracker
task NULL connected to the tracker
task NULL got new rank 0
task NULL got new rank 1
task NULL got new rank 2
task NULL got new rank 3
WARNING:root:worker tcp://<IP_ADDRESS>:62010 has an empty DMatrix.  All workers associated with this DMatrix: {'tcp://<IP_ADDRESS>:62009', 'tcp://<IP_ADDRESS>:62008'}
WARNING:root:worker tcp://<IP_ADDRESS>:62011 has an empty DMatrix.  All workers associated with this DMatrix: {'tcp://<IP_ADDRESS>:62008', 'tcp://<IP_ADDRESS>:62009'}
WARNING:root:worker tcp://<IP_ADDRESS>:62010 has an empty DMatrix.  All workers associated with this DMatrix: {'tcp://<IP_ADDRESS>:62009', 'tcp://<IP_ADDRESS>:62008'}
WARNING:root:worker tcp://<IP_ADDRESS>:62011 has an empty DMatrix.  All workers associated with this DMatrix: {'tcp://<IP_ADDRESS>:62008', 'tcp://<IP_ADDRESS>:62009'}

[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/objective/regression_obj.cu:58: Label set is empty.
[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/objective/regression_obj.cu:58: Label set is empty.

[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/gbm/gbtree.cc:128: Tree method is automatically selected to be 'approx' for distributed training.
[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/gbm/gbtree.cc:128: Tree method is automatically selected to be 'approx' for distributed training.
[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/gbm/gbtree.cc:128: Tree method is automatically selected to be 'approx' for distributed training.
[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/gbm/gbtree.cc:128: Tree method is automatically selected to be 'approx' for distributed training.

[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/metric/elementwise_metric.cu:330: label set is empty
[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/metric/elementwise_metric.cu:330: label set is empty

[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/objective/regression_obj.cu:58: Label set is empty.
[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/objective/regression_obj.cu:58: Label set is empty.

[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/metric/elementwise_metric.cu:330: label set is empty
[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/metric/elementwise_metric.cu:330: label set is empty

[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/objective/regression_obj.cu:58: Label set is empty.
[11:42:25] WARNING: /usr/local/miniconda/conda-bld/xgboost_1584539872846/work/src/objective/regression_obj.cu:58: Label set is empty.

# these warnings keeps repeating

Here's example code that gets this to reproduce for me.
from dask.distributed import Client, LocalCluster
import xgboost as xgb
import dask.dataframe as dd
from sklearn.datasets import make_classification
import pandas as pd

client = Client(LocalCluster())

df = make_classification(
    n_samples=10000,
    random_state=123,
)

X_array, y_array = df[0], df[1]

# merge into a dataframe and name columns
df = pd.concat([pd.Series(y_array), pd.DataFrame(X_array)], axis=1)
columns = ["target"] + ["var" + str(i) for i in range(np.shape(X_array)[1])]
df.columns = columns

# create dask dataframe
df = dd.from_pandas(df, npartitions=2)

X = df[df.columns[1:]]
y = df[df.columns[0]]

estimator = xgb.dask.DaskXGBClassifier(
    random_state=253,
    early_stopping_rounds=4,
    eval_metric=["logloss"],
    verbose_eval=False,
)
estimator.fit(X, y, eval_set=[(X,y)])

Here's some useful environment information:
Python 3.7.6
dask                      2.14.0                     py_0    conda-forge
dask-core                 2.14.0                     py_0    conda-forge
dask-glm                  0.2.0                      py_1    conda-forge
dask-ml                   1.2.0                      py_0    conda-forge
_py-xgboost-mutex         2.0                       cpu_0    conda-forge
libxgboost                1.0.2                h4a8c4bd_0    conda-forge
py-xgboost                1.0.2            py37hc8dfbb8_0    conda-forge
xgboost                   1.0.2            py37h570ac47_0    conda-forge
pandas                    1.0.3            py37h94625e5_1    conda-forge
scikit-learn              0.22.2.post1     py37h3dc85bc_0    conda-forge

It very well could be that I'm using XGBoost incorrectly. Though I question why I'm getting warnings from CUDA files when I'm not using my GPU for this.
I will note that when I switch to using Dask arrays the warnings disappear

The warning means there's at least one worker was starving without any input data, which means the dataset is not balanced.  As XGBoost doesn't move data, so it raises a warning.

I see, when I set client = Client(LocalCluster(n_workers=2)) where 2 is the number of partitions on my dataframe, the warnings go away. This makes sense.
Thanks!


Use clowder and kafka broker configuration from ioutils v1.25.2

Description
insights-operator-utils v1.25.2 introduces the following reusable packages (across our services):

github.com/RedHatInsights/insights-operator-utils/clowder
github.com/RedHatInsights/insights-operator-utils/kafka
pgutils "github.com/RedHatInsights/insights-operator-utils/postgres

In this PR we refactor the ccx-notification-writer to use those. This is a first step towards moving the common/shared/similar code from our Go-based services related to Clowder, DB, and Kafka into insights-operator-utils.
Most important change is that now we expect a list of broker addresses instead of a single broker address in the BrokerConfiguration structure. This is because we now expect Clowder to always provide the information of a multi-broker Kafka cluster.
Fixes CCXDEV-12328
Type of change

Breaking change (fix or feature that would cause existing functionality to not work as expected)
Refactor (refactoring code, removing useless files)
Configuration update

Testing steps
Please describe how the change was tested locally. If, for some reason, the testing was not done or not done fully, please describe what are the testing steps.
Checklist

[x] make before_commit passes
[x] updated documentation wherever necessary
[x] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

This functionality was delivered as part of #704 .


C++ Patterns

Basic Patterns in c++ language

@all-contributors please add @ManmeetSingh1012 for his code


Review the use of JupyterHub or Nebari for login node functionality

We could consider using JupyterHub or Nebari as a login/user management service rather than plain SSH login to the head node.
Some advantages of using a service like this are:

easier environment management via Conda/conda-store and built-in isolation of user home directories
ability to run Jupyter Notebooks directly from the JupyterHub UI
user management via built-in Nebari authentication/authorization facilities
other...

No doubt there are many technical and or security considerations with making a change like this.  We can fill in details in this issue as we go.

@mwengren I'm not 100% sure but I don't think jupyterhub or nebari handles the authentication themselves. I believe they have functionality to use GitHub and/or other oath services for it. With that said, using GH to log in the cloud sandbox would be awesome.

Additional discussion in Friday Working Session (8/30/2024):
Decided to prioritize getting Nebari up and running on sandbox. If we configure with ICAM for MFA then we can share URL to Nebari and anyone who is authorized can login.
Also discussed a Shared EFS within JupyterHub - and ways to accomplish this. Micah ran into permission issues with AWS environment when he last tried - can we use pre-existing configuration to deploy?
Mykel will look into creating a VPC setup to test with.

 Stand up Nebari or other computational analysis environment in the sandbox

 Stand up Nebari or other computational analysis environment in the sandbox

Decided to put Nebari implementation off for long term, and use Sagemaker in the short term


Offline UI Design

Need to determine how offline will be surfaced to the user.
I'm learning towards and organization centric approach. Perhaps on the organization details pages (notifications, contact) we can add an online section that allows the user to see how large the offline download will be and to click a button to download the content. Then we can add a zoom to this organization button to allow the user to easily get to the offline content.


Live server fails to load html template

We have written the needed data into your clipboard because it was too large to send. Please paste.

What's this?

Few days back when i was trying to load my page using live server it kept
failing to do so.
It was showing 'GET ERROR'.
On Tue, Feb 22, 2022, 2:17 PM Ritwick Dey @.***> wrote:

What's this?
—
Reply to this email directly, view it on GitHub
https://github.com/ritwickdey/vscode-live-server/issues/2358#issuecomment-1047556179,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKHZPT3KVPYFTMMRNKZJZALU4NER5ANCNFSM5O37ZLSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Is this still happening? Can you show me a screenshot?

No it's working now. But it keeps happening sometimes. I'll send a
screenshot when it happens again.
On Tue, Feb 22, 2022, 2:41 PM Ritwick Dey @.***> wrote:

Is this still happening? Can you show me a screenshot?
—
Reply to this email directly, view it on GitHub
https://github.com/ritwickdey/vscode-live-server/issues/2358#issuecomment-1047576670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKHZPT5AG5VNMDXXJCMVRLTU4NHKPANCNFSM5O37ZLSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


chore: Add Git commit linter

Ref: https://cordada.aha.io/features/PLATCORE-411
Ref: https://github.com/cordada/infra/issues/36

Codecov Report
Base: 84.53% // Head: 84.53% // No change to project coverage :thumbsup:

Coverage data is based on head (42bf38a) compared to base (3528832).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #359   +/-   ##
========================================
  Coverage    84.53%   84.53%
========================================
  Files           34       34
  Lines         2574     2574
  Branches       349      349
========================================
  Hits          2176     2176
  Misses         259      259
  Partials       139      139

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update Composer dependencies (2021-07-21-00-11)

Visual regression test passed!
View the visual regression test report


Update to Swift 4

Hey, this looks great, thanks for updating this, I have pretty much abandoned it, but it's nice to see that it's still useful to someone.


Add privacy policy to about section

Description of the new feature/enhancement
The Microsoft privacy policy should be added as a link in the About section of the Terminal.
https://privacy.microsoft.com/en-US/privacystatement
Proposed technical implementation details (optional)

Forgive the necropost, but I was hoping that this issue would have a bit more documentation on the rationale for this change -- specifically, I'm trying to understand why exactly a terminal needs a privacy policy? (Obligatory XKCD)


InputLookupSinopia should support manually entered literals or URIs

This behavior should be consistent with InputLookupQA.

This is replacing #1188 (see for more context). See also #1364 for InputLookupLOC.


V<IP_ADDRESS>

Mostly updates to address some initial DMSP comments and testing new documents.

testing documentation


Remove HTTPS functionality and stick to HTTP

Using HTTPS is a bit outside the scope of the project, and may cause trouble for each individual group member to test the server on their own if they don't have their own domain name.
Also adds a port # flag.

Using HTTPS is a bit outside the scope of the project, and may cause trouble for each individual group member to test the server on their own if they don't have their own domain name.

I would say that HTTPS is certainly desirable for the finally project build. The code so far was more of an experiment to see how easy it was to automatically obtain TLS certs using Let's Encrypt.
For now we can remove the HTTPS setup, but eventually I'd like to add it back in via an optional isProduction flag when we're closer to the demo maybe.


Added support for fps option in video.

Adding an option to give fps as part of options.
Solving Issue #77

Hi @shubhamjain0594 !
Thanks for the PR. Could you make the same change in the lua client?

@ajabri Done.

Thanks!


[WFLY-18725] Upgrading WildFly Http Client to 2.0.6.Final

https://issues.redhat.com/browse/WFLY-18725

Yes @darranl , I'll prepare a PR for that.

Thanks @ropalka


Missing type information in expression compilation can cause valid expression to be compiled incorrectly

Currently the API for expression compilation in the front end is provided a set of Strings representing
the variables in scope. CFE gives all these variables the type  dynamic. This can lead to some types being incorrectly inferred:
Source code:
class D<T> {
  Y id<Y>(Y x) => x;
  m(List<T> l);
  foo() {
    List<T> s;
    // breakpoint here
  }
}

Expression:
m(id(s = []))

Since the type of s is seen as dynamic, CFE will output:
method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dynamic s) → dynamic
  return this.{main::D::m}(this.{main::D::id}(let dynamic _ = null in s = <dynamic>[]));

This will raise a runtime type error when entering m, whereas if the user had actually written this expression at the breakpoint, it would run ok.

@aam @rmacnak-google


Create bank transfer gateway for Komoju

I created bank tranfer gateway for Komoju.
@shioyama Please review if you have time.
Screen shots

great I'll review now

You need to add Spree::Gateway::KomojuBankTransfer to the engine initializer.

One thing that bothers me a bit is that we are hard-coding details of where a bank transfer should be sent to (account number, etc.). This information could change and anyone using an older version of this extension who did not know would have problems. I'm not sure what we can do about that until we have a payment instructions endpoint, but hard-coding it doesn't seem right somehow.

You need to add Spree::Gateway::KomojuBankTransfer to the engine initializer.

Thanks I forgot ... I add a commit.

LGTM :+1:


Add support for the rest of Gany's Mods

Rather than having to enable and disable everything manually, it would be nice if this mod supported the rest of the Gany's Mods, so it's less of a hassle for a user. Better yet, the features that overlap can all just be put into this mod, rather than having similar content across multiple mods.

The overlapping features are automatically turned off in Gany's Surface. You either have an old version, or didn't reset the config file ever since the update that added that convinience came out.
As for moving things to this mod... no way. Et Futurum is dedicated to only backporting features. I'm not adding my own
Removing the overlapping stuff from Gany's Surface would break existing worlds, otherwise I'd have done it by now. Believe me, it annoys me just as much as it annoys you XD


Laravel 10.48.16 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v10.48.16 branch.
Before merging, you need to:

Checkout the shift-ci-v10.48.16 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:warning: The Shift build servers run PHP 8.2. If you are running a different version of PHP you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP environment.


Catalog-of-things-ruby-Captsone Project ( For Code Reveiw )

Here is the link to the project repo
Ruby_Capstone_Group_Project
We are four members as below and agreed on the following assignation:
#Team member 1 :  @Elhambasir
#Team member 2 :  @CaptainBawa
#Team member 3 :  @Christelle-12
#Team member 4:   @Jawad-Nazari

Great job to create the Kanban Board, you can go ahead and start your project 👍

Thank you


Can scAtlasVAE be used for batch effect removal in any cell type?

Can scAtlasVAE be used for batch effect removal in any cell type? For instance, can it be applied to epithelial cells or stromal cells like fibroblasts? Are there any special considerations when applying scAtlasVAE to non-CD8+ T cell data?

There would be no additional considerations. scAtlasVAE can be applied to other cell types for batch effect removal just like scVI, scPoli, etc...


Add eslint integration

Eslint integration with default rulesets + codefixes for this rules.

@iAdramelk is it ready and more or less tested? can I merge it? :)

Well, it works as far as I can see, but there is a lot of changes, so I can miss something.


Update navicat-for-oracle to 11.2.15

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Merged as d4e5c206abe66c972b042b02b9f41a6430d83a04.


Use pytorch.cuda instead of nvidia-smi

Currently the best GPU (selected based on memory available) is found with nvidia-smi
It could be better to use instead methods of torch.cuda

Another possibility would be to use pynvml (see https://stackoverflow.com/questions/58216000/get-total-amount-of-free-gpu-memory-and-available-using-pytorch)


As a player, I want to communicate with the other players

[ ] Each game has a chat
[ ] Players can enter a message that is shown to the other players
[ ] Each message is shown next to the author's name
[ ] Each message is accompanied by a timestamp

On Roadmap for implemention in future Sprints


[FEATURE REQUEST] Make RabbitMQ Plugins configurable

Is your feature request related to a problem? Please describe.
Currently enabled_plugins configurations is hardcoded in jinja configuration file here.
Currently user has to edit ConfigMap to enable plugins - this should change.
Describe the solution you'd like
We should move this into defaults/configuration/applications.yml to give user possibility to adjust this list.
Additional context
This issue is connectet to RebbitMQ deployed in k8s cluster.
DoD checklist

Changelog

[ ] updated
[ ] not needed

COMPONENTS.md

[ ] updated
[ ] not needed

Schema

[ ] updated
[ ] not needed

Backport tasks

[ ] created
[ ] not needed

Documentation

[ ] added
[ ] updated
[ ] not needed

[ ] Feature has automated tests
[ ] Automated tests passed (QA pipelines)

[ ] apply
[ ] upgrade
[ ] backup/restore

[ ] Idempotency tested
[ ] All conversations in PR resolved
[ ] Solution meets requirements and is done according to design doc
[ ] Usage compliant with license

It looks like it's possible to "specify" RabbitMQ plugins:
https://github.com/epiphany-platform/epiphany/blob/develop/schema/common/defaults/configuration/applications.yml#L25
https://github.com/epiphany-platform/epiphany/blob/develop/ansible/playbooks/roles/applications/tasks/applications/rabbitmq/set-variables.yml#L20
but it is not applied to the ConfigMap 😢

Plugins for RabbitMQ can be enabled by overwriting the default values for the application.


Add BiDirectional Streaming APIs such as ChannelAcceptor

I'm still wrapping my head around how this library is structured, and it seems rather heavy with things like Katip embedded directly within it, but as best I can tell all of the rpc functions themselves are generated by the TH module. I was wondering if there are any examples in this library of bidirectionally streaming RPC commands such as https://api.lightning.community/#channelacceptor.
Would love to take this on as I was about half way through writing my own library like this but figured consolidating efforts would be a good idea.

Hello! Thanks for reaching us out, @ProofOfKeags
Basically the core of the library are modules inside this sub-directory
https://github.com/coingaming/lnd-client/tree/e2218e41d971f29adf6d63f80f6feaf032e4cb3e/src/LndClient/RPC
Generic gRPC functions are located in this module
https://github.com/coingaming/lnd-client/blob/e2218e41d971f29adf6d63f80f6feaf032e4cb3e/src/LndClient/RPC/Generic.hs
As you mentioned, there are no any bidirectional generic functions there yet, because at the moment we are adding RPC functions lazily - as soon as we need a particular function - then we add it into the library. If you want to add new kind of generic bidirectional RPCs which will be eventually spliced into specific RPC methods - definitely take a look to grpcSubscribe* generic helpers in this module. Probably prefix grpcSubscribe should change if we will have different kinds of subscriptions (at the moment we have only server-streaming kind).
Generic gRPC functions from previous module are spliced by TH module into two RPC flavours which contain identical set of RPC procedures.
https://github.com/coingaming/lnd-client/blob/e2218e41d971f29adf6d63f80f6feaf032e4cb3e/src/LndClient/RPC/TH.hs
https://github.com/coingaming/lnd-client/blob/e2218e41d971f29adf6d63f80f6feaf032e4cb3e/src/LndClient/RPC/Katip.hs
https://github.com/coingaming/lnd-client/blob/e2218e41d971f29adf6d63f80f6feaf032e4cb3e/src/LndClient/RPC/Silent.hs
We call these two flavours Katip and Silent. The only difference is that Katip RPCs are running inside KatipContext m, and Silent RPCs are running inside MonadIO m. We made such split, because for us Katip structural logging capabilities are very valuable, and KatipContext m fits very well to Tagless Final style which we are using in our codebase. It's very useful for us to have some automated log metadata like RPC name, RPC elapsed time, etc. But at the same time identical set of Silent RPCs is also provided for people who for example prefer logger different than Katip, or don't care about logging at all, or prefer style different than Tagless Final (for example just running in IO).


Gracefully handle stale maintained Animal.last_serum_sample maintained field

Summary Change Description
Caught a situation where the Animal.last_serum_sample maintained field value can be invalid due to manual data manipulation and added an error status with a message suggesting that maintained fields be rebuilt.
While I was at it, I addressed a TODO item in the same serum_validity code:

TODO: MSRunSequence.date can no longer be null, so these warnings can probably be removed

An example of the exception previously encountered is in the issue's current behavior section.  This is now what the user gets from this PR when the maintained field value is incorrect:

This is what caused the exception to occur:  The last_serum_sample should be on dev, which is still what it is in my sandbox:
In [1]: from DataRepo.models import Animal

In [2]: anml = Animal.objects.get(name="20220818M1")

In [3]: anml._last_serum_sample()

Out[3]: <Sample: 20220818_M1_mix1_T150>

In [4]: anml.last_serum_sample
Out[4]: <Sample: 20220818_M1_mix1_T150>

This is what it became on dev:
In [1]: from DataRepo.models import Animal

In [2]: anml = Animal.objects.get(name="20220818M1")
Adding propagation handler to Animal.studies.through

In [3]: anml._last_serum_sample()
Out[3]: <Sample: 20220818_M1_mix1_T150>

In [4]: anml.last_serum_sample

I believe that manual database manipulations caused the value to become None.  As you can see, the method that generates the value, still generates the correct value.  It's just that the value saved got wiped out.
Just calling:
In [4]: anml.save()

automatically fixes the maintained fields:

This PR doesn't fix the values, it just makes it fail gracefully and tell us what needs to be done to fix the problem (in the tooltip).
Note, I should have started a screen session yesterday when I ran rebuild_maintained_fields, because my session went stale and the rebuild was rolled back.  I'm going to take a quick look at the script.  I think it has a surgical option to make it only apply to certain labeled autoupdate routes.  I may also reintroduce the ability to suspend cache updates.  I'd previously eliminated that to make it better encapsulated, but I can add it to the management command...
Affected Issues/Pull Requests

Resolves #985

Review Notes

See comments in-line.
Checklist

This pull request will be merged once the following requirements are met.  The
author and/or reviewers should uncheck any unmet requirements:

Review requirements

Minimum approvals: 1
No changes requested
All blocking issues resolved by reviewers
Specific reviewers: @add_username_here

Review period: 2 days

Associated issue/pull request requirements:

[x] All requirements in affected issues marked "resolved" are satisfied
[x] All required pull requests are merged (or none)

Basic requirements

[x] All linters pass
[x] All tests pass
[x] All conflicts resolved

Overhead requirements

[x] New/changed method tests implemented/updated (or no change)
[x] Updated Unreleased section of changelog.md (or no change)
[x] Migrations created & committed (or no change)

Just as a side-note, I created a separate branch to run the rebuild without caching retrievals or updates and I ran it again, this time using the --labels option to only perform auto-updates of maintained fields with the fcirc_calcs label:

...and it too only 4 minutes.  It updated all the other animals' values as well as fields in other models with the same label, totaling 6,137 field value updates.  They appear to all have been rendered stale, looking at the console output.
I then updated all fields and it updated 6,310 fields, still in about 4 minutes.  I didn't realize that we only use 1 other label: "name" and it's just for the infusate updates, which explains why so few more fields were updated.
So it seems that the cache suspension REALLY speeds up the rebuild_maintained_fields script.  Plus, you don't get deluged with cache messages (aside from the ones for class registration).  I'll be submitting a PR shortly.


accepting Invitation from aries-cloudagent-python not working.

when i'm calling acceptInvitation(connectionId) function after storing invitation receiveInvitation(invitationJson, {autoAcceptConnection:false})to connect with aries-cloudagent-python its giving error.
Mediator Logs
alice-mediator_1  | 2020-12-11T13:56:22.688Z aries-framework-javascript  error while unpacking message IndyError: 212
alice-mediator_1  |     at Object.callback (/www/node_modules/indy-sdk/src/wrapIndyCallback.js:15:10)
alice-mediator_1  | (node:40) UnhandledPromiseRejectionWarning: IndyError: 212
alice-mediator_1  |     at Object.callback (/www/node_modules/indy-sdk/src/wrapIndyCallback.js:15:10)
alice-mediator_1  | (node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)

Sample Invitation Object from  aries-cloudagent-python
"invitation": {
    "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/connections/1.0/invitation",
    "@id": "acee0593-e777-4038-aff9-44a5ad5c9d28",
    "label": "Faber.Agent",
    "recipientKeys": [
      "GN55F4ogTgUnoMmg4sZrAGfaW5qG31sQsWY81vfmRuBS"
    ],
    "serviceEndpoint": "https://579f796519b2.ngrok.io"
  },

Can you see if it works with the PR I opened @proteche?
See #149

@TimoGlastra it works with web  and not with react-native, the only difference in my code is init agent with  rn-indy-sdk for react-native & for web i used  indy-sdk

Interesting. Gonna take a look at React Native

any updates?

@proteche could you verify again? We've made some changes to the framework and it works on our side. We're able to create a connection with ACA-Py with a mediator in between using the mobile agent: https://github.com/animo/aries-mobile-agent-react-native

@proteche could you verify again? We've made some changes to the framework and it works on our side. We're able to create a connection with ACA-Py with a mediator in between using the mobile agent: https://github.com/animo/aries-mobile-agent-react-native

Closing as I'm not able to reproduce


Add codecov and coverage threshold, hoist test requirements to setup.py

motivated by https://github.com/pydata/pydata-sphinx-theme/pull/346#issuecomment-806811360

[x] adds docs/requirements.txt to MANIFEST.in
[x] reads the requirements file during build for [test]
[x] adds a [coverage]  with codecov and pytest-cov
[x] adds a coverage threshold (set to the current value) to fail in CI
[x] uploads to codecov at the end of a CI run (only the first fail will upload, however, due to fail-fast (which is fine))

the reports get (more) useful once merged to HEAD,

and it can be configured for badges, posting a report to PRs, etc.

[x] cache wheels and node_modules

appears to knock off ~30s

Here's a build that shows the coverage threshold having teeth:
https://github.com/pydata/pydata-sphinx-theme/pull/348/checks?check_run_id=2193936885

No further changes planned, can happily be squashed.

This looks great! One quick question

If the test job fails, it wouldn't normally run the coverage upload task,
the always makes sure it does. Having coverage from a fail isn't too
useful, in most cases, but since GitHub doesn't really have any test
aggregation capabilities (like azure pipes) this leaves at least some
record of the tests having been run.

And we have a coverage overview now ;) https://codecov.io/gh/pydata/pydata-sphinx-theme/src/master/pydata_sphinx_theme/init.py


Document bool modifier

@juliusv
Fixes #204
At least this will all be simpler to explain when 0 == 0 is changed.

:+1: otherwise

Shouldn't this have gone to the next-release branch?

I didn't realise we'd started doing that, looks like we're already a bit muddled for this release. Maybe start it properly next release?

We started doing that a while ago, but we muddled it every single time. /-:

Yeah, we just never remember :-/

How about at the next release we send out a mail to the list so everyone is on board?
I didn't even know we had a next-release branch until Beorn mentioned it above.

And have it in the README.md :)


Test playing blob data in video element

So after we successfully get a blob returned as the parameter to the ondataavailable event we should be able to set it to the src of a video element to be played. Please see if you can get it working:
navigator.mediaDevices.getUserMedia({
    'audio': true,
    'video': {facingMode: 'user'}
}).then(function(getmedia) {
    var track = getmedia.getVideoTracks()[0];
    var media = new MediaRecorder(getmedia);
    media.onstart = function() {
        console.log('start');
    };
    media.onstop = function() {
        console.log('stop');
        media.requestData();
    };
    media.ondataavailable = function(blob) {
        console.log('we got a blob');
        // how to play in video element
    };
    media.start();
});

I've determined that the video tag doesn't support having a blob as the src of the video. We will need to document this quirk for plugin users.
I did some testing, talked to Max Firtman and caniuse all agree it does not work.


Benchmark different solutions for batches

Is a managed resource the best available solution or we can evaluate something else (e.g. iolists)? This decision must be driven by some kind of benchmark

While iolists could provide comparable speed when appending values, they surely will perform worse when trying to get (see #7) or replace (see #27) values since they were would have to traverse the list linearly, so I'll close this for now as "Probably not worth evaluating"


Inaccurate Voltage-based Estimation Fused with Current Integration

Hi Team,
I'm working with PIXHAWK4 equipped with the Power Module PM07.
Battery: 3S 5000mAh 50C (I always used full charged battery) - 3mOhm the internal R
Frame: Quadcopter FJ450
Motors: 2312E DJI
ESC: BLHeli 30A
Trying to configure and tune the battery module, I found issues with the Voltage-based Estimation method.
I configured all the parameters according to the guide https://docs.px4.io/en/config/battery.html but the battery remains percentage decrease quickly (from 100% to 30% in no more than two minutes). Checking the battery status at the end of my test this discharging ramp is not correct.
I configured the current compensation method and the percentage is more reliable.
You can check the log:
USING THE VOLTAGE-BASED METHOD:
https://logs.px4.io/plot_app?log=1e248411-e512-40ec-9bda-e6f5867728d7
USING THE CURRENT COMPENSATION:
https://logs.px4.io/plot_app?log=6b86e36c-4521-43e9-83f6-32088ba9a01d
What I'm doing wrong?
I checked the code and I found something strange. It seems the first value of _remaining is discarded. Im referring to this method:
`
void
Battery::estimateRemaining(float voltage_v, float current_a, float throttle, bool armed)
{ // remaining battery capacity based on voltage
float cell_voltage = voltage_v / _n_cells.get();
// correct battery voltage locally for load drop to avoid estimation fluctuations
if (_r_internal.get() >= 0.f) {
cell_voltage += _r_internal.get() * current_a;

} else {
// assume linear relation between throttle and voltage drop
cell_voltage += throttle * _v_load_drop.get();
}

_remaining_voltage = math::gradual(cell_voltage, _v_empty.get(), _v_charged.get(), 0.f, 1.f);

// choose which quantity we're using for final reporting
if (_capacity.get() > 0.f) {
// if battery capacity is known, fuse voltage measurement with used capacity
if (!_battery_initialized) {
// initialization of the estimation state
_remaining = _remaining_voltage;

} else {
// The lower the voltage the more adjust the estimate with it to avoid deep discharge
const float weight_v = 3e-4f * (1 - _remaining_voltage);
_remaining = (1 - weight_v) * _remaining + weight_v * _remaining_voltage;
// directly apply current capacity slope calculated using current
_remaining -= _discharged_mah_loop / _capacity.get();
_remaining = math::max(_remaining, 0.f);
}

} else {
// else use voltage
_remaining = _remaining_voltage;
}

}
`
I'm referring to this part:
else {  // The lower the voltage the more adjust the estimate with it to avoid deep discharge  const float weight_v = 3e-4f * (1 - _remaining_voltage);  _remaining = (1 - weight_v) * _remaining + weight_v * _remaining_voltage;  // directly apply current capacity slope calculated using current  _remaining -= _discharged_mah_loop / _capacity.get(); _remaining = math::max(_remaining, 0.f);  }
Thanks
Alessio

@MaEtUgR Might be something you can help with?

Hi Hamish,
I had some trouble configuring the battery. To compare the two methods ("Current-based load compensation" and "voltage-based estimate merged with the current integration") I fixed the drone on the ground and I used a tester to measure the current. With the throttle stick low the value shown by QGroundControl and the value measured by the tester are very different, but when I moved the stick to the center (in hovering if the drone was free to fly) the two values are equal (~8A) but in one case, that one with the parameter BAT_CAPACITY equal to 4500 ("voltage-based estimate merged with the current integration") the capacity percentage decreased very quickly.
I do not undestand this behaviour.
Thanks

@alessio-zatti Thanks for the information. I am not particularly familiar with this either, but @MaEtUgR is, and should be able to comment when he returns from his summer break.


Allow choice between using pre-shared key or not

might be good to allow a default server setting on whether we used pre-shared keys and then also a setting on an individual client basis.

What is the point of not using the preshared key ?
If there is a real impact we can consider adding the option.

in looking into it it seems there is some debate on whether this extra layer of encryption adds overhead and slows the connection. some people prefer not to use preshared keys while others do. i could whip up the change - probably as easy as the last one i made was :)

The symmetric encryption (preshared key) is always much much more fast that asymmetric encryption (public and private keys). Now that said if someone can show me that the impact is significant im ok to accept the PR. Meanwhile as a security engineer i prefer to keep preshared key

after reviewing further i would have to agree with you. I am not a security engineer either so would defer to you :)
looking at the docs it appears that even if you dont specify a pre-shared key it still does that extra symmetric encryption layer, just with a zeroed out key. so i would imagine there is zero impact difference between specifying one and not.
thx!


Using object properties with InputText

I know I can pass a string variable as ref to an InputText. I cannot pass an object property as ref to InputText. What I do now is just assign a string variable to the object property and then pass that string variable to the InputText. This works but then I have to reassign that string variable back to the object property when there is a change. Is there a better technique that I can use? I'm very new to ImGui.

That’s the only way as far as I know. Normally I do not create properties if I know something is gonna be used in ImGui.

@zaafar I come from xmal and winform so I'm still use to object binding. This immediate mode gui is new to me. I was hoping there is some magic technique that someone can tell me about.

I'd suggest creating a wrapper function if you want to pass a non-string object to the InputText function. Then, you only need to implement the reassignment logic once.

I'd suggest creating a wrapper function if you want to pass a non-string object to the InputText function. Then, you only need to implement the reassignment logic once.


Investigate Zowe Embedded help

Explore options for embedded help to enable customers who have limited internet network to access doc. Need to investigate the possibilities and efforts of each option and make decision.
The following options are under investigation:

F1 help in MVD
Package doc as a plug-in and integrated into MVD
Help displayed in search bar in MVD

Some thoughts from Sean:
Sometimes browsers have PDF viewers, but other times they don’t… PDF is a format that can be used to spread viruses so companies may disable PDF-in-browser support. So, I am thinking PDF is not the format to use for presenting in MVD.
Probably, MD would make sense as an alternative.
But, either way, we do not yet have an App meant for this, so we need to think about what requirements it would have, such as:
F1 help I think would re-use the same App, you’d just have different files for different topics.
The search bar doesn’t exist yet, but the idea for it is that Apps can be capable of responding to search requests, such that the result they give can be opened within that App.
So, again we’d re-use this hypothetical App such that when you search, it can pick out results that when clicked in the search UI, would open that App with that document.

An update for this issue:
We developed a Zowe Doc Bot app on Zowe Desktop leveraging IBM Watson. Users can install it and search docs in that app. The URL for the bot is: https://zowedocbot.mybluemix.net/#version-1-3-0-june-2019
When it's on Zowe Desktop, it will look like this:


feat(graph-gateway): report subgraph topology info errors

Part of https://github.com/edgeandnode/gateway/issues/791


NuGet Package 3.0.4 Application cannot start

I upgraded from NuGet package 2.2.0 to 3.0.4 in a Blazor WASM project targeting .NET 8.
I followed the steps in the quick start.

I updated my index.html file with the new JavaScript snippet

I updated my App.razor file, adding the new Init component at the very top of the file.

I updated my Program.cs file, changing the way I instantiated Application Insights

This is the error I get in my console when the application tries to start.  (Note the application never starts, and all I have is just the yellow bar of death)

I tried even adding a line in my csproj to exclude the assembly from being trimmed, although right now I'm not even having the assembly trimmed because I'm running in debug mode.

I also tried adding this to the top of my Program.cs just to make sure that the Config class didn't get trimmed out

That did change the error logged in my console, but the end result is still the same. The application will not start, and here's the new error in the browser console.

As soon as I rollback all of the changes and go back to version 2.2.0 of the NuGet package, everything works fine.
Updated to add that I also did this because the installation instructions no longer mention having to do it.

Same result.
Please help? :)

I'm unfortunately not able to reproduce this.
Can you try to reproduce the error with the sample project?
https://github.com/IvanJosipovic/BlazorApplicationInsights/tree/master/samples/BlazorApplicationInsights.Sample.Wasm

I had this exact issue. Solved it by deleting the bin and obj folders.

Have you tried to use a connectionString instead of an instrumentationKey to see if it works any differently ? Try adding the connectionString statically first (before getting it from builder.Configuration). If possible, remove the extra elements you added such as commenting the script, the trimmer and DynamicallyAccessedMembers.


Article.text not working

I'm trying to parse the text from this website, but all i'm getting is an empty value.
`article = feedparser.parse("https://news.google.com/news?q=apple&output=rss")
link = opengraph.OpenGraph(article['entries'][0]['link'])
image = link['image']
print (link['url'])
buildit = Article(link['url'])
buildit.download()
buildit.parse()
print (buildit.text)`

@bryancresswell I get the same issue - trying to debug it now

That url returns an RSS feed in XML format.  In other words, it's not an "article" page suited for this type of article extraction.
I suggest checking out feedparser if your intention is to work with RSS feeds.
https://github.com/kurtmckee/feedparser


June @2nd Review Checklist

@owagaantony

[ ] Simple Search (Home Page):

[ ] One has to double click in order to be allowed to enter a search term; Fix that
[ ] Fix the instant results styling
[ ] The search box should me made better

@jason-wanjohi
@ngash

[ ] GIS

[ ] Bring the GIS loading page to under 500ms
[ ] Investigate the behaviour of the overlays in GIS
[ ] Remove the drag  in the facilities drill down page

@liyocee

[ ] Advanced Search

[ ] Fix auto focus
[ ] Add filter by owners
[ ] If one selects a ward from the GIS drill down page when one goes to the advanced search page,
the ward constituency and ward county should be pre-selected
[ ] When one clicks the facilities link on the navigation menu, the advanced search filters should reset
[ ] Optimize loading of all facilities page (Advanced search page)

@owagaantony

[ ] Facility Rating

[ ] Investigate why when a facility is rated, the rating sometimes appears as 0
[ ] Show the total number of ratings done. e.g 100

@jason-wanjohi

[ ] Ensure there is fallback plan for old/unsupported browsers

[ ] Have logos for the 4 main browsers.
[ ] The logos should link to a browser's official download page

@ngash

[ ] Fix OAUTH issues

@jason-wanjohi

[ ] Improve Overall Performance

[ ] Sprite images

[ ] Deployment

[ ] Optimize Nginx
[ ] Enforce Nginx listens for HTTPS only (Do not turn on the Django HTTPS for development's sake)

@jason-wanjohi will handle spriting and deployment issues?
On Tue, Jun 2, 2015 at 2:25 PM, Brian Marika<EMAIL_ADDRESS>wrote:

@owagaantony https://github.com/owagaantony

Simple Search (Home Page):

One has to double click in order to be allowed to enter a search
term; Fix that
Fix the instant results styling
The search box should me made better

@jason-wanjohi https://github.com/jason-wanjohi

GIS

Bring the GIS loading page to under 500ms
Investigate the behaviour of the overlays in GIS
Remove the drag even in the facilities drill down page

@liyocee https://github.com/liyocee

Advanced Search

Fix auto focus
Add filter by owners
If one selects a ward from the GIS drill down page when one goes
to the advanced search page, the ward constituency and ward county should
be pre selected
When one clicks the facilities link on the navigation menu, the
filters should be reset
Optimize loading of all facilities page(Advanced search page)

@owagaantony https://github.com/owagaantony

Facility Rating

Investigate why when a facility is rated, the rating sometimes
appears as 0
Show the total number of ratings done. e.g 100

@jason-wanjohi https://github.com/jason-wanjohi

Ensure there is fallback plan for old/unsupported browsers

Have logos for the 4 main browsers.
The logos should link to a browser's official download page

@ngash https://github.com/ngash

Fix OAUTH issues

@jason-wanjohi https://github.com/jason-wanjohi

Improve Overall Performance
-  Sprite images
-
Deployment
-  Optimize Nginx
-  Enforce Nginx listens for HTTPS only (Do not turn on the Django
HTTPS for development's sake)
—
Reply to this email directly or view it on GitHub
https://github.com/MasterFacilityList/mfl_web/issues/72.

--
Founder & CTO,
Savannah Informatics Limited
No. 11A, off Kabarnet Road
Cellphone: +254-723-002959
<EMAIL_ADDRESS>@ngurenyaga

@ngurenyaga  Fixed the assignment issue.


Fix preset image

This will address issue #22

 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.Rauli Leevi Sakari Puuperä seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Option for symbolicated traces

Is it possible to add symbols or the option include to for improved crash tracing/debugging?
Seems to be how libcronet crashes manifest for us in crashlytics:

Hi Owen, cronet's binary symbols are public available at here. So you can upload the symbols to your crashlytics depending on the version of cronet you're using. This might be harder when using cronet from play-services.
That being said, it is not your job to symbolize these native crashes as you can't fix them anyway. You should send the stacktrace our way with reproduction steps so we can triage.


[#2107] Use the builder and common fabric8 base classes for User

This change refactors the "User" model to use the generated builders
instead of custom ones. Re-use the fabric8 ObjectMeta definition. And
simplifies the JSON parts a bit.
This also prepares the way to store ownerReferences. I have an initial version for that with the MessagingUser, which seems to work with the IoT project.

I would prefer to just drop the VirtualBeanPropertyWriter and CustomResource stuff. Since we know upfront what resources we have up front, having a static initializer like in AdminCrd is less magic and easier to read IMO.

I know there is a bit of magic included. But right now the information is repeated and spread all over the place. A future change might easily break things. This way you only have one location where stuff is happening and one location where the information is.
If your concern is performance, then I think this can be improved to resorting to a bit of static information, like the CRD constant.

I pushed a commit which removes the annotation processing, but still tries to keep all information and logic in one place. Adding a UserCrd in the process, just to show how this would work.
if this is ok, then I would start working on refactoring the other parts as well, creating a common model artifact.

Excellent work @ctron , thanks! By 'core' do you mean Address and AddressSpace? They were written before fabric8 was used, so they are using the 'Builder' style and with explicit serializer/deserializer classes for the 'v1' version. IMO they should be converted to the same type of model-mixed-with-serialization as the other types, but take care to about the nitty gritty details on the Serializer/Deserializer classes which handles some backward compatibility cases.
I'm fine with leaving those as is for now if you want follow up that work in a second PR.

Thank you! I saw there seems to be some glitch in the current PR, both CIs fail. I will fix that. And then I would say it would be a good point to merge this indeed.
I would still need the ObjectMetadata in the AddressSpace as well. So I will need to work on that. However I am not sure if I will manage to get this "merge ready" by the end of tomorrow. After that I will be out of office until early next year.
I would prefer to finish up this PR, and then get it merged. So I can start working on the rest, when I come back from vacation.

I rebased after the merge of e069e4d41abe5504b4c4dfc5e0477ff55619a37f

Rebased after the merge of #2113


marvin: 23.4.0 -> 23.12.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/marvin/versions.
meta.description for marvin is: A chemical modelling, analysis and structure drawing program
meta.homepage for marvin is: https://chemaxon.com/products/marvin
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 23.12.0 with grep in /nix/store/xf9sz32fagrg425ya80d8x3mj0v553zf-marvin-23.12.0
found 23.12.0 in filename of file in /nix/store/xf9sz32fagrg425ya80d8x3mj0v553zf-marvin-23.12.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
marvin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xf9sz32fagrg425ya80d8x3mj0v553zf-marvin-23.12.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A marvin https://github.com/r-ryantm/nixpkgs/archive/6a927f93f1d9b1e35af775c09f24ca2f026040ae.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/6a927f93f1d9b1e35af775c09f24ca2f026040ae#marvin

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xf9sz32fagrg425ya80d8x3mj0v553zf-marvin-23.12.0
ls -la /nix/store/xf9sz32fagrg425ya80d8x3mj0v553zf-marvin-23.12.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

marvin

Maintainer pings
cc @fusion809 for testing.

Result of nixpkgs-review pr 260341 run on x86_64-linux 1

1 package built:

marvin

Could maybe also benefit from a mainProgram


Add index.md to IQ# magic commands TOC

This file is auto-generated. https://github.com/microsoft/iqsharp/pull/380 fixes the generating code, but we can also add the link here manually to fix this in the meantime, until the next QDK release. Fixes #1145.

Docs Build status updates of commit 6c0ab78:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/iqsharp-magic/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Support ".yaml" file extension in BuildCatalog

I had an issue with Apps in my custom AppStore not being listed in the Store.
It turned out that I accidentally had created files named "docker-compose.yaml" instead of "docker-compose.yml" (without the a).
This lead me to some long, unnecessary debugging...
Since both file extensions are officially supported by docker, I extended the code here to accept both.
This issue is kinda linked to: https://github.com/IceWhaleTech/CasaOS-UI/pull/188

Yes, I did a quick search and this seemed to be the only place where this change would be relevant. Everywhere else it should still work with the default constant.


feat: update return method component in swap and return modal

What

Updated the return method component of the create swap and request return modals.

Why

To unify these with the create claim modal.

How

Reuse the claim component across the two other modals and ensure that it updates the refundable amount (request return) and total balance (create swap)

Solved in #325