Left Margins shrink from page to page

I have a small test case where depending on the exact vertical alignment, the left margin starts to shrink on then 2nd and 3rd page.  I'm using the default theme (only overriding page size to "letter").
asciidoctor-pdf -a pdf-stylesdir=./ -a pdf-style=bug bug.adoc -o out.pdf
I couldn't debug any further (not a software guy). At this point, nearly anything I delete or any addition/removal of lines can make the bug disappear.  I'm running version 1.60 on windows 10.
(asciidoctor 2.0.15, prawn 2.4.0, ruby27)
bug.zip
Attached in a zip:
bug.adoc - the input file
bug-theme.yml  - just sets "letter" size
out.pdf - example output showing shrinking margins
build.bat - run command in windows

This is the same issue as #1735 and is caused by https://github.com/prawnpdf/prawn/issues/1121. This is fixed in the main branch. I don't currently have any plans to backport this to 1.6.x.

For completeness, I will add a test case based on this particular example. The existing test case is for a slightly different scenario and I want to make sure this scenario is covered to avoid any regression.


adding a share button with defined output for twitter

Any tip on how I might get started with a "share" button that I could define in a script block?
I want to tweet the progress and thinking it would be great to open the page and tweak the link, url and excerpt i defined front the front matter. I know that's not the scope for this, but any tip would be appreciated.
The output might look like:
<title> <#tag1> <#tag2>
<trimmed excerpt>
<url>

With the changes you made to support per page, i think it's really helpful, and would be nice to define a tweet output from a button. I can investigate on my own, but again not a react dev, so hoping it's something you can point me in the right direction on.
Cheers!

@sheldonhull Here you go. Make sure you refetch from upstream and run yarn.

https://www.sheldonhull.com/ live! i need to do a little learning on gatsby, so flexible. Right now I've been mixed on doing it on my own "microblog" and your much cleaner page.
Gatsby is flexible I could could just feed it my other repos markdown file and render the same content in two places. Pretty awesome!
Thanks again for this!

Hmm. I haven't tried it, but you might be able retrieve the markdown from your repo using the GitHub Graphql API, like this.
Then you have two options...
You can fetch the data using the gatsby-source-graphql plugin.
{
            resolve: "gatsby-source-graphql",
            options: {
                typeName: "github",
                fieldName: "github",
                url: "https://graphql.github.com",
                headers: {
                    // Learn about environment variables: https://gatsby.dev/env-vars
                    Authorization: `Bearer ${process.env.GITHUB_API_KEY}`
                }
            }
        },

Or, if you want to set up pages from markdown, you can fetch that data at build time with something like this in your Gatsby node file:
exports.sourceNodes = async ({ actions: { createNode }, createContentDigest }) => {
    // get data from GitHub API at build time
    let endpoint = "graphql.github.com";
    const result = await fetch(endpoint, {
        headers: { Authorization: process.env.GITHUB_API_KEY }
    });
    const json = await result.json();
    createNode({
        items: json.items,
        id: "markdown",
        parent: null,
        children: [],
        internal: {
            type: "markdown",
            contentDigest: createContentDigest(json)
        }
    });
};


Add JavaScript colocation mapping step in d2d pipeline

@keshav-space is this PR complete and ready to be reviewed?
If not, please provide the latest status and a list of remaining tasks.

@keshav-space is this PR complete and ready to be reviewed? If not, please provide the latest status and a list of remaining tasks.

@tdruez PR is complete and ready for review


Fix parsing coords that have a minimum range < 0

The acescc color space has coords with a range of [-0.358, 1.468].
The percentageRange function of the Type class was returning a value of [-1, 1] which caused coords specified as percentages to be calculated incorrectly.
The percentageRange function will now return [0, 1] if the Type has coordMeta with a range property.

With this fix all tests are green.

Thx! Could we add a changelog entry too? Otherwise this would become a blocker for the upcoming release.

Thx! Could we add a changelog entry too? Otherwise this would become a blocker for the upcoming release.

done

Thanks!


[Magento2] The install_magento_custom.sh script is called at runtime

This is the the dev tag (as of right now) of the M2 base image.

Only when DEVELOPMENT_MODE is on tho right?

This is resolved by #95.

#95 got split into little PRs but this should be resolved in the :latest magento2 images now!


Use relative path to resolve link rot

Thank you for your PR. This is actually intentional to make it work under the PyPI package page.

@tushuhei I got it.
BTW, this link is still broken. May I create another PR for that?
https://github.com/google/budoux/blob/main/javascript/README.md#:~:text=refer to the-,project README.,-Demo

Good catch! Sure, please go ahead. Given that this will be used in NPM, I prefer an absolute path.


Adding Windows nodes

The link for installing Docker Engine on Windows server is broken. It should be https://docker-docs.netlify.app/install/windows/docker-ee/

Just realised it doesn't embed the page link!
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/

/sig cluster-lifecycle

/kind bug


Added RecursiveBinarySearch [ C ]

A program in C++ to perform a recursive binary search.

Fixes #247
By submitting this pull request I confirm I've read and complied with the below declarations.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.
[x] This pull request will be closed if I fail to update it even once in a continuous timespan of 7 days.

Hi @HarshKhatore. Thanks for your PR.
We're glad that you showed interest in contributing to this PR.
Please stick with reviewers and coding standards to get this PR merged. This may take some time. Also, add an entry in README.md about this algorithm.

Hello @singhpratyush, sure I will add about the algorithm in the README.md
Can you guide me on doing that?

Just look at the "algorithms" table and add an entry (similar to other that are already there) to the appropriate column. Make sure that the link that you mention is correct.
Also, since we already have an iterative variant of binary search in that directory, please add another directory with a recursive suffix in it.

@singhpratyush , updated README.md and directory as required.

@singhpratyush, @Monal5031 done the required changes, kindly review.

@Monal5031 Done with the correction. Please review.

@HarshKhatore Rather than @mentioning here, its better mention the reviewer after updates on gitter channel otherwise the pr update might not get noticed in many mails 😃

@Monal5031 Thanks for telling me this.

@singhpratyush Done the required changes.

@singhpratyush Dona all the required changes.


[Cogs Face] Update Face SDK test aligning with latest Swagger changes.

I am from Face team and recently updated the latest Face Swagger by Azure/azure-rest-api-specs#3552.
As you can see from the endpoint change vision/face/__init__.py, I raise this PR to update the face test so as to make this branch pass build tests.

Can one of the admins verify this patch?

Codecov Report

:exclamation: No coverage uploaded for pull request base (restapi_auto_cognitiveservices/data-plane/Face@5e6ab4f). Click here to learn what that means.
The diff coverage is n/a.

@@                                Coverage Diff                                @@
##             restapi_auto_cognitiveservices/data-plane/Face    #3103   +/-   ##
=================================================================================
  Coverage                                                  ?    56.3%
=================================================================================
  Files                                                     ?     8167
  Lines                                                     ?   167163
  Branches                                                  ?        0
=================================================================================
  Hits                                                      ?    94124
  Misses                                                    ?    73039
  Partials                                                  ?        0

Continue to review full report at Codecov.

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

Thanks for the PR!
By the way, do you know when your team plan to write the samples here?
https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/
I can't release the Python SDK until your team gave me the C# samples to translate in Python :/

Hi @lmazuel , thanks for your information. We will track this as a task and implement the sample when we have free bandwidth. (Won't be too long :) )


Add Swift 4 env var to Travis

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #37   +/-   ##
======================================
  Coverage    72.8%   72.8%
======================================
  Files           6       6
  Lines         239     239
======================================
  Hits          174     174
  Misses         65      65

Flag
Coverage Δ

#KituraSession
72.8% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add UMD

This module should work in CommonJS, AMD, and browser globals. Currently it only works for AMD.
Ideally this wrapping would be done as part of the build process.
Re. https://github.com/guardian/scribe/issues/77

@janfoeh Would you publish your umd build somewhere? I'm 3/4 of the way to having my own build, but getting stuck with the scribe-plugin-intelligent-unlink-command.js with Browserify's --standalone option.
My attempt attaches all the plugins to a Scribe.plugins global.

@raztus yes, I've had issues as well, although with the sanitizer plugin. Here is my intelligent unlink build. Three caveats, though: it's from September, I believe I haven't used it yet, and it exports to window.scribePluginIntelligentUnlinkCommand.

+1 for more module formats or global somehow. Wiring up Angular and Require JS isn't the prettiest of things.

Is there a way to use this without any fancy dependency management wrappers via just normal

+1 any news on this?

Would you accept a PR converting scribe to CommonJS, adding in browserify and outputting a UMD build?

@WickyNilliams - we'd certainly look at it!

:+1:

UMD is on the way out, really. Would be more progressive to port Scribe to ES6 modules, and optionally build CJS/AMD targets.

Even better :)

@theefer I've already ported Scribe to ES6 modules, and it works great internally - mind if I try pushing it upstream to this repo?

I can confirm. We needed to have Scribe in ES6 modules format, and it has been relatively painless to rewrite the codebase itself. Would it be a good idea to have a separate Scribe branch that just has all its source code remapped to modules, even if tests, and build tools, and other parts that now depend on AMD need to be redone? I can see the value of just allowing the source of Scribe to be imported in a project, and let the project team decide how to bundle it and its dependencies.

I have gone through everything I've been able to find on this subject, and still haven't really understood what the status is other than that apparently using Scribe via npm is not possible right now, unless you manually build the npm build as is done in the examples/cjs.html example.
Even a global binding as an option would be nicer. I'll much rather include a script-tag to the page than fiddle with some random build process for one dependency (or include require.js).
As others have suggested, it would be simple to port Scribe to use ES6 modules, and after that it would be just one browserify command in the build process to compile it to all module systems (CommonJS, AMD, global).
I'm willing to take part in the process of porting to ES6 modules (the repetitive work). I don't have extensive experience on publishing such a package via npm, but I'm sure someone would be able to help with that (@WickyNilliams for example proposed it already).
Question to maintainers: would this be a pull request you'd merge, assuming it would simply be a port of the current version in ES6 and with a build process outputting a fits-everything module?
Questions to others: anyone interested in helping with the PR, if maintainers confirm it'd be merged? As said, I can do the porting to ES6 modules, but would appreciate help ensuring the build process works great for npm and others.

I can chip in with whatever needs to be done on this.

@danburzo why not?


Add Ovh DNS provider

We add Ovh DNS provider on your docker image.
We add some usefull info on how to use this new provider on README.

Hi @disaster37, can you push again without updating all the other dependencies?

How I can update with godep without upgrade all ?

@disaster37
You have to do a godep restore before the godep save. This will sync the packages in your $GOPATH with the dependencies already defined in godeps.json.
To fix this in your feature branch try if this works:
git checkout master
godep restore
git checkout your-branch
godep save

godep save not work.
/go/src/github.com/janeczku/rancher-letsencrypt # godep save
godep: cannot save github.com/aws/aws-sdk-go/aws/credentials/endpointcreds at revision 4b1578637669ed2a10689caf88cae18dbef08edb: already have github.com/aws/aws-sdk-go/aws at revision 02ee239c4ddbc6750fd0c3b5b5728b2b33aa92b4.
Run `godep update github.com/aws/aws-sdk-go/aws' first.

/go/src/github.com/janeczku/rancher-letsencrypt # godep update github.com/aws/aw
s-sdk-go/aws
godep: Package (github.com/aws/aws-sdk-go/private/signer/v4) not found

I am newbe with go and godep. But i don't found the right command to get my dependency without upgrade all.
If run run go get -u github.com/xenolf/lego/providers/dns/ovh
and then godep save, it say I must upgrade acme.
So to upgrade it, I must use go get -u github.com/xenolf/le
go/acme, then godep update github.com/xenolf
/lego/acme, but it say godep: no packages can be updated
...

Closing this in favor of #25


YQL UDFs in C++

Currently, there is no way to add user code to YQL. It would be great if the user could compile an .so, attach it to the YQL query and call the functions from the .so in code.

Actually, there is a way to do to it:
PRAGMA File("my_udf.so", "<url>");
PRAGMA udf("my_udf.so");

MyUdfYQL::MyUdfFunction()

An example of creating a UDF can be found at https://github.com/ydb-platform/ydb/tree/main/ydb/library/yql/udfs/common. You can use ya tool to compile them.


Error highlighting doesn't work anymore

Error highlighting stopped worked recently in Neovim, I can't really say when but around one month ago I think, vim still sees the errors coming from the server, and they are reported in Vim in the message area on the bottom, but they are not highlighted.
This is my configuration:
Neovim: NVIM 0.1.3-dev Build type: Dev
I tried with sbt-ensime plugin version: 1.0.0 and 1.9.0 and 1.9.1-SNAPSHOT
all have the same problem.
Thanks,
Luigi

Thanks for the report—I assume that you're not using Syntastic, correct? I did some refactoring recently that must have broken the "native" error highlighting support in ensime-vim, I admittedly didn't test that well. I'll try to reproduce.

Correct, I'm not using Syntastic indeed, I tried to install it and works with Syntastic, thanks!


Added fresh start using dnn and feature engineering with split neural…

… networks based on NM_M flag. Assumption that this is actually true and corresponds to the splitting of NM and M in the final facies assignement.

Thank you Lukas! But I don't think you're going to like it: 0.475. I haven't been through your workbook, so can't really comment on the method.

Oh, BTW, a reminder that your current high score is based on code you haven't shared yet... If you get around to it, maybe add that iteration to your next PR?


An error has occurred.

If you use this in Heroku, it will cause an error.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'PokemonResource' object is not subscriptable

Can you post a simple example of code that triggers that error?

https://github.com/hands8142/manyy_api/blob/938499ce8492cff3046a18bd1ba6d3b0d231c653/main.py#L206
I'm turning this around to Heroku. There is no error when I turn it to my local computer, but when I turn it to Heroku, an error occurs.

Can you specify both your environments?
Your local environment and heroku. Like, OS, python version, pokepy version, etc

Ah, I see your problem:
poke = client.get_pokemon(pokename)[0]

should be
poke = client.get_pokemon(pokename)

hence the "not subscriptable" error.
You're probably using an older version of pokepy on heroku


remove remaining usage of holiday

will be replaced by more general Tag model

implemented by pull request #263


An error occurred while extracting app

[-] An error occurred while extracting app Error: ENOENT: no such file or directory, lstat 'C:\Users\wsappx\AppData\Local\Temp\httptoolkit-patcher-temp'
at Object.rmSync (node:fs:1267:13)
at patchApp (file:///C:/Users/wsappx/Desktop/httptoolkit-pro-patcher/index.js:152:8)
at file:///C:/Users/wsappx/Desktop/httptoolkit-pro-patcher/index.js:219:11 {
errno: -4058,
code: 'ENOENT',
syscall: 'lstat',
path: 'C:\Users\wsappx\AppData\Local\Temp\httptoolkit-patcher-temp'
}

try again with the latest version of patcher


Fix issue with /edit not acknowledging highlighted code after retrying

Closes #1013
This PR addresses the issue #1013 where the /edit functionality was not acknowledging highlighted code after retrying.

@Nithishvb this looks great! I made a few small changes that I'd like to add, but before doing that, could you change the base branch of this PR to be "preview" instead of "main"?

Hey @sestinj, the base branch has been changed from 'main' to 'preview'.

Thank you, and good work!


Improve error output for projects copyied from another machine.

Error while trying to run on Windows a Flutter App created on mac - flutter has exited unexpectedly

Steps to Reproduce

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter run
exception
FileSystemException: FileSystemException: Cannot open file, path = 'D:\_Flutter\news\.flutter-plugins' (OS Error: Access denied.
, errno = 5)

#0      _File.throwIfError (dart:io/file_impl.dart:647:7)
#1      _File.openSync (dart:io/file_impl.dart:491:5)
#2      _File.writeAsBytesSync (dart:io/file_impl.dart:616:31)
#3      _File.writeAsStringSync (dart:io/file_impl.dart:640:5)
#4      _LocalFile&LocalFileSystemEntity&ForwardingFile.writeAsStringSync (package:file/src/forwarding/forwarding_file.dart:147:16)
#5      _writeFlutterPluginsList (package:flutter_tools/src/plugins.dart:99:17)
#6      refreshPluginsList (package:flutter_tools/src/plugins.dart:288:24)
#7      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:139:5)
<asynchronous suspension>
#8      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:389:21)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:335:33)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#11     _rootRun (dart:async/zone.dart:1124:13)
#12     _CustomZone.run (dart:async/zone.dart:1021:19)
#13     _runZoned (dart:async/zone.dart:1516:10)
#14     runZoned (dart:async/zone.dart:1463:12)
#15     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#16     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:326:20)
#17     CommandRunner.runCommand (package:args/command_runner.dart:196:27)
<asynchronous suspension>
#18     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:401:21)
<asynchronous suspension>
#19     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#20     _rootRun (dart:async/zone.dart:1124:13)
#21     _CustomZone.run (dart:async/zone.dart:1021:19)
#22     _runZoned (dart:async/zone.dart:1516:10)
#23     runZoned (dart:async/zone.dart:1463:12)
#24     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#25     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:361:19)
<asynchronous suspension>
#26     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:111:29)
#27     new Future.sync (dart:async/future.dart:224:31)
#28     CommandRunner.run (package:args/command_runner.dart:111:11)
#29     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:241:18)
#30     run.<anonymous closure> (package:flutter_tools/runner.dart:60:20)
<asynchronous suspension>
#31     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#32     _rootRun (dart:async/zone.dart:1124:13)
#33     _CustomZone.run (dart:async/zone.dart:1021:19)
#34     _runZoned (dart:async/zone.dart:1516:10)
#35     runZoned (dart:async/zone.dart:1463:12)
#36     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#37     runInContext (package:flutter_tools/src/context_runner.dart:43:24)
<asynchronous suspension>
#38     run (package:flutter_tools/runner.dart:51:10)
#39     main (package:flutter_tools/executable.dart:51:9)
<asynchronous suspension>
#40     main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#41     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:287:32)
#42     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

flutter doctor
[✓] Flutter (Channel stable, v1.0.0, on Microsoft Windows [version 10.0.17134.472], locale fr-FR)
    • Flutter version 1.0.0 at C:\_sdk\flutter
    • Framework revision 5391447fae (5 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at C:\Users\Anass\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = C:\Users\Anass\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code, 64-bit edition (version 1.30.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 2.21.1

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

• No issues found!

Logs

Check the mode for 'D:_Flutter\news.flutter-plugins' and make sure it's writable.
Beside, check if it working fine when creating a totally new flutter project in your windows.
@AnassL

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .
If you didn't use git clone to copy the project, you might need to delete the files and directories listed in .gitignore manually.
access denied could mean another app has the file open, like a virus scanner.

@zoechi I fixed the issue just by renaming the file created by mac OS: ".flutter-plugins" to whatever file name, another ".flutter-plugings" file was created by Flutter on Windows, and the app could run normally on the emulator. I just wanted to warn about this bug.

@AnassL thanks!
I also think it is a good idea to improve the error output for this situation.

Yes, I agree, thanks.

We've since add .flutter-plugins to the default gitignore template. This file contains OS specific paths so it isn't safe to commit to source control.

Just want to point out I am running into this issue on Flutter Beta v1.10.7


Setup Help

Hi,
I am new to this project but I am very interested in being able to play MP3s off of my ESP8266.  I am actually using the Huzzah from Adafruit: https://www.adafruit.com/product/2821
I have few questions:

I am new to github so it might be I don't know how to navigate it well, but is there a step by step guide somewhere of how to get this project up and running?  If not, I would love to help document the procedure if someone can hand hold me.
Would this setup be allowed to play Mp3 files on demand from a web server?  I see that there are mentions of being able to play from an Icecast server.  I just want a setup that can play different MP3s from my ESP8266 on demand from start to finish (e.g., not midstream)  Would this project work for me and would I have to have an Icecast server involved?
Is there a fritzing diagram or something that shows how to wire up the ESP8266 to implement this project?

I'm also using the adafruit esp8266 , but the breakout version (https://www.adafruit.com/products/2471)  not the feather version as mentioned above. I am struggling to get "sound", my best attempts so far yielded to noise only.
I still have couple of experimentation to run, however I start to run out of idea of why it's not working for me.
The breakout board has pull up/down on gpio 2 and 15 and a level shifter in gpio 3. These are the 3 gpio required for the i2s port.
I am ready to remove these pull up/down on gpio 2 and 15, and I can already bypass the level shifter of gpio 3 by soldering a wire directly on the pad.
Before doing so, I would like to have some feedback on how can these pull up/down impacts the LRC and BCLK lines?

bickyb: All the documentation is in https://github.com/espressif/ESP8266_MP3_DECODER/blob/master/README.md
phlemoine: what codec are you using?

I'm using this add on board :  MAX 98357A  at : https://www.adafruit.com/product/3006

In mp3/user/playerconfig.h, have you tried commenting out the line #define ALLOW_VARY_SAMPLE_BITS ?

Yes. I tried several combination including the mp3 streams and mp3 file, the VARY_SAMPLE_BITS on/off, I also tried remapping to different pins (not sure that iomuxing even allows that tho). I have ordered an ESP8266 module (without the additional components that usually comes with any breakout boards) so that I can verify my theory of the pull up/down on your 2 and 15

update to my investigations. i have used the sample code at https://github.com/SuperHouse/esp-open-rtos/tree/master/examples/i2s_audio and can prove the HW is working fine (playing a pre-flashed wav file in SPIFFS). this helps tremendously with restricting the investigations to SW (or build or flash) issues.

ok, i am not sure what was wrong (and that is frustrating :-) ) but i eventually got this project to work. thanks for taking time to respond.
it works with ALLOW_VARY_SAMPLE_BITS commented out (and  the MAX98357A breakout)
also PWM_HACK, DELTA_SIGMA_HACK commented out (naturally)
and  FAKE_SPI_BUFF enabled since i dont use the flash chip
i am using icecast.omroep.nl and based in the US
i might have (inadvertently) combined options in such a way that created noise and suspected HW issues for too long
hope these notes will help others running into any issues

Okay, glad to hear you have it working now.


Sema: Don't allow key path literals to refer to static members.

Explanation: Forming a key path that referenced a static property would crash the compiler.
Scope: Crash on invalid
Issue: rdar://problem/33318422 | SR-5453
Risk: Low, raises an error on invalid code that previously crashed the compiler; isolated to key paths
Testing: Swift CI, test case from Jira

@swift-ci Please test

@xedin Does this look good for the 4.0 branch?

@swift-ci Please test

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 6337d0647c3ff73b1749b1bd81d202b10eedd48a
Test requested by - @jckarter


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/instalator/ioBroker.haier

[ ] [E144] common.installedFrom field found in io-package.json. Must be removed.
[ ] [E150] No common.connectionType found in io-package.json
[ ] [E152] No common.dataSource found in io-package.json

I have also found warnings that may be fixed if possible.

[ ] [W113] Adapter should support compact mode

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Do you need help fixing the bugs?


RFD: Don't add parameters to payload if they are not defined in the function definition

Right now, parameters to action creators are added to the redux payload regardless of the action creator definition.
If we have a method in the immer reducer like so:
myMethod () {
   ...
}

And we call actions.myMethod({ myObject: true }), { myObject: true } will be in the action generated.
This can be problematic if the action creators are being passed to method handlers, or otherwise (i.e. map, parseInt, etc). For example, onClick={props.myMethod} will end up passing the event object to the redux action, which is slow as redux ends up serialising the event object. This is easy to fix in user land (just make sure you're not passing the method) though I think this is a common enough use case that it should be handled, but eager to know if you think this should be addressed in the library.
Function types with 'unused parameters' are valid typescript (though unsure if true in strict mode):
type FN = (red: boolean) => void
const a: FN = (red: boolean) => {} // valid
const b: FN = () => {} // valid
const c: FN = (red: boolean, b: boolean) => {} // not valid

Yeah, I think it's valid in strict mode too. It should be possible to fix this by checking the size of the .length method of the generated action creator.

Fixed in the 0.7.3 release.


Attempt at using only one chunk for solid chunks

@nsg Can you try this out and see if it does anything to help you reduce the memory usage?

@petterarvidsson less then 1G on 19 in view distance (compared to 11G earlier).

@nsg Oki, I am done with the refactoring here now. Wanted to remove shared_ptr from ChunkData since that is now quite wasteful and just makes all the code more complicated. The actual data inside the ChunkData is now what is shared instead.

@petterarvidsson looks good :+1:


Expected to resource at path my/accounts to yield a NSDictionary, but got instead got ...

When performing a default OBPMarshal request with getResourceAtAPIPath to "my/accounts", the HandleOBPMarshalError is called with the following:
Expected to resource at path my/accounts to yield a NSDictionary, but got instead got:
(
        {
        "account_routing" =         {
            address = 1233;
            scheme = OBP;
        };
        "bank_id" = rbs;
        id = 1233;
        label = "<null>";
    }
)
from body: [{"id":"1233","label":null,"bank_id":"rbs","account_routing":{"scheme":"OBP","address":"1233"}}]

The response seems valid and expected, but isn't usable as the MarshalError is called in stead of HandleOBPMarshalData
I've used the following:
let serverBase = "https://apisandbox.openbankproject.com/obp/v3.0.0/"
session.marshal.getResourceAtAPIPath("my/accounts", withOptions: nil, forResultHandler: resultHandler, orErrorHandler: errorHandler)

Hi Tom,
You can easily tell OBPMarshal to expect a different container type (or no container type) using the OBPMarshalOptionExpectClass options key:
session.marshal.getResourceAtAPIPath("my/accounts",
    withOptions: [ OBPMarshalOptionExpectClass : NSArray.self ],
    forResultHandler: resultHandler, orErrorHandler: errorHandler)

...and there are more options for handling unusual cases here: https://github.com/OpenBankProject/OBPKit-iOSX#customising-obpmarshal-behaviour
If you find more uncatered-for edge cases, let me know. 😊


Fix devDependencies

In package.json @babel/plugin-proposal-object-rest-spread was listed twice, while @babel/plugin-proposal-numeric-separator was missing. This caused errors when running npm run build.

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

Perfect - thanks for the fix!


Expose set_temperature_f and set_temperature_c functions

Expose set_temperature_{f,c} functions wrapping the underlinging Frigidaire actions Setting.TARGET_TEMPERATURE_{F,C}. This allows users of this client (e.g. the Home Assistant component) to set a target temperature in either F or C without performing temperature conversion; callers that natively use F will set the TARGET_TEMPERATURE_F, while callers that store C will set the TARGET_TEMPERATURE_C.
These two functions replace the previous set_temperature() function (which implicitly required callers to convert target temperatures to degrees Fahrenheit), and so constitute a breaking API change.
Supports fixing https://github.com/bm1549/home-assistant-frigidaire/issues/56
Should also address remaining issues with #19 (as noted in https://github.com/bm1549/frigidaire/pull/34#issuecomment-2215714356)

Merged in via #39


feat: Add a toggle to the Hide launch icon menu

Thanks for the PR but it does not follow the contribution instructions in the README

Maybe create the same PR in https://github.com/microg/GmsCore
If they merge it, we will have it in ReVanced GmsCore too

Maybe create the same PR in https://github.com/microg/GmsCore
If they merge it, we will have it in ReVanced GmsCore too.

Well after seeing this and having not seen @rufusin around, I took matters into my own hands and opened https://github.com/microg/GmsCore/pull/2462. Hoping there'll be some minute changes as the code worked pretty well. But I was wrong and some of the recent review requests are outside of my understanding. So if anyone here is knowledgeable in this area and have some free time and want to see this implemented, do feel to help me in whatever way you can.

@YT-Advanced maybe you can help him


OT color transfer in LAB space?

did you try?

done https://github.com/dcoeurjo/OTColorTransfer/issues/2

👌
Yes I did try for many colorspaces that have relevant embedding to the unit cube (with the Euclidean metric). As you have shown in your code, results can be different but it is sometimes hard to decide which one is best (and for pedagogical considerations, I kept the RGB space in the doc.


What's the ETA of WSL distribution be available in the Microsoft store?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

/cc @eric-desrochers

Just FYI, one can install AzureLinux on WSL using docker pull and using that image.

Could be interesting to have this available as in WSL.

Some issue cleanup and necromancy.
We cannot comment on timelines for things like this. Sorry.


After a server restart, already used addresses are reused

As you can see in my screenshot, order 13 and 14 reuses the same address than order 2 and 3.
Server has been restarted in between.
here is my config (using latest gem version)
gateways_source: config
environment: development
count_orders: false
expiration_overtime: 30
reuse_address_orders_threshold: 20

gateways:
  default:
    # Testing key:
    pubkey: xpub6DU4919Z8P5nHWWpjwdMGosSWyHNpKYJQPpnJbXNeSGKxAFU4qs9LUvTTruHHFM21UyYB3JPNZhq8XFYR9LFeCvWUtjai5Xfs57YUP7nTfY
    confirmations_required: 0
    order_class: "StraightServer::Order"
    secret: 'secret'
    check_signature: false
    callback_url: 'http://dev.sbex.ch:8002/api/v1/straight/callback/'
    default_currency: 'BTC'
    orders_expiration_period: 600 # seconds

    check_order_status_in_db_first: false # Consider changing to `false` in production.

    exchange_rate_adapters:
      - Bitpay
      - Coinbase
      - Bitstamp

    active: true

  #- ChainCom:
  #    api_key_id: cc605dd6fbe765feb77abf99843e9edd
  - BlockchainInfo # uses Straight::Blockchain::BlockchainInfoAdapter
  #Mycelium       # uses Straight::Blockchain::MyceliumAdapter
  # - MyCustomClass::MyCustomBlockchainAdapter

logmaster:
  log_level: INFO # Wise to change to WARN for production
  file: straight.log
  raise_exception: false
  name: Straight server logger

redis:
  host: redis
  port: 6379

db:
  adapter: postgresql
  host: db
  encoding: unicode
  #database: straight
  name: straight
  user: postgres
  password: postgres

Maybe the file with the last used keychain_id got missing — https://github.com/MyceliumGear/straight-server/blob/master/lib/straight-server/gateway.rb#L536

Thanks Alexander, that was it ... Forgot to mount the file that as a volume in my docker. It works perfectly now and resume correctly on restart.
Question: why not just read this value from the db instead of storing it in a flat file ?
Also in my version it was called default_last_keychain_id, maybe a line in the documentation about it could would help, especially if the name change in the future.
Thanks a lot !

why not just read this value from the db

With the gateways_source: config nothing is stored in the database.
If you change it to gateways_source: db, then all gateways and their last_keychain_id will be read from db.
default is the gateway's name, lines in config:
gateways:
  default: // that's name

OK ! thanks a lot for the explanations ... I will switch to storing in db which makes more sense for production.


Copyrights, credits, legal mumbo jumbo in the page footer

Proper credit should be displayed for each photo as well!
This will require changes in the species data fetched from EOL and stored in our pickle!

Also should include proper recognition and link to EOL on title page

Also, should use proper jinja header and footer elements on all pages (code reuse = awesome)

oh, that jinja inheritence thingy

need to include licence somewhere

We can include the MIT Licence on the readme? Its permissive and fairly popular.
https://opensource.org/licenses/MIT
http://redmonk.com/sogrady/2014/11/14/open-source-licenses/


cmd+click function name goes to type definition file instead of source

duplicate of microsoft/vscode#68782 but that was closed without fix.

VSCode Version:  1.41.1
OS Version: macOS 10.14.6

Steps to Reproduce:

Create a project folder with 2 files:

lib.js
export const testMethod = (name, params) => {
  params && params.age
    ? `hello ${name} with age: ${params.age}`
    : `hello ${name}`;
};

test.js
import { testMethod } from "./lib";
testMethod("foo", { age: 3 });

cmd+click works and jumps to definition.

now add a type definition file
lib.d.ts
declare namespace MyModule {
  interface IParams {
    age: number;
  }

  function testMethod(name: string, params: IParams): string;
}
export = MyModule;

cmd+click jumps to type definition instead of source definition.

I do not think this should be the default behavior. I would expect cmd+click to bring me to the function definition.

IMO, there are all of abstract interfaces defined in declaration files, and we should not care implementations most of the time. But we will be frustrated sometimes if we want to inspect or suspect something under the hood. Haven't you guys had the same frustrating experience and then tried searching from all project files ?
So, from a VS Code user's view, I really hope there is an option for this purpose.
P.S. declarationMap maybe a ideal solution at this point, since the lack of map files in JavaScript ecosystem, such as DefinitelyTyped


Offer 'one-to-many' accessibility training and learning opportunities

What
Timeline: Ongoing, but not prioritised for 2022 or 2023
Priority level: 6 – what is good to do, without adding risk to the priorities above
Category: Tools and training in GDS
Potential tasks

Develop and offer workshops and demos on accessibility-related topics that are relevant to the contribution process
Ensure that any training and learning opportunities offered provide value for many people and service teams and are an effective use of team resources
Develop and offer workshops and demos on accessibility-related topics that help service teams successfully implement the GOV.UK Design System
Advocate for additional accessibility training within GDS, either delivered in-house or through endorsed online options

Why
Ensuring service teams are equipped with the knowledge they need to make robust, accessible contributions to the GOV.UK Design System will help improve the overall contribution process.
Who needs to work on this
Community designer, accessibility specialist, developers, user researcher
Who needs to review this
Unknown
Setup tasks

[ ] Thing to do

We've successfully run a 'one-to-many' learning opportunity: the 'Task-list accessibility testing workshop'.

https://github.com/alphagov/govuk-design-system/issues/2621

Assets

Slide deck for the workshop (this is owned under the Design System 'COMMUNITY' folder)
Padlet board of workshop resources (this is owned under Kelly's account and at risk of deletion if Kelly leaves)
First workshop date Eventbrite page
Second workshop date Eventbrite page

Stats

First workshop ran on 1 March 2023
Peak of ~375 attendees during the first workshop
Generally positive reviews, but the retrospective hasn't been competed

Next steps

Another date has been added for the workshop, which we plan to record
It will run on 8 March 2023, one week after the first workshop


made the website fine

https://drive.google.com/file/d/1nis7cE4o5I0s2OzTyxtVi40JM6U-OoJT made the req changess see here

https://github.com/Anupkjha2601/food-recipes-website/assets/108413315/eb1900da-ff36-43ba-8a24-57b8de83ca1f
lot of issues in code fixed them

@Anupkjha2601  pls review

done under gssoc

#409

@bhavyanarnoli have some conflict in index.html  your code have two scroll button so please remove orange one from index.html and also some changes in testimonial section so please again clone new file then do changes .

@bhavyanarnoli your this pull request causing some problem in website index section like footer is coming two times , and testimonial section is coming after footer so please make changes in new pull request . i have seen that your code made changes in testimonial section as well as in chatbot but index.html page not working perfectly so make changes in new pull request.

okkkaa

will do in a week or so ig?

Ok you can make pull request any time I have assigned you no problem.

yes ill do it in a week


explain why typealias is complicated

CC @BasThomas , forgot to address your comment before merge.
Motivation:
We should explain why this typealias
public typealias RangeType<Bound> = CountableRange<Bound> where Bound: Strideable, Bound.Stride: SignedInteger

isn't just
public typealias RangeType = CountableRange

and that's because SR-6963.
Modifications:
added a comment explaining why
Result:
code easier to read

👍
Sent with GitHawk


Make GUID block in deletion dialog more explicit

r+, thanks @wagnerand !

Here's a screenshot of the result:

Thank you @magopian!


Styled De/activation Confirmations (JS Alerts)

Summary
When deactivating a volunteer/student/admin, the default browser JS alert confirms the user's action. These alerts should be in the style of InKind UX/UI.
Criteria for Completion

[ ] Current functionality remains intact. Activating & deactivating a student/volunteer/admin pops a confirmation alert.
[ ] The new alert matches the provided mockup

What the alert looks like now (or whatever your specific browser does):

How the alert should look after this change:

Hey @garettarrowood , there's a SweetAlert gem that will fix this issue. t's Awesome, and you will get lots of customization option as well as all callbacks: https://github.com/t4t5/sweetalert
I can tackle this one as well.

I'm familiar with SweetAlert and it does look like it might be the right tool for the job here. The only thing I don't like about that repo is that it hasn't been updated in 2.5 years (looks unmaintained), with quite a lot of open issues and PRs.
But the alternatives look even less maintained.  https://github.com/nicolasblanco/sweet-alert2-rails .
I'm wondering how easy that library is to customize with style as well...
With that said, do feel free to give this a shot with SweetAlert.


dnstake: init at 0.0.2

Motivation for this change
Tool to check missing hosted DNS zones
https://github.com/pwnesia/dnstake
Related to #81418
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

dnstake


External trigger makes the camera stuck

I have encountered a weird problem, when using DMK 33UP1300 with external trigger:
When the camera is externally triggered during exposition, it gets "stuck" and never comes back - it has to be physically unplugged and plugged again, which is very annoying.
In other words, our situation is this:
We are using external trigger signal at 200 Hz, so the camera takes an image every 5ms. This works fine as long as the camera exposure time is kept under 5ms. If I set the exposure time to just 6ms or more (knowing it does not make any sense to have exposure longer than triggering period), I get timeout errors and the camera NEVER recovers.
After this happens, almost nothing can be done to make the camera work again:

enabling/disabling external trigger does not help
restarting our app/reinitializing/recreating GStreamer pipelines does not help
tcam-capture refuses to show any image (but controls are still visible)
rebooting the OS does not help (?!?!)

The only thing that works is unplugging and plugging camera USB cable. Is there anything I can do in software to reset the camera and make it work again?
$ tcam-ctrl --version
Versions:
        Tcam:   0.14.0_master/031c7762_rev_3054
        Aravis: 0.7_version_031c7762

Device used:
$ tcam-ctrl --list
Model: DMK 33UP1300 Serial: 05120894 Type: v4l2

Camera state after it is stuck:
$ tcam-ctrl -p 05120894
Gamma                                   (int) min=1 max=500 step=1 default=100 value=100 category=Image group=Gamma
Gain                                    (int) min=144 max=1200 step=1 default=144 value=144 category=Exposure group=Gain
Exposure Time (us)                      (int) min=50 max=10000000 step=1 default=333 value=935 category=Exposure group=Exposure
Exposure Auto                           (bool) default=true value=false category=Exposure group=Exposure
Exposure Auto Reference                 (int) min=0 max=255 step=1 default=128 value=128 category=Exposure group=Exposure
Gain Auto                               (bool) default=true value=false category=Exposure group=Gain
Trigger Mode                            (bool) default=false value=false category=Special group=Trigger Mode
Software Trigger                        (button) category=Special group=Trigger Mode
Trigger Delay (us)                      (int) min=0 max=1000000 step=1 default=0 value=159 category=Special group=Trigger Mode
Strobe Enable                           (bool) default=false value=false category=Special group=Strobe Enable
Strobe Polarity                         (bool) default=false value=false category=Special group=Strobe Enable
Strobe Exposure                         (bool) default=false value=false category=Special group=Strobe Enable
GPOut                                   (int) min=0 max=1 step=1 default=0 value=0 category=Special group=GPIO
GPIn                                    (int) min=0 max=1 step=1 default=0 value=1 category=Special group=GPIO
Offset X                                (int) min=0 max=1024 step=16 default=0 value=0 category=Partial Scan group=Offset Auto Center
Offset Y                                (int) min=0 max=1008 step=4 default=0 value=0 category=Partial Scan group=Offset Auto Center
Offset Auto Center                      (bool) default=true value=true category=Partial Scan group=Offset Auto Center
Trigger Polarity                        (enum)  default=Rising Edge category=Special group=Trigger Mode
                                                value=Rising Edge
                                                         Falling Edge
                                                         Rising Edge
Trigger Burst Count                     (int) min=1 max=1000 step=1 default=1 value=1 category=Special group=Trigger Mode
Trigger Debounce Time (us)              (int) min=0 max=1000000 step=1 default=0 value=0 category=Special group=Trigger Mode
Trigger Mask Time (us)                  (int) min=0 max=1000000 step=1 default=0 value=0 category=Special group=Trigger Mode
Trigger Noise Surpression Time (us)     (int) min=0 max=1000000 step=1 default=0 value=0 category=Special group=Trigger Mode
Auto Functions ROI Control              (bool) default=true value=true category=Special group=Auto Functions ROI Control
Auto Functions ROI Left                 (int) min=0 max=1264 step=1 default=0 value=320 category=Special group=Auto Functions ROI Control
Auto Functions ROI Top                  (int) min=0 max=1008 step=1 default=0 value=256 category=Special group=Auto Functions ROI Control
Auto Functions ROI Width                (int) min=16 max=1280 step=1 default=0 value=640 category=Special group=Auto Functions ROI Control
Auto Functions ROI Height               (int) min=16 max=1024 step=1 default=0 value=512 category=Special group=Auto Functions ROI Control
Exposure Auto Upper Limit Auto          (bool) default=true value=true category=Exposure group=Exposure
Exposure Auto Upper Limit               (int) min=50 max=1000000 step=1 default=333 value=4761 category=Exposure group=Exposure
Override Scanning Mode                  (int) min=1 max=16 step=1 default=1 value=0 category=Partial Scan group=Override Scanning Mode
Auto Functions ROI Preset               (enum)  default=Center 50% category=Special group=Auto Functions ROI Control
                                                value=Center 50%
                                                         Bottom Half
                                                         Center 25%
                                                         Center 50%
                                                         Custom Rectangle
                                                         Full Sensor
                                                         Top Half
Trigger Global Reset Release            (bool) default=false value=false category=Special group=Trigger Mode

Some TCam logs (TCAM_LOG=DEBUG):
2021.09.21T17:13:15:704        <INFO> V4l2Device.cpp:412: Current framerate is 210 / 1 fps
2021.09.21T17:13:15:705        <WARNING> v4l2_utils.cpp:145: Unable to find std property. Passing raw property identifier through. 'Exposure Time (us)'(199e201)
2021.09.21T17:13:15:707        <INFO> V4l2Device.cpp:1190: Encountered write only control.
2021.09.21T17:13:15:711        <INFO> V4l2Device.cpp:859: Detected multiple exposure interfaces. Simplifying
2021.09.21T17:13:15:713        <DEBUG> V4l2Device.cpp:693: Found format: Y800
2021.09.21T17:13:15:714        <INFO> format.cpp:142: No string for fourcc 0x0
2021.09.21T17:13:15:714        <DEBUG> V4l2Device.cpp:693: Found format:
2021.09.21T17:13:15:714        <DEBUG> V4l2Device.cpp:693: Found format: Y16
2021.09.21T17:13:15:714        <DEBUG> V4l2Device.cpp:243: Returning 3 formats.
2021.09.21T17:13:15:714        <DEBUG> PipelineManager.cpp:127: Received 3 formats.
2021.09.21T17:13:15:716        <DEBUG> PropertyHandler.cpp:273: Created 32 properties
2021.09.21T17:13:15:716        <INFO> tcamgstbase.cpp:1651: Format has empty fourcc. Ignoring
2021.09.21T17:13:15:722        <INFO> ImageSource.cpp:68: Source changed to state STOPPED
2021.09.21T17:13:15:722        <DEBUG> V4l2Device.cpp:538: Stopping stream
2021.09.21T17:13:15:722        <DEBUG> V4l2Device.cpp:563: Stopped stream
2021.09.21T17:13:16:706        <INFO> CaptureDeviceImpl.cpp:159: Closed device DMK 33UP1300.
2021.09.21T17:13:16:709        <INFO> V4l2Device.cpp:412: Current framerate is 210 / 1 fps
2021.09.21T17:13:16:712        <INFO> V4l2Device.cpp:1190: Encountered write only control.
2021.09.21T17:13:16:714        <INFO> V4l2Device.cpp:859: Detected multiple exposure interfaces. Simplifying
2021.09.21T17:13:16:714        <DEBUG> V4l2Device.cpp:693: Found format: Y800
2021.09.21T17:13:16:717        <INFO> format.cpp:142: No string for fourcc 0x0
2021.09.21T17:13:16:717        <DEBUG> V4l2Device.cpp:693: Found format:
2021.09.21T17:13:16:718        <DEBUG> V4l2Device.cpp:693: Found format: Y16
2021.09.21T17:13:16:718        <DEBUG> V4l2Device.cpp:243: Returning 3 formats.
2021.09.21T17:13:16:718        <DEBUG> PipelineManager.cpp:127: Received 3 formats.
2021.09.21T17:13:16:718        <DEBUG> PropertyHandler.cpp:273: Created 32 properties
2021.09.21T17:13:16:718        <INFO> tcamgstbase.cpp:1651: Format has empty fourcc. Ignoring
2021.09.21T17:13:16:719        <DEBUG> V4l2Device.cpp:1393: Changed ctrl Trigger Mode to value 0.
[17:13:16.719] [info] Setting property Exposure Auto=false
2021.09.21T17:13:16:763        <DEBUG> V4l2Device.cpp:1393: Changed ctrl Exposure Auto to value 0.
[17:13:16.763] [info] Setting property Gain Auto=false
2021.09.21T17:13:16:763        <DEBUG> V4l2Device.cpp:1393: Changed ctrl Gain Auto to value 0.
[17:13:16.763] [info] Setting property Trigger Polarity=Rising Edge
2021.09.21T17:13:16:764        <DEBUG> V4l2Device.cpp:1393: Changed ctrl Trigger Polarity to value 0.
2021.09.21T17:13:16:768        <INFO> tcamgstbase.cpp:968: Fixating assumed largest caps: video/x-raw, format=(string)GRAY8, width=(int)1280, height=(int)1024, framerate=(fraction)210/1
2021.09.21T17:13:16:768        <INFO> tcamgstbase.cpp:1009: Largest caps are: video/x-raw, framerate=(fraction)210/1, width=(int)1280, height=(int)1024, format=(string)GRAY8
2021.09.21T17:13:16:770        <INFO> ImageSource.cpp:68: Source changed to state STOPPED
2021.09.21T17:13:16:770        <DEBUG> V4l2Device.cpp:538: Stopping stream
2021.09.21T17:13:16:770        <DEBUG> V4l2Device.cpp:563: Stopped stream
2021.09.21T17:13:16:770        <DEBUG> V4l2Device.cpp:163: Requested format change to 'format=Y800,width=1280,height=1024,framerate=210.000000' 30303859
2021.09.21T17:13:16:771        <DEBUG> V4l2Device.cpp:379: Setting framerate to '210.000000' =  210 / 1
2021.09.21T17:13:16:773        <INFO> V4l2Device.cpp:412: Current framerate is 210 / 1 fps
2021.09.21T17:13:16:773        <DEBUG> V4l2Device.cpp:223: Active format is: 'format=Y800,width=1280,height=1024,framerate=210.000000'
2021.09.21T17:13:16:773        <DEBUG> PipelineManager.cpp:222: Found device fourcc 'Y800' - 30303859
2021.09.21T17:13:16:773        <INFO> format.cpp:142: No string for fourcc 0x0
2021.09.21T17:13:16:774        <DEBUG> PipelineManager.cpp:222: Found device fourcc '' - 0
2021.09.21T17:13:16:774        <DEBUG> PipelineManager.cpp:222: Found device fourcc 'Y16' - 20363159
2021.09.21T17:13:16:774        <DEBUG> V4l2Device.cpp:163: Requested format change to 'format=Y800,width=1280,height=1024,framerate=210.000000' 30303859
2021.09.21T17:13:16:775        <DEBUG> V4l2Device.cpp:379: Setting framerate to '210.000000' =  210 / 1
2021.09.21T17:13:16:777        <INFO> V4l2Device.cpp:412: Current framerate is 210 / 1 fps
2021.09.21T17:13:16:777        <DEBUG> V4l2Device.cpp:223: Active format is: 'format=Y800,width=1280,height=1024,framerate=210.000000'
2021.09.21T17:13:16:777        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:777        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:777        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:777        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:777        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:777        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:777        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:777        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:778        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:778        <INFO> ImageBuffer.cpp:38: allocating data buffer
2021.09.21T17:13:16:778        <INFO> PipelineManager.cpp:476: Pipeline creation successful.
2021.09.21T17:13:16:778        <INFO> PipelineManager.cpp:486: source ->  sink
2021.09.21T17:13:16:778        <INFO> ImageSink.cpp:51: Pipeline started playing
2021.09.21T17:13:16:778        <DEBUG> V4l2Device.cpp:1566: Will use 10 buffers
2021.09.21T17:13:16:778        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f9411f010) with length 1310720
2021.09.21T17:13:16:779        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:779        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f862ac010) with length 1310720
2021.09.21T17:13:16:780        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:780        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f8616b010) with length 1310720
2021.09.21T17:13:16:780        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:780        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f8602a010) with length 1310720
2021.09.21T17:13:16:781        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:781        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f85ee9010) with length 1310720
2021.09.21T17:13:16:782        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:782        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f85da8010) with length 1310720
2021.09.21T17:13:16:782        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:782        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f85c67010) with length 1310720
2021.09.21T17:13:16:783        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:783        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f85b26010) with length 1310720
2021.09.21T17:13:16:784        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:784        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f859e5010) with length 1310720
2021.09.21T17:13:16:784        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:784        <DEBUG> V4l2Device.cpp:1593: Queueing buffer(0x7f858a4010) with length 1310720
2021.09.21T17:13:16:785        <DEBUG> V4l2Device.cpp:1602: Successfully queued v4l2_buffer
2021.09.21T17:13:16:786        <DEBUG> V4l2Device.cpp:507: Setting stream timeout to 2
2021.09.21T17:13:16:786        <INFO> V4l2Device.cpp:529: Starting stream in work thread.
2021.09.21T17:13:16:786        <DEBUG> ImageSource.cpp:57: PLAYING....
2021.09.21T17:13:16:786        <INFO> PipelineManager.cpp:83: All pipeline elements set to PLAYING.
2021.09.21T17:13:20:789        <ERROR> V4l2Device.cpp:1459: Timeout while waiting for new image buffer.
2021.09.21T17:13:24:793        <ERROR> V4l2Device.cpp:1459: Timeout while waiting for new image buffer.
2021.09.21T17:13:28:796        <ERROR> V4l2Device.cpp:1459: Timeout while waiting for new image buffer.
2021.09.21T17:13:32:801        <ERROR> V4l2Device.cpp:1459: Timeout while waiting for new image buffer.
2021.09.21T17:13:36:805        <ERROR> V4l2Device.cpp:1459: Timeout while waiting for new image buffer.
2021.09.21T17:13:36:805        <WARNING> V4l2Device.cpp:1480: Did not receive image for long time.
2021.09.21T17:13:40:809        <ERROR> V4l2Device.cpp:1459: Timeout while waiting for new image buffer.
2021.09.21T17:13:44:813        <ERROR> V4l2Device.cpp:1459: Timeout while waiting for new image buffer.
2021.09.21T17:13:48:815        <ERROR> V4l2Device.cpp:1459: Timeout while waiting for new image buffer.
... timeouts keep going forever

Hello!
What you describe can happen, therefore, I suggest two things: Use a frame rate above 200fps, because the image exposure time and the delivery time sum up in trigger mode.
Secondly you may set the "Trigger Mask Time" property to 5ms, so the camera wont accept any triggers, that come not in 5ms interval.
I hope, this helps.

Thank you, Stefan, for super fast reply! :) I will try changing the trigger mask time and see, if it helps.

OK, I have tried adjusting the trigger mask time, but the problem persists.
At first, I thought the issue was caused by my GStreamer init/setup, but after few tests, I've noticed it's present also when using V4L2 backend. It can be reproduced just using tcam-capture as well.
From my observation, it looks like the camera really hates when another trigger signal comes during image exposure. It puts the camera into some limp mode and it's impossible to use afterwards. tcam-capture then shows "In Trigger Mode. Waiting for first image..." forever.
Since the only known working solution for me is unplugging/plugging USB power, I ended up doing exactly that. So, if anyone encounters this on nVidia Jetson Nano, this might be helpful: https://forums.developer.nvidia.com/t/usb-power-control/79037/7
realtek_hub_power_cycle.c.txt

Which value do use for trigger mask time? If I remember correctly, its unit is µs. so you may set it to 5000
Did you also enhance the frame rate? exposure time + 1/framerate must fit into your trigger frequency.

When I set the trigger mask time to 5000, I was missing every other frame - which seems to be correct behaviour, since every second trigger signal was ignored. Then, setting exposure time to 10ms (10000us) made the camera stuck again.
I then decreased the trigger mask time to 4500, which gave me steady 200 fps image stream, but the problem persisted.
Exposure times are usualy between 1000us and 3000us. FPS is set to "210/1".
Also, if I start randomly switching FPS in tcam-capture from "210/1" to "1/1" and back, it makes the camera stuck as well even when the exposure is less than 5ms and I have to unplug/plug. (I know that's probably wrong parameter usage combined with external triggerering, but I would assume the camera can handle this and recover)

The trigger signal is generated by specialized HW device and can't be changed. But I will try to make some fake trigger source using Arduino and see, if I get the same result even with lower frequencies.
Another observation, just for info:
Randomly disconnecting and reconnecting just the trigger wires at the HW source, the camera hangs after few tries. Exposure time was 1000us (autoexposure disabled), external triggering enabled, trigger mask time was 4500us (but happened with 0us as well), FPS "210/1", only using tcam-capture.

Randomly disconnecting and reconnecting just the trigger wires at the HW source, the camera hangs after few tries. Exposure time was 1000us (autoexposure disabled), external triggering enabled, trigger mask time was 4500us (but happened with 0us as well), FPS "210/1", only using tcam-capture.

Is it possible, that the trigger signal is not clear and that you get during connect and disconnect trigger signals in due to bouncing?
I must admit, until now I saw not so much issues with triggering, as you report. Did you check your trigger signal with an oscilloscope?

OK, I am back with more results! :)
I changed the 200 Hz trigger signal to 10 Hz trigger signal, meaning the trigger period was 100ms. Everything worked fine as long as the exposure time was less than 100ms. Once I set the exposure to 100ms or more, the camera got stuck again, like a clockwork!
Also, here is how the 200 Hz trigger signal looks on oscilloscope:

When the trigger cable is connected (we are using RJ12 connector on the source side):

... and when disconnected:

Bouncing when connecting the cable might be an issue, but I would still expect the camera to recover from it after the signal stabilizes. And more importantly - bouncing does not really explain why the camera gets stuck, when exposure time is longer than trigger period.

Hello
First of all, I must apologize for wasting your time. I checked on my own today with firmware 781, which is the one in your camera. I could reproduce your issue immediately. The firmware, which is currently in release test does not expose this issue. If the camera is overwhelmed with triggers, then these triggers are simply ignored and nothing happens, except the number of frames you will receive may goes down. How far it goes down seems to depend on the trigger frequency : framerate ratio. If I set 210 fps I can trigger with 1000Hz and get 200 fps. However, triggering with 200Hz gives the wanted result.
Please create a contact at https://www.theimagingsource.com/support/contact/, so I can send my test firmware to you. The firmware is still in release test and therefore not released for the production line by now.
Stefan

No worries and thank you very very much, Stefan! :) I am glad it got resolved after all!
I will contact you through the contact form.

Hello, problem is solved?

No, the problem is not solved.

Stefan
Hello.

Can I ask DFK 33UX250 has the same firmware and problems?
Thank you.

Hello
The firmware and hardware are different. However, after nearly two years I am completely lost, so I can not answer the second question.
Stefan

You cameras seem to have the current 1086 firmware. Do you encounter this issue?

You cameras seem to have the current 1086 firmware. Do you encounter this issue?

Hello! Stefan.
My issues are different. I'm using 2 cameras as I said in the request, 45020167, 45020169.
I currently have the issue like this. I'm using ROS2 to publish hardware synchronized stereo imgs. When I launched 2 cameras, sometimes it can receive imgs from both cameras. Sometimes it can only receive imgs from one cameras.
And I also need to unplug the USB cables to reinitiate the cameras to start the pipeline. Or we can't continuously start the cameras again. Then the above conditions could repeat.. Currently just cannot debug the issues.
Thank you!

Hello
So it is a completely different issue. I already asked an engineer to have a look.
Did you take care of the frame rates? If both cameras are connected to the same USB 3 controller of your desktop computer, then you must reduce the frame rates, other the USB bandwidth is exhausted. If 75fps is the maximum frame rate, then you should set the frame rate to 30/1 for both cameras. Then there is enough bandwidth. Accordingly you must trigger a little bit less then 30Hz
Stefan

Hello
So it is a completely different issue. I already asked an engineer to have a look.
Did you take care of the frame rates? If both cameras are connected to the same USB 3 controller of your desktop computer, then you must reduce the frame rates, other the USB bandwidth is exhausted. If 75fps is the maximum frame rate, then you should set the frame rate to 30/1 for both cameras. Then there is enough bandwidth. Accordingly you must trigger a little bit less then 30Hz
Stefan

Sorry for the misleading.
For the frame rates, I set them low as 15/1 for both actually. But I'm using Jetson agx xavier type C port with a USB 3. 0 hub to connect cameras. Can type C port be a problem for bandwidth?

The C Port should not be an issue.
What is your trigger frequency?

Can you please run
lsusb -t
and show me the output.

The C Port should not be an issue.
What is your trigger frequency?

I saw your comments about exposure time and 1/framerate should fit into the trigger frequency.
My trigger frequency is 0.08+1/2=0.58..

Hello
The USB setting is perfectly ok, as expected.
My understanding is also, that the trigger frequency is fitting well too.
So the issue is, you do not get images from both cameras, if you trigger them. In your setup, the cameras will send an image for sure. But it may happens, that there are packet losts and then tiscamera will drop incomplete frames.
I must say, I am lost. In order to narrow down the issue, I would start with lower frame rates and trigger frequencies, just to see the reliability of image data transfer. Then I would rise the frame rates and trigger frequency in order to see, whether the image data transfer becomes unreliable.
I assume, you use standard USB 3 cables of 3m length maximum.
You could check with lspci which USB Controller chips are in use. Only ASMedia could make trouble in some cases.
I am sorry for not having a better answer.
Stefan

Hello
The USB setting is perfectly ok, as expected.
My understanding is also, that the trigger frequency is fitting well too.
So the issue is, you do not get images from both cameras, if you trigger them. In your setup, the cameras will send an image for sure. But it may happens, that there are packet losts and then tiscamera will drop incomplete frames.
I must say, I am lost. In order to narrow down the issue, I would start with lower frame rates and trigger frequencies, just to see the reliability of image data transfer. Then I would rise the frame rates and trigger frequency in order to see, whether the image data transfer becomes unreliable.
I assume, you use standard USB 3 cables of 3m length maximum.
You could check with lspci which USB Controller chips are in use. Only ASMedia could make trouble in some cases.
I am sorry for not having a better answer.
Stefan

Hello!
The routine and advice that you would like to conduct are quite helpful already. I will keep on.
Thank you for your time.
Best regards,
Zion

Closed due to inactivity.


[Umbrella] Support Tez Client

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
Now, uniffle support Spark and MR client，but does not support tez.
Task list

Design document

[x]  #337

Dependent apache-tez code changes & pr

[x]  #831
[x] #832

client-tez common

[x]  #747
[x]  #872
[x]  #894
[x]  #915
[x]  #916
[x]  #919

client-tez AM

[x]  #819
[x]  #918

client-tez shuffle read

[x] #854
[x] #920
[x] #922
[x] #929
[x] #935

client-tez shuffle write

[x]  #855
[x]  #930
[x]   #943
[x]   #944

Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Thanks! It's a really great work!

Looking forward to this feature!

Could we indicate which PR is the first PR ?

cc @BsoBird If you have interest about Tez on rss, you can focus on this issue.

Finished.

@Lobo2008 @microeastcowboy  @XiaoqiMa  Uniffle is a remote shuffle service. Maybe you have interest about MapReduce on Uniffle and Tez on Uniffle.


Make RbSys::ExtensionTask work without gem spec

Currently, if users use RbSys::ExtensionTask without a gem spec, RbSys::ExtensionTask raises ArgumentError.
This is because Rake::BaseExtensionTask#initialize calls RbSys::ExtensionTask#init with gem_spec=nil.
https://github.com/rake-compiler/rake-compiler/blob/f845901f79681ddee8d387c20212585dee494990/lib/rake/baseextensiontask.rb#L28-L29
So gem_spec it to be nil, not  :undefined. That's why RbSys::ExtensionTask#lint_gem_spec raises ArgumentError.
This fixed to override initialize and set gem_spec as expected.

Thank you!


VK_ERROR_INCOMPATIBLE_DRIVER in WSL2, can't open GUI apps

Describe the issue
I can't open GUI apps such as Chrome, Cypress or VSCode through ArchWSL.
This is the error I get when I try to open Cypress:
$ cypress open --env testEnvironment=dev,FAIL_FAST_PLUGIN=false --config-file cypress.config.opp.js
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
glx: failed to create drisw screen
failed to load driver: zink
The Test Runner unexpectedly exited via a exit event with signal SIGSEGV

Chrome and VSCode do not open and don't return any message.
Firefox WORKS in ArchWSL.
Ubuntu works fine in my WSL and I can open Chrome and VSCode with Ubuntu.
To Reproduce
Try to open a GUI application such as Chrome, Chromium or VSCode.
Expected behavior
The program should open as usual.
Enviroment:

Windows build number: Microsoft Windows [Version 10.0.19044.3803]
Security Software: [e.g. ESET Internet Security]
WSL version: WSL2
ArchWSL version: <IP_ADDRESS>-microsoft-standard-WSL2
ArchWSL Installer type: zip
Launcher version: wsldl2, version 22020900  (amd64)

Hi, had the same issue, I solved it with:
export LIBGL_ALWAYS_INDIRECT=1 in the shell.
Add this to your .bashrc file to have it done every time bash is launched.

After updating my Arch system I wasn't able to get to the gui again, I had to run wsl --update and was able to connect again, but the gui performance is much worse, and I get the zink errors. I was already using LIBGL_ALWAYS_INDIRECT though. Is there a xorg driver package I should be installing?

After updating my Arch system I wasn't able to get to the gui again, I had to run wsl --update and was able to connect again, but the gui performance is much worse, and I get the zink errors. I was already using LIBGL_ALWAYS_INDIRECT though. Is there a xorg driver package I should be installing?

Although I dont know the answer for your question, I'd suggest having a look at here if you havent already. I'm sorry I don't know more than what's been written here already

I was able to get my archlinux xfce4 working snappy again by putting
export LIBGL_ALWAYS_INDIRECT=0
export GALLIUM_DRIVER=llvmpipe
into my relevant starter script.


[261.0] players invalid

players Map.ark player
File empty

The same happens to me and also happens with tribes


Added params for splash and config

Added yargs to support cli arguments.

Please accept the changes and add to npm.

@zpeterg since this PR never got accepted, I deployed a version with these features on npm under the name cordova-splash-cli use that if you need it.

Great, thanks!
On Jan 28, 2016 3:01 PM, "Ramon Gebben"<EMAIL_ADDRESS>wrote:

@zpeterg https://github.com/zpeterg since this PR never got accepted, I
deployed a version with these features on npm under the name
cordova-splash-cli use that if you need it.
—
Reply to this email directly or view it on GitHub
https://github.com/AlexDisler/cordova-splash/pull/14#issuecomment-176414741
.

Hey,
You can now specify CLI args with the latest version (0.0.9).
Thanks a lot for your pull request :+1:

Thanks!
On Wed, Aug 24, 2016 at 4:28 PM, Bruno Cartier<EMAIL_ADDRESS>wrote:

Closed #14 https://github.com/AlexDisler/cordova-splash/pull/14.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AlexDisler/cordova-splash/pull/14#event-766634646,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALNpbl0nVHXeLu_EjtJPAsG2CCElePhTks5qjLeWgaJpZM4GnZ-W
.


Automated Package Upgrade

:tada: This PR is included in version 8.1.21 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


analytics.js typo fix

Just a small comment clarification 😄

[x] npm test succeeds
[x] Pull request has been squashed into 1 commit
[x] I did NOT manually make changes to anything in apis/
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate JSDoc comments were updated in source code (if applicable)
[x] Appropriate changes to readme/docs are included in PR

I signed it!


Arrow heads pointing both ways

hi,
Is it possible for have arrows with the arrow heads pointing both ways? Could you please let me know how to do it? Thanks!

Hi all, is there any solution for this issue?

currently there is no such option
and btw. seems not to be a typical flowchart if having an arrow on both ends


notebook with working tutorial and files

Thanks for the package, (I am an R user with little python recent experience)
I read
https://github.com/theislab/scib
as well as
https://github.com/theislab/scib-pipeline
I have installed the scib repository, however I could not find any completed tutorial (with test file) on how to go from files to benchmark results/table, let's say of just two methods (including Seurat).
For example in the README, there is no info on how to create the variable adata_int
scib.metrics.metrics(adata, adata_int, ari=True, nmi=True)
Also a complete line-by-line installation of all methods (e.g. runDESC not installed by default) would be great.
Thanks a lot!

Hi @stemangiola,
With pip updates since we ran the benchmark, it's now no longer straightforward to install DESC and other tools in the same environment (the same is true for scGen in the version we ran it), so you would now need to install these tools separately and run them in a separate environment. You can still use the pipeline for all other tools.
For the use case example, maybe @mumichae can help you out with that.

Hi @stemangiola,
Thanks for the suggestions, we are currently working on documentation and have notebook tutorials planned. I'll get back to you once this is in development.

It seems that adata_int is the adata after integration. Is adata_int. X the embedding after processing by the batch correlation methods such as trVAE?

Hi @CocoGzh,
No, the embedding should be stored in adata.obsm['X_emb'] for embedding methods after integration like trVAE.

Hi @CocoGzh,
No, the embedding should be stored in adata.obsm['X_emb'] for embedding methods after integration like trVAE.

Thx!
With harmony as an example.
According to what you said, I put embedding into adata.obsm['X_pca_harmony'], and set the 'embed' parameter: scib.metrics.metrics(adata_a, adata_int, embed="X_pca_harmony").
However, there are some problems here. During the calculation, some metrics will be calculated incorrectly. For example, when calculating NMI, cluster labels will be obtained through Louvain firstly. While sc.tl.louvain algorithm will not be based on X_ pca_ Harmony. It calculates neighbors, distances or connectivity based on original X. The NMI result obtained in this way is the data before batch correlation.
What I'm doing now is to instantiate a new object, adata_int = sc.AnnData(X=adata.obsm['X_pca_harmony'], obs=adata.obs). and sc.pp.pca (adata_int). Then do scib.metrics.metrics(adata_a, adata_int, batch_key='', label_key='', embed='').
Do you have any suggestions?

@

Hi @CocoGzh,
No, the embedding should be stored in adata.obsm['X_emb'] for embedding methods after integration like trVAE.

Thx! @LuckyMD
With harmony as an example.
According to what you said, I put embedding into adata.obsm['X_pca_harmony'], and set the 'embed' parameter: scib.metrics.metrics(adata_a, adata_int, embed="X_pca_harmony").
However, there are some problems here. During the calculation, some metrics will be calculated incorrectly. For example, when calculating NMI, cluster labels will be obtained through Louvain firstly. While sc.tl.louvain algorithm will not be based on X_ pca_ Harmony. It calculates neighbors, distances or connectivity based on original X. The NMI result obtained in this way is the data before batch correlation.
What I'm doing now is to instantiate a new object, adata_int = sc.AnnData(X=adata.obsm['X_pca_harmony'], obs=adata.obs). and sc.pp.pca (adata_int). Then do scib.metrics.metrics(adata_a, adata_int, batch_key='', label_key='', embed='').
Do you have any suggestions?

Hi @CocoGzh,
We typically use the metrics() function in the context of our metrics.py script from the scib-pipeline repo
Here, we precompute the knn graph before running the metrics function as shown here:
https://github.com/theislab/scib-pipeline/blob/0c7be53b1000864fcd31a7b7594f9a5071204233/scripts/metrics/metrics.py#L161-L168
You could just use this reduceData() call to do the same for your data, and then use the metrics. I would also recommend to store your adata.obsm['X_pca_harmony'] as adata.obsm['X_emb']` just in case there is any hard coding of this that we might have missed (I don't think there is, but best to be safe).
@mumichae do we have an instructure for what is expected as input to run the metrics() functions?

Hi @CocoGzh,
We typically use the metrics() function in the context of our metrics.py script from the scib-pipeline repo
Here, we precompute the knn graph before running the metrics function as shown here: https://github.com/theislab/scib-pipeline/blob/0c7be53b1000864fcd31a7b7594f9a5071204233/scripts/metrics/metrics.py#L161-L168
You could just use this reduceData() call to do the same for your data, and then use the metrics. I would also recommend to store your adata.obsm['X_pca_harmony'] as adata.obsm['X_emb']` just in case there is any hard coding of this that we might have missed (I don't think there is, but best to be safe).
@mumichae do we have an instructure for what is expected as input to run the metrics() functions?

Hi, @LuckyMD @mumichae
Thx! I found the scripts provided by you that meet my needs in https://github.com/theislab/scib-pipeline/blob/0c7be53b1000864fcd31a7b7594f9a5071204233/scripts/integration/runIntegration.py
and https://github.com/theislab/scib-pipeline/blob/0c7be53b1000864fcd31a7b7594f9a5071204233/scripts/metrics/metrics.py.
I have two questions.
For the first script, Is "--input_file" an adata object that preprocessed by scanpy after standard pipeline, such as filter cells and genes, select HVG and etc.? I don't find any such operations in it.
For the second script, is "--uncorrected" and "--integrated" correspond to the input and output files of the first script respectively?

Btw, one more question. In the second script i.e. the evaluation script, the hyparameter '--type' can choose 'knn' and 'embed'. The algorithms of the MNN and BBKNN that modified adata.uns['neighbors']['distances'] and adata.uns['neighbors']['connectivities'], and we should choose 'knn'. Harmony or other deep learning algorithms modify adata.obsm['X_emb'], we should choose 'embed'. Is it right?

Hello,
it will be really great if you at least highlight the input needed for the routine metrics ( scib.metrics.metrics() ), i.e. you need two anndata objects, before and after integration. What slots are needed in each data object?
 I just get Nans when I try to use the function :(

Thanks


Update README

Updates and cleans the readme and adds a screenshot.
Trello: https://trello.com/c/522sgjON/64-update-collections-publisher-readme

:+1: Thanks for doing this.  One very minor comment, but it's really good to have this cleaned up.


refactor: Add interface function for status text

This reduces the need for the ViewLeakedAbstraction.

:tada: This PR is included in version 1.8.1 :tada:
The release is available on:

v1.8.1
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.8.1 :tada:
The release is available on:

v1.8.1
GitHub release

Your semantic-release bot :package::rocket:


Reverse-proxy with Envoy - Enable internal-redirects

I am trying to redirect all traffic going to a K8s pod to Envoy, with a later goal to perform some operations on that traffic (such as monitoring etc.). For this, I have added an IPTable rule to redirect traffic from network-interface to Envoy's address/port. Until here, it seems to work fine (I can see the requests coming into Envoy). Also, I am not using Istio, just Envoy.
However, I get 302 in grpc-responses which the service isnt designed to handle, so I must redirect internally within the proxy. Basically, the equivalent of -L in curl. In fact, if I make request with curl -L ...., it works as intended.
In docs, I saw the internal-redirect-policy: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/http_connection_management#internal-redirects
But unable to get it working, it seems to always detect it as invalid option. Here's a sample snippet:
              - filters:
                - name: "envoy.http_connection_manager"
                  config:
                    stat_prefix: "ingress"
                    codec_type: "AUTO"
                    use_remote_address: true
                    route_config:
                      name: "xyz"
                      virtual_hosts:
                      ...
                      internal_redirect_policy:
                        max_internal_redirects: 5
                        allow_cross_scheme_redirect: true

I couldnt find an example which used internal_redirect_policy, so a config-example would really help.

Found the issue. I was using the config-version V2, and it worked after adding --bootstrap-config 3 to startup-options (had to also change a few things in config-yaml due to API-changes).


dont trim leading whitespace off result, only trailing

wont break list indentation

The changes to the tests show what is changing.
This:

A

B

 was being formatted as this: (note the misalignment)
* A
 * B

Now it will be formatted as this:
 * A
 * B

The trailing whitespace is still trimmed from the result, but leading whitespace shouldn't be there in the first place unless it is supposed to be.

closing in favor of #141


PyTorch Lightning version

Hi,
When I followed these steps to test pre-trained model, I got this error:
(clmr) yunusemre.ozkose@server:/CLMR$ python main.py --dataset audio --dataset_dir /path/to/test_audio_dataset_dir
Global seed set to 42
Traceback (most recent call last):
  File "main.py", line 129, in <module>
    module = module.load_from_checkpoint(
  File "/miniconda3/envs/cmlr/lib/python3.8/site-packages/pytorch_lightning/core/saving.py", line 137, in load_from_checkpoint
    return _load_from_checkpoint(
  File "/miniconda3/envs/cmlr/lib/python3.8/site-packages/pytorch_lightning/core/saving.py", line 205, in _load_from_checkpoint
    return _load_state(cls, checkpoint, strict=strict, **kwargs)
  File "/miniconda3/envs/cmlr/lib/python3.8/site-packages/pytorch_lightning/core/saving.py", line 250, in _load_state
    obj = cls(**_cls_kwargs)
TypeError: __init__() missing 1 required positional argument: 'args'

There was a related bug in Lightning that seems to be solved. Could you state your PyTorch Lightning version?

have you solved this issue? I'm having trouble with this same issue.

Hi @ee-jw , actually I even don't remember where/when I used this model, sorry.


WIP - Let a user define a custom scalar type by passing a GraphQLScalarType through resolveFunctions

TODO:

[ ] Commit messages are formatted in a standard-version friendly way
[x] Make sure all of the significant new logic is covered by tests
[x] Rebase your changes on master so that they can be merged easily
[x] Make sure all tests and linter rules pass

Thanks for your feedback ! Now processing it ... ;)

For those who read, some informations about this PR are available in the corresponding issue :
https://github.com/apollostack/graphql-tools/issues/176

Yep, I agree that this PR should be structured allow people to use any GraphQL-JS scalar type, not just JSON.

Hi, I just made a new commit and now it's supposed to be better ... Tell me.

Hi,
Can someone make a review ? @DxCx ? @stubailo ? I'd like to have an opinion.
Regards,
Olivier

@oricordeau hi im on vacation with limited access.
Will take a look in few days if it wont be reviewed by @stubailo in the meanwhile..

@DxCx Happy vacation, then :)

This looks great!
So what should we do with the documentation here: http://dev.apollodata.com/tools/graphql-tools/scalars.html
I guess we should still document some but also document how to use packages like the JSON type?

Well done @oricordeau !

Great !! I'll make a PR on the docs repo soon ...


feat: [Make-a-wish] Support for Kubernetes of Helm chart

Description
As a kubernetes user
I want quickly deploy to my k8s cluster

Thank you for your suggestion. We are currently continuously improving the functionality of the open source version, and the deployment of Helm Chart needs to be arranged later.


Environments: Repo cloned onto Microsoft Dev Box contains redundant folder in destination path

Dev Home version
0.1801.621.0
Windows build number
10.0.26290.5000
Other software
OS Build Version: 10.0.26290.5000.amd64fre.ge_current_directadept.240911-1743
.NET Version: .NET 8.0.8
Steps to reproduce the bug
In Dev Home on the Environments page:

Choose a Microsoft Dev Box image and select the 'Set up' option
Clone https://github.com/microsoft/devhomeazureextension
Specify C:\users<username>\source\repos as the destination directory on the Dev Box

Expected result
The repository is cloned to that location on the Microsoft Dev Box
Actual result
When I check the expected location of the repository, there's an extra folder in the path matching the name of the repository (i.e., it is cloned to C:\users<username>\source\repos\devhomeazureextension\devhomeazureextension).

Included System Information
CPU: 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
Physical Memory: 31.83GB (13.95GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Hyper-V Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Windows Subsystem for Linux Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Git)
Microsoft.Windows.DevHomeGitHubExtension_0.1700.597.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Preview))
Microsoft.Windows.DevHomeAzureExtension_0.1200.597.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Preview))
Microsoft.Windows.DevHome.Canary_0.1801.621.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome.Canary_0.1801.621.0_x64__8wekyb3d8bbwe (Hyper-V Extension)
Microsoft.Windows.DevHome.Canary_0.1801.621.0_x64__8wekyb3d8bbwe (Windows Subsystem for Linux Extension)
Microsoft.Windows.DevHome.Canary_0.1801.621.0_x64__8wekyb3d8bbwe (Git (Canary))
Microsoft.Windows.DevHomeGitHubExtension.Canary_0.1800.621.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Canary))
Microsoft.Windows.DevHomeAzureExtension.Canary_0.1300.621.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Canary))
Widget Service:
MicrosoftWindows.Client.WebExperience_524.25601.0.0_x64__cw5n1h2txyewy
Microsoft.WidgetsPlatformRuntime_<IP_ADDRESS>_x64__8wekyb3d8bbwe

could you help us better understand this design decision?

This isn't a design decision.  This should not happen.

@adrastogi does this behavior repro with other repositories, or just DevHomeAzureExtension?


[Bug] XmlInputFormat doesn't play nice with newlines

Hi,
I have no idea how to fix it but this seems a pretty tricky bug
The following code:
    // This will detect the tags including attributes
    sc.hadoopConfiguration.set(XmlInputFormat.START_TAG_KEY, s"<note>")
    sc.hadoopConfiguration.set(XmlInputFormat.END_TAG_KEY, s"</note>")
    sc.hadoopConfiguration.set(XmlInputFormat.ENCODING_KEY, "utf-8")

    sc.newAPIHadoopFile(path,classOf[XmlInputFormat],classOf[LongWritable],classOf[Text])

works for the following xml:
<?xml version="1.0"?>

<note xmlns="http://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3schools.com note.xsd">
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  Don't forget me this weekend!
</note>

but doesn't work for the following xml (newline right after tag)
<?xml version="1.0"?>

<note
xmlns="http://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3schools.com note.xsd">
  <to>Tove</to>
  <from>Jani</from>
  <heading>Reminder</heading>
  Don't forget me this weekend!
</note>

Hm.. I see. I will try to reproduce this. Thank you for reporting this!

Indeed. This should be around here https://github.com/databricks/spark-xml/blob/master/src/main/scala/com/databricks/spark/xml/XmlInputFormat.scala#L213-L225.


HHH-10484 - Add hibernate.jdbc.log.warnings configuration property

https://hibernate.atlassian.net/browse/HHH-10484

Looks good to me

rejected


How can I set authorization token or x-access-token in the header using axios?

Hi, in my REACT app, I am trying to pass the authorization or x-access-token in the header using axios to all my api calls. I keep getting "Response for preflight has invalid HTTP status code 403"
const token = 'xxx';
axios.defaults.headers.common['Authorization'] ='Bearer ' + token;
or
axios.default.headers['x-access-token'] = token;
Please help! Thanks!

When a web app makes a CORS request (a request to a server that runs on a different host or port than the web app), the browser sends a preflight (OPTIONS) request first. (Please see this for details.) Make sure that your back-end handles OPTIONS request properly.


Adding 'filter_template' config option to sensor.mqtt and sensor_binary.mqtt.

Description:
Adding a 'filter_template' config option to MQTT Sensor and MQTT Binary Sensor to enable the possibility to filter updates to the sensor value based on message content. Can be used if the mqtt messages from separate sensors are not nicely normalized into separate topics or if the update must be based on some qualifier like CRC check or battery level ok etc.
Adding a 'expire_after' config option to MQTT Binary Sensor to be able to handle unary sensors.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#4756
Example entry for configuration.yaml (if applicable):
  - platform: mqtt
    name: "PIR Hall"
    state_topic: "home/rtl_433"
    filter_template: "{{ value_json['model'] == 'Chuango Security Technology' and value_json['id'] == 42 }}"
    value_template: "{{ 'ON' }}"
    expire_after: 30

Checklist:

[X] The code change is tested and works locally.

If user exposed functionality or configuration variables are added/changed:

[X] Documentation added/updated in home-assistant.github.io

Hi @vestom,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

I am not sure if filter template is a good idea. The info on topics being chaotic doesn't sound like a common use case that we need to solve. Could easily be done in a custom element.
For the expire after part:

This will require tests
Please keep PRs limited to 1 feature.
Use cv.time_period to validate periods of time

Hi Paulus,
I looked a bit around to solve the problem, and it seems I am not the only
one with this problem:
https://community.home-assistant.io/t/help-with-mqtt-templating-from-domoticz/8375
http://blog.rniemand.com/monitoring-phone-battery-with-owntracks-home-assistant/
https://community.home-assistant.io/t/mqtt-message-filtering-with-template/42961
The proposed workarounds are not exactly elegant nor efficient...
OpenHAB also has this feature (regex_filter):
https://docs.openhab.org/addons/bindings/mqtt1/readme.html
I personally think, it would be a powerful and generic feature to be able
have both a template for extracting values and do selective updates for
MQTT messages.
But please advise me how to progress. Is there documentation for how to
create tests?
Cheers,
Tommy
On 26 February 2018 at 04:25, Paulus Schoutsen<EMAIL_ADDRESS>wrote:

I am not sure if filter template is a good idea. The info on topics being
chaotic doesn't sound like a common use case that we need to solve. Could
easily be done in a custom element.
For the expire after part:

This will require tests
Please keep PRs limited to 1 feature.
Use cv.time_period to validate periods of time

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/12666#issuecomment-368379779,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKO2YeLrxZWRVxYIZCk1ERyOwQiy8tq1ks5tYiQ_gaJpZM4SSYVx
.

The tests are in the test folder. Naming structure is the same. For example, here is the MQTT sensor one: https://github.com/home-assistant/home-assistant/blob/dev/tests/components/sensor/test_mqtt.py

I'm still not convinced of the use case. OpenHAB having it is not a good argument 😉  And for OwnTracks you can just extract the battery level from the OwnTracks device tracker entity.