How can we replicat full database

How can we able to make copy of data without specifying each table. I need all tables data into elasticsearch.

Use DB tool to find out the table names and primary keys, then set up river SQL statements.

Ok.Only initial data get replicate into elasticsearch index. New updates is not getting reflected. What may the reason.Is it need to make that curl command each time?

A river can not detect updates in the DB. You have to run river again, e.g. with the schedule parameter. Take care of assigning unique document IDs in the SQL statement.

for running in each second what may be the parameter value for schedule ?

The cron syntax is documented at https://github.com/jprante/elasticsearch-river-jdbc#time-scheduled-execution-of-jdbc-river
How long takes the SQL statement to complete? Running each second is not encouraged, if SQL can not complete in that time, you will overwhelm the JDBC plugin and the ES node.

@jprante : Thanks for your replay. Now its schedule and run in each minutes. But the problem is data is getting duplicated. In each minutes its select data from my sql query and insert in elasticsearch, so same data is repeated.How can i handle this.


Added Blob attachment support for when syncing from remote server

This PR is to address problems with BLOB attachments during the PouchDB syncing process with a remote server like CouchDB.
The current process is to just global.btoa(attachment.data) which will always return the same string since encoding a Blob and not the content within.  This means attachments just don't work if they come as type BLOB.
The solution is to run the Blob through the FileReader and then unwrap the ArrayBuffer returned back through btoa.  This when provides a base64 string to be stored locally.
NOTE: This does not provide support to store BLOB attachments locally but instead support receiving remote BLOB attachments from a remote server.  All BLOB attachments will be stored as base64 locally in AsyncStorage.

Before I fix the above tests, I just want to ask what the expectation and requirements of storing attachments in AsyncStorage are?
Is it required that attachments are stored as binary?  I noticed the existing code takes a base64 then converts it using btoa before storage?

Sorry, I don't use attachments so no idea

For the moment, I'm going to close this PR as I've realised I might have jumped the gun a little early as although this solution works fine when React Native is in DEBUG mode, in RELEASE mode it causes an issue which I'm still tracking.
I'll re-raise once I get a solution and think a little more about the attachment question.  I might ask the PouchDB guys for some suggestions

@ddolheguy No need to close the PR since it hurts discoverability. Imagine someone wants to start using this module and has attachments as a requirement. It's better that they see the problems on a surface without inspecting all the closed issues / pull requests. Closed should mean "already implemented / never will be implemented"
Same applies to #44 Actually, if a pull request has a string like "fixes #issue_id", the issue would be closed automatically on the pull request merge. See more at https://github.com/blog/1506-closing-issues-via-pull-requests

No problem, I've re-opened this.  Just to give everyone an update, I haven't found an easy way to convert the BLOB types to base64 without saving them first to disk on the device then natively converting them.

@ddolheguy what was the issue that you found in release mode?

@jaredly I wasn't able to easily find a solution to convert the BLOB types to base64 on the device.  Weirdly, it works when running debug with the browser but I believe it's using the engine there instead which is why the issue.

i will close this, i'd like to see a list of attachment Problems, and solve them


pushing to facebook howto?

for youtube and twitch everything is OK:
push rtmp://live-fra.twitch.tv/app/live_1224_some_other_symbols;
but for FB and VK this don't work:
push rtmp://rtmp-api.facebook.com/rtmp/95here82?s_ps=1&a=ATthereb9;
But if I paste this into OBS separate for address and key – everything is OK.
address: rtmp://rtmp-api.facebook.com/rtmp/
key: 95here82?s_ps=1&a=ATthereb9
Maybe "/" is not good idea? Or what the problem? Help me plz!

Hey @Timoffey  I have the same config too. However, I would like to key to be dynamic as the front end client handles the youtube login and getting the stream key through YouTube API request/response. Could you please tell me how to have the key to be dynamic and pass as a dynamic parameter ?

Hi
Have you managed to use a dynamic key?


Error: First parameter must either be an object or the name of an existing class

Again there was an error in your code.
File: AvaTax/GetTaxResult.php

This happened if the response from the cURL request didn't return anything.  This way you can catch the error and handle it in code.

Hi
Could you please update the status of this issue
Waiting your response.

Hi,
We have gotten similar exception 5 minits ago.
http://clip2net.com/s/3CbwbTn
Do you have any updates of fixing it ?

@skylord123
@bartkamphuis
@shieldo
@shrimpwagon
Partners we have many exceptions from the test and several from the production
http://clip2net.com/s/3CbwbTn
Could you investigate this issue and fixed this in near time
Thank you with advance for the fast answer

You need to test to make sure that the json got encoded properly:
https://github.com/avadev/AvaTax-Calc-REST-PHP/blob/master/src/AvaTax/GetTaxResult.php#L58
The server probably failed.
Post the rest of your code. What was the server response?

Here's your problem:
https://github.com/avadev/AvaTax-Calc-REST-PHP/blob/master/src/AvaTax/TaxServiceRest.php#L140
There is zero server response verification. Need to make sure that it was a 200 HTTP response and that the response is proper JSON format.

@shrimpwagon
We do not note Ajax requests. Commits are normally.

@TkachukRuslan
You can still write an entry to a db table with the data transactions between your server and Avalara's.


bfs: 3.1.2 -> 3.1.3

Signed-off-by: Muhammad Falak R Wani<EMAIL_ADDRESS>Description of changes
Diff: https://github.com/tavianator/bfs/compare/3.1.2...3.1.3

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

bfs


Closes #220 | Add Tagalog Profanity Dataloader

Closes #220
Please name your PR after the issue it closes. You can use the following line: "Closes #ISSUE-NUMBER" where you replace the ISSUE-NUMBER with the one corresponding to your dataset.
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

Thanks for the comments @gentaiscool and @sabilmakbar ! I updated the PR with the requested changes :) It's ready for another round of review

Ready for another round of reviews 🙇

PR updated to use Tasks.ABUSIVE_LANGUAGE_DETECTION to supported tasks! cc: @sabilmakbar @gentaiscool 🙇

Thanks LJ & Genta! WIll merge this...


Error: Ambiguity when creating list sections

The extension to Section at /Sources/Intermodular/Extensions/SwiftUI/Section++.swift causes ambiguity.

Ambiguous use of 'init(content:header:footer:)'

Commenting out this particular method unblocks me, but I'd rather not maintain a local copy of this package. I'm happy to open a PR that deletes this method, but am unaware of possible side effects throughout the codebase.
Here's a simple example that reproduces the issue:
import SwiftUI
import SwiftUIX

struct Example: View {
    var body: some View {
        Section { // Ambiguous use of 'init(content:header:footer:)'
            Text("Content")
        } header: {
            Text("Header")
        } footer: {
            Text("Footer")
        }
    }
}

I guess the library method is no longer required

@EvanCooper9 @Overcot yeah I should just get rid of this, will investigate if that breaks any code but I'll fix this one in the upcoming release.

This is now fixed on master.

Thank you!


Fix Emscripten and FreeBSD

My primary motivation is to fix #24
However this also fixes #29, but I didn't test it.
On emscripten utimes is just a wrapper on top of utimensat, which is why my change makes sense:
https://github.com/kripken/emscripten/blob/6e4b98636618989bcd99308391e51aa1b81f4c61/system/lib/libc/musl/src/linux/utimes.c#L9
https://github.com/kripken/emscripten/blob/6e4b98636618989bcd99308391e51aa1b81f4c61/system/lib/libc/musl/src/stat/futimesat.c#L20
However the tests don't work because:

It looks like flags have to be 0, so set_symlink_file_times doesn't work: https://github.com/kripken/emscripten/blob/52ff847187ee30fba48d611e64b5d10e2498fe0f/src/library_syscall.js#L1260
Emscripten doesn't seem to differentiate between last access time and last modification time. It just uses the highest of the two instead (https://github.com/kripken/emscripten/blob/2a73c5eb0efc51b5a64c725bf25949d04fb88f0c/src/library_fs.js#L976). Should I modify the tests to make them pass, or should I accept the failures?

Thanks!

I'm not sure what to do about the test failures, but getting things compiling seems like a good first start

This breaks on FreeBSD 11:
error[E0425]: cannot find value `utimensat` in module `libc`
 --> src/unix/utimensat.rs:8:45
  |
8 |     super::utimensat(p, atime, mtime, libc::utimensat, 0)
  |                                             ^^^^^^^^^ did you mean `utimes`?

When I remote the cfg target freebsd from unix/mod and let it use utimes, it works fine

Yes, I will do that tomorrow. I will look into the problem because it does
seem that utimesnsat is prevered over utimes in freebsd 10.3+
On Sat, 10 Nov 2018, 18:23 Alex Crichton<EMAIL_ADDRESS>wrote:

Oh dear sorry about that! Want to send a PR to fix FreeBSD?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alexcrichton/filetime/pull/31#issuecomment-437600407,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAtjJPvehnGqlzYSARxPo2LKf-m4yK4ks5utwt3gaJpZM4YNGrX
.

I checked, the latest release of rust libc (0.2.43) doesn't have the utimensat call for freebsd. It's in the master branch but not in the release version. I can patch out the cfg=freebsd and create a pull request, but the real solution would be for libc to create a 0.2.44 version.

Ok!


Tutorial method 2 error: core dump and corrupted size vs. prev_size

Describe the bug
https://microsoft.github.io/presidio/tutorial_framework.html
Try Method 2
Use the analyzer Python code by importing matcher.py from presidio-analyzer/analyzer
match = matcher.Matcher()
results = self.match.analyze_text(text, fields)
To Reproduce

Create "a.py" at sub folder "presidio-analyzer"
install dependencies
execute with python

chenglim@chenglim-GL503VM:/amaris/code/presidio/presidio-analyzer$ python3 a.py
unable to cache TLDs in file /usr/local/lib/python3.6/dist-packages/tldextract/.tld_set: [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/tldextract/.tld_set'
<class 'analyzer.matcher.Matcher'>
[text: "(212) 555-1234"
field {
  name: "PHONE_NUMBER"
}
score: 1.0
location {
  start: 91
  end: 105
  length: 14
}
, text: "New York"
field {
  name: "LOCATION"
}
score: 0.8500000238418579
location {
  start: 21
  end: 29
  length: 8
}
, text: "Seattle"
field {
  name: "LOCATION"
}
score: 0.8500000238418579
location {
  start: 59
  end: 66
  length: 7
}
, text: "yesterday"
field {
  name: "DATE_TIME"
}
score: 0.8500000238418579
location {
  start: 38
  end: 47
  length: 9
}
, text: "morning"
field {
  name: "DATE_TIME"
}
score: 0.8500000238418579
location {
  start: 48
  end: 55
  length: 7
}
]
corrupted size vs. prev_size
Aborted (core dumped)
chenglim@chenglim-GL503VM:/amaris/code/presidio/presidio-analyzer$ cat a.py
from analyzer import matcher

class DictAttr(dict):
    def __getattr__(self, key):
        if key not in self:
            raise AttributeError(key)
        return self[key]

    def __setattr__(self, key, value):
        self[key] = value

    def __delattr__(self, key):
        del self[key]

text = """
John Smith lives in New York. We met yesterday morning in Seattle.
I called him before on<PHONE_NUMBER> to verify the appointment.
He also told me that his drivers license is AC111921
"""

fields = []
field = ["PHONE_NUMBER", "LOCATION", "DATE_TIME"]

for f in field:
    a = DictAttr()
    a.name = f
    fields.append(a)

match = matcher.Matcher()
print(type(match))

results = match.analyze_text(text, fields)
print(results)

Expected behavior

No error "corrupted size vs. prev_size"
No "Aborted (core dumped)"
unable to cache TLDs in file /usr/local/lib/python3.6/dist-packages/tldextract/.tld_set: [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/tldextract/.tld_set'

Screenshots
N/A
Additional context
Suspect this has to do with the tldextract..

The code run prefect on docker container.. so it is my local installation problem.
chenglim@chenglim-GL503VM:/amaris/code/presidio/presidio-analyzer$ docker exec -it 5caddb82a300 ash
/usr/bin/presidio-analyzer/analyzer # ls
__init__.py            __pycache__            analyze_pb2_grpc.py    common_pb2_grpc.py     matcher.py             presidio-analyzer.bat  template_pb2_grpc.py
__main__.py            analyze_pb2.py         common_pb2.py          field_types            presidio-analyzer      template_pb2.py        ~
/usr/bin/presidio-analyzer/analyzer # cd ..
/usr/bin/presidio-analyzer # ls
analyzer          requirements.txt
/usr/bin/presidio-analyzer # cat > a.py
from analyzer import matcher

class DictAttr(dict):
    def __getattr__(self, key):
        if key not in self:
            raise AttributeError(key)
        return self[key]

    def __setattr__(self, key, value):
        self[key] = value

    def __delattr__(self, key):
        del self[key]

text = """
John Smith lives in New York. We met yesterday morning in Seattle.
I called him before on<PHONE_NUMBER> to verify the appointment.
He also told me that his drivers license is AC111921
"""

fields = []
field = ["PHONE_NUMBER", "LOCATION", "DATE_TIME"]

for f in field:
    a = DictAttr()
    a.name = f
    fields.append(a)

match = matcher.Matcher()
print(type(match))

results = match.analyze_text(text, fields)
print(results)
^C
/usr/bin/presidio-analyzer #
/usr/bin/presidio-analyzer #
/usr/bin/presidio-analyzer #
/usr/bin/presidio-analyzer # python a.py
<class 'analyzer.matcher.Matcher'>
[text: "New York"
field {
  name: "LOCATION"
}
score: 0.85
location {
  start: 21
  end: 29
  length: 8
}
, text: "yesterday"
field {
  name: "DATE_TIME"
}
score: 0.85
location {
  start: 38
  end: 47
  length: 9
}
, text: "morning"
field {
  name: "DATE_TIME"
}
score: 0.85
location {
  start: 48
  end: 55
  length: 7
}
, text: "Seattle"
field {
  name: "LOCATION"
}
score: 0.85
location {
  start: 59
  end: 66
  length: 7
}
, text: "(212) 555-1234"
field {
  name: "PHONE_NUMBER"
}
score: 1
location {
  start: 91
  end: 105
  length: 14
}
]
/usr/bin/presidio-analyzer #


Card with header and more than a certain number of lines of text in the body, is not displayed correctly

  <Card>
            <CardItem header bordered>
              <Icon style={styles.icon} name="restaurant-menu" />

                Lunch

            </CardItem>
              <CardItem>

                  <Text allowFontScaling={false} style={styles.text}>
                    Thanks for taking the beta version of the CGPS App for a
                    test drive.
                  </Text>

              </CardItem>
            </Card>

Looks good:

<Card>
            <CardItem header bordered>
              <Icon style={styles.icon} name="restaurant-menu" />

                Lunch

            </CardItem>
              <CardItem>

                  <Text allowFontScaling={false} style={styles.text}>
                    Thanks for taking the beta version of the CGPS App for a
                    test drive. Please note this is a pre-release "beta" version
                    of the app. There are still bugs. Use the menu icon in the
                    top left to navigate around.
                  </Text>

              </CardItem>
            </Card>

Looks bad:

Hey @agersoncgps ,
I tried your code out and its working

Please specify version of native-base , react-native

@agersoncgps Tried both your snippets, works fine
Tried with NativeBase 2.3.1

Would it make any difference that you are on Android and I am on iOS?

@agersoncgps The above comments show it to be working on both iOS and android. Do check with the latest and also check the theme file, if you had ejected earlier.


我希望该播放器可以支持下载功能像手机那样 I want the player to be able to download like a mobile phone

中文用户请注意：请尽量用英文描述你的 issue，这样能够让尽可能多的人帮到你。
If you want to report a bug, please provide the following information:

The steps to reproduce.
A minimal demo of the problem via https://jsfiddle.net or http://codepen.io/pen if possible.
Which versions of DPlayer, and which browser / OS are affected by this issue?

我希望你能自己写一个。


Add logo in title section

Is your feature request related to a problem? Please describe.
Logo feature is not added in login.html and signup.html
Describe the solution you'd like
Indian flag must be added in title section of login and signup page
Additional context

I would like to fix this issue as LGM   SOC21.participant .pls assign this work to me .

/assign

@royalleads15, @gargi111, and @sameer2403 this issue is already open #178.
Before opening any issue make sure that no other similar issue is open.


Captionmod not working

install-to-HalfLife.bat didn't work,  so I directly modified gamedir (set GameDir=C:\Program Files (x86)\Steam\steamapps\common\Half-Life)
Following that Meathook installed correctly, I think? but I can't figure out how to run the game with CaptionMod.
When running meathook.exe, cap_enabled does nothing, and neither does cap_show. I've also tried running the game from Steam with -game meathook, that didn't work either.

All plugins except Renderer are not ready for the new HL25 engine yet.

Do you plan on updating it?

Just realized that the default font for the subtitles is Tahoma, so selecting that as the used font fixes the issue.


lorca race detect

when im starting my app -- race detector detect race in two gorutines (in create object of UI, and in parallel task this object in update DIV-element ).

@prospero78 Could you please share the output of the race condition dump (it should normally print a stack trace of the error)?

Unfortunately, but the dump was not preserved. I just launched a data exchange cycle with a web browser in a separate thread. And then the show began.

==================
WARNING: DATA RACE
Write at 0x00c0001e0ba8 by goroutine 9:
  os/exec.(*Cmd).Wait()
      /usr/local/Cellar/go/1.14.1/libexec/src/os/exec/exec.go:506 +0x168
  github.com/zserge/lorca.New.func1()
      /Users/mylxsw/codes/golang/pkg/mod/github.com/zserge/lorca@v0.1.9/ui.go:86 +0x50

Previous read at 0x00c0001e0ba8 by goroutine 8:
  github.com/zserge/lorca.(*chrome).kill()
      /Users/mylxsw/codes/golang/pkg/mod/github.com/zserge/lorca@v0.1.9/chrome.go:513 +0x92
  github.com/zserge/lorca.(*chrome).readLoop()
      /Users/mylxsw/codes/golang/pkg/mod/github.com/zserge/lorca@v0.1.9/chrome.go:339 +0x13a8

Goroutine 9 (running) created at:
  github.com/zserge/lorca.New()
      /Users/mylxsw/codes/golang/pkg/mod/github.com/zserge/lorca@v0.1.9/ui.go:85 +0x631
  main.main()
      /Users/mylxsw/codes/github/wizard-personal/cmd/wizard/main.go:37 +0xc6

Goroutine 8 (finished) created at:
  github.com/zserge/lorca.newChromeWithArgs()
      /Users/mylxsw/codes/golang/pkg/mod/github.c  github.com/zserge/lorca.New()
      /Users/mylxsw/codes/golang/pkg/mod/github.com/zserge/lorca@v0.1.9/ui.go:79 +0x5af
  main.main()
      /Users/mylxsw/codes/github/wizard-personal/cmd/wizard/main.go:37 +0xc6
==================

I solved this problem by allocating the main thread of execution in a separate thread. And all the signals arrive on different channels in a separate stream. Although it is worth recognizing: the situation is sad, and the author abandoned his project a bit.


How do you control input image size and feature number？

I am confused about the description of input size controlling in the paper,

Notably, input images are resized to have a maximum shorter side of 600 pixels (longest 1000) when keeping aspect ratio fixed.

My understanding is that images (from Visual Genome) are resized and padded (Is there a padding process?) to 600X1000 when training the detector. So I guess that, when training a VQA model, images (from MSCOCO) are also resized and padded to 600X1000. But there are two questions:

What is the specific procedure of resizing and padding？And is there actually two type image size，i.e. 600X1000 and 1000X600, since both of them will output 608 features and can be used by VQA model like MCAN? But when I read your code (extract_grid_feature.py), there is no sign of resizing and padding, just the normalization of pixel values.
I found that maximum image size in MSCOCO is 640X640, so do we actually enlarge every image in MSCOCO when training a VQA model using 608 features?

My understanding is that the largest possible size is 600x1000, so it could be 300x1000 depending on the input image aspect ratio. The detailed steps are found in D2's code base. Note that when used for VQA models, the spatial dimensions are flattened, so it only needs to take the maximum possible # of features. See example at: https://mmf.sh/docs/projects/movie_mcan/

Is there resize procedure when training a VQA model, or just use the original image without resizing?

I've read the code of preprocess in Detectron2
scale = size * 1.0 / min(h, w)
        if h < w:
            newh, neww = size, scale * w
        else:
            newh, neww = scale * h, size
        if max(newh, neww) > self.max_size:
            scale = self.max_size * 1.0 / max(newh, neww)
            newh = newh * scale
            neww = neww * scale
        neww = int(neww + 0.5)
        newh = int(newh + 0.5)

It means there are two types largest size of images, i.e. 600X1000 and 1000X600. Training a VQA model using pre-extracted features is fine, because feature maps are flattened before input to a model like MCAN. But there is a trouble when training a end-to-end model, since the batch of samples should input to a CNN but there may be different image sizes in a batch (and padding cannot fix this problem otherwise the image size will be padded to 1000X1000). May I ask how you deal with this problem?


way to add extraContext in case of unhandled exception/crash

I would like to add some context when a crash occurs. I understand that context can be added when capturing exception, but this is only for exceptions that are expected.
Is there a way to do that?
Thanks

Sadly there is nothing like a onCrashHandler, what you could do is callSentry.setExtraContext this will always add the context.

Calling Sentry.setExtraContext will add the context at a certain moment of time, right?
In my case, I would like to pass a part of my redux store. When I call setExtraContext, it will take a snapshot of it at the time Sentry.setExtraContext is called, not at the time of the crash.
Am I wrong?

No that's correct, this is how it works.
You could also try it with setDataCallback and filter for the event you want and append data then.

Have you looked at  ? I'm using it and it works like a charm. Sends the last state and the last action before the crash.

@grigored How and when do you setup setDataCallback? At your application start? Would you mind providing an example?

The documentation on raven-for-redux is pretty good. All you have to do is
import Raven from "raven-js";
Raven.config().install();

// where you create the redux store
applyMiddleware(
            createRavenMiddleware(Raven, {
                // Optionally pass some options here.
            }),
            ...//other middleware like thunk, redux-logger etc
        ),

@HazAT I am trying to use setDataCallback which seems to be correctly trigger during unhandled crash, but from the logcat, I see the following:
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: Error getting Proguard UUIDs.
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: java.io.FileNotFoundException: sentry-debug-meta.properties
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at android.content.res.AssetManager.openAsset(Native Method)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at android.content.res.AssetManager.open(AssetManager.java:359)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at android.content.res.AssetManager.open(AssetManager.java:333)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at io.sentry.android.event.helper.AndroidEventBuilderHelper.getProGuardUuids(AndroidEventBuilderHelper.java:157)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at io.sentry.android.event.helper.AndroidEventBuilderHelper.helpBuildingEvent(AndroidEventBuilderHelper.java:73)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at io.sentry.SentryClient.runBuilderHelpers(SentryClient.java:109)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at io.sentry.SentryClient.sendEvent(SentryClient.java:162)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at io.sentry.Sentry.capture(Sentry.java:160)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at io.sentry.SentryUncaughtExceptionHandler.uncaughtException(SentryUncaughtExceptionHandler.java:48)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at com.google.android.gms.analytics.ExceptionReporter.uncaughtException(Unknown Source)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
07-12 14:41:42.881 17943 17985 E io.sentry.android.event.helper.AndroidEventBuilderHelper: 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)

How can this file be generated during release build (with assembleRelease)?

I finally finally been able to generate sentry-debug-meta.propertiesby following these guidelines https://github.com/getsentry/sentry-java/blob/master/docs/modules/android.rst.
Unfortunately extraContext is not added. Here is the logcat
07-12 15:59:41.932 24597 24632 I react-native-sentry: captureEvent '{ NativeMap: {"level":"log","category":"console","message":"setDataCallBack called","timestamp":1499867981.929} }'
07-12 15:59:41.988 24597 24631 I ReactNativeJS: 'react-native-sentry (setExtraContext):', { myExtraContext: 'yeah',
07-12 15:59:41.993 24597 24632 I react-native-sentry: captureEvent '{ NativeMap: {"level":"log","category":"console","message":"react-native-sentry (setExtraContext): [object Object]","timestamp":1499867981.931} }'
07-12 15:59:46.859 24775 24811 D io.sentry.android.AndroidSentryClientFactory: Construction of Android Sentry.
07-12 15:59:46.861 24775 24810 I ReactNativeJS: 'react-native-sentry (setDataCallback):', [Function]
07-12 15:59:46.861 24775 24811 D io.sentry.android.AndroidSentryClientFactory: Sentry init with ctx='xxx.MainApplication@4d502ac' and dsn='Dsn{uri=https://sentry.io/}'
07-12 15:59:46.919 24775 24811 D io.sentry.android.AndroidSentryClientFactory: Using buffer dir: /data/user/0/com.vtoupet.smartmixin/cache/sentry-buffered-events
07-12 15:59:46.932 24775 24811 I react-native-sentry: startWithDsnString 'https://xxxxxx'
07-12 15:59:46.933 24775 24811 I react-native-sentry: captureEvent '{ NativeMap: {"level":"log","category":"console","message":"react-native-sentry (setDataCallback): function (e) {console.log(\"setDataCallBack called\"),s({myExtraContext:\"yeah\"});}","timestamp":1499867986.858} }'

Maybe I am misunderstanding the point of setDataCallBack. I call it right after Sentry.config(...).install() and it looks like this
Sentry.setDataCallBack(function (data) {
    const reduxStore = store.getState()
    Sentry.setExtraContext({
    app: reduxStore.app,
    auth: reduxStore.auth,
    user: reduxStore.user,
    services: reduxStore.services
  })
})

I do not see any added context in the sentry reported issue

@vincejah You should be able to do something like this:
Sentry.setDataCallback(function (data) {
  console.log(data.extra);
  data.extra.xxxx = 1;
  return data;
});

Be sure to return data otherwise, you will not send an event.
data.extra contains all the extra properties and you can add more there.

@HazAT Thanks a lot, it works great.


gh-1911 Added --no-snapshot-updates to maven verify script

Codecov Report

Merging #1913 into develop will decrease coverage by 0.02%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #1913      +/-   ##
=============================================
- Coverage      64.66%   64.64%   -0.03%
  Complexity      2172     2172
=============================================
  Files            867      867
  Lines          28638    28638
  Branches        3576     3576
=============================================
- Hits           18518    18512       -6
- Misses          8669     8673       +4
- Partials        1451     1453       +2

Impacted Files
Coverage Δ
Complexity Δ

.../gov/gchq/gaffer/store/schema/SchemaOptimiser.java
78.49% <0%> (-6.46%)
0% <0%> (ø)

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 264562e...c8bdd6e. Read the comment docs.


Why this mario gpt script is laggy?

This is the script:
from mario_gpt import MarioLM
mario_lm = MarioLM()
prompts = ["many pipes, many enemies, some blocks, high elevation"]
generated_level = mario_lm.sample(
prompts=prompts,
num_steps=100,
temperature=2.0,
use_tqdm=True
)
play in interactive
generated_level.play()
run Astar agent
generated_level.run_astar()
And I need more num_steps, but the AI lags when it reach more than 100 steps... its possible to get performance with this python library?

This is my code, sorry the bad formatted previous one:
from mario_gpt import MarioLM
mario_lm = MarioLM()
prompts = ["many pipes, many enemies, some blocks, high elevation"]
generated_level = mario_lm.sample(
prompts=prompts,
num_steps=100,
temperature=2.0,
use_tqdm=True
)
generated_level.play()
generated_level.run_astar()

Hey! Are you sure you’re using a gpu? It can be pretty slow without one. Basically has the steps increase the information in the context increases.

You can check with torch.cuda.is_available()


Update ahk-script/README.md

Add ahk script comments from 2.5.1 version release.
(made this pull request so I can at least link to something more up to date when mi toki e nasin ahk tawa sitelen pona. lukin sina li wile aaa tawa ante ni a o lukin a)

I REMEMEBRED. sorry it took so long ;-;


Rebrand ESDIS hub for IEEE-GRSS webinar

Please note: If changing the URL, you will also need to update the Hub OAuth Callback URL here. A 2i2c engineer will also need to update the hub URLs in the GitHub OAuth application as well. Otherwise, logins will break.

Is it really necessary to change the URL? This is not a simple operation, and I'm assuming this is temporary since it is for a webinar so we will have to do the reverse afterwards.

we can skip the url change. Thanks @sgibson91

Output of terraform plan
Terraform used the selected providers to generate the following execution plan. Resource actions
are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # aws_iam_policy.extra_user_policy["prod"] will be created
  + resource "aws_iam_policy" "extra_user_policy" {
      + arn         = (known after apply)
      + description = "Extra permissions granted to users on hub prod on nasa-esdis"
      + id          = (known after apply)
      + name        = "nasa-esdis-prod-extra-user-policy"
      + name_prefix = (known after apply)
      + path        = "/"
      + policy      = jsonencode(
            {
              + Statement = [
                  + {
                      + Action   = [
                          + "s3:PutObject",
                          + "s3:GetObject",
                          + "s3:ListBucketMultipartUploads",
                          + "s3:AbortMultipartUpload",
                          + "s3:ListBucketVersions",
                          + "s3:CreateBucket",
                          + "s3:ListBucket",
                          + "s3:DeleteObject",
                          + "s3:GetBucketLocation",
                          + "s3:ListMultipartUploadParts",
                        ]
                      + Effect   = "Allow"
                      + Resource = [
                          + "arn:aws:s3:::veda-data-store-staging",
                          + "arn:aws:s3:::veda-data-store-staging/*",
                          + "arn:aws:s3:::veda-nex-gddp-cmip6-public",
                          + "arn:aws:s3:::veda-nex-gddp-cmip6-public/*",
                          + "arn:aws:s3:::cmip6-staging",
                          + "arn:aws:s3:::cmip6-staging/*",
                          + "arn:aws:s3:::lp-prod-protected",
                          + "arn:aws:s3:::lp-prod-protected/*",
                          + "arn:aws:s3:::gesdisc-cumulus-prod-protected",
                          + "arn:aws:s3:::gesdisc-cumulus-prod-protected/*",
                          + "arn:aws:s3:::nsidc-cumulus-prod-protected",
                          + "arn:aws:s3:::nsidc-cumulus-prod-protected/*",
                          + "arn:aws:s3:::ornl-cumulus-prod-protected",
                          + "arn:aws:s3:::ornl-cumulus-prod-protected/*",
                          + "arn:aws:s3:::pangeo-forge-veda-output",
                          + "arn:aws:s3:::pangeo-forge-veda-output/*",
                          + "arn:aws:s3:::podaac-ops-cumulus-public",
                          + "arn:aws:s3:::podaac-ops-cumulus-public/*",
                          + "arn:aws:s3:::podaac-ops-cumulus-protected",
                          + "arn:aws:s3:::podaac-ops-cumulus-protected/*",
                          + "arn:aws:s3:::maap-ops-workspace",
                          + "arn:aws:s3:::maap-ops-workspace/*",
                          + "arn:aws:s3:::nasa-maap-data-store",
                          + "arn:aws:s3:::nasa-maap-data-store/*",
                          + "arn:aws::s3:::grss-veda-data-store",
                          + "arn:aws::s3:::grss-veda-data-store/*",
                          + "arn:aws:s3:::sentinel-cogs",
                          + "arn:aws:s3:::sentinel-cogs/*",
                        ]
                    },
                  + {
                      + Action   = "s3:ListAllMyBuckets"
                      + Effect   = "Allow"
                      + Resource = "*"
                    },
                ]
              + Version   = "2012-10-17"
            }
        )
      + policy_id   = (known after apply)
      + tags_all    = (known after apply)
    }

  # aws_iam_role_policy_attachment.extra_user_policy["prod"] will be created
  + resource "aws_iam_role_policy_attachment" "extra_user_policy" {
      + id         = (known after apply)
      + policy_arn = (known after apply)
      + role       = "nasa-esdis-prod"
    }

Plan: 2 to add, 0 to change, 0 to destroy.

tf failed to apply
aws_iam_policy.extra_user_policy["prod"]: Creating...
╷
│ Error: creating IAM Policy (nasa-esdis-prod-extra-user-policy): MalformedPolicyDocument: The policy failed legacy parsing
│       status code: 400, request id: 23b87fbe-f573-41c8-858c-1291abb6b9e9
│
│   with aws_iam_policy.extra_user_policy["prod"],
│   on irsa.tf line 37, in resource "aws_iam_policy" "extra_user_policy":
│   37: resource "aws_iam_policy" "extra_user_policy" {

Deployed to staging successfully


Security issue with param escaping?

Hi, im running node-mysql latest on node-latest.
Somebody using the acunetix vulnerability scanner has triggered this error:
UNKNOWN COLUMN '$acunetix' IN WHERE CLAUSE.
The query: SELECT id, email FROM accounts WHERE username = ?
How is this possible? Its very dangerous to our application, please respond quickly.

Are there any circumstances where this would lead to an injection attack?
As far as I can work out so far this appears to only ever result in syntax errors.

@SystemParadox: I don't think so. The report seems to be badly explained and seems to be related to constructing SQL based on user input without any check.
Good usage:
db.query("SELECT * FROM users WHERE id = ?", [ +req.params.id ], next);

No harm on that, casting forces it to be a number. Even if it wasn't a number and the + was omitted, it's just fine (or else you would have problems when UPDATing columns with binary data - there's tests for that).
The problem here seems to be with something more like:
// BAD! BAD!
db.query("SELECT * FROM " + req.params.table + " WHERE ....", next);

@SystemParadox yeah I just took a look at the formatting and escaping code. I don't see any way that passing unvalidated data to be interpolated into the query could result in an injection vulnerability. That said, without validation you can easily get a syntax error.

Hi guys,
I've been looking into this recently and think that it could be a real issue for less security aware programmers. For example consider the following login query:
db.query("SELECT * FROM users WHERE id = ? and password = ?", [ userInput.id userInput.password ], next);

say the userInput object is as follows:
{"id":"test","password":{"password":"1"}}
The resulting query will be:
SELECT * FROM users WHERE id = 'test' and password = `password` = '1'

the following section will always evaluate to true:
password = `password` = '1'

less of an issue is that a malicious user could discover valid column names by checking the error messages returned by an application.
To avoid this issue programmers would need to validate that the value being passed into the query function is not an Object. I saw that your supposed to 'opt-in' to enable the object parsing but this doesn't appear to be implemented? should this be pushed down to the sqlstring library?


Add support for _source on update requests

In order to maintain backwards compatibility by not introducing a new generic parameter on UpdateResponse, I had to use serde_json::Value as an intermediate value...
If we are ok with not maintaining backwards compatibility I can update this PR and introduce a new generic parameter, which will result in something like this: UpdateRequestBuilder<TSender, TBody, TDocument>.
As a result, as of right now, you use this like:
#[derive(Deserialize, ElasticType, Debug)]
struct User {
    #[elastic(id)]
    id: String,
    name: String,
}

#[derive(Serialize, ElasticType, Debug)]
struct UpdateUser {
    #[elastic(id)]
    id: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    name: Option<String>,
}

let response = client
    .document::<UpdateUser>()
    .update(1)
    .script(r#"ctx._source.name = "Updated Name""#)
    .params_fluent(|params| params.url_param("_source", true))
    .send()?;

dbg!(&response.into_document::<User>());

I am hoping to tackle bulk updates ASAP too...

Thanks for the PR @mwilliammyers!
Hmm, it keeping with the rest of the crate style I think we would want to make UpdateResponse generic over the returned document type, but since we use the type name to determine default index and type names I think there could be a bit of a footgun in this example:
#[derive(Deserialize, ElasticType, Debug)]
struct User {
    #[elastic(id)]
    id: String,
    name: String,
}

#[derive(Serialize, ElasticType, Debug)]
struct UpdateUser {
    #[elastic(id)]
    id: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    name: Option<String>,
}

let response = client
    .document::<UpdateUser>()
    .update(1)
    .script(r#"ctx._source.name = "Updated Name""#)
    .params_fluent(|params| params.url_param("_source", true))
    .send()?;

dbg!(&response.into_document::<User>());

where UpdateUser points to a different index than User.
What if we did something like:
let response = client
    .document::<User>()
    .update(1)
    .script(r#"ctx._source.name = "Updated Name""#)
    .source::<UpdateUser>()
    .send()?;

So that we effectively have UpdateRequestBuilder<TSender, TBody, TSource>, which defaults to Value, but is set to T in the source method?
What do you think?

That makes sense. I did something similar for _bulk requests in #382...
I don't think it really resolves the footgun problem because I expose UpdateUser  via GraphQL to let the API user decide which fields to update (because they are all Option) but it is definitely more ergonomic. So it has to look like:
let response = client
    .document::<UpdateUser>()
    .update(1)
    .script(r#"ctx._source.name = "Updated Name""#)
    .source::<User>()
    .send()?;

I didn't notice this issue because I have to manually resolve the index for each document via the .index() method on the builders because it looks something like: users-COMPANY_ID where COMPANY_ID is a UUID that I get from an authorization header attached to each request coming into the GraphQL server.
This is definitely a separate issue, and I will open one when I have more concrete ideas, but I wonder if we could/should expand the "index name from a method" mechanism to be able to pass in parameters (e.g. the COMPANY_ID)...

@KodrAus I implemented it like you suggested so I am going to merge this if that is ok with you.

Until I can figure out a better way to do #382, I propose we merge this.
I will have to revisit this anyway to add support for passing in a Value to source.


/var/run/akashic-storage is volatile. deleted after reboot! (Ubuntu 14.04)

I will change the log directory to /opt/akashic-storage/log

resolved


CLI: genesisStateFile appears as undefined Option in CLI help instead of as a Command

Describe the bug
In these instructions https://chainsafe.github.io/lodestar/usage/local/, the command that's shown uses command  --chain.genesisStateFile ./dev/genesis.ssz, where the path of that file is relative to the root directory that you define with option --rootDir  (which is ./.lodestar by default).
When you clone the latest 'master' branch and run yarn run cli dev --help it shows
Command used to quickly bootstrap beacon node and validators

dev
  ...

Options:
  ...
  --undefined                   Genesis state in ssz-encoded format   [string]

Notice how it's missing the following, and just shows it as --undefined in the Options section, whereas I think it should instead be shown as a Command as shown below
chain
  --chain.genesisStateFile

Expected behavior
chain
  --chain.genesisStateFile    Genesis state file in ssz-encoded format. File location relative to Lodestar root directory.        [string] [ default: "" ]

Steps to Reproduce

Clone the latest Lodestart repo git clone https://github.com/ChainSafe/lodestar
Switch to a version of Node.js that's later than v12 (requirement of package.json) e.g. nvm use 14.4.0
Build from source yarn install; yarn run build
View CLI dev help yarn run cli dev --help
See error

Desktop (please complete the following information):

OS: macOS Mojave 10.14.6
Version:

$ yarn run cli --version
0.9.0

Branch: master
Commit hash: 26a935ce7973c95d58570ef55c71ebc8a18bb61b

Fixed in current master. Thanks for reporting!


Question: How to make multi-language documentation for a nbdev project?

For example, I want to use nbdev to develop a python project, and I want to support both English and Chinese documentation for my users to read.
After some searching I find this https://quarto.org/docs/authoring/language.html .
It seems quarto supports auto translation of different languages and supports customized localization.
Thus I am wondering what is the best practice in nbdev to support multi-language documentation.

Any idea?

It seems we have to manually write the notebooks in different languages again, and the codes are not easy to sychronize between different notebooks languages. It is a hard problem


Drop rustc-serialize dependency

It has been deprecated: announcement.
Is there any functionality you would require from Serde or another library before this would be possible?

I tried to make the move in my fork of this repo, but couldn't because of our dependency on the cargo crate. It expects Decodable everywhere, such as in this function.
Also it appears cargo doesn't have its own "Drop rustc-serialize dependency" issue. I would file one, but I believe it would be better to leave it to you @dtolnay.
Otherwise other dependencies (e.g toml) look ready.

Looks like this was fixed on June 13 in https://github.com/rust-lang/cargo/pull/4149 and the latest cargo release is July 20 but doesn't include the change. @alexcrichton what is going on?

Oh we only publish the stable release of cargo, so I think the removal of rustc-serialize will go out in the next publication of cargo

@yoanlcq now this function uses Deserialize. Hope this unlocks you.

Thanks for mentioning this ! I hope too, but it's been quite a while and I'll need to dive in once again to be sure.
I'll see if it turns out okay - if it does I'll open a PR.

Fixed in #223.


BOLT, The World’s Largest Mobile Wallet, Powered by Content. - BOLT

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwallet.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:

Twitter: @trustwalletapp

Facebook: @trustwalletapp


Test Back to API Level 7

This works back to API Level 15 at the moment. Run tests to confirm that this seems to work back to API Level 7. In principle, it ought to work on even older versions of Android than that.

OK, settling for API Level 10.

Addressed in v0.2.0.


Add Service Labels to CODEOWNERS

The FabricBot rule for @ mentioning people based upon the service label when the Service Attention label was added should have been generated from the CODEOWNERS file for each repository. As it turns out, for Go, this wasn't the case. These entries were copied from either Java, JS, Net or Python (don't know, don't care, it was incorrect either way).  github-event-processor uses the CODEOWNERS file to get this information which, because of the aforementioned FabricBot rule copy, was never actually in the CODEOWNERS file. This PR just takes the IssueRouting entries, from the FabricBot.json file that was removed from this repository at the time github-event-processor was enabled and adds them as NotInRepo entries which is the interim fix.

Override check enforcer as there's no pipeline to actually test anything in this PR

/check-enforcer override


Problem with JIRA SAML SSO by Microsoft "InResponseTo of the response does not match the ID"

There's a sort of problem with this add-on.

Sometimes our users are having trouble using SSO, and the error in the page shows "InResponseTo of the response does not match the ID of the authentication request. Please try again"
At the same time when I got the error, i had immediately test on enterprise app portal and SSO works just fine.
I'm planning on the add-on/plugin upgrade, however currently the version says 6.0, while the latest installer are MicrosoftJIRASSO6x7x8x.obr is that means version 6.7.8, is it correct ? or i was just facing the same version ?

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

ID: d38cad90-6574-38c2-3262-059a9f975064
Version Independent ID: dd08d5c5-65a4-c2cc-8b51-7a35268dde68
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with JIRA SAML SSO by Microsoft
Content Source: articles/active-directory/saas-apps/jiramicrosoft-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@comicrr Thank you for your query. We will investigate and update the thread.

Reviewed the error message posted above, plugin needs to be updated to the latest version, as per this article https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/jiramicrosoft-tutorial, update the plugin to the latest version and access the application.

Hi @Givary, currently the version says 6.0 on my Jira, while the latest installer are MicrosoftJIRASSO6x7x8x.obr is that means version 6.7.8, is it correct ? or i was just facing the same version ?

@comicrr Note that the plugin does support all the version of 6.x, 7.x and 8.x Please dont go with the assumption by name.
We have resolve this bug in the latest plugin. So please use the updated version of the plugin and you should not face this issue again.

Thanks for the explanation @jeevansd , i think the issue now has been clarified


clearcache broken

The clearcache target is broken in the current version since the Cake.AppVeyor addin could not be loaded:
========================================
Clear-AppVeyor-Cache
========================================
Executing task: Clear-AppVeyor-Cache
The assembly 'Cake.AppVeyor, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
is referencing an older version of Cake.Core (0.26.0).
For best compatibility it should target Cake.Core version 0.28.0.
Error: One or more errors occurred.
        Could not load file or assembly 'Refit, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Deleting file C:/Git/GitHub/Cake.Issues.PullRequests/a9f06b9d-2deb-4118-babc-2356579d8005.cake
An error occurred when executing task 'Clear-AppVeyor-Cache'.

Loading the dependent assemblies manually as documented on the Cake.AppVeyor page doesn't help:
#addin nuget:?package=Refit&version=3.0.0
#addin nuget:?package=Newtonsoft.Json&version=9.0.1

Hmm, interesting... I hadn't noticed this problem.  I have actually started using Postman to do this work when I need it.
I will add it to the list of things that I have to look into.


Segmentation fault 11 with Xcode 11.4 when building for release

Seems there's a compiler crash in the latest Swift 5.2 compiler.
I haven't yet tracked down exactly what the issue is, but it can be reproduced with simple code like:
import SwiftUI
import Grid

struct Foo: Hashable {}

struct GifsView: View {
	var body: some View {
		List([Foo()], id: \.self) { _ in
			Text("")
		}
			.gridStyle(ModularGridStyle(columns: 1, rows: 1))
	}
}

So it's definitely something in .gridStyle or GridStyle.
You can also reproduce the crash by opening the Xcode project in this repo, selecting the "GridDemo macOS" target and and then selecting the "Product => Archive" menu item.

I would recommend getting this project added to https://github.com/apple/swift-source-compat-suite

Same, I thought it was just me. thank goodness

@sindresorhus @imjameshall turns out with a new version of Swift and Xcode this function
func gridStyle<S>(_ style: S) -> some View where S : GridStyle

has to be inlinable
@inlinable func gridStyle<S>(_ style: S) -> some View where S : GridStyle

@ay42 Do you agree it's a Swift compiler bug? If so, I can open an issue on the Swift bug tracker.

@sindresorhus looks like it.
I just checked in other repos and it only happens when both are true:

It's in a dependency (if you move this function to your project it works)
Argument is a protocol (if it's a struct it's fine)


Make check command detect if only the configured news file has changed

This should enable the check command to be used as a CI lint step and not fail when a pull request only modifies the configured news file (i.e. when the news file is being assembled for the next release).
Closes #3.

Also submitted upstream as https://github.com/hawkowl/towncrier/pull/174.


Wrong(old) repository name and descriptions

Hello, I found some wrong (old) repository names and descriptions.

Thank you!

Thank you!


44 more details on optional functionalities and value added services should be included

including role descriptions to align and acknowledge the DSSC Blueprint
extending the optional functionalities

closes #40

closing #43

closes #40

How about creating a "rolebook" to complement the rulebook?

How about creating a "rolebook" to complement a "rulebook" to address these issues?

closes #21


docs(draft): add docs folder TRG

Description

add trg as draft to make a /docs folder as hard requiredment for product repositories

updates https://github.com/eclipse-tractusx/sig-infra/issues/361
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Thx to @kelaja for approval will remove this PR because this was a little suggestion how to include hints and tricks to our trg and the docs folder and the suggestion to document with the help of arc42 patterns


My images in the dataset are in jpg and it throws an error.
https://github.com/jwyang/faster-rcnn.pytorch/issues/452#issuecomment-498736732


Usage with the Azure OpenAI API

The OpenAI services can also be used through Microsoft Azure. The API has exactly the same as with OpenAI and you can even use OpenAIs python library. You just need to adjust the cinfig in the following way:
openai.api_type = "azure"
openai.api_base = os.getenv("OPENAI_API_BASE")
openai.api_version = "2023-03-15-preview"
openai.api_key = os.getenv("OPENAI_API_KEY")

It would be great if I could change the configuation in ChatFreds settings.

Looks like a great idea. @pietz maybe you want to contribute to the project?

fair point. for now I'll write a quick workflow myself. I understand ChatFred does quite a bit more by now than I can code together in a few minutes, but I just require more control over the actual prompts. Thanks for building this and I'll report back once I have something to show.


Add my first file

I have created a new branch, created a file, and made a commit!

I think I've finished this apologies if I haven't, Its not updating to anymore steps/

ytujffiglio;upiuors


Failed stack initialisation in multi party mode connected to Polygon chain

Steps to reproduce:
Create stack in multiparty mode connected to the Polygon and provide address of deployed contract (ERC721 in this case)
ff init dev 2 -n remote-rpc --remote-node-url <rpc-node> --chain-id 80001 --connector-config ~/projects/firefly/evmconnect.yml --contract-address 0x62368b268E7a5aD9C33590093AaaF569dd1182A2
evnconnect.yml
confirmations:     required: 4 policyengine.simple:     fixedGasPrice: null     gasOracle:         mode: connector
Then start the stack and you'll see that both FF cores are failed with:
FF10111: Error from ethereum connector: execution reverted
During initialization orchestrator runs or.multiparty.ConfigureContract(ctx) method in which are trying to get the version of the network for provider smart contract address by doing a request via emvconnector which returns the above error.
FF Core Container logs:

Hi @denisandreenko which smart contract did you compile and deploy to that address?

@nguyer ERC721
pragma solidity ^0.8.9;

import<EMAIL_ADDRESS>
contract MyNFT is ERC721 {
    constructor(string memory name, string memory symbol) ERC721(name, symbol) {
    }
}

Ah that would be why then. The contract address there needs to point to the FireFly multiparty contract. You can find the source code for that here: https://github.com/hyperledger/firefly/blob/main/smart_contracts/ethereum/solidity_firefly/contracts/Firefly.sol
If you compile and deploy this contract, and set that as the value for --contract-address when you run ff init it should work just fine.


Motion Blur

Greetings sir,
Please can we add the Motion Blur effect as well in the option of effects with necessary process libraries like tqdm and OpenCV.
This effect is helps in demonstrating the blur effect observed by the camera on calibrating and clicking pictures in high speeds (generally observed and useful in designing computer games). This effect can be demonstrated in any direction specified. (I'd go for the most common ones like horizontal and diagonal).
@smaranjitghose Can we please held onto this contribution?

Sir please can you attach "hacktoberfest_accepted" label onto this issue. I'm not sure what it does but still.

@smaranjitghose #SWOC Interested in this.

@smaranjitghose  I want to work on this, can you please assign me this? #SWOC

@smaranjitghose  I want to work on this, can you please assign me this? #SWOC

Already done. If you have any deep learning based (GANs) alternative do raise an issue

Already done. If you have any deep learning based (GANs) alternative do raise an issue


Add start_date and end_date in importer for runs

Currently start_date and end_date of the exported runs is not used. Instead, the run is created with the current timestamp.
This messes the whole imported library up.
A fix is simple as we only need to pass the kwargs to the client methods that are used anyway.

end_time is a strictly read-only value set by the system. start_time is also set by the system with an option in create_run() to pass in a time though w/o being able to set start_time this doesn't make sense. What kwargs and what methods are you refering to?
You can still access the original start_time and end_time values if you use the import option --import-source-tags. It will save the values as tags in the destination run such as "mlflow_exim.run_info.start_time". See https://github.com/mlflow/mlflow-export-import/blob/master/README_governance.md.

def _import_run(self, dst_exp_name, input_dir, dst_notebook_dir):
        exp_id = mlflow_utils.set_experiment(self.mlflow_client, self.dbx_client, dst_exp_name)
        exp = self.mlflow_client.get_experiment(exp_id)
        src_run_path = os.path.join(input_dir,"run.json")
        src_run_dct = io_utils.read_file_mlflow(src_run_path)

        run = self.mlflow_client.create_run(exp.experiment_id)
        run_id = run.info.run_id
        try:
            self._import_run_data(src_run_dct, run_id, src_run_dct["info"]["user_id"])
            path = os.path.join(input_dir, "artifacts")
            if os.path.exists(_filesystem.mk_local_path(path)):
                self.mlflow_client.log_artifacts(run_id, mk_local_path(path))
            if self.mlmodel_fix:
                self._update_mlmodel_run_id(run_id)
            self.mlflow_client.set_terminated(run_id, RunStatus.to_string(RunStatus.FINISHED))
            run = self.mlflow_client.get_run(run_id)
        except Exception as e:
            self.mlflow_client.set_terminated(run_id, RunStatus.to_string(RunStatus.FAILED))
            import traceback
            traceback.print_exc()
            raise MlflowExportImportException from e
        if utils.importing_into_databricks() and dst_notebook_dir:
            ndir = os.path.join(dst_notebook_dir, run_id) if self.dst_notebook_dir_add_run_id else dst_notebook_dir
            self._upload_databricks_notebook(input_dir, src_run_dct, ndir)

        return (run, src_run_dct["tags"].get(MLFLOW_PARENT_RUN_ID,None))

I'm referring to passing src_run_dct["info"]["start_time"] to the create_run method for the start and passing src_run_dct["info"]["end_time"] to the kwarg end_time of .set_terminated(..., end_time=XX)
I'm aware that I can transfer those as extra tags with the CLI option, however, I prefer having an ordered list in my experiment overview (ordered by start_date).

I believe what @almajo requested would be the expected behavior in a lot of cases, such as transfering all my data from a filesystem to a SQL database.
Since the functions create_run and set_terminated already accept start_time and end_time as respective argument, why not add an option for using the imported times (that are already stored when exporting) instead of the system times?

I'm with @jrakotobe and @almajo. This bug corrupts your data bug which seems like a major issue for the official import/export tool, and it locks people into whatever backend they choose at installation time.
@amesar is there anything that would prevent a fix PR like @almajo's from being merged? I'm happy to send one if no one else wants to take on it.


Cannot Update Color

"TypeError: Cannot set property color of # which has only a getter".
Per the original LeaderLine documentation this should be possible. Removing the getter in the LinkerLine class seems to fix the issue with no consequences that I have noticed.

that's made intentionally to provide a standard and a single way to update options and that through setOptions


[Feature Request] Allow .ico and .exe files for shortcut icon

When you choose an icon for the group, you can only use image files. I think it would be a good idea to allow you to choose a program .exe and this program would take the icon from it.
Also, I think that you should be able to use .ico icon files and Windows' built-in .dll icons

Support for .ico and .exe for shortcut icons has been added in the latest release!


Delete distribution zip file after installing from the wrapper

Fixes #19480, fixes #3605.
Context
Each gradle distribution zip uses around (recently over) 100MB (110MB for 7.3). If you update the gradle installation in projects regularly via the wrapper, this can fill up your drive with lots of unnecessary data, given the extracted files are next to it and the zip isn't ever used again for anything.
This PR also removes the line in the tests that checks for the zip to be present, given it's not actually needed to reuse the distribution (only the ok file is). You can see an image of gradle launching without the zip here.
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass sanity check: ./gradlew sanityCheck
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Tests also ran in an action runner in https://github.com/altrisi/gradle/actions/runs/1658407331.
Gradle Core Team Checklist

[x] Verify design and implementation
[x] Verify test coverage and CI build status
[x] Verify documentation
[ ] Recognize contributor in release notes

Signed-off-by: altrisi<EMAIL_ADDRESS>

@bot-gradle test this

@bot-gradle test rFM

OK, I've already triggered the following builds for you:

PullRequestFeedback build

Sorry, I'm unable to see/understand what failed there.

@altrisi Sorry for the confusion.
The failure is here. You should be able to log in with a guest account. For future reference, let me know if it doesn't work.
The stacktrace is below:
======= Failed test run #1 ==========
  Condition not satisfied:

  Hashing.sha256().hashFile(file("first/gradle/wrapper/gradle-wrapper.jar")) == HashCode.fromString("33ad4583fd7ee156f533778736fa1b4940bd83b433934d1cc4e9f608e99a6a89")
  |       |        |        |                                                |  |        |
  |       SHA-256  |        |                                                |  |        33ad4583fd7ee156f533778736fa1b4940bd83b433934d1cc4e9f608e99a6a89
  |                |        |                                                |  class org.gradle.internal.hash.HashCode
  |                |        |                                                false
  |                |        /home/tcagent1/agent/work/a8634df19932fe57/subprojects/wrapper/build/tmp/test files/WrapperGene.Test/g6rai/first/gradle/wrapper/gradle-wrapper.jar
  |                662ff42afe8cdea709ca1364534f734f0e4c3e230eef98325cd7c9d7b0227f16
  class org.gradle.internal.hash.Hashing
  Condition not satisfied:
  Hashing.sha256().hashFile(file("first/gradle/wrapper/gradle-wrapper.jar")) == HashCode.fromString("33ad4583fd7ee156f533778736fa1b4940bd83b433934d1cc4e9f608e99a6a89")
  |       |        |        |                                                |  |        |
  |       SHA-256  |        |                                                |  |        33ad4583fd7ee156f533778736fa1b4940bd83b433934d1cc4e9f608e99a6a89
  |                |        |                                                |  class org.gradle.internal.hash.HashCode
  |                |        |                                                false
  |                |        /home/tcagent1/agent/work/a8634df19932fe57/subprojects/wrapper/build/tmp/test files/WrapperGene.Test/g6rai/first/gradle/wrapper/gradle-wrapper.jar
  |                662ff42afe8cdea709ca1364534f734f0e4c3e230eef98325cd7c9d7b0227f16
  class org.gradle.internal.hash.Hashing
    at org.gradle.integtests.WrapperGenerationIntegrationTest.generated wrapper files are reproducible(WrapperGenerationIntegrationTest.groovy:74)
  ------- Stdout: -------
  > Task :wrapper
  BUILD SUCCESSFUL in 67ms
  1 actionable task: 1 executed
  > Task :wrapper
  BUILD SUCCESSFUL in 56ms
  1 actionable task: 1 executed
  [com.gradle.enterprise.testdistribution] Test was part of session 2 and ran on a local executor named 'localhost-executor-4' on host 'localhost'.

I've quickly fixed the problem on your branch, see the commit message for the explanation.

@bot-gradle test rFM

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test rFM

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test rFM

OK, I've already triggered the following builds for you:

PullRequestFeedback build

Sorry for the delay, been busy with exams, will take a look later to see why the test failed (though I don't see how could that have changed because of the changes here).
Will also refactor it to match the new project structure and run tests again.

@bot-gradle test rFM

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@ljacomet I've built a local distribution with the changes and verified the integrity of the wrapper download. If I execute two builds with the same wrapper, the first build triggers the distribution download while the second one waits idle. Once the download finishes, both build start in parallel.

Requesting a review from the @gradle/bt-core team as I'm not confident that this PR can be merged.

Oh yeah, I'd have to check whether this is compatible after the recent wrapper changes, which I haven't yet.
However, I don't really have time right now so feel free to check by yourselves, it's a really trivial change.

@bigdaz does this impact the GH action at all?

@bigdaz does this impact the GH action at all?

Yes it will require changes to the GH action. Currently, the action will save/restore the downloaded wrapper zip and not the extracted install: https://github.com/gradle/gradle-build-action/blob/main/src/cache-extract-entries.ts#L313-L314. (Note we do something similar for java toolchains).
That said, I'm OK with changing this in gradle-build-action to accommodate the change in Gradle.

@big-guy I've now adapted the gradle-build-action to save/restore the exploded dist directory rather than the downloaded zip file, and will release a new version soon. So as long as users have the latest action version, they will continue to see full caching even after this PR is merged.

Is this accepted then? If so, what would be missing for a merge?
To me it seems only remaking the wrapper hash, but want to be sure to not have to redo it more times. Would also need to know if there's some specific way to generate it or if I should just get the hash of a built jar, given there's no instructions on how to set that field (or that it should be changed even) in the contributing files.
I can probably finish it next week then (or feel free to just change the hash and merge if it's all that's needed).

I have updated the wrapper's hash with the result of certutil on my computer.
Is there anything else missing?

@bot-gradle test RFM

OK, I've already triggered the following builds for you:

PullRequestFeedback build

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

No milestone for this PR. Please set a milestone and retry.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Just curious, was this really meant to go in as far as 7.6 RCs? I feel like it's been ages since this change was merged (way more since submitted) and it still isn't in a release, being such a trivial change...


Storybook Demo

Add Storybook Demo that uses storybook-addon-mdx-embed

work completed in [#141 ]


New File feature

New File feature allows the user to create a new file to work on.
@sebbrudzinski I would like to know your thoughts regarding this feature and when a user creates a new file where would this file be opened, will it be opened on the current working document or a new tab in the text editor will be added?

I'd say whoever decides to pick this up should first provide their vision of that feature for our approval, either here or on the mailing list.

Hello guys!
I can try this one.
What I think is:
"New File" (maybe Ctrl+N?) feature will create a new tab in the editor (just next the current file) with empty content and with "new file" name.
Waiting for instructions.
Cheers.

Sounds good, but there are some more challenges in this ticket. The PDF preview gets automatically refreshed every few seconds - if the user has got more than one tab opened, we must handle the generation of the preview from the currently opened tab. Moreover, all tabs should be closeable - when a tab is closed, a prompt should pop up in case the changes have not been saved.


The createXcrunch result is inconsistent with the CreateX contract calculation

Hello HrikB,
I try to mine salt using the following instructions:
./target/release/createxcrunch create2 --leading 4 --code-hash 0x88c6c46ebf353a52bdbab708c23d0c81daa8134a0063a0efa4508f2d01ba1eab --caller 0x0210207386647c2E0d7CEEc33D28611c3971352E
./target/release/createxcrunch create3 --leading 4 --caller 0x0210207386647c2E0d7CEEc33D28611c3971352E
But their results are inconsistent with those calculated through CreateX contract, I also tried create2crunch posted by 0age and its results are correct, how should I solve this problem?
I use Google Translate, so I apologize for any incomprehensible reading.

In addition, I noticed that if I do not specify --caller, a salt like 0x5e7aeff95b283102b73a9a00000000000000000000000000000000000000000 will be generated as shown below. Is this incorrectly specifying only 0x5e7aeff95b283102b73a9a000000000000000000 can deploy the contract?

Regarding your first question, when testing on etherscan, I'm not sure what it populates as the msg.sender. That is relevant because for CreateX, if the first 20 bytes of the salt match msg.sender, you will get a different output than if they don't. I personally prefer to use tenderly. I've simulated one of your salts for deployment and the output looks fine to me.

For your second question, using 0x5e7aeff95b283102b73a9a00000000000000000000000000000000000000000 does not mean only 0x5e7aeff95b283102b73a9a000000000000000000 can deploy the contract. Any user can deploy with any salt on CreateX. However, resulting address will be different if first 20 bytes and msg.sender are the same. So if 0x5e7aeff95b283102b73a9a000000000000000000 was deploying using that salt, the output would be different than if some other address deployed using the same salt.

Thank you very much for your answer,
I learned that etherscan seems to set msg.sender to zero address if the wallet is not connected, which affects the salt returned by function _guard(bytes32 salt) in CreateX.
I'm using tenderly simulated with CreateX function deployCreate2(bytes32,bytes), whose deployment address is consistent with what createXcrunch found.

But when I simulated call CreateX function computeCreate2Address(bytes32, bytes32), the result is different from createXcrunch.

I noticed that CreateX used function _guard(bytes32 salt) to make changes to the salt I entered.

I calculate and use the changed salt to simulated call function computeCreate2Address(bytes32,bytes32).

I successfully got the same value as function deployCreate2(bytes32, bytes) and createXcrunch through function computeCreate2Address(bytes32,bytes32).
Thanks again for your answer! this is very useful for deploying my contract.


26972050:Update Spack Branch with master commit c230b43 (changes to hpc-tuning)

Updated changes as part of the task: https://dev.azure.com/msazure/One/_workitems/edit/26972050


python 3.4.4 in youtube-dl.exe is failing on bitchute (3.8.3 is ok)

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log
youtube-dl.exe-v -F https://www.bitchute.com/video/gbOENCFP0wfP/ (python 3.4.4)
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'https://www.bitchute.com/video/gbOENCFP0wfP/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.06.06
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1
[debug] Proxy map: {}
[BitChute] gbOENCFP0wfP: Downloading webpage
[BitChute] gbOENCFP0wfP: Checking video URL
[BitChute] gbOENCFP0wfP: video URL is invalid, skipping
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. B
e sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\bitchute.py", line 66, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\common.py", line 1350, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  y
outube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

python.exeyoutube-dl-v -F https://www.bitchute.com/video/gbOENCFP0wfP/ (python 3.8.3)
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'https://www.bitchute.com/video/gbOENCFP0wfP/']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2020.06.06
[debug] Python version 3.8.3 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1
[debug] Proxy map: {}
[BitChute] gbOENCFP0wfP: Downloading webpage
[BitChute] gbOENCFP0wfP: Checking video URL
[info] Available formats for gbOENCFP0wfP:
format code  extension  resolution note
0            mp4        unknown

https://github.com/ytdl-org/youtube-dl/issues/25491#issuecomment-637047754

@dstftw This has nothing to do with certificates, youtube-dl.exe (with python 3.4.4) is able to connect and download the page.

Again: it a clear certificate check problem mentined above due to which download URL is filtered out as invalid.

@dstftw
Ok, it is. The verbose output said nothing about a certificate problem, so was anything but clear. To actually make it clear, the error that caused the url to be filtered out would need to be printed.
Now that you know conclusively from both the update issue and this one, that python 3.4.4 is unable to build an alternate certificate chain when the server is serving expired certs, why do you prefer leaving youtube-dl.exe mysteriously broken for various use cases rather than update python and eliminate these problems?


Track Quick Tips Users Have Read

Context
We need to persist which tips in the help center users have read so we can determine other visual states of the help center for the MVP, such as when to have it open by default.
We need to do this without cookies so this state will persist across browsers, so we added to the current user endpoint in this ticket. In this PR I'm using that endpoint to get which tips are currently read, and to update which tips have been read.

Summary

update useHelpCenter to add a read status which tracks the keys of read tips
use this status to update the notification count and display of tips in the menu (bubble/no bubble)

Relevant Technical Choices
I liked how the actions were provided to the navigator in the helpCenter/index:
<Navigator
    onNext={actions.goToNext}
    onPrev={actions.goToPrev}
    onAllTips={actions.goToMenu}
    onClose={actions.close}
    hasBottomNavigation={state.hasBottomNavigation}
    isNextDisabled={state.isNextDisabled}
    isPrevDisabled={state.isPrevDisabled}
  >
    <Companion
      tipKey={state.navigationFlow[state.navigationIndex]}
      onTipSelect={actions.goToTip}
      isLeftToRightTransition={state.isLeftToRightTransition}
    />
  </Navigator>

I didn't want to add another action which would just be coupled to the calls for goToNext, goToPrev and goToTip and complicate the variable space in the helpCenter component. ~So, I added two effects to the useHelpCenter hook:~
~1. update the initial read state after getting the meta.web_stories_onboarding data from the REST API endpoint.~
~2. update the read state of each tip as they are viewed (i.e. the navigation index changes)~
Based on Max's feedback and comments about the state, I refactored the original impl to use deriveState to update a new readTips state (derived from navigationIndex), which is used by a useEffect which persists the state using useAPI. Currently just saving an error state as true/false if any of the REST calls catch.
NOTE
write
await wp.apiFetch({ path: '/web-stories/v1/users/me', method: 'POST', data: { meta: { web_stories_onboarding: {} }}})
in your console to clear your read tips.

To-do
N/A

User-facing changes
https://user-images.githubusercontent.com/41136059/107083793-61a5e100-67b3-11eb-976b-8b9d97dfa355.mov
https://user-images.githubusercontent.com/41136059/107083797-636fa480-67b3-11eb-9ffb-b40f41bbdaf5.mov

Testing Instructions

Feature will be tested as part of MVP

QA

[x] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

UAT

[x] UAT should use the same steps as above.

This PR can be tested by following these steps:

Feature will be tested as part of MVP

Reviews
Does this PR have a security-related impact?
no

Does this PR change what data or activity we track or use?
Yes. we use the existing users/me endpoint GET and POST.

Does this PR have a legal-related impact?

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #5887

updated the translation lib
swapped out the useAPI for useCurrentUser hook 👍 much better thanks @spacedmonkey


Cherry picking basemapStyle/API branch into master

The failing checks are a false negative and the result of a sort that is case sensitive and in the title check. I need to update those so the sort is case insensitive and the title check is a bit more lenient.

@ldanzinger were you able to take a look at this?

Changes approved. Merging into master.


Identity & Consent Management  r0.2.0-rc.2 release review

Release PR or issue to review

https://github.com/camaraproject/IdentityAndConsentManagement/pull/181
Review actions
Assign this issue to yourself and follow the below list.
For any review action, review the file(s) in the issue/PR listed above.
Put comments in the above issue or PR if they concern non-changed files/text.
Put a short summary of the main review result here into the review issue.
Shortened list for working group release:

[x] changelog updated
[x] readme updated (enforce correct release number / API version naming)

Additional check:

[x] Internal references between documents are going to the correct release

Release actions
Assign this issue to yourself or another RM team member and follow the below list.
When done, tick the box in this issue.

[x] Review comments addressed (by Sub Project)
[x] Release PR approved (on behalf of Release Management)
[x] PR merged (by Sub Project codeowner)
[x] Release created within GitHub (by Sub Project codeowner)
[x] Meta-release plan updated on wiki

Additional comments

https://wiki.camaraproject.org/display/CAM/Meta-release+Fall24 updated with https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r0.2.0-rc.2


dynamic/shortest   code: 500

Hi, i am trying this api call with the parameters values suggested in the documentation of the endpoint:
https://scigraph-data.monarchinitiative.org/scigraph/dynamic/shortest?start_id=HP%3A0011014&end_id=HP%3A0000118&max_depth=4
response:
{
"code":500,
"message":"There was an error processing your request. It has been logged (ID 39783e8f4fc0c835)."
}
I am doing something wrong?
Many thanks in advance,
Núria

This depends on fixing https://github.com/monarch-initiative/monarch-cypher-queries/issues/17 and https://github.com/SciGraph/SciGraph/issues/243

@NuriaQueralt thanks for reporting!  This is an issue with the monarch specific configuration using cypher syntax that was deprecated in Neo4J 3
As a work around, you can use the cypher execution service.  The only downside is that you will have to query on full IRIs for nodes.  For example:
MATCH path = shortestPath((start:Node{iri:'http://purl.obolibrary.org/obo/HP_0100750'})-[:subClassOf|equivalentClass*..4]->(end:Node{iri:'http://purl.obolibrary.org/obo/MP_0005388'}))
RETURN path

The service is located here:
https://scigraph-data.monarchinitiative.org/scigraph/cypher/execute.json
params:
cypherQuery: MATCH (foo) RETURN foo
limit: 10
For example:
https://scigraph-data.monarchinitiative.org/scigraph/cypher/execute.json?cypherQuery=MATCH path %3D shortestPath((start%3ANode{iri%3A'http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FHP_0100750'})-[%3AsubClassOf|equivalentClass*..4]->(end%3ANode{iri%3A'http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FMP_0005388'}))%20RETURN%20path&limit=10

@kshefchek Thanks for your prompt reply! your alternative suggestion has worked perfectly! i have retrieved the full IRIs (the only 'tricky' thing let's say..) using the /cypher/execute endpoint and the
query=START n=node:node_auto_index(iri='CHEBI:506227') match (n) return n because the /cypher/curies endpoint that seemed to me the way to go, did not work though..

This is fixed on ontology-dev and data-dev, for example https://scigraph-data-dev.monarchinitiative.org/scigraph/dynamic/shortest.json?start_id=HP%3A0011014&end_id=HP%3A0000118&max_depth=4


[NTR/gene]

Preferred gene-related syndrome label
PAX6-related ocular dysgenesis
Synonyms
Parent term (use OLS, or your favorite ontology browser)
eye disorder (MONDO:0005328), hereditary optic neuropathy (MONDO:0020249)
Definition
Any eye disorder in which the cause of the disease is a mutation in the PAX6 gene.
**Definition source (Please give PubMed ID, if applicable, in format PMID:#######)
Per criteria outlined by the ClinGen Lumping and Splitting Working Group, we found that the diverse phenotypes associated with variants in PAX6 have all been associated with an autosomal dominant mode of inheritance. The high proportion of null and apparent loss-of-function PAX6 variants across all of these phenotypes indicates a common haploinsufficiency mechanism. The phenotypic variability among them is consistent with a single spectrum of disease.
Children terms (if applicable) Should any existing terms be re-classified as children underneath this new proposed term?
foveal hypoplasia 1 (MONDO:0007628). Note: Other potential child terms may be considered as well, such as autosomal dominant keratitis (MONDO:0007848), coloboma of optic nerve (MONDO:0007354), and isolated optic nerve hypoplasia (MONDO:0008136).
Your nano-attribution (ORCID) or URL for a working group
https://clinicalgenome.org/affiliation/40077/
https://www.clinicalgenome.org/working-groups/clinical-domain/ocular-cdwg/

Thank you for considering this proposed term when you have time.


Connection Lost When Refresh (client-side)

in angular, i have one service manage signalr whole the app.

at the top config connection withUrl, this fire this one time when home page run.
then I've slices under this connection every one call it's hub, this fire only at the component which need it's slice.
Problem: if app start from home to any page signal r works fine, BUT, if i got any route without fire home route first i have no connection, AND if i refresh any page connection lost again.. how to handle this, without call start connection slice every time when open any page?

Can you clarify your situation here? I'm assuming you have some client-side routing code that allows users to navigate around the app without actually requesting a new page? If that's the case, then yes, the connection stays open as the user navigates. However, if you allow users to enter your application from any page, you'll need to initialize the connection when the user first arrives, regardless of what page they enter on.
If you can provide a sample project that illustrates the problem you want to solve, that would help.

@anurse, right, i solved it by change place of start connection slice, it was in place that's load before authorization done, so it was not working correctly.


Update dependencies

https://github.com/sindresorhus/refined-github/pull/3489#issuecomment-679045236

Can you fix #3302 while we're at it?

I was not sure if they all should be or the ones that make sense to be changed?


Drop Node 4 support

Node 4 is EOL, and supporting it is blocking a few dependency updates (e.g. #38)

resolved by https://github.com/ember-cli/ember-cli-preprocessor-registry/pull/42


Activating to run Jupyter failed

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

open any notebook or create any notebook

Actual behavior
Jupyter server disconnected/not started
Expected behavior
Jupyter server started and ready (as it happens on my local VSC)

Your Jupyter and/or Python environment
Please provide as much info as you readily know
Remote code-server (latest version), on Linux Centos7, Python3 installed and working 3.6.8, conda installed, Jupyter Notebook server installed on same machine and working.
Developer Tools Console Output
Cannot activate it, but I get the error from Python extension saying:
Activating Python 3.6.8 64-bit to run Jupyter failed with Error: StdErr from ShellExec, stdin: is not a tty for . /usr/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /var/lib/code-server2/extensions/ms-python.python-2020.5.78807/pythonFiles/pyvsc-run-isolated.py /var/lib/code-server2/extensions/ms-python.python-2020.5.78807/pythonFiles/printEnvVariables.py
If I run the command manually in a VSC terminal it works (from /usr/bin/activate up all the way to Variables.py).

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Thanks for your feedback @opoloko. You should be able to see the developer tools on Help -> Toggle Developer Tools. Please share the errors that come up there, they will help us see the issue.

@opoloko, sorry for your trouble. (Not a data-science specific problem)

Hey @opoloko
Unfortunately I am unable to repro this on Windows.

What is the full path to Python 3.6.8 64-bit?
Does using some other interpreter solve the issue? Please try creating a new virtual environment as well.
Does reverting to older version of extension solve the issue?
Does extension activation work otherwise? For eg. when you open a new terminal, does it get activated correctly? Or is it specific to data science?

We used child_process.exec to run the command
. /usr/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /var/lib/code-server2/extensions/ms-python.python-2020.5.78807/pythonFiles/pyvsc-run-isolated.py /var/lib/code-server2/extensions/ms-python.python-2020.5.78807/pythonFiles/printEnvVariables.py

This seems to be an issue with node itself. https://github.com/nodejs/node/issues/2333
Looks like TTY is not set in child processes which is leading to this error.

Closing as no further info was provided.

The error message "stdin: is not a tty" does not originate from conda. It originates from bash, or rather more specifically, from a common (and, arguably, broken) bash setup that tries to run mesg without checking whether the shell is running in a tty context or not first. Here is a lengthy explanation - note that there's no Python in the picture at all.
But anyway, the message is actually a warning. The problem is that it's printed to stderr, and it looks like the code that's invoking exec() here treats any stderr output as a fatal error. If it simply ignored that message, I think activation would have worked just fine.

This seems to be an issue with node itself. nodejs/node#2333

@int19h I see. Btw don't you think https://github.com/nodejs/node/issues/2333 is relevant at all?  TTY context is not being before launching child process which can lead to this error?

@int19h I see 👍
The way I see it, if it's that common, it's another one of the reasons to go with the hidden terminal approach as it won't have this problem.


Allow pool to connect to remote MAPDL instances

The idea is that the pool module should work with remote instances too.
We should handle the starting of those remote instances manually.
from ansys.mapdl.core.pool import LocalMapdlPool

pool = MapdlPool(2, start_instance=False, port=[50092, 50093])
print(pool)

The class will be renamed of course.
The idea is to prepare this module for HPC computations.

@pyansys-ci-bot LGTM.

Tested globally here: https://github.com/ansys/pymapdl/actions/runs/8232264386/job/22509332692


is it possible to to find source code pykaldi's tool directory if all you have is the pykaldi installed in site-package?

Sorry if the question doesn't make sense, I didn't know how else to word it.
I am writing a script that uses both pykaldi python module and some helper bash script in wsj directory provided in pykaldi's tool directory inside the source code. The problem is when I import kaldi it points to the pykaldi scripts that are in site-packages and I can't figure out how to get the path of the WSJ directory inside pykaldi's source code from just python import along.
import kaldi
print(kaldi.__file__)
>>/Users/kankawabata/anaconda3/lib/python3.7/site-packages/pykaldi-0.1.2-py3.7-macosx-10.7-x86_64.egg/kaldi/__init__.py

The bash script is located inside the git cloned directory of pykaldi

/Users/kankawabata/Documents/pykaldi/tools/kaldi/egs/wsj/s5/utils/prepare_lang.sh

This script will be used by multiple people in different environments so I can't hardcode the pykaldi source code path inside the script and I can't guarantee that any of the paths would be in the environment path before the use of the script.
Is there an automatic way of getting the pykaldi source code path from the pykaldi module alone?

Pykaldi package does not know anything about its source location other than being implicitly linked with the kaldi libs inside the source directory (in case of installing from source).
You can do a development installation which would keep everything inside the source directory:
python setup.py develop

Alternatively,  I am assuming you considered simply using an environment variable pointing to kaldi root or something like that, right?

Yes, currently we ask the users to specify the kaldi root path but was hoping there was a way to extract the path if the environment path is not set. Thank you for the reply I will try python setup.py develop.


'View Gizmos' hides selection box

Tested versions
v4.2.1.stable.mono.official [b09f793f5]
System information
Godot v4.2.1.stable.mono - Windows 10.0.22631 - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 31.0.23013.1023) - AMD Ryzen 7 PRO 6850U with Radeon Graphics (16 Threads)
Issue description
Title
Is this the intended behavior?
Should the selection box be part of the group of gizmos it hides?
Some discussion here #87793
Steps to reproduce
https://github.com/godotengine/godot/assets/105675984/3c030144-cfa5-4dd2-b4ae-a97eb0894e09
Minimal reproduction project (MRP)
N/A

Yes, this is an intentional change: https://github.com/godotengine/godot/pull/48620

Understood.


Added small button

I created a small version of button - very useful in tables, as footer buttons and maybe in cards.

The regular buttons are already small. I don't think these extra thin buttons are necessary / look good.

+1 for small button

+1


Use TLSv1_2 SSL protocol for java 1.8+

Try to close #113 . Happy to hear comments.

Thanks @liketic, if we're going to fix this though let's fix it for Java 7 also. Take a look at the CI output for more details

See DVPL-7284 internally


"No chapters found" error on all manga using MangaDex

Source information
MangaDex 1.4.192
Source language
All
Steps to reproduce

Open MangaDex from the Browse tab
Tap on any comic

Expected behavior
The chapters should be listed
Actual behavior
No chapters are listed and a popup saying "No chapters found" appears.
Tachiyomi version
0.15.0
Android version
Android 11
Other details
Other official extensions work properly.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.0.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Can't reproduce. Please provide more info

I'm running the app on a Pixel 2. I've tried reinstalling the extension but to no avail. Tried clearing cookies & WebView data. Also VPN'd from Japan to the US but didn't change anything. Is there any other info I should supply?

Not sure what happened, but I uninstalled the app and extensions and reinstalled everything and it works now.


:truck: chore: move config to bundlers/config

Description
Move config to bundlers/config since it's config for bundlers not monorepo
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #318   👈

PR #319

PR #320

This comment was auto-generated by Graphite.