feature request: Custom header day name color, bigger/custom sized event circles

may it be possible to customize the header day name colors to a different color than the text one?
also, could we be able to set bigger/custom sized event indicators?

Hi, for bigger/custom sized event indicators. Do you mean the indicators below the date or would you like a big indicator behind the current date?

below the date,  currently i'm developing an app for tablet and they look very small, around 1/5th of the textSize (which is 18sp).

Interesting, I havn't any testing with tablets, only phones. I believe the indicators should be scaled to the screen desnity though. Can you show me a screen shot if possible.

i will show it later, now i don't have the tablet with me. what about the hustom header (day names) thing? would be really cool to be able to do so.

Yep, that one is straight forward todo so I don't really have any questions for that :).

http://imgur.com/aWvGBo2

Ok thanks, will try with an emulator ans see what I can find. I don't own an android tablet and this library is based on google calendars by just eye balling things, would be nice to see what that does/looks like.


fix: disable the longFile linter in downstream projects

Reported on Zulip

Looks good to me also; thanks for fixing this quickly!

Not sure how I removed the "maintainer-merge" label, bad internet connection maybe??

Thanks! See questions above.
bors d+

I think that it would be better to not hard-code the value of the weak option in the linter, but I do not know if it is possible to retrieve that value.  I am going to merge as is, since it works as is.  The only issue is that, should the default maximum length of a file change form 1500 to some other number of lines, then the value would have to be changed also in the linter.
bors r+


Container Service Accepts Zip File

As a container Service user I want a provided zip file bundled into the image so I can use assets that are otherwise not installable
Assumptions

The container_spec used by the build_container function in SDK will accept a path to a zip file on the user's computer
The POST operation to the WebServer will use a Multipart Mime content type to send the zip file along with the existing
The WebService build_container route will accept the multipart mime form
The WebService ContainerServiceAdaptor will likewise pass on the zip file

Looking into this I've been trying to figure out the best way to transfer the container spec and the zip file from the web service to the container service, and it doesn't look like there is any way to combine the json representation of the container spec in the body of the request (as we have it now) with an associated file. From what I can tell, there are four choices:

base64 encode the file and add it to the json in the body of the request

perform 2 requests to the container service - one that registers the build spec and one that submits the file (both requests can contain the uuid provided by the web service so they can be paired by the server)

convert the request from a `application/json' type to use a form construct which appears to be able to combine the two into a single request - this SO answer describes it better than I could, but it looks relatively straightforward to implement.

package the container spec into a file, and include that file (along with a zip file) in the request (total of 2 files).

My instinctual response is that 1) is no good, and 3) might be more straightforward than 2), but wanted to check in with you to see if you had other suggestions or thoughts about the whole thing. Just thought of 4 - might be a pretty simple solution.

Thanks for the context @blue442, I haven't had a chance to research this yet (tomorrow is my DLHub/container service day this week), but without digging in my instinctual response is that 4) sounds like a good option.
In the current implementation of DLHub, the actual function to execute as a servable (in, say, a .py file) gets zipped along with the Dockerfile defining the container, environment-defining files (eg requirements.txt, environment.yaml),  and dlhub.json (a JSON config that contains the funcx_token, servable info, publisher metadata etc). So, 1 zip file.
From just briefly looking at things, it sounds like packaging the container spec in a file included with the request in a zip (total of 2 files) would be conceptually quite similar, is that right?

Hey @ascourtas - I do think that sounds similar - my only concern for that approach would be that the schema for the request sent by the web service to the container service isn't explicitly defined in the api service. This means that the schema of the container spec isn't explicitly spelled out in the API docs, and isn't subjected to pydantic's type checking on submission of the request. That said, we've only got one 'user' of the container service API (the web service) so manually communicating the container spec for the image should be doable - I'm not certain that the pydantic checking would be an option for processing form data anyway (#3 from above), so as long as everyone is in agreement on that approach, I can modify the container service to take a zip file containing a json file that has the container spec, and a zip file that contains whatever payload is needed in the image for running the functionality via funcx (I think this would be the servable and the dlhub.json - but whatever it is, I'll just pass it to repo2docker).
Let me know if that sounds like how we want to proceed and I'll make the appropriate changes (or ping me if there are q's).

@blue442 I feel ok about this approach, @BenGalewsky how about you?

of note @blue442 I believe Ben G wanted me to try to take a crack at modifying the container service to take the zip file so that I could get introduced to the codebase and start working with ya'll. So I am happy to try to implement that, but if you or @BenGalewsky think it would be better if I tried picking up a different issue then that's AOK by me.

Hey @ascourtas - sorry - I've been swamped - I think that would be great! If you just want to jump in and start poking around, https://github.com/funcx-faas/funcx-container-service/commit/7377b4e1664498fa85764ff230a8ce8c6d293d10 would be the place to start, or I'm happy to jump on a call some time next week to help orient you if that would be useful - just let me know!

We had a robust discussion of this at today's ContainerService call. I'm updating the story to math our plan for moving forward


use rocksdb_free

some c point alloced by librocksdb, when use free to release them, at windows platform dll will crash.

This looks like a reasonable change to me based on this comment: https://github.com/facebook/rocksdb/blob/master/include/rocksdb/c.h#L1523

More call sites should be changed. Using a simple grep I found the following:
sst_file_writer.go
30:	defer C.free(unsafe.Pointer(cPath))

checkpoint.go
42:	defer C.free(unsafe.Pointer(cDir))

dbpath.go
17:	defer C.free(unsafe.Pointer(cpath))

slice.go
39:		C.free(unsafe.Pointer(s.data))

options.go
567:	defer C.free(unsafe.Pointer(cvalue))
579:	defer C.free(unsafe.Pointer(cvalue))

transactiondb.go
29:	defer C.free(unsafe.Pointer(cName))

db.go
31:	defer C.free(unsafe.Pointer(cName))
50:	defer C.free(unsafe.Pointer(cName))
76:	defer C.free(unsafe.Pointer(cName))
84:			C.free(unsafe.Pointer(s))
137:	defer C.free(unsafe.Pointer(cName))
145:			C.free(unsafe.Pointer(s))
191:	defer C.free(unsafe.Pointer(cName))
247:	defer C.free(unsafe.Pointer(cValue))
395:	defer C.free(unsafe.Pointer(cprop))
397:	defer C.free(unsafe.Pointer(cValue))
404:	defer C.free(unsafe.Pointer(cProp))
416:	defer C.free(unsafe.Pointer(cName))
593:	defer C.free(unsafe.Pointer(cName))
605:			C.free(unsafe.Pointer(s))
634:			C.free(unsafe.Pointer(s))
684:	defer C.free(unsafe.Pointer(cName))
699:	defer C.free(unsafe.Pointer(cName))

backup.go
88:	defer C.free(unsafe.Pointer(cpath))
135:		C.free(unsafe.Pointer(cDbDir))
136:		C.free(unsafe.Pointer(cWalDir))

pointer alloced by C.CString not need rocksdb_free to free.
<EMAIL_ADDRESS>From: Jelte Fennema
Date: 2017-12-08 01:18
To: tecbot/gorocksdb
CC: ananclub; Author
Subject: Re: [tecbot/gorocksdb] use rocksdb_free (#119)
More call sites should be changed. Using a simple grep I found the following:
sst_file_writer.go
30:	defer C.free(unsafe.Pointer(cPath))
checkpoint.go
42:	defer C.free(unsafe.Pointer(cDir))
dbpath.go
17:	defer C.free(unsafe.Pointer(cpath))
slice.go
39:		C.free(unsafe.Pointer(s.data))
options.go
567:	defer C.free(unsafe.Pointer(cvalue))
579:	defer C.free(unsafe.Pointer(cvalue))
transactiondb.go
29:	defer C.free(unsafe.Pointer(cName))
db.go
31:	defer C.free(unsafe.Pointer(cName))
50:	defer C.free(unsafe.Pointer(cName))
76:	defer C.free(unsafe.Pointer(cName))
84:			C.free(unsafe.Pointer(s))
137:	defer C.free(unsafe.Pointer(cName))
145:			C.free(unsafe.Pointer(s))
191:	defer C.free(unsafe.Pointer(cName))
247:	defer C.free(unsafe.Pointer(cValue))
395:	defer C.free(unsafe.Pointer(cprop))
397:	defer C.free(unsafe.Pointer(cValue))
404:	defer C.free(unsafe.Pointer(cProp))
416:	defer C.free(unsafe.Pointer(cName))
593:	defer C.free(unsafe.Pointer(cName))
605:			C.free(unsafe.Pointer(s))
634:			C.free(unsafe.Pointer(s))
684:	defer C.free(unsafe.Pointer(cName))
699:	defer C.free(unsafe.Pointer(cName))
backup.go
88:	defer C.free(unsafe.Pointer(cpath))
135:		C.free(unsafe.Pointer(cDbDir))
136:		C.free(unsafe.Pointer(cWalDir))
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

change slice.go

FYI I am going to take a look at this PR over the next couple of days.

I confirmed that all of these changes are valid and they are complete.
All calls to C.free are allocated by C.CString or C.CBytes and all instances of C.rocksdb_free are for memory allocated by rocksdb.

@tecbot any objection to merging this one?


Adding the ability to specify a PCRE source directory when running 'passenger-install-nginx-module'.

Adding the ability to specify a PCRE source directory when running 'passenger-install-nginx-module'. Fixes #698 "passenger-install-nginx-module should install without internet access".
http://code.google.com/p/phusion-passenger/issues/detail?id=698

+1

+1

+1

@ghost it's been a while but we'd still like to incorporate your pull request! Would you sign the http://www.phusion.nl/forms/contributor_agreement to make this possible?

User account no longer available, can't merge without signature.


Use env variable VERSION

In Jenkins configuration, VERSION is exported as an environment variable, so will not overwrite it from portion of the artifact name, as it does not suffice.
Note: VERSION also used in gitUpdate.sh as part of the name of the git repo to clone binaries/sha.txt files to.

From a brief discussion with @gdams there is another update that needs to happen.
Previously a timestamp was generated in this script and applied to the Release information.  This worked well, when we ran the release tool once after all the platform builds completed, as then all the releases were marked with the same timestamp.
You will recall we changed the fundamental nature of the flow of events a while ago, to not wait for all builds to complete successfully (a.k.a. pass) in order to push releases out (as nightlies were becoming monthlies waiting for a run where all platforms passed).  See #11 and https://github.com/AdoptOpenJDK/openjdk-build/pull/291 for details.
At that time, we did not change the TIMESTAMP in Release.sh or understand that it should ideally match up across platforms.  We can keep what I have done here, where I take the timestamp from the build artifact name, but it likely should be generated in the top-level pipeline and passed to the build jobs if we want them to all match up across platforms.

This PR does not depend on the upcoming openjdk-build PR discussed above.
@karianna - this is ready for another review (and removed WIP, is good to merge if approved)


Allow users to configure the tab size

Description of the new feature/enhancement
Tab is often used inside files. It can traditionally be 8 characters, but eg Python commonly uses 4 and JS uses 2. it would be useful to allow the user to configure the tab size. or maybe this would be better handled in higher level tools? Just a thought.

Nah, terminal tabs are always either 8 or whatever the client application set by using the “set horizontal tab stops” escape sequences. That sequence is already well-supported in conhost (and therefore, in Terminal).

There are commadline applications that are out there (@ emacs) which assume that tabs are 8 spaces, and others out there that change the width of a tab so that they can quickly navigate within the buffer. If we let people configure this default value, that would undoubtably break the rendering of these applications.
It'd probably be easier to get a --tabWidth 4 param added to cat

Yeah fair enough @zadjii-msft I suspected as much. 👍🏼

So how do I configure the terminal to use 4-spaces for tabs?

As explained above, tabs aren't really configurable in terminals in general. Unless I'm mistaken, other popular terminals do not allow this to be configured either. Your application or editor likely has a setting to change the width of tabs already. vim for instance uses the tabstop and shiftwidth settings for this.


Brackets freezing within seconds of starting up

after some debugging of extensions brackets-git seems to be causing brackets to freeze within 5 seconds of starting up. I tried the steps mentioned in https://github.com/zaggino/brackets-git/issues/915 and it still froze and crashed within seconds of reinstalling.
worked fine the past few days.
macbook pro yosemite

I don't remember doing any updates that should break the things, did you install any new extensions?

I removed all other extensions, only installed git-brackets...it froze immediately, do you think it has something to do with the new brackets 1.2 update?

I don't think so, I'm on mac yosemite too and have been working with 1.2 all day today. Maybe deleting state and config files from Brackets could help if there's something messed up there but I'm just guessing.

Alright ill try that out, thanks for the help.

For others, state and config files are located in this folder:
/Users/zaggino/Library/Application Support/Brackets

and are called brackets.json and state.json. Deleting them will reset all settings done to Brackets.

that worked beautifully, thanks

Ah, too bad you don't have the old files, would help figuring out what was wrong.
If this ever happens again, be sure to backup them before deleting and send them to me please!

I grabbed them out of trash, how do you want them sent over?

zaggino at gmail.com is fine, thanks

"only installed git-brackets...it froze immediately"
First time user here. For me, after installing git-brackets, press Ctrl-Opt-G to open its panel, it will freeze Brackets. It still freezes even after relaunching Brackets. I had to delete json settings.

I have intalled git-brackets and froze on start.


Evented data class for dims

Description
This PR continues on from #1486 but now adding in the dataclass from #1475 too. It's still WIP but the basics are working.
I like that a lot of code has disappeared. The hardest thing to figure out is the initialization as @tlambert03 mentioned to me in passing recently.
I'm still not sure how to pass in the order and axis_labels for initialization. We previously used None, but that value couldn't be coerced into the EventedList. I'm also not quite sure I'm doing the right thing with the field syntax for the eventedlist initialization, and there might want a property that cannot be set or destroyed - that list should only be modified in place.
Feedback welcome!
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)

I've fixed the initialization I think, but I had to move away from the field syntax to the Property syntax. It would still be nice to have a way to make the evented lists unsettable as doing viewer.dims.point = [10, 0, 0] will now create a new EventedList that isn't hooked up to anything and so the slider will no longer function.
Also the viewer.dims.point[:] = [10, 0, 0] syntax doesn't emit the right events, nor does the viewer.dims.axis_labels[:] = ['a', 'b', 'c']
also it doesn't look like the _on_order_set method gets called during the init, so the "error checking" i'm doing there doesn't get run - which might actually be good in this case as if it did it might error, but i just want to point that out as someone might expect different.
Basically i think this is pretty done, the two failing tests in test_dims.py both relate to initialization errors not being caught anymore and failing test in test_qt_dims.py relates to the viewer.dims.axis_labels[:] syntax.
Overall it's been a pretty smooth experience using both #1444 and #1475!!

It would still be nice to have a way to make the evented lists unsettable as doing viewer.dims.point = [10, 0, 0] will now create a new EventedList that isn't hooked up to anything and so the slider will no longer function.

the dataclass decorator provides a frozen parameter that prevents mutations, but it applies all-or-nothing to the whole class.  But I was thinking we could look for metadata={'frozen':True} in the field param to accomplish this.  Alternatively, i could make it field(frozen=True) but that would make it so that you had to use the field from napari instead of dataclasses.

Also the viewer.dims.point[:] = [10, 0, 0] syntax doesn't emit the right events, nor does the viewer.dims.axis_labels[:] = ['a', 'b', 'c']

what does it currently emit (if anything) and what would you like it to emit?

also it doesn't look like the _on_order_set method gets called during the init, so the "error checking" i'm doing there doesn't get run - which might actually be good in this case as if it did it might error, but i just want to point that out as someone might expect different.

thats true.  those are not hooked up until after __init__ (but I think before __post__init__). I think  that's generally what we'll want, to avoid excessive events during init, but you could try self.x = self.x in post init to see if it works?

Overall it's been a pretty smooth experience using both #1444 and #1475!!

🎉

Also the viewer.dims.point[:] = [10, 0, 0] syntax doesn't emit the right events, nor does the viewer.dims.axis_labels[:] = ['a', 'b', 'c']

what does it currently emit (if anything) and what would you like it to emit?

I get a single changed call with event.index = slice(None, None, None). I think that's actually good, I just need to adapt my listener to deal with that. Really this belongs in #1486, I am just discovering it here. I can work with this.

those are not hooked up until after init (but I think before post__init). I think that's generally what we'll want, to avoid excessive events during init

Sounds reasonable to me.

but you could try self.x = self.x in post init to see if it works?

makes sense, i can give that a go tomorrow if i think it will help

This is superseded by #1917


ubuntu-cx11-02: Am 17.01.22 um 11:01: Transport endpoint is not connected

●<EMAIL_ADDRESS>loaded failed failed Syncthing - Open Source Continuous File Synchronization for root

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

systemctl start<EMAIL_ADDRESS>👍🏻


Increment version for core releases

Increment package version after release of azure-core

/check-enforcer override


Doc

Q
A

Is bugfix?
yes/no

New feature?
yes/no

Breaks BC?
yes/no

Tests pass?
yes/no

Fixed issues
comma-separated list of tickets # fixed by the PR, if any

Wow, it looks enormous :open_mouth:

It's very similar to https://github.com/yiisoft/yii2/pull/14878/files - I don't speak Chinese, so I can't tell what's going on. Are these real PRs or are they accidentally created?
What makes me sceptic is that the commit history is starting back in 2015.

@logwood could you explain this PR, please?

Can't be merged anyway. Please open new one made against current master branch.


Android: v0.31.1 not building

Bug report
Summary
After upgrading to version 31.1 my android build it failing. For ios all I had to do was upgrading the pod repo
I followed the installation guide
I must be missing something, the question is just, what?
Environment info
react-native info output:
info Fetching system and libraries information...
System:
    OS: macOS 12.3.1
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 692.47 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.0 - /usr/local/bin/node
    Yarn: 1.22.18 - ~/.yarn/bin/yarn
    npm: 8.1.0 - /usr/local/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /Users/carstend/.rvm/gems/ruby-2.7.4/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.1 AI-211.7628.21.2111.8309675
    Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild
  Languages:
    Java: <IP_ADDRESS> - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.67.4 => 0.67.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

./gradlew --version output:
------------------------------------------------------------
Gradle 7.2
------------------------------------------------------------

Build time:   2021-08-17 09:59:03 UTC
Revision:     a773786b58bb28710e3dc96c4d1a7063628952ad

Kotlin:       1.5.21
Groovy:       3.0.8
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          <IP_ADDRESS> (Azul Systems, Inc. <IP_ADDRESS>+1-LTS)
OS:           Mac OS X 12.3.1 x86_64

java --version output:
openjdk <IP_ADDRESS> 2022-02-08 LTS
OpenJDK Runtime Environment Zulu11.54+25-CA (build <IP_ADDRESS>+1-LTS)
OpenJDK 64-Bit Server VM Zulu11.54+25-CA (build <IP_ADDRESS>+1-LTS, mixed mode)

Steps to reproduce

Bump version in package.json  from 0.30.1 to 0.31.1

Added implementation 'com.google.android.gms:play-services-maps:18.0.0' to android/app/build.gradle

Removed supportLibVersion = "28.0.3", playServicesVersion = "18.0.0" and androidMapsUtilsVersion = "0.5+ from my android/build.gradle

Describe what you expected to happen:
I wold expect the project to build without errors
Describe what actually happens:
The build fails with the following error
./gradlew clean && ./gradlew bundleRelease

> Configure project :react-native-reanimated
AAR for react-native-reanimated has been found
/Users/carstend/Code/mobile/node_modules/react-native-reanimated/android/react-native-reanimated-67-hermes.aar

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 14s
36 actionable tasks: 36 up-to-date

> Configure project :react-native-reanimated
AAR for react-native-reanimated has been found
/Users/carstend/Code/mobile/node_modules/react-native-reanimated/android/react-native-reanimated-67-hermes.aar

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:mergeReleaseNativeLibs'.
> Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
   > Could not resolve project :react-native-maps.
     Required by:
         project :app
      > No matching configuration of project :react-native-maps was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'react-native-camera' with value 'general' but:
          - None of the consumable configurations have attributes.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 12s

@Simon-TechForm I havn't used react-native-clean-project but I've done rm -rf node_modules/ dist/ ios/Pods/ && yarn && yarn pods. Did I forget deleting something? I might have. I will try using the rn-clean-project
My settings.gradle contains a linking to react-native-maps
include ':react-native-maps'
project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/lib/android')

And thanks for clearing up that the play-services-maps is not needed. I will remove it

@arelstone that's most likely your problem. Adding react-native-maps to your settings.gradle haven't been necessary since<EMAIL_ADDRESS>added autolinking.
I would suggest looking through the legacy installation docs (for<EMAIL_ADDRESS>and lower) and check for other leftovers.
Alternatively, you might get away with just changing the path in your settings.gradle to ../node_modules/react-native-maps/android (removing lib from the path), but I'm not really sure, and would suggest using autolinking instead.

@Simon-TechForm There is no need to use the legacy implementation. We are running react-native: 0.67.4 => 0.67.4..
It seems to be working after removing it from settings.gradle.
 I am however curious to why has was working with all the versions prior to 0.31.1
Thank you and thanks for your time

I'm having that same issue, but I think perhaps it should be filed as a new issue.

@djMax Yes it seems like many people are having the same issue...

Also having the same issue. Any updates on this?

I am getting following issue in react-native latest version:
eprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
5 actionable tasks: 5 up-to-date
FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Could not resolve project :react-native-maps.
Required by:
project :app
No matching configuration of project :react-native-maps was found. The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.1' but:
- None of the consumable configurations have attributes.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

+1 @thezaidbintariq did you find any solution?

@Shanie1331
Follow the below given guide:
https://www.codingninjas.com/codestudio/library/react-native-with-google-maps
But replace below given code in this guide:
implementation(project(':react-native-maps')){        exclude group: 'com.google.android.gms', module: 'play-services-base'        exclude group: 'com.google.android.gms', module: 'play-services-maps'    }implementation 'com.google.android.gms:play-services-base:12.0.0'implementation 'com.google.android.gms:play-services-maps:12.0.0'
with below given code:
implementation(project(':react-native-maps')){
exclude group: 'com.google.android.gms',
module: 'play-services-base'
}
implementation 'com.google.android.gms:play-services-base:12.0.0'
implementation 'com.google.android.gms:play-services-maps:12.0.0'
I hope it helps!


otns web page not updating

Hello, I am working through the Simulate Thread Networks using OTNS walkthrough.
I've gone through some of the headaches already documented here. (e.g. I'm using Go v1.19 and had to do this, but I also tried using Go v1.17 with the same results as described below.)
The other oddity is that I'm running OpenThread and OTNS in WSL/Ubuntu 20.044 LTS on a Win10 computer.
Everything seems ok. When I run OTNS I am able to open the OTNS web page using the address:
http://localhost:8997/visualize?addr=localhost:8998
From within a Windows-based browser. (WSL on Win10 supports command-line only.)
I am getting the OTNS web page, but it is stuck at Time=0.
If I add a node via the CLI, the CLI acts as if the node is there, but the web page doesn't add the node.
The toolbar at the bottom of the web page doesn't show the "pause" icon on the "1X" button like is shown in the tutorial (except for about a second when I push the "Show Log" button, then it reloads and the button goes right back to just "1X").
None of the other buttons appear to do anything.
If I change the speed via the CLI to something other than 1, I'd expect the web page to reflect this - but it does not.
Any ideas what may be going on?
Thanks!

Update: "New Router" on the web page does add a node that can be seen via the CLI, but nothing is updated on the web page.

Update #2: I've tried a few different versions of Go. Currently at 1.13.15. Still no joy.
I have found that if I add a router node to the simulation and then quit the OTNS CLI, sometimes the web page finally updates and shows the node. This is true of other parameters as well (e.g. changing speed). So, something seems pretty wrong with OTNS.
When it is idle, watching the web page console output, it is reporting that the idle timer fired and the page is reloaded.

This might be caused by the VIRTUAL_TIME_UART=0 issue.
Could you clone my repo and build openthread differently to verify if the issue is resolved:
git clone https://github.com/simonlingoogle/ot-ns.git
cd ot-ns
./script/install
./script/test build-openthread
otns -ot-cli openthread/build/otns/examples/apps/cli/ot-cli-ftd

Simon, thank you for the message. I had tried compiling with VIRTUAL_TIME_UART=1 based on this and that didn't make any difference.
Your repo acts the same, still no good.
Happy to try anything else...

@mt-26 Is the OTNS itself working in CLI without web?
I am trying to figure out if it's a web UI only issue.

The other oddity is that I'm running OpenThread and OTNS in WSL/Ubuntu 20.044 LTS on a Win10 computer.
Everything seems ok. When I run OTNS I am able to open the OTNS web page using the address: http://localhost:8997/visualize?addr=localhost:8998 From within a Windows-based browser. (WSL on Win10 supports command-line only.)

Normally, OTNS and web should run on the same host. I am not sure if WSL works that way.

@mt-26 Is the OTNS itself working in CLI without web?
I am trying to figure out if it's a web UI only issue.

Yes, the CLI appears to work just fine. In fact, updates from the web are reflected in the CLI.

Normally, OTNS and web should run on the same host. I am not sure if WSL works that way.

It kind of does. The network ports in WSL are forwarded to the Win10 host such that localhost on Win10 is the same as localhost in WSL/Ubuntu. But they are ultimately logically distinct Ethernet adapters with unique IPs.

The other oddity is that I'm running OpenThread and OTNS in WSL/Ubuntu 20.044 LTS on a Win10 computer.
Everything seems ok. When I run OTNS I am able to open the OTNS web page using the address: http://localhost:8997/visualize?addr=localhost:8998 From within a Windows-based browser. (WSL on Win10 supports command-line only.)

Normally, OTNS and web should run on the same host. I am not sure if WSL works that way.

WSL works just fine with OTNS and web. Browsing out of windows. That's my setup

Closing stale issue.

@mt-26 hey man, did you get passed this? I'm running into the same thing

@simonlingoogle I'm running into the same issue, was there ever a resolution to this? or maybe an avenue of investigation?


discord

What does the js injected into discord do exactly?

If the user adds new account or modifies password to the discord client, the client will (hopefully) automatically send a message to the webhook containing the new token and password.


Onnx to keras model conversion failed

import onnx
from onnx2keras import onnx_to_keras

# Load ONNX model
onnx_model = onnx.load('/home/pat-011/Desktop/deep_learning/POC1/output/tensorflow/pytorch_onnx_tf_onnx.onnx')

# Call the converter (input - is the main model input name, can be different for your model)
k_model = onnx_to_keras(onnx_model, ['input'])

Error -
Traceback (most recent call last):
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/keras/engine/base_layer.py", line 279, in assert_input_compatibility
K.is_keras_tensor(x)
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 474, in is_keras_tensor
str(type(x)) + '. ' ValueError: Unexpectedly found an instance of type <class 'NoneType'>`. Expected a symbolic tensor instance.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tf-onnx-pytorch-keras.py", line 30, in
k_model = onnx_to_keras(onnx_model, ['input'])
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/onnx2keras/converter.py", line 146, in onnx_to_keras
node_name
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/onnx2keras/operation_layers.py", line 184, in convert_split
input_0 = ensure_tf_type(layers[node.input[0]])
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/onnx2keras/utils.py", line 42, in ensure_tf_type
return lambda_layer(fake_input_layer)
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/keras/engine/base_layer.py", line 414, in call
self.assert_input_compatibility(inputs)
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/keras/engine/base_layer.py", line 285, in assert_input_compatibility
str(inputs) + '. All inputs to the layer '
ValueError: Layer lambda_1 was called with an input that isn't a symbolic tensor. Received type: <class 'NoneType'>. Full input: [None]. All inputs to the layer should be tensors.

This repo is about keras2onnx, but your question is onnx2keras, so please post your question there...


controller: Fix TestStreamAppLifeCycleEvents

This test intermittently fails in CI as it gets events generated by other tests, so I have updated it to ignore those other events.

Hmm the test is still failing, I'll look into it some more...

Ok updated, please review.

LGTM


[BUG] Error with pairing code

I'm trying to implement the pairing code but I'm getting this error here
Error: Connection Closed
at sendRawMessage (/Users/davidson/Projects/atendai-api/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:54:19)
at sendNode (/Users/davidson/Projects/atendai-api/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:73:16)
at Object.requestPairingCode (/Users/davidson/Projects/atendai-api/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:370:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
data: null,
isBoom: true,
isServer: false,
output: {
statusCode: 428,
payload: {
statusCode: 428,
error: 'Precondition Required',
message: 'Connection Closed'
},
headers: {}
}
}

we added a delay to establish socket creation and then it worked

@DavidsonGomes can you share me your code of pairing code system

I fixed it by adding some delay
setTimeout(async () => {
        const code = await socket.requestPairingCode(phoneNumber);
      }, 5000);

we added a delay to establish socket creation and then it worked

Yes


Example JS Error

We should fix this eventually. Happens in iOS in Example.

@christopheschwyzer please review.

Using setTimeout seems hacky? Why is it necessary? Alternatives?

It is done because ready executes before the corresponding template is displayed. As the result this.getField('sizeSlider | color | ....').getValue() return incorrect values. Mostly NaN or #000000. To fix this we need to execute ready only after the template is displayed. Let me think about the alternatives.

_.delay() :P

Isn't it the same?

Another alternative would be to listen to some other init event like tabs.changed for example. Inside CM_Form_ExampleIcon we can attach to it this.getParent().$el.on('tabs.changed', function() {...});

@njam @christopheschwyzer ?

I don't know what the best approach is...

About the loading of Views - in what state are child views when the parent's View.ready() is called:

A: The child templates are all loaded and in the DOM
B: The child Views have been instantiated, their objects are registered on the parent
C: The childrens' ready() function has not been called yet.

I can confirm that the slider's value cannot be read with getValue() unless the form-field has been ready()'d. The reason seems to be that CM_FormField_Integer.getValue() contains this code:
  getValue: function() {
    return parseInt(this.$('.noUiSlider').val());
  },

So it dependson this "noUiSlider" plugin to be initialized (which happens in ready()).
With formfields we usually try to make sure they also have a plain <input> field somewhere, and would also work without whatever javascript plugin we have for a nice UI. In this case you can see when we set up the "noUiSlider" plugin we always install hooks to make sure the value of the <input> and the value of the "noUiSlider" stay in sync!
Therefore I think the easiest resolution is to remove CM_FormField_Integer.getValue() completely. It will then fall back to CM_FormField_Abstract.getValue() which will read the value from the <input>, which should work even when the fancy UI hasn't been initialized yet!
I can't reproduce similar problems with color fields?

I can't reproduce similar problems with color fields?

Probably because they don't introduce their own getValue() as CM_FormField_Integer .
I removed CM_FormField_Integer.getValue() and it works now. I checked its usage in search/members. It works without this method too. I guess, the fix is good to apply.
@njam please look.

lgtm!


MP_bidirect_winograd with xdlops [FP32]

Added new MP_bidirect_winograd solver with xdlops support.
This solver is tunable.
gfx908 time improvements without new solver tuning
N | C | K | H | W | x | y | p | q | u | v | directioon | time reduce | develop | xdlops |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
  |   |   |   |   |   |   |   |   |   |   |   |   | best algo | this solver |
256 | 128 | 128 | 28 | 28 | 3 | 3 | 1 | 1 | 1 | 1 | FWD | 15% | ConvMPBidirectWinograd<6-3> | ConvMPBidirectWinograd_xdlops<6-3>
256 | 128 | 128 | 28 | 28 | 3 | 3 | 1 | 1 | 1 | 1 | BWD | 15% | ConvMPBidirectWinograd<6-3> | ConvMPBidirectWinograd_xdlops<6-3>
256 | 256 | 256 | 14 | 14 | 3 | 3 | 1 | 1 | 1 | 1 | FWD | 39% | ConvBinWinogradRxSf2x3 | ConvMPBidirectWinograd_xdlops<5-3>
256 | 256 | 256 | 14 | 14 | 3 | 3 | 1 | 1 | 1 | 1 | BWD | 38% | ConvBinWinograd3x3U | ConvMPBidirectWinograd_xdlops<5-3>
256 | 512 | 512 | 7 | 7 | 3 | 3 | 1 | 1 | 1 | 1 | FWD | 54% | ConvMPBidirectWinograd<6-3> | ConvMPBidirectWinograd_xdlops<4-3>
256 | 512 | 512 | 7 | 7 | 3 | 3 | 1 | 1 | 1 | 1 | BWD | 51% | ConvMPBidirectWinograd<6-3> | ConvMPBidirectWinograd_xdlops<4-3>

@shurale-nkn Can you share target configs and performance data?

@shurale-nkn Can you share target configs and performance data?

If you need more data, I can create a private thread.

@shurale-nkn

If you need more data, I can create a private thread.

Better open an ticket for discussions at https://github.com/AMDComputeLibraries/MLOpen

@shurale-nkn Has rocblas been tuned for these configs?

@shurale-nkn Has rocblas been tuned for these configs?

@asroy
If we speak about ConvMPBidirectWinograd algo in develop, then no, because ticket for tuning created a week ago. They wouldn't have had time to do it.
If about ConvMPBidirectWinograd_xdlops, than no, ConvHipImplicitGemmForwardV4R4Xdlops not tuned, used config from EuristicInit .

@shurale-nkn Merge conflicts and blocking review. Please update this ASAP, otherwise it will not get into ROCm 3.10.

Please do not forget to document MIOPEN_DEBUG_AMD_MP_BD_WINOGRAD_WORKSPACE_MAX in separate PR. Also it would be nice to get rid of // cppcheck-suppress unreadVariable for WinoOffsets.

@daniellowell
Update! Git doesn't display this, but the testing was completed successfully.


Binary file problems

I'm trying to write serialized documents to file, but I'm getting a lot of errors when I try to deserialize these objects from the disk; around 10% of saved documents are discarded by bincode. I tested using one document repeatedly and it appears that they are read with varying lengths. I don't think the problem is with BufWriter or BufReader which I use to read/write. The length of the serialized data is consistent before written to the disk. I seem to be having issues separating the documents when reading from the disk as my read strategy returns varying lengths of documents. I'm not sure if this is related to bincode or not, but I don't have any issues when I use other serialization methods.

Can you provide a reproducible sample? This doesn't immediately sound related to bincode but I'll look into it to make sure.

I'm not sure what the problem is. I thought it might be that bincode doesn't support nested structs, but that isn't the case; I tried writing a simplified example to replicate the problem, but I can't reproduce the issue.

Thanks! Yeah, I'll close the issue for now. If you ever do get a repro, feel free to file another issue.


Fix #16039 webgl vector layer flashes

This PR try to fix #16039.

Hi @kikuchan, thank you for looking into this! I tried your fix and found that there were still errors from time to time. I'm not 100% sure why but basically the buffers can sometimes be bound for rendering while being also marked for deletion, and that causes INVALID_OPERATION errors and flashing.
Could you take a look at #16055 and let me know what you think about it? thanks!!

Hi @jahow, thank you for reviewing this.
And indeed, your solution looks perfect to me!


Example doesn't work

The index.html doesn't work in the example folder.  Was hoping to see a demo of this somewhere but none exists and the example isn't functional.

It works for me.
I'm pretty sure you didn't do bower install in the root directory.


Finish support for ShopRow Coinmasters

This should (almost) complete support for ShopRow style Coinmasters

coinmaster.txt contains new-style shop.php entries with up to 5 currencies per item sold
(when we visit shop.php, we will detect new items - and currencies - and log such.)
CoinmastersFrame has a new ShopRowPanel class which supports that kind of Coinmaster.
As do CoinmasterData and CoinMasterRequest.

I haven't actually tested how/if multi-ingredient CoinmasterPurchaseRequests work.
Those would show up in the Creatable panel of the ItemManager.
I should do that...
Take a look at Crimbo24FactoryRequest.java to see just how easy it is to code this, compared to the previous Coinmasters that have multiple currencies that are NOT specified in coinmasters.txt
I could write tests for various components of this effort (like NPCPurchaseRequest.parseShopInventory).
And, having done that, I should figure out how to parse the Mystic, who has a variant format of shop.php with rows.
And maybe I could make a creation method - like the Kiwi Kwiki Mart - into a CoinMaster.
I'd prefer to do those things in a follow up PR.
I need a break from coding. :)

Upon further thinking, I realize that yes - CoinmasterPurchaseRequests are not complete for this kind of Coinmaster.
ShopRow Coinmasters log requests and parse responses and remove ingredients - whether via visit_url, the Request classes (as used in CoinmastersFrame), or in the browser.
However, even with autoSatisfyUsingCoinmasters, they probably do not work for "acquire", the Create panel in the ItemManager, or in MallSearch results for one reason: all of those use CoinmasterPurchaseRequests, which depend on finding the Coinmaster via an itemId - and shop.php does not require that a particular item be fulfilled by a single row in a single shop.
I'm not sure how to deal with that, yet. I'm going to wait until after Christmas before thinking more about it.
For now, people will have to be satisfied with the CoinmastersFrame.

What did I do that threw away my entire commit?

This has already been merged (mysteriously), and now the only thing on this branch is the debug print.
I'm not sure what happened here, but as we don't want the debug print I'm going to close the PR.

Or you could remove the debug print and I'll merge this. Up to you.

I had a branch that I was working in.
I wanted to pull in the latest commits before I'd opened a PR.
I ... somehow ... set the upstream branch to allow that.
Later, I committed and pushed and created a PR.
Later still, I wanted to remove the DEBUG print and git would not allow me to push, since "there was code upstream I did not have". I futzed arounds and, somehow, pushed to main.
So, I ended up with a couple commits that were not merged via the PR.
They are reported in ckb's Skill Book PR.
https://github.com/kolmafia/kolmafia/compare/r28188...r28192
So, all my new code - including removing the debug print - is in.
Until I figure out how to set the upstream to the same thing git tells me to do when I try to do my first push, I'll need to push and open a PR and then update through the PR, like I've always done before.
I am sorry.


Simplify config

With this PR, the OCIS_TRACING_* config variables become the global config for all services. If you want to set individual tracing config for each service, set OCIS_TRACING_ENABLED=false (which is the default) and configure tracing for all services individually.
Tracing documentation updated as well, to reflect both different usages (global config and per-service config).
Implementation for https://github.com/owncloud/product/issues/92
STOP! (hammer time). This works when working with an oCIS config file. It doesn't work when I export the env variables or use the command flags. What am I doing wrong?

I have this in my oCIS config file:
"Tracing": {
          "Enabled": true,
          "Endpoint": "localhost:6831",
          "Collector": "http://localhost:14268/api/traces"
  },

which works...

Accounts service doesn't have a tracing config so far.

@refs would be nice to get your opinion on this...
also: needs a rebase

rebased + added jaeger endpoint and collector as default values

but proxy is still not sending spans

ocis-store command will be aligned with other commands after #409 is merged. The simplified tracing config for ocis-store has to be done later. Tracked here: https://github.com/owncloud/ocis/issues/445

rebased to current master.


Package-updates

 Geoengine-Updates

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

27 of 50 (54.0%)  changed or added relevant lines in 9 files are covered.
3 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.01%) to 84.273%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

datatypes/src/collections/feature_collection.rs
8
9
88.89%

datatypes/src/collections/multi_point_collection.rs
2
5
40.0%

datatypes/src/collections/multi_line_string_collection.rs
2
6
33.33%

datatypes/src/collections/multi_polygon_collection.rs
2
7
28.57%

datatypes/src/collections/batch_builder.rs
1
11
9.09%

Files with Coverage Reduction
New Missed Lines
%

datatypes/src/collections/multi_line_string_collection.rs
1
82.86%

datatypes/src/collections/multi_point_collection.rs
1
96.03%

datatypes/src/collections/multi_polygon_collection.rs
1
88.16%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
25893

Relevant Lines:
30725

💛  - Coveralls


RFC: adjustments to the contributing guide

The recent attacks to open source projects, by malicious actors trying to obtain privileged access to the repositories and injecting malicious code has been pretty frightening. Just recently we had an influx of short-lived accounts (just a few days old and likely fake) trying to submit "cleanups" to the code base without any discussion with the community.
I think it would be important for us to clarify what we expect from anyone contributing to Apache Camel and what other committers should look when reviewing contributions.
Please note that many of the additions to the document are things that we already expect, but have never been formalized before.
I have discussed with a few others about this (@davsclaus, @oscerd) and I think it's time to bring it to the community for review and discussion.
Please review and share your thoughts.
Note: keeping it as a draft for a while until we receive some community feedback.

Ok, it's been a while without comments. I think we can merge.

Thanks everyone for the comments!


SVG Foreign Object is a way to combine different XML namespaces elements into the SVG.

SVG Foreign Object is a way to combine different XML namespaces elements into the SVG. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject

This issue was imported from Google Moderator
Moderator votes: +4
Issue added by Jaroslav Bauml on 2014-11-06
To vote this issue up or down, simply include +1 or -1 in your comment.

:+1:

+1, fighting SVG differences across mobile browsers and Foreign Object apparently isn't supported at all on some of them :(

Yes, foreignObject is extremely useful for applying SVG based effects on normal HTML.
Can a test be written for this (modernizr style) for testing this automatically in many browsers?

Looks like this is now covered by MDN data:
https://caniuse.com/mdn-svg_elements_foreignobject
(via mdn/browser-compat-data#1529)


Bridge's Errors in a separated feed instead in option

Sometimes when services are down like Instagram, you get a lot of « Bridge returned error ».
It would be nice to filter them out, or to have those errors in a separated feed instead.

I think your point is related to #994 (which is more about slow connections, but produces similar results).
That said, error messages in feeds could be made optional with the use of configuration options. That way the admin can decide whether to include them or not.
A separate feed sounds like a good solution as well, but introduces other issues (i.e. because including query data in a (possibly) public feed can leak sensitive data). In that case, having errors in the log file should suffice.

I added a small PR for a new configuration option. Let me know if this works for you.

Nice I'll try! So errors are still logged in text file ?

Yes, that didn't change. The conditional check happens right after that.


⚠ AGEG website (prod) has degraded performance

In a75e51c, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2255 ms

Resolved: AGEG website (prod) performance has improved in 62f5f9c.


Navigation menu not shown in iOS

I believe the Home Assistant navigation menu is not shown using this theme.

You mean the sidebar? Swipe from the left.

It did get voted for more, but I'm lazy. https://community.home-assistant.io/t/card-mod-super-charge-your-themes/212176/119

No I mean this header menu bar (SEE arrow). Sometimes it's visible, sometimes its not 🤷🏻♂
Thanks for creating this great theme btw :)

Do you mean just the blue bar, or the whole header?

Whole header, see the screenshot Sith the white theme

Odd. Try upgrading HA.

Already am on 0.118.2

Not getting this problem, and I’m not gonna buy an iOS device. Do you get this error in Safari, or another browser for iOS?
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Thomas van<EMAIL_ADDRESS>Sent: Sunday, November 22, 2020 11:23 AM
To<EMAIL_ADDRESS>Cc: Kendell<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [KTibow/lovelace-light-soft-ui-theme] Navigation menu not shown in iOS (#12)
Already am on 0.118.2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FKTibow%2Flovelace-light-soft-ui-theme%2Fissues%2F12%23issuecomment-731826982&data=04|01||ce961ae5b78b4849550208d88f1c1340|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637416698025098716|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ffzoBKqeLD86S5MnIgpyOKHVUhtsGKRmH1dN3OgVupQ%3D&reserved=0, or unsubscribehttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACR3DNRQ4NYQPHUMBQIE5YDSRFQKTANCNFSM4T6MJETQ&data=04|01||ce961ae5b78b4849550208d88f1c1340|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637416698025108697|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=72KBdv9Sj2rQXsbkHEaG9j1MN5gnsoiHosU1G5%2FGwnQ%3D&reserved=0.

I believe it happens only (or primarily) on the light version.
All web related content on iOS devices is rendered using webkit, whatever browser you chose. But I am using the HASS app, which also uses WebKit I believe.

Chrome is based on Webkit. Can you install firefox on your phone and see if you still get that error?

Same in firefox . Did notice dark soft ui works fine. Seem to only have this issue on the light theme. Firefox also uses WebKit though (https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_for_iOS)

What happens if you go to HACS, choose reinstall on the light theme, then choose the main branch instead of a version?

That appears to have fixed it, thanks!

Okay, I'll need to make a new release.


Added Shaking Text Animation

Fixes Issue🛠
Closes #330
Description👨💻
added Shaking Text Animation
Type of change📄

[] New feature (non-breaking change which adds functionality)

How this has been tested✅
Tested on the local environment.
Checklist✅

[-] My code follows the style guidelines of this project
[-] I have performed a self-review of my own code
[-] I have commented my code, particularly in hard-to-understand areas
[-] I have added demonstration in the form of GIF/video file
[-] I am an Open Source Contributor

Screenshots/GIF�
https://github.com/Rakesh9100/Beautiify/assets/81350357/737914e5-fc4a-4fbc-ba2a-7f3098479e3f
�

Merged, Congrats on getting your PR merged to this repo under JWOC 🎉🎉 @anirbanmajumder0


Can you provide the preprocessed dataset of SparC and CoSQL?

It takes a long time on my machine to preprocess these two datasets. Thanks you!

We already provided the processed data for sparc and cosql: https://drive.google.com/file/d/1_xBYGgi-mVCHd4dzqavigPzcEWzRL60r/view?usp=sharing.


quality

Sent from PPHub

Close with https://github.com/peng051410/today_i_learn/commit/94caa0b44f7d2d29a6846c5115198843e4deec4a


Fix max length validator

Thanks for the great template. Obviously this is just a typo/copy paste fail.

@LecksC Thanks for your help. Merged.


introduce nested admonitions

fixes Issue #41
With this approach, nested admonitions can be used.

[x] added tests
[x] test succeed

@elviswolcott please have a look - would be nice to see this published to npm (to be used by Docusaurus V2 @slorber).

@elviswolcott please have a look - would be nice to see this published to npm (to be used by Docusaurus V2 @slorber).

FYI we don't use this plugin anymore and have our own admonition plugin now

FYI docusaurus 2.3 has support for nested admonitions now: https://docusaurus.io/blog/releases/2.3#nested-admonitions


Installing in SDCard or Pendrive

This is not a bug per-se but I'd like to know if its possible to directly install the OS onto a SDCard (Class A1) or a pendrive?

IMO current installation process doesn't cost more than directly for FreeBSD/Linux/MacOS users.
It's inconvenient for Windows users. They need to exec .run release script in orangepi5 and then copy the image to Windows back.
We'll reconsider the way of release. Thanks for your good question.

I'm actually a Windows user. But I don't have any NVME/SSD to install this os. I have couple of SDCards and Pendrives.
Thats why I thought to put up this question.

Hi, I think the question was regarding the possibility to install the OS directly into a microSD card or pendrive.
As per r114-r1 release:

All images generated from the .run file will support booting from a TF (microSD) card. The 'target storage' means the storage type where you want to install openFyde while running the openFyde installer.
You can flash the image directly to your onboard storage(SATA/NVMe/eMMC). However, you can then only choose the Try It First button at OOBE; you WILL NOT be able to perform installation under this circumstance.

From my understanding, we're supposed to install the boot img on a microSD card, and then install the system on another storage drive which doesn't include a 2nd microSD as there are only nvme, sata, emmc flags.
I think it would be a nice feature to be able to install openFyde on a second microSD or pendrive.

We limit installation to miscroSD cards by intention since even T0-class cards are corrupted during our IO-heavy tests.
If you are geeks, you can dd the image generated to internal storage and then call install to microSD card : )

I have managed to install openfyde into a micro sd by booting into a pendrive (img for pi5 + sata) and then installing the OS into the sd card. I guess you could do the other way around as well.
For windows users it is possible to use wsl to create your .img file.
However, wifi/bt is not working. I'm using the regular orange pi 5 with the official wifi add-on module, it seems there was an issue in the past regarding this, though I don't think it is fixed since it requires some workaround inputs from the end user and I didn't understand how to do it yet, so I'm stuck.


Error investigation

Investigate the performance of GptOfflineDetector

目前一个输入样例，无法用现有的prompt给出分段的（GPT疯狂道歉）：
{"time": "2023-06-01 19:18:10.363074", "rec": "541713", "batch": 29, "step": 1400, "input": "(b) Contribution to the implementation of the Framework Convention on Climate Change through\nencouraging policy dialogue, participating in inter-agency expert groups and meetings, namely, the\nVulnerability and Adaptation Resource Group, Consultative Group of Experts on national\ncommunications from non-Annex I Parties to the Framework Convention on Climate Change, and\nresponding to requests by Parties related to the conferences of the parties and related bodies (one\nexercise), (GC.22/3, GC.22/9), (external: other United Nations organizations, national Governments and\nvarious donors), (internal: Division of Environmental Conventions, Division of GEF Coordination),\n(multilateral environmental agreement link: to all multilateral environmental agreements) **\n(c) Organize inter-agency meetings (UNDP-UNEP-World Bank-WHO-FAO) on the poverty-environment\nnexus to plan further cooperative activities (two meetings), (GC.22/9, GC.22/10), (external: UNDP,\nWorld Bank, WHO, FAO, others) **\nOutputs planned for the biennium in pursuit of expected accomplishment (c)\nTechnical cooperation\nAdvisory services:\n(a) Organize meetings in conjunction with regional civil society forums to increase capacity in the field of\nenvironment of civil society organizations in the South and civil society organizations from countries\nwith economies in transition (10 meetings), (GCSS.VII/5, GC.22/14, GC.22/18), (internal: all divisions),\n(multilateral environmental agreement link: to all multilateral environmental agreements) ***\n(b) Provide substantive input to subregional, regional and global environmental intergovernmental meetings\nand processes, including UNEP-organized meetings on mainstreaming of gender issues into international\nenvironmental policies and processes (inputs to four meetings), (GC.18/6, GC.20/9), (internal: Division\nof Early Warning and Assessment, Division of Regional Cooperation, Division of Communications and\nPublic Information), (multilateral environmental agreement link: to all multilateral environmental\nagreements) ***\nGroup training such as workshops, seminars and symposiums, etc:\n(c) Organize the annual global civil society forum in conjunction with the Governing Council/Global\nMinisterial Environment Forum to engage stakeholders in a substantive dialogue on UNEP activities (two\nmeetings), (Malm\u00f6 Declaration, GC.21/19, GCSS.VII/5), (internal: Division of Regional Cooperation,\nDivision of Environmental Conventions, Division of Communications and Public Information),\n(multilateral environmental agreement link: to all multilateral environmental agreements) ***\n(d) Organize relevant partnership campaigns, including with the private sector and support policy dialogues\nto provide technical support to civil society in articulating linkages between environment and poverty\nalleviation (10 events), (GCSS.VI/1, GCSS.VII/5, GC.21/18), (internal: Division of Early Warning and\nAssessment, Division of Environmental Policy Implementation, Division of Regional Cooperation,\nDivision of Communications and Public Information), (multilateral environmental agreement link: to all\nmultilateral environmental agreements) **\n(e) Organize an expert group meeting and develop partnerships and collaborative arrangements to increase\nthe understanding among United Nations agencies, multilateral environmental agreements and civil\nsociety of the linkages between the environment and human society, pending the decision of the\nGoverning Council at its twenty-third session on the follow-up to decision GC.22/16 related to\nenvironment and cultural diversity (one event), ( GC.21/18), (internal: Division of Early Warning and\nAssessment, Division of Environmental Policy Implementation, Division of Regional Cooperation),\n(external: United Nations Educational, Scientific and Cultural Organization (UNESCO), multilateral\nenvironmental agreements, Permanent Forum on Indigenous Issues, World Intellectual Property\nOrganization (WIPO), FAO)\n9\nOutputs listed under this category reflect the catalytic work by UNEP. They are presented here for\nconsideration by the Governing Council/Global Ministerial Environment Forum. In the preparation of the\nUNEP budget fascicle, however, these outputs will be reflected in an aggregated form as part of the narrative\nof the introduction.\nOutputs planned for the biennium in pursuit of expected accomplishment (d)\nServicing of intergovernmental and expert bodies\nParliamentary documentation:\n(a) Reports on the outcomes of meetings of the Environmental Management Group and its issue management\ngroups to the Governing Council/Global Ministerial Environment Forum and the United Nations General\nAssembly, (two reports), (GA 53/242, GA 58/209, GCSS.VIII/1 VI), (internal: secretariat of the\nGoverning Council), (external: members of the Environmental Management Group)\n(b) Preparation for and substantive reporting to the UNEP Governing Council, particularly in the area of\npolicy development and coordination, (one document), (GA 2997 (XXVII)), (internal: all divisions as\nnecessary), (external: Governments)\nOther substantive activities\nBooklets, pamphlets, fact-sheets, information kits:\n(a) Development of products to promote cross-sectoral linkages between the environment and other areas\nsuch as health, children and the inter-faith community (one set), (Johannesburg Plan of Implementation 7\n(f), 53, 56, 57, GC.22/4, GC.22/20), (internal: all divisions as necessary), (external: WHO, UNICEF,\nother United Nations partners, Governments, non-governmental organizations, academic institutions,\nprivate sector and religious groups active in the issue areas) ***\nSpecial events:\n(b) Organization of special events, at United Nations Headquarters and externally with major groups,\nproducing greater visibility, public awareness and support for the mission of UNEP and environmental\nissues in general, (one event), (GA 2997 (XXVII), GA 58/158, GCSS.VI/1, GCSS.VII/5), (internal: all\ndivisions as necessary), (external: Governments, major groups) ***\nExhibits, guided tours and lectures:\n(c) Represent the UNEP Executive Director in briefings and provide policy advice and information materials\nto permanent missions to United Nations Headquarters and their delegations to the General Assembly and\nthe United Nations Economic and Social Council and its subsidiary bodies, (one exercise as required),\n(GA 2997 (XXVII)), (internal: all divisions as necessary), (external: Governments) ***\n(d) Regular briefings and information materials to major groups on the mission of UNEP and environmental", "exc": "unknown", "msg": "('max() arg is an empty sequence',)"}

直接读这段json的input字段就可以

Thomas的新prompt。
构造：
def generate_prompt2(input_content: str):
    return [
        {'role': 'system', 'content': 'You are an experienced English editor. '},
        {'role': 'user', 'content': '''I want you to check the following lines and group them into paragraphs. Please follow the instructions as below:

- Remove all the unnecessary linebreaks and merge the hyphenated words.
- The original lines may be incomplete or mispelled, but DO NOT change any words of the original lines or add anything new. You must remember this.
- Return the paragraphs along with the confidence score (how you feel confident about your revision, 0~100).
- Return the result in JSON format, like {"paragraphs":["xxx","yyy"],"score":80}.
- Return the JSON only with nothing else, DO NOT explain anything.

### Original Lines:
''' + input_content},
    ]

输入：
{"time": "2023-06-07 13:51:01.711223", "rec": "3999256", "batch": 4, "step": 1400, "input": "Mali, which in 2011 succumbed to the violence that\noriginated in Libya, has never really recovered. It has in\nturn become an incubation centre for a form of terrorism\nthat is characteristic of a Sahel that is deeply affected\nby the effects of climate change preventing the practice\nof pastoral farming. That ecosystem of violence has\nhad a deadweight effect on the young shepherds of the\ncommunities most affected by climate change, among\nwhom a number of terrorist vocations have arisen. This\nscourge has spread from northern Mali to the Niger and\nBurkina Faso and is now attempting to spread to the\ncountries of the Gulf of Guinea. The violence has such\npotential to destabilize State institutions that it resulted\nin the downfall of the democratically elected regimes of\nMali and Burkina Faso in 2020 and 2022, respectively.\nThe Niger, my country, in addition to the terrorist\nhotbed known as the three-borders region \u2014 Mali,\nthe Niger and Burkina Faso \u2014 is also facing another\nterrorist hotbed in the Lake Chad basin, where the\nvarious groups that claim to be part of the shadowy\nBoko Haram operate.\nDespite the strong pressures related to the\ncircumstances I have just described, my country\nis showing great resilience centred on very wise\ngovernance, the promotion of a culture of tolerance\nand community cohesion, as well as the rules of\ndemocracy and the rule of law. It was that resolute\nchoice of rights and freedoms that made it possible\nto organize transparent elections that sanctioned the\nfirst change of Head of the State by virtue of which\na democratically elected President passed the baton\nto another democratically elected President in April\n2021. Need it be said that our experience proves that the\nsurest way to ward off the effects of terrorist violence is\nto strengthen the democratic regime and nothing else?\nThe war against terrorism now requires us to devote\nsignificant resources to increasing the numbers of our\nforces, acquiring adequate equipment and building\nthe capacities of our soldiers. Allow me to take this\nopportunity to thank the various partners engaged with\nus in the fight against terrorism. I would particularly\nlike to thank France, whose action through Operation\nBarkhane is a major asset in the struggle against our\nenemies. I also thank the United States of America,\nthe Federal Republic of Germany and all the other\ncountries committed alongside us in various ways, all\nequally valuable.\nThat being said, I find it crucial to point out that\nthe international community\u2019s commitment to the\nfight against terrorism in the Sahel has shortcomings\nthat need to be identified and addressed. Indeed, this\nterrorism derives a large part of its financial resources\nfrom trans-Saharan drug trafficking towards Europe\nand Asia, via Libya. Most of the weapons flooding the\nSahel terrorist violence market also come from Libya.\nI believe that we are faced with a problem that is not\nparticularly complicated. Why then has it not yet been\npossible to set up an adequate system with the necessary\nmeans to combat this phenomenon properly? It is indeed\ntime for collective reflection. It is time for the great\nPowers present in that region and the international\ncommunity as a whole to join the countries of our\nregion in a far more relevant reflection to define an\neffective course of action in the fight against drug and\narms trafficking in the Sahel.\nDespite the major challenges we face, as described\nearlier, the Niger intends to remain a solid and stable\nState, backed by democratic institutions, and resolutely\ncommitted to the fight against poverty and for\ndevelopment. Our deep conviction in that regard is that\nthe most effective means of combating poverty consists\nin promoting education. The development challenges\nfor the Niger are summarized by the following\nsimple statistics: an annual population growth rate\nof 3.9 per cent; an average synthetic fertility index\nof seven children per woman; a first birth for nearly\n50 per cent of girls before the age of 15; and 50 per cent\nof the population aged 15 on average. Those statistics\nsay much about the state of the education system in\nour country, and that is why we are committed to act\nwith determination to improve things in this area. As\nsuch, the agenda based on which the people of the Niger\nelected us aims to take action on two fronts: improving\naccess to and the quality of education.\nWith regard to quality, we have decided to place\nparticular emphasis on the quality of teacher training\nand the professionalization of teaching. With regard to\nimproving access, our policy emphasizes the building of\nschool infrastructure. The other particularly important\naspect of our educational programme that I wish to\nemphasize is aimed at achieving gender equity and\nbuilding residential facilities for girls in rural schools.\n7/50\nIndeed, because of the precarious living conditions of\nchildrenin rural schools, far from their parents, the\nlatter tend to prevent their daughters from continuing\ntheir studies. These adolescents are given in marriage\nas soon as they are out of the education system, which\nexplains some of the previously mentioned statistics.\nIn offering girls the tranquillity and security desired\nby their parents, residential facilities also offer girls\nconditions in which to continue their studies with\nthe possibility of staying in school and acquiring\nthe necessary academic and professional skills.\nThe large-scale expansion of residential facilities\nfor girls in rural schools contributes to improved\neducation-system performance and a reduction in the\nrate of population growth.\nMy reason for highlighting our ambitions in\nthe field of education for a country like the Niger,\nafter having spoken about climate change, terrorism\nand insecurity in the Sahel, is that we are aware that\nthese three issues \u2014 demography, climate change and\ninsecurity \u2014 are closely related. Indeed, the terrorism\ncurrently at work in the Sahel is connected to the living\nconditions of certain communities whose environment\nhas been considerably disrupted by climate change. The\nSahel is also an area that has experienced particularly\nhigh population growth in recent decades. The\ncombination of these two phenomena \u2014 demography\nand climate degradation \u2014 has created, as a result\nof the regional disorder following the fall of Colonel\nAl-Qaddafi\u2019s regime in 2011, the situation of chaos that\nthe countries of the Sahel are experiencing today.\nThat is why it is not enough for the United Nations\nand the international community to be moved by or\nto discuss terrorist violence at length. We must act\nby investing the necessary resources in education to\ncombat the violence of today and prevent the violence\nof tomorrow.\nThe Acting President: On behalf of the General", "exc": "unknown", "msg": "('Expecting value: line 1 column 1 (char 0)',)"}

几个输出样例均有前导非json内容，这里一一给出：
输出（样例1）：
{"object":"chat.completion","created":1686117062,"model":"gpt-3.5-turbo-0301","usage":{"prompt_tokens":1550,"completion_tokens":1308,"total_tokens":2858},"choices":[{"message":{"role":"assistant","content":"Assembly, I would like to thank the President of the\nNiger for the statement he has just made.\n\n{\"paragraphs\":[\n\"Mali, which in 2011 succumbed to the violence that originated in Libya, has never really recovered. It has in turn become an incubation centre for a form of terrorism that is characteristic of a Sahel that is deeply affected by the effects of climate change preventing the practice of pastoral farming. That ecosystem of violence has had a deadweight effect on the young shepherds of the communities most affected by climate change, among whom a number of terrorist vocations have arisen. This scourge has spread from northern Mali to the Niger and Burkina Faso and is now attempting to spread to the countries of the Gulf of Guinea. The violence has such potential to destabilize State institutions that it resulted in the downfall of the democratically elected regimes of Mali and Burkina Faso in 2020 and 2022, respectively.\",\n\"The Niger, my country, in addition to the terrorist hotbed known as the three-borders region — Mali, the Niger and Burkina Faso — is also facing another terrorist hotbed in the Lake Chad basin, where the various groups that claim to be part of the shadowy Boko Haram operate.\",\n\"Despite the strong pressures related to the circumstances I have just described, my country is showing great resilience centred on very wise governance, the promotion of a culture of tolerance and community cohesion, as well as the rules of democracy and the rule of law. It was that resolute choice of rights and freedoms that made it possible to organize transparent elections that sanctioned the first change of Head of the State by virtue of which a democratically elected President passed the baton to another democratically elected President in April 2021. Need it be said that our experience proves that the surest way to ward off the effects of terrorist violence is to strengthen the democratic regime and nothing else?\",\n\"The war against terrorism now requires us to devote significant resources to increasing the numbers of our forces, acquiring adequate equipment and building the capacities of our soldiers. Allow me to take this opportunity to thank the various partners engaged with us in the fight against terrorism. I would particularly like to thank France, whose action through Operation Barkhane is a major asset in the struggle against our enemies. I also thank the United States of America, the Federal Republic of Germany and all the other countries committed alongside us in various ways, all equally valuable.\",\n\"That being said, I find it crucial to point out that the international community’s commitment to the fight against terrorism in the Sahel has shortcomings that need to be identified and addressed. Indeed, this terrorism derives a large part of its financial resources from trans-Saharan drug trafficking towards Europe and Asia, via Libya. Most of the weapons flooding the Sahel terrorist violence market also come from Libya. I believe that we are faced with a problem that is not particularly complicated. Why then has it not yet been possible to set up an adequate system with the necessary means to combat this phenomenon properly? It is indeed time for collective reflection. It is time for the great Powers present in that region and the international community as a whole to join the countries of our region in a far more relevant reflection to define an effective course of action in the fight against drug and arms trafficking in the Sahel.\",\n\"Despite the major challenges we face, as described earlier, the Niger intends to remain a solid and stable State, backed by democratic institutions, and resolutely committed to the fight against poverty and for development. Our deep conviction in that regard is that the most effective means of combating poverty consists in promoting education. The development challenges for the Niger are summarized by the following simple statistics: an annual population growth rate of 3.9 per cent; an average synthetic fertility index of seven children per woman; a first birth for nearly 50 per cent of girls before the age of 15; and 50 per cent of the population aged 15 on average. Those statistics say much about the state of the education system in our country, and that is why we are committed to act with determination to improve things in this area. As such, the agenda based on which the people of the Niger elected us aims to take action on two fronts: improving access to and the quality of education.\",\n\"With regard to quality, we have decided to place particular emphasis on the quality of teacher training and the professionalization of teaching. With regard to improving access, our policy emphasizes the building of school infrastructure. The other particularly important aspect of our educational programme that I wish to emphasize is aimed at achieving gender equity and building residential facilities for girls in rural schools. Indeed, because of the precarious living conditions of childrenin rural schools, far from their parents, the latter tend to prevent their daughters from continuing their studies. These adolescents are given in marriage as soon as they are out of the education system, which explains some of the previously mentioned statistics. In offering girls the tranquillity and security desired by their parents, residential facilities also offer girls conditions in which to continue their studies with the possibility of staying in school and acquiring the necessary academic and professional skills. The large-scale expansion of residential facilities for girls in rural schools contributes to improved education-system performance and a reduction in the rate of population growth.\",\n\"My reason for highlighting our ambitions in the field of education for a country like the Niger, after having spoken about climate change, terrorism and insecurity in the Sahel, is that we are aware that these three issues — demography, climate change and insecurity — are closely related. Indeed, the terrorism currently at work in the Sahel is connected to the living conditions of certain communities whose environment has been considerably disrupted by climate change. The Sahel is also an area that has experienced particularly high population growth in recent decades. The combination of these two phenomena — demography and climate degradation — has created, as a result of the regional disorder following the fall of Colonel Al-Qaddafi’s regime in 2011, the situation of chaos that the countries of the Sahel are experiencing today. That is why it is not enough for the United Nations and the international community to be moved by or to discuss terrorist violence at length. We must act by investing the necessary resources in education to combat the violence of today and prevent the violence of tomorrow.\",\n\"The Acting President: On behalf of the General Assembly, I would like to thank the President of the Niger for the statement he has just made.\"],\n\"score\": 98}"},"finish_reason":"stop","index":0}]}

输出（样例2）：
{"object":"chat.completion","created":1686116956,"model":"gpt-3.5-turbo-0301","usage":{"prompt_tokens":1550,"completion_tokens":1298,"total_tokens":2848},"choices":[{"message":{"role":"assistant","content":"Assembly, I thank the President of the Republic of Niger for his statement just made.\n\n{\"paragraphs\":[\n\"Mali, which in 2011 succumbed to the violence that originated in Libya, has never really recovered. It has in turn become an incubation centre for a form of terrorism that is characteristic of a Sahel that is deeply affected by the effects of climate change preventing the practice of pastoral farming. That ecosystem of violence has had a deadweight effect on the young shepherds of the communities most affected by climate change, among whom a number of terrorist vocations have arisen. This scourge has spread from northern Mali to the Niger and Burkina Faso and is now attempting to spread to the countries of the Gulf of Guinea. The violence has such potential to destabilize State institutions that it resulted in the downfall of the democratically elected regimes of Mali and Burkina Faso in 2020 and 2022, respectively.\",\n\"The Niger, my country, in addition to the terrorist hotbed known as the three-borders region — Mali, the Niger and Burkina Faso — is also facing another terrorist hotbed in the Lake Chad basin, where the various groups that claim to be part of the shadowy Boko Haram operate.\",\n\"Despite the strong pressures related to the circumstances I have just described, my country is showing great resilience centred on very wise governance, the promotion of a culture of tolerance and community cohesion, as well as the rules of democracy and the rule of law. It was that resolute choice of rights and freedoms that made it possible to organize transparent elections that sanctioned the first change of Head of the State by virtue of which a democratically elected President passed the baton to another democratically elected President in April 2021. Need it be said that our experience proves that the surest way to ward off the effects of terrorist violence is to strengthen the democratic regime and nothing else?\",\n\"The war against terrorism now requires us to devote significant resources to increasing the numbers of our forces, acquiring adequate equipment and building the capacities of our soldiers. Allow me to take this opportunity to thank the various partners engaged with us in the fight against terrorism. I would particularly like to thank France, whose action through Operation Barkhane is a major asset in the struggle against our enemies. I also thank the United States of America, the Federal Republic of Germany and all the other countries committed alongside us in various ways, all equally valuable.\",\n\"That being said, I find it crucial to point out that the international community’s commitment to the fight against terrorism in the Sahel has shortcomings that need to be identified and addressed. Indeed, this terrorism derives a large part of its financial resources from trans-Saharan drug trafficking towards Europe and Asia, via Libya. Most of the weapons flooding the Sahel terrorist violence market also come from Libya. I believe that we are faced with a problem that is not particularly complicated. Why then has it not yet been possible to set up an adequate system with the necessary means to combat this phenomenon properly? It is indeed time for collective reflection. It is time for the great Powers present in that region and the international community as a whole to join the countries of our region in a far more relevant reflection to define an effective course of action in the fight against drug and arms trafficking in the Sahel.\",\n\"Despite the major challenges we face, as described earlier, the Niger intends to remain a solid and stable State, backed by democratic institutions, and resolutely committed to the fight against poverty and for development. Our deep conviction in that regard is that the most effective means of combating poverty consists in promoting education. The development challenges for the Niger are summarized by the following simple statistics: an annual population growth rate of 3.9 per cent; an average synthetic fertility index of seven children per woman; a first birth for nearly 50 per cent of girls before the age of 15; and 50 per cent of the population aged 15 on average. Those statistics say much about the state of the education system in our country, and that is why we are committed to act with determination to improve things in this area. As such, the agenda based on which the people of the Niger elected us aims to take action on two fronts: improving access to and the quality of education.\",\n\"With regard to quality, we have decided to place particular emphasis on the quality of teacher training and the professionalization of teaching. With regard to improving access, our policy emphasizes the building of school infrastructure. The other particularly important aspect of our educational programme that I wish to emphasize is aimed at achieving gender equity and building residential facilities for girls in rural schools. Indeed, because of the precarious living conditions of childrenin rural schools, far from their parents, the latter tend to prevent their daughters from continuing their studies. These adolescents are given in marriage as soon as they are out of the education system, which explains some of the previously mentioned statistics. In offering girls the tranquillity and security desired by their parents, residential facilities also offer girls conditions in which to continue their studies with the possibility of staying in school and acquiring the necessary academic and professional skills. The large-scale expansion of residential facilities for girls in rural schools contributes to improved education-system performance and a reduction in the rate of population growth.\",\n\"My reason for highlighting our ambitions in the field of education for a country like the Niger, after having spoken about climate change, terrorism and insecurity in the Sahel, is that we are aware that these three issues — demography, climate change and insecurity — are closely related. Indeed, the terrorism currently at work in the Sahel is connected to the living conditions of certain communities whose environment has been considerably disrupted by climate change. The Sahel is also an area that has experienced particularly high population growth in recent decades. The combination of these two phenomena — demography and climate degradation — has created, as a result of the regional disorder following the fall of Colonel Al-Qaddafi’s regime in 2011, the situation of chaos that the countries of the Sahel are experiencing today.\",\n\"That is why it is not enough for the United Nations and the international community to be moved by or to discuss terrorist violence at length. We must act by investing the necessary resources in education to combat the violence of today and prevent the violence of tomorrow.\",\n\"The Acting President: On behalf of the General Assembly, I thank the President of the Republic of Niger for his statement just made.\"],\"score\":90}"},"finish_reason":"stop","index":0}]}

Write a report of errors

Solved by https://github.com/liyongsea/parallel_corpus_mnbvc/pull/32


Make the transition layer optional in the first room

What's the expected benefit of the feature you are requesting?
The _before_room_entered() function is called on the room change, and happens before the transition layer starts to fade away. This is useful to mask all the setup actions, like moving a character to a certains spot, making some animation play to a certain point, or whatever can "take screen time" and create visual glitches.
The problem is, the transition layer is not applied to the first room, so there is no way to perform some preparatory actions "behind the curtain" if they happen in the first room.
The absence of the TL is by design, to save dev time during tests, and considering that the first room is usually a splash.
In practice this effect is very mitigated and clearly nobody notices as of today, but me coding the sample game.
Still this is a problem that a wider adoption may arise, and the reason is, you can't trust the _before_room_entered() function to behave consistently. The first case out in the wild will result in a bug report.
Describe the solution you'd like
Simple and effective solution is to add (and document) an option in the Project Settings, called "Fade in at game start".
Devs will decide the behavior of their game, not being forced into anything.
Describe alternatives you've considered

**Changing the comment above the _before_room_updated() function to explain that it won't apply to the first room (this is more of a workaround, really)
Changing the moment the game engine calls the function, so it happens before the room is actually displayed. This may be unachievable in practice.
Making sure the room is "covered in black" until the function is over, then removing the curtain and letting the TL work as it is working now. This will mask the room no matter what during the execution of that function, independent on how the room is faded in (fast or slow, yes or not... whatever). This may be desireable anyway, even if we add the proposed setting... maybe? In doubt we should apply the KISS principle.

I like the idea of having something in the Project Settings (maybe under a Scene Transitions section? or the GUI?). But from what I saw while checking the code, having rooms "covered in black" by default might be also needed.
PS: I guess you are refering to the on_room_entered() function. We don't have a _before_room_entered() function, neither a _before_room_updated() one.

@mapedorr yes, sorry! I took a note to check the function name because it sounded weird and I didn't do it :sweat:
Fixing!


Rotate + Keyframes

I have a Dahua camera from which I want to use the second substream (h264 720p) to show up in Homekit via Scrypted with Homekit Secure Video support. Which works perfectly fine ... however things get more complicated when I try to rotate the video.
Once I rotate the video, the stream still works in VLC/ffprobe but it doesn't in Homekit (live viewing).
When looking at the stream info in Scrypted, it looks like the keyframe is off. It expects/recommends a keyframe every 4s (so FPSx4), and it's showing an interval of 0.12787179487179487.
So I'm trying to figure out whether this is indeed the issue. I'm not succeeding in changing the keyframe interval however.
Setups I've tried:
- frontdoor-720p:           rtsp://REDACTED:554/cam/realmonitor?channel=1&subtype=2&unicast=true&proto=Onvif
- frontdoor-720p-rotated1:  ffmpeg:frontdoor-720p#rotate=-90#video=h264#audio=copy
- frontdoor-720p-rotated2:  ffmpeg:frontdoor-720p#raw=-r 10#rotate=-90#video=h264#audio=copy
- frontdoor-720p-rotated3:  ffmpeg:frontdoor-720p#raw=-g 40 -r 10#video=h264#audio=copy#raw=-vf transpose=2,fps=10

Dahua settings:

Scrypted stream info:

Any advice on properly setting the keyframe in go2rtc?

Use the ffmpeg h264 encoder option -g.

Did I do something wrong in my last attempt where I used the -g option?

Van: Ryan Bray @.>
Verzonden: Thursday, April 13, 2023 1:14:02 AM
Aan: AlexxIT/go2rtc @.>
CC: Martijn Dierckx @.>; Author @.>
Onderwerp: Re: [AlexxIT/go2rtc] Rotate + Keyframes (Issue #337)
Use the ffmpeg h264 encoder option -g.
—
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/go2rtc/issues/337#issuecomment-1506084392, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA6KD7RSFA2T7J4FOZJIXGLXA4ZLVANCNFSM6AAAAAAWVGUAWU.
You are receiving this because you authored the thread.Message ID: @.***>

Options are applied in the order used. The raw options should go after the h.264 video specifier.
It would also help for you to check the logs to see the ffmpeg commands being issued and any errors thrown.

video=h264 already has g flag in template
https://github.com/AlexxIT/go2rtc/blob/fd580b6f2c35bf77d5a9095e7da445ad49cd5b3a/cmd/ffmpeg/ffmpeg.go#L59
I don't know if it is OK to use two same flags for ffmpeg.
You can change existing template or write your own with another arguments.

I changed the config:
ffmpeg:
  rotatedh264: "-c:v libx264 -g 40 -r 10 -keyint_min 40 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -vf transpose=2"

streams:
  frontdoor-720p:           rtsp://REDACTED/cam/realmonitor?channel=1&subtype=2&unicast=true&proto=Onvif
  frontdoor-720p-rotated:   ffmpeg:frontdoor-720p#video=rotatedh264#audio=copy

And I can confirm the key frames seem to be working:
ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -of csv=print_section=0 rtsp://REDACTED/frontdoor-720p-rotated | awk -F',' '/K/ {print $1}':
1.900000
5.900000
9.900000
13.900000
17.900000
21.900000
25.900000
29.900000

ffprobe output:
[rtsp @ 0x153f04260] method SETUP failed: 461 Unsupported transport
Input #0, rtsp, from 'rtsp://<IP_ADDRESS>:8554/voordeur-720p-rotated':
  Metadata:
    title           : go2rtc/1.3.1
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 720x1280 [SAR 1:1 DAR 9:16], 10 fps, 10 tbr, 90k tbn
  Stream #0:1: Audio: aac (LC), 8000 Hz, mono, fltp

But Scrypted is still showing the wrong keyframe interval:

So I guess I'll have to continue searching :-)


Please add classwise results to the logger output json file

Describe the feature
Please log class-wise results in the logger output json file
Motivation
It is very inconvenient to register the values from the print outputs alone; it is currently not possible for me to log trendlines that are class specific, and if the program terminates when im not looking, I cant record the values manually. I will try to see if this is easy to implement on my side as well, but would like to see an mmdetection official implementation of it.
This problem causes a significant waste of compute resources, because I would have to rerun eval on each checkpoint to check for trends. I would rather just parse the 'val' key in the json file at each val run... :)
Related resources
N/A
Additional context
N/A

We will consider adding classwise eval results to the JSON file. It will be appreciated if you can create a PR for this feature. You only need to add the classwise results to the eval_results dict.

@RangiLyu ok, will do


[3517] add bg jobs dockerfile

Context
We need to run background jobs. We also need a generic job runner as it's turning into too much overhead having one container per task (mailer, geosync, etc).
Changes proposed in this pull request
Add a generic background job runner image that's a copy of the existing ones, but with a generic name. A future PR will scrap the existing ones and configure this one to run all the queues.
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Create docker image for stats job


Update to v3.1 authentication framework

The emulator uses v3.0 authentication framework which is to be discontinued July 2017. See https://docs.microsoft.com/en-us/bot-framework/rest-api/bot-framework-rest-connector-authentication#security-protocol-changes
See BotFramework-Emulator/src/server/settings.ts line 152

The emulator supports both v3.0 and v3.1 auth. See commit dfcc82d1ec373aac8b814615461272dc7956bc8.

Thanks for the link. I don't see the v3.1 update in  BotFramework-Emulator/src/server/conversationManager.ts. Is this where Emulator to Bot authentication is performed?
Stepping through code in the bot framework, the authentication path taken in v3.0.

That's correct. The emulator sends messages to the bot using v3.0 authentication, but supports receiving old or new (v3.0 or v3.1). This is for compatibility with bots on older SDKs while we phase out v3.0 auth.
Are you seeing a problem?

I see it would be difficult to support bots using the older authentication approach. I understand the need to  implement v3.0 for the time being.
There is a problem with v3.1 emulator authentication with the chatconnector in the node botbuilder implementation. Botbuilder works with the emulator now only because it is using v3.0. It is not an emulator problem  per se.

Ok, I'll go ahead and close this out if you don't mind.
I see you logged a similar issue over at the BotBuilder repo. Is this the bug you're referring to? https://github.com/Microsoft/BotBuilder/issues/2878

Yes, that is the issue I found.


⚠ Turnos 24x7 has degraded performance

In 82f63f1, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 940 ms

Resolved: Turnos 24x7 performance has improved in f5eed58.


Merge prTesting_201904141051 branch to master branch

Docs Build status updates of commit 61d27b0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Adjust docs for Crystal::Macros::HashLiteral#[]

HashLiteral#[] returns Nil in case an entry isn't found. It does not
raise a compile time exception.
https://github.com/crystal-lang/crystal/blob/12f71b070377c5179bdde30818dd1673a3c2ee2d/src/compiler/crystal/macros/methods.cr#L906-L914

Macros are the Ruby in Crystal


Fix the mutation event

This PR links to the issue #361
Please review and approve. @kstreeter @trieloff @cdegroot-adobe @cmathis

Hey @jwen-adobe can you fix the conflicts on this so we can pull?

@kstreeter conflicts fixed.


Update Lecture1.ipynb

The comment after "%matplotlib inline" magic seems not recognised as comment in Jupyter notebook (google colab & VS code). The error of "UsageError: unrecognized arguments: # Inline plotting for Jupyter notebooks " is raised. Trying to fix the issue by moving it to the next row.

Thanks @BillZhucn. I was over-commenting!


Error when importing lib in Next 14

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
I am getting below error, while integrating this with Nextjs14:

Any idea why? This is the snippet:

> 4 | const permit = new Permit({ token: process.env.PERMIT_IO_API_KEY });

As a standalone js file that syncs resources works fine.

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
Nextjs14

Fixed in version 2.4.1.
Thanks for reporting.