Mobile iOS poor performance solved with CSS.

I spent hours chasing down what ended up being one line CSS - sharing here for others.
In collection mode, the same content would be jerky and slower on an iPhone in Chrome.
I finally narrowed down the solution, which has been posted here before - perhaps not specific to collection mode.
Is there a better 'baked in' solution for a future version?
The magic fix:
.openseadragon-canvas:focus {
	outline: 0 !important;
}

Example WITHOUT css.
https://chattanoogahistory.com/collection_test_one.php
Example WITH css.
https://chattanoogahistory.com/collection_test_two.php

Yeah, I don't think it has to do with collection mode. Clearly we've discussed this issue before: https://github.com/openseadragon/openseadragon/issues/1408 https://github.com/openseadragon/openseadragon/issues/893 https://github.com/openseadragon/openseadragon/issues/1569 https://github.com/openseadragon/openseadragon/issues/1753 https://github.com/openseadragon/openseadragon/issues/1938.
We don't want to just remove the focus outline because it's an accessibility feature. That said,  I don't think it's relevant on mobile, so maybe what we should do is detect mobile and remove it on that case.
Thank you for bringing it back to attention! I don't suppose you'd be interested in working on a patch?

If I had skills in such, I'd gladly step up. However, I struggle to piece together a working modification to a script.

@SamHall No worries! Thank you again for bringing it up :)

No worries! Thank you again for bringing it up
https://www.mobilezmarket.com/


Tune historian.el settings

I think recency should have more weight.

I imagine this will require further tweaking, but it's a start.


Bug: Misalignment Footer

Fixes #369 #371 Now footer will be removed from login and signup page and form will be not misaligned now:)
@skmirajulislam Please review my PR and merge accordingly:)

@skmirajulislam I resolved 2 issue in single pull request please give to me credit for both issue:)

@skmirajulislam  I resolved 2 issue in single pull request please give to me credit for both issue:)

@skmirajulislam Please review:)

@skmirajulislam Do you want the footer in bottom of login and signup.?

no wait till i resolve internal conflict server side, everything is fine

Ok after resolving please merge my PR:)

@skmirajulislam Please review again now conflict are resolved.

Wait 🫷🫷🫷

There is a big issue on the server side

writing to bring to your attention an issue with the recent changes made in the repository. Unfortunately, the current dependency updates have caused a fatal error in the Vercel runtime, resulting in the entire repository crashing.
To resolve this, I kindly request that you update the current dependency by using git pull or, if necessary, fork the repository anew. Please make the required changes and raise the PR carefully, ensuring that it addresses the crash issue in the runtime.

Ok i fork again and again create a PR

#430 Please accept the PR


refactor: extract realpath native into a separate module

Summary
See https://github.com/facebook/jest/pull/5085#discussion_r157338862
Quick and dirty extraction

Test plan
Green CI

Codecov Report

Merging #5097 into master will decrease coverage by 0.06%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #5097      +/-   ##
=========================================
- Coverage   60.66%   60.6%   -0.07%
=========================================
  Files         201     201
  Lines        6694    6688       -6
  Branches        4       4
=========================================
- Hits         4061    4053       -8
- Misses       2633    2635       +2

Impacted Files
Coverage Δ

packages/jest-util/src/index.js
100% <ø> (+9.52%)
:arrow_up:

packages/jest-runtime/src/script_transformer.js
84.52% <100%> (-2.31%)
:arrow_down:

Continue to review full report at Codecov.

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

Thank you!


apt-get asking questions during image build

I think this can be fixed with the --assume-no parameter (IIRC this has to be put in front of the package name).

Thanks @rodizio1 .
I will test this parameter.
But I don't remember the name of the package that was asking a question with apt-get.

I've tried with :
 DEBIAN_FRONTEND=noninteractive sudo apt-get -yq install --assume-no tshark
in stages/03-Packages/00-run-chroot.sh
But it doesn't change anything.
I believe the yes/no question is due to the automatic installation of a dependency.
I  don't know which, but will continue to investigate ...

I'm sorry, I can't reproduce the yes/no question on the live image.
I've removed tshark and all its dependencies, then reinstalled it.
But I didn't get the yes/no question.
I can't find where it's coming from ...

I've fixed it !!
DEBIAN_FRONTEND=noninteractive sudo apt-get -yq install --assume-no wireshark-common
I'm preparing a PR for it, and 2 more issues ...

Can this issue be closed now?

DEBIAN_FRONTEND=noninteractive sudo apt-get -yq install --assume-no wireshark-common
No, it doesn't work.
I did believe it, but the packages wasn't installed because of an other problem ...

Not so sure this is such a high priority issue. It’s annoying that you have to answer a question but not that terrible in my opinion.
On another note, do we need/want wireshark at all?

Not so sure this is such a high priority issue. It’s annoying that you have to answer a question but not that terrible in my opinion.

I agree, that's not terrible.
The main drawback is that one can't let the process goes to the end without answering to the question ...

On another note, do we need/want wireshark at all?

I think OSD wasn't working without that, but not sure.
We should try again to be sure ...

I don't think the OSD needs wireshark, but that's easy to test.
As i recall wireshark is used mainly for debugging purposes, but it might also be used in setting up the wifi cards. I'll look into this in the near future. For now, try removing the package and compiling the OSD on a live image.

@pilotnbr1 Did you test removing wireshark-common and tshark with your 722n and 036nha ?
If it works for you, I think we could remove them from the script.

I have not tried yet. Ill start a build and give it a test.

I finally tested this (wife is back after her trip so I am busy again) and no problems removing wireshark and tshark.


Updates to RFC2459, RFC5280, and RFC6211

This depends on the yet-to-be-released pyasn1 implementation of WithComponentsConstraint.  Please adjust the requirements.txt once pyasn1 is released.
Updates RFC6211 to use WithComponentsConstraint.
Updates RFC2459 and RFC5280 for TODO in the certificate extension map.

Thank you!

Codecov Report

Merging #60 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #60      +/-   ##
=========================================
+ Coverage    99.2%   99.2%   +<.01%
=========================================
  Files          58      58
  Lines        4642    4643       +1
=========================================
+ Hits         4605    4606       +1
  Misses         37      37

Impacted Files
Coverage Δ

pyasn1_modules/rfc2459.py
100% <ø> (ø)
:arrow_up:

pyasn1_modules/rfc5280.py
100% <ø> (ø)
:arrow_up:

pyasn1_modules/rfc6211.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Can't capture  alert ,which is tiggered by the key word "Execute Javascript"

You can captrue alert which is triggered by some event,bu you can't get it when triggered by "Execute Javascript"
the RF scripts is as follow:
*** Settings ***
Library           Selenium2Library
*** Test Cases ***
alerttest
open browser    http://localhost:7272    ie
click button    button
Alert Should Be Present    Hello!
AlertTriggeredbyJavascript
sleep    1s
execute javascript    window.f()
Alert Should Be Present    Hello!

and the second test case failed!

+KEYWORD: BuiltIn.Sleep 1s
Documentation: Pauses the test executed for the given time.
Start / End / Elapsed: 20120222 10:21:50.109  /  20120222 10:21:51.109  /  00:00:01.000

+KEYWORD: Selenium2Library.Execute Javascript window.f()
Documentation: Executes the given JavaScript code.
Start / End / Elapsed: 20120222 10:21:51.109  /  20120222 10:21:53.375  /  00:00:02.266
-+
KEYWORD: Selenium2Library.Alert Should Be Present Hello!
Documentation: Verifies an alert is present and dismisses it.
Start / End / Elapsed: 20120222 10:21:53.375  /  20120222 10:21:55.046  /  00:00:01.671
+KEYWORD: Selenium2Library.Capture Page Screenshot
Documentation: Takes a screenshot of the current page and embeds it into the log.
Start / End / Elapsed: 20120222 10:21:53.390  /  20120222 10:21:54.281  /  00:00:00.891

+KEYWORD: Selenium2Library.Capture Page Screenshot
Documentation: Takes a screenshot of the current page and embeds it into the log.
Start / End / Elapsed: 20120222 10:21:54.281  /  20120222 10:21:55.046  /  00:00:00.765
10:21:55.046 INFO
10:21:55.046 FAIL There were no alerts
IS there any difference between the tow way?
Here is the HTML under testing :
[input type="submit" name="button" id="button" value="提交" onclick="f()" /]
[script type="text/javascript"]
function f()
{
alert("Hello!")
}

[/html]

this issue is continuing bugging me ,plz help to solve it.

This issue is old and has had no action on it for several years. If an issue still exists please open a new issue.


create CC website popups in support of European copyright "action day" March 21

CC has agreed (approved by Ryan) to participate in the March 21 day of action (https://edri.org/join-the-ultimate-action-week-against-article-13/) on the EU copyright reform. On that day several prominent companies and orgs such as Wikimedia Germany will “go dark” or otherwise protest Article 13 of the proposed EU copyright directive. Some of the websites will do blackouts, or put up a banner that informs visitors about the issue, etc.
We would like to have popups on the CC site that does this. The popups would include short advocacy text and likely a link for Europeans to contact their MEPs before the vote (happening 26 March).
We would want one popup for the homepage, and another for the deed pages (which I know is running on separate infrastructure). For the deed popup we were thinking that we could use the current left sidebar sliding popup on the English deed pages and replace the existing fundraising text/links there with text and any call-to-action links on the EU copyright action.
The timeframe would be to launch this 21 March midnight EU time and run for 24 hours.
@tvol and @little-wow will prepare text options, @ryanmerkley will review before going live.

https://drive.google.com/drive/folders/16q3TK_XlHGcysQHWdEwt3Pr6AxuIU_xe
https://docs.google.com/presentation/d/1j9TQ8ezyQ61erZakaYKloShAXZI9xBoXuEy2ILLfJ58/edit#slide=id.p

We discussed on Slack and the conclusions were:

We will aim to use a banner on the homepage.
The deed pages take higher priority than the homepage, @little-wow can edit the existing homepage popup if needed.
No changes will be made to FAQ, the platform toolkit, or the license chooser.

ok thanks to everyone for helping with this. the priority is the deeds, and here's where we are so far:

@hugosolar designed two versions of the popup that will replace the existing fundraising text. one version is for desktop and one is for mobile. the "act now" button will link to https://saveyourinternet.eu/act/

the popup will appear on all versions of all deeds

i suggest this popup be enabled at 0400h UTC on 21 March (2100h Pacific March 20) and run until 0400h UTC on 22 March

@hugosolar @TimidRobot please update this issue once you agree on when this will be deployed/undeployed.

ok thank you @TimidRobot @kgodey @hugosolar is there anything else you need from me on this?

I think we're good @tvol. @TimidRobot will deploy the changes tonight.


Packaging to Java behind a corporate proxy.

:question: Guidance
Affected Languages

[ ] TypeScript or Javascript
[ ] Python
[X] Java
[ ] .NET (C#, F#, ...)

General Information

JSII Version: 1.16.0 (build 99a3413), typescript 3.9.7
Platform:
Darwin - 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6<IP_ADDRESS>~1/RELEASE_X86_64 x86_64

The Question
I'm trying to run npm run build with with a java block in targets, which executes the following command in one of its steps:
"mvn --batch-mode deploy -D=altDeploymentRepository=local::default::file:///var/folders/tq/kpf08kxn6pl0b92jn8rmr9xc0000gn/T/npm-packLPDcsR --settings=user.xml
This does however override the settings in my ~/.m2/settings.xml file, which changes the default-repository to a maven-central-proxy provided for developers.
As a result I am unable to download the required artifacts:
Could not transfer artifact org.apache.maven.plugins:maven-source-plugin:pom:3.2.1 from/to central (https://repo.maven.apache.org/maven2)
Is there any way for me to configure jsii-pacmac to still use my custom artifact repository?

Hi, has anyone had the time to take a look at this? Do you need some additional information?

Hi, has anyone had the time to take a look at this? Do you need some additional information?

Hi, I'm still facing this issue, does anyone have some guidance for me?

I am also experiencing this issue. Any updates?
typescript 3.9.7
jsii 1.53, mvn 3.2.1
Java 11.0.12
mvn 3.8.4
node 14.5

@Marty-Me


Differences from the paper

Hello Author ,
I wanted to know what are the differences of this repo from the main paper (all differences) , Because I might be able to help to make it as close as possible to the original paper.
I believe miipher has 4 unique models which are (Non-Attentive Tacotron) And (w2v-bert) and (PnG-BERT) and (wavefit) and all of them are closed source. so what were the replacements for those.
also you may inform me if I'm missing something.
Thanks in advance.

Thank you for having an interest on my work.
I will add a specific section regarding the differences from the paper on README.
I'll let you know when it's done.
By the way, I think non-attentive tacotron on the paper is only used for the evaluation purpose.
Therefore, It is not a building block of Miipher in my understanding.

I have added a specific section regarding the differences from the original paper. Please check it out. Feel free to reopen this issue if I'm missing something.

Thank you for insightful comments.
In my opinion, the use of LibriTTS-R is leading to poor performance.
I have noticed while listening thorough the speech clips of LibriTTS-R but there are some speeches which google's miipher has failed to restore.
I have around one thousand hours of japanese clean speech. I will try to retrain the model using that.
If that doesn't work, I will check the alternatives you have mentioned above.
The computational resource I have is limited so I will try one by one.
It might take some time but please be patient.

@francqz31 do you have this special vocoder anywhere. I'm currently working on training wavefit with some help. Would be interested in hearing some samples from your private vocoder


Exceptions in nested handlers are not reported

$p = new Promise();
$p->then(function () {
    $inner = new Promise();
    $inner->then(function () {
        throw new \RuntimeException('This exception should not be trapped');
    });
    $inner->resolve(true);

    print_r(['state' => $inner->getState()]);

    return $inner;
});
$p->resolve(true);

print_r(['state' => $inner->getState()]);

In this scenario, the RuntimeException should not be trapped. Both promises are correctly fulfilled but the exception is never seen.
Expected Result

RuntimeException is thrown.

Current Result

RuntimeException is never seen.

A promise is meant to encapsulate success and failure, the latter case often being represented as an exception. This is part of the A+ spec.
You can unwrap a promise by calling wait, which will throw any exceptions contained in the promise. Exceptions will also be passed to your onRejected handler.

@jeskew updated my test case to include wait calls. No change.

In your example, you're waiting on the promise that was resolved. The promise that has the exception thrown and is rejected is actually a different promise that is returned by the then method of the resolved promise.  You'll need to wait on the dependent promise in order to be affected by it's error when waiting. Something like this:
$p1 = new Promise();
$p2 = $p1->then(function () {
    $inner = new Promise();
    $inner->then(function () {
        throw new \RuntimeException('This exception should not be trapped');
    });
    $inner->resolve(true);
    $inner->wait();

    print_r(['state' => $inner->getState()]);

    return $inner;
});
$p1->resolve(true);
$p2->wait();

@mtdowling the code you provided still swallows the exception completely and no promises are rejected. While this scenario could be interpreted under <IP_ADDRESS>.4.1 it is not actually the same, because no promises are every rejected with the current test case.
The bottom line is that completely trapping an exception in a way that it cannot be seen is a huge problem. In this test scenario, the exception will never appear and all promises are fulfilled. The exception is not captured as a rejection reason and effective disappears into nothingness.

Oops, wrong button.

Looking deeper into the example, you're making the same mistake in your inner promise -- you're waiting on the promise that is fulfilled successfully rather than waiting on the promise created with the then function that is rejected by the exception. We should definitely not throw that exception because it wouldn't be following the promises spec.

Okay, so my test scenario should look like:
$p1 = new Promise();
$p2 = $p1->then(function () {
    $p3 = new Promise();
    $p4 = $p3->then(function () {
        throw new \RuntimeException('This exception should not be trapped');
    });

    $p3->resolve(true);

    return $p4;
});
$p1->resolve(true);
$p2->wait();

Which does correctly trigger the exception.

Ah yes, that looks better.

@mtdowling the problem was the my code needed to be able to collect all of the promises (and promises created by those promises) and unwrap them all at once. My solution is ProxyPromise.


Add "wrap_count" to server scripted dashboard

Update Influxdb_tools/create_ts_databases to include CQ for wrap_count (ats.proxy.process.cache.volume_x.wrap_count)

Upate Influxdb_tools/sync_ts_databases to sync wrap_count data

Update scripted dashboard to include scripted data. (It is a counter)
https://grafana-url/dashboard/script/traffic_ops_server.js?which=

Will Traffic Stats pick this field up and put in influxDB? Been working on getting this information over here as well, but then the wrap_count resets after traffic server is restarted ( although that's not been consistent ).

This issue has been moved to Jira here:  https://issues.apache.org/jira/browse/TC-2


Paste selection from system clipboard in Vim doesn't work

Which operating system does the issue occur on: macOS (10.13.3 (17D2047))
I've double checked the issue on iTerm2 with the same vimrc config and Vim version and it works as intended. I also installed latest NeoVim, it also work with it Alacritty
But I can't anymore paste anything from system clipboard to Vim (tried "*pas well) in Alacritty. I think something is different on Alacritty but I'm not able to find it.
Here is my vimrc: https://github.com/fatih/dotfiles/blob/master/vimrc
Here is my alacritty.yml: https://github.com/fatih/dotfiles/blob/master/alacritty.yml
Let me know if you need anything else.

Seems like it was a regression on Vim side. Is fixed when I updated to8.0.1450


Add GoDoc Widget

This change is

@foxish @eparis can you please help me to re-trigger the CI, I believe this CI failure is not because of any code change, there might be an issue with Travis env


How do i pass objects to adapter class

what approach can i use to pass custom objects(List/Set/Map) while setting adapter,so that i can use inside my bindviewholder() method for some processing.?

@SheikhZayed, you will have to pass a List.
When item.bindViewHolder is automatically invoked you don't need the list, the data content is already inside the item itself.

no,i didnt mean that list which needs to be populated,in my last application i had a situation where i passed a set to the adapter class to do some processing before populating the view inside bindViewHolder();
I have passed this set while setting the adapter from the activity.
I like your library,but if i were to use something like that,what could be the best way ?

The constructor accepts only List collection.
If you have a Set, you have to transform it to List: new ArrayList(setOfItems).

So,Basically can i have like this ..
FlexibleAdapter adapter = new FlexibleAdapter<>(firstList,secondList,andSomeOther);
recyclerView.setAdapter(adapter);

Not directly, you have to extend my FlexibleAdapter and to create a custom constructor to accept an array of lists/sets. In this constructor you build a List object to pass to the super() constructor.

Ok,this was the solution that struck my mind..
Anyway,thanks for addressing my issue :+1:

Sorry, what I wrote is not valid.
Since you must call super as first line, you have to map your Sets to a List before creating the Adapter. At this point you don't need to extend my Adapter. Just create a private method somewhere where you build the List object.

can u pls elaborate your point ?

Sure, since you need some line of code to map sets to the List object adding all sets in a cycle for before passing the list to the final adapter, you need to do this operation outside the constructor.
Java wants the call to super() as first statement, so you can't write any code before invoking super() in the constructor.

Ok,thanks


Webpage not loading - Android

Getting the error
{ canGoBack: false, canGoForward: false, code: 3, description: "SSL error: The certificate authority is not trusted", loading: false, target: 4455, title: "", url: "https://myurl" }
in onError event.
    "react-native": "0.61.5",
    "react-native-webview": "^10.3.2",

same here,i when i include uri in my webview using native-webview, page was like blank, then i open it as web, and i inspect, there was no div or something which holds the webview content, it was like   empty..
solve this issue please

same thing happens here - tested locally and appears to be solved by https://github.com/react-native-community/react-native-webview/pull/1466
@thephpjedi any idea when that fix could go out? 🙏

@Stefanama No idea, up to maintainers. I pinged again in #1466 to see if it can get merged.

thanks a lot @thephpjedi! 😄
yep, that's fine, unfortunately that resource is not under our control but also don't need it on the app's webview (intercom in this case, which sounds weird, makes me think issue might be something else). Your fix works perfectly for what we need 💪

I'm having an issue with Android truncating the www from my urls? Is this due to: https://www.techrepublic.com/article/google-finally-chops-www-from-chromes-address-bar-despite-backlash-over-confusing-change/
Is react-native-webview chopping off www because the default browser is Chrome?

@alexpchin This issue is unrelated to your question. Please open a new issue.

@thephpjedi Are you sure that your SSL is a wildcard and covers www. and no www? This is why you might be getting an error.

@alexpchin: I think you meant to send the comment to someone else. I'm not OP.

I'm Stuck in between my project, and only 2 days are remaining for its deadline ends, first i made by websites on wordpress that is quite slow and i plug webview using andriod studio using java, it works but tooooo slowly :( and also when i rotate, it got app is stopped working, when i minimize or maximize, ok fine, then i use cordova and i plug iframe, quite good but x-frame CSP policy warnings, then i used kordular, they work same as other, all was good, but when i pressed on external link they just carried aways, like playstore, amazon app, zoom app, url to inside webview, i want them to open - a open with option, but nothing solved, at the end, i m good with react so i started react native, but wth these WEBSITE LOADING ERROR ???? :''(
help me jesusssss

@Unity-Group-BFGI not sure about your internal practices but as you're on a tight deadline, first thing I'd suggest is to apply that fix I linked locally and see if that solves your problem otherwise you risk waiting on a fix that will be useless for your use case.

25k is very much for me in india, i will not get 25k rupee :(, well i find onemore thing use full i m using flutter now, and i created , its works fast then android studio java, and i made backbutton, forward button, reload button and with there animations :D , so maybe my problem will solve by morning, and for external apps links, i m using a swatch button on my right and embading a direct link and open it as external broswer :P

Has anyone figured this error?
The URL opens ok in the browser - but in webview throws this error for:
https://fonts.googleapis.com/css?family....

@Titozzz @jamonholmgren - any chance @alesandroortiz's fix could be looked at? I'm getting SSL cert errors from a 3rd-party tracking pixel loaded on my page.

I'm still getting this ssl error, and I'm using latest version (11.6.4).

Any Solution ?

I have the same issue and I'm using the latest version (11.6.4) too.
The ios version is fine but the Andriod version is running with the SSL error.
No luck when adding "ignoreSslError={true}" on WebView, and got a blank page.

Same issue here, on Pixel 4 emulator

I am getting this issue
React Native version: 0.76.1
React Native Web view: 13.12.4


cmd/go: undocumented behaviour for go build -mod=mod with no go.mod

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

$ go version
1.18.10

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
darwin/arm64
What did you do?
I noticed I can build an executable from a bare directory (no go.mod) with go build -mod=mod:
go build -mod=mod -o xyz.exe github.com/some/go/tool
This does not work without -mod=mod: no required module provides package github.com/some/go/tool: go.mod file not found in current directory or any parent directory; see 'go help modules'.
At https://go.dev/ref/mod#build-commands I can see the following for -mod=mod:

-mod=mod tells the go command to ignore the vendor directory and to automatically update go.mod, for example, when an imported package is not provided by any known module.

And,

The -mod=mod flag instructs the go command to attempt to find new modules providing missing packages and to update go.mod and go.sum.

It is finding the module providing a missing package, but it's not updating go.mod (there isn't any), and it's not spelled out in the documentation which go.mod it's using in the first place.
I asked about this on stackoverflow, and someone suggested that he would never have expected this to work and it might be a bug. I find this useful and I'd like to retain this behaviour, but would like to see more clarity in the documentation.
What did you expect to see?
Documentation about this use case
What did you see instead?
No documentation about this use case

/cc @bcmills

I, too, would not have expected that command to work. 😅
@craig65535, I'm curious: why go build -mod=mod -o xyz.exe github.com/some/go/tool instead of go install -o xyz.exe githhub.com/some/go/tool@latest?

apparently this (go build -mod=mod pkg) was introduced in 1.17

This is indeed a bug.
We're supposed to avoid resolving missing imports if we don't have a module root:
https://cs.opensource.google/go/go/+/master:src/cmd/go/internal/modload/load.go;l=1138-1141;drc=89a457844f2b39794f9a8c16f008d3825f1ab455
However, in Go 1.17 (for module graph pruning) we started preloading root modules to maintain the graph pruning invariants:
https://cs.opensource.google/go/go/+/master:src/cmd/go/internal/modload/load.go;l=1088-1104;drc=89a457844f2b39794f9a8c16f008d3825f1ab455
And preloading will resolve missing modules:
https://cs.opensource.google/go/go/+/master:src/cmd/go/internal/modload/load.go;l=1729-1733;drc=cc13161a0d62fc1deab019996c17a7da1ff6a7f1
Probably that queryImport call in (*loader).preloadRootModules should include an extra condition:
if errors.As(err, &missing) && ld.ResolveMissingImports && (HasModRoot() || allowMissingModuleImports) {


ToastNotification is not exported from @wfp/ui

Looking the docs

If I write
import { ToastNotification } from "@wfp/ui";

I receive this error:

@cassandrakesewa I've added the components to the export. Can you please check if it's correct?

okay


Doesn't work with garph

import {
  GraphQLOTELContext,
  traceSchema,
} from "@graphql-debugger/trace-schema";

import { g, InferResolvers, buildSchema } from 'garph'
import { createYoga, YogaInitialContext } from 'graphql-yoga'
import { createServer } from 'http'

const queryType = g.type('Query', {
  greet: g.string()
    .args({
      name: g.string().optional().default('Max')
    })
    .description('Greets a person')
})

const resolvers: InferResolvers<{ Query: typeof queryType }, { context: YogaInitialContext }> = {
  Query: {
    greet: (parent, args, context, info) => `Hello, ${args.name}`
  }
}

const schema = buildSchema({ g, resolvers })

// Wrap all resolvers and fields with tracing
const tracedSchema = traceSchema({
  schema,
});

const yoga = createYoga({
  schema: tracedSchema,
  context: (req) => {
    return {
      // Include variables, result and context in traces
      GraphQLOTELContext: new GraphQLOTELContext({
        includeVariables: true,
        includeResult: true,
        includeContext: true,
      }),
    };
  },
});

const server = createServer(yoga)
server.listen(4000, () => {
  console.info('Server is running on http://localhost:4000/graphql')
})

Output:
  @graphql-debugger:cli Starting debugger +0ms
  @graphql-debugger:backend Starting application +0ms
  @graphql-debugger:queue Queue Starting +0ms
  @graphql-debugger:queue Queue Started +1ms
  @graphql-debugger:queue Queue Starting +0ms
  @graphql-debugger:queue Queue Started +0ms
  @graphql-debugger:backend Starting app +141ms
  @graphql-debugger:backend GraphQL online on port:  16686 +1ms
  @graphql-debugger:backend Collector online on port:  4318 +0ms
  @graphql-debugger:backend Application started +0ms
  @graphql-debugger:cli Debugger Online http://localhost:16686 +143ms
  @graphql-debugger:collector-proxy Request POST /v1/schema +0ms
  @graphql-debugger:collector-proxy POST /v1/schema +1ms
  @graphql-debugger:queue Queue Adding +4m
  @graphql-debugger:collector-proxy Worker started +9ms
  @graphql-debugger:collector-proxy Worker finished +9ms
  @graphql-debugger:queue Queue Added +10ms
  @graphql-debugger:collector-proxy Request POST /v1/traces +1m
  @graphql-debugger:collector-proxy POST /v1/traces +6ms
  @graphql-debugger:queue Queue Adding +1m
  @graphql-debugger:collector-proxy Worker started +1ms
  @graphql-debugger:collector-proxy Error parsing result SyntaxError: Unexpected token H in JSON at position 0
    at JSON.parse (<anonymous>)
    at /Users/mish/Documents/Playground/graphql-debugger/node_modules/@graphql-debugger/collector-proxy/build/workers/post-traces.js:109:38
    at Array.map (<anonymous>)
    at postTracesWorker (/Users/mish/Documents/Playground/graphql-debugger/node_modules/@graphql-debugger/collector-proxy/build/workers/post-traces.js:73:44) +4ms
  @graphql-debugger:collector-proxy Error creating spans SyntaxError: Unexpected token H in JSON at position 0
    at JSON.parse (<anonymous>)
    at /Users/mish/Documents/Playground/graphql-debugger/node_modules/@graphql-debugger/collector-proxy/build/workers/post-traces.js:109:38
    at Array.map (<anonymous>)
    at postTracesWorker (/Users/mish/Documents/Playground/graphql-debugger/node_modules/@graphql-debugger/collector-proxy/build/workers/post-traces.js:73:44) +1ms
  @graphql-debugger:collector-proxy Worker finished +0ms

Same here:
import {
  GraphQLOTELContext,
  traceSchema,
} from "@graphql-debugger/trace-schema";

import { makeExecutableSchema } from "@graphql-tools/schema";
import { createYoga, YogaInitialContext } from 'graphql-yoga'
import { createServer } from 'http'

const schema = makeExecutableSchema({
  typeDefs: `
    type Query {
      hello: String!
    }
  `,
  resolvers: {
    Query: {
      hello: () => "world",
    },
  },
})

// Wrap all resolvers and fields with tracing
const tracedSchema = traceSchema({
  schema
});

const yoga = createYoga({
  schema: tracedSchema,
  context: (req) => {
    return {
      // Include variables, result and context in traces
      GraphQLOTELContext: new GraphQLOTELContext({
        includeVariables: true,
        includeResult: true,
        includeContext: true,
      }),
    };
  },
});

const server = createServer(yoga)
server.listen(4000, () => {
  console.info('Server is running on http://localhost:4000/graphql')
})

Hey @mishushakov thank you for reporting, I was able to reproduce and I made a fix here https://github.com/rocket-connect/graphql-debugger/commit/fd70a2266871d8a3d342e137e3b84b133421521f
If you download the latest as of writing 0.0.0-alpha.51 this should now work.


Category Subtotal Scores Are Inaccurate When There is an Item Not Included in Grade Calculations

If you have several items in a category, and uncheck the "Include in Course Grade Calculations" checkbox (or uncheck the "Release to Students" checkbox), the subtotal scores begin to incorrectly calculate for that category. Instead of averaging the scores, it begins to add the unreleased item's score to the average of the other items.
Example of a subtotal score when all items are included in grade calculations: http://www.screencast.com/t/i7yeinoSC0
The same subtotal score once an item has been excluded from grade calculations:
http://www.screencast.com/t/5u8ctYYmQGfz

The issue here is that the total points possible is only collected if its included in course grade calcs, but the total points earned is collected regardless.

This is awesome @steveswinsburg . Great stuff, thanks! Confirmed.


Census Conda Create String Fixes

Existing Sample Changes
Description
Census Conda Create String Fixes requested by Yury
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Implement fixes for ONSAM Jiras

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[X] Command Line
[ ] oneapi-cli
[ ] Visual Studio
[ ] Eclipse IDE
[ ] VSCode
[ ] When compiling the compliler flag "-Wall -Wformat-security -Werror=format-security" was used

Closing this PR as there is another PR# 742 created with the same fix


Meta: Build with a two-stage build where we install Lagom first

Depends on #3
Depends on https://github.com/SerenityOS/serenity/pull/20417

Ready to go on this guy

Where did WebContentMain go? Without it, how do we set WebContent, such as configuring the event loop and the request manager?

WebContent comes from the serenity repo. The contents are almost exactly the same. By building it without Qt (ENABLE_QT=OFF), we get the serenity RequestServer implementation. I think there's some room to mess with the way that we load the "plugins" to make them more customisable and out-of-treeable.

CMake Error at CMakeLists.txt:21 (find_package):
  Could not find a package configuration file provided by "Lagom" with any of
  the following names:

    LagomConfig.cmake
    lagom-config.cmake

  Add the installation prefix of "Lagom" to CMAKE_PREFIX_PATH or set
  "Lagom_DIR" to a directory containing one of the above files.  If "Lagom"
  provides a separate development package or SDK, be sure it has been
  installed.

This is just trying to run ninja.

Ah. I forgot to add the actual build instructions.
If you build the flatpak it works 😬. I'll whip something up for local builds

All right, after an embarrassing number of pushes to serenity master, this should all work now. Let me know if the new build instructions make sense


A problem in one garage door config skips all following doors

Describe The Bug:
A problem in one garage door config skips all following doors… need to use continue statement instead of throw error.

Fixed in 1.2.1


Add patches/fcgi.patch and use it in CI

because CI failed because fcgi.patch on gist was 404.
It's debatable that adding patches directory to the root directory of this repository.

I've pushed this branch to retrieva/pficommon repository to make CI run and all CI jobs have passed.

LGTM!!
Thx!!


Monitoring data is not accurate

The CPU memory data in the server cannot correspond to the data called by the plug-in. Could you please tell me how to solve this problem

Sorry, I do not understand. Can you provide example?

For example, if a machine has 2 gigabytes of memory, its free memory is free + buff/cache(195M+591M=786M), not free(195M), because some of its memory is cached in the buff/cache first

Is this duplicate of https://github.com/vvanholl/elasticsearch-prometheus-exporter/issues/157 ?

Yes，To put this into perspective, I found the source code of Elasticsearch, where the algorithm is total-free=used, which I don't think is reasonable


S3 Bucket "humio-public" Is Hard-Coded In CFT

If I'm working on deploying this into our infrastructure, I cannot deploy my own version, I can only deploy what is currently in the Humio controlled buckets "humio-public-".
Here's one of the 5 places in cloudformation.json this reference is hard coded.
https://github.com/humio/cloudwatch2humio/blob/93eb520640ea829f82f631d5900389bdf63654fd/cloudformation.json#L179-L181
This should be a parameter that defaults to "humio-public" with instructions in the readme that indicate this bucket must be created in all regions one wishes to deploy with regional names (e.g. - if "my-bucket" is passed in as a CFT parameter and I wish to deploy this in us-west-2 and us-east-1, then the buckets that must be created are "my-bucket-us-west-2" and "my-bucket-us-east-1" in the appropriate regions).

This issue has been solved in the new release.


Update Get-AzureADUser.md

Example 5 has same description as Example 4. Update title.

Hi @dataknutte
Per the read me file:
Please be aware that if you have any updates to automatically generated reference content, you should create an issue and not a PR.  The issue will then be created into a bug and triaged accordingly.  We do this because the reference content must mirror the *dll-help.xml file and subsequent updates to the reference content may overwrite any changes made through the repo.  Capturing it in the source code ensures that this does not occur.  Any PR with changes to automatically generated reference content will be closed.
Automatically generated reference content is any of the content under this Reference node, such as Get-AzureADUser
This only applies to reference content and not conceptual content.  Pull requests for changes to conceptual content are accepted and encouraged.  An example of the conceptual content is the Overview or a scenario such as importing data.
Thank you!
Bill


[ERROR] Install - I Need help to Install

Hi,
I'm trying to install the system, but I've had a bit of difficulty.
When I type 'cp .env.example .env', I receive 'CP: Could not get' .Env.Example ': File or Non-existent Directory'
When I type 'SUDO NPM START', he says:
PM Err! Code Enoent
NPM Err! Sysscall Open
NPM Err! path /home/whats/package.json
NPM Err! Erno -2
NPM Err! Enoent Enoent: In Such File or Directory, Open '/home/whats/package.json'
NPM Err! Enoent this is related to npm Not Being ABLE to FIX.
NPM Err! enoent
NPM Err! Complete log of this run can be found in:
NPM Err! /root/.npm/_logs/2021-05-10T05_29_36_859z-debug.log

That's because you're running low on ram. Try to put at least 4GB of ram


Add UIStackView convenience init with UIViews and parameters

Adding a convenience init to UIStackView  to create a UIStackView from an Array of UIViews. Taking the defaults and parameter docs from Apples Defaults.
See also #407
Closes #399
Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] New extensions are written in Swift 4.
[x] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+.
[x] I have added tests for new extensions, and they passed.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All extensions are declared as public.
[x] I have added a changelog entry describing my changes.

          1 Message

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

SwiftLint found issues
Warnings

File
Line
Reason

UIStackViewExtensionsTest.swift
8
Limit vertical whitespace to a single empty line. Currently 2.

  Generated by :no_entry_sign: Danger


I just want to know flutter is not supported Android(PIE) 9.0?

Steps to Reproduce

...
...
...

Logs

Hi. Flutter supports android Pie as well. I run some apps on my android Pie device

Flutter definitely support Pie! Are you having trouble running on 9.0? Please provide details and re-open if you are. Thanks!

Flutter definitely support Pie! Are you having trouble running on 9.0? Please provide details and re-open if you are. Thanks!

Thanks, I had handled it. Flutter is very nice!!

Flutter definitely support Pie! Are you having trouble running on 9.0? Please provide details and re-open if you are. Thanks!

Thanks, I had handled it. Flutter is very nice!!
Pls Tell me how you handle that problem, I am facing the same issue


Results vary with using two possible triton.Conifg but each one separately works

My code works fine when I just use one triton.Config in triton.autotune but produces wrong results when there are multiple options.
@triton.autotune(
    configs=[
        triton.Config({'BLOCK_SIZE_M': 64}, num_stages=4, num_warps=4), # this will work
        # triton.Config({'BLOCK_SIZE_M': 32}, num_stages=4, num_warps=4), # this one as well, but not both at the same time
    ],
    key=['M'],
)

Here is a MWE:
import torch
import triton
import triton.language as tl

@triton.autotune(
    configs=[
        triton.Config({'BLOCK_SIZE_M': 64}, num_stages=4, num_warps=4),
        # triton.Config({'BLOCK_SIZE_M': 32}, num_stages=4, num_warps=4),
    ],
    key=['M'],
)
@triton.jit
def cvmm_mean_kernel(
    x_sum_ptr, per_expert_sum_ptr, per_expert_count_ptr,
    sel_index_ptr, sel_ptr, M,
    BLOCK_SIZE_M: tl.constexpr
):
    pid = tl.program_id(axis=0)
    num_pid_m = tl.cdiv(M, BLOCK_SIZE_M)
    pid_m = pid % num_pid_m

    sel_first = tl.load(sel_ptr + pid_m * BLOCK_SIZE_M)
    sel_last = tl.load(sel_ptr + (min((pid_m + 1) * BLOCK_SIZE_M, M) - 1))
    sel_all = tl.load(sel_ptr + ((pid_m * BLOCK_SIZE_M + tl.arange(0, BLOCK_SIZE_M)) % M))

    for matrix_id in range(sel_first, sel_last + 1):
        offs_xm = (pid_m * BLOCK_SIZE_M + tl.arange(0, BLOCK_SIZE_M))
        remap_offs_xm = tl.load(sel_index_ptr + (offs_xm % M))
        belonging_to_this_matrix = (sel_all == matrix_id) & (offs_xm < M)
        tl.atomic_add(
            per_expert_sum_ptr + matrix_id,
            tl.sum(tl.load(x_sum_ptr + remap_offs_xm, mask=belonging_to_this_matrix, other=0.0))
        )
        count = tl.where(belonging_to_this_matrix, 1., 0.)
        sum_count = tl.sum(count)
        tl.atomic_add(
            per_expert_count_ptr + matrix_id,
            sum_count
        )

n_experts = 4
x = torch.randn(10, 10, 128).cuda()
x = x.flatten(end_dim=-2)
x_sum = x.sum(dim=-1) / x.size(-1) # collapse it to number of tokens
sel = torch.sort(torch.randint(0, 4, (200,)))[0].cuda()
sel_index = torch.tensor(2*[i for i in range(100)]).cuda()[torch.randperm(200)]
M = sel.size(0)
per_expert_sum = torch.zeros((n_experts, ), device=x.device, dtype=x.dtype)
per_expert_count = torch.zeros((n_experts, ), device=x.device, dtype=x.dtype)
grid = lambda META: (
    triton.cdiv(M, META['BLOCK_SIZE_M']),
)
cvmm_mean_kernel[grid](
    x_sum, per_expert_sum, per_expert_count, sel_index, sel, M,
)
per_expert_mean = per_expert_sum / per_expert_count

# test with for loop
ground = torch.tensor([x[sel_index[sel == i]].mean() for i in range(n_experts)])
print("ground", ground)
print("triton", per_expert_mean)
print(per_expert_count)

assert per_expert_count.sum() == 200

The kernel seems to operate on the correct data and no wrong memory accesses seem to happen since the mean (which is calculated here) is still correct. It's just that this kernel is executed way too often. But I don't understand why.

Try reset_to_zeros=True

Ok that fixed it, thank you very much. What is the explanation?

You're using atomic_add instead of store, which accumulates on the output buffers.
Sorry I should say reset_to_zeros=['name of the output tensor']...

Ok thank you.


Updated benchmarks on i7-4770 @ 3.4 GHz DDR1600

I have done some benchmark updating today on i7-4770. Also some new benchmarks on Edison x86-64 (this is running Linux 4.13.0-rc1-next x86_640.

Thanks! Merged into master.


Configure "master" as the default branch on GitHub

In my opinion, we should delete the "develop" branch as well. I can't do this, as I don't have enough permissions. @pwalsh could you do it when you have a few minutes?

Agreed. While many of us have been following Git Flow and having a distinct develop branch as well as master, it is largely redundant of we have feature branches, decent tests, and code reviews https://github.com/okfn/coding-standards
So, I've now set default to master: please delete the develop branch.

Done


is there support for RTL view for languages like Hebrew and Arabic?

I have documenteds by Arabic language . I want to change the view from ltr to rtl

question, did you add the Arabic content in the pages ? like you plan to use this only for Arabic ?

use <html dir="rtl"> for your content that should fix it 👍

You can press on right align button in the editor to type them from right to left


no function clause matching in Sentry.Event.culprit_from_stacktrace/1

Environment

Elixir version (elixir -v): 1.7
Erlang/OTP version (erl): 21.1
Sentry version (mix deps): 7
Operating system: Mac OS High Sierra

Description
Got an error using capture_exception:
Elixir.FunctionClauseError: no function clause matching in Sentry.Event.culprit_from_stacktrace/1
  File "lib/sentry/event.ex", line 235, in Sentry.Event.culprit_from_stacktrace/1
  File "lib/sentry/event.ex", line 108, in Sentry.Event.create_event/1
  File "lib/sentry.ex", line 125, in Sentry.capture_exception/2
  File "lib/logging/exq_middleware.ex", line 73, in ZB.Exq.Middleware.Context.after_failed_work/1
    Sentry.capture_exception(
  File "lib/exq/middleware/pipeline.ex", line 79, in Exq.Middleware.Pipeline.chain/2
  File "lib/exq/worker/server.ex", line 119, in Exq.Worker.Server.handle_info/2
  File "gen_server.erl", line 637, in :gen_server.try_dispatch/4
  File "gen_server.erl", line 711, in :gen_server.handle_msg/6
  File "proc_lib.erl", line 249, in :proc_lib.init_p_do_apply/3

The arg was:
{:gen_server, :call, [#PID<0.3948.0>, {:checkout, #Reference<0.4264773998.1932787713.260773>, true, 10000}, 10000]}

so it looks like not all stacktraces are lists?
I guess it could be what exq is giving me in this callback:
  def after_failed_work(pipeline) do
    {reason, stacktrace} = pipeline.assigns.error

    Sentry.capture_exception(
      reason,
      stacktrace: stacktrace,
      extra: %{
        exq_job: pipeline.assigns.worker_module,
        job_serialized: pipeline.assigns.job_serialized
      }
    )

    pipeline
  end

Thanks for opening this!
A stacktrace is generally a list of 3 element tuples, as: [{Module, Name, Arity}], so it's surprising to me that a timeout on a call would generate a {reason, stacktrace} where the stacktrace isn't a list.
I've confirmed this behavior (it seems to be related to the use of spawn_link instead of a GenServer), and will put together a fix.

This fix has been released in 7.0.3


luci-mod-network: wireless.js: fix 802.11r dependencies

Don't allow enabling 802.11r when using WPA, it needs at least WPA2.
This is because 802.11r advertises FT support in-part through the Authentication and Key Management (AKM) suites in the Robust Security Network (RSN) Information Element, which was included in the 802.11i amendment and WPA2 certification program.
Pre-standard WPA did not include the RSN IE, but the WPA IE. This IE can not advertise the AKM suite for FT.
Also restrict ft_psk_generate_local to psk2 and psk-mixed. Using it with non-psk encryptions breaks roaming.
Same changes sent to OpenWRT's hostapd in this PR

Merged, thank you!


Wiki

Hi and thanks for sharing.  I havent had a chance to try it but from reading your wiki, it looks like only platform specific code change is required on iOS side.
Also, comment "write here" is confusing, feels like something is missing or need to be added here by whoever uses this effect, I'd suggest changing that to something like "enable EnableKeyboardEffect on iOS" or some better description

Hi, thanks for the feedback, I have updated it.


License question

Hey @tokitouq!
Great work! ⭐
May I know what is the license for this repo ?
Thanks in advance!

Hi @mojzesh, sorry for late reply.

May I know what is the license for this repo ?

There are no licenses. I did this to practice my skills.
You can use it however you want :)

Great work! ⭐

Thank you :heart:

Great!
Thanks for clarification :)
ps. I would suggest adding below then :D, but that's up to you :)
https://choosealicense.com/licenses/wtfpl/
Cheers!

Oh! sounds great XD
Thanks for the suggestion :D
Have a nice day!
**closing this...


AL0606 Quickfix - Convert the with statement > adds blank line

Retested and re-opened #6067 since still present in the latest version.

Copy of original post : #6067

Describe the bug
When the AL0606 warning is show, the quickfix action "Convert the with statement to fully qualified statements' is shown. When applying the Code Action / quickfix, in some cases a - redundant - blank line is added.
To Reproduce
Steps and to reproduce the behavior:

After applying the fix.

Expected behavior
It would be 'nicer' not adding the blank line.
5. Versions:

AL Language: 6.0.293448

I can mark it as before a bug and then let's see what happens. Chances are similar as before(when it was closed)


Update MudDataGrid to work with MudPagination

Description
MudDataGrid only had a Page (last, next, first,...) based NavigateTo method. Added a int based NavigateTo so the MudPagination component can be used with the MudDataGrid component. Inspired by the MudTableBase.cs version. Resolves #8819
How Has This Been Tested?
Visually tested with docs project, and added unit tests.
Used this code:
<MudDataGrid @ref="@_table" Items="@Elements.Take(40)">
    <Columns>
        <PropertyColumn Property="x => x.Number" Title="Nr" />
        <PropertyColumn Property="x => x.Sign" />
        <PropertyColumn Property="x => x.Name" />
        <PropertyColumn Property="x => x.Position" />
        <PropertyColumn Property="x => x.Molar" Title="Molar mass" />
    </Columns>
  <PagerContent>
    <MudPagination SelectedChanged="PageChanged" Count="@((_table.GetFilteredItemsCount() + _table.RowsPerPage - 1) / _table.RowsPerPage)" Class="pa-4" />
  </PagerContent>
</MudDataGrid>

@code {
  private MudDataGrid<Element> _table;

    private IEnumerable<Element> Elements = new List<Element>();

    protected override async Task OnInitializedAsync()
    {
        Elements = await httpClient.GetFromJsonAsync<List<Element>>("webapi/periodictable");
    }

  private void PageChanged(int i)
  {
    _table.NavigateTo(i - 1);
  }
}

Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[X] I've added relevant tests.

Hi, thanks for PR.
It's required to add a bUnit test for this feature.

It's required to add a bUnit test for this feature.

@ScarletKuro Added tests to the existing DataGridPaginationTest method. I did not add a MudPagination component to the DataGridPaginationTest test component but I thought that was fine, please let me know if not.


added error print if trying to address a frame by name with exceeding…

… maximum name length allowed by wc3:api

Thanks 👍


Add hopes and dreams by toby fox

Song Name
hopes and dreams
Artist Name
toby fox
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=HA3Ks8NLS-Y
Direct File Link
No response
Song ID
945695
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 107944886

accept


⚠ Bofrost.lu has degraded performance

In 6c08cbc, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2487 ms

Resolved: Bofrost.lu performance has improved in db49aa8 after 44 minutes.


Removed legistar from requirements.txt and Pipfile.

This pull request removes legistar from project dependencies. Legistar is no longer in pip and should be removed.

Where has Legistar been removed? It looks like it's still being used. And it looks like everything from the Pitt fork is included in this pull request. Was this meant for the city-scrapers-pitt repo?

Apologies, this was meant for the Pitt fork.

@biniona  No problem, but see my comment above for reasons it shouldn't be removed either way


exposure.db takes up huge amounts of space

After less than a week of exposure tracking (and less than 1000 collected IDs total), my phone is now unusable because microG used up all of the free space on the internal storage. By far the biggest part of this is /data/data/com.google.android.gms/databases/exposure.db, which takes 952M.
I am not sure what microG is doing there, but 1MB per ID seems like a huge amount of storage for a short string, some timestamps and signal strength, which should all easily fit in 1KB. I will probably have to disable exposure tracking because if there is no way to compress this a bit.
The entire storage partition on my phone has 5GB (out of 8GB total internal storage), so a single app consuming 1GB is way over the top... even Signal, which is notorious for how much space it needs, is at ~600MB.

Turns out it's not actually the exposure events that take up all the space. It's the "diagnosis" table that has grown to 6.7 mllion entries.

I had this problem before ( https://github.com/microg/android_packages_apps_GmsCore/issues/1115#issuecomment-679279669 ), and it appears to happen when the tracing app itself has trouble with interacting with the EN API ( See https://github.com/microg/android_packages_apps_GmsCore/issues/1171 ), then it generated for each try an entry in the diagnosis table. Currently though I do not have a problem with this (6000 IDs/125MB).

I have the same problem.
@Romern How do you fixed it? My database grows after 1.5 day to 1.2 GB and on the disk was no space left. I could not drop the table, so i had to delete the database. If I remove the table before, microG will crash.

@dazzzl I used the sqlite3 command line and executed
DELETE FROM diagnosis;

Though I do not recommend running it as is, because the table is involved in risk calculation as far as I understand.
The table does not seem to be cleared though in the daily cleanup ( https://github.com/microg/android_packages_apps_GmsCore/blob/master/play-services-nearby-core/src/main/kotlin/org/microg/gms/nearby/exposurenotification/ExposureDatabase.kt#L76 ), even though the tek_check table gets cleared, so that should probably be added.

@Romern the diagnosis table has a reference with on delete cascade, thus when elements from tek_check are removed, all relevant diagnosis entries are removed as well.
Deleting diagnosis entries usually has no effect as most apps don't reuse diagnosis tokens. The Austrian app was the only one that I experienced issues with. Also, I don't think we need to keep more than one diagnosis token per app, as currently the only diagnosis is for COVID-19. However, if the API was used to keep track of other diseases, a single app might be having multiple diagnosis tokens actively used.
I plan for some optimizations on how we do the database that will reduce storage consumption and improve performance (which apparently is a problem for low-end devices).

My device collected only 362 IDs but the service core consumes 1,42 GB of internal storage which basically renders my 8GB device useless, what could I do about it to not lose the collected IDs, but free storage space?

My phone ran into a storage problem because of this (i.e., no free storage left).
Fortunately, it seems to be possible to delete the database by only using the microg UI:
I deleted the German Corona App and deactivated Exposure Notification in microg. After some crashes of the microg UI (I assume), microg managed to delete the database so that the used storage was back to normal. I obviously lost the exposure notification keys in the process, so this solution is only a "last resort".

Current git already contains a fix for this problem, which seems to mostly affect "slower" devices and probably also only the German CWA.
The problem seems to be caused by CWA stopping and restarting risk calculation after 1 minute which may be too short on some devices, Google has a rate limit to make sure there are not too many risk calculation requests per day, but microG currently does not enforce this rate limit, assuming devs would have taken care of not doing to many requests already. CWA devs announced to increase the timeout to 3 minutes in v1.4.0 (due next week) and to further look into this issue for v1.5.0.
You can try a version built from git master from here: https://microg.org/dl/core-en.apk
Note that if your database is already very large, it may take a few minutes after installation to start collecting ids as it has to clean up the database. On a test device Fairphone 2 this took about 7-10 minutes for a ~5GB database file.

I installed your suggested patched version from master, but microG still takes up 6GB space, still rising. Are there extra steps to take to trigger database cleanup? I waited a few hours now and restarted my phone a few times

@cryptowarrior-de Can you check logcat for any exposurenotification and cleanup related log entries?

I will look into this tomorrow and post log entries if I find some

I'm currently trying out the git-master version as well.
The messages do appear in adb logcat, but multiple times. (Are there different databases being updated?)
10-04 18:27:18.021  6849  6849 D ExposureNotification: Upgrading database from 4 to 5
10-04 18:27:18.021  6849  6849 D ExposureNotification: Dropping legacy tables
10-04 18:28:44.597  7361  7361 D ExposureNotification: Upgrading database from 4 to 5
10-04 18:28:44.597  7361  7361 D ExposureNotification: Dropping legacy tables
10-04 18:30:09.389  7480  7480 D ExposureNotification: Upgrading database from 4 to 5
10-04 18:30:09.389  7480  7480 D ExposureNotification: Dropping legacy tables

However, on my Fairphone 2 and a 7.6 GB database file, after 50 minutes, the database size is still the same. Also there doesn't seem to be a success message?

Same behavior for me. It starts dropping tables a few times.  I tried to run the sqlite cleanup by myself on the shell of the phone and got a sqlite error Error: database or disk is full when dropping the diagnosis table (which is the table blowing up the database). So apparently dropping needs at least the same amount of free space as the to be dropped table requires. Since my storage is kind of full (partly due to the database file) it fails.
I solved the problem for me pulling the database to my PC, dropping the diagnosis table and pushing it back to the phone. I am not sure if it is a safe operation. I at least tried to make sure the EN microg part was disabled and not trying to upgrade the database itself during my access. After pushing the database back and opening the microg settings the upgrade process went through in a second and converted the table to the new format.
Afterwards I opened CWA which provided the diagnosis keys again. That was again slow since it had to load all keys of the last two weeks. During the key import I got twice a ANR of microg:
10-05 11:58:06.421  1470  2137 E ActivityManager: ANR in com.google.android.gms
10-05 11:58:06.421  1470  2137 E ActivityManager: PID: 3254
10-05 11:58:06.421  1470  2137 E ActivityManager: Reason: executing service com.google.android.gms/org.microg.gms.nearby.exposurenotification.CleanupService

and
10-05 12:06:30.399  1133  2135 E ActivityManager: ANR in com.google.android.gms
10-05 12:06:30.399  1133  2135 E ActivityManager: PID: 3257
10-05 12:06:30.399  1133  2135 E ActivityManager: Reason: executing service com.google.android.gms/org.microg.gms.nearby.exposurenotification.ScannerService

Each ANR stopped the import process and left some key files pending. The third import process finished and imported all key files. Now everything looks like it is running successfully. Maybe those ANRs are bugs in the microg implementation (trying to access the database while it is locked)?

I'm going with a less rigorous DELETE FROM diagnosis WHERE rowid NOT IN (SELECT min(rowid) FROM diagnosis GROUP BY token); (manually loaded on the PC via adb, because it would have taken too long on the phone).

@dueringa @tommes0815 Since this seems to be working for both of you, could you provide more detailed instructions how to do those database operations on pc? I think a lot of people (including me) won't have enough free space on their device to do it locally and having a solution tracked in this ticket would be great for those who don't really know how to do this (also including me xD)

Here's what I did:

Check on the phone that developer settings are accessible
Check that device is rooted
Check in the developer settings that Root is enabled for adb
On the PC, you need the adb command (e.g. from the Android SDK / platform tools)
You need the sqlite executable (e.g. from repositories if you're on Linux, from https://sqlite.org/index.html if you're on Windows)
Further up in the thread, there was a suggestion to disable Exposure Notification in the microg settings before continuing (to avoid writes to the database while you're modifying it)
Execute the commands

adb root
adb pull /data/data/com.google.android.gms/databases/exposure.db
sqlite3 exposure.db
# modify the database as mentioned above
# quit the sqlite shell (.quit should work on all OS)
# check file size
adb push exposure.db /data/data/com.google.android.gms/databases/exposure.db
adb unroot

Re-enable Exposure Notification by starting CWA, or your local app

Note that I don't know exactly what the tcid column in the diagnosis table means, dropping everything but the lowest tcid of each token was merely a guess.
Oct 5, 2020 10:29:32 PM cryptowarrior-de<EMAIL_ADDRESS>
@dueringa[https://github.com/dueringa] @tommes0815[https://github.com/tommes0815] Since this seems to be working for both of you, could you provide more detailed instructions how to do those database operations on pc? I think a lot of people (including me) won't have enough free space on their device to do it locally and having a solution tracked in this ticket would be great for those who don't really know how to do this (also including me xD)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub[https://github.com/microg/android_packages_apps_GmsCore/issues/1190#issuecomment-703870821], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AACCGFKP4JX7YCJIECIEFBLSJIUCTANCNFSM4RW5IK2A]. [https://github.com/notifications/beacon/AACCGFPJHUQFJVIIQ4IMROLSJIUCTA5CNFSM4RW5IK2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFH2DOZI.gif]

I just followed your instructions and it worked like a charm. Thank you so much, now I finally have some space on my phone again :D shrunk from 7.8GB to 72MB and db-upgrade finally went through successfully.
The process even works with an unrooted phone. Enabling ADB with root seems to be enough.

I also had to do drop the table manually on my laptop because the database upgrade never finished. Initially, it stopped due to "disk full" but when I ensured there's more free space, I couldn't figure out from the logs why it continued to fail...
By the way DELETE FROM diagnosis; is safe, at least if you run the master build because the database upgrade will drop that table anyway without looking at it.

Current git already contains a fix for this problem, which seems to mostly affect "slower" devices and probably also only the German CWA.
The problem seems to be caused by CWA stopping and restarting risk calculation after 1 minute which may be too short on some devices, Google has a rate limit to make sure there are not too many risk calculation requests per day, but microG currently does not enforce this rate limit, assuming devs would have taken care of not doing to many requests already. CWA devs announced to increase the timeout to 3 minutes in v1.4.0 (due next week) and to further look into this issue for v1.5.0.
You can try a version built from git master from here: https://microg.org/dl/core-en.apk
Note that if your database is already very large, it may take a few minutes after installation to start collecting ids as it has to clean up the database. On a test device Fairphone 2 this took about 7-10 minutes for a ~5GB database file.

Could you release a MicroG update on Fdroid soon, that includes this fix, please? Infection rates are increaing dramatically all over Europe right now, so it would be great if we could start using CWA with the updated MicroG without the need to patch ourselves.
Thanks a lot!

@ mar-v-in
Could you release a MicroG update on Fdroid soon, that includes this fix, please? Infection rates are increaing dramatically all over Europe right now, so it would be great if we could start using CWA with the updated MicroG without the need to patch ourselves.
Thanks a lot!
@jw243 You can try to directly install the linked apk. I have downloaded it several days ago (before the most recent commits) and could install it by

allowing installation from unknown sources
opening the download folder with the Amaze file manager
selecting the apk
disabling the installation from unknown sources after the successful update.

However, I had some problems first. I think that microg worked without problems only after a second installation. It was not necessary to reset microg. Note however that I had deleted my exposure notification keys before the manual installation, so your "mileage may vary."
Moreover, the linked apk is the current snapshot and not an official release (as you have implicitly pointed out), so bugs may be present.

I just uploaded a new build to https://microg.org/dl/core-en.apk which now includes the commits 1deeb45834c89bca10c2578a64b543ac240a83f4 and 0eb75ba363be06ae2519953dc8edf0647c98a731 which hopefully solve issues with large database files needing even more storage to be cleaned up and thus fail to do so. The database migration still needs a few MB of available storage, but afterwards you should end up with less than 10MB database size :)

Hi mar-v-in,
have you got an anticipated date, when the next regular F-Droid release will come out, including these improvements?
Thanks.

@jw243 After I got a few confirmations that the upgrade to this version works smooth.

Updated from 6afcca0 to 0eb75ba. Storage reduced from 1.4 MB to 826 kB. Had to switch local gsm backend off and on to get network location after update.

Next confirmation incoming: For me, the new version reduced the app size from 12.6GB to 74MB. (Guess that was all the database). It also seems to fix #1227 but that's only the first observation.
Thanks for your effort by providing this framework. Can't be honoured enough! :+1:

My DB was shrunken from over 10GB to a few hundred kB. I also had communication problems between the API and the CWA, which seems to be fixed now.

@jw243 After I got a few confirmations that the upgrade to this version works smooth.

It works partially on my Moto G4 Plus (athene), exposure.db is now a few 100 KByte instead of the initial 6.5 GByte and stopped growing unreasonably.
But I had to do the shrinking process described above on my Laptop because microG (<IP_ADDRESS>315-12) kept crashing while trying to clean up the database. After the manual shrinking microG was stable again and stopped crashing.

Thx @mar-v-in ! 👍🏽
I can confirm:
Your fix has reduced microg's memory use from over 3 GByte to 74 MByte within a matter of seconds.
Switching exposure notification on and off has made CWA work again, too.

I can also confirm that the new fix has reduced the size of the database dramatically and that CWA is now working again. Thanks!!
However, my phone is now partially broken, though this is probably unrelated, or caused by the temporary full storage: Wifi isn't working anymore, as I cannot store passphrases and the old ones seem to be deleted. I guess it's unrelated, but I'm posting it, in case anybody now has the same issue.

Wifi isn't working anymore, as I cannot store passphrases and the old ones seem to be deleted.

Just in case anybody else encounters this issue, e.g. due to a full disk partition: Deleting/renaming /data/misc/wifi/WifiConfigStore.xml has solved the problem for me. (This requires a rooted phone though)

@eike-fokken you needed to manually shrink the file when using the latest version I uploaded at https://github.com/microg/android_packages_apps_GmsCore/issues/1190#issuecomment-708295463 ?

Another confirmation: Working well now with German Corona Warn App!
I had a very similar problem as described above with MicroG v<IP_ADDRESS>315 - the database would grow to several 100 MB (sometimes up to 1.7GB) after 1-2 days of use and in addition, it would slow down the phone to the point of being almost unusable - even though the data partition was not completely full. I am using a very old Galaxy SII so that would probably count as very slow by today's standards.
Before Installation of the new version I had uninstalled MicroG and reset the CWA. This completely removed the database (which I had been planning to do anyway).
After installation of the new version and resetting CWA (using 1.3.0) I initially got an error (see screenshot below).
However after rebooting the phone and resseting CWA again it worked fine. Has been running for 7 days now with the DB size roughly constant at ~48MB.
Since I reset everything I cannot say anything about the DB cleanup mechanism.
Thanks a lot for your work on this and MicroG in general!

Oh, I'm not sure, I didnt try it without the manual shrink, because of @gittehuber s experience.
On October 15, 2020 6:23:20 PM GMT+02:00, Marvin W<EMAIL_ADDRESS>wrote:

@eike-fokken you needed to manually shrink the file when using the
latest version I uploaded at
https://github.com/microg/android_packages_apps_GmsCore/issues/1190#issuecomment-708295463
?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/microg/android_packages_apps_GmsCore/issues/1190#issuecomment-709438843

@eike-fokken you needed to manually shrink the file when using the latest version I uploaded at #1190 (comment) ?
Also for everyone that migrated to the latest version from a large database (using the automated approach by the latest test version): Does the collected id history in microG Exposure Notification still show your history of the last days - same as it was before the upgrade?

Well, I didn't took a screenshot, there is data for the last weeks and it looks like nothing was changed. (Still peaks matching the days where I had some events where more people were present)

@jw243 After I got a few confirmations that the upgrade to this version works smooth.

The pre-release version also fixed the german CWA issue for me.

Updated from the fdroid release to the current beta. Storage usage went down from 1.6GB to 1.5MB.
After a minute or so (redmi note 5 pro) the collection of IDs seemed to work again, showing history, the last broadcast ID, ect. CWA also working without a problem.

I just tried it and up to now everything seems to work.
exposure.db shrunk from 13GB to 26MB.
I went the way of pulling the file to my computer. As I didn't have 26GB space left, I also ran into the problem of needing double the size.
The following makes sqlite3 use no additional space but disables journaling, which will destroy the database incase the sqlite command is interrupted (so be careful not to have scheduled shutdowns or anything that might crash the computer).
sqlite3 exposure.db
PRAGMA journal_mode = OFF;
DELETE FROM diagnosis;

see sqlite docs for what this means.
Note that you should pull a fresh copy from the phone, if you already tried with journaling activated and aborted the sqlite-run, because the db-file will be corrupted.
The command still takes a considerable amount of time, in my case half an hour on a thinkpad x260 with i7, so not the slowest notebook. During this time the file didn't shrink. Only in the end did it magically lose about 13GB of disk usage.
I guess this can also be done directly on the phone (via rooted adb shell), but bear in mind that in that case you don't have a backup of exposure.db. I'm not sure if that is a problem apart from you losing all contact tracing information.
If you insist on trying this, maybe activate airplane mode, so nothing coming over the internet disturbs the sqlite run (also of course make sure, your computer is connected to a wall plug).

This would not work on my phone and probably many others because the database uses a write-ahead log instead of a rollback journal. The WAL was my problem; I had a db file at ~7.5G and a WAL file that had grown to ~9G, filling up my storage, and it would not disappear.
What I did was: force-stop microG GmsCore (otherwise I’d get a ‘database locked’ error) and run the following:
> adb root
> adb shell
# sqlite3 /data/data/com.google.android.gms/databases/exposure.db
sqlite> PRAGMA wal_checkpoint(TRUNCATE)

This gets rid of exposure.db-wal while maintaining database integrity. Afterwards I was able to adb-pull exposure.db on my laptop and run the partial delete command dueringa posted, which did need ~7.5G for the WAL but succeeded in shrinking the database file down to ~34M.

My database crossed the 10 GB threshold today, so I found this issue, deleted almost everything from my phone (no need to have it there anyway, what's Nextcloud for?) to have another 10 GB of space available, and installed the beta from above. Almost instantly, the free space doubled and a laughable 240 KB were left of the database. I don't think the free space was needed, because writing another 10 GB surely would have taken more time.
The graph in the microG settings still shows the right amount of stored keys. CWA took endlessly to update the keys (didn't work before either, c.f. #1227), then complained about a timeout, but then probably tried again and now both CWA and microG say it just updated the keys.
So everything is fine with the new update. :)

@jplitza

CWA took endlessly to update the keys

This is expected behavior after the update as the key matching cache is lost in the process. For subsequent checks that happen once a day, only the newly published diagnosis keys have to be checked and not a full 14 day history, thus it should be about 14 times faster ;)
This doesn't happen for completely new installations, as key matching is near instant when you don't have any IDs collected yet.


Fancybox implementation fails

When binding "pickadate" and "pickatime" to multiple inputs on the parent page -- all works as intended, however, when binding to the same types of elements presented on a jquery.fancybox, the date onSet never gets into the input box... Baffled!

HI xziler8, finally, did you find a solution ?


Feature request: Restrict access to URL by group

I'd love to see an option in the config where one could specify which LDAP group has access to what urls, and an default policy 😃
For example (yaml):
access:
  default: []
  users:
    - blog.domain.tld
    - chat.domain.tld
  admin:
    - *.domain.tld (everything)
  superuser:
    - phpmyadmin.domain.tld
    - *.mail.domain.tld (access to mail.domain.tld and all subdomains of mail)

So if my user is in group admin, superuser and users group I get access to all these subdomains or if my user is in group users and superuser I only get access to these urls.

Indeed, it would be a good feature. I'll have a look shortly and get back to you.

Hello @jkaberg , PR #21 should do the job!

Thank you very much @clems4ever! I will give this a go after I've reworked my Docker Stack 😃

@clems4ever Spot on! Works like a charm. Thank you very much 💃


"pi02w.img" - For Raspberry Pi 3 Model B

hello I wanted to test on a raspberry pi 3 b but it does not work. Do you have a solution?
thank you

Can you provide more detail? Does the screen not turn on at all? Did the 0.5.1 image work but the 0.6.0 does not work?

If your LCD hat screen is white, sounds like the Waveshare hat is broken or the GPIO pins are not making correct contact.

Also confirm that your Waveshare hat is 240x240 and not 120x120, I can't recall what will be displayed on the screen if the wrong display is being used.


[Bug] from_onnx Gather op segmentation fault

Environment
Ubuntu 20.04, onnx opset version 11, tvm version 0.13.dev0
Steps to reproduce
tvmc tune --target "cuda" --output autotune.json encoder_model.onnx
For the gather op I see a segmentation fault in relay.frontend.from_onnx on line. Which calls fold_constant() on this node less(0i64 /* span=/layers.0/self_attn/Gather./layers.0/self_attn/Constant_output_0:0:0 */, 0i64):
op_name = Gather,
attrs: {'axis': 0, 'tvm_custom': {'name': '/layers.0/self_attn/Gather', 'num_outputs': 1}}
less(0i64 /* span=/layers.0/self_attn/Gather./layers.0/self_attn/Constant_output_0:0:0 */, 0i64)

there are two inputs to Gather:
0:
    meta[relay.Constant][0]
    type: /* span=/layers.0/self_attn/Shape:0:0 */

1:
    0i64
    type: /* span=/layers.0/self_attn/Gather./layers.0/self_attn/Constant_output_0:0:0 */

cc @Hzfengsy @junrushao @shingjan

Could you provide a small test case to reproduce this issue locally. Perhaps a small onnx model that contains just the subgraph including the gather op?
P.S. I've found the onnx-modifier tool to be very useful to create small subgraphs for test cases in onnx. Or if you could share the whole model, that should also be fine.


Endless loop after adding the author app to a team

Deployed v5 via powershell -- everything deployed fine and no errors in the script. Added the user app to the org catalogue without issues, but upon adding the author app to a team it throws an endless error that goes between the two screenshots below

I can confirm that permissions in the graph ad app are already granted as admin. Tried going through that loop with a global admin account and it still happens. Tried it both as a customised app upload and having uploaded it to the org catalogue, still the same issue

Hi @SammiRasha ,
Could you please check if the Application ID URI is added correctly under Expose an API section of the graph app registration?
If yes, we would recommend to deploy the company communicator manually and if the issue still persists the we can connect over MS Teams to troubleshoot the issue over call.


Send fails from checking account

THIS BUG IS FROM NUTXO TESTING on fixes/1.3.1 branch and NOT for development branch
Send failed from checking account despite having confirmed transactions and sufficient available balance.
Console output from the point of error: {"balance": 4010, "fee": 1536, "txPrerequisites": undefined}
BaseAccount of the below line: https://github.com/bithyve/hexa/blob/7bee83a351911d2f5d522b83b725f5170e6ccc91/src/bitcoin/utilities/accounts/BaseAccount.ts#L652

-Tested on dev app version 1.3.2(170)
-Available balance is 3000 still it fails while sending.

@AliMeer  this has been reopened just now

@cakesoft-swati does this happen on live as well?

Tested on live app version 1.3.2(171)
-Now the transaction value is showing as 0.
-The old transactions in the checking account are also showing 0 when I am sending from a checking account

@cakesoft-swati  please open a new issue for this

-Now able to send from checking account.
-Tested on live app version 1.3.2(171)


2015-05-23 International NodeSchool Day

NodeSchool is a community driven, open source educational project that teaches JavaScript and node.js skills in an interactive, self-guided way. There are workshops available for every skill level from JS beginners all the way to experienced node programmers.
This event is part of International NodeSchool Day, so we'll be getting in touch with other NodeSchoolers around the world during the day.
You will need to bring your own laptop, and it will help if you have already installed node.js. We'll have plenty of mentors to help and guide you throughout the day.
See http://nodeschool.io/international-day/
Date
Saturday 23rd May 2015, 10:00am
Organisation

[x] Add to Meetup.com
[x] Add to SummerOfHacks.io
[x] Add Meetup link to https://github.com/nodeschool/international-day/issues/22
[x] Add organisers and participants to the international-day team so we're on their roll-call.
[x] Book pastries
[x] Purchase snacks/drinks (see #101)

On the day
There's a load of information on  https://github.com/nodeschool/international-day/blob/2015/PARTICIPATING.md.

[x] Take a group photo
[x] Record a mini-film saying 'hello from JSOxford' and add it here?
[x] Hangout with a NodeSchool group from far, far away (see here for the list).

Part of the Summer of Hacks 2015 (#101).

hmm, would kind of screw with SoH plans - but there is http://nodeschool.io/international-day/ at the end of May

We could see if @omgmog and @LuRsT wanted to run Sushack 3 this weekend and then move NodeSchool forward a month?

I'll grab a moment with @LuRsT today to talk about it!

Alright we might be set for June 27th then -- will be a bit awkward for me as I'll not be working for 2degrees anymore by that point, but it shouldn't be an issue.
We'll get the dates out on social media and update the site soonish, to reflect the new SusHack 3 date

@omgmog, that's great, I've updated the dates for NodeSchool to fit. If the venue is awkward we can probably sort out White October. Also, just say the word if you want a hand with organising/sponsorship/etc. :+1:

No worries, I'm on the case, but I may take up your offer @spikeheap :+1:

I've enrolled us in International NodeSchool Day (https://github.com/nodeschool/international-day/issues/8#issuecomment-95060149) and updated our todo list above.

NodeSchool is fast approaching. There are a few shots we need to get for the international day video: https://github.com/nodeschool/international-day/issues/9#issuecomment-103419270.

I can't make it to this now, unfortunately, soz.

@peterjwest I've un-marked you as an organiser on github.  Do you want to rsvp no to let someone on the waitlist on?

NodeSchool was awesome. Particularly trampolining with Rich.
To close this off we just need to:

[ ] @benfoxall Invoice Haybrook for supplies (I've emailed a receipt to @benfoxall for snacks)
[ ] @spikeheap Upload videos to the international nodeschool group
[ ] @spikeheap Organise a writeup post (#119)

If people are happy with @richdouglasevans writeup then I don't mind converting it to a post. Unless @richdouglasevans wants to do it himself?

I love @richdouglasevans writeup, but I agree with his original comment at the top of the issue that it would be nice to have a rough idea of how many people came, what they worked on, a kind of a micro-summary from JSOxford as a group.
It would be ace to have @richdouglasevans on the site too - perhaps we need to add support for authors in our theme?

I actually quite like that idea. I'm happy to update the theme to allow optional authors. Would be nice to show the community contributing. :smile:


guage-mvn-selenuim | missing env file and wrong xpath causes test to fail in sample project

Describe the bug
When a sample project with guage-mvn-selenium template is created, then env file is missing for firefox although the driver has the implementation and xpath is wrong causing sample the test run to fail
To Reproduce
Steps (or project) to reproduce the behavior:

Initialize a gauge sample project with guage-mvn-selenuim
Run the gauge command on the sample spec file mvn.cmd -q clean compile test-compile gauge:execute -Dflags=--hide-suggestion,--simple-console -DspecsDir=specs\example.spe
See test run failed

Expected behavior

Webelement should be updated in spec file
@Step("Ensure installation instructions are available")
public void ensureInstallationInstructionsAreAvailable() throws InterruptedException {
WebElement instructions = Driver.webDriver.findElement(By.xpath("//a[@href='/writing-specifications']"));
assertThat(instructions).isNotNull();
}
New file as "firefox" must be added under env and then it should contain BROWSER = FIREFOX

Screenshots

Versions:

Gauge version: 1.5.4
Commit Hash: 30a0c23

Plugins
-------
html-report (4.2.0)
java (0.10.2)
screenshot (0.1.0)

OS :  Windows 10 Home : Build 19045.3324

Runner info openjdk 17.0.8 2023-07-18
OpenJDK Runtime Environment Temurin-17.0.8+7 (build 17.0.8+7)
OpenJDK 64-Bit Server VM Temurin-17.0.8+7 (build 17.0.8+7, mixed mode, sharing)

IDE info : VS Code

I will be fixing this issue and raise PR

Closing the bug since I logged a separate bug in templates

https://github.com/getgauge/template-java-maven-selenium/pull/33 has been published


Exercise reorder

implement exercise reordering

Drag and Drop on mobile is atrocious
Still having the weird bug where the add card plus button jumps to the bottom of the screen when on mobile
Workout preview tables that have enough exercises to be scrollable are buggy with the rounding
IOS cursor doesnt change with light mode (not sure if there's anything I can do about it)
Should also put in autocomplete attributes for all of the input fields
Add padding to login/signup/reset pages for mobile

mobile dnd still not working at all. but stable enough to include feature for now


Using Ground Truth in Evaluator for HotpotQA

Hi there,
When I was inspecting the code, I found that it was using ground truth in the Evaluator part for HotpotQA. I'm wondering is that correct?
Thank you!

same, it is really strange

Yes, this is how the task is defined in the paper(see Sec. 4.2). @Skevinci @YangningLi1


Migrate ChatGPT function to openai v1.0

Migrate ChatGPT function to openai v1.0.
The test is skipped in circleCI because we must supply the OPENAI_API_KEY. The test passes on local machine.

[x] Upgrade ChatGPT function.
[x] Upgrade Dall-e function.
[x] Update unit test cases.
[x] Verify that notebooks work correctly.

@Chitti-Ankith can you check if these changes fix the OpenAI version issues you were facing?

Thanks! Do we need to update the notebook?

I manually checked the notebooks. The notebooks only use the function definitions. Since we only changed the function implementation, I did not see the need for any updates.


[type:feature]Http sync, add property.

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2736 (9dbf267) into master (09768be) will decrease coverage by 0.71%.
The diff coverage is 25.00%.

@@             Coverage Diff              @@
##             master    #2736      +/-   ##
============================================
- Coverage     60.26%   59.54%   -0.72%
+ Complexity     4409     4371      -38
============================================
  Files           681      681
  Lines         19577    19584       +7
  Branches       1735     1739       +4
============================================
- Hits          11798    11662     -136
- Misses         6786     6936     +150
+ Partials        993      986       -7

Impacted Files
Coverage Δ

...g/apache/shenyu/common/constant/HttpConstants.java
0.00% <0.00%> (ø)

...che/shenyu/sync/data/http/HttpSyncDataService.java
63.23% <25.00%> (-11.03%)
:arrow_down:

...pache/shenyu/sync/data/http/config/HttpConfig.java
70.58% <30.00%> (-14.03%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
68.75% <0.00%> (-31.25%)
:arrow_down:

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
43.75% <0.00%> (-31.25%)
:arrow_down:

...gin/apache/dubbo/cache/ApacheDubboConfigCache.java
43.03% <0.00%> (-29.12%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
44.68% <0.00%> (-27.66%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

.../plugin/grpc/loadbalance/AbstractLoadBalancer.java
69.23% <0.00%> (-10.12%)
:arrow_down:

...apache/shenyu/admin/utils/ShenyuDictH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

... and 31 more

Continue to review full report at Codecov.

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


Keycodes

Issue:
What I did

Refactored the state structure of keycodes.
appropriately renders "dead" key codes/ alt gr keycodes, ie( alt + J  no longer renders alt + ∆)
fix filter search so that it is dynamic and changes based upon the current search shortcut value
fixed lint warnings

How to test

Is this testable with Jest or Chromatic screenshots?
yes but i do need to update the tests to reflect the changes to the data structure
Does this need a new example in the kitchen sink apps?
no
Does this need an update to the documentation?
no

If your answer is yes to any of these, please make sure to include it in your PR.

@Jessica-Koch Mind resolving the merge conflicts? Also, does this need to go out with 5.0 or is post 5.0 ok? Trying to restrict 5.0 changes to critical bugs. Thanks! 🙇

I'm happy to take care of getting this over the line. I don't think we can get this into 5.0 at this stage but we can get it out with the next release!

@tmeasday Cool, can we merge this later then? I'd rather deal with more conflicts at that point, rather than diverging next and release/5.0 further than they already are. If that sounds OK, let's mark this with do not merge for the time being?

Yes fine by me. I’ll deal with any merge consequences
On 21 Feb 2019, 6:41 PM +1100, Michael Shilman<EMAIL_ADDRESS>wrote:

@tmeasday Cool, can we merge this later then? I'd rather deal with more conflicts at that point, rather than diverging next and release/5.0 further than they already are. If that sounds OK, let's mark this with do not merge for the time being?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Stuck at downloading

VSCode Version: v1.10.2
OS Version: Windows 7 Ultimate (32-bit)
CPU: Intel Dual-core
GPU: 128Mb

Why need vscode
I am newbie and want to try it as in much of articles peoples told that VS-Code is very nice.
Descripe issue
I am not able to download app, then used VPN (Betternet, Chrome WIN) to download and worked.
Then tried to download extenstion and stuck at installing...
What exatly issue?
I can't install extension, how i can use this (or install extension, how?)
Use VPN as you used for downloading
Sorry, but in my country VPN is very high-cost (restriced at all, but have providers). I am using Betternet (free VPN), if some providers know, yeppp. I can't say anything else about it (sorry :( )
@Microsoft can't help with that, then?
All is ok, i am just wanna try it as looks good and fast.
Some peoples said, you can easily learn TypeScript with it.
Learned ES6 with ES6 apps and i have 2-3 apps (ES6 coded), but i am want TS (it's another story) and ESLint + NPM + Git intergation (all of these has in VS-Code)
@dalisoft, you is bad, it's your issue, not of me?
Maybe, but i hoped you're can help me.
NOTE from @dalisoft
If this issue not resolve (or can't be), pls let me know alternative editors with that powered feauture, also fast should be. (Atom is too slow, Sublime is not good looks color scheme, Notepad++ lost my code when pc shutdown suddenly or crash, bla bla bla)
Thanks guys, you are nice.
Starting from Windows to latest app you are best.

Which country are you in?
Are you behind a proxy?

I am not able to download app

What happens when you try to download the app without the VPN?

Stuck at downloading too

Show me what that means in a screenshot.

So, you are not able to download extensions.
Does your country restrict Internet access?

No, internet has access. Even up to 100Mbps in some high cost provider. My network speed is 4Mbps. From google-driver, DropBox has 4Mbps access. But i dont know why i not able to download VSCode exts. I am hoped and even planned download much of plugins.
Hey, friend. I have idea.
There has zip file on github of that plugins to extract or import to VSCode manually?

@dalisoft download from Marketplace
Once you've downloaded an extension, you can side load it by renaming the .zip filename extension to .vsix and then using the Install from VSIX... command in the Extensions View command drop-down.

Thanks @King66. @dalisoft see if @King66's suggestion helps.

Thanks for suggestion. I have fixed it with using proxy. Seems works for some extensension but not for all. At least i downloaded my needed plugins. Thanks. I see issue with server of VSCode for my country. If youre use CDN this issue maybe fixed. Like Cloudflare, offers free plan. Thanks anyway


Needs Version Numbers

in SIL.Machine.1.0.0-build00034, the AssemblyFileVersion for SIL.Collections.dll and SIL.Machine.dll are both <IP_ADDRESS> In future builds, these numbers should be updated with each build (e.g. <IP_ADDRESS>) to allow these DLL's to be updated by Windows patch installers (such as we are using for FieldWorks)

Closing this because it is old.  I don't know if it is relevant anymore.

I don't know if this is relevant anymore

https://github.com/sillsdev/fieldworks builds patch installers that update only those DLLs whose versions have changed. If SIL.Machine releases a new version whose DLLs are still <IP_ADDRESS>, FieldWorks users will not get the new version. FieldWorks still releases new versions as patches, so this is still relevant.

File versions for all assemblies are updated on every NuGet release.


data-aura-rendered-by incorrectly written as '[object Window]'

In Component.prototype.render, we grab a reference to this["renderer"]["render”], and then call that method from the reference. this inside the render method will now be the window, instead of the Component instance.
This jsbin simplifies the issue.

Closing as this has been implemented, we just didn't pull the PR.

thanks, y'all!


Shorten code using decorators, correct README

Hi,
I've used decorators to shorten the code inside the class and simultaneously add support for integers - we could also easily add support for other built-in integer functions now. Apart from that, I've rearranged the code inside the basencode library a little bit.
In the README, I've corrected a line - in your README, floor division and true division returned the same product - even though this is wrong by the code. In the code too, you've used code meant for floor division in true division, and vice versa. In this commit, the problem gets solved automatically as we're using built-in int functions to implement all Integer functionality.
All class functions return a value of type Integer, except Boolean functions like __eq__ and true division (returns a float, we could make it type Integer after we've added support for floats.
The README needs to be updated to reflect that calculations can now be done with integers, e.g. myint1 * 2 will return 24690.
Thanks, and please do test before committing!

Thank you for your contribution, the way you shortened the code was really clever!


Generate Php, Javascript code

How do I generate php , javascript or any other supported languages ?

Hi, I share the same concern.
Thanks btw, great component!

Hey folks!  Sorry for not seeing this until now.
We don't use this component ourselves anymore, so I'm not sure I'll be able to make code modifications myself.  However, I think this could be done by adding a workspaceDidChange function property, similar to the existing xmlDidChange property, that passes the workspace object.  You could then attach a function similar to the one in the Blockly documentation under realtime generation of code: https://developers.google.com/blockly/guides/configure/web/code-generators#realtime_generation
If anyone has the time to make a PR adding a workspaceDidChange function property, I would be glad to merge and release.  Thanks!