Network switching content changes

during network switching ,noticed that the currently opened content(eg chapter) changes.

Hi Pooja,
had tested it , the issue is still there.
attaching the recording for the same.
https://user-images.githubusercontent.com/93033055/178043645-86cfd307-059c-4fdc-8f9c-58a2d3e5a350.mp4

@LijuJacob08 as part of QA quality check, can you describe the issue . There is a video included . but as part of quality check and for future reference for QA team, please document the issue.

Issue Description:-
initially device was connected to the WiFi network- open the VachanGo App ->John 1(which is the starting page ) loaded, now changing the chapter to for eg say - Matthew 5-> new Book- chapter opens up. Now when once switches the the network (here for eg is currently connected to the WiFi is changed to mobile network/ other Wifi networks) a refresh is happening and the opened content(which was Matthew 5) changes to the starting page(which is John 1).
Expected Behaviour:-
content should not change when the network switches  (so in the above eg. the current page should remain as Matthew 5 even after the network switches).


Update Google_News.py

Added comment to function and updated print feature using the new format syntax.

Thank you for you contribution to the repo and the community


batch script problem  in java

release 2.1.6
db.command(new OCommandScript("sql", sb.toString())).execute();
com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.delete  from A where @rid = #10:1
Copying the script ( sb.toString() content ) to console all is working.
In addition the command inside batch was corrected because
commit retry 100 is not more working event if documentation still tells about it  (it accepts just commit )

@publicocean0
are you in plocal or remote?

The exception is using remote client.

Hi @publicocean0
could you please post the full content of sb? Is it only the statement I see in the logs?
Thanks
Luigi

you are right the problem is not for every script inside. It is very strange.
i changed the script testing:

       begin
	delete from #10:1
       commit

is OK
instead

begin
delete  from ( select from ( select expand(rid)  from index:A.b where key =  #20:3 ) )
commit

in console is OK but  remote client gives...
Cannot find a command executor for the command request ....

Making  a lot of tries if think i found the problem
double space after delete gives error

Hi @publicocean0
This issue was fixed in v 2.2 GA with the support of new SQL parser for batch scripts.
Closing
Thanks
Luigi


Dataset Viewer issue for austint73/butterfly_dataset

Link
https://huggingface.co/datasets/austint73/butterfly_dataset
Description
The dataset viewer is not working for dataset austint73/butterfly_dataset.
Error details:
Error code:   ResponseNotReady

Please note that the dataset contains no files, besides the default .gitattributes.

You can contact the dataset owner to inform them about this, by using the "Community" tab in their dataset: https://huggingface.co/datasets/austint73/butterfly_dataset/discussions

Ok. Thanks


11 tests

Makes progress on #11.

Maintainer Notes
⚠ Do not delete this section. Checklist for maintainers.
IMPORTANT: Complete the following checklist before merging.

Once you are happy with the changes remove the do not merge for the ready to merge tag.
Commits should be Squashed and Merged.

Fixed by #93


cannot create a custom redirect for root/index

The location of our online store is https://ourdomain.com/swag. The following custom redirect doesn't appear to work:
/ > /swag

Otherwise working well. Thank you for writing this tool.

Seems like some logic in the custom redirects was incorrect, should be fixed by #18

Just installed, works great. Thank you!!


Possible to run in Visual Studio Code for the Web?

Thanks again for the awesome VSCode extension! I've been trying out the online Visual Studio Code for the Web editor (viewing file in GitHub press the '.' key) and get this message when trying to install Docsify Preview:

https://code.visualstudio.com/docs/editor/vscode-web#_extensions
Any sense if something like this might be possible in the future?
Thanks very much,
Paul

A good idea, but a little hard to support the web because of the dependencies. Maybe the GitHub new feature codespace helps you. Still, I will try if I have a better understanding of VSCode API.


Added azureai client

Is it normal there is no difference compared to OpenAIChatCompletionsClient except the name of used environment variables ?
Note : OPENAI_API_BASE and OPENAI_API_KEY were not renamed in the ValueError

@NicolasGrosjeanProbayes , Update the file for the ValueError. Please review.And on your question, that is expected.

@NicolasGrosjeanProbayes , Updated the file for the ValueError. Please review.And on your question, that is expected.

I am a simple user, I have no write access, so my review will bring nothing.
I don't see the added value compared to OpenAI Compatible API if the code is the same.
Maybe I don't see the need to have the parameters in AZUREAI_API_KEY and AZUREAI_API_BASE variables instead of OPENAI_API_BASE and OPENAI_API_KEY variables. But even with this need, copying one hundred line of code doesn't seem a good idea.


Lazy-loading multiple parts of the page from a single response

This issue's somewhat similar to #56, at least in how I've made a stopgap for it.
To lazy-load a single frame, you can apply the src attribute and a request will be made to replace its content. You can do this to multiple frames, but you can't populate multiple frames from a single response as far as I'm aware without bringing Streams into the mix. Applying the same src attribute to multiple frames makes a request to that src per frame.
I've made this Stimulus controller which does what I'd like. There's likely some things it could do better, e.g. error conditions and making sure that the incoming response is definitely a Turbo Stream (I got mixed messages on what the Accept header should be). I'm not sure I'd like for this to be the only solution, though.
Ideally, src should default to replacing multiple frames with one request unless we specify that the element warrants a unique request. I'm not sure what to call that, but I guess we'd pass it through as a data-turbo attribute. Perhaps <%= turbo_frame_tag :messages, src: '/messages', shared_request: false %> (defaults to true)?

To clarify something here, I think the main issue I'm trying to solve is avoiding having to write more Turbo Streams for this purpose. It'd be nice to have two routes and HTML views - one representing the loading state of a page that requires some lengthy serverside business, and one representing the fully loaded state. I think this pattern would be easier to understand than the alternative (using Streams to do the same).

Hello, have you found a solution to this issue?

Hi @boardfish, you can include Turbo streams inside the response if it is inside a Turbo frame, so you have the lazy loading And you can control the replacement of multiple elements within the page as long as you include them as Turbo streams within the loaded Turbo frame response.


ml64 command line reference adding 8,16 byte boundaries when using /Zp option

@TylerMSFT
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Waves go outside of radius on mobile devices

Please be more descriptive and try and include a code example.

I can confirm that this also happens on windows 10, firefox. That is, assuming that the OP means the situation where you can see the wave move outside of its bounds if a circle button is used. I found that this happens occasionally when clicking normally, but more often when holding down on the button for some reason.

Probably related https://github.com/Dogfalo/materialize/issues/4344

Closed due inactivity and missing feedback. Feel free to reopen it, if it's still necessary.


header training data -  mismatching features columns?

I've been testing the header model training data using features #76  and I've incurred in one small problem, it seems that the number of columns are not consistent.
For example:
'anaesthesia' on line 938 and 'elsevier', line 813 have different number of columns (30 vs 31):
ELSEVIER elsevier E EL ELS ELSE R ER IER VIER BLOCKSTART LINESTART NEWFONT HIGHERFONT 0 0 0 ALLCAP NODIGIT 0 0 0 0 0 0 0 0 0 0 NOPUNCT 0 0 I-<note>
Anaesthesia anaesthesia A An Ana Anae a ia sia esia BLOCKSTART LINESTART LINEINDENT NEWFONT HIGHERFONT 0 0 0 INITCAP NODIGIT 0 0 1 0 0 0 0 0 NOPUNCT 0 0 <reference>
I'm not sure is a bug (at least not in the current version - which is ignoring these information), and also I'm not sure this is the right place, but training the header model will fail with the automatic feature discovery enabled

Hello ! The first line is a feature input for the header model, the second one is the features for the Reference Segmenter model.
So it seems that there are some mixture between the two training data, it comes from GROBID I think.

Hello ! The first line is a feature input for the header model, the second one is the features for the Reference Segmenter model.
So it seems that there are some mixture between the two training data, it comes from GROBID I think.

are you sure it's the segmenter? I've run a quick check, it seems that <reference> is a valid header tag while the segmentation model has a tag called <references>.
I've made an analysis on the header data and added here: https://github.com/kermitt2/grobid/issues/531

yes reference-segmenter model (not segmentation). No clue how some of these features arrived there! The features are combined with the header labels in a late stage, so the labels are not a good hint.

Here I found a similar problem with the tables:

23 items:

Table table T Ta Tab Tabl e le ble able BLOCKSTART LINESTART ALIGNEDLEFT SAMEFONT SAMEFONTSIZE 0 0 INITCAP NODIGIT 0 NOPUNCT 10 1 0 I-<figure_head>
7 7 7 7 7 7 7 7 7 7 BLOCKIN LINEIN ALIGNEDLEFT SAMEFONT SAMEFONTSIZE 0 0 NOCAPS ALLDIGIT 1 NOPUNCT 10 1 0 I-<label>
: : : : : : : : : : BLOCKIN LINEIN ALIGNEDLEFT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 1 PUNCT 10 1 0 I-<figure_head>
Asymptotic asymptotic A As Asy Asym c ic tic otic BLOCKIN LINEIN ALIGNEDLEFT SAMEFONT SAMEFONTSIZE 0 0 INITCAP NODIGIT 0 NOPUNCT 10 1 0 I-<content>
confidence confidence c co con conf e ce nce ence BLOCKIN LINEIN ALIGNEDLEFT SAMEFONT SAMEFONTSIZE 0 0 NOCAPS NODIGIT 0 NOPUNCT 10 1 0 <content>
intervals intervals i in int inte s ls als vals BLOCKIN LINEIN ALIGNEDLEFT SAMEFONT SAMEFONTSIZE 0 0 NOCAPS NODIGIT 0 NOPUNCT 10 1 0 <content>

and this one, with 24 items:
TABLE table T TA TAB TABL E LE BLE ABLE BLOCKSTART LINESTART LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 I-<figure_head>
IV iv I IV IV IV V IV IV IV BLOCKIN LINEIN LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 I-<label>
. . . . . . . . . . BLOCKIN LINEIN LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 1 DOT 7 10 0 1 I-<figure_head>
SNR snr S SN SNR SNR R NR SNR SNR BLOCKIN LINEIN LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 <figure_head>
IN in I IN IN IN N IN IN IN BLOCKIN LINEIN LINEINDENT SAMEFONT LOWERFONT 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 <figure_head>
dB db d dB dB dB B dB dB dB BLOCKIN LINEIN LINEINDENT SAMEFONT HIGHERFONT 0 0 NOCAPS NODIGIT 0 NOPUNCT 7 10 0 1 <figure_head>
FOR for F FO FOR FOR R OR FOR FOR BLOCKIN LINEIN LINEINDENT SAMEFONT LOWERFONT 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 <figure_head>
EACH each E EA EAC EACH H CH ACH EACH BLOCKIN LINEIN LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 <figure_head>
TELESCOPE telescope T TE TEL TELE E PE OPE COPE BLOCKIN LINEIN LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 <figure_head>
AND and A AN AND AND D ND AND AND BLOCKIN LINEIN LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 <figure_head>
SCENARIO scenario S SC SCE SCEN O IO RIO ARIO BLOCKIN LINEIN LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 <figure_head>
, , , , , , , , , , BLOCKIN LINEIN LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 1 COMMA 7 10 0 1 <figure_head>
INCLUDING including I IN INC INCL G NG ING DING BLOCKIN LINEEND LINEINDENT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 0 NOPUNCT 7 10 0 1 <figure_head>

if I calculate the lengths of the different examples they are quite mixed up (this is the length of the first token of each example:
[24, 23, 23, 24, 23, 24, 24, 24, 24, 23, 23, 24, 30, 23, 24, 23, 24, 23, 23, 23, 23, 23, 23, 23, 24, 24, 23, 24, 23, 24, 23, 24, 23, 23, 30, 24, 24, 23, 23, 24, 23, 24, 24, 23, 23, 24, 24, 24, 23, 23, 24, 23]

I've updated the training data for the table model (and figure model) with commit 37eaa431a8c4bf273bd961a4120eda3911093cd0

@kermitt2 thanks! I will check today.


you merged b4 i fixed what you asked, this is after requrements.txt is back to place

Pull Request Template
Description
Please briefly describe the purpose of this pull request.
Changes Made
List the main changes and improvements introduced by this PR.

Change 1
Change 2
...

Screenshots (if applicable)
If your changes include visual modifications, please attach relevant screenshots here.
Checklist
Please make sure that your pull request meets these requirements before submission:

[ ] The code follows the project's coding standards and style guidelines.
[ ] Tests have been added or updated to cover the changes.
[ ] Documentation (if applicable) has been updated to reflect the changes.
[ ] The code has been reviewed and any issues have been addressed.
[ ] The PR title is descriptive and follows the project's naming conventions.

Related Issues
Link any related issues here using the format Fixes #123 or Closes #456.
Checks
Before merging, the following checks should pass:

[ ] Code review has been completed.
[ ] All tests pass successfully.
[ ] Documentation (if applicable) has been reviewed and updated.
[ ] The PR has at least one approval from a maintainer or reviewer.
[ ] Any relevant issues have been linked and addressed.
[ ] I checked for issues arising after run

No worries Close this pull request I agreed with ur 1st commit

alr <3 thank you

alr <3 thank you

Open new issues and contribute

what do you mean, add an issues with this commit?

what do you mean, add an issues with this commit?

No go to issues section and try to contribute or open new issues if you want any type of changes or blaablaaaa.....

oh alr!

oh alr!

Yeahhh Buddy ❤


Layers are not ordered correctly after adding a new layer and reloading the page :(

Steps to reproduce:

Create a map with one layer.
Click the Add button.
Select one dataset and add it as a layer.
Everything should look fine at this point (new layer is below the Labels layer).
Reload the map.

Expected results

Order of layers is persisted correctly and doesn't change when reloading the page.

Actual results:

New layer appears above the labels layers.

cc: @xavijam @viddo

The problem here is that the new order of the layer that was on top (labels) is not being persisted. This code should supposedly save that layer. But right after the new layer model is created, orders are being reset and layer on top has no changes cause "orders" were right before re-setting them.

Good catch… it's yet another issue of these implicit side-effects, I'm tacking this in #7881 (reassigning to myself)

Reassigning since @alonsogarciapablo is working on this, we have talked offline and identified the problem

I'm happy to work on this, but it's not the same as https://github.com/CartoDB/cartodb/issues/8245 @viddo

Oh, my bad then, reassigning back…


Allow itwin.js to change busy timeout for editing applications

The editing application can hang when trying to open a write connection to a shared briefcase. Currently, it takes 20 sec for it to fail iModel open call to fail with SQLITE_BUSY. Which hangs the application. The application can set a shorter timeout and can retry so UI is not hung.
The goal of this PR is to allow applications to specify a busyTimeout in milliseconds. It can be zero. It will override any other busy handler present including the default one.
imodel-native: https://github.com/iTwin/imodel-native/pull/657

This change is fine, but I presume this is related to LocalSync holding the iModel open?
@swwilson-bsi as we discussed, it should run to completion and exit, while MS waits.

fyi @DanRod1999
plz hold off on merging this pr; dan just completed some prs for addon automation, which should hopefully kill off this branch


End-user config prompt for rnpm

Hi guys! As per our discussion on Discord, here are some mad ramblings;
For my specific case, I need the end-user to input a Google Analytics tracking id if they want to use my Google Analytics bridge.
This tracking id is unique for each end-user, and in some cases unique for each platform (Android / iOS).
Even though rnpm can do most of the heavy lifting when linking my module, there are still some manual steps that need to be done. The tracking id needs to be consumable from native code, which is why I ask my end-user to manually put it into Info.plist (iOS) and their java code (Android).
Ideally, I'd like rnpm to be able to prompt the user for such values. That is to say, when they run rnpm link react-native-google-analytics-bridge, the tool will;

Ask them for their iOS GA tracking id.
Ask them for their Android GA tracking id.
Write these values into Info.plist for iOS, and some Android config file (not too familiar with Android).

Maybe this is something I could config in my package.json? Maybe not as verbose, but you know;
rnpm: {
    config: {
        android: [
            {
                description: "Please input your Android GA tracking id",
                configName: "GATrackingId"
            }
        ],
        ios: [
            {
                description: "Please input your iOS GA tracking id",
                configName: "GATrackingId"
            }
        ]
    }
}

Also; I know as my module changes, I will expose more config parameters. So allowing end-users to re-run config through rnpm config react-native-google-analytics-bridge again after updating my module would be nice.
Similar scenarios and use cases probably exists for other native module authors, like people wrapping native modules around APIs that need some specific API key.
What do you guys think?

Quick note before I get back from holidays: as per linked module -> we are going to integrate native dependency management soon this month so this will get automatically resolved, but yeah - generally prompts are lovely for better experience (especially when we assume some defaults - when something's wrong - we can just ask for it instead of quitting with log.warn/log.err)

I think this one can be solved by using hooks


Notary cli auth

Supersedes https://github.com/docker/notary/pull/162
Adds token auth capabilities to notary cli. For any interactions that require a user to be authenticated (private repos, pushes, etc...) the user will always be asked for username and password (@thaJeztah, no caching of credentials :-).
Authentication is enabled with the --auth or short form -a flags. Valid values are "token" to enable docker style token authentication, or "" to disable authentication. We plan to support HTTP basic auth at some point in the future but it is not an immediate requirement. As @dmcgowan points out below, auth is required or not by the server and there's not point in having a CLI flag, it just confuses things. It has been removed.

Awesome! thanks @endophage !

@diogomonica @NathanMcCauley I mentioned to one/both of you I wasn't sure where the URL for authentication came from and thought it might be hard coded into the token library. Good news! I've just been looking around and realized it's provided by the server as a configurable part of the auth challenge response.
We're good to merge this once it has been reviewed.
@dmcgowan @jlhawn as the most knowledgeable people on the token auth can you take a look? Derek: this has largely remained unchanged from your PR, just made the auth URL a CLI flag, and made it possible to disable/enable auth (and choose a type of auth) with another flag.
ALL: please vet the choice of CLI flag names. I'm not entirely happy with the ones I chose but I didn't want to get hung up on them while I was testing functionality.

@dmcgowan ah, very good point. I'll take out the flag and conditional.

LGTM
As a follow up we should create a tracking issue to remove the pinging.

Truly confirmed I was testing against staging this time. Everything looks to be working well. No deployments in the evening so I'll do a second pass in the morning and if everything is still OK, merge and deploy production before lunchtime.
N.B. there are no server changes in this PR, but I was making sure it works correctly against the updated master with server validation and improved logging. Both of which need to get out to prod.


hstore value is not getting saved

In my factory rule is hstore type but when I access in spec/model getting always { }.
gem version: 5.1.1
FactoryBot.define do
  factory :promotion do
    category { "amount" }
    rule {{ quantity: 3, unit: Promotion::AMOUNT, value: 15 }}
    active { true }
  end
end

With that factory, FactoryBot.create(:promotion) is roughly equivalent to:
promotion = Promotion.new
promotion.category = "amount"
promotion.rule = { quantity: 3, unit: Promotion::AMOUNT, value: 15 }
promotion.active = true
promotion.save!

As a first step I would try that code and see if you are seeing the same issue. If you do still see the issue with that code, then it is not coming from factory_bot.
Otherwise, please provide a reproduction script similar to our sample reproduction script.
Thanks!

Closing since there hasn't been any activity for a while


Infinite recursion when evaluating NetBSD

Since 00a2084a409e65e9781e9792644bbf5b1b1bca5a (cc @Mic92), trying to evaluate any packages in the "netbsd" namespace when targeting NetBSD has resulted in an infinite recursion:
% nix-instantiate -A pkgsCross.amd64-netbsd.netbsd.column
error: infinite recursion encountered, at undefined position

This appears to be coming from stdenv.cc.isGNU:

Stack trace
error: while evaluating 'mkAttrOverridable' at /home/src/nixpkgs/lib/customisation.nix:133:33, called from undefined position:
while evaluating 'makeOverridable' at /home/src/nixpkgs/lib/customisation.nix:67:24, called from /home/src/nixpkgs/lib/customisation.nix:133:36:
while evaluating anonymous function at /home/src/nixpkgs/lib/customisation.nix:133:53, called from /home/src/nixpkgs/lib/customisation.nix:69:16:
while evaluating the attribute 'column' at /home/src/nixpkgs/pkgs/os-specific/bsd/netbsd/default.nix:494:3:
while evaluating 'makeOverridable' at /home/src/nixpkgs/lib/customisation.nix:67:24, called from /home/src/nixpkgs/pkgs/os-specific/bsd/netbsd/default.nix:494:12:
while evaluating anonymous function at /home/src/nixpkgs/pkgs/os-specific/bsd/netbsd/default.nix:25:39, called from /home/src/nixpkgs/lib/customisation.nix:69:16:
while evaluating 'optionalAttrs' at /home/src/nixpkgs/lib/attrsets.nix:349:25, called from /home/src/nixpkgs/pkgs/os-specific/bsd/netbsd/default.nix:70:8:
while evaluating the attribute 'cc.isClang' at /home/src/nixpkgs/pkgs/stdenv/generic/default.nix:166:14:
while evaluating the attribute 'gcc' at /home/src/nixpkgs/pkgs/top-level/all-packages.nix:10160:3:
while evaluating 'addMetaAttrs' at /home/src/nixpkgs/lib/meta.nix:15:28, called from /home/src/nixpkgs/pkgs/top-level/all-packages.nix:10351:11:
while evaluating 'wrapCC' at /home/src/nixpkgs/pkgs/top-level/all-packages.nix:11515:12, called from /home/src/nixpkgs/pkgs/top-level/all-packages.nix:10351:20:
while evaluating 'wrapCCWith' at /home/src/nixpkgs/pkgs/top-level/all-packages.nix:11489:5, called from /home/src/nixpkgs/pkgs/top-level/all-packages.nix:11515:16:
while evaluating 'callPackageWith' at /home/src/nixpkgs/lib/customisation.nix:117:35, called from /home/src/nixpkgs/pkgs/top-level/all-packages.nix:11503:7:
while evaluating 'makeOverridable' at /home/src/nixpkgs/lib/customisation.nix:67:24, called from /home/src/nixpkgs/lib/customisation.nix:121:8:
while evaluating anonymous function at /home/src/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:8:1, called from /home/src/nixpkgs/lib/customisation.nix:69:16:
while evaluating the attribute 'NIX_CFLAGS_COMPILE' of the derivation 'libc-netbsd-8.0-x86_64-unknown-netbsd' at /home/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:203:11:
while evaluating the attribute 'extraPaths' of the derivation 'csu-netbsd-8.0-x86_64-unknown-netbsd' at /home/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:203:11:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'cvs-export' at /home/src/nixpkgs/pkgs/build-support/fetchcvs/default.nix:11:3:
while evaluating the attribute 'buildInputs' of the derivation 'openssh-8.5p1' at /home/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:197:11:
while evaluating 'getOutput' at /home/src/nixpkgs/lib/attrsets.nix:482:23, called from undefined position:
while evaluating anonymous function at /home/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:17, called from undefined position:
while evaluating 'spliceReal' at /home/src/nixpkgs/pkgs/top-level/splice.nix:28:16, called from /home/src/nixpkgs/pkgs/top-level/splice.nix:72:65:
while evaluating 'tryGetOutputs' at /home/src/nixpkgs/pkgs/top-level/splice.nix:63:25, called from /home/src/nixpkgs/pkgs/top-level/splice.nix:78:30:
while evaluating 'getOutputs' at /home/src/nixpkgs/pkgs/top-level/splice.nix:66:22, called from /home/src/nixpkgs/pkgs/top-level/splice.nix:65:12:
while evaluating 'genAttrs' at /home/src/nixpkgs/lib/attrsets.nix:309:21, called from /home/src/nixpkgs/pkgs/top-level/splice.nix:66:29:
while evaluating 'optionalAttrs' at /home/src/nixpkgs/lib/attrsets.nix:349:25, called from /home/src/nixpkgs/pkgs/top-level/splice.nix:65:24:
while evaluating the attribute 'openssl' at /home/src/nixpkgs/pkgs/top-level/all-packages.nix:16752:3:
while evaluating the attribute 'openssl_1_1' at undefined position:
while evaluating 'mkAttrOverridable' at /home/src/nixpkgs/lib/customisation.nix:133:33, called from undefined position:
while evaluating 'makeOverridable' at /home/src/nixpkgs/lib/customisation.nix:67:24, called from /home/src/nixpkgs/lib/customisation.nix:133:36:
while evaluating anonymous function at /home/src/nixpkgs/lib/customisation.nix:133:53, called from /home/src/nixpkgs/lib/customisation.nix:69:16:
while evaluating the attribute 'openssl_1_1' at /home/src/nixpkgs/pkgs/development/libraries/openssl/default.nix:182:3:
while evaluating 'common' at /home/src/nixpkgs/pkgs/development/libraries/openssl/default.nix:25:12, called from /home/src/nixpkgs/pkgs/development/libraries/openssl/default.nix:182:17:
while evaluating 'mkDerivation' at /home/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:22:5, called from /home/src/nixpkgs/pkgs/development/libraries/openssl/default.nix:26:4:
while evaluating 'extendDerivation' at /home/src/nixpkgs/lib/customisation.nix:144:43, called from /home/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:348:7:
while evaluating anonymous function at /nix/store/pvm3jaq8ca43i13qzvlb1if6nwymylcr-nix-2.3.10/share/nix/corepkgs/derivation.nix:4:1, called from /home/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:384:10:
while evaluating 'optional' at /home/src/nixpkgs/lib/lists.nix:254:20, called from /home/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:101:29:
while evaluating the attribute 'cc.isGNU' at /home/src/nixpkgs/pkgs/stdenv/generic/default.nix:166:14:
infinite recursion encountered, at undefined position

cc @matthewbauer @dtzWill @Ericson2314 (people who have previously worked on NetBSD packages in Nixpkgs)

Possibly relevant to #119076

Does this mean that cc depends on openssl somehow?

Does this mean that cc depends on openssl somehow?

Yes via fetchcvs which needs openssh which depends on openssl. At least that's what it looks like when instantiating pkgsCross.amd64-netbsd which is a even more minimal reproducer.

Would this work as a work-around?
 separateDebugInfo = stdenv.hostPlatform.isLinux &&  stdenv.cc.isGNU;

Or do we need the netbsd namespace on Linux as well?

Would this work as a work-around?
 separateDebugInfo = stdenv.hostPlatform.isLinux &&  stdenv.cc.isGNU;

Or do we need the netbsd namespace on Linux as well?

It's good to have on Linux -- lots of the stuff in there is portable.
And we definitely need it on Darwin, because we use bits of NetBSD
whenever macOS is insufficient.

Native evaluation is not an issue, turns out the issue was just that depending on the evaluation of stdenv.cc tripped up the evaluation of the cross stdenv for amd64-netbsd: #119430.


Where's the "edit on github" button for our docs?

https://googlecloudplatform.github.io/gcloud-node/#/docs/master/datastore Doesn't have the button
However https://googlecloudplatform.github.io/gcloud-node/#/docs/master/guides/authentication does?

Could be wrong, but I think only markdown driven pages (auth, contrib, etc.) have ever had an "Edit on GitHub" button. @stephenplusplus is that correct?
We do have a link to the "Source code" for every method, however it's not quite as obvious. Should be a fairly small task to support this though.

We just have to figure out what makes it easiest for a user to help us catch bugs on the content on that page. There are multiple source types:

The overview
The description
The parameters
The examples

From a UI stance, what would make the most sense to convey those sections can be edited; and then when clicking on them, what happens?
Ideas:

The overview -- On hover, show a pencil icon in the upper right. On click, go to the source code.
A function/method description -- On hover, show a pencil icon in the upper right. On click, go to the source code.
The parameters -- Next to each parameter description, on hover, show a pencil... (same as above)
The examples -- On hover, show a pencil... (same as above)

Perhaps we should move this to gcloud-common!

This issue was moved to GoogleCloudPlatform/gcloud-common#103


Unknown error on saving .html file

Since upgrading to Windows 10, every file I open in Brackets gets an 'unknown error' when saving. A temporary fix I've found is opening the same file in another text editor like Dreamweaver, saving it again and then opening back up in Brackets.

@notxalckram Could you post the console log after you run into the "unknown error". Also will you be able to share the file with us?

Hi again, it appears to be files stored on a network drive. When I use files stored on the computers internal HDD it works perfectly fine.
Also, how to do you post the console log?

@notxalckram Thanks for providing more information on this. You could get the consolde from Console tab of dev tools. Dev tools can be opened usingDebug > Show Developer Tools

I've attached the consolelog for you.

@notxalckram Thanks for the console log.

I've also had this error just now! Did not notice anything relevant in my console log though.

@notxalckram I'm facing the same issue while editing the html files on my Network drive.  Do you have any workaround or fix for this? Thanks (Please refer attached screenshot for the issue I'm facing).

@spillai98 I've stopped using Brackets, I'm in a new job now and working on macO. I prefer Brackets to other editors but it doesn't play well with files on our network drive so I've had to resort to using Atom.

I don't know if it may be helpful - or if my contribution answers your question - but you should check in Windows explorer if your file isn't selected like this:

If so, unselect it and Bracket should now properly saves your file.


Android GLES3: 3D Particles on GPU not showing when using scale curve

Godot version:
Reproduced on Master c23710adde23a0e415097dee7d8e6f9ba76a0970 (need 404f39422665375e62863c0247768759bb2cd0be, see note at the bottom)
OS/device including version:
Android, Samsung Galaxy S6
Issue description:
3D Particles on GPU (GLES3) don't show up on Android when using a scale curve in the particle material.
Steps to reproduce:

Add Particles node in scene
Set a Scale Curve (any type of curve, the issue happens with flat 1)
Deploy to Android device
Particles don't show up

Minimal reproduction project:
test-particles.zip
Important note
You need 404f39422665375e62863c0247768759bb2cd0be for particles to be rendered at all on Android GLES3.

It's actually related to that issue: #24295


[META]: Running fermyon.com using Spin

With the new file server (https://github.com/fermyon/spin-fileserver) and the port of Bartholomew (no PR yet, as it would be public), we can run the fermyon.com website locally using Spin, and I think it is in our best interest to run it in production using Spin as soon as possible.
Before doing that, we need to solve a few issues:

[x] #70 (unnoticeable for the website, but very annoying)

[x] #37 and #42 (we could it as a local app, but we need to use Bindle anyway)

[x] #71 (fix available)

[x] #31 (redirecting both stdout and stderr to files should work)

[x] #33

[ ] #22

EDIT: we decided to move ahead with running spin.fermyon.dev using Spin first, and integrate Hippo there.
So #22 is no longer a hard requirement for now, but it will become again for v0.2.0

fermyon.com has been running on Spin for a few months now.


Fix name of attendance feature parameter.

Critical Changes
Changes
Issues Closed

Fixes an issue where the name of a telemetry feature parameter was incorrect and could not be sent.

New Metadata
Deleted Metadata
Definition of Done
Refer to Asteroids DoD document to see any additional details for the items below
Any net new LWC work has Sa11y tests & 50% or above lines JEST test coverage
CRUD/FLS is enforced in Apex
Permission sets are updated to account for CRUD|FLS|Tab|Classes
Field sets are updated to account for new fields
UX approval or UX not necessary

[x] Link the pull request and work item by PR comment and Chatter post respectively, e.g. GUS: W-0000000: Work Name (https://github.com/SalesforceFoundation/PMM/pull/303)
[ ] All acceptance criteria have been met

[x] Developer
[ ] Code Reviewer
[ ] QA

[x] PR contains draft release notes
[ ] QE story level testing completed

W-9606517


Feature/humle dual arm demo

not sure if that works - just tried a rebase to humble and merged content from there.
this pull request is maybe simply only helpful for reference.
┆Issue is synchronized with this Jira Task by Unito

Hi @AlexanderStohr, most (if not all) of the changes in these PRs have now been integrated into the humble branch so I'm going to close this out. Thank you for PR.


RaspberryPi2 board setup.sh sets KERNCONF=GENERIC, but GENERIC does not exist

Not sure if i'm doing something wrong, and this used to work before, but on my latest attempt to build an image for the rpi2, I got an error:
Didn't find /usr/src/freebsd_rpi2b/crochet/src/sys/arm/conf/GENERIC
And indeed this file does not exist in the releng/11.1 branch:
https://github.com/freebsd/freebsd/tree/releng/11.1/sys/arm/conf
I'm pretty sure that my previous image did build with the RPI2 config, given the output of uname when running that image:
FreeBSD pi.localnet 11.1-RELEASE-p5 FreeBSD 11.1-RELEASE-p5 #0 r313908+d1ca5f865fb(releng/11.1): Fri Dec  1 22:16:28 CET 2017     gmc@enterprise:/usr/src/freebsd_rpi2b/crochet/work/obj/arm.armv6/usr/src/freebsd_rpi2b/crochet/src/sys/RPI2  arm
I see the KERNCONF was changed in the board's setup.sh here:
https://github.com/freebsd/crochet/commit/cf14b342e312ba649dffa0ac4921118da8a1d214#diff-8ba6e6ecb3698ee1596ff547ed430cac
So I guess when i did a pull from origin before rebuilding, I pulled in that change and now the default setup is broken.
What I can't figure out is how this is supposed to work with a non-existing GENERIC kernel config. Of course, I can set KERNCONF=RPI2 in config.sh, but I would expect the default to use that instead of GENERIC.

Hmm, that's not the only problem i'm getting it seems. Building now stops with another error:
cd: stand: No such file or directory
Is crochet supposed to work with 11.1 at all, or am I just trying some combination that I shouldn't?


Cargo not properly escaping quotes in Windows command lines

I'm getting an error when trying to build code that depends on the libc crate in cargo:
   Compiling libc v0.1.8
     Running `rustc C:\Users\Andrew\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.1.8\rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature="cargo-build" --cfg feature="default" -C metadata=2eda841eb12a3090 -C extra-filename=-2eda841eb12a3090 --out-dir C:\Users\Andrew\Code\anurse\cargo-bug-repro\doesnotwork\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\Andrew\Code\anurse\cargo-bug-repro\doesnotwork\target\debug\deps -L dependency=C:\Users\Andrew\Code\anurse\cargo-bug-repro\doesnotwork\target\debug\deps -Awarnings`
cfgspec:1:9: 1:14 error: unexpected token: `cargo`
cfgspec:1 feature=cargo-build
                  ^~~~~
Could not compile `libc`.

Caused by:
  Process didn't exit successfully: `rustc C:\Users\Andrew\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.1.8\rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature="cargo-build" --cfg feature="default" -C metadata=2eda841eb12a3090 -C extra-filename=-2eda841eb12a3090 --out-dir C:\Users\Andrew\Code\anurse\cargo-bug-repro\doesnotwork\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\Andrew\Code\anurse\cargo-bug-repro\doesnotwork\target\debug\deps -L dependency=C:\Users\Andrew\Code\anurse\cargo-bug-repro\doesnotwork\target\debug\deps -Awarnings` (exit code: 101)

I have a small repro project at https://github.com/anurse/cargo-bug-repro, to repro this bug just do the following on a Windows machine:

Install latest rust and cargo nightlies (I have rustc 1.2.0-nightly (f76d9bcfc 2015-05-28) and cargo 0.2.0-nightly (ac61996 2015-05-17))
Clone the repo referenced above and cd to doesnotwork OR create a new binary crate that depends upon the libc crate
cargo build

It looks like cargo is passing feature config switches to rustc, but the quotes are being stripped, probably by either the shell or the Windows command line parsing api CommandLineToArgvW (see also: http://blogs.msdn.com/b/oldnewthing/archive/2010/09/17/10063629.aspx).
Obviously, this would likely repro in any crate that uses features, but libc is where I saw it.

Hm, this is quite surprising! We've got Cargo builds working all the time on Windows, many of which depend on libc. Where are you running cargo from? (e.g. PowerShell, cmd.exe, MSYS2 bash, etc).

I tried in both PowerShell and cmd. Haven't tried msys2 bash but I can try that later

I'm also unable to reproduce this in either cmd.exe or PowerShell. Do you know if anything could possibly be intercepting calls to CreateProcess and may perhaps have a bug in it?

It's certainly possible, thanks for trying to repro it. I'll try some things on different machines and see if I can narrow down the exact cause. I'm using Windows 10 Preview (I realize you probably don't "officially" support that yet ;)), so it's possible there's something coming down that line that may break this, though I doubt it.
I've also got a fairly customized environment so it could be that something I'm doing is messing it up :).
I'll keep investigating and re-open this if I find anything further. Thanks again for your help!

Finally got a chance to try this on a fresh machine and it does not repro. So it definitely looks like it's an issue on my machine. Thanks for your help!

No problem, thanks for investigating @anurse!

To circle back for anyone arriving via a search: The issue was with the Windows package manager I use (Scoop). I submitted a PR there to see if I could fix their rust-nightly package: lukesampson/scoop-extras#98


Table UI to be fixed

Fix the table UI

2 line height for row
On hover of comments, show full last comment
On click of comment column, show alert with full comments list

Fixed - issue listing and popup with all Comments working fine


Typo in Buffer Design Description

Just FYI, minor typo in this description.

Thanks for the catch, fixed. If you spot small errors in the future feel free to edit the documentation to fix it. Github has a pretty good in-browser editor (top right when you click on the file).


Query By Committee with multi-column output prediction

Hi,
I was working on a project which would predict multi-column (multi-category) Y, using Query By Committee function.
in learner.py
The numpy.unique raised a few issues, and it seemed like if there are different sized arrays, then the numpy.concatenate would raise issues.
For example,
My known_classes were:
([array([4.]), array([1., 3.]), array([4.]), array([4., 5.])], [array([3., 4.]), array([1., 4.]), array([3., 4.]), array([4., 5.])])
But then,
Traceback (most recent call last):
File "<__array_function__ internals>", line 6, in concatenate
ValueError: all the input arrays must have same number of dimensions,
but the array at index 0 has 1 dimension(s) and the array at index 1 has 2 dimension(s)

Therefore, my workaround was to give a parameter in _set_classes() function and that
        if given_classes.size == 0: # if class definitions are given
            self.classes_ = np.unique(np.concatenate(known_classes, axis=0), axis=0)
        else:
            self.classes_ = given_classes

so I could simply feed in what my labels would be...
However, it would be great if there can be a more elegant solution to this.

Hey, I have the exact same problem. But I have trouble reproducing your code can you please help me with that


[SPARK-9883][MLlib] Distance to each kmean cluster given a point

First step done by @tex0l ;)

Can one of the admins verify this patch?

ok to test

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

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

ERROR: Timeout after 15 minutes
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/spark.git

Somehow I am glad that it does not only happen to my projects.
The patch is still basic and need a few changes (consistent signature between single call and RDD call) but the tests shouldn't fail.

Merged build triggered.

Merged build started.

Test build #42773 has started for   PR 8849 at commit 7a746d1.

Test build #42773 has finished for   PR 8849 at commit 7a746d1.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Merged build triggered.

Merged build started.

Test build #42775 has started for   PR 8849 at commit beed882.

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

Merged build finished. Test FAILed.

ERROR: Timeout after 15 minutes
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/spark.git

Test build #42775 has finished for   PR 8849 at commit beed882.

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

Merged build finished. Test PASSed.

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

I think I still need to change the method signature.
Predict on a RDD is the following

def predict(points: JavaRDD[Vector]): JavaRDD[java.lang.Integer]

Distances on a RDD is the following

def distanceToCenters(points: RDD[Vector]): RDD[(Vector, Iterable[(VectorWithNorm, Double)])]

I am more confortable with having the input point in the output but predict does no work like that.
If you say the predict template should be followed, I will change the method signature.
The second aspect is that I may want to output cluster indices instead of their locations.
I would be glad to have your point of view @mengxr.

Merged build triggered.

Merged build started.

Merged build triggered.

Merged build started.

Test build #42854 has started for   PR 8849 at commit d97d8f8.

Merged build finished. Test FAILed.

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

Merged build triggered.

ERROR: Timeout after 15 minutes
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/spark.git

Merged build started.

Test build #42856 has started for   PR 8849 at commit a193011.

Test build #42856 has finished for   PR 8849 at commit a193011.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Merged build triggered.

Merged build started.

Test build #42854 has finished for   PR 8849 at commit d97d8f8.

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

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

Merged build finished. Test PASSed.

Merged build finished. Test FAILed.

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

ERROR: Timeout after 15 minutes
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/spark.git

Both methods now returns the cluster indices.
I have added a toList call to make sure there is no laziness involved but that's maybe not necessary.
Still need a feedback for the return type of

def distanceToCenters(points: RDD[Vector]): RDD[(Vector, Iterable[(VectorWithNorm, Double)])]

Jenkins, test this please

Merged build triggered.

Merged build started.

Test build #44797 has started for PR 8849 at commit 159608a.

Test build #44797 has finished for PR 8849 at commit 159608a.

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

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

Merged build finished. Test PASSed.

@BertrandDechoux thank you for the update. Sounds interesting, but I don't think we should calculate distances between a point and all centers. Personally, I think we should calculate the distance between a point and the closest center.
And I'm wondering if the method should return the pair of cluster index and distance or only distance.
@mengxr @jkbradley what do you think?

In a perfect world, each point belongs to a specific cluster and the number of clusters is easy to find. In reality, it is less so. Knowing the distance is a way to appreciate the closeness of a point with regard to a cluster.
K-means can be thought as a special mixture model. When using a mixture model, the impact of each 'cluster' with regard to a specific point is an important information. I think the same holds true for K-means.
But, in the end, it does depend in which context and how you are using K-means indeed.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I think this should just be closed. I don't think there's enough value in adding this API now.


falco - grafana alert

Describe the bug
Falco is generating the below grafana alert on a test cluster setup:

{"output":"06:09:22.130958663: Error File below /etc opened for writing (user= user_loginuid=-1 command=python -u /app/sidecar.py parent= pcmdline= file=/etc/grafana/provisioning/datasources/datasource.yaml program=python gparent= ggparent= gggparent= container_id=fd71c image=quay.io/kiwigrid/k8s-sidecar) k8s.ns=monitoring k8s.pod=kube-prometheus-stack-grafana-6 container=fd71c k8s.ns=monitoring k8s.pod=kube-prometheus-stack-grafana-6 container=fd71c2cbb9d7 k8s.ns=monitoring k8s.pod=kube-prometheus-stack-grafana-6 container=fd71c k8s.ns=monitoring k8s.pod=kube-prometheus-stack-grafana-6container=fd71c k8s.ns=monitoring k8s.pod=kube-prometheus-stack-grafana-6container=fd71c k8s.ns=monitoring k8s.pod=kube-prometheus-stack-grafana-6 container=fd71c k8s.ns=monitoring k8s.pod=kube-prometheus-stack-grafana-6 container=fd71c","priority":"Error","rule":"Write below etc","source":"syscall","tags":["filesystem","mitre_persistence"],"time":"2022-08-12T06:09:22.130958663Z", "output_fields": {"container.id":"fd71c2cbb9d7","container.image.repository":"quay.io/kiwigrid/k8s-sidecar","evt.time":1660284562130958663,"fd.name":"/etc/grafana/provisioning/datasources/datasource.yaml","k8s.ns.name":"monitoring","k8s.pod.name":"kube-prometheus-stack-grafana-65b66b569b-558bv","proc.aname[2]":null,"proc.aname[3]":null,"proc.aname[4]":null,"proc.cmdline":"python -u /app/sidecar.py","proc.name":"python","proc.pcmdline":null,"proc.pname":null,"user.loginuid":-1,"user.name":null}}

Expected behaviour
Alert not being triggered or an exception added if it's a know behaviour that doesn't affect our security.
Definition of Done

wait until we complete the falco v0.33 upgrade task
check if the alert is still present (check after 24h or 48h)
if still there investigate the issue and propose a solution

Not an issue anymore (long-running)


Public sharing

Is it possible to share a slide publicly?
When I'm not logged in, I see this error:
Error: Unauthorized [403]
    at Proxy.makeContext (app/server/proxy.js:951:13)
    at app/server/proxy.js:1191:17
    at C (/node_modules/es6-promise.js:12:57)
    at /node_modules/es6-promise.js:17:252
    at t (/node_modules/es6-promise.js:9:473)
    at process._tickCallback (node.js:419:13)

Interesting, you can share the grain url (the url before you enter present mode), but note if you share that url people will be able to edit your presentation.
The plan is to only allow the owning Sandstorm account to edit, and let everyone else view. But they would still have to follow the grain link and then click present themselves.
I think fixing this is dependent on the app being able to open fullscreen mode without breaking out of the sandstorm shell, which is currently how present mode works.


[core] Failed type inference

Hi,
Class kotlin.sequences.SequencesKt___SequencesKt
    public static final <T extends Comparable<? super T>> T max(@NotNull Sequence<? extends T> sequence) {
        Intrinsics.checkParameterIsNotNull(sequence, "$this$max");
        Iterator<? extends T> it = sequence.iterator();
        if (!it.hasNext()) {
            return null;
        }
        T t = (T) ((Comparable) it.next());
        while (it.hasNext()) {
            ?? r1 = (Comparable) it.next(); // <<<
            if (t.compareTo(r1) < 0) {
                t = r1;
            }
        }
        return t;
    }

Probably there should be the same line: T r1 = (T) ((Comparable) it.next());
There are a lot of such errors in that file
APK: https://drive.google.com/file/d/1qC3tlWs9AtPBpyS6iU9kcSphLryfJOxi/view

@bagipro this case fixed. Although, same class have many similar warnings, but generated code don't have unresolved types (??). Maybe I will try to fix these later.

Thanks!


WIP: RHODS: fix on-demand cluster password

[kube-password] Remove, not used

Not working anymore it seems.

cluster_create_htpasswd_user: new role to create a htpasswd user

testing: ods: clusters: use create_htpasswd_user to set the cluster's password

/test ods-jh-on-single

/test ods-jh-on-single
On Sat, Jul 16, 2022 at 12:07 AM openshift-ci[bot] @.***>
wrote:

@kpouget https://github.com/kpouget: The following test failed, say
/retest to rerun all failed tests or /retest-required to rerun all
mandatory failed tests:
Test name Commit Details Required Rerun command
ci/prow/ods-jh-on-single d6fa3d0
https://github.com/openshift-psap/ci-artifacts/commit/d6fa3d0f591e90c9ac488f0b1b6d0a5429a10719
link
https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift-psap_ci-artifacts/441/pull-ci-openshift-psap-ci-artifacts-master-ods-jh-on-single/1548043446986477568
true /test ods-jh-on-single
Full PR test history
https://prow.ci.openshift.org/pr-history?org=openshift-psap&repo=ci-artifacts&pr=441.
Your PR dashboard
https://prow.ci.openshift.org/pr?query=is:pr+state:open+author:kpouget.
Instructions for interacting with me using PR comments are available here
https://git.k8s.io/community/contributors/guide/pull-requests.md. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow issue:
repository. I understand the commands that are listed here
https://go.k8s.io/bot-commands.
—
Reply to this email directly, view it on GitHub
https://github.com/openshift-psap/ci-artifacts/pull/441#issuecomment-1185984358,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZVQIQAHBGRWGREROSU6SLVUHOKTANCNFSM53WA7J3A
.
You are receiving this because you were mentioned.Message ID:
@.***>

/test ods-jh-on-single

/test ods-jh-on-single


make GitHubActions also run tests for netstd

Add a job to build and run tests for netstd. Also upload the binaries as artifact.
This gives basic testing, but leaves including to cross-test for the future.
Most job-steps are copied from the other jobs.
In relation to #2994 it already uses artifact-action v4 and ubuntu-22.04 (ubuntu-20.04 has issues with dotnet-support).

This change was made to run tests for #2993 issue (which only affects v0.20.0) and therefore base on v0.20 branch. The current PR also relies on some changes of #2994 ans it should probably merged after it.
If it's more convenient to merge this PR before #2994 I can update it to apply on master directly as a single commit with linear history.

@SvenRoederer could you send another PR with the added tests only targeting master branch?


SPARQL update and additional semantics parameters

Support the new request and additional parameters for existing requests in the graphs object.

Automation tests are added by Aries and Kiran


Feature: git gui should run commands in "visualise master history"

It would be very helpful, if the git gui "visualise master history" window would
be able to run a configable command for earch versioned file.
When you are working with data files (e.g. X3D files), a diff output is not much useful, instead a the start of a viewer for each file would be great.

As you can see in the issue template, this repository issue tracker should only be used to report problems found on the git-scm website (https://git-scm.com/).
Git specific issues should be raised with the community (https://git-scm.com/community).


Using Updated Version With @capacitor/geolocation Makes The App Crash

Describe the bug
Hi, I'm using the official @capacitor/geolocation plugin to get the current location, and this @capacitor-community/background-geolocation plugin to get continuous location. The plugins were working completely fine side by side when using the 1.4.11 version. After updating this plugin and node modules of my project, app tends to crash the moment any function of  @capacitor/geolocation  is called. This only happens in Android 13+ devices.
To Reproduce
Steps to reproduce the behavior:

Update the plugin from 1.4.11.
Delete package-lock.json and node modules in the local project.
Install packages with 'npm install'.
Build the android app.

Expected behavior
The app to work smoothly like it did before updating the package.
Smartphone (please complete the following information):

Device: Redmi Note 11
OS: Android 13.0.5

Additional context
I'm using an ionic 6.7.5 project with capacitor V4.
Any context on why this is happening would be nice. Thanks!

Here's the stack trace:

I have no idea why this is happening, and unfortunately I don't have time to look into it. Please let me know if you find the problem. If all else fails, you can use this plugin for both foreground and background location updates (simply omit the backgroundMessage property to create a foreground watcher).

I have no idea why this is happening, and unfortunately I don't have time to look into it. Please let me know if you find the problem. If all else fails, you can use this plugin for both foreground and background location updates (simply omit the backgroundMessage property to create a foreground watcher).

You should delete @capacitor/background-runner @capacitor/geolocation if you have them, I've had such problem, but my app couldn't build so I found out that those packeges are extra and I should get rid of them

Any update on this? We kind'a want to use @capacitor-community/background-geolocation along side with @capacitor/geolocation.

If you can locate the problem, I will release a fix.

When the app is moved to the background, the background geolocation watch often stops. Occasionally, it continues running, but it is unreliable. The issue appears to be associated with Android 14.
Steps to Reproduce:
Start the app and enable the background geolocation watch.
Move the app to the background.
Observe the behavior of the background geolocation watch.
Expected Behavior:
The background geolocation watch should reliably continue to function when the app is moved to the background.
Actual Behavior:
Most of the time, the background geolocation watch stops when the app is moved to the background.
Log:
Attempted to start a foreground service (**********/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService) with a broken notification (no icon: Notification(channel=com.equimaps.capacitor_background_geolocation shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x42 color=0x00000000 vis=PRIVATE))
2024-07-23 09:03:55.857 14472-14472 VRI[MainActivity] **********

Notes:
This issue seems to be more prominent on devices running Android 14.
Additional testing on Android 14 devices may be required to determine reliability.
Please investigate and provide any potential fixes or workarounds.

Also found this log:
2024-07-23 09:11:58.373  1691-4305  ActivityManager         system_server                        W  Foreground service started from background can not have location/camera/microphone access: service **********/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService

Background geolocations never arrive if the notification icon is misconfigured. In your log, you have the line Attempted to start a foreground service ... with a broken notification, so make sure you have followed the instructions to the letter. Your other log line seems related to https://github.com/capacitor-community/background-geolocation/issues/117.

We are currently integrating your background_geolocation plugin into our Android application. We've noticed that when we add the ACCESS_BACKGROUND_LOCATION permission into our AndroidManifest.xml, the app settings show the "Allow all the time" option for location permissions. Selecting this option enables the app to function correctly in the background, consistently collecting location data and sending it to our server via the Capacitor.Http plugin.
Given this setup, we are curious about the necessity of additional handling via local notifications or similar methods. Could you please provide some insights or clarification on why such additional handling might be required?
Additionally, we would like to be able to select the "Allow all the time" option right at the beginning when the plugin prompts for location permissions. Our main goal is to track users on the map while they are using our app, and we do not want to require every single user to manually go to the app settings and enable this option.

I've written a bit about the permissions model at https://github.com/capacitor-community/background-geolocation/issues/58#issuecomment-1101896976. Have a read and let me know if it doesn't answer your question.

Our application has a specific need for continuous background location tracking, and we have encountered some issues that we would like to clarify and seek your support on.
Our Use Case:
Our users need to be tracked continuously while the app is running. We have implemented a handler within the addWatch callback that dynamically adjusts the distanceFilter to optimize battery usage. This handler cancels the previous watch and adds a new one with a recalculated distanceFilter based on user activity (e.g., walking, driving). This approach helps reduce battery drain when users keep the app open all day.
The Problem:
We have observed that sometimes the location tracking works as expected in the background without the ACCESS_BACKGROUND_LOCATION permission, but sometimes it doesn't. We suspect this inconsistency is due to Android's strict rules on starting foreground services from the background. Specifically, our handler may be inadvertently killing the active watch and failing to start a new one because of these rules.
Why We Need ACCESS_BACKGROUND_LOCATION:
Dynamic Adjustment: We need to dynamically adjust the distanceFilter to handle different scenarios, such as precise locations when users are walking and broader distances when they are driving. This requires the ability to restart location watches in the background.
Consistent Tracking: Without ACCESS_BACKGROUND_LOCATION, we face inconsistencies in background tracking, which undermines the reliability of our application.
Battery Optimization: The dynamic adjustment is crucial for optimizing battery usage, and it relies on the ability to restart location watches based on user activity, even when the app is not in the foreground.
We believe that obtaining ACCESS_BACKGROUND_LOCATION permission will resolve these issues and allow our application to function as intended, providing reliable and efficient background location tracking.
If this plugin is not built for such use cases, please let us know. We would greatly appreciate any guidance or suggestions you can provide to help us achieve consistent background location tracking. If there are alternative approaches we should consider, please let us know.
Thank you for your assistance.

I see. You could try starting the new watcher before stopping the previous one, that should prevent the foreground service from stopping.
The ACCESS_BACKGROUND_LOCATION permission seems too heavy handed for this plugin. Google are very stringent in their review of apps that list ACCESS_BACKGROUND_LOCATION in the manifest, because of the potential for abuse. I think you have already discovered that it is not possible to prompt the user for this permission. From what you are saying, however, the ACCESS_BACKGROUND_LOCATION makes it possible to start a foreground location service from the background.
I know of one alternative, https://github.com/transistorsoft/capacitor-background-geolocation. It is not free, but it seems to do everything you could ever want.

Thank you for your previous response. We have conducted further testing and have some additional observations and persistent issues to report:
Logs and Observations
App Foreground and Background Behavior:
When the app is in the foreground, we can start and utilize the foreground service without issues. This is confirmed by the consistent location updates received while the app is active.
However, when the app transitions to the background, we experience mixed results. Initially, the foreground service is allowed to start from the background, as seen at 2024-07-24 08:54:37. But subsequently, when the app is backgrounded again, the system enforces restrictions. At 2024-07-24 08:54:49, we receive the log: Foreground service started from background can not have location/camera/microphone access.
Foreground Service Restriction:
This restriction prevents the foreground service from accessing location, camera, or microphone data, aligning with Android's privacy policies. This inconsistency is causing interruptions in our app’s functionality when it is not in the foreground.
Persistent Issues
Despite starting a new watcher before stopping the previous one, the foreground service still faces restrictions when the app is backgrounded. This approach has not resolved the issue.
The suggested use of ACCESS_BACKGROUND_LOCATION permission seems to address part of the problem. However, as you noted, Google’s stringent review process and potential for abuse make this permission less ideal for our use case.
Logs:

[app] - [2024-07-24 08:54:34] appStateChange true
[geoLocation] - [2024-07-24 08:54:34] Speed in mps: 0.20945321 Speed in km/h: 0.754031556
[geoLocation] - [2024-07-24 08:54:34] Watcher update from 21525298 to 21525311
[geoLocation] - [2024-07-24 08:54:34] Speed in mps: 0.20945321 Speed in km/h: 0.754031556
[geoLocation] - [2024-07-24 08:54:34] Speed in mps: 0 Speed in km/h: 0
[geoLocation] - [2024-07-24 08:54:34] Watcher update from 21525311 to 21525337
[geoLocation] - [2024-07-24 08:54:34] Speed in mps: 0.20945321 Speed in km/h: 0.754031556
[geoLocation] - [2024-07-24 08:54:35] Watcher update from 21525337 to 21525349
[geoLocation] - [2024-07-24 08:54:35] Speed in mps: 0.23577248 Speed in km/h: 0.848780928
[geoLocation] - [2024-07-24 08:54:36] Speed in mps: 0.17713715 Speed in km/h: 0.63769374
[geoLocation] - [2024-07-24 08:54:36] Speed in mps: 0.124507606 Speed in km/h: 0.44822738160000003
[geoLocation] - [2024-07-24 08:54:36] Watcher update from 21525349 to 21525366
[geoLocation] - [2024-07-24 08:54:37] Speed in mps: 0.124507606 Speed in km/h: 0.44822738160000003
[app] - [2024-07-24 08:54:37] appStateChange false
[geoLocation] - [2024-07-24 08:54:37] Speed in mps: 0.10348552 Speed in km/h: 0.372547872
[geoLocation] - [2024-07-24 08:54:38] Speed in mps: 0.12884517 Speed in km/h: 0.46384261200000004
[geoLocation] - [2024-07-24 08:54:39] Speed in mps: 0.13284412 Speed in km/h: 0.47823883200000006
[geoLocation] - [2024-07-24 08:54:40] Speed in mps: 0.12111354 Speed in km/h: 0.436008744
[geoLocation] - [2024-07-24 08:54:40] Speed in mps: 0.031016504 Speed in km/h: 0.1116594144
[geoLocation] - [2024-07-24 08:54:40] Speed in mps: 0.076406844 Speed in km/h: 0.2750646384
[geoLocation] - [2024-07-24 08:54:41] Speed in mps: 0.07869838 Speed in km/h: 0.283314168
[geoLocation] - [2024-07-24 08:54:41] Speed in mps: 0.0759485 Speed in km/h: 0.2734146
[geoLocation] - [2024-07-24 08:54:42] Speed in mps: 0.029365502 Speed in km/h: 0.10571580720000001
[geoLocation] - [2024-07-24 08:54:43] Speed in mps: 0.0821686 Speed in km/h: 0.29580696
[geoLocation] - [2024-07-24 08:54:43] Speed in mps: 0.04148306 Speed in km/h: 0.14933901600000002
[geoLocation] - [2024-07-24 08:54:44] Speed in mps: 0.08566267 Speed in km/h: 0.308385612
[geoLocation] - [2024-07-24 08:54:44] Speed in mps: 0.12446294 Speed in km/h: 0.448066584
[geoLocation] - [2024-07-24 08:54:45] Speed in mps: 0.16775437 Speed in km/h: 0.603915732
[geoLocation] - [2024-07-24 08:54:45] Watcher update from 21525366 to 21525421
[geoLocation] - [2024-07-24 08:54:45] Speed in mps: 0.16775437 Speed in km/h: 0.603915732
[geoLocation] - [2024-07-24 08:54:46] Speed in mps: 0.1857523 Speed in km/h: 0.66870828
[app] - [2024-07-24 08:54:46] appStateChange true
[geoLocation] - [2024-07-24 08:54:46] Speed in mps: 0 Speed in km/h: 0
[geoLocation] - [2024-07-24 08:54:46] Watcher update from 21525421 to 21525453
[geoLocation] - [2024-07-24 08:54:47] Speed in mps: 0.17506139 Speed in km/h: 0.630221004
[geoLocation] - [2024-07-24 08:54:47] Watcher update from 21525453 to 21525465
[geoLocation] - [2024-07-24 08:54:47] Speed in mps: 0.17479034 Speed in km/h: 0.6292452239999999
[geoLocation] - [2024-07-24 08:54:48] Speed in mps: 0.124514595 Speed in km/h: 0.44825254200000003
[geoLocation] - [2024-07-24 08:54:48] Watcher update from 21525465 to 21525475
[geoLocation] - [2024-07-24 08:54:48] Speed in mps: 0.14376326 Speed in km/h: 0.517547736
[geoLocation] - [2024-07-24 08:54:48] Speed in mps: 0.1068989 Speed in km/h: 0.38483604000000005
[geoLocation] - [2024-07-24 08:54:49] Speed in mps: 0.10202237 Speed in km/h: 0.367280532
[app] - [2024-07-24 08:54:49] appStateChange false

2024-07-24 08:54:37.158  1691-4028  ActivityManager         system_server                        I  Background started FGS: Allowed [callingPackage: lt.iterato.mapli; callingUid: 10449; uidState: TOP ; uidBFSL: [BFSL]; intent: Intent { cmp=lt.iterato.mapli/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService }; code:PROC_STATE_TOP; tempAllowListReason:; targetSdkVersion:34; callerTargetSdkVersion:34; startForegroundCount:0; bindFromPackage:null: isBindService:false]; startForegroundDelayMs:102021

2024-07-24 08:54:49.210  1691-6066  ActivityManager         system_server                        W  Foreground service started from background can not have location/camera/microphone access: service lt.iterato.mapli/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService
2024-07-24 08:54:49.210  1691-6066  ActivityManager         system_server                        I  Background started FGS: Allowed [callingPackage: lt.iterato.mapli; callingUid: 10449; uidState: LAST; uidBFSL: n/a; intent: Intent { cmp=lt.iterato.mapli/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService }; code:ACTIVITY_VISIBILITY_GRACE_PERIOD; tempAllowListReason:; targetSdkVersion:34; callerTargetSdkVersion:34; startForegroundCount:1; bindFromPackage:null: isBindService:false]

We tested the app without the dynamic distanceFilter setup. We created the foreground service once and then toggled the app between foreground and background. However, the foreground service randomly stops.
2024-07-24 11:03:54.645  1691-6579  ActivityManager         system_server                        W  Foreground service started from background can not have location/camera/microphone access: service [APP_ID]/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService
2024-07-24 11:03:54.645  1691-6579  ActivityManager         system_server                        I  Background started FGS: Allowed [callingPackage: [APP_ID]; callingUid: 10449; uidState: LAST; uidBFSL: n/a; intent: Intent { cmp=[APP_ID]/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService }; code:ACTIVITY_VISIBILITY_GRACE_PERIOD; tempAllowListReason:; targetSdkVersion:34; callerTargetSdkVersion:34; startForegroundCount:0; bindFromPackage:null: isBindService:false]; startForegroundDelayMs:40614
2024-07-24 11:04:05.781  1691-4866  ActivityManager         system_server                        W  Foreground service started from background can not have location/camera/microphone access: service [APP_ID]/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService
2024-07-24 11:04:05.781  1691-4866  ActivityManager         system_server                        I  Background started FGS: Allowed [callingPackage: [APP_ID]; callingUid: 10449; uidState: LAST; uidBFSL: n/a; intent: Intent { cmp=[APP_ID]/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService }; code:ACTIVITY_VISIBILITY_GRACE_PERIOD; tempAllowListReason:; targetSdkVersion:34; callerTargetSdkVersion:34; startForegroundCount:0; bindFromPackage:null: isBindService:false]; startForegroundDelayMs:51750
2024-07-24 11:05:16.071  1691-6217  ActivityManager         system_server                        I  Background started FGS: Allowed [callingPackage: [APP_ID]; callingUid: 10449; uidState: TOP ; uidBFSL: [BFSL]; intent: Intent { cmp=[APP_ID]/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService }; code:PROC_STATE_TOP; tempAllowListReason:; targetSdkVersion:34; callerTargetSdkVersion:34; startForegroundCount:0; bindFromPackage:null: isBindService:false]; startForegroundDelayMs:122040
2024-07-24 11:05:31.466  1691-3794  ActivityManager         system_server                        I  Background started FGS: Allowed [callingPackage: [APP_ID]; callingUid: 10449; uidState: TOP ; uidBFSL: [BFSL]; intent: Intent { cmp=[APP_ID]/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService }; code:PROC_STATE_TOP; tempAllowListReason:; targetSdkVersion:34; callerTargetSdkVersion:34; startForegroundCount:1; bindFromPackage:null: isBindService:false]
2024-07-24 11:05:35.767  1691-1713  ActivityManager         system_server                        I  Background started FGS: Allowed [callingPackage: [APP_ID]; callingUid: 10449; uidState: TOP ; uidBFSL: [BFSL]; intent: Intent { cmp=[APP_ID]/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService }; code:PROC_STATE_TOP; tempAllowListReason:; targetSdkVersion:34; callerTargetSdkVersion:34; startForegroundCount:2; bindFromPackage:null: isBindService:false]
2024-07-24 11:05:39.314  1691-6093  ActivityManager         system_server                        W  Foreground service started from background can not have location/camera/microphone access: service [APP_ID]/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService
2024-07-24 11:05:39.314  1691-6093  ActivityManager         system_server                        I  Background started FGS: Allowed [callingPackage: [APP_ID]; callingUid: 10449; uidState: LAST; uidBFSL: n/a; intent: Intent { cmp=[APP_ID]/com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService }; code:ACTIVITY_VISIBILITY_GRACE_PERIOD; tempAllowListReason:; targetSdkVersion:34; callerTargetSdkVersion:34; startForegroundCount:3; bindFromPackage:null: isBindService:false]
We toggled multiple times between foreground and background. Sometimes it worked, and we received tracking notifications when the foreground service was running in the background. However, other times, it did not work. The location icon disappeared from the phone's status bar, no notification was provided, and this log appeared: "Foreground service started from background cannot have location/camera/microphone access: service."
The app is functioning correctly without any other errors or crashes.
When you developed the plugin, did you test the notification delivery in scenarios where the app is toggled multiple times to ensure that the foreground service runs continuously without any issues?
We are confused of this inconsistency.

Continuing this discussion in https://github.com/capacitor-community/background-geolocation/issues/119.


[A11y] ScreenReader doesn't announce ScrollStateChanges in CustomScrollView (e.g "showing items 1 to 10 of 23")

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Have a CustomScrollView with 'semanticChildCount' set, 'addSemanticIndexes: true' and a bunch of elements
Turn VoiceOver / TalkBack on
Perform a ScrollGesture (on iOS Three-finger swipe up)

The feature is described in detail here in the section 'Accessibility': https://api.flutter.dev/flutter/widgets/CustomScrollView-class.html
Expected results
VoiceOver should announce something like "showing items 1 to 10 of 23"
Actual results
Accessibility focus moves to the title and announces it.
Code sample
Code sample
CustomScrollView(
        semanticChildCount: 100,
        slivers: <Widget>[
          SliverList(
            delegate: SliverChildBuilderDelegate(
              addSemanticIndexes: true,
              (BuildContext context, int index) {
                // Build your list item here
                return SizedBox(
                  height: 150,
                  child: Text('Item $index'),
                );
              },
              childCount: 100, // Number of items in the list
            ),
          ),
        ],
      ),

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]
https://github.com/flutter/flutter/assets/57287592/3b27cf95-e059-4248-a7c0-f8d76b829a16

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.0, on macOS 13.0 22A8380 darwin-arm64, locale en-CH)
    • Flutter version 3.13.0 on channel stable at /Users/pascalhostettler/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efbf63d9c6 (8 weeks ago), 2023-08-15 21:05:06 -0500
    • Engine revision 1ac611c64e
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/pascalhostettler/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

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

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

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

[✓] Connected device (6 available)
    • iPhone 14 (mobile)                             • 78EAF084-EFE3-408C-AABA-2AC7707DAEF9     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • iPad Pro (12.9-inch) (6th generation) (mobile) • 80B2B170-275B-425C-A3A9-22BD0E9910E4     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)                                • macos                                    • darwin-arm64   • macOS 13.0 22A8380 darwin-arm64
    • Chrome (web)                                   • chrome                                   • web-javascript • Google Chrome 117.0.5938.149

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

• No issues found!

Hi @hoschiho
There is a known issue https://github.com/flutter/flutter/issues/93232 for a scrolling view with a11y as well. Closing this issue in favor of that one. Please leave this case with CustomScrollView there and react an upvote to the original comment will help to raise the issue. Thank you!


Use secureString for secret ARM template parameter values

Noticed this while going through the docs -- I have also removed unnecessary default parameter values which will only cause confusion if you mistakenly do not pass the right parameter from the command line.

@jackhorton : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jorgearteiro,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge. Thanks.

@jorgearteiro - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Feature ci jest 02

Added ts compiler for code checks.
Added jest unit testing and
code coverage (need /docs/coverage folder created in root of repository
Added dependabot.yml file (will configure as we get more info on what we want to track)
Enabled Dependabot in repo settings. (Dependencies, security updates, code scanning & secret scanning)
Will enable Dependabot version updates once dependabot.yml file is merged.
Also, we might want to enable push protection blocking commits that contain secrets

I'm fine with a bypass merge here.

Resolves #7


Why not use softmax before cross entropy?

https://github.com/clovaai/deep-text-recognition-benchmark/blob/24749cd1a3e373a9e3180aa60b6d87ec4d621511/train.py#L162
I think there should be softmax here

Hello,
We use torch.nn.CrossEntropyLoss and This criterion combines nn.LogSoftmax() and nn.NLLLoss() in one single class.
Best.


Offers: Cannot accept offer

I created an offer for this NFT: https://kodadot.xyz/ahp/gallery/158-2407236917
From this wallet: 1NFfEH3yspdEgLnhZ5QWgb7B2z5LNCAE3HUo5nDxF5MqTcj
I accepted it from my  other wallet: 14yzMSVPZVnaTx8Pk6vsr8Y5G1LPzSzvTrAwhasjidVtHbLq
After clicking on accept I got this error message. I have no idea what is the issue.

Video
https://github.com/user-attachments/assets/e82e6111-5f4f-486b-839a-a45126d8745f

I created an offer for this NFT: https://kodadot.xyz/ahp/gallery/158-2407236917 From this wallet: 1NFfEH3yspdEgLnhZ5QWgb7B2z5LNCAE3HUo5nDxF5MqTcj I accepted it from my other wallet: 14yzMSVPZVnaTx8Pk6vsr8Y5G1LPzSzvTrAwhasjidVtHbLq
After clicking on accept I got this error message. I have no idea what is the issue.

This is due to insufficient balance. The offer price is 1 dot but the transferable balance in this account is 0.985 dot.

@Jarsen136 how can I even create an offer on amount I dont have?

prob fixed in https://github.com/kodadot/nft-gallery/pull/11035 ?

prob fixed in #11035 ?

In most cases, yes.
But it is still possible that if a user transfers out all the balance in their account, others will not be able to accept his offer.


Best practice: place  before

Is your feature request related to a problem? Please describe.
<head> generation from nuxt.config.js places <title> before <meta charset>, this goes against best practices.
For <meta charset> to affect <title>, <meta charset> needs to appear first (may vary from browser to browser but this is the basis for the best practice).
Describe the solution you'd like
The simplest way that preserves backward compatibility would be to render metas before the title.
Additional context
Documentation about charset best practices:
https://code.google.com/archive/p/doctype-mirror/wikis/MetaCharsetAttribute.wiki

In order for all browsers to recognize a <meta charset> declaration, it must be

Within the  element,
Before any elements that contain text, such as the  element, AND
Within the first 512 bytes of your document, including DOCTYPE and whitespace

This is now implemented in https://github.com/unjs/unhead, which is used to render tags in Nuxt 3.


When build is triggered from main branch set BETA to true

Fixes
Broken reference to stable static files from preview environment.
Description
Since we are utilizing cache buster now, long standing bug has surfaced where we are referencing stable static assets from preview environment. This PR fixes that by setting BETA=true if the build has been triggered from master or main branch.
Type of change

[ ] Feature
[ ] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Screen shots / Gifs for design review

How to test or reproduce?

Browser conformance:

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

/retest

/retest


Bump NPM dependencies to their latest version

Proposed Release Notes
Bump NPM dependencies to their latest version
Links
https://github.com/newrelic/node-newrelic/releases/tag/v8.12.0
Details
Use newrelic 8.12.0 to help NextJs consumers to import User Agent script without

@github-dd-nicolas thanks for the Pr. This isn't necessary for you to get the functionality of 8.12.0. You simply just need to install newrelic@latest as it's a peer dep. I'll still take a look at it this a little later.

@github-dd-nicolas thanks for the Pr. This isn't necessary for you to get the functionality of 8.12.0. You simply just need to install newrelic@latest as it's a peer dep. I'll still take a look at it this a little later.

Indeed, thanks a lot :+1:


Add YouTube as a media source

It would be great to be able to input a Youtube channel or playlist as a media source and have Tunarr stream is seamlessly. We could package yt-dlp in our Docker images and feed streams from there right into ffmpeg sources, potentially. I'm sure there are other ways to do this as well.

Minimal example of streaming directly from YT > FFMPEG:
yt-dlp -f 'bv+ba/b' https://www.youtube.com/watch\?v\=IjoiaKngj2g -o - | \
  ffmpeg -f webm -i pipe: -map v:0 -map a:0 -c:v h264_videotoolbox -b:v 30000k -c:a copy -f mpegts pipe:1 | \
  ffplay -

Any recent plans on implementing this? Would be very convenient for saving storage space.


fix compact, compact-n, quickcompact behavior

The behaviour in ODK Collect seems to be:

Do not show the radio buttons and tickboxes ever with these appearances
If the option has media, do not show any label text and make the media clickable.
If the option does not have media, show the label text and make the label text clickable.
A mix of 2 and 3 is also possible.

I think this would be okay to match. The current Enketo behaviour for options without media should be considered a bug.

[ ] test grid theme
[ ] test print view
[ ] test RTL


Message Informaion Interface

User story

As a frontend dev
I need an interface
Which I can use to retrieve data about the messages

Acceptance criteria

[ ] Interface that provides all information mentioned in the mockup about the messages

(optional) Further propositions of information that could be relevant to the user should be mentioned in comments down below
Definition of done (DoD)

Added only after week 5
The same for all features
Here goes the project specific part

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Found no way to retrieve the cluster per message.
That's why cluster info is currently omitted on the message response.
The schema needs to be defined per topic to be viewed on a message. If it is not defined, I for now return an empty string.


How could I handle an HTTP post request?

I'm working on building a proxy for Home Assistant using Python (yes I know nginx is probably better; it's complicated though). Everything works except the websocket connection, so I found this library.
After looking at the process_request function, it looks like it can't receive the body of a POST request. Is there any way that I could do this? If not, could a fix be implemented?

I got a fair bit working, but still can't work out how to get the body. It seems like there's nothing in the POST request. Here's my code so far:

This comment may help: https://github.com/aaugustin/websockets/blob/aa93c4ceca90a1798f86b2fc2b110a42f308d721/src/websockets/legacy/http.py#L96-L98
In process_request, you should be able to read the body from self.reader — but that's a private API, so no backwards compatibility guarantees.

It just gets infinitely stuck when I try to call self.reader.readline().

Okay, I changed it to self.reader.read(4096) and it works!


feat(module:anchor): support standalone component

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information
Transfromed Anchor module to standalone simillar to https://github.com/NG-ZORRO/ng-zorro-antd/pull/8037
Seems BidiModule is unused. Didn't find any usage of this module in the anchor's module. Removed.
Imported only required directives from @angular/common instead of whole CommonModule.

I don't think anchor should be a standalone component, because it usually requires the combination of multiple components (nz-anchor and nz-link) to be used. Anchor cannot be used alone. Based on this point of view, it is not suitable to be converted into a standalone component. WDYT?

I don't think anchor should be a standalone component, because it usually requires the combination of multiple components (nz-anchor and nz-link) to be used. Anchor cannot be used alone.
All functions that require the combination of multiple components to function properly should not be standalone components. Instead, these components should be bundled into one feature through NgModule.
Based on this point of view, it is not suitable to be converted into a standalone component.
WDYT?

Module is still there, so nz-anchor and nz-link bundled together when module is imported. Also docs mention module import.
From user perspective nothing will be changed.
From developers point of view it will be easier to understand what dependencies are required in components and import only the necessary dependencies, thereby reducing the size of the bundle.

I have changed my mind and you are right.  We should not restrict whether users should import ng modules or standalone components, this should be left to the user's choice. 👍


How do you implement getImageData interface?

The H5 canvas standard contains the getImageData interface. How does nanovg support it? Nanovg is actually drawn at EndFrame.

You should use what opengl provides. Take a look at the screenshot code in the example.
Sent from my iPhone

On 12 Mar 2018, at 12.12, whpskyeagle<EMAIL_ADDRESS>wrote:
The H5 canvas standard contains the getImageData interface. How does nanovg support it? Nanovg is actually drawn at EndFrame.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

nvgBeginFrame
nvgBeginPath
nvgMoveTo
nvgLineTo
nvgFill   A
nvgBeginPath
nvgMoveTo
nvgLineTo
nvgFill   B
nvgEndFrame
/// If I call glReadPixel here, I can screenshot.
/// But I want to call getImageData at between A and B。
/// Like this:
nvgBeginFrame
nvgBeginPath
nvgMoveTo
nvgLineTo
nvgFill   A
data = getImageData
draw use data
nvgBeginPath
nvgMoveTo
nvgLineTo
nvgFill   B
nvgEndFrame
Nanovg is actually drawn at EndFrame，so it's wrong to call getImageData before EndFrame.

If you want to use the image as part of rendering, then you need to render
the image to a render target. That way the image always stays on GPU. Take
a look at the example_fbo.

/// But I want to call getImageData at between A and B。
/// Like this:
nvgBeginFrame
nvgBeginPath
nvgMoveTo
nvgLineTo
nvgFill A
data = getImageData
draw use data
nvgBeginPath
nvgMoveTo
nvgLineTo
nvgFill B
nvgEndFrame
Nanovg is actually drawn at EndFrame，so it's wrong to call getImageData
before EndFrame.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/memononen/nanovg/issues/463#issuecomment-372534670,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAbyEgCOQs4eyvEZrrSJM--jAKInGWGks5tdzyUgaJpZM4SmXsH
.


fix streams-examples ITs

resolves STREAMS-598
STREAMS-596 should merge first

merged to confirm fix via jenkins


[Request] Add 1password

The 1password-cli is in the main bucket and it would be nice if 1password was in the extras bucket.
https://1password.com/downloads/windows/ points to https://app-updates.agilebits.com/download/OPW7
Thanks!

implemented in main/1password-cli

Can we have the latest 1Password 8 added to main/extra buckets? Not talking about the CLI version

And just to be clear, OP (@nitrocode) and you (@max-samusevich) were talking about the 1Password 8 desktop app and NOT the 1Password CLI yes?


ASF or .zip support?

I have a bunch of S1 data from the Alaska Satellite Facility in .zip format. I tried seeing what happens if I load in the .zip but it of course didn't work. Are there plans to support ASF data? Or am I doing something wrong? Does it need to be SLC?

I tried seeing what happens if I load in the .zip but it of course didn't work.

@TheJeran did you install the latest alpha from rasterio as described in https://github.com/bopen/xarray-sentinel#advanced-data-access-via-fsspec?
If you did install rasterio>=1.3a3, I would have expected xarray-sentinel to work and I can try to help you once, you add more information on what code you tried and how it didn't work.

I'm using a conda environment as described in the install section. I had not done the rasterio alpha version. After installing rasterio alpha I get the same error.
It's just two lines of code atm to test if it works.
import xarray as xr
ds = xr.open_dataset('S1B_IW_SLC__1SDV_20201219T015149_20201219T015215_024765_02F221_2049.zip',engine='sentinel-1')

Traceback (most recent call last):

  File "/opt/conda/envs/XARRAY-SENTINEL/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3444, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "/tmp/ipykernel_38593/434583679.py", line 1, in <module>
    ds = xr.open_dataset('S1B_IW_SLC__1SDV_20201219T015149_20201219T015215_024765_02F221_2049.zip',engine='sentinel-1')

  File "/opt/conda/envs/XARRAY-SENTINEL/lib/python3.10/site-packages/xarray/backends/api.py", line 495, in open_dataset
    backend_ds = backend.open_dataset(

  File "/opt/conda/envs/XARRAY-SENTINEL/lib/python3.10/site-packages/xarray_sentinel/xarray_backends.py", line 18, in open_dataset
    ds = sentinel1.open_sentinel1_dataset(

  File "/opt/conda/envs/XARRAY-SENTINEL/lib/python3.10/site-packages/xarray_sentinel/sentinel1.py", line 678, in open_sentinel1_dataset
    product_attrs, product_files = esa_safe.parse_manifest_sentinel1(file)

  File "/opt/conda/envs/XARRAY-SENTINEL/lib/python3.10/site-packages/xarray_sentinel/esa_safe.py", line 110, in parse_manifest_sentinel1
    manifest = ElementTree.parse(manifest_path)

  File "/opt/conda/envs/XARRAY-SENTINEL/lib/python3.10/xml/etree/ElementTree.py", line 1229, in parse
    tree.parse(source, parser)

  File "/opt/conda/envs/XARRAY-SENTINEL/lib/python3.10/xml/etree/ElementTree.py", line 580, in parse
    self._root = parser._parse_whole(source)

  File "<string>", line unknown
ParseError: not well-formed (invalid token): line 1, column 2

rasterio.__version__
'1.3a3'

@TheJeran you need to use an fsspec formatted URL to open a Zip file, note the zip://*/manifest.safe::... in the example: https://github.com/bopen/xarray-sentinel#advanced-data-access-via-fsspec
In your case try:
ds = xr.open_dataset('zip://*/manifest.safe::S1B_IW_SLC__1SDV_20201219T015149_20201219T015215_024765_02F221_2049.zip',engine='sentinel-1')

That was it! Thank you.


added index: 16 and index: 12 for the special ps button on ds4s

Background
Provide a mapping for the PS button on DS4s
Changes

12 on firefox on linux and osx
16 on chrome

Reference
https://github.com/ericlathrop/html5-gamepad/issues/11

@foxnewsnetwork Sorry it took so long, but it's merged now! I'll publish it to npm in an hour or so.