Filter subscriptions on iOS crashes simulator

I am using commit 0c2ab3dd5e425756c50cd0694f10aae4c42019a4 as the subsequent commits have broken the iOS simulator for me.
When I try to use a filter subscription, using the example app, the entire simulator crashes.
I followed the instructions in App.tsx and updated where I create a new node
if (!nodeStarted) {
  let config = new Config();
  config.relay = false;
  config.filter = true;

  await newNode(config);
  await start();
}

I also commented out the relay subscription:
// await relaySubscribe();

And then I uncommented the filter subscription part
try {
  const filterSubs = new FilterSubscription();
  filterSubs.contentFilters.push(
    new ContentFilter(`/foo/0/default/${name}`)
  );
  await filterSubscribe(
    filterSubs,
    '16Uiu2HAkvWiyFsgRhuJEb9JfjYxEkoHLgnUQmr1N5mKWnYjxYRVm'
  );
} catch (e) {
  console.log(e);
}

Once filterSubscribe is called, the simulator crashes (the actual Simulator app). I am on an M1 mac if that matters.

Thanks for reporting!
Do you see any stacktrace in the logs (maybe on adb) that could help debug this issue?

Here is the crash report https://gist.github.com/bricestacey/20d74b22b6654a79e9f77bf7ff8f7b95
I'm not too familiar with iOS development so not sure how to get anything better.

I was able to run it on Android and got much better error reporting
01-31 23:18:00.304  5738  5794 I ReactNativeJS: {"pubsubTopic":"/waku/2/default-waku/proto","contentFilters":[{"contentTopic":"dingo"}]}
01-31 23:18:00.308  5738     0 E Go      : panic: runtime error: invalid memory address or nil pointer dereference
01-31 23:18:00.308  5738     0 E Go      : [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x775d647f7c]
01-31 23:18:00.308  5738     0 E Go      :
01-31 23:18:00.308  5738     0 E Go      : goroutine 17 [running, locked to thread]:
01-31 23:18:00.309  5738     0 E Go      : github.com/waku-org/go-waku/waku/v2/protocol/filter.(*WakuFilter).requestSubscription(0x0, {0x775dd76eb0, 0x4000122000}, {{0x40017c0a00, 0x1a}, {0x40002d3ad0, 0x1, 0x1}}, {0x400041a2b8, 0x1, ...})
01-31 23:18:00.309  5738     0 E Go      : 	/home/jenkins/workspace/go-waku_prs_android_PR-403/src/github.com/waku-org/go-waku/waku/v2/protocol/filter/waku_filter.go:235 +0x6c
01-31 23:18:00.309  5738     0 E Go      : github.com/waku-org/go-waku/waku/v2/protocol/filter.(*WakuFilter).Subscribe(0x0, {0x775dd76eb0?, 0x4000122000?}, {{0x40017c0a00, 0x1a}, {0x40002d3ad0, 0x1, 0x1}}, {0x400041a2b8?, 0x775d0e79a4?, ...})
01-31 23:18:00.309  5738     0 E Go      : 	/home/jenkins/workspace/go-waku_prs_android_PR-403/src/github.com/waku-org/go-waku/waku/v2/protocol/filter/waku_filter.go:346 +0x78
01-31 23:18:00.309  5738     0 E Go      : github.com/waku-org/go-waku/mobile.FilterSubscribe({0x4000363200?, 0x0?}, {0x0, 0x0}, 0x0)
01-31 23:18:00.309  5738     0 E Go      : 	/home/jenkins/workspace/go-waku_prs_android_PR-403/src/github.com/waku-org/go-waku/mobile/api_filter.go:66 +0x2b8
01-31 23:18:00.309  5738     0 E Go      : main.proxygowaku__FilterSubscribe({0xb4000078dd90c610, 0x58, {0x0, 0x0, 0x0, 0x0}}, {0x0, 0x0, {0x0, 0x0, ...}}, ...)
01-31 23:18:00.309  5738     0 E Go      : 	/tmp/gomobile-work-587595317/src/gobind/go_gowakumain.go:152 +0x6c
01-31 23:18:00.309  5738  5899 E GoLog   : panic: runtime error: invalid memory address or nil pointer dereference
01-31 23:18:00.310  5738  5795 F libc    : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 5795 (mqt_native_modu), pid 5738 (com.example)

Note that the logging shows the go-waku lib is built from your PR #403. So using that commit, it looks like a null dereference here https://github.com/waku-org/go-waku/blob/3ef88b3b9a9df871468a66bc68f39cf5609f0b38/waku/v2/protocol/filter/waku_filter.go#L235

As I was saying, I was using an old commit -- so I bumped to the latest and I got it working!
The build instructions were confusing, but I eventually figured it out. I'll try and document some of those for you later today.

Alright --
First issue was if you run yarn bootstrap you wind up with this error:
$ yarn --cwd example pods
error Command "pods" not found.

This can be solved by adding a pods script to package.json
  "pods": "npx pod-install"

At this point, if you try to run the example with npm run ios you get:
> 1 | import Gowaku
    |        ^ no such module 'Gowaku'

This can be solved by running the download-gowaku.sh script. It uses wget which is not installed by default on mac devices, so I had to install that using brew. Running it again, it succeeds but npm run ios still fails with the same error. Turns out, you needs to cd to example/node_modules/@waku/react-native and run it there.
After downloading gowaku in the node modules folder, it's still complaining about no such module. To solve this we re run the pod install
yarn example pods

At this point you can run yarn example ios or yarn example android and everything works! 🎉


Error - Requires Googe Play Services v13.0

Hi, YASNAC was working fine until the recent update where I get "Requires Googe Play Services v13.0" error.
Just wanting to confirm whether this is a bug or this is an issue on my end.
YASNAC itself shows Google Play Services version = 22.09.20
Which is correct and it's the latest version available for my Galaxy S10 (Play Store shows it updated on 17 March 2022).
Device details:
Model - SM-G973F (beyond1lte)
Android Version - 11 (API 30)
Security Patch level - 2021-12-05

https://github.com/RikkaW/YASNAC/blob/4aeb22d1c25b026419db75767dbf78e986ccae53/app/src/main/java/rikka/safetynetchecker/main/MainViewModel.kt#L47-L50
The error is from here. It uses Google Play Services API directly, the internal is unknown. So, it should be a problem of Play service.
This build (https://github.com/RikkaW/YASNAC/actions/runs/2063107407) shows the detailed failure reason of isGooglePlayServicesAvailable, please try.

ah, I probably should have mentioned I'm running LineageOS (18.1) with MindtheGapps.
The error is "The version of Google Play services installed on the device is not authentic".
It's interesting to me because no other app or anything ever seems to pick it up, e.g. Google Play Store/Play Protect certification shows 'Device is certified'.

YASNAC follows the document from Google, nothing else is done. Maybe newer Google Play Service SDK adds some verification step, or Play Store is special. (These are only guesses)

I'm having the same issue
lineageos 18.1
mindthegapps

@Sekt0rX https://github.com/RikkaW/YASNAC/issues/24#issuecomment-1087629607

Thanks, I can confirm installing via Google Play works without error.


useNav() property currentSlideNo is not reactive when exporting the slides to pdf

First of all thanks for the work put on this project 👏
Context
I wanted to create a vue computed function useBreadcrumb that based on tocTree and currentSlideNo from useNav() give back the array of titles to be able to render a breadcrumb on each slides. Final goal was to release an add-on.
Describe the bug
When I use the following approach to display the current slide number, it's working well in the webview but during the export to pdf the value is always 1:
<script>
import {  useNav } from '@slidev/client'
const { currentSlideNo } = useNav()
</script>

<template>
  {{ currentSlideNo }}
</template>

I don't have this issue when I use directly $nav.currentSlideNo.
Minimal reproduction
I created a minimal reproductible example at https://github.com/johannchopin/slidev-currentSlideNo-bug-in-pdf. In the global-bottom.vue file I display the value of  $nav.currentSlideNo and the SlideNo.vue component render the currentSlideNo value. The result can be see in the exported PDF slides-export.pdf.
Environment

Slidev version: Used<EMAIL_ADDRESS>to generate the dummy repo
Browser: Chrome
OS: Windows

How about move global-bottom.vue to layouts/slide-bottom.vue (a slide layer, described in https://sli.dev/features/global-layers)?

@KermanX Thanks for the fast reply. In my real case issue it's not related to the global-bottom.vue component so it didn't change anything. I tried using $nav.value.currentSlideNo but then the value not reactive in the webview and invalid during the export. However I tried using the --per-slide option during the export and doing so  const { currentSlideNo } = useNav() is working as expected.
I still found a bit weird that currentSlideNo from useNav() is not working the same way as the one from $nav 🤔 What's your opinion?

I still found a bit weird that currentSlideNo from useNav() is not working the same way as the one from $nav 🤔 What's your opinion?

In fact, this has been a long-standing problem. The root cause is that there are different navigation states for each slide when exporting without the --per-slide flag, while useNav is a singleton composable that returns the same value wherever it's called.
However, we can improve this by using the same way as useSlideContext() - Vue's provide & inject in the future.

That would be nice yes 👍 As there is a "solid" workaround I don't think it's a critical bug, but maybe it would be nice to add a Tip note in the composable usage documentation (something equivalent to https://sli.dev/features/global-layers#global-layers). What do you think?


Should move base functionality to a category of NS/UIBezierPath

I think it makes more sense to have the parsing code in a NSBezierPath category. You can keep the API on NS/UIImage as a wrapper around this but it allows this to be used in other drawing contexts.

Cheers!
I think we can add those, and keep the NSImage convenience method. In my own use of ASCIImage, I found that I like 'seeing' not just the shapes, but the pixels and not have to worry about drawing.
Note that on OS X, the NSImage you get can be rendered in any context, and it will behave just like the underlying NSBezierPath instances, since the drawing only happens when the block is called. This was a surprising finding for me when seeing NSImageView rendering all these shapes nicely smoothed even after we set the scaling to Up/Down in the xib.
So anyway, thumbs up!
I think it would make sense to rename the current files to 'ASCIImage.h' and 'ASCIImage.m' since we are stuck with this name, and then include both the NS/UIImage categories and NS/UIBezierPath categories in the same files? What do you think?

Sure, the actual string you send in doesn't change. It's just that it is really defining a path so it makes more sense for the functionality to be based in NS/UIBezierPath.
As for NSImage drawing behavior, check out my blog post on it here: http://www.noodlesoft.com/blog/2011/04/15/the-proper-care-and-feeding-of-nsimage/
I'd prefer separate files but am fine with sticking it all under ASCIIImage.

Very nice post, I remember reading it a while ago actually!
Yes, I was surprised by the NSImageView rendering because I had not thought through the implication of my drawing code being outside a context in the implementation (block API), and my whole focus had been to rendered icons at a specific size. Once I saw that, it took me a bit of time to understand all the implications.
I am not sure it behaves the same on iOS, because the rendering of the bezier paths is done directly in an image context, and UIImage appears to be a different beast. So interestingly, the UIBezierPath category might be even more useful on iOS than OS X in providing the full underlying vector art.

On a related note, it would be good to expose and extract all the parsing code (namely -shapesFromNumbersInStrictASCIIRepresentation:) so that other apps can consume ASCIImage strings. Ideally, I'd want to have a separate PARParser that contains the following methods:
-strictASCIIRepresentationFromLenientASCIIRepresentation:
-orderedMarksForASCIIShape:
-markCharactersForASCIIShape:
-nonWhitespaceCharacters
-shapesFromNumbersInStrictASCIIRepresentation:
-numberedASCIIRepresentationFromASCIIRepresentation:

@cparnot If that's of interest, I can supply a patch.

@milen-me I'll make that a separate issue, so I can go piecemeal on this.


How to install and modify projects or reference files

"Installs a package into the current project but does not modify projects or reference files."
I want to installs a package into the current project AND ALSO modify projects or reference files. Can I do that with this tool? No other command's description mentions anything like that.

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

ID: 30f597bb-080f-188b-b1ba-a02efbe1e9ca
Version Independent ID: 88e19d47-f4e1-0496-305c-af14f0d54afb
Content: NuGet Command-Line Interface (CLI) Reference
Content Source: docs/tools/nuget-exe-CLI-Reference.md
Product: nuget
GitHub Login: @karann-msft
Microsoft Alias: karann

I don't believe there is a way to do this using this tool alone. See the topic here:
https://docs.microsoft.com/en-us/nuget/consume-packages/install-use-packages-nuget-cli#install-a-package


The third-party lib questions

Hello team,
I am new to Rust OP-TEE. I use C/C++, and I haven't learned Rust. I know that TA can execute a third-party lib(crate), and the third-party lib must be a static link lib, right? So if there are some codes in crate that have to invoke system calls (such as read()/open()/write() in Linux), can Rust TA executes this code in secure world?
thanks,
Steph

I know that TA can execute a third-party lib(crate), and the third-party lib must be a static  link lib, right?

I believe OP-TEE supports TA dynamic linking. But if you are using Rust, all crates are statically linked.

So if there are some codes in crate that have to invoke system calls (such as read()/open()/write() in Linux), can Rust TA executes this code in secure world?

OP-TEE OS is not like Linux. Its syscalls are different. Here is a list: https://github.com/apache/incubator-teaclave-trustzone-sdk/blob/master/optee-utee/optee-utee-sys/src/utee_syscalls.rs.

@mssun Many thanks for your quick reply.
https://github.com/OP-TEE/optee_os/issues/1909#issuecomment-341024444 This issue said that there is no dynamic linking for TAs.

OP-TEE OS is not like Linux. Its syscalls are different. Here is a list: https://github.com/apache/incubator-teaclave-trustzone-sdk/blob/master/optee-utee/optee-utee-sys/src/utee_syscalls.rs.
What I mean is that, if a crate has Linux system calls, can Rust OP-TEE execute this crate successfully?

What I mean is that, if a crate has Linux system calls, can Rust OP-TEE execute this crate successfully?

No.

OK, thanks for your reply.


bug: contract_address_const::<0x800000000000011000000000000000000000000000000000000000000000000> error

Bug Report
Cairo version:
cairo: 2.5.3 (https://crates.io/crates/cairo-lang-compiler/2.5.3)
Current behavior:

Expected behavior:

Related code:
    fn test() {
        let _ = contract_address_const::<
            0x800000000000011000000000000000000000000000000000000000000000000
        >();
    }

insert short code snippets here

Other information:
0x800000000000011000000000000000000000000000000000000000000000000 is a valid address for starknet.

no it isn't.
the range of valid addresses are [1, 2^251) - so your number is +0x11000000000000000000000000000000000000000000000000 out of range.


Segmentation fault (core dumped) err while applying apply_effects_tensor()

🐛 Bug
While applying audio effects via apply_effects_tensor() function, an error Segmentation fault (core dumped) is raised.
To Reproduce
To reproduce an error, run a script which iterates over an audio dataset and applies effects via apply_effects_tensor() function. The script can be found here: segmentation_err.py
An error is raised randomly, and there is no specific pattern on which iteration we can expect it. It can be raised on 5 iteration as well as in 50.

Expected behavior
Effects should be applied without raising an error.

Environment

What commands did you used to install torchaudio: conda install -c pytorch torchaudio
What does torchaudio.__version__ print?  0.9.0a0+33b2469

 - PyTorch Version: `1.9.0`
 - OS (e.g., Linux): `Ubuntu 20.04.2 LTS`
 - How you installed PyTorch (`conda`, `pip`, source): `conda`
 - Python version: `Python 3.8.8`
 - CUDA/cuDNN version: `CUDA Version: 11.2`
 - GPU models and configuration: `GeForce RTX 2080, driver=nvidia latency=0`, `GeForce GTX 1070, driver=nvidia latency=0`

Hi @mindaugo1
Thanks for the report. I could reproduce the issue. I will look into this.

Case 1.
[('gain', '-n', '7'), ('pitch', '-139'), ('speed', '1.08360'), ('rate', '8000'), ('pad', '0', '3'), ('trim', '0', '3')]

It is reproducible on Colab as well.
https://colab.research.google.com/drive/16WIUNc-kLG3xQCe6wkk9WlkTtszdfpRO?usp=sharing

The equivalent sox command line also segfaults.
% sox -V3 foo.wav foo2.wav  pitch -139 speed 1.08360 rate 8000
sox:      SoX v14.4.2
sox INFO formats: detected file format type `wav'
sox INFO wav: EXTENSIBLE
sox INFO tempo: quick_search=0 factor=1.0836 segment=82 search=14.6769 overlap=12.0006

Input File     : 'foo.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 32-bit
Duration       : 00:00:03.69 = 29531 samples ~ 276.853 CDDA sectors
File Size      : 118k
Bit Rate       : 256k
Sample Encoding: 32-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no

sox INFO sox: Overwriting `foo2.wav'

Output File    : 'foo2.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 32-bit
Sample Encoding: 32-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no
Comment        : 'Processed by SoX'

sox INFO sox: effects chain: input         8000Hz  1 channels
sox INFO sox: effects chain: pitch       7382.8Hz  1 channels
sox INFO sox: effects chain: speed         8000Hz  1 channels
sox INFO sox: effects chain: rate          8000Hz  1 channels
sox INFO sox: effects chain: output        8000Hz  1 channels
[1]    42816 segmentation fault  sox -V3 foo.wav foo2.wav pitch -139 speed 1.08360 rate 8000

Hi @mindaugo1
This looks like a bug in libsox. I tried the equivalent of sox commands with various installations (brew, conda, and the sox command from torchaudio build artifact) and all of them exhibited the segmentation fault.
My guess is that sampling rate is mistreated at speed and rate effect. (With pitch -139 speed 1.08360, the sample rate is around 8000.002, which is very close to 8000 and rate effect is not handling something.)
(Although pitch -165 speed 1.099999588 rate 8000 works. In this case, the intermediate sample rate is  8000.003.)
It is difficult for us to fix this issue coming from libsox. Once thing I can try is to update the libsox to the latest commit, hoping it is fixed somehow.
Meanwhile, what I recommend (based on my finding) is to restrict the value of speed so that the resulting sampling rate is not too close to 8000Hz. The problematic thing was that the string value of speed had 5 decimal points 1.08360 which made the resulting sampling rate very close but different 8000.002. So limiting the decimal point to 3, i.e. "speed", f"{speed:.3f}" would not cause this.
The quick calculation says that, with pitch between -200 to 200, the sample rate right after the pitch is 7127.2Hz to 8979.69Hz with increment varying around 4 ~ 5 Hz. and the closest it gets is when pitch -165 speed 1.100 rate 8000 -> 8000.003 and this seems to work.

@mthrok Thank you for your insights. By changing {speed:.5f}" to {speed:.3f}"f solved an issue.


create-compas: provide a simple way to initialize a new compas project

Make it easier to start with Compas.

[x] create-compas: init package
[x] #1965
[x] #1966
[x] #1967

Probably needs workspaces support for the Compas CLI for things like migrations and running tests

[x] #1968

Overwrite package.json with Compas version that is used if package.json contains *
Strip exampleMetadata property from the package.json

[x] #1969

Depends on #1881

Resolve create-compas package

npx create-compas@latest ...args
yarn create compas...args (auto resolves latest)

Accepted arguments;
# Resolve default template from compasjs/compas/examples/default
npx create-compas@latest
# Resolve a custom template from compasjs/compas/example/{name}
npx create-compas@latest --template cli
# Specify output directory
npx create-compas@latest --template cli --output-directory ./my-cli
# Resolve custom repo, uses default branch and no subdirectory
npx create-compas@latest --template github:user/repo
# Specify custom ref and subdir
npx create-compas@latest --template github:user/repo --template-path ./my-app --ref main

Done for now, there are some fixes in the CLI that need to be released for the default template to work. But i will probably release that the upcoming weekend.


package the monitor agent into "pip"

good place to start with would be http://docs.python-guide.org/en/latest/shipping/packaging/

https://python-packaging-user-guide.readthedocs.org/en/latest/

https://pip.pypa.io/en/stable/

yes sir


Issue: Suggestion for Cassandra node replacement

Describe the issue
The documentation for replacing the Cassandra node requires little more clarity.
Document: scalar-terraform/docs/CassandraOperation.md
Actual steps for Cassandra node replacement
The following section is useful when you need to replace a Cassandra node.

The first thing to do is to match the Terraform state file to the actual resource you want to replace.
This step can be tricky and error prone, so please be careful.
Match the private_ip address of the VM to the state file using the command below.
You may want to add -A 10 to the grep command to help find the correct node.

Expected steps for Cassandra node replacement
The following section is useful when you need to replace a Cassandra node.

The first thing to do is to match the Terraform state file to the actual resource you want to replace.

terraform state pull command will help to match the state file from the remote state (state file details exist in backend.tf file).

Confirm private_key_path in the state file (You may want to add -A 10 to the grep command to help find the private_key_path)

Specify private_key_path in locals.tf of a Cassandra resource if needed.

This step can be tricky and error prone, so please be careful.
Match the private_ip address of the VM to the state file using the command below.
You may want to add -A 10 to the grep command to help find the correct node.

Sorry, Issue created in the wrong place.
So, I closed


fix(TDI-44601): add json config file

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-44601
What is the new behavior?
https://jira.talendforge.org/browse/TDI-44601
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

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 / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Pull request test result: success :star:


Unable to save files

When trying to save a file in notepad, I won't be able to save the file in the mounted dokan mirror
I'm just trying to save it in a folder but nothing really happens when hitting "Save"
The log is from the point I hit Save
Log: http://pastebin.com/RHXNxm5d
I noticed as well that when hitting the "save" button, "." will append at the end of the save location
So when hitting the save a few times it will come out as "N:\PerfLogs\.\.\.\."
Using the latest release of Dokany, running windows 8.1 x64

Hi @AnguisCaptor ,
Correct ! This happen since https://github.com/dokan-dev/dokan-dotnet/commit/9e8660f2d36f2e03c2f270befe6a8ed1180a2302
I will look into it why

It was not linked by the last commit at then end :smiley:
Fixed with https://github.com/dokan-dev/dokan-dotnet/commit/cb3d963f6d0a4ed307cc6c405283f20c57d43996

Confirmed working, thanks for the quick fix, awesome project btw :smiley:


gh-actions

On the github-actions I mentioned online it would be really applicable for the interactive approach (not that's wrong it's quite good actually for first time users)
For folks with more experience or collaborators, a more 'traditional' approach of making changes locally and pushing them up to github.  Here is where gh-actions could come in useful.
Essentially the build and release scripts could would work in github actions; and publish to the gh-pages branch.
Happy to contribute something if that would be useful....

Interesting idea, thanks.
As you mention - I wrote this targetting people who are unlikely to be comfortable installing Node.js or using git locally, but I don't think it hurts to broaden things if this could be useful to traditional devs as well.


Fixed container registry used in kubeadm init

Updates regsitry references for #38359

@sftim the latest patch versions updated the reference to use registry.k8s.io for all minor versions. Change Loghttps://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.24.md#feature

Do we need to clarify which patch versions of kubeadm pull from which registry?

I suppose we could though I'm not sure how to clearly structure that since the docs are only for minor versions and not specific patches. Typically is the documentation supposed to be accurate to the latest patch version or the initial release and users are expected to find patch specific updates in the CHANGELOG? If we add specific references we'll need @tengqm to update some merges he did on Satuday for #38359

@sftim , I've updated #38424 and #38425 to bring their content in line with this PR.

/label tide/merge-method-squash

/hold cancel


Dashboard: 2 listeners to same EventSource

Backport of #919 from @william-tran

NetflixOSS » Hystrix » Hystrix-pull-requests #205 SUCCESS
This pull request looks good


Append template to end of file if no pattern was provided

I couldn't find a pattern that would allow me to append a template to an empty file. I tried '', /.*/, /$/ and /\z/ but none of them worked as intended.
This PR adds an option where if pattern was skipped (undefined) or passed as false or null, the template would be appended to the end of the file regardless of the file's contents.

:+1:


DeprecationWarning

(node:6684) [DEP0128] DeprecationWarning: Invalid 'main' field in 'E:\Github\*\node_modules\iap-apple\package.json' of 'dist/index.js'. Please either fix that or report it to the module author
When running for the first time, small warning

I pushed 2.0.5 just now. Try installing that version and let me know how it goes for you! @infteract

Thanks! Warning is gone


Repair and extend stoichiometric inconsistency detection

Until deemed necessary the detection of elementary leakage modes will not be implemented.
The test suite should be adapted to only use the stoichiometry based tests if formulas and metabolite weights are missing.
Consistency checks based on formulas and weights should be implemented in a separate PR.

Codecov Report

Merging #55 into develop will decrease coverage by 1.42%.
The diff coverage is 87.5%.

@@             Coverage Diff             @@
##           develop      #55      +/-   ##
===========================================
- Coverage    82.88%   81.46%   -1.43%
===========================================
  Files            8        9       +1
  Lines          263      259       -4
  Branches        58       56       -2
===========================================
- Hits           218      211       -7
- Misses          38       41       +3
  Partials         7        7

Impacted Files
Coverage Δ

memote/__init__.py
100% <ø> (ø)
:arrow_up:

memote/support/__init__.py
100% <ø> (ø)
:arrow_up:

memote/support/consistency.py
75% <70.37%> (-10.24%)
:arrow_down:

memote/support/consistency_helpers.py
95.08% <95.08%> (ø)

Continue to review full report at Codecov.

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


You may have better luck with your question on the Docker Community Forums.


Replace dimension array access with simple index

SDEverywhere generates arrays of index numbers to help support subdimensions:
  function arrayDimensionsSection() {
    // Emit a declaration for each array dimension's index numbers.
    // These index number arrays will be used to indirectly reference array elements.
    // The indirection is required to support subdimensions that are a non-contiguous subset of the array elements.
    let a = R.map(dim => `const size_t ${dim.name}[${dim.size}] = { ${indexNumberList(sub(dim.name).value)} };`)
    let arrayDims = R.pipe(a, asort, lines)
    return arrayDims(allDimensions())
  }

These get declared at the top of the generated c file, for example:
// Array dimensions
const size_t _all_things[5] = { 0, 1, 2, 3, 4 };
const size_t _all_things_except_foo_and_bar[3] = { 1, 2, 4 };

When accessing values, these arrays are used as a form of indirection, for example:
for (i = 0; ...) {
  _something[_all_things[i]] = _another[_all_things[i]];
}

In En-ROADS, some subsets are non-contiguous, but in a majority of cases, these dimension index arrays are "trivial", meaning their elements are identical to their index/position.  For those cases, we can generate more optimal code that skips the array access; the example above would become:
for (i = 0; ...) {
  _something[i] = _another[i];
}

Avoiding unnecessary array accesses leads to some more modest performance gains.

Here are some performance numbers relative to other recent optimizations.
Performance
MacBook Pro (2019) | 2.4 GHz 8-core i9, 32 GB RAM, macOS 10.15

Issue
C run (ms)
Wasm run (ms)
Wasm init (ms)
JS mem (MB)
Page mem (MB)

baseline
45.8
87.5
38.0
94
685

SDE 18
46.0
85.6
18.0
39
672

SDE 19
42.8
49.4
15.0
38
25

SDE 22
34.8
44.8
15.0
38
21

SDE 23
32.7
42.8
13.0
38
32

iPhone 8 | A11, iOS 13

Issue
C run (ms)
Wasm run (ms)
Wasm init (ms)
JS mem (MB)
Page mem (MB)

baseline
39.9
187.0
165.0
39
645

SDE 18
40.3
219.0
86.0
38
724

SDE 19
40.1
81.6
83.0
38
41

SDE 22
35.5
74.6
86.0
40
40

SDE 23
31.1
73.6
82.0
41
39

iPad Air (2013) | A7, iOS 12

Issue
C run (ms)
Wasm run (ms)
Wasm init (ms)
JS mem (MB)
Page mem (MB)

baseline
151.0
1372.2
30146.0
77
331

SDE 18
166.0
1408.0
4416.0
42
395

SDE 19
151.0
837.6
1291.0
45
41

SDE 22
137.0
771.6
1484.0
44
40

SDE 23
110.1
642.2
1148.0
44
41

Size

Issue
Wasm size (bytes)

baseline
1,084,036

SDE 18
773,968

SDE 19
776,851

SDE 22
737,028

SDE 23
741,668

Legend

Issue
Date
Notes

baseline
2020/07/08
baseline prior to performance work

SDE 18
2020/07/09
change lookup init to use static arrays

SDE 19
2020/07/09
break large functions into chunked subfunctions

SDE 22
2020/07/10
replace wrapper functions with macros

SDE 23
2020/07/10
replace dimension array access with simple index

Merged to develop in 767a1c8.


[BUG]: Scanning solution seems to not work in pipeline

Description of the bug
When scanning my solution I could not get it to work on my azure devops pipeline (ubuntu), where as it works just fine on my local dev machine.
Steps to reproduce
These are my pipeline steps. Running the exact same on my local machine, does work.
steps:
  - checkout: self
  - bash: |
      dotnet tool install --global liz.tool
    displayName: Install liz license tool
    workingDirectory: $(Build.SourcesDirectory)
  - task: DotNetCoreCLI@2
    displayName: Restore packages from artifact repository
    inputs:
      command: "restore"
      feedsToUse: "select"
      vstsFeed: "***"
  - bash: |
      liz "./***.sln" --whitelist ./pipelines/licenses.json --suppress-progressbar
    displayName: Check licenses
    workingDirectory: $(Build.SourcesDirectory)

Additional Information
This is the output using the solution:

This is the output I would expect and the output I get when using a csproj:

Hi @starteNCS,
thanks for providing a detailed bug-report!
Is there any chance you could provide me with the following information?

A diagnostic log (using -l Trace) make sure to censor any confidential information
A solution containing the projects and package-references that you're currently using - again, making sure to censor any confidential information (i.e. I don't need any source-code, as liz only uses the project-reference and package-reference information)

Sure! I was able to reproduce this exact bug when creating a new project so here we go:
Screenshot to your first question:

But the same can be seen here: https://dev.azure.com/PhilippHonsel/liz.bugreport/_build/results?buildId=2&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=35f53584-79fc-539f-463c-6471d0663a3a
This is a "broken" pipeline run. You can feely navigate this project to find the root cause if you want. With this code it works on my windows 10 machine, but not on the pipeline. If I remember corretly, the public azure devops pipelines are running on ubuntu as well.

Unfortunately I won't be able to work on this today.
But: Can you try to run the analysis targetting a csproj instead of a sln? This might help to narrow down the bug.

Yes, using a csproj works. (See the screenshot in the bug report)

I just released a new Version 2.0.3 which should fix the issue that you described. Can you verify that?
Also see https://github.com/wgnf/liz/releases/tag/v2.0.3

This did fix it indeed. Thanks!
See new run: https://dev.azure.com/PhilippHonsel/liz.bugreport/_build/results?buildId=3&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=35f53584-79fc-539f-463c-6471d0663a3a

great news, thanks!


configure ssl

Cargo.toml contains dependencies as below
[dependencies]
hyper="0.9.10"

when type cargo run in cli , error shows as below
error: failed to run custom build command for `openssl v0.7.14`

Then how to configure ssl on hyper, could you give some examples

or should I compile hyper locally ,and Then  introduct it into my project, rather than get hyper with cargo on site of cr]ate.io?  It seems work, but how to add ssl certification

If you want to figure out how to get openssl building, look at https://github.com/sfackler/rust-openssl
If you like to disable SSL, you can try this in your Cargo.toml:
[dependencies]
hyper = { version="0.9.10", default-features=false }


Unable to Connect to Tigerbeetle in Codespaces

Background
We have had successful runs of the Rafiki test suite (which is great) on our Virtualbox VM running Ubuntu 21.04 (to avoid security concerns running Docker with root privileges), but are not able to run the backend portion of the test suite inside of a GitHub Codespaces environment (which we are trying to run for various reasons including portability and security). The rates tests all run just fine 👍🏾.
The main issue seems to be that Tigerbeetle isn't able to connect to an actively listening replica (at port 3004). It could be that there is something missing from the default Codespaces environment that we need to add to our dev container (see Specifications).
Expected Behavior
Running yarn workspace backend test successfully connects to Tigerbeetle and passes (or fails) tests appropriately.
Actual Behavior
Running yarn workspace backend test fails to connect to Tigerbeetle and does not run the actual test logic.
Terminal output is:
error(message_bus): error connecting to replica 0: error.Unexpected
error(message_bus): error closing connection to tigerbeetle.src.message_bus.union:392:19{ .replica = 0 }: error.Unexpected

Tigerbeetle container output is:
> Executing task: docker logs --tail 1000 -f 43d4f1d1938a1fc684fa77d36fe3eff89966e211ce5cae0b0945f71f0b5962ad <

info(storage): opening "cluster_0000000001_replica_000.tigerbeetle"...
info: cluster=1 replica=0: listening on <IP_ADDRESS>:3004
error(message_bus): accept failed: error.SocketNotListening

Terminal will be reused by tasks, press any key to close it.

I've looked into tigerbeetle/src/message_bus.zig to try to make sense of the situation but I am not familiar enough with the architecture to get a sense of what to do next.
Steps to Reproduce the Problem

Connect to a GitHub Codespace.

We are using VSCode locally to remotely connect to the codespace, but the same goes for a browser-based VSCode instance.

Add the rafiki repository as a submodule to the Codespace repository.

git submodule add https://github.com/interledger/rafiki.git
Probably worthwhile to check if the same effects occur if Rafiki is not a submodule but instead the active repo, though on the Virtualbox VM the tests ran fine in the submodule as well.

Run yarn build at the root of the repo.
Build the Docker container for the backend using yarn docker build backend -t rafiki-backend.
Run yarn workspace backend test.

Specifications
GitHub Codespaces Default Linux Container

Am I understanding correctly that you are trying to run the Rafiki backend tests against a running Tigerbeetle Docker container?
If so, you will need to specify TIGERBEETLE_REPLICA_ADDRESSES. Otherwise, Rafiki starts a Tigerbeetle container when setting up the backend tests:
https://github.com/interledger/rafiki/blob/main/packages/backend/jest.setup.js#L67
If you opt to use the Rafiki managed Tigerbeetle container, you'll need to configure Docker to run as a non-root user.

Thanks for the reply @wilsonianb! I am trying to run the tests using the Rafiki managed Tigerbeetle container, and as far as I can tell, Docker is configured to run as a non-root user. Here's the output of the groups command showing the docker group.
codespace ssh docker golang rustlang sdkman nvm rvm pipx

And docker run hello-world works without the sudo command. This is the same setup I have on Virtualbox, where the tests run fine, so I don't think it's related to that part of the configuration.
I will try running my own Tigerbeetle container and specifying the TIGERBEETLE_REPLICA_ADDRESSES. Do you have any other thoughts on why it might say info: cluster=1 replica=0: listening on <IP_ADDRESS>:3004 and then error(message_bus): accept failed: error.SocketNotListening right after?

No dice running Tigerbeetle manually either. I think this may actually have to do with this Codespaces issue, so I'm looking for a fix in that direction. I'll let you know how it goes!

Do you have any other thoughts on why it might say info: cluster=1 replica=0: listening on <IP_ADDRESS>:3004 and then error(message_bus): accept failed: error.SocketNotListening right after?

Hi @A-Mozeak ! Thanks for the report. It looks like you are running a Linux kernel older than 5.5. TigerBeetle requires io_uring and the accept() syscall for io_uring only shipped in 5.5. That's why you're seeing accept failed. Under the hood, io_uring is returning E_INVAL for the accept syscall because the kernel is likely too old.
@kprotty is already working on an assertion to make this easier to catch in future.

@jorangreef Thank you, looking into this.

@jorangreef it looks like this is something that GitHub has to address on their end, since the base layer host for Codespaces is not user configurable.
We've changed our strategy and are working from our own cloud hosted Linux box, so I'm going to close this issue. Thanks to you and @wilsonianb for the help!


Web app to visualize the threat events

Simple Next.js app to call the graphql API
From a log url, extract the code and fetch the report from the API
Let the user choose a fight and target, and fetch the threat events for that fight.
Add dataviz to plot the threat events in a graph

https://github.com/fynnen/sod-threat-visualizer/pull/6


task to combine regions back together into one dataset chunked with full-time

@jhamman
The vast majority of this is from the ar6_regions notebook in #171 @meghanrjones.
Anticipate finding correct specifications for the writing step. Currently implemented as dask delayed task- memory is not an issue when running 32 cores on 250GB machine. Have not tested this within the prefect set-up.

Closed by #106


fix: rare NPE in getCount

Don't know what causes this, probably a threading issue where KoLConstants.inventory is changing out from under getCount.

@midgleyc is there a way to add a regression test here?

I don't think so. It's in threading hell.
Here's what I think is happening.
First
int index = list.indexOf(this);

runs. this cannot be null. In the error case, this exists in the list, and we get an index.
Then another thread modifies the inventory list. The list is a LockableListModel, so if the index is greater than the new size of the list, we get null. This is what I think happens. Then it NPEs.
A regression test would have to do this. I could fake it by passing a mocked list that returns something for indexOf and always null for get, but that's testing implementation details, and I don't think that's very useful.


Footer/Button row of  is not fixed to the bottom

attn: @davidmenendez
What package(s) are you using?

[x] Carbon for IBM Products (or Carbon for IBM Cloud & Cognitive)
[ ] Legacy/CDAI
[ ] Legacy/Security

Detailed description

Describe in detail the issue you're having.
In our scenario our <ProductiveCard> components have a constant height.  The size of the card content may vary.  When the card content varies, the footer row containing a button along with it's top border moves up meaning that it is not fixed to the bottom of the card.  The button and footer height seem to remain constant.

Is this issue related to a specific component?
The <ProductiveCard> but I imagine the same situation also applies to the <ExpressiveCard>

What did you expect to happen? What happened instead? What would you like to
see changed?

What browser are you working in?

Firefox
Chrome
Edge

What version of the @carbon/ibm-products (or @carbon/ibm-cloud-cognitive)
package are you using?
@carbon/ibm-products 2.34.0

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?
HPCS - Hyper Protect Crypto Services

Steps to reproduce the issue

Create a <ProductiveCard> with a constant height
Vary the card contents

Additional information
It seems as though the c4p--card__footer has a constant height BUT it is not sticky to the bottom of the card.  The problem stems from the c4p--card__header-body-container having varying heights but the overall card heights are constant. For right now, I can provide you with the following 3 screenshots, hopefully the contents of this may help you guys to look at this situation.  These screenshots were created by inspecting the page in Firefox.

Looks good!  Thanx @matthewgallo


sometimes 10% battery capacity usage per hour

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is not already reported in another issue

Describe the bug
In some situations, the battery usage of the exposure framework is extremely high. In these screenshots you see the behavior. The curve is very steep here, while the device was mainly in standby and not used.
In some hours, the battery was drained by approx. 10% overall by exclusively the the exposure framework.
So, far this happened twice, but only on my iPhone 7. But I don´t know, which special conditions were related. Connectivity is always available either via WiFi or cellular LTE.

Expected behaviour

Steps to reproduce the issue

Technical details

iOS Version: 14.2
Device: iPhone 7
app version: 1.7.1

Possible Fix

Additional context

See also: #671 and #912
Just a small remark:
If you do not use your phone, than it makes sence that "Begegnungsmittelungen" is the only "App" (=100%) which is shown in these screens...

Just a small reminder:
The cwa can NOT influence the battery usage of "Begegnungsmtteilungen".

See also: #671 and #912
Just a small remark:
If you do not use your phone, than it makes sence that "Begegnungsmittelungen" is the only "App" (=100%) which is shown in these screens...

That’s basically true, but if the battery consumption is 10% in one hour.
A „normal“ consumption chart has a much flatter curve like this:

See also: #671 and #912
Just a small remark:
If you do not use your phone, than it makes sence that "Begegnungsmittelungen" is the only "App" (=100%) which is shown in these screens...
Edit: I think this can, just like #912 back then, be closed as a duplicate of #671.
Also the reminder from @jucktnich is a good one.
I don't think it will make any sense to further investigate this, but if you like to (@mss1010) you can share

the battery healt
is this the original battery
is there any phone you know of near your phone which constantly shares RPIs?

Im aware of the other issues, but it‘s not a duplicate because the behavior is very different. Im not complaining about relative, but about absolute consumption of 10% battery capacity per hour.
I know that its not directly influenced by the app, but I was hoping that the developers can use their contacts to apple to address this.

I think apple knows this issue. You can eventually help them by open a ticket under feedbackassistent.apple.com and attache the iOS Systemlog.

@mss1010
Yes you are right...
I just checkd an iPhone 6s which is mainly laying around and not used, the ENF does not drain the battery at all on this phone. So maybe it is worth to take a look at your case, even though it might be a edge case.
You can do what was proposed by @jucktnich, but it's also the task from the devs to talk with Apple about this. (Discussion about this back then: https://github.com/corona-warn-app/cwa-app-ios/issues/671#issuecomment-696099259)
Sorry for my not so nice reaction 😅
Have a nice evening

See also here for related observation on Android.

The cwa can NOT influence the battery usage of "Begegnungsmtteilungen".

(via @jucktnich
Well - we don't know how this number is measured.
One part of ENF functionality is sending and receiving RPI - this is definitely out of control of cwa.
The other part is the calculation of matches.
We don't know if this counts towards cwa or towards ENF. My own numbers suggest it might be the latter, at least if it is triggered from background. But of course we don't know, to be answered by Apple.

And if we assume that risk checks from background count towards cwa, then the change from 1 daily check to 5-6 checks per day since cwa 1.7 could maybe explain higher consumption now.

If you like to (@mss1010) you can share
* the battery health

* is this the original battery

* is there any phone you know of near your phone which constantly shares RPIs?

battery health is 95%
it´s the original battery
yes, but this is the case all the time. But only on some days the high consumption happens

@ndegendogo cwa also can't influence matching numbers...

I just checkd an iPhone 6s which is mainly laying around and not used, the ENF does not drain the battery at all on this phone.

@Ein-Tim interesting.
Could you please give a few more details? (Just for comparison): cwa version? iOS version?
Is background check working on this device?
How regularly? Is it connected to WLAN? (So with current cwa 1.7.1 we would assume 5-6 checks per day - yes?)

cwa also can't influence matching numbers...

@jucktnich correct. But one check per day (pre-cwa 1.7) or 5-6 checks could make a difference

Yes, but what's the clue for the developers? Should they offer a setting to disable multiple checkings per day? That would be, i think, the only way to decrease battery usage.

For sure @ndegendogo

CWA Version: 1.7.1
iOS Version: 14.3 Public Beta RC 2Build: 18C66)
Background checks working reliable (4-5 checks per day)
Connected to the internet via WiFi
Not used at all

I definetly think that the Battery is drained faster because of the ENF. But I never expierienced spikes like @mss1010 reported...

@jucktnich
The clue for the developers is that the user will not make a difference between ENF and CWA and if the phone gets empty to fast, because of "the App", the user will deinstall it.
See also this discussion: https://github.com/corona-warn-app/cwa-app-ios/issues/671#issuecomment-696109490

@mss1010 (and everybody else), maybe you could monitior if something has changed with v 1.9.1 and v2 of the ENF.

I face a similiar issue. A new iPhone 11 Pro is discharging 100% over night, while my 2 years old iPhone 10 remains fully charged. The only difference is that the new iPhone 11 has CWA installed. I spot this issue since some days now.
All PNS are disabled, across all apps. Almost all background services are disabled as well (it is enabled for CWA, though). But overnight it gets discharged since some days.
iOS 14.2
CWA: 1.10.1

I face a similiar issue. A new iPhone 11 Pro is discharging 100% over night, while my 2 years old iPhone 10 remains fully charged. The only difference is that the new iPhone 11 has CWA installed. I spot this issue since some days now.
All PNS are disabled, across all apps. Almost all background services are disabled as well (it is enabled for CWA, though). But overnight it gets discharged since some days.
iOS 14.2
CWA: 1.10.1

What's the "Batteriezustand" on the iPhone 11?

What's the "Batteriezustand" on the iPhone 11?

@itinance
Is there any other device with an installed Corona-Warn-App near the iPhone 11?

@itinance
Is there any other device with an installed Corona-Warn-App near the iPhone 11?

@jucktnich

What's the "Batteriezustand" on the iPhone 11?

Battery Health -> Maximum Capacity: 99%
@Ein-Tim
no. I just see almost every night a constant drop in battery capacity from 100 to 0.

@jucktnich

What's the "Batteriezustand" on the iPhone 11?

Battery Health -> Maximum Capacity: 99%
@Ein-Tim
no. I just see almost every night a constant drop in battery capacity from 100 to 0.

Did you tried to reboot the device?

Did you tried to reboot the device?

Interesting. Is "Exposure Notification " responsible for 100% of it?

Interesting. Is "Exposure Notification " responsible for 100% of it?

Exposure Notifications: 36%.
While alle other services are single figures.

Exposure Notifications: 36%.
While alle other services are single figures.

Okay thanks.
Could you update to iOS 14.3 and report back after monitoring for some time?

Okay thanks.
Could you update to iOS 14.3 and report back after monitoring for some time?

@jucktnich i will reboot todays evening and see what is happening then during night (now at day time it makes no sense due to heavy usage including personal hotspot)

@jucktnich i will reboot todays evening and see what is happening then during night (now at day time it makes no sense due to heavy usage including personal hotspot)

Okay thanks.
Could you update to iOS 14.3 and report back after monitoring for some time?

Alright!

Okay thanks.
Could you update to iOS 14.3 and report back after monitoring for some time?

Alright!

Unfortunately Exposure Logging has disabled during Wednesday Night for unknown reasons.  I just noticed it todays morning and re-enabled it.
However, iOS 14.3 is installed since 2 days and todays night I will check again and tell here the results tomorrow.

@itinance is your iPhone 11 Pro still discharging 100% over night?

Unfortunately Exposure Logging has disabled during Wednesday Night for unknown reasons.  I just noticed it todays morning and re-enabled it.
However, iOS 14.3 is installed since 2 days and todays night I will check again and tell here the results tomorrow.

Any update @itinance or do you want to monitor a bit longer?

Any update @itinance or do you want to monitor a bit longer?

Any update @itinance or do you want to monitor a bit longer?

Yes! No significant battery drop last night. 4% energy consumption over last 24 hours)

Any update @itinance or do you want to monitor a bit longer?

Yes! No significant battery drop last night. 4% energy consumption over last 24 hours)

What about you @mss1010?

What about you @mss1010?

I did not see the issue anymore. We could close the issue if you like

I did not see the issue anymore. We could close the issue if you like

For sure. 👍
As the author of this Issue you can go ahead and close it.

For sure. 👍
As the author of this Issue you can go ahead and close it.


Feedback for "Use Custom Domain in Identity Authentication"

https://help.sap.com/docs/identity-authentication/identity-authentication/use-custom-domain-in-identity-authentication
How to read "The custom domain configuration is enabled with the upgrade of Identity Authentication. Identity Authentication has production releases (bi-weekly updates) planned every second Wednesday, 10:00 UTC. There are also immediate updates in case of fixes required for bugs that affect productive application operations, or due to urgent security fixes. For more information on the upgrade calendar of the service, see What's New for Identity Authentication."
Especially the part " Identity Authentication has production releases (bi-weekly updates) planned every second Wednesday, 10:00 UTC." Every second Wednesday on what? Could you please clarify and precise the dates? Even here https://help.sap.com/docs/identity-authentication/identity-authentication/updates-and-notifications?q=weekly we do not get further clarity on when an update happens. Also checking the What's New section, no pattern can be observed.

Hi @mar-hol ,
Thanks for your question.
The planned updates are as described. Although they are planned, sometimes due to technical or other issues, these releases could be delayed.  Sometimes, as we state, there could be off-cycle releases.  When there is a release, this information is announced in the What's new section. I agree that it's not very convenient to refresh the page, to see if there is something new.
However, you can subscribe for the What's new viewer page of Identity Authentication at https://help.sap.com/whats-new/cf0cb2cb149647329b5d02aa96303f56?Component=Identity%2520Authentication&locale=en-US&version=Cloud. Just choose the Subscribe button that is at the top of the page. Thus, every time there is a release you will receive a notification via email.
Best regards,
Valentin

https://people.sap.com/mar-hol


MeshInstance2D (with ArrayMesh) disappears randomly when camera moves past a certain X / Y coordinate

Godot version
3.4.4 stable mono
System information
Windows 10, GLES2 / GLES3, GeForce RTX 2080 TI, 511.79
Issue description
I am trying to generate a terrain using MeshInstance2D instead of a tilemap. I generate the terrain in 8x8 chunks and I use AddSurfaceFromArrays to add the surface data to my ArrayMesh.
I already added a separate issue regarding some lag I am experiencing here.
Another problem is that suddenly the mesh just disappears, I observe the following symptoms:

Always happens at some X or Y coordinate (or both).
Sometimes the different MeshInstance2D disappear at slightly different coordinates but they always do disappear
Resizing godot (double clicking window title) makes them come back, even if I resize back to the original size.

Here is a video showing the effect in action, the second part of the video shows the meshes disappearing at the same time. I have tried to disable 2D batching in the project and also tried with both GLES2 and GLES3.
Steps to reproduce
I attached a project, you just need to run it with 3.4.4 mono and start it. Instructions are in the label inside the project.
Minimal reproduction project
MeshInstance2DProblem.zip

cc @lawnjelly
I'd recommend creating a minimal reproduction project that uses only GDScript to make reproduction easier.

Yes probably needs a gdscript MRP.
It may just be that you need to set a custom AABB at a guess, I'm not super familiar with how the AABB is meant to be created when you generate a mesh manually, whether it is meant to be created automatically or it is your job.
If the AABB is garbage the culling won't work as expected.

Yes probably needs a gdscript MRP.
It may just be that you need to set a custom AABB at a guess, I'm not super familiar with how the AABB is meant to be created when you generate a mesh manually, whether it is meant to be created automatically or it is your job.
If the AABB is garbage the culling won't work as expected.

I wasn't aware AABB was even a thing so this was my bad, I set an AABB now like this,
((ArrayMesh)instance.Mesh).CustomAabb = new AABB(new Vector3(float.MinValue, float.MinValue, float.MinValue), new Vector3(float.MaxValue, float.MaxValue, float.MaxValue));
And it seems to work now, I tried 4 times and the problem of meshes disappearing was gone. That being said, perhaps this is something that should get some more attention in the documentation. I realise my usecase is probably different than most, but dynamic meshes probably is not too unusual.
I would propose mentioning this on either (or all) of:
https://docs.godotengine.org/en/stable/classes/class_meshdatatool.html
https://docs.godotengine.org/en/3.1/tutorials/content/procedural_geometry.html
https://docs.godotengine.org/en/3.1/classes/class_surfacetool.html
I did read all of these docs before starting with dynamic mesh generation but this was not mentioned explicitly anywhere, just a short note that you need to consider the AABB if you generate a large mesh would be nice.
@Calinou Does it sound like a good idea to add this to the docs? If so should I file another issue for this?
This can be closed now as the AABB was the problem.

I thought the AABB was supposed to be automatically generated – I think this is the case in 3D at least. If that doesn't work in 2D, this is surely a bug.

Well it would still be nice to have an MRP in gdscript to see what is happening, and try and work out from the Godot code whether it is trying to create an AABB (and failing) or just it is left to the user.
Often with dynamic meshes (not just in Godot) it is left to the user to supply an AABB - because generating the AABB can be relatively expensive, and in many cases the user will provide an "oversize" AABB that accounts for any movement. The same problem happens particularly with skinning.


Add support for hibernation/standby

As the title says. Would be a great basic addition.

Have a look at my pull request #5.

Thanks!! Any other plans?
Closing because of the PR.

Thank you for your contribution, @DerFetzer !


Out of curiosity - wanted to know why the values are not updating in README file.

update-readme.yml is not available in .github/workflows directory! Have you deleted the file?

update-readme.yml is not available in .github/workflows directory!

Yes that file was for updating recent activities in readme. That is not needed.

update-readme.yml is not available in .github/workflows directory!

Yes that file was for updating recent activities in readme. That is not needed.

That's also updating these issues, pr, and contribution count!

@whyvineet nah bro, that have no link to this. I think so. Because if you go to the badge hyperlink
It is showing the value

@c0sm0void merge PR #89 as it resolves the issue

Great thanks 👍


[Bug] Any discord message that contains a Quotation mark does not get sent to Minecraft Chat

Checks

[X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting.
[X] I confirm that I followed the MCDC Docs and read the Changelog, but this problem still exists.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.

Java Version
17
Minecraft Version
1.19.2
MCDiscordChat Version
2.1.2
Description
As the title says, putting any chat message in the discord channel that contains a " does not have that message appear in game.
 Any more detailed reproduction step?

Oh
You should enable formatChatMessages, which solves this issue.

Oh
You should enable formatChatMessages, which solves this issue.

Hi, Thanks for your response.
I have disabled formatChatMessages as it made little sense to have discord based emoji tags in minecraft chat, so instead of just printing :) as expected, it would print :slightly_smiling: or whatever in minecraft itself.
A better approach would be to format the chat only sent to discord, and not minecraft internal-server chat itself.

It would seem we both clicked the stupid "Close with Comment" button lol

I have disabled formatChatMessages as it made little sense to have discord based emoji tags in minecraft chat, instead of just printing :) as expected, it would print :slightly_smiling: or whatever in minecraft itself.

Isn't :) auto change to 🙂 Discord's built-in feature?

The message sent to MCDC is 🙂 instead of :) or :slightly_smiling:, MCDC cannot know the original message.
So if I do not force the change from unicode emoji to :xxx:, the message will become like the following:

I will not change the approach of formatChatMessages.
However, I will fix this issue such that there is no error when sending " messages from Discord with formatChatMessages disabled.

Please try latest build.


FileNotFoundError: 'VOCdevkit\VOC2007\ImageSets\Main\test.txt'

There is not the file--“VOCdevkit/VOC2007\ImageSets\Main\test.txt” in VOC2007 dataset  I downloaded.
When I run eval.py,
Finished loading model!
Traceback (most recent call last):
File "D:/Personal/My_Subject/SSD/ssd.pytorch-master/eval.py", line 469, in
VOCAnnotationTransform())
File "D:\Personal\My_Subject\SSD\ssd.pytorch-master\data\voc0712.py", line 111, in init
for line in open(osp.join(rootpath, 'ImageSets', 'Main', name + '.txt')):
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Personal\My_Subject\SSD\ssd.pytorch-master\data/VOCdevkit/VOC2007\ImageSets\Main\test.txt'
There is not the file--“VOCdevkit/VOC2007\ImageSets\Main\test.txt” in VOC2007 dataset  I downloaded.
How can I get the file --"test.txt"?

You need to download the VOC Test dataset for evaluation.
Test Data With Annotations

solved.
see issue #489

You need to download the VOC Test dataset for evaluation. Test Data With Annotations

I have been dowwnloaded test dataset，but still have this problem


routing

released exec windows still using ip route Linux by default?,
2019/01/14 23:35:32 device name: Ethernet 2
2019/01/14 23:35:33 set Ethernet 2 with net/mask: <IP_ADDRESS>/<IP_ADDRESS> through DHCP
2019/01/14 23:35:33 set Ethernet 2 with dns: <IP_ADDRESS>,<IP_ADDRESS> through DHCP

Seems you are not correctly setting up the TUN device, you must install Tap-windows in order to create a TUN device on Windows: https://github.com/eycorsican/go-tun2socks#windows


Performance of editing operations

Thank you for sharing your excellent work. I would like to know what kind of GPU configuration SERAC ROME MEND needs when editing thousands of samples respectively, and how much time will it take

Thank you for sharing your excellent work. I would like to know what kind of GPU configuration SERAC ROME MEND needs when editing thousands of samples respectively, and how much time will it take

Speaking empirically,

For ROME: I do not recommend that you edit thousands of samples sequentially, as this will cause the original model weights to be completely corrupted. Its editing capacity is around 100, you can refer to the paper at https://arxiv.org/abs/2305.13172
For SERAC: Taking the model around 6B-7B as an example, the cost of SERAC training is about 3h. Each editing takes only 0.5s, the VRAM usage is about 60GB in the training phase, and about 45GB in the inference phase
For MEND: Its resource consumption is comparable to that of serac. However, its editing capacity is only 10 cases(see https://arxiv.org/abs/2305.13172). I also do not recommend that you use this method for sequential editing.

If your problem has been resolved, please help close this issue.


Support sending and showing received metadata in grpc_cli

I think you missed a few spots in your merge:
test/cpp/util/cli_call_test.cc:132:3: error: ‘class grpc::Status’ has no member named ‘IsOk’

Fixed :)


ARTEMIS-3523: Expose replay through AddressControl

I have tried to refactor the ActiveMQServer method replay(address, .....)  on the ActiveMQServerControl such it should just call server.replay(this.address, .....)
Issue link https://issues.apache.org/jira/browse/ARTEMIS-3524
cc @clebertsuconic

Thank you @clebertsuconic for taking time to look at this.
I have added updated the PR to match the suggestions and comments above.  If you get some free time, i request for a review.
Thanks for the good work

@clebertsuconic
I honestly cant thank you enough, but i appreciate the time you have invested in this.
I have added more changes.
I hope its fine now.
Have a good night.

@nbrendah congratulations.. you got your first PR merged into Artemis :)
I had one small tweak that I almost squashed into your changes... I decided to keep it separated so you could see the small changes I had to apply...
your task is now complete for the outreachy.org program... please, submit your completion and if you have any questions contact me
but feel free to keep contributing to us if you like :)

Thank you @clebertsuconic for all the assistance and help on this.
I have seen the tweaks you did https://github.com/apache/activemq-artemis/commit/fdc0cc591c9ab9dea22a9b65cef6c53ea0263222
I would wish to continue contributing Artemis. Actually, i had even created https://github.com/apache/activemq-artemis/pull/3805 to learn more.  Maybe, if you get some free time, I request you to have a look.
I think time i am not going to be too much of a slow learner :laughing:
Thank you so much


Getting connection status for Android on startup

Coverage remained the same at 98.246% when pulling 07d35e62eb9ed41fb56bf41a062d2953da074b38 on connection_listener_enhancements into 7a087dc6450c3dcfd355106d097d1a1b5b1fb288 on master.


FormRecognizer Receipt Update

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-java

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

HI @ramparab , are you still on this PR? could you pls address comments?

HI @ramparab , are you still on this PR? could you pls address comments? Is it ok for close the PR if you're not ready for changing it?

HI @ramparab , are you still on this PR? could you pls address comments? Is it ok for close the PR if you're not ready for changing it?

close after email communication with PR authors.


Refactor task rendering

Description
As part of https://github.com/obsidian-tasks-group/obsidian-tasks/discussions/877, this PR offers a pure refactor (no change in functionality) to the code of task rendering to HTML, and tests coverage to areas that were previously unreachable by the tests.
This includes:

A new TaskLineRenderer.ts file that encapsulates the rendering flow of a task, from a Task object into an HTML. Some code from Task moved to here.
Expansion of the existing LayoutOptions concept into a TaskLayout class. The legacy LayoutOptions class translates directly to query options, but it does not represent the complete product (it says what to display or hide, but not how the task should eventually look like). LayoutOptions was moved into TaskLayout.ts and a TaskLayout can be created by a LayoutOptions object.
The conversion of a task to string (Task.toString) now passes through a TaskLayout, which formalizes the structure of the rendered task, and renders each component separately with a componentToString method. This enables to reuse the same code when other layout combinations are required.
Tests that utilize this new structure to cover the rendering flow of a task and its layout options.

Motivation and Context
As agreed in the discussion above, I split the work on adding theming capabilities to Tasks into a pure refactor PR (this one) and a 2nd PR that will build on top of these changes to add fine-grained classes to task components.
How has this been tested?

Tests were added to the rendering flow.
Screenshots (if appropriate)
Types of changes

Changes visible to users:

[ ] Bug fix (prefix: fix - non-breaking change which fixes an issue)
[ ] New feature (prefix: feat - non-breaking change which adds functionality)
[ ] Breaking change (prefix: feat!! or fix!! - fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (prefix: docs - improvements to any documentation content)
[ ] Sample vault (prefix: vault - improvements to the Tasks-Demo sample vault)

Internal changes:

[x] Refactor (prefix: refactor - non-breaking change which only improves the design or structure of existing code, and making no changes to its external behaviour)
[x] Tests (prefix: test - additions and improvements to unit tests and the smoke tests)
[ ] Infrastructure (prefix: chore - examples include GitHub Actions, issue templates)

Checklist

[x] My code follows the code style of this project and passes yarn run lint.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] My change has adequate Unit Test coverage.

Terms

[x] My contribution follow this project's contributing guide
[x] I agree to follow this project's Code of Conduct

I would appreciate anyone who has the time to review and test this branch. I know I need to update it (it's from a few weeks back), but other than that, queries here should work exactly the same as before this refactor. Boring but important ;)

Wow, brilliant, thanks @esm7.
I will of course review it. I should be able to get to it in the next day or two.
Do you have any suggestions as to how I can efficiently review the code that changed in files that got renamed please?
The first one I noticed is LayoutOptions to TaskLayout?
I normally review the diffs side-by-side in GitHub and my IDE but that won't work in this case?

Do you have any suggestions as to how I can efficiently review the code that changed in files that got renamed please? The first one I noticed is LayoutOptions to TaskLayout? I normally review the diffs side-by-side in GitHub and my IDE but that won't work in this case?

Ooohhh - maybe on my machine, with this branch checked out, I could use WebStorm refactoring to rename the new name (file, class, whatever) back to the old one temporarily... Then I can diff against the code at the start of your branch and it should be easy to see what else changed other than the file names...
I think that should work.

Closing and reopening to try and force the GitHub Actions to run.

Odd. I wonder if the tests won't run until the conflicts have been resolved?

I will of course review it. I should be able to get to it in the next day or two.

Just to set expectations... I don't have much time available over the next few days.
And I always review PRs thoroughly.
For a PR as large and wide-ranging as this, I see I'm gonna need more than a day or two of free time.
But I will definitely make it a priority to review it!

How has this been tested?
Tests were added to the rendering flow.

Could you give me an idea of how much testing you've done to confirm that the appearance is indeed unchanged please?
For example, what kinds of combinations of layout options have you tested with?
Thanks.

Hi @esm7 I was so excited about this I couldn't wait and have gone ahead and reviewed it and tested it! 🤣
Here's a bit of a summary of what I did..
Merged main and pushed, to make a build

Created a branch with merged code: GitHub - obsidian-tasks-group/obsidian-tasks at refactor-task-rendering-clare-rendering

Build good: Merge branch 'main' into refactor-task-rendering-clare-rendering · obsidian-tasks-group/obsidian-tasks@3effd76 · GitHub
A zip of the Tasks-Demo vault, with the new code (including main merged in) can be downloaded from the above GitHub Actions page.

About merging from main.
I'm happy to be the person that merges main in to your branch, before merging your branch to main.
It took me 2 or 3 tries to get a working code from the merge, and it was only this quick because I understand all the changes made on main since the version you were starting from.
Manual testing
I set up two vaults side-by-side.

This build - of main with - in the left:

refactor: TagsField now implements 'sort by tag' (#1411) · obsidian-tasks-group/obsidian-tasks@61c3958 · GitHub

And this build with the PR code and the merge from main on the right:

Merge branch 'main' into refactor-task-rendering-clare-rendering · obsidian-tasks-group/obsidian-tasks@3effd76 · GitHub

Here's what I did with those two vaults - pretty much all using existing pages in the Tasks-Demo vault.

Confirmed explain still works (as it was done on main after this PR branch was created)
Checked both the backlink styling snippets in sample vault worked
Checked that SlrVb's Alternative Checkboxes still worked
Saved as PDF and diffed the two outputs

Wrote a query to show every task the test vault, with urgency enabled
In both vaults, I exported the Reading view as PDF
Then opened both PDFs in one Acrobat window
And went down one page at a time, switching between the two files
Any slight differences in the rendering would have stood out.
There were no differences!

Did some inspecting of HTML in the developer tools and couldn't find any differences

For exploratory testing the new code, I incrementally worked through adding the following lines, one by one - and comparing left and right:
```tasks
explain

show urgency

hide backlink
hide scheduled date
hide start date
hide due date
hide done date
hide priority

hide edit button
hide recurrence rule

show start date
```

Note to self:
Ooooh.. I was going to say that my branch mentioned above isn't suitable for merging, as it contains some cruft from the review process. Like the only way I could figure out how to diff the code removed from Task with the code adding in a new file was by using a temporary intermediate file, which I rearranged until the order matched that in the new code, so I could diff it.
But... because this project squashes all commits when merging, if I remove all traces of my edits from my branch and then merge that, the end result will be fine to merge.
I could then clean up the commit messages slightly at the point when I merge to main.

Just wanted to drop a note here saying that I'm having a super busy day, but I was excited to skim through the comments, and either tomorrow or on Wednesday I'll reply to everything!

How has this been tested?
Tests were added to the rendering flow.

Could you give me an idea of how much testing you've done to confirm that the appearance is indeed unchanged please? For example, what kinds of combinations of layout options have you tested with? Thanks.

Maybe this question is no longer relevant since you discussed very thorough tests later on, but I did a comparison similar to what you described: tested all the layout options I could think of and compared the resulting DIV structure and look.

If not too late... @esm7 I wonder if it's worth your merging my branch in to yours before you respond to any feedback?

I'm not sure that src/Query/ is the best location for TaskLayout and TaskLineRenderer
* I wondered about creating `src/Query/Layout/`

* That name is consistent with `layout` [in the docs](https://obsidian-tasks-group.github.io/obsidian-tasks/queries/layout/).

* **But** I am conscious that you have other PRs coming, so we should leave them where they are until all your changes are merged.

Will move it to wherever you decide eventually, just note that:

I am intentionally sparse when it comes to directory structure and nesting. From my experience an overly-deep nesting of source files can make it difficult to navigate a code base, and in my own company and projects that I manage I usually instruct developers to use sub-directories mostly only where encapsulation is needed. In Tasks I think that a good example of that is the Query/Filter directory: it hides a big amount of details that aren't needed for understanding the higher-level Query mechanism. (Either way: this was just a side note, and eventually will stick to the conventions of this project, of course!)
Regarding the next PR that is coming and its relation to the above, you might be surprised how little is needed on top of this refactor to support extensive custom layouts. I'd say 80% of the work is in this PR, and the next one just presents changes to the div/span structure of the rendering and adds custom classes, which is really simple with the new code structure.

If not too late... @esm7 I wonder if it's worth your merging my branch in to yours before you respond to any feedback?

This is exactly the right moment! I was trying to figure out how to get your changes exactly when I saw this reply :)

I'm incredibly happy that you were the one to merge from main. You saved me a big headache, and like you say, being familiar with all the changes makes you the best person for the job.

@claremacrae just making sure you're planning to merge your changes to my branch soon, and update here when you do so I can continue :pray:

Oh I'm glad you asked.

If not too late... @esm7 I wonder if it's worth your merging my branch in to yours before you respond to any feedback?

I was presuming you would be able to merge them yourself - and didn't know you were waiting for me.
I'll see if I can create a pull request - or maybe push it directly myself.

@claremacrae just making sure you're planning to merge your changes to my branch soon, and update here when you do so I can continue 🙏

@esm7 It appears I have merged in to this PR successfully... sorry for all the spam emails along the way!

@claremacrae I just pushed an update which addresses all your comments, I believe.

@claremacrae I just pushed an update which addresses all your comments, I believe.

Thank you! From an initial look on my phone it looks good.  I’ll work through and resolve the comments later.
Do you remember why the change to yarn.lock in this commit? Am asking as it has introduced a new merge conflict.

@claremacrae I just pushed an update which addresses all your comments, I believe.

Thank you! From an initial look on my phone it looks good. I’ll work through and resolve the comments later.
Do you remember why the change to yarn.lock in this commit? Am asking as it has introduced a new merge conflict.

Oh, I remember noting to myself not to commit that and turns out I did eventually...

OK thanks, no worries, I'll figure out a way to revert it before I merge.

Hi @esm7 All now merged - great work, thank you very much indeed!

Great to see this merged. Next step is to make the full "themeability" branch build on top of this, which is the easy part, and then document it thoroughly, which is a little harder :)
Hoping to have time for that next week.


KDE4 NetworkManager segmentation fault

When I try to edit a connection with KDE4's NetworkManager (in the systray) I get a segmentation fault with 16.03.git.93d8671 (Emu).
cc @ttuegel
Application: Connection editor (kde-nm-connection-editor), signal: Segmentation fault
Using host libthread_db library "/nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libthread_db.so.1".
To enable execution of this file add
	add-auto-load-safe-path /nix/store/2xrkp6zca9hbmsdjfb3v09dv4awaqyap-gcc-4.9.3/lib/libstdc++.so.6.0.20-gdb.py
line to your configuration file "/home/freddy/.gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/home/freddy/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"
[KCrash Handler]
#6  0x00007f3a3e4df2c6 in ConnectionDetailEditor::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () from /nix/store/iz2jnbczrl3nndjara00xz4m2ls7falx-plasma-nm-<IP_ADDRESS>/lib/libplasmanetworkmanagement-editor.so
#7  0x00007f3a3d8d1e8a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#8  0x00007f3a3e14932d in NetworkManager::Connection::gotSecrets(QString const&, bool, QMap<QString, QMap<QString, QVariant> > const&, QString const&) () from /nix/store/mfr801r7r0n2xrrf2zd6aj4qa6wx9q7v-libnm-qt-<IP_ADDRESS>/lib/libNetworkManagerQt.so.1
#9  0x00007f3a3e149d9c in NetworkManager::Connection::onSecretsArrived(QDBusPendingCallWatcher*) () from /nix/store/mfr801r7r0n2xrrf2zd6aj4qa6wx9q7v-libnm-qt-<IP_ADDRESS>/lib/libNetworkManagerQt.so.1
#10 0x00007f3a3d8d1e8a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#11 0x00007f3a3decb0df in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtDBus.so.4
#12 0x00007f3a3d8d6341 in QObject::event(QEvent*) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#13 0x00007f3a3b9279bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtGui.so.4
#14 0x00007f3a3b92e060 in QApplication::notify(QObject*, QEvent*) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtGui.so.4
#15 0x00007f3a3c64ec9a in KApplication::notify(QObject*, QEvent*) () from /nix/store/i5k4shvsd59f8vjsgdxiky4xf101ama6-kdelibs-4.14.14/lib/libkdeui.so.5
#16 0x00007f3a3d8be1fd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#17 0x00007f3a3d8c13e1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#18 0x00007f3a3d8eb2d3 in ?? () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#19 0x00007f3a390a0b2d in g_main_context_dispatch () from /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libglib-2.0.so.0
#20 0x00007f3a390a0dd8 in g_main_context_iterate.isra () from /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libglib-2.0.so.0
#21 0x00007f3a390a0e7c in g_main_context_iteration () from /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libglib-2.0.so.0
#22 0x00007f3a3d8eb41d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#23 0x00007f3a3b9c7f26 in ?? () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtGui.so.4
#24 0x00007f3a3d8bce81 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#25 0x00007f3a3d8bd195 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#26 0x00007f3a3d8c23e9 in QCoreApplication::exec() () from /nix/store/q7vv0q9iwrxzv7w6arjcf1j6zvlbjv4q-qt-4.8.7/lib/libQtCore.so.4
#27 0x000000000040a702 in main ()

The problem persists with 52f2d9f

I don't know for sure if it's related, but I'd been seeing segfaults in connman, and was able to narrow it down to b2ac241e958c767c4d817e65c37802014499d7a4---revert that and see if it works for you?

It doesn't seem to be related since b2ac241 isn't in the NixOS Unstable channel, and I have the problem already on current unstable.

It seems to occur when editing WiFi connections, and not when editing wired connections.

nm-connection-editor (pkgs.network-manager-applet)shows current settings. I can modify the settings also but not save them.

Removing the connection first, and then starting from scratch luckily does work. But editing it again doesn/t

I'm not using KDE4 anymore but switched to 5. Closing this issue.


lxd init fails when not run as root

/home/ubuntu/packages/go/bin/lxd init --auto --storage-backend zfs --storage-pool lxd --storage-create-loop 5
error: Failed to open /var/lib/lxd/zfs.img: open /var/lib/lxd/zfs.img: permission denied

I thought we used to have an "are we root check" in LXD, as I think every command needs to be run as root. Perhaps we should add one.

Hmm, yeah, directory backend configuration can work as a non-root user, but it's probably best to restrict the whole thing to root. I'll take care of it.


Add --rudder-address flag to tiller server

Right now it is not possible to deploy rudder as a separate pod. As a consequence
it was required to change tiller-deploy definition generated by helm init.
This change adds --rudder-address flag to tiller server, by default it will be
set to <IP_ADDRESS>:10001. Rudder address will be ignored if --experimental-release flag
won't be added. Also tiller will crash if rudder server is set but not experimental release.
In my opinion this is a sane way to preserve previous behavior.
I included refactoring of rudder grpc client as it is safe to reuse same connection
with multiple concurrent users and it is consistent with other changes in this PR.

@dshulyak can you fix the spelling here?

ping @nebril, any idea on the status for this one? Are you able to review this PR?


DMP 4161 Darts API should only accept uppercase courthouse and courtroom from Portal

JIRA link (if applicable)
DMP-4161
Change description
I used the AC from the related Portal UI item DMP-4160 and applied to checks to corresponding endpoints in the api.
Endpoints with uppercase checks:

[x] POST /api/cases/search - courtroom and courthouse
[x] POST /api/admin/cases/search - courtroom
[x] POST /api/admin/transformed-medias/search  - courthouse
[x] POST /api/admin/transcriptions/search  - courthouse

AC3: searching for a courtroom display name in admin portal of DMP-4160 does not appear to have a corresponding backend endpoint and when searching in the portal there is no network activity. Assumed retrieved from Angular scope as reference data?
Additionally have added uppercase check on these endpoints not covered by 4161

[x] POST /admin/courthouses  adminCourtHousePost
[x] PATCH /admin/courthouses  updateCourthouse

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

@TomReed think this needs to include the POST /admin/courthouses and PATCH /admin/courthouses endpoints?

Checks on:
POST /admin/courthouses  adminCourtHousePost
PATCH /admin/courthouses  updateCourthouse
also added.


Modified to run in Linux environments too

In a Linux environment, an error occurs while loading ffmpeg.exe. So, I've made this exception and modified it so that both Windows and Linux work smoothly.

Thank you!


Update cli docs

Initially, I just wanted to remove the docs regarding sync_from_downstream job, since currently it is not possible to be configured by users and update the help section for that command, but I found out we have the help sections in CLI docs pretty outdated (it would be nice if we would sync it automatically), so I updated it and added short descriptions to the rest of undocumented commands.

recheck

recheck


awk: fix escaped backslash and final escaped double qoute handling in strings

The two commits in this PR fix a) recognizing an escaped backslash as valid in a string, b) overeager stripping of double quotes from a grammar-recognized string, which would result in a final escaped double quote to be removed, resulting in an invalid escape sequence.
Fixes #217

Superceded by #222


Umlauts not supported

Is:
Naturally.sort %w(Birnen Äpfel Zitronen)
=> ["Birnen", "Zitronen", "Äpfel"]

Correct would be:
Naturally.sort %w(Birnen Äpfel Zitronen)
=> ["Äpfel", "Birnen", "Zitronen"]

That's very interesting. I don't know offhand how Ruby handles this, but some systems like mysql allow a language/country sort "collation" to be set.
Hmm... here's a somewhat outdated Ruby library for that purpose. So it looks like we need to figure out if this is something that should be in this gem, or something we can do in the Ruby environment.

http://makandracards.com/makandra/9185-ruby-natural-sort-strings-with-umlauts-and-other-funny-characters
http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html#method-i-transliterate

This JavaScript library allows setting a custom alphabet.
I guess this wouldn't solve all cases, but a good portion of it, especially if it's optional. In case people need more than one language they'd have to roll it themselves, but maybe that's a tradeoff between having to maintain different alphabets or collations within this gem and not having that option at all.

The transliterate strategy is interesting: I guess the implication is that German sort order follows the transliterated spelling, or it's at least close to it? (I'm fluent in German, but not familiar with the alpha ordering.)

It looks like there's a Duden way and a telephone book way: https://german.stackexchange.com/a/1798/1106
Telephone book = transliteration
Duden = pretend like the diacritical doesn't exist. Weird.


Fixes crash in SliverAnimatedList

Fixes https://github.com/flutter/flutter/issues/153922
Improved reordering logic in Sliver Animated List to handle duplicate keys and improve removal stability to handle this behavior.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@nate-thegrate The problem seems to come from updateSlot, inside framework.dart.
It is picking up slots that no longer exist, but that are still somehow active in the tree before being actually removed.

Yeah, I thought so too when I saw this. A duplicate key does not sound valid to me.

@Piinks @chunhtai If that’s the case, the solution might be simpler than I thought. Just one question: can I disregard the implementation I wrote? Blocking duplicates seems easier, but I’ll need to check if there are other scenarios to consider.

To summarize the request from #153922: if an item's "remove animation" is in progress, and another item with the same key is added, it should just un-remove the item instead of trying to add a different one.
In my opinion, the current PR is an effective solution, but that's not saying much, given my lack of knowledge in this area 😅

I agree we should do something about SilverAnimatedList, but we should not relax the restriction on SliverMultiBoxAdaptorElement directly.
Can we do something like having have an internal keysubtree on all the sliveranimatedlist child that can keep track of different "generation" of the child so that it won't crash when readding the child back while the animation is still on going?

I agree we should do something about SilverAnimatedList, but we should not relax the restriction on SliverMultiBoxAdaptorElement directly.
Can we do something like having have an internal keysubtree on all the sliveranimatedlist child that can keep track of different "generation" of the child so that it won't crash when readding the child back while the animation is still on going?

I implemented a solution within SliverChildBuilderDelegate. I created an initial implementation that worked to some extent, but I'm still considering how to handle some regressions that have cropped up.

(triage) @Mairramer Just checking in if this PR is still on your radar. Will you continue working on this?


Implement end-to-end WiFI functionality

Name/Affiliation/Title
John, Maintainer
Purpose of the PR
Add end-to-end support for uploading via WiFi. Starting at the stm32, a command should be sent to the esp32 which uploads a measurement to Dirtviz.
Development Environment
Provide the OS, hardware version, Platformio version, and information about any other tools used during the development.
Test Procedure
TBD
Additional Context
Incremental PR for buffer support. This PR adds the ModuleHandler class that handles directing arbitrary command to various "modules". The WiFi module is the first implemented one.
Task List

[ ] Update CHANGELOG.md
[ ] Static code analysis passes
[ ] All environments can be built
[ ] All tests pass
[ ] Clear documentation for new code
[ ] Linting passes
[ ] (If applicable) Version bump python library

Relevant Issues
Closes #46

When merging closed duplicate/related PRs: #76 #89


renamed variables from bias to offset

as discussed with @guolinke

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

Hello @SiNZeRo , I was recently looking into the histogram code and trying to understand why the name bias was used in this context. I was mostly interested because it seems to affect the measured size of histograms in memory.
By this switch to offset, which I guess was made to better describe the purpose of the variable, is because it indicates whether the histogram uses a "default" bin or not? Not sure how the default bin is used, but I'm going to guess it has to do something with zero-valued histograms?
Any chance you could explain a bit the function/purpose of the offset (nee bias_) variable?

hi @thvasilo ,
The offset is used to optimize sparse features.
For a sparse feature, you can only pass the non-zero(or not default bin) feature values, to construct the histogram, then restore the default-bin by the subtraction of the sum of all grad/hess and the sum of remaining bins.


interoperate with numpy arrays?

How can I use xtensor-python with numpy arrays?  I'd want to call functions implemented with xtensor c++ from python passing numpy arrays, and also return numpy arrays to python.
Is there a discussion or mail list for these questions?
Thanks

@nbecker that is the whole point of xtensor-python.
You can check out the example from the Readme, which does exactly what you are describing.
If you want to start off from a template project exposing your work as a C++ extension, you can directly use the project cookiecutter.

You can join the gitter chat for xtensor here: https://gitter.im/QuantStack/Lobby

xtensor-python makes numpy arrays compatible with xtensor. You can even reshape them inplace.
We are working hard to implement a large part of numpy functionalities in xtensor
Check out the example C++ notebook here:
http://nbviewer.jupyter.org/github/QuantStack/xtensor/blob/master/notebooks/xtensor.ipynb

Closing since you found you way to the discussion channels!

I have not find the documentation about return pytensor as numpy array.

I tried to return two pytensors, but got error:
Numpy: unable to create ndarray

my code is like this:
py::make_tuple(pytensor1,  pytensor2)

what are the shapes of your pytensors?
if you write this code:
xt::pyarray<double> test(xt::pyarray<double>& var)
{
    return var * 2;
}

This should return you a numpy array.

thanks, I just find that my issue is not return, it is getting the numpy array to c++. I have one function working, but not another one getting two numpy arrays to c++.