Recording not detected properly

When this stream is recorded it will not play live. After the recording is finished it can be played back but only with Audio. Setting skip_internal_format_parser=true will allow the video and audio to be recorded but Live Tv is does not work.
You can see in there it does find the H264 and AAC streams...but then for some reason it only uses the AAC one as part of the final format.
Here's a comparison from one that works properly:
12/12/2016 14:17:36 Unknown file format /usr/local/google_hd/media/videos/hcw_hd_pvr
2_1080i_h264_0.ts
12/12/2016 14:17:36 TS Filter created  ( ver.2.0.9 )
12/12/2016 14:17:36 PSI Filter created  ( ver.2.0.1 )
12/12/2016 14:17:36 PSI format Unknown
12/12/2016 14:17:36 TS Parser is created  version 2.0.4  .
12/12/2016 14:17:36     Maxium PAT number:6 PMT number:80 Packet length:188
12/12/2016 14:17:36     PTSFIX threshold:0:0:5.000'000.0
12/12/2016 14:17:36  PTSFix is disbaled
12/12/2016 14:17:36 file /usr/local/google_hd/media/videos/hcw_hd_pvr2_1080i_h264_0.
ts
12/12/2016 14:17:36 Open slot 0.
12/12/2016 14:17:36 *********** PARSER STATUS: STREAM START ***********
12/12/2016 14:17:36 *********** PARSER STATUS: PARSING STREAM ***********
12/12/2016 14:17:36 PMT-MAP Table is updated
12/12/2016 14:17:36 PAT-0:Program (total channel:1, tsid:0 )
12/12/2016 14:17:36     PMT pid:0x0100 program:0001
12/12/2016 14:17:36     Channel:1 (tsid:0) PMT pid:0x0100 Program:0001 PCR pid:0x100
1 .
12/12/2016 14:17:36             Type:0x1b Pid:0x1011
12/12/2016 14:17:36             Type:0x0f Pid:0x1100
12/12/2016 14:17:36             Pid:0x1011 descriptor(18) REG(HDMVESCC?^D )
12/12/2016 14:17:36      TS:0 type:0x1b pid:0x1011 video      H264
12/12/2016 14:17:36      TS:1 type:0x0f pid:0x1100 audio      AAC
12/12/2016 14:17:36      PCR:   pid:0x1001
12/12/2016 14:17:36     *Select REMUX_FILE channel  (slot:0, media:0) channel:1 tsid
:0 sid:1 (1) stream:2
12/12/2016 14:17:36      ES:0:1 strmid:0xc0-0x0 esid:0x0000 audio     MPEG2
12/12/2016 14:17:36      ES:0:0 strmid:0xe0-0x0 esid:0x0000 video     MPEG2   "open"
12/12/2016 14:17:36      AV:0:0 video    H264            (pos:3572)
12/12/2016 14:17:36      AV:0:1 audio    AAC             (pos:320)
12/12/2016 14:17:36 stream clock (GMT):{^^<8B>ޫZ<5P.}
D`  <90>^A<96>A&1^P
12/12/2016 14:17:36 *********** PARSER STATUS: STREAM READY (slot:0) elapsed time:0.

12/12/2016 14:17:36 INPUT|MPEG2-TS;br=2500000;[bf=vid;f=H.264;fps=25.000000;fpsn=25;
fpsd=1;ar=1.777778;arn=16;ard=9;w=1920;h=1080;lace=1;main=yes;tag=1011;pid=4113;index=0;];[bf=aud;f=AAC;sr=48000;ch=2;br=0;at=ADTS-MPEG2;main=yes;tag=1100;pid=4352;index=1;];
12/12/2016 14:17:36 **** Find AVINF(pos:356260) ****
12/12/2016 14:17:36 Parsing is Done!
12/12/2016 14:17:36 *********** PTS: first:0x893d last:0xad4bcd ***********
12/12/2016 14:17:36 Missing SYNC header 1; broken block  0
12/12/2016 14:17:36 Total input packets 2787
12/12/2016 14:17:36     ch:0: ts packets:2729 es blocks:117
12/12/2016 14:17:36     ch:1: ts packets:37 es blocks:5
12/12/2016 14:17:36     ch:2: ts packets:0 es blocks:0
12/12/2016 14:17:36     ch:3: ts packets:0 es blocks:0
12/12/2016 14:17:36     ch:4: ts packets:0 es blocks:0
12/12/2016 14:17:36     ch:5: ts packets:0 es blocks:0
12/12/2016 14:17:36     ch:6: ts packets:0 es blocks:0
12/12/2016 14:17:36     ch:7: ts packets:0 es blocks:0
12/12/2016 14:17:36 TS channel closed. slot:0
12/12/2016 14:17:36 *********** PARSER STATUS: PARSER STOP ***********
12/12/2016 14:17:36 TS channel closed. slot:0
12/12/2016 14:17:36 TS Parser is released  .

This seems like it's going to be tricky to figure out why it's failing in the native format detection code...there's an easier workaround I can do in Java which'll allow this to work if you set skip_internal_format_parser=true (i can clearly see why it's blocking live TV when that is set).

@technazz  If you can build a new JAR file yourself, please do so with the latest code and confirm that my workaround allows you to watch live TV.

@Narflex OK, Ive never compiled but I will read up on it and try it out ASAP. Thanks

Ok I get video on other streams but on the streams that i was have trouble with I get an playback exception
Here is a log
sagetv_0.txt

I don't see any playback errors in that log file. Were you using SageTVClient on the local machine to play it back while running SageTV in service mode? (that's what it looks like IIRC) I'd then need the sagetvclient_0.txt log file to see what the playback exception was...everything looks fine on the server end.

I don't see a sagetvclient_0.txt log file. How do i set it to log? I don't see an option for in the propertied file for the client or the server Yes it was with client on the local machine. That may be the problem if its decoder related. Let me try on my Hd300's and then

For SageTVClient logging, there should be an option in Detailed
Setup->Advanced to turn on Debug Logging.  You can also set
debug_logging=TRUE in the SageClient.properties file.
I really should just change it so that it is just always on for everyone. :)
On Wed, Jan 4, 2017 at 11:30 AM, technazz<EMAIL_ADDRESS>wrote:

I don't see a sagetvclient_0.txt log file. How do i set it to log? I don't
see an option for in the propertied file for the client or the server Yes
it was with client on the local machine. That may be the problem if its
decoder related. Let me try on my Hd300's and then
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/232#issuecomment-270463473, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDGrTixSLF0hd3CcUw4gdlCCyLRqhks5rO_M9gaJpZM4LWc1o
.

--
Jeffrey Kardatzke
<EMAIL_ADDRESS>Google, Inc.

Here is the log. Looks like a decoder issue?
sagetvclient_0.txt

Yeah...you somehow have selected AC3Filter for your video decoder...that
definitely won't work. :)
On Wed, Jan 4, 2017 at 11:52 AM, technazz<EMAIL_ADDRESS>wrote:

Here is the log. Looks like a decoder issue?
sagetvclient_0.txt
https://github.com/google/sagetv/files/685740/sagetvclient_0.txt
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/232#issuecomment-270469149, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDAxT3DLSblc53nsI9v-t1ujQQ-mfks5rO_h7gaJpZM4LWc1o
.

--
Jeffrey Kardatzke
<EMAIL_ADDRESS>Google, Inc.

I guess not. I dont use my client on the server at all. I was just doing some remote testing from work. What decoder should I install? Its been years since i had to deal with an decoder issue.

LAV Filters are popular these days.

You probably don't need to install another decoder...just select Default
for the Video Decoder...or use the Microsoft one. The one you had selected
was an audio decoder...so it definitely won't work.
On Wed, Jan 4, 2017 at 12:12 PM, Joseph Shuttlesworth <
<EMAIL_ADDRESS>wrote:

LAV Filters https://github.com/Nevcairiel/LAVFilters/releases are
popular these days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/232#issuecomment-270473904, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDB2eS9fFisHtJ-mN7H8B1Tt2SUJhks5rO_0WgaJpZM4LWc1o
.

--
Jeffrey Kardatzke
<EMAIL_ADDRESS>Google, Inc.

sagetvclient_0.txt
Tried LAV and Microsoft and they both had an exception. I will try the HD-300 in a few hours when I get home.

@Narflex I was assuming Windows 10 was being used which has been reported to not have many built in decoders.

@narflex the HD 300's play the live video fine.  Has to be a decoder problem on my client that I'm not to worried about because it's headless


iotdb-web-workbench 1.1.0 verson code

We are very excited to announce the upcoming release of IoTDB-WorkBench 1.1.
With this release, many aspects were improved and some easy-to-use features
were added as follows:
Overall optimization:

We change the product name to IoTDB-WorkBench.
Capitalize all function names.
Use full name of storage group, entity and measurement starting from "root".
Optimize prompts of error code to improve understandability.
Optimize font size.

Data list:

support representation and query of child entities.

Connection and account management:

Add role management.
allow rights being given to any name path.

Connection information display:

Show structures of storage groups and measurement in pictures,
supporting statistics and link jumps.

Entity and physical quantity:

Add alias of measurements.
Add choice of measurement compression options.
Add measurement tags.
Add measurement properties.
Optimize entrance of measurement modification

Instance data:

Add addition, deletion, modification, query, import and export of
instance data.

Self-help queries:

Fit query results to table width.
Support result windows dragging up and down.
Executing only selected SQL statements.
Add data importing and exporting.

Others:

You can commit any feedback of any problem.

Hi,

The Chinese words can only appear in Chinese documents (and you have to have a corresponding English document),
e.g., docs/zh/xxxx.md, docs/xxxx.md

in all source files, we should not use Chinese as it is unfriendly for other language developers (except for i18n resources files).

Chinese should not appear in Git commitlog message,

@SteveYurongSu  can you find some guys to review the codes?

Hi, I will merge this PR if there is no other questions tomorrow.
Then, we need to do a refactor to govern this repo to make it better to fit apache's standard.
Look forward to more contributions to this repo.
see discussion in https://lists.apache.org/thread/3c9vzkn964cc7pk4h6v7vm7y6hqs3otb


Search Icon Bug Fixed

when in mobile mode , we toggled from dark mode to light mode , the search button was having a bug that was fixed.

when in mobile mode , we toggled from dark mode to light mode , the search button was having a bug that was fixed.

Hi @Mayank77maruti , do try to mention the issue number you've solved. That helps in closing that issue as completed.

I would make sure to put the issue number from the next time onwards.

Thanks for your contribution! :)


Use new style of driver download from connection

Using two step build.

When all the 1 - 6 PRs are merged.


woocommerce template overrides not working

Normally to override Woocommerce template files you can really simply do that by copying woocommerce/templates into your theme folder and renaming it woocommerce.
With FoundationPress this does not work. I've confirmed that it does work with, for instance, the default wordpress themes.  Any idea's why? this would greatly improve my workflow.
Thanks!

Maybe this has something to do with the renaming of hooks in library/cleanup.php on line 251. Not able to test at the moment.

Probably related to https://github.com/olefredrik/FoundationPress/issues/601

Any updates? Still not working

Just a thought:
https://docs.woothemes.com/document/template-structure/
Especially this part:
"Note: When creating woocommerce.php in your theme’s folder, you will be unable to override the woocommerce/archive-product.php custom template in your theme, as woocommerce.php has priority over all other template files. This is intended to prevent display issues."

@Eccola That's correct. I wonder if this issue should be marked as solved.


Replaced _.pluck with _.map because of Lodash 4.0.0

Lodash 4.0.0 deprecated _.pluck in favor of _.map which has the same behavior.
From this

Removed _.pluck in favor of _.map with iteratee shorthand:
var objects = [{ 'a': 1 }, { 'a': 2 }];
// in 3.10.1
 _.pluck(objects, 'a'); // → [1, 2]
 _.map(objects, 'a'); // → [1, 2]
 // in 4.0.0
 _.map(objects, 'a'); // → [1, 2]

Thanks! :+1:

Good to know!

That was a swift merge ! Thanks !

No problem. I was happy you pointed it out early!


78 | Subsets | Java

Title - Subsets
What will change - Java Solution added for the Problem. Runtime: 0 ms, faster than 100.00% of Java online submissions for Subsets.
Type of Issue -

[x] Adding New Code

Programming Language

[x] Java

@SSKale1 @Yashica7 Can you please assign this to me.

@SSKale1 @Yashica7 can you pls assign me this one

@ankitvd6 Cooldown for sometime we'll assign this one to @abhay27chauhan

@ankitvd6 Cooldown for sometime we'll assign this one to @abhay27chauhan

Hahaha.. Sure @SSKale1 no issues.


[TS migration] Migrate 'AnonymousReportFooter.js' component to TypeScript

Details

[TS migration] Migrate 'AnonymousReportFooter.js' component to TypeScript
Fixed Issues

$ https://github.com/Expensify/App/issues/25058
PROPOSAL: N/A
Tests

[x] Verify that no errors appear in the JS console

For Web/Mobile web/Desktop:

Open the app and logout if logged in.
Open any public chat room, example: https://dev.new.expensify.com:8082/r/3504895439653267
Verify that the footer of the chat looks okay.

Android:

Open the app and logout if logged in.
Put the app into the background.
In the terminal run npx uri-scheme open new-expensify://r/3504895439653267 --android, it can take a couple of seconds for the app to open the screen.
Verify that the footer of the chat looks okay.

iOS:

Open the app and logout if logged in.
Put the app into the background.
In the terminal run npx uri-scheme open new-expensify://r/3504895439653267 --ios, it can take a couple of seconds for the app to open the screen.
Verify that the footer of the chat looks okay.

Note:
If you have any problems with the steps above, you can also

Turn isAnonymousUser flag into true.  const isAnonymousUser = true;
Open any public chat room.
Verify that the footer of the chat looks okay.

Offline tests

N/A
QA Steps

[x] Verify that no errors appear in the JS console

For Web/Mobile web/Desktop:

Open the app and logout if logged in.
Open any public chat room, example: https://dev.new.expensify.com:8082/r/3504895439653267
Verify that the footer of the chat looks okay.

Android:

Open the app and logout if logged in.
Put the app into the background.
In the terminal run npx uri-scheme open new-expensify://r/3504895439653267 --android, it can take a couple of seconds for the app to open the screen.
Verify that the footer of the chat looks okay.

iOS:

Open the app and logout if logged in.
Put the app into the background.
In the terminal run npx uri-scheme open new-expensify://r/3504895439653267 --ios, it can take a couple of seconds for the app to open the screen.
Verify that the footer of the chat looks okay.

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/stitesExpensify in version: 1.4.7-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.7-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Platformio folder structure

Hello,
I'm suddenly have a build error of this library. Platformio tries to buid test folder (at least) and does not find ArduinoUnitTests.h files.
Reading the platformio documentation, it seems to expect the header files in subfolder include and sources in src. Otherwise it will build everything, which is actually doing.
Are you aware of this ? An idea where I could be wrong ?
thanks

All my libraries follow the (old) Arduino guidelines which have the .cpp and .h in the root folder. The separate src folder is only mandatory when different platforms have their own set of code.
Wrt testing I use a GitHub workflow for testing which apparently has conflicting requirements. Never wrote tests for the platformio unittest in any of my libs.
Q1: are there actual problems in the library that blocks your projects?
At the moment I am upgrading the build workflow in all the libraries. I will look if and how I can move sources to the src folder. Will give it a try in this lib later today.
Would you be able to do some testing as I do not use platformio (only pushed my libs there on request)

Read the platformIO specs and the .h / .cpp file are OK in the root folder but it is recommended in a src and include folder.
development branch created to get github build-CI updated first.

build-CI updated merged in master - will not be a new release as functional there is no change

Created a pio branch to check how much work it would be.
Get failures all over - mainly with include paths.
Conclusion:
This will be quite some effort and it would break builds resulting in lot of questions / new issues.
So for me moving to src / include is a no go.
(Given that I would need to do this for ~130 libraries in the end => this would mean weeks or even months of effort with no gain - just work imho)

Thanks Rob,
I understand, that's kind of big stressful code review. I may had an upgrade of platformio or something else outside of my sources which cause this, I also have similar issue with another lib. (Even going back in versioning I got the same error)
So I think I'll duplicate the source in the project to check, then maybe I'll fork the project in github. More or less only
(Anyway, thank's for the lib)

Overriding src and srcFilter properties in the library.json solve my issue. I don't know if this will help you.
  "name": "PCF8574",
  "keywords": "I2C, PCF8574, PCF8574A, IO, shift, rotate, readButton, toggle, reverse",
  "description": "Arduino library for PCF8574 - 8 channel I2C IO expander, implements shift rotate.",
  "authors": [
    {
      "name": "Rob Tillaart",
      "email"<EMAIL_ADDRESS>      "maintainer": true
    }
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/RobTillaart/PCF8574.git"
  },
  "version": "0.3.2",
  "license": "MIT",
  "frameworks": "arduino",
  "platforms": "*",
  "srcDir": ".",
  "srcFilter": "-examples -test"
}

So I think I'll duplicate the source in the project to check, then maybe I'll fork the project in github. More or less only

That is always an option.

Overriding src and srcFilter properties in the library.json solve my issue. I don't know if this will help you.

The github build system uses library.properties (from the arduino lib mgr) for metadata.

Never mind, my build options were wrong I was using --target Z_DUMMY_TARGET. Using Production solved my errors.

Good to hear it has been solved, thanks for letting me know!


Slider that displays the lower and upper bound

hey @fonsp I think I've got the slider mostly working but I am not able to bind the slider values to a Julia variable. How exactly does the bind macro work and how can I get it to work with my slider?

Have a look at the rectangle drawing widget in the Interactivity sample notebook :)


DefaultValue missing for @RequestBody in swagger ui 2.4

After moving from com.mangofactory swagger v1.0.2 to springfox swagger v2.4, defaultValue of @ApiParam for a @RequestBody of a POST or PUT request is missing in swagger ui.
For the following method in my controller
@RequestMapping(method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)
    @ApiOperation(value = "Create a new Project", notes = "Create a new Project.")
    @ResponseStatus(value = HttpStatus.ACCEPTED)
    @ApiResponses(value = { @ApiResponse(code = 400, message = "Bad request") })
    public Project create(@RequestBody @ApiParam(value = "Project request object", defaultValue = "{"
            + "\n\"name\":\"Test-11\" , " + "\n\"description\":\"test Project11\" ,"
            + "\n\"from\":{\n\"source\":\"XYZ\" , " + "\n\"sourceId\":\"123\" ," + "\n\"stack\":\"STACK\" , "
            + "} , " + "\n\"to\": {\n\"source\":\"ABC\" , " + "\n\"sourceIdId\":\"123\" ,"
            + "\n\"stack\":\"STACK\" , " + "} , " + "\n\"usecase\":\"one\" , "
            + "\n\"entities\":[\"Test\"] , " + "\n\"offeringId\" :0 , "
            + "\n\"configurationProperties\" :[{\"name\" :\"testProperty11\" , "
            + "\n\"value\" : \"test\" , " + "\n\"id\" : 1 }," + "\n\"name\" : \"newProperty-11\" , "
            + "\n\"value\" :\"xyz11\" , " + "\n\"id\" : null}]," + "\n \"idType\" : \"CUSTOMER\" , "
            + "\n \"transformer\" : null , " + "\n \"status\" : null }") Project project)
            throws BaseHttpException {

Below swagger.json is generated which does not have a defaultValue
     {
            "in": "body",
            "name": "project",
            "description": "Project request object",
            "required": false,
            "schema": {
              "$ref": "#/definitions/Project"
      }

Could you try in 2.5.0?

Will take a look

I'm having the same issue with @ApiImplicitParam on a body parameter.

@ApiImplicitParam is for things that are implicit for e.g. headers that are not on the parameter list or cookies etc.

Ok, right, its the same with @ApiParam. I actually looked into the swagger spec and when the parameter in question is a body parameter ("in": "body") the default should appear in the schema object, under the "definitions" property of the spec, instead of the "parameters" property.
So the default should be returned like this:
"parameters": [
  {
    "in": "body",
    "name": "request",
    "description": "Request object",
    "required": true,
    "schema": {
      "$ref": "#/definitions/Request"
    }
  }
]

And then on the "definitions" property:
"definitions": {
  "Request": {
    "default": "the default value",
    "example": "an example",
    "properties": { ... }
  },
}

See also:

http://swagger.io/specification/#parameterObject
http://swagger.io/specification/#schemaObject

Same problem here. The body is not being loaded when providing the default value.

Is there a way to load the JSON representation from an instance of the Input class?

It's too cumbersome to add an entire JSON input, specially if the input is a very large payload.

Is there any workaround for this? I really need this ASAP :(

spring fox dependency
  compile "io.springfox:springfox-swagger2:2.5.0"
  compile "io.springfox:springfox-swagger-ui:2.5.0"

SpringBoot Controller Config
@Controller
@RequestMapping("/${publisher.api.version}")
public class MatrixFileControllerSwaggerConfig {

  @Autowired
  private MatrixFileController controller;

  // stackoverflow.com/questions/352599/how-can-i-make-eclipses-autoformatter-ignore-a-section-of-code/3345289#3345289
  /* @formatter:off */
  private static final String JSON_INPUT =
      "{"
      + "\"appName\": \"publisher\","
      + "\"profilesSequence\": ["
        + "\"env\","
        + "\"dc\","
        + "\"onboard\""
       + "],"
      + "\"sigVersions\": [\"V2\"],"
      + "\"outputTypes\": [\"yml\", \"json\"],"
      + "\"profiles\": [{"
        + "\"id\": \"env\","
        + "\"descriptions\": ["
          + "\"dev\","
          + "\"qal\","
          + "\"e2e\","
          + "\"prf\","
          + "\"prd\""
         + "]"
       + "},\" {"
        + "\"id\": \"dc\","
        + "\"descriptions\": ["
          + "\"qydc\","
          + "\"lvdc\","
          + "\"aws\""
         + "]"
       + "}, {"
        + "\"id\": \"onboard\","
        + "\"descriptions\": ["
          + "\"onboard_preprod\","
          + "\"onboard_prod\""
         + "]"
       + "}]"
     + "}";
  /* @formatter:on */

  @ApiOperation(value = "Calculates the files to be generated by a given Matrix File.",
      notes = "By providing the contents of a .matrix*.json file, this api calculates all the files that will be"
          + "published in the destination.",
      consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
  @ApiResponses(value = {@ApiResponse(code = 400, message = "Bad request", reference = "When the matrix is invalid")})
  @RequestMapping(value = "/matrix/files", method = RequestMethod.POST)
  public ResponseEntity<MatrixFilesResponse> matrixFiles(
      @ApiParam(value = "Configuration Matrix", required = true,
          defaultValue = JSON_INPUT) @RequestBody ConfigMatrix configMatrix,
      @ApiParam(value = "Label / Github Branch", required = false,
          defaultValue = "master") @RequestParam(required = false) String label,
      @ApiParam(value = "S3 bucket name", required = false,
          defaultValue = "bucket-name") @RequestParam(required = false) String s3Bucket) {

    return controller.handle(configMatrix, label, s3Bucket);
  }
}

@dilipkrish Any workaround for this issue?

@marcellodesales default values are not applicable for body parameters. They are only available for form/query/cookie/header

@dilipkrish According to http://swagger.io/specification/#parameterObject there can be one body parameter.

Why couldn't we provide a facility for such?
Knowing the the APY takes a body, why couldn't you provide a serializer for a given instance of the body object as the default value?

Since we use the objects provided by swagger-core you might want to create an issue there.

@dilipkrish The developer from Swagger Core commented out on this: https://github.com/swagger-api/swagger-core/issues/1844#issuecomment-246852307

Regarding the general question - body parameters can have default values.
The Schema Object has a default field in it.

@marcellodesales I responded in the ticket

Why is this issue closed?
I don't think there has been a resolution to 'nsaxena's issue.
We migrated from Swagger 2.4.0 to 2.5.0 and @RequestBody annotated elements, in POST and PUT endpoints are not detected nor shown in Swagger as input parameters.
Why is that? Any configuration should be added or what?
@dilipkrish Please assist

@martin3361 No idea whats happening, but at the very least you should try with 2.6.0 which is the latest released version. If you think there is still a problem, please submit a new issue with more details

With 2.6.0 still not working, even some @PathVariable annotated parameters were invisible as well, even worse

@martin3361 please open a new issue with more details so I can try to help.

Hi
I am using spring boot. Version of springfox-swagger2 is 2.6.1 and springfox-swagger-ui is 2.6.1. Facing the same issue. Is there any solution for that?  For headers it is working fine.
`@RequestMapping(value="/simplePost2",method= RequestMethod.POST,headers="content-type=application/json")
@ApiOperation(value = "simplePost2", notes = "API to demonstrate post request")
@ApiResponses({
@ApiResponse(code = 200, message = "Success"),
@ApiResponse(code = 404, message = "Invalid token"),
@ApiResponse(code = 405, message = "Missing mandatory fields"),
@ApiResponse(code = 501, message = "Failure")})
public org.json.simple.JSONObject simplePost2(@ApiParam(value = "json", required = true,defaultValue = "{\"id\": \"1\",\"deviceToken\":\"1\"}",name = "json")@RequestBody org.json.simple.JSONObject json,
		@ApiParam(name ="securityToken",value = "securityToken",defaultValue = "7d0fcbca-d6f0-4f29-b19f-2f8fe4e0f730" )@RequestHeader String securityToken,
		@ApiParam(name ="userId",value = "userId",defaultValue = "1" )@RequestHeader String userId) {

	//JSONObject response = new JSONObject();
	return json;
}`

Default values are not supported on request body parameters

Hi @dilipkrish ,
It was working fine with com.mangofactory lib.  Then how to give some predefined value of json for request body.

It is via examples I would presume. But default bodies are not supported. Mangofactory is based on swagger 1.2.

In this thread , it mentioned like examples also won't work.

Tried following way no luck :(
``public Driver createDriver(@RequestBody @ApiParam(examples = @Example({ @ExampleProperty("{\n" +
"  "ca`

Its not implemented yet (see #853 )

Hi Everyone, I too struggled a lot setting default values for request body params initially, however Springfox provide @ApiModelProperty which can be used to set the default values. - @ApiModelProperty(required=true,value="deviceToken",example="123")
Instead of using a JSON return object if you return a POJO and annotate the POJO fields with @ApiModelProperty and set the example attribute, swagger ui and yaml will contain the default values
For example:
public org.json.simple.JSONObject simplePost2(@RequestBody POJO pojo,
@ApiParam(name ="securityToken",value = "securityToken",defaultValue = "7d0fcbca-d6f0-4f29-b19f-2f8fe4e0f730" )@RequestHeader String securityToken,
@ApiParam(name ="userId",value = "userId",defaultValue = "1" )@RequestHeader String userId) {
	//JSONObject response = new JSONObject();
	return json;

POJO Class:
`@ApiModel(value = "pojo", description = "Model description")
public class POJO{
@ApiModelProperty(required=true,value="id",example="123456")
    private String id;

@ApiModelProperty(required=true,value="deviceToken",example="123")
private String deviceToken;

`
Swagger.yaml : will contain the default values under definitions
definitions:
pojo:
type: object
required:
- id
- deviceToken
properties:
id:
type: string
example: '123456'
description: id
deviceToken:
type: string
example: '123'
description: deviceToken
description: Model description


Text change for F&F screen.

Add a Contact: Add a F&F contact or invite someone as their Bitcoin Sherpa
Gift Sats: Send someone sats with a link. Get it back if not claimed

Text is different on app.
-Tested on dev app v1.7.9(315)


Module logs not available, client-side error with cached logs size

Rancher Server Setup

Rancher version: v2.6.5
Installation option (Docker install/Helm Chart): Docker

User Information

What is the role of the user logged in? Admin

Describe the bug
Not available logs of pods
To Reproduce

Open any pod
Click "View Logs"
Open logs settings
Change "Show the last" to any value (not "30 Minutes")
Change "Show the last" to "30 Minutes"
Refresh page (F5 / Command + R)

** HOW WE FIX IT **
We find only one way to fix this error, delete the user and re-create it in rancher.
Result
Logs tab not show logs and get error in web developer console:

Expected Result
See logs of pod

Screenshots

Hello budy, how are you?
I have the same problem.
Your resolution didn't work in my case, if I reload the page the bug happens again.

Follow Workaround
kubectl delete preferences.management.cattle.io -n u-xxxxxx logs-range
Fix my case!

We are also seeing this issue on Rancher 2.6.6. We're using AD/LDAP auth. Only users that change the "Show the last" option seem to be affected. Deleting their individual user in Rancher and having them re-login to re-create their user in Rancher resolves (until they use the "Show the last" option again).


leaflet-heat + leaflet-1.0.0-rc1 & pinch zoom

Hello all,
I'm trying out leaflet-heat, and would like to work with the 1.0.0-rc1 version of leaaflet.  So far, pretty much everything is working fairly well, except that the pinch zoom of a leaflet-heat layer on a mobile device does not animate with the rest of the map.  It works fine with leaflet-0.7.7.
I'm just wondering if someone knows what I would need to change in the leaflet-heat source to make it play nice with leaflet 1.0.0...any suggestions?

Here's a sample - open it on an iPad, other touch device...then try a pinch zoom:
http://playground-leaflet.rhcloud.com/tohi/1

Moved to https://github.com/Leaflet/Leaflet.heat/issues/55


What does the slider class do on the carousels?

Discussed in https://github.com/twbs/bootstrap/discussions/34881

Originally posted by AnupamKhosla September  2, 2021
Every carousel in bootstrap need to have the .slider class. I assume it is used in the JavaScript code to add and remove carousel-item-next and carousel-item-left. Searching the css file .slider doesn't apply any styling whatsoever. It is a bit confusing to see a class added with no explanation in the docs, which doesn't apply any style.
Shouldn't it be mentioned in the docs that .slider is a mandatory class for the carousel to function properly?

Please stop opening duplicate issues from discussions :).
Also, please use the tools GitHub provides to look into the code. We don't use .slider, we use .slide in our JS. https://github.com/twbs/bootstrap/blob/f4a1a35cf245566018b109af7b56d69cd6f13975/js/src/carousel.js#L67


Fix: Swoole coroutine http server

This is proper usage of coroutine http server in Swoole. It prevents error when trying to apply v2 in executor

openruntimes-executor  |
openruntimes-executor  | Warning: Swoole\Server::start(): eventLoop has already been created, unable to start Swoole\Http\Server in /usr/local/vendor/utopia-php/framework/src/Http/Adapter/Swoole/Server.php on line 65

Merging this as its required for proper V2 functionality. This PR was made to fix bugs found during QA


[Swagger] Update namespace endpoints

Catapult REST will introduce the following breaking changes in the next release:

/namespace/names endpoint will be deleted.
/mosaic/names will return the alias names currently attached to an array of mosaicIds.
/account/names will return the alias currently attached to an array of accounts.

1 and 2 documented in #131


Handle exceptions during worker thread creation

Catch exceptions in worker thread creation and update the counts to reflect that the worker thread was not created.

@jkoritzinsky,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Fix windows bugs

WIP. Created the PR for review.

cc @alexcrichton

To be honest I don't really have an idea what's going on here. What are the bugs being fixed again?
I'm mostly pretty uneasy about this Arc<UnsafeCell<EventInner>> where it's sort of optionally locked here and there. There isn't really any documentation about what's going on there, when the locks are necessary, or what the access patterns are. Seems like it may be easy to mix up in later refactorings?


Alternative method for chaotic saddles in high dimensions

I just came across this paper:
https://doi.org/10.1063/1.4973235

Very interesting. It appears to be an alternative method to the one @reykboerner is using in PR #61 . We should implement it here at some point in the future.
Also relevant for @raphael-roemer .

Hi! At some point I was about to push a PR to Chaostools with the stagger and step method [Sweet et. al. (2001)].
I have a code to reproduce one  figure of the original paper:

I leave the code here. It is undocumented and unoptimized. But it's a starting point!
using DynamicalSystemsBase
# using ChaosTools
using LinearAlgebra:norm
using Random
using Plots

function F!(du, u ,p, n)
    x,y,u,v = u
    A = 3; B = 0.3; C = 5.; D = 0.3; k = 0.4;
    du[1] = A - x^2 + B*y + k*(x-u)
    du[2] = x
    du[3] = C - u^2 + D*v + k*(u-x)
    du[4] = u
    return
end

function stagger_trajectory(x0 ,ds, δ, Tm, R_min, R_max)
    integ = integrator(ds)
    T = escape_time!(x0, integ, R_min, R_max)
    xi = deepcopy(x0)
    while T < Tm
        Tp = 0; xp = zeros(length(x0))
        while Tp ≤ T
            r = rand_u(δ,length(x0))
            xp = xi .+ r
            while _is_in_grid(xp, R_min, R_max) == false
                r = rand_u(δ,length(x0))
                xp = xi .+ r
            end
            # @show xp
            Tp = escape_time!(xp, integ, R_min, R_max)
        end
        xi = xp; T = Tp
    end
    return xi
end

function rand_u(δ, n)
    a = -log10(δ)
    s = (15-a)*rand() + a
    u = (rand(n).- 0.5)
    u = u/norm(u)
    return 10^-s*u
end

function stagger_and_step(x0 ,ds, δ, Tm, N, R_min, R_max)
    integ = integrator(ds)
    xi = stagger_trajectory(x0, ds, δ, Tm, R_min, R_max)
    δ = 1e-10
    v = Vector{Vector{Float64}}(undef,N)
    v[1] = xi
    @show xi
    for n in 1:N
        if escape_time!(xi, integ, R_min, R_max) > Tm
            set_state!(integ,deepcopy(xi))
            step!(integ)
        else
            Tp = 0; xp = zeros(length(xi))
            while Tp ≤ Tm
                r = δ*(rand(length(xi)).- 0.5)
                xp = xi .+ r
                while _is_in_grid(xp, R_min, R_max) == false
                    r = δ*(rand(length(xi)).- 0.5)
                    xp = xi .+ r
                end
                Tp = escape_time!(xp, integ, R_min, R_max)
            end
            set_state!(integ,deepcopy(xp))
            step!(integ)
        end
        @show xi = get_state(integ)
        v[n] = xi
    end
    return v
end

function escape_time!(x0, integ, R_min, R_max)
    set_state!(integ,deepcopy(x0))
    integ.t = 1
    x = get_state(integ)
    k = 1; max_step = 10000;
    while _is_in_grid(x, R_min, R_max)
        k > max_step && break
        step!(integ)
        x = get_state(integ)
        k += 1
    end
    return integ.t
end

function _is_in_grid(u, R_min, R_max)
    iswithingrid = true
    @inbounds for i in eachindex(R_min)
        if !(R_min[i] ≤ u[i] ≤ R_max[i])
            iswithingrid = false
            break
        end
    end
    return iswithingrid
end

# The region should not contain any attractors.
R_min = [-4; -4.; -4.; -4.]
R_max = [4.; 4.; 4.; 4.]

# Initial condition.
x0 = [(R_max[k] - R_min[k])*rand() + R_min[k] for k in 1:length(R_min)]

@show x0
df = DiscreteDynamicalSystem(F!, x0)
xi = stagger_trajectory(x0, df, 2., 30, R_min, R_max)
@show Tp = escape_time!(xi, integrator(df), R_min, R_max)

v = stagger_and_step(xi, df, 2., 30, 10000, R_min, R_max)
v = hcat(v...)'
plot(v[:,1], v[:,3], seriestype = :scatter, markersize = 1)

awesome thanks!!! @reykboerner is the stagger and step method the same as the one you are trying to implement?

These are different method. Stagger and step is more general I think and does not use the same idea. It is much slower because it involves some random search in a domain.

Oh okay. So then there are at least three methods:

What @reykboerner is implementing in #61
The "stagger and step", for which we have the draft code @awage left in this comment: https://github.com/JuliaDynamics/Attractors.jl/issues/118#issuecomment-1852129291
The method I outlined in the start of this issue, from the paper by Sala, Leitao and Altmann.

I will work on the code of the stagger and step and submit a PR. I don't know how well it works for ODEs.
There is another method for invariant set that is easy to implement but the results looks difficult to analyze:
https://www.ams.org/journals/notices/202206/noti2489/noti2489.html?adat=June/July 2022&trk=2489&galt=none&cat=feature&pdfissue=202206&pdffile=rnoti-p936.pdf
This is the Lagrangian descriptors method. You need to integrate forward and backward the dynamical system up to some time tau and do a simple transformation using a what they call a descriptor. You obtain a picture where the stable and unstable manifolds appear. But you have to extract the information from this picture with a processing.

cc @reykboerner have you seen this discussion?

Sounds interesting! I am not that familiar with these alternative algorithms (stagger-and-step method, algorithms by Sala et al.) but can add another potential candidate to the list: non-invasive feedback control
This is a way to stabilize unstable equilibria and thus explore them in simulation, as explained in Wuyts and Sieber 2023 (see Eq. 19 and Fig. 6) and Sieber, Omel’chenko and Wolfrum 2014. I may try applying this method in the future.


Updates for new Superface docs

Working PR for updates to the Superface documentation. Separating old world from the new.

No problem, thanks for checking - amending now
On Mon, 3 Jul 2023 at 14:40, Radek Kyselý @.***> wrote:

@.**** commented on this pull request.
Hey, great job with the new docs ❤
FYI I ran into superface auth command in multiple places and wanted to
let you know it's actually superface login
—
Reply to this email directly, view it on GitHub
https://github.com/superfaceai/docs/pull/115#pullrequestreview-1511114331,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAD6J2JWWC4QI6SUDXRXPLXOK4SBANCNFSM6AAAAAAZJBBQEU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Log Level GA (7/11)

Purpose of this pull request
Beta --> GA - Log level detection feature

Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1204613338792107

@kimsauce, since beta is complete, log-level needs to be added to sidebars.ts.

great catch!

@kimsauce, it looks like this PR is a duplicate of PR #2567.

@kimsauce, it looks like this PR is a duplicate of PR #2567.

Oh yeah, I saw that this morning! Just merged the two together.


Lots of errors

The description for FdoAttributes appears to have been cut off.
What WDF attributes should a driver set for UFX?
Please add SAL annotations to ALL the UFX APIs (not just this one) so we know which are input and output parameters!
The code example has HTML tags (&) in them, and needs considerably more detail.

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

ID: dcc517e9-3d65-2ca2-ad18-51d21ec8237e
Version Independent ID: 305df2b6-fb8d-6888-1735-7f257320668f
Content: UfxFdoInit function (ufxclient.h) - Windows drivers
Content Source: wdk-ddi-src/content/ufxclient/nf-ufxclient-ufxfdoinit.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @duncanmacmichael
Microsoft Alias: dumacmic

Hi @BrianCatlin,
I’ve created an internal work item for myself to investigate this with the USB team, and I’ll make a note here when I complete the changes. In the meantime, I’m closing the GitHub issue while it’s tracked in the bug. Thanks again for helping to improve the docs.


Home Assistant OS 2021.3.4 errors on setting up sengledapi

Describe the bug
The integration no longer works with Home Assistant OS
To Reproduce
Restart Home Assistant from the console controls menu
Expected behavior
Integration can control associated Sengled lights through hub
System configuration
System: Home Assistant OS
HA Version: 2021.3.4
SengledApi Version: v.0.2
configuration.yaml

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

binary_sensor: !include binary_sensor.yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
intent:
intent_script: !include intent_scripts.yaml
rest_command: !include rest_command.yaml
sensor: !include sensors.yaml
timer: !include timers.yaml
media_player:
  platform: mpd
  host: 192.168.XXX.XXX
  name: Local Media Player

# Smart Lights Control
sengledapi:
  username<EMAIL_ADDRESS>  password: VERY-SECRET-PASSWORD
  country: us
  wifi: true

home-assistant.log
Traceback (most recent call last):
  File "/config/custom_components/sengledapi/sengledapi/sengledapi.py", line 253, in async_do_request
    return await Request(url, payload).async_get_response(jsessionId)
  File "/config/custom_components/sengledapi/sengledapi/devices/request.py", line 57, in async_get_response
    data = await resp.json()
  File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1097, in json
    raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://life2.cloud.sengled.com/life2/server/getServerInfo.json')

Also, this same error {'Attempt to decode JSON with unexpected mimetype: text/html'') has happened at https://ucenter.cloud.sengled.com/user/app/customer/v2/AuthenCross.json in a failure. Here's the fuller logs from this new and different failure:
2021-03-22 08:31:34 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'sengledapi'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'sengledapi'
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Initializing Bulbs
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.request] SengledApi: Initializing Request
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi]
-------------------------------------------------------------------
Sengled Bulb Home Assistant Integration Created from Config
Version: v0.2
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/jfarmer08/ha-sengledapi
-------------------------------------------------------------------
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi] Creating new SengledApi component
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi.sengledapi.sengledapi] Sengled Api initializing.
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi.sengledapi.sengledapi] Sengled Api initializing async.
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi.sengledapi.sengledapi] Sengledapi: Login
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi.sengledapi.sengledapi] SengledApi: Login Request.
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.request] SengledApi: Sengled Request initializing.
2021-03-22 08:31:53 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.request] SengledApi: Get Login Response async.
2021-03-22 08:31:55 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.request] SengledApi: Sengled Request initializing.
2021-03-22 08:31:55 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.request] SengledApi: Get Login Reponse.
2021-03-22 08:31:55 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for sengledapi doing I/O at custom_components/sengledapi/sengledapi/devices/request.py, line 64: r = requests.post(self._url, headers=self._header, data=self._payload)
2021-03-22 08:31:55 ERROR (MainThread) [homeassistant.setup] Error during setup of component sengledapi
Traceback (most recent call last):
File "/config/custom_components/sengledapi/sengledapi/sengledapi.py", line 261, in async_do_login_request
return await Request(url, payload).async_get_login_response()
File "/config/custom_components/sengledapi/sengledapi/devices/request.py", line 76, in async_get_login_response
data = await resp.json()
File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1097, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://ucenter.cloud.sengled.com/user/app/customer/v2/AuthenCross.json')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/config/custom_components/sengledapi/__init__.py", line 54, in async_setup
await sengledapi_account.async_init()
File "/config/custom_components/sengledapi/sengledapi/sengledapi.py", line 53, in async_init
self._access_token = await self.async_login(
File "/config/custom_components/sengledapi/sengledapi/sengledapi.py", line 78, in async_login
data = await self.async_do_login_request(url, payload)
File "/config/custom_components/sengledapi/sengledapi/sengledapi.py", line 263, in async_do_login_request
return Request(url, payload).get_login_response()
File "/config/custom_components/sengledapi/sengledapi/devices/request.py", line 65, in get_login_response
data = r.json()
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.8/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.8/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

It looks like occasionally the integration is being sent HTML instead of JSON, perhaps, and that's causing an issue?
Thank you for maintaining the integration. It's very useful.

Adding information about this bug, newly discovered: it only seems to happen when there is an element that comes before the sengledapi block in configuration.yaml that is formatted as a block, rather than as an include. If that element comes after the sengledapi block, the integration loads without issue or throwing an error. I don't know why this is the case, but so long as the sengledapi block is first, it's happy.

I dont think i understand. What do you mean by "so long as the sengledapi block is first?"

in configuration.yaml, if
sengledapi:
  username<EMAIL_ADDRESS>  password: VERY-SECRET-PASSWORD
  country: us
  wifi: true
```
is the first text after all the standalone integrations and those with !includes after them (so, from default:config to timer: include !timers.yaml in this file), then the integration throws no errors and works as expected, regardless of what comes below the sengledapi block. But if, as in the configuration above, there's any element with indents, such as:

```
media_player:
  platform: mpd
  host: 192.168.XXX.XXX
  name: Local Media Player
```

above the sengledapi code, then the integration fails to load and throws out errors that it's getting 'text/html' when it is expecting JSON.

Does that make things any clearer?

ETA: Or...not. I just tried to reproduce the error with a known good code with indent before the sengledapi code, and rather than throwing errors, Home Assistant smiled and booted all the integrations without any issues. It was probably a configuration error that was causing the issues, then, rather than the component itself.
Never mind, sorry about that.
Home Assistant does, however, ask me to let you know that
No 'version' key in the manifest file for custom integration 'sengledapi'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'sengledapi'
So, in the next update, whenever it may be, we'll need a version key in the manifest.


AzureOpenAIChatModel not working and not able to pass llm model

How can i pass llm model when initializing AzureOpenAiChatModel?
i hit 404 resource not found when use the AzureOpenAIChatModel
Caused by: dev.ai4j.openai4j.OpenAiHttpException: {"error":{"code":"404","message": "Resource not found"}}
	at dev.ai4j.openai4j.Utils.toException(Utils.java:8)
	at dev.ai4j.openai4j.SyncRequestExecutor.execute(SyncRequestExecutor.java:28)
	at dev.ai4j.openai4j.RequestExecutor.execute(RequestExecutor.java:59)

Sample code to reproduce
 AzureOpenAiChatModel model= AzureOpenAiChatModel.builder()
                .apiKey(token).baseUrl(baseUrl)
                .logRequests(true).temperature(0.0).apiVersion("<proper_version>").build();
        ChatMessage message = new UserMessage("Hello, How are you?");
        StopWatch stopWatch = new StopWatch();
        //execute and get the response
        stopWatch.start();
        Response< AiMessage> response = model.generate(message);
        stopWatch.stop();

LangChain4j version: 0.24.0
Java version: 17

Hi @willyhalim how does your baseUrl look like?
Here is a proper format of it: https://{resource}.openai.azure.com/openai/deployments/{deployment}, you need to input a correct resource and deployment

@willyhalim do you need Azure OpenAI or OpenAI?

@jdubois could you please comment on this? Will new Azure SDK support this use case? Thanks

This looks a lot like what we do in our tests at https://github.com/langchain4j/langchain4j/blob/0c4d33ad9390c76a319602d6f66e574de42bd9aa/langchain4j-azure-open-ai/src/test/java/dev/langchain4j/model/azure/AzureOpenAiChatModelIT.java#L25 and yes, the endpoint is the URL where you deploy your models (for me it's something like https://judubois-xxxxx.openai.azure.com/), and then you can have as many deployment as you want on it (like gpt-35-turbo and dall-e-3)

As tomorrow there should be a new release with the new Azure OpenAI SDK instead, @willyhalim will you be able to check the new version? It's a full rewrite, and hopefully that will solve your issue.

@willyhalim 0.25.0 is available, please check if you still face the issue

Hello @jdubois, do you have any roadmap for incorporating support to connect to the organization Azure AI proxy endpoint from  langchain4j? This would involve utilizing a Bearer token and the organization proxy endpoint.
Thanks

Hi @DenisVoloshin with the latest release, that included a full re-rewrite with the migration to the Azure OpenAI SDK, this should work.
Otherwise please send more details, and if that’s not possible publicly you can reach me directly.

This issue seems solved, I am closing it now. Feel free to reopen if needed.


[RFC] mkDerivation: support version suffix, which is part of derivation nam…

mkDerivation: support version suffix, which is part of derivation name but is not part of meta.name.
Inspired by https://github.com/NixOS/nixpkgs/issues/73228
Helps with https://github.com/NixOS/nixpkgs/issues/74494
cc @AMDmi3 if this makes life easier for Repology.
cc @davidak
$ for x in \
     amarok dsseries purple-discord QuadProgpp mkl bazel-remote postgresql nix nixFlakes\
  ; do nix eval -f. $x.meta.name; done

Previous meta.name (published to Repology):
"amarok-2.9.0-20190824"
"libsane-dsseries-1.0.5-1"
"purple-discord-unstable-2018-04-10"
"QuadProgpp-4b6bd65f09fbff99c172a86d6e96ca74449b323f"
"mkl-2019.5.281"
"bazel-remote-2019-01-12"
"postgresql-11.6"
"nix-2.3.1"
"nix-2.4pre20191022_9cac895"

New meta.name:
"amarok-2.9.1pre"
"libsane-dsseries-1.0.5-1"
"purple-discord-2018.04.10"
"QuadProgpp-1.2.2pre"
"mkl-2019.5.281"
"bazel-remote-2019.01.12"
"postgresql-11.6"
"nix-2.3.1"
"nix-2.4pre"

Previous names:
"amarok-2.9.0-20190824"
"libsane-dsseries-1.0.5-1"
"purple-discord-unstable-2018-04-10"
"QuadProgpp-4b6bd65f09fbff99c172a86d6e96ca74449b323f"
"mkl-2019.5.281"
"bazel-remote-2019-01-12"
"postgresql-11.6"
"nix-2.3.1"
"nix-2.4pre20191022_9cac895"

New names:
"amarok-2.9.1pre20190824"
"libsane-dsseries-1.0.5-1"
"purple-discord-2018.04.10_9a97886"
"QuadProgpp-1.2.2pre_4b6bd65"
"mkl-2019.5.281"
"bazel-remote-2019.01.12"
"postgresql-11.6.p6"
"nix-2.3.1"
"nix-2.4pre20191022_9cac895"

@danbst Thanks for your effort.
What is the goal of having a version suffix?
The pre versions are not good because you don't know the next version until it is released. Even if it was announced, a patch release might be needed.
I don't like the YYYY.MM.DD syntax. ISO 8601 defines a standard that is commonly used. It can be recognized as a date and parsed by tools like repology. https://xkcd.com/1179/
Should the derivation name and meta.name differ? Might be less confusing if they don't.

@davidak
Version suffix is part of derivation name, which has special handling in nix-env -u. So if we update a package, but don't bump version (e.g. another Git revision), it should be reflected in name.
But I don't think this nuance should be reflected in Repology. Who even cares about explicit Git revision of a package in repology? That's why meta.name is cleaned up.

The pre versions are not good

I just stick to what nixUnstable uses. Sure, we don't know what next version will be. The alternative is to use 2.3.1+ to relfect we are on explicit revision based upon 2.3.1 version. Would that be better?

I don't like the YYYY.MM.DD syntax. ISO 8601 defines a standard that is commonly used. It can be recognized as a date and parsed by tools like repology. https://xkcd.com/1179/

This is also kinda stadard https://calver.org/ . If repology can recognize this as date, it is awesome, as this is exactly what we want (2019.1.1, 2019.01.01, 2019-1-1 and 2019-01-01 should all be same version).

Might be less confusing if they don't.

We have at least 1 case when meta.name != name, it is when we crosscompile. So I don't think it will hurt to have those different, especially as we publish meta.name.

Version suffix is part of derivation name, which has special handling in nix-env -u. So if we update a package, but don't bump version (e.g. another Git revision), it should be reflected in name.

The comment in https://github.com/NixOS/nixpkgs/issues/73228#issuecomment-552526517 states that it is not needed:

Nix can distinguish if a package changes based on the hash of the derivation generated by the expression, so it does not need such extra attribute.

(or do i understand it wrong?)

I just stick to what nixUnstable uses.

In this case we are upstream and the pre release version is similar to an official release. So not good to generalize it.

The alternative is to use 2.3.1+ to relfect we are on explicit revision based upon 2.3.1 version. Would that be better?

I think that is very intuitive for a user.
We could add the number of commits since the version (2.3.1+42), but we have to get it somewhere. A package maintainer should not have to count them. fetchFromGitHub gets a tarball when a revision is given, right? When the git repo would be cloned, git can give this information.
I don't know if there is a consensus how to describe unreleased versions best. As always i would get in contact to other distros maintainers since they have the same challenges. @AMDmi3 might also have some good insights. But i think we had this discussion before, here or in repology.

This is also kinda stadard https://calver.org/ .

Ah, yes. Might imply it's an official release. We still need some good word that it's an unstable package version.
And it could cause problems when you compare it to a semver version.

The comment in #73228 (comment) states that it is not needed:

Nix can distinguish if a package changes based on the hash of the derivation generated by the >>expression, so it does not need such extra attribute.

(or do i understand it wrong?)

that is correct, however we have plenty of cases when hash changes, but package source - doesn't. If we have version (source version) and patches info in name, then external tools (such as nix-diff) can show that not only hash had changed, but some patches were also added.

Can we please get rid of the dot stuff and use ISO-dates? calver looks like a BS standard, because it’s basically: “people use different things, so it’s fine to use whatever”. That’s counterproductive …

Is this PR still relevant or is it abandoned?

@uri-canva this proposal of change, it's definitely not about being merged as is. But yeah, given I don't have enough willpower to make it proper RFC, let's close


Auto regenerate openapi remote config

Here is my test config:
[
      'redocusaurus',
      {
        specs: [
          {
            spec: 'http://localhost:3001/api/doc',
            route: '/api/',
          },
        ],
      },
    ]

http://localhost:3001/api/doc serves the openapi config.
It works great on the initial page load.
But when I refresh the page, it doesn't reload the (updated) openapi config. I need to kill the app and restart docusaurus start.
Is it expected?

Yes, since docusaurus is a static site generator it will build the site at build time. But I guess for DX we can load it at runtime when using start rather than build


Make sure serializers include the config.h

The files should be self-contained and include the header that defines the windows-specific O_BINARY.
(Currently that only works accidentally if compiled with cmake)

Compilation units should always be self-contained and include everything it needs, in particular when it is to be distributed - you can't control how people will compile a library, so force-includes on the command line is not really used for that.

But, that's exactly how config.h is included in the project.
None of the files include config.h explicitly. This is not limited to serializer only implementation.

Right, but only the serializers are using it currently, that is why I included it there. It really should be included in all places.

Same is true for Surelog project as well.

Yes, I noticed that, and I will fix that in a later PR there :)

I agree that headers should be explicitly included

Yes. Let's apply it always :)

but, in my opinion, configuration headers are out of that scope.

Including config headers is the only way to guarantee what we need. So it should also be considered in the same scope.
For the reason that you can't enforce any way for users of the library to use that particular way, this is needed.

On top that, config.h doesn't actually exist. It is generated by CMake, and so any build system will have to do something similar.

config.h is generated and will be distributed along with the other headers, so it will work well when included in files.
Requiring to include via the command line is somewhat orthogonal to that.


Feature Request: Control CFG scale

Would great of Parseq could manage the CFG scale schedule. In many situations, CFG is just as important as controlling strength!

Hi! CFG scale is already available as scale. Sorry if this is confusing.

Thank you. I would only recommend adding the words "CFG" in the Readme somewhere for people who ctrl+f search for it. Cheers


Added conversion of eta xsi related values

Added conversion of the following elements:

eta/xsi values -> eta/xsi iso lines
elementUIDs to -> eta/xsi iso lines
spar positions -> eta xsi rel height points

@bernhardmgruber Very cool your contribution. Could you please just add function comments to

convertElementUidToEtaAndUid
convertEtaXsiRelHeightPoints

that describe the xml transformation that is performed? This is just xml transform, right? Do we (later) still need to recompute the coordinates (eta/xsi), since the coordinate system of the component segment has changed?

I'll add comments tomorrow. Currently, the code just transforms the XML and yes, we still need a recomputation of the eta and xsi values for the new component segment space.

@bernhardmgruber Can I merge?
The only drawback with the code right now is, that TiGL cannot open the wing structure anymore ;) (Which is still based on CPACS 2)

you can merge it!
regarding the wing structure, it loads my test files just fine :S

regarding the wing structure, it loads my test files just fine :S

Yes, it loads it, but I get many warnings due to missing eta values.

@bernhardmgruber BTW, you can directly work in this repository. I added you as a contributer.

the errors when loading are probably because your spar positions haven't been updated to the lastest CPACS yet. spar positions now contain an etaXsiRelHeightPoint instead of eta and xsi values. this is correctly produced by script now, but TiGL3 cannot read this yet (our internal TiGL has already been updated).


Add the third parameter to all addEventListener and removeEventListener ...

addEventListener requires 3 arguments otherwise older browsers throw exceptions.
MDN claims its optional, but required for "broad compatibility":
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
Heres an example of issues happening on iPhone:
http://www.sencha.com/forum/showthread.php?139339-quot-Not-enough-arguments-quot-error-caused-by-Ext.History
Other places around the web:
teddyzeenny/rsvp.js@1c88363
We think we're seeing these errors in CreativeLive's New Relic Browser Dashboard.

looks good to me


Implement rww-play Pointed Graph like interface layer for Store interface

A Pointed Graph like interface to traverse graphs would help to write clean JS code.

See also: https://github.com/tinkerpop/gremlin/wiki

Implemented with Clownface


openssl-1.0.1p: can't apply darwin-arch.patch

building path(s) ‘/nix/store/1mhv2lvkhldq6qczfvqdj5bpq6mzc64p-openssl-1.0.1p-man’, ‘/nix/store/drnb6mdjyj9fjsakdcwxmjvy304m0k8l-openssl-1.0.1p’
unpacking sources
unpacking source archive /nix/store/sjy2qn8nd1sv55wyg9g911lhlwbi1lzn-openssl-1.0.1p.tar.gz
source root is openssl-1.0.1p
patching sources
applying patch /nix/store/bbhs0qhvi6blcrzhmm6zgq7790lavmkg-darwin-arch.patch
patching file Configure
Hunk #1 FAILED at 638.
1 out of 1 hunk FAILED -- saving rejects to file Configure.rej
builder for ‘/nix/store/hacwcdnnf0qdiy3djxkikj05gir7f3zi-openssl-1.0.1p.drv’ failed with exit code 1

@peti @wkennington
this blocks me from testing https://github.com/NixOS/nixpkgs/issues/10136 what is also a dependency of another package i want to build.

How can Darwin build anything at all if the build of OpenSSL fails? Isn't that package in stdenv?

On Linux openssl isn't involved in building stdenv $ nix-store -qR $(nix-instantiate -A stdenv) | grep openssl, but it's still relatively mass-rebuild package.

Ah, my bad, on Darwin it is twice in build-time closure (adding --argstr system x86_64-darwin).

I can't reproduce this on master or the current nix-unstable channel. In particular, I have a different hash for openssl.
% nix-build -A openssl # on master
/nix/store/2wj126i82xxf338vraygpz44fpr4mz89-openssl-1.0.1p

Can you give some more information about your configuration?

Reproduced at the staging branch.
The last commit of openssl on master is at Jul 27, while it is at Oct 6 on staging.

i can download a binary now on unstable channel.
$ nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable
$ nix-env -i openssl-1.0.1p
installing ‘openssl-1.0.1p’
these paths will be fetched (0.95 MiB download, 1.27 MiB unpacked):
  /nix/store/8m9gany2pw1n7cxml39p50qspnd2qmif-openssl-1.0.1p-man
fetching path ‘/nix/store/8m9gany2pw1n7cxml39p50qspnd2qmif-openssl-1.0.1p-man’...

*** Downloading ‘https://cache.nixos.org/nar/0b1i48na8zqlq0bjizk5hzfx16iz31pz0lfzmzppmp48lv411xmz.nar.xz’ to ‘/nix/store/8m9gany2pw1n7cxml39p50qspnd2qmif-openssl-1.0.1p-man’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  977k  100  977k    0     0   272k      0  0:00:03  0:00:03 --:--:--  272k

building path(s) ‘/nix/store/ad085z55fpazvza6ka5a4kjfhlic790i-user-environment’
created 134 symlinks in user environment


Create default response file on first run when not specified

Closed in https://github.com/adamralph/dude/commit/cdae164424e4bee999f3f75305393aaf096a0171


jacoco: update and configure it properly

Jacoco is a great tool to check code coverage before submit a PR. So, let's update the jacoco-maven-plugin and configure it properly, because it's better to DEV check if the new code will pass the converage check before submit its PR.

@paulodamaso/z please, pay attention to this issue


HBASE-23230 Enforce member visibility in HRegionServer

A backport of #775 to branch-2.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 50s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 13 new or modified test files.

_ branch-2 Compile Tests _

:green_heart:
mvninstall
6m 48s
branch-2 passed

:green_heart:
compile
1m 10s
branch-2 passed

:green_heart:
checkstyle
1m 47s
branch-2 passed

:green_heart:
shadedjars
5m 18s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
0m 43s
branch-2 passed

:blue_heart:
spotbugs
4m  5s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
4m  1s
branch-2 passed

_ Patch Compile Tests _

:green_heart:
mvninstall
6m 29s
the patch passed

:green_heart:
compile
1m  7s
the patch passed

:broken_heart:
javac
1m  7s
hbase-server generated 1 new + 3 unchanged - 3 fixed = 4 total (was 6)

:broken_heart:
checkstyle
1m 44s
hbase-server: The patch generated 5 new + 286 unchanged - 41 fixed = 291 total (was 327)

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
shadedjars
5m 25s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
20m 21s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
javadoc
0m 40s
the patch passed

:green_heart:
findbugs
4m  7s
the patch passed

_ Other Tests _

:green_heart:
unit
172m 46s
hbase-server in the patch passed.

:green_heart:
asflicense
0m 34s
The patch does not generate ASF License warnings.

242m  1s

Subsystem
Report/Notes

Docker
Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/806

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 2ca3fa813acc 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-806/out/precommit/personality/provided.sh

git revision
branch-2 / d1864ae8af

Default Java
1.8.0_181

javac
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/artifact/out/diff-compile-javac-hbase-server.txt

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/artifact/out/diff-checkstyle-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/testReport/

Max. process+thread count
4251 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-806/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.


[APP] Cassandra

Support the installation of Cassandra for Kuberenetes
Expected Behaviour

arkade install cassandra would install Rabbitmq on Kubernetes
Are you a GitHub Sponsor (Yes/No?)
Check at https://github.com/sponsors/alexellis

[ ] Yes
[x] No

Thanks for raising this.

would install Rabbitmq on Kubernetes

This might be a typo: should install "Apache Cassandra" on Kubernetes.


Lottie animation is breaked on my app

Description
I try to integrate lottie in my app but i notice all lottiefile integration does not render animation correctly. Every lottiefile is break ( a simple check mark is not shown correctly. First, i thought it was due to lottiefile incompatibility but i found this tuto with a simple astronaut animation:
https://www.youtube.com/watch?v=fLbtTL0rOcU
I found the animation here:
https://app.lottiefiles.com/animation/822c47f1-f147-4114-97ba-dd9e4f2ef8d0?channel=web&source=public-animation&panel=download
And this is my render:

Steps to Reproduce
Just follow tutorial with this final code:
  <View flex={1} alignItems="center" justifyContent="center">
    <LottieView
      source={require('assets/lottiefiles/connector/connecting.json')}
      style={{ width: '80%', aspectRatio: 1 }}
      autoPlay
      loop
    />
  </View>

Expected behavior: [What you expected to happen]
correct render
Actual behavior: [What actually happened]
break render
Minimal reproduction
  <View flex={1} alignItems="center" justifyContent="center">
    <LottieView
      source={require('assets/lottiefiles/connector/connecting.json')}
      style={{ width: '80%', aspectRatio: 1 }}
      autoPlay
      loop
    />
  </View>

React Native Environment
System:
OS: macOS 14.3
CPU: (10) arm64 Apple M1 Max
Memory: 295.38 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.17.1
path: /var/folders/kl/1qr4bhg95671w9cjqmv8n5gr0000gn/T/yarn--1709496294946-0.6950116481454138/node
Yarn:
version: 1.22.19
path: /var/folders/kl/1qr4bhg95671w9cjqmv8n5gr0000gn/T/yarn--1709496294946-0.6950116481454138/yarn
npm:
version: 9.6.7
path: ~/.nvm/versions/node/v18.17.1/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.14.0
path: /Users/rsereir/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.2/15C500b
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 3.0.6
path: /Users/rsereir/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.2
wanted: 0.73.2
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
info React Native v0.73.5 is now available (your project is running on v0.73.2).
Lottie Version
Version: 6.6.0

Hi @rsereir
Thanks for the issue. I will take a look as soon as I have some free time and get back to you

Try to use renderMode={'Software'} prop and see if that helps.

Hi @TheRogue76 thank you for your investigation.
Hello @matinzd, i just try it but it does not change anything, thanks for your help.

I have the same problem, does anyone have a solution?

@sosiii4799 if you found any solution do not hesitate to replay :)

renderMode={'SOFTWARE'} seems to fix these strange issues for me! 🙏

Hi @rsereir. I got a chance to grab the Animation and run it:
iOS:

Android:

And i made a reproducible repository: https://github.com/TheRogue76/LRN1194
I am not seeing your specific issue anywhere. Can you provide a reproducible on your side with more info so i can take another look?

I have the exact same issue.

@TheRogue76 Have you download the json format ?

@TheRogue76 Have you download the json format ?

I also downloaded JSON format from lottie directly.

I have same issue.
I try download json and lottie files but nothing it works.
The spaceman works for me, but with severals lottie files fail.
I'm trying now this https://lottiefiles.com/animations/blue-titles-editing-ciYXusdKbX
Lottie version 6.7.0

banner.json
I just downloaded the file above https://lottiefiles.com/ and it has an error

@rsereir Any updates?

going to have to get rid of this library. It just doesn't work

going to have to get rid of this library. It just doesn't work

Hot take here: then help fix it. That's what open source is. Nobody is getting paid for any of this, we are all just trying to make things work and it only works if the entire community works on it. Provide a reproducible, give some sort of data for others to be able to debug. Write a PR, there are tons of ways to contribute.
That sentence isn't one of them.

going to have to get rid of this library. It just doesn't work

Hot take here: then help fix it. That's what open source is. Nobody is getting paid for any of this, we are all just trying to make things work and it only works if the entire community works on it. Provide a reproducible, give some sort of data for others to be able to debug. Write a PR, there are tons of ways to contribute.
That sentence isn't one of them.

Except it isn't really open source is it. It's a freemium model to get paying customers in. Don't be silly.

To the person who said it's a freemium model and deleted their comment, other than the fact that the comment was extremely rude, it was hilariously inaccurate.
Here are some free stats for you:

We aren't paid. None of us. Nobody in this repo.
This library originally belonged to AirBnB back when they were using React Native, and when they stopped, they graciously allowed the library to be passed to the community to be maintained and used. They still allow our docs to be hosted on the same website for which we are very grateful.
The current maintainers, mostly me and @matinzd, are former React Native devs that were forced to change our jobs and move out of the field, but kept some level of passion for React Native because we believed that it can be a good thing for the mobile ecosystem and decided to keep the torch going and maintain this and pass it along to whoever comes after us.
The work we do here is voluntary. We try to keep Lottie in sync with RN, and the Native Lottie iOS and Android projects and try to work with other people in our field like Expo, and maybe implement features that people ask for. The goal is to be a wrapper for Lottie so that RN developers can have the same tools and same utils as every other mobile dev. If there is a bug, we try to address it, we ask for info, we make try to replicate and address (Like the reproducible repo that i created for this specific bug which you can see).
There is a sponsorship link in this repo for @matinzd. To my knowledge up to this very day, only one person has ever sponsored him, which he sponsors back. We never asked for it, we never pushed for it.

I am only going to answer to comments regarding the issue that @rsereir has raised moving forward. Thanks for ruining whatever energy i had left for working on this.

going to have to get rid of this library. It just doesn't work

Feel free to do so.

Hello,
I see that there have been a lot of discussions on the subject and that some are frustrated to see that it doesn't work for them while it works for others. This is also my case, but as you specified above this is an opensource project I think that the best way to move this issue forward is to use our time in the best possible way to provide as much information as possible so that people who are familiar with the source code of this library and how LottieFiles work can have clues. This seems more productive than just saying "it doesn't work, it's no use, I'm changing the lib"..
For my part I tried to look into the problem again this weekend, I have the impression that it doesn't really come from the Lottie images but more from the bookstore actually. I tried to investigate the source code but I think I am not competent enough to shed light on this subject. It would seem from previous comments that on a react native project without any code it works quite well. So I wonder if this is not an interference with another library which would be very widely used? (react navigation, or other for example)
I can offer to allow someone experienced on the subject and who wishes to investigate to access a fork of my project to try to find a solution.
Please let me know if I can help with anything..

Hello,
I see that there have been a lot of discussions on the subject and that some are frustrated to see that it doesn't work for them while it works for others. This is also my case, but as you specified above this is an opensource project I think that the best way to move this issue forward is to use our time in the best possible way to provide as much information as possible so that people who are familiar with the source code of this library and how LottieFiles work can have clues. This seems more productive than just saying "it doesn't work, it's no use, I'm changing the lib"..
For my part I tried to look into the problem again this weekend, I'm pretty sure that it doesn't really come from the Lottie images but more from the library actually. I tried to investigate the source code but I think I am not competent enough to shed light on this subject. It would seem from previous comments that on a react native project without any code it works quite well. So I wonder if this is not an interference with another library which would be very widely used? (react navigation, or other for example)
I can offer to allow someone experienced on the subject and who wishes to investigate to access a fork of my project to try to find a solution.
Please let me know if I can help with anything else..

Hi @rsereir
Thank you for the offer. If your project is not owned by an organization or another person of any kind, feel free to add me and Matin to the fork and we can take a look. If it is for an employer or a client, do not add anyone without their express permission and approval. Another possible solution is that, for this once, perhaps we can schedule a call over the weekend and you can walk me through it without giving access and i might be able to create the reproducible given enough data and in a more controlled environment. The same ruleset regarding employer / org approval stands here as well.
To be clear for future reference, this is an exceptional case, not something i will offer for any other issue in this repository.
As for the rest, please provide reproducible if possible.

Hello @TheRogue76 , i just add you on the fork repository ( and @matinzd too ).
You have on this repository the react native project concerned by this issue. It's my own side project so you can download it without any worry.
I think you can just add lottie file directly in the login screen for tests.
Tell me if i can help you for this fix.
Rédoine

I had a chance to test out your animation (empty-content.json) when I had some free time. I tried it out using the native Lottie iOS app, as well as running it within your app, and the outcome was consistent across both platforms. It seems that the animation might be utilizing certain features that aren't supported on iOS and Android.

UPDATE
Please submit a bug to https://github.com/airbnb/lottie-ios and share your animation there. @rsereir
Lottie web editor shows no issues for compatibility matrix:

Yes, if you're seeing rendering issues when rendering a Lottie animation on iOS, please open an issue on the lottie-ios repo. I'll take a look when I have a chance.

Closed in favor of: https://github.com/airbnb/lottie-ios/issues/2345#issuecomment-2016513965

Closing the loop: We believe this was an issue with the lottiefiles.com exporter, and not an issue with the iOS and Android renderer implementations. The LottieFiles team deployed a fix for this on their end.

Thanks @calda for the follow up and the fix!


[✨FEAT✨]: Create a basic urdf description for the moa

Is there an existing enhancement request for this?

[X] I have searched the existing feature requests

Description
This basicly just needs to be a box of the dimentions of the moa so that we can know if the car is going to hit somthing or not. If you want you can make it as in depth as you want or make a mesh for it so that we can nicely visualise the car.
Additional Information
No response

Plan:

Install ros2 on windows as docker containers don’t allow for using device display
Figure out the components of the car to model and which one will be the link and joint (I will be using meshes) – initially will start of simple but as I progress may add on more components of the car and sensors/cameras once confirmed
Export the planned meshes as stl files.
Measure and record the origin of each link
Create 4 xacro files and 1 urdf.xacro file. The 4 files will be constants, links, joints, and macros. The 1 file will be a urdf file which includes all the other files – this structure could change.
Code it up
Create a robot state publisher
Run the file in ros2 (rvis should pop up) and test
Initial car components will be:

Main body (chassis), suspension arms, wheels, steering wheel, sensors, lidars and cameras


Don't display upsell messages unless ecommerce flag is turned on

We don't want to display any upsell messages unless the ecommerce flag is turned on

@jkachel Do we have such a flag for E-Commerce? Or Should I create a new one?

There's a flag called FEATURE_ENABLE_UPGRADE_DIALOG that may be of use here - it looks like the code checks for this in ProductDetailEnrollApp.js and UpsellCardApp.js so setting that to False may turn it off.

In particular, the "Get Certificate" extension to the course card on the dashboard.


Question about acc_norm

Why use (PPL / char_len) instead of (PPL /  token_len) to calculate and find the lowest PPL choice as the final result?
refer to MultipleChoiceTask.process_results

a good question, but maybe tokenizer needs time, just approximately

We've done this out of a design decision to keep scoring tokenizer-independent, in the same way as we only report word-level, byte-level, and bits_per_byte for perplexity tasks--the intent is for all LM classes implemented to be string-to-string (or string-to-loglikelihood) in interface.


Use Styled Components as peer dependencies and do not bundle them

Currently Styled Components (along with React) were bundled in the final module bundle. This change addresses
this by moving styled-components as a peer dependency and specifying it as an external module to Webpack.
React and ReactDOM are also moved as external modules so that they are not present in the final bundle.
Additional changes:

Update Styled Components to the latest version
Remove styled-theming dependency as it was not used
Remove the theme default prop from components because it is being passed by the theme provider.
Add basic Prettier config with a one rule to use single quote for strings (same as in ESLint config).

Awesome, thanks for these changes. Published in 1.5.0.

Great. Thanks for merging it and for the new version published.


Feedback on proposal

@makka3 and @Jamienie , you have chosen an interesting question and I look forward to reading more on your analysis. I always feel uneasy when locking my bike somewhere in Vancouver and I am excited to see your results! Here are some improvement points and minor suggestions for your project.
Reasoning

I think your explanatory variable is a bit unclear in your analysis. Is it the month as a categorical variable with 12 levels, the season as a categorical variable with 4 levels or a binary variable as in "summer" and "not summer"? You should make clear what exactly you are comparing.

You are comparing the difference in means of different groups. There are several assumptions that you make when you conduct such analysis. Do not forget to mention and investigate these assumptions. If the assumptions do not hold, try to think of alternative methods that can solve these. (This comment is especially for your future work in the analysis rather than the proposal)

You should give more thought to your analysis plan statements. What do you mean by computing a test statistic that corresponds to the null hypothesis? How will you generate simulated data? What will you do in the end with the p-value? What is the significance level?

Keep in mind that your readme is the landing page for someone examining your analysis. Therefore, you can do some additions that would make the readme more informative and intriguing for a visitor. In particular, you can

include a brief introduction about the context and your motivation to do such analysis.
explain the data a bit more in detail, state the variables included, or print the head of the data table in the main readme. Including the link to the data source is a good idea, but still explaining the data in your repository is needed.

Mechanics

I see you have communicated through issues which is great! A suggestion is to change the way you title the issues. For example, rather than "V0.2 release is created" in the title, write "Create V0.2 release" and close the issue once it is created, i.e. the issue is solved. I see that some past solved issues are still open in your repo.

There is a statement in your proposal which reads as "Imported data can be found here, in the src folder of our repository, and a snippet of it can be found here." The imported data should be in the data folder, not the src folder. Your folder is also named script, so either use script or src. The link you have put in this sentence leads to the script that imports the data, not to the imported data. Therefore, you might want to change both the wording of the sentence and the link.

Minor Suggestions:

I would recommend taking "DSCI_522" out of the name of your project. But if you like it this way, no problem.

Include you Github profile links to the Team Members section on your readme.

You might want to follow the repo structure as outlined here by Tiffany. Every repo might be different a bit, but I believe it is better to follow a standard structure as you'll see in most data science projects.

I hope this feedback is helpful in improving your project. Please let me know if you have any questions. Good luck!

Hey Ozum, we updated the project and we addressed your suggestions in the following ways:

Added a brief intro to the Readme along with explanation of the variables involved
Organized the script files in a src folder and data files in a data folder
Clearly defined the problem statement that we are looking to solve and performed the relevant analysis
Added a report that takes in all the output from the analysis and presents them in a cohesive organized manner.

Thanks for helping us optimize our project. Looking forward to your feedback for our second release (v2.0).


Fix prop docs line breaks

I'm sorry for creating a third PR for this, but I just noticed that there's one too many line breaks in the generated docs for props (see https://github.com/DioxusLabs/dioxus/pull/1563 and https://github.com/DioxusLabs/dioxus/pull/1565). I changed it to use the Rustdoc approach, which puts text separated by two lines into separate <p> elements. Previously, it just replaced \n with <br/>
Right now, this documentation:
/// Doc.
/// Next line.

Would generate:
Doc.
Next line.

But it's actually supposed to be:
Doc. Next line.

And when you used two new lines, the gap between them would be too big. Example image with the bug:

Fixed:

Regular Rustdoc:

I'm confused. cargo check --all --examples --tests compiles on my machine. I didn't change any versions either which seems to be the problem...

I'm confused why the checks are failing. cargo check --all --examples --tests compiles on my machine. I didn't change any versions either which seems to be the problem...

Some dependency of dioxus may have updated within the last hour since the previous CI run

I ran cargo update and cargo check --all --examples --tests and still no error. Could you re-run the checks? If not, I can make an empty commit.

Looks great - thanks @tigerros !


Self-service export dontime

When I use the self service export there is a checkbox that says: "By clicking Submit, I agree Export Database will make this environment temporarily unavailable"
But in the documentation it says "The environment will be unavailable for other servicing operations such as Sandbox Refresh or Package Deployment during this time. The source environment will be usable from a Dynamics user perspective." These seem contradicting to me. Is LCS just displaying a generic message?

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

ID: 3436fbc8-5bdd-dcdc-f5d3-51caf7b6cd76
Version Independent ID: af78d3ef-b329-11e9-896a-aa3394f6c77c
Content: Copy Finance and Operations databases from Azure SQL Database to SQL Server environments - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/dev-itpro/database/copy-database-from-azure-sql-to-sql-server.md
Service: dynamics-ax-platform
GitHub Login: @laneswenka
Microsoft Alias: laswenka

Closing, based on Lane's response.