Do not break long urls in comments.

// https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md#encoding-higher-kinded-types

is format to this
// https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.
// md#encoding-higher-kinded-types

What should we do with such comments?

Leave it as it is. Break a url is bad because we cannot click it anymore...

We could try to break before the URL, if we are into breaking comments, otherwise leave as is.

Note that this also breaks in the case of the (style-guide-recommended) reference-style link, so this:
/// Here's a snippet talking about [higher-kinded types][1]. We might go on...

[1]: https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md#encoding-higher-kinded-types

becomes this:
/// Here's a snippet talking about [higher-kinded types][1]. We might go on...
///
/// [1]: https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-
/// items.md#encoding-higher-kinded-types

I think the best solution is:

break before inline URLs if line-wrapping in comments of whatever variety
avoid wrapping at all in reference-style links

There should be no breakings in reference-style links as this brakes formatting also:
/// Here's a snippet talking about [higher-kinded types][1]. We might go on...
///
/// [1]: https://short.example.link/ "Long description that will appear in hover on the link, this often contain description of page that is linked"

becomes this:
/// Here's a snippet talking about [higher-kinded types][1]. We might go on...
///
/// [1]: https://short.example.link/ "Long description that will appear in hover
/// on the link, this often contain description of page that is linked"

This gets left as is by default, but the bug still exists if we turn on comment formatting

Closed by https://github.com/rust-lang-nursery/rustfmt/pull/911.

When calling rustfmt on a file with:
//! For a quick overview see
//! [wikipedia](https://en.wikipedia.org/wiki/Bit_Manipulation_Instruction_Sets#BMI1_.28Bit_Manipulation_Instruction_Set_1.29).
//! The reference is [Intel 64 and IA-32 Architectures Software Developer's
//! Manual Volume 2: Instruction Set Reference,
//! A-Z](http://www.intel.de/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf).
//!

I get errors of the form:
Rustfmt failed at ...: line exceeded maximum length (sorry)
Rustfmt failed at ...: line exceeded maximum length (sorry)

Is this normal? Seems related to this issue but this issue is closed

It also seems to fail when an URL is in a list in a comment. For example here:
/// # Intrinsic (when available BMI1)
///
/// - [`BEXTR`](http://www.felixcloutier.com/x86/BEXTR.html): Bit field extract (supports 32/64 bit registers).
///

That could be formatted to something like
/// # Intrinsic (when available BMI1)
///
/// - [`BEXTR`](http://www.felixcloutier.com/x86/BEXTR.html): Bit field
///   extract (supports 32/64 bit registers).
///

I don't think #911 fixes this, because you split on punctuation.
As an example, the following:
/// See the [https://download.libsodium.org/doc/helpers/memory_management.html#guarded-heap-allocations](libsodium)
/// documentation for all of the security guarantees provided by this
/// function.

is converted to:
/// org/doc/helpers/memory_management.
/// html#guarded-heap-allocations](libsodium)
/// documentation for all of the security guarantees provided by this
/// function.

Related: https://github.com/steveklabnik/rustdoc/issues/178
Technically, markdown can handle URLs split over multiple lines, so rustfmt should actually follow markdown URL splitting style. rustdoc cannot currently handle this, but once that is fixed, this could be fixed too...

Leave it as it is. Break a url is bad because we cannot click it anymore...

Why can't you click it anymore? Your editor should know that in Rust mode comments follow markdown, and thus recognize an URL even when its split across multiple line as long as the split follows markdown style.

Triage: rustfmt no longer splits comments with URLs.

@gnzlbg Do you have a source for this?

Technically, markdown can handle URLs split over multiple lines, so rustfmt should actually follow markdown URL splitting style.

I can't find anything about URL breaking in the original, or any of the popular, markdown "specs". It would be very useful in producing test material for related issues.


Report sharing documentation is wrong

[Enter feedback here]

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

ID: 21f47742-00cf-eac0-7880-18eb5e988003
Version Independent ID: 0010dce8-b1e0-b1b4-9840-ff2c3e32b53e
Content: Share Power BI reports and dashboards with coworkers and others - Power BI
Content Source: powerbi-docs/collaborate-share/service-share-dashboards.md
Service: powerbi
Sub-service: pbi-collaborate-share
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @Kirtc. This issue has been assigned to the doc author for review.

Hi @Kirtc, we've opened a work item to improve this article. Thanks for your feedback! Closing this issue here now.


US27: The image replacing should happen on a separate screen and it should have Websockets integration.

Closed with commits: 3a78045e81a3566aac37f2ef4c2923ddbdafe031, a783dd0747fe5a2e95ec20b4780696ca59a7376b


Finding an inline-flex element withText and regular expression does not work in Edge

What is your Test Scenario?
I would like to find an element on the page that matches a certain text. (i.e. Selector('button').withText(/^text$/iu);)
What is the Current behavior?
The element is not found on the page if the element has

display: inline-block
a child element containing the text (e.g. a span)
usually has display: inline (like button or a)

As far as I can tell, this only applies to Edge (not chromium, firefox or IE).
What is the Expected behavior?
The element is found on the page
What is your web application and your TestCafe test code?

Your tested Page:

<!doctype html>

    <title>withText example</title>

text

Your complete test code:

import { Selector } from 'testcafe'

fixture('withText example').page('http://<IP_ADDRESS>:8080/index.html');

test('matching element', async t => {
  const button = Selector('a').withText(/^text$/iu);

  await t.expect(button.exists).ok('button does not exist!')
});

Note that it works if

you remove the ^ and $ characters from the regex: .withText(/text/iu) or
the button does not have display: inline-flex or
the text is not inside the span element

Your complete test report:

 Running tests in:
 - Edge 17.17134.0 / Windows 10.0.0

 withText example
 ✖ matching element

   1) AssertionError: button does not exist!: expected false to be truthy

      Browser: Edge 17.17134.0 / Windows 10.0.0

          3 |fixture('withText example').page('http://localhost:8080/index.html');
          4 |
          5 |test('matching element', async t => {
          6 |  const button = Selector('a').withText(/^text$/iu);
          7 |
       >  8 |  await t.expect(button.exists).ok('button does not exist!')
          9 |});
         10 |

Steps to Reproduce:

Serve the provided HTML as index.html on localhost:8080 (e.g. use http-server: http-server .)
Run tests in edge (npx testcafe edge test.js) → Test fail
Run tests in a different browser (npx testcafe firefox test.js) → Test runs

Your Environment details:

testcafe version:                   0.23.2
node.js version:                    10.14.0
command-line arguments:  (see steps to reproduce)
browser name and version: Edge 17.17134.0
platform and version:          Windows 10

@Lukas-Kullmann withText related to the browser specific innerText property.
For example, in your case with the Chrome browser we have an extra newline symbol:
> document.querySelector('a').innerText
< "text
  "

Try to add \s* to your RegEx:
/^\s*text\s*$/iu.test(document.querySelector('a').innerText) === true

This inquiry is not related to TestCafe and the code above should also work in the browser natively.


ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs

Having included the plugin and submitted to Apple's App Store for Testflight I am getting the following email from Apple.

Dear Developer,
We identified one or more issues with a recent delivery for your app. Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
After you’ve corrected the issues, you can upload a new binary to App Store Connect.
Best regards,
The App Store Team

This has nothing to do with this plugin and relates to the use of UIWebView by Cordova - see https://github.com/apache/cordova-ios/issues/661

I believe it is related to the version of Firebase being installed by the plugin rather than Cordova.
The app submits fine before I add the plugin and afterwards generates the error. I am on the latest Cordova.
See https://github.com/firebase/firebase-ios-sdk/pull/3723

@MatthewPringle I think it is due to the firebase SDK's used by the plugin. I am also building an ionic app using ionic 3 and was using Cordova-plugin-firebase and got the warning mail. When I removed that plugin, the warning mail was not generated. I was going to use this plugin instead of that but I hope @dpa99c will share necessary information.

@Sagarkhenat yeah Firebase is a mess all round and im shocked about the lack of support Google provide in keeping it up to date.
The javascript version is even worse and refuses to run in Cordova unless you install a bunch of abandoned plugins which really no longer work and cause more emails from Apple about outdated code.
It is almost like they don't want you using Firebase!

Having included the plugin and submitted to Apple's App Store for Testflight I am getting the following email from Apple.

Dear Developer,
We identified one or more issues with a recent delivery for your app. Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
After you’ve corrected the issues, you can upload a new binary to App Store Connect.
Best regards,
The App Store Team

I fixed it by following these steps (comment by Matt Netkow, Ionic Team in https://cordova.apache.org/announcements/2019/11/25/cordova-ios-release-5.1.0.html):

Update cordova-ios at version 5.1.1
Update cordova-plugin-ionic-webview at version 4.1.3
Add  to your config.xml file.
Run "cordova prepare ios" to apply the changes.

If you use the cordova-plugin-inappbrowser plugin update it to the version 3.2.0 (https://github.com/apache/cordova-plugin-inappbrowser/pull/584)

TL;DR:

Follow steps above
Update to latest version of this plugin


cutadapt hangs when input is fastq.gz

Trying to run the small rna-seq pipeline with a template that looks like this:
upload:
  dir: ../final
details:
  - analysis: smallRNA-seq
    algorithm:
      aligner: star
      # change adapter according project
      adapters: ["TGGAATTCTCGGGTGC"]
      expression_caller: [trna, seqcluster, mirdeep2]
      species: mmu
    genome_build: mm10

Runs for days at the trimming step:
[2016-12-16T14:56Z] /path/share/bcbio/anaconda/bin/cutadapt --adapter=TGGAATTCTCGGGTGC --untrimmed-output=/path/work/trimmed/wt4/wt4.fragments.fastq.gz -o /path/work/trimmed/wt4/tx/tmpSWigfG/wt4.clean.fastq.gz -m 17 --overlap=8 /path/wt4.fastq.gz --too-short-output /path/work/trimmed/wt4/wt4.short.fastq.gz | tee > /path/work/trimmed/wt4/wt4.log

I tried this command directly at the command line, and it hangs forever without doing anything. Then gunzip'd the input file (also didn't gz the outputs) and it worked fine.
Possibly related to marcelm/cutadapt#137?

Hi,
sorry about that problem.
If you tried just a simple version it hangs as well? (mainly without printing the untrimmed file)
/path/share/bcbio/anaconda/bin/cutadapt --adapter=TGGAATTCTCGGGTGC -o /path/work/trimmed/wt4/tx/tmpSWigfG/wt4.clean.fastq.gz -m 17 --overlap=8 /path/wt4.fastq.gz  | tee > /path/work/trimmed/wt4/wt4.log

If this simpler version work I can add some options to do that instead.
If the only solution is to gunzip the input I would do that prior calling bcbio for now, to get the pipeline running until I have time to reproduce better.
Let me know!
thanks!

Thanks Stephen,
Sorry about that, working on this now.

Hi Stephen,
I tracked down this bug finally-- there is a bug in xopen 0.1.0 that hangs opening gzipped files on some systems. The newer version of cutadapt requires xopen 0.1.1 but that dependency hasn't been updated in the release version yet. I switched the bioconda recipe to require 0.1.1 and that seems to fix the problem.
I also simplified the cutadapt call to support the trimming paired files in one go rather than using the old two-pass method, so this step should be a little bit faster as well.

Thanks! Will bcbio_nextgen.py upgrade -u stable --tools do the trick?
On Mon, Dec 19, 2016 at 4:18 PM, Rory Kirchner<EMAIL_ADDRESS>wrote:

Hi Stephen,
I tracked down this bug finally-- there is a bug in xopen 0.1.0 that hangs
opening gzipped files on some systems. The newer version of cutadapt
requires xopen 0.1.1 but that dependency hasn't been updated in the release
version yet. I switched the bioconda recipe to require 0.1.1 and that seems
to fix the problem.
I also simplified the cutadapt call to support the trimming paired files
in one go rather than using the old two-pass method, so this step should be
a little bit faster as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/chapmanb/bcbio-nextgen/issues/1700#issuecomment-268081271,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcFLB38PjwNsgap4qiel4ghL9nifGk1ks5rJvS0gaJpZM4LPTHj
.

Hi Stephen,
Yup that will pull in the fixed xopen (or it should if bioconda has the package built already) and it should get you over this bump. If xopen is still 0.1.0 that means the conda package isn't done building but you can install xopen 0.1.1 manually using the conda bcbio installs with conda install -c bioconda xopen which will give you 0.1.1 which won't hang on these files.

Beautiful. I just installed xopen and it worked fine with the latest stable release.

Thanks for opening the issue and following up Stephen!

I haven't been able to use trim-galore/cut adapt using bioconda because of this problem. I get the error:
pkg_resources.DistributionNotFound: The 'xopen>=0.3.2' distribution was not found and is required by cutadapt
And when I download xopen using conda install -c bioconda xopen it does not fix the problem.
Though when I type
which open
it says it's not located in bin. So is something going wrong with the xopen install?

Heya--we don't actually use cutadapt within bcbio anymore, so I think you might be posting on the wrong repo. You might have a better bet here: https://github.com/marcelm/cutadapt
That said, these types of problems are usually because there is another python installation leaking into your environment. Do you have your PYTHONPATH or PYTHONHOME set? If so, unsetting those might fix your issue.


git test fix might not work when run from a worktree with --jobs >0

Description of the bug
I don't remember exactly, but I recall that git test fix claimed to apply fixes but then actually did nothing in a setup like that.
Expected behavior
No response
Actual behavior
No response
Version of rustc
No response
Automated bug report
No response
Version of git-branchless
No response
Version of git
No response

I noticed that git test fix with --jobs 0 would not apply any changes to commits, but it works when I disable --jobs


Cluster management/newdashboard task

Added 'Cluster Status' task to the SQL Server big data cluster dashboard.
This would copy the cluster-status notebook to users local machine and opens it up.
The notebook asks for the following inputs before executing the mssqlctl commands for login:

cluster name
controller username
controller password
controller endpoint, only when the cluster info isn't found in the kube config.

Also updated the bdc-endpoints widget to have all the endpoints as links as per Mihaela's request. And updated the service names following JRJ's email thread, also added a copy icon that copies the endpoint to the clipboard on his request.
Below is what the dashboard looks like:

I'll update the cluster-status notebook once I get the final version from Alan Yu.

Did you get the copy icon from Smitha? It doesn't look super clear to me that it's a copy button...

IMPORTANT: please do a clear results on the notebook, i noticed it has output in it now.

I have cleaned up everything- removed all the IP's and username/password from this notebook.
The only thing I overlooked is the url which is pointing to the internal one, just updated it to the correct one from https://docs.microsoft.com/en-us/sql/big-data-cluster/deploy-install-mssqlctl?view=sqlallproducts-allversions
Yes, I agree we need to review the notebooks with extra care since the content is JSON. But as Chris suggested, we should view it as a file and review it. I can schedule sometime but isn't this supposed to be available by tomorrow in the insiders?


The "Creating a clickGUI" section of the wiki doesnt lead anywhere

Yeah, it's still work in progress.


[otbn] Initial testplan

This is very short because the vast majority of OTBN testing will be
coverage driven (as you'd expect from a processor!).
Closes #3170.

There are some pieces of functionality which are not yet covered which is beyond the OTBN CPU core itself, but are already part of the spec, e.g. the randomness (integration into the EDN), behavior around read/write of memories through the bus (i.e. check that you cannot write to IMEM while OTBN is running), etc. Is this something that will be added to the test plan as we make further progress, or should those things be added right away?

That's a good point: we should probably add the things we can think about already. Bus read/write checks probably belong on the functional coverage side (I imagine that we'll have a process in the test environment that does that occasionally in all the tests to see what happens). I'm not sure what the randomness integration testing will look like: I don't think we even have a design yet, do we?

I'm not sure what the randomness integration testing will look like: I don't think we even have a design yet, do we?

No, the spec we have currently is rather vague and will need more clarifications before we can go into implementation and testing. Not sure if it is better to have a placeholder in the test plan, i.e. "we need to do something in this area, not sure yet what", or add something more concrete later.

Right, that makes sense. I think I'd rather wait until we know what OTBN does other than consuming data. I'm assuming we'll add things to the testplan as time goes on (it's just removing stuff that should need re-review, in my opinion!)

Force-push rebases on master to get CI passing.


Creating forgot password page

I would love to create the forgot password for this page which will be directed after user clicks on forgot password option in login/signup page.

I am a GSSoC'21 participant.
Can you assign me this issue


getting rid of "hack" in illumina_poststats.pm

getting rid of "hack" in illumina_poststats.pm that uses the qalter -hold_jid construction
This construction is not supported by default settings in SGE
Should be solved using a hold in the qsub invocation.
Current work around:

qconf -sconf | grep jsv
added hold_jid to  jsv_allowed_mod (qconf)

https://arc.liv.ac.uk/pipermail/gridengine-users/2009-April/024709.html

According to the man pages this is available to qalter: http://gridscheduler.sourceforge.net/htmlman/manuals.html and http://arc.liv.ac.uk/SGE/htmlman/manuals.html
Although I don't like the hack, we need it because the job to wait for is not present when invoking qsub. Therefor gridengine will remove the job_id from the hold_jid list.

@hinri Did you give this issue some more thoughts? As said I don't like the hack, but I don't know a method to avoid it...
I have run some tests to check and we still need it:
echo "sleep 10s" | qsub -N "sleep_1"
echo "sleep 10s" | qsub -N "sleep_3"  -hold_jid sleep_1,sleep_2
echo "sleep 10s" | qsub -N "sleep_2" -hold_jid sleep_1
If sleep_1 is done, both sleep_2 and sleep_3 will start running because on submission of sleep_3 there is no job called sleep_2.

@Robert,
Not yet, let's include this issue when we make reconsidderations on the
pipeline regarding the use of tmpspace resources and the use of nifty
branched pipes.
Regards,
Hinri
On Wed, 02 Dec 2015 01:32:08 -0800
Robert Ernst<EMAIL_ADDRESS>wrote:

@hinri Did you give this issue some more thoughts? As said I don't
like the hack, but I don't know a method to avoid it...
I have run some tests to check and we still need it:
echo "sleep 10s" | qsub -N "sleep_1"
echo "sleep 10s" | qsub -N "sleep_3"  -hold_jid sleep_1,sleep_2
echo "sleep 10s" | qsub -N "sleep_2" -hold_jid sleep_1
If sleep_1 is done, both sleep_2 and sleep_3 will start running
because on submission of sleep_3 there is no job called sleep_2.

Reply to this email directly or view it on GitHub:
https://github.com/CuppenResearch/IAP/issues/31#issuecomment-161235231


Fix download link in the downloads.md

Broken links due to removal of en-US replaced with aka.ms links

Docs Build status updates of commit b589f06:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/Downloads.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit 9f0a3cc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/Downloads.md
:white_check_mark:Succeeded

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


Add keymap for going to previous tab

This adds a keymap (Ctrl + Shift + Tab) for going to the previous tab. This should have been a part of #806, but I forgot it.

(Okay this is actually broken, oops)

It's actually ctrl+(shift)+tab for macOS as well.

Fixed the bug, and did the suggested move of the keybindings to Ctrl+(shift)+Tab for both non-mac/mac.


Unexpected animation over nested lists

Observed behavior
Currently when nested lists are present, the library will animate over the list items and treat the nested list as a single object rather than iterating over the list items within the nested list when the cascade prop is in use.
Simplified example code:

   <Fade cascade>

list item

list item

sub-item

sub-item

list item

   </Fade>

Expected behavior
I expect that all children (and grand-children) wrapped within <Fade> will animate in sequence in the cascade. Instead, (in the example above) the sub-items appear all together instead of individually.

You have to wrap the entire  inside the  component.
Dennis Morello
Front-End Engineer
W: https://morello.dev
E<EMAIL_ADDRESS>Il 1 feb 2021, 22:27 +0100, Casey Hunt<EMAIL_ADDRESS>ha scritto:

Observed behavior
Currently when nested lists are present, the library will animate over the list items and treat the nested list as a single object rather than iterating over the list items within the nested list when the cascade prop is in use.
Simplified example code:

list item
list item

sub-item
sub-item

list item

Expected behavior
I expect that all children (and grand-children) wrapped within  will animate in sequence in the cascade. Instead, (in the example above) the sub-items appear all together instead of individually.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

When I wrap the entire
 and remove the cascade prop the whole list comes in as a single chunk.

This appears to be related- I am using a Box primitive component (Read: https://theme-ui.com/components/box/) and when I use this component along with the as prop, the animation behavior I see is different than if I use raw HTML (ul).
My code looks more like this:
<Fade>
   <Box as="ul">
      <Box as="li">...</Box>
      ...
   </Box>
</Fade>

It is not an issue with react-awesome-reveal, it is a matter of components composition. Since the lib uses the element type to detect lists (ols and uls), you should use a snippet like this to achieve the desired result:
const AnimatedList = () => (
  <Box as="ul">
    <Fade cascade>
      <Box as="li">Milk</Box>
      <Box as="li">Eggs</Box>
      <Box as="li">Sugar</Box>
    </Fade>
  </Box>
);


Feature Request: Android Auto Compatibility for YouAmp

Dear YouAmp developers,
First, I want to commend you on creating such a user-friendly, elegant, and useful music player. YouAmp has greatly enhanced my music experience on Android.
I kindly request the addition of Android Auto compatibility to YouAmp. This feature would allow users to safely control their music while driving and expand the app's user base.
Benefits of Android Auto support:

Increased safety for drivers
Expanded user base
Competitive advantage over other music players
Seamless transition between mobile and car use

Thank you for considering this feature request. I look forward to seeing YouAmp continue to improve.
Best regards,

Hello, thanks for reply. Working on basic android auto support now.


Support for Draco compression

Would it be possible to support glb/gltf files that are compressed using Draco?

Draco is an awfully big dependency, and I'm not interested in having it in the source tree of this repository or taking it on as a hard external dependency. We could talk about the best way to introduce a Draco decompression plugin of sorts for people who want it, assuming that change isn't too invasive.

Okay, I've taken a swing at defining a Draco plugin scheme for mesh decompression. Check out 3afcfd3.
To use it, link against Draco in your target, write a class that conforms to the GLTFDracoMeshDecompressor protocol, and set the dracoDecompressorClassName class property on GLTFAsset before loading.
I've included a sample decompressor implementation in Objective-C++ (see SampleDracoPlugin.h), but it's not enabled because I don't want to include Draco source or binaries in this repository. To test it out, compile Draco for your target of choice, link against it, point Xcode at the appropriate header and library paths, and add the following line before loading Draco-compressed assets:
GLTFAsset.dracoDecompressorClassName = "DracoDecompressor"

Let me know what you think. If this serves your needs we can merge it soon.

Okay thanks I'll take a look!

This change will be merged and this issue closed in four days if no further response is received.

Addressed in #21. Please file a new issue if you find this solution not to meet your needs.


Add bar charts and boxplots

Following up on #467, this PR adds bar charts and boxplots. Both work and can be tested in the demo app (I am sorry for the amount of code...). I open this PR as a draft because it conflicts with #471, and there might be some debatable choices:

I think it would be better to cut items.rs into submodules. I don't do it for ease of review here, but can do it before merging.
I tried to stay consistent with the existing API, only changing PlotItem::series() by get_bounds() and closest() (because it is only used in the hover behavior). My idea here it to make PlotItem sufficiently abstract to allow for more complex drawings like bar charts and boxplots here.
I created a struct HoverElement which can cause some concerns about performance. I choose this solution because it is simpler, however I am totally open to change it for some kind of reference (I did not see a simple implementation, suggestions are welcome).
There are fields named dummy_values, it is possible to remove them, but this will conflict with #471 (I can cleanup at some point)
I purposefully avoided statistics here: no mention of histogram (I called it bar chart, like many JS libraries do) and no quartiles or whiskers calculation. I guess it can always be added as an additional layer at one point. Note that plotters took the opposite approach.
~In the plot demo, I put some values that were generated using rand, but did not know if it was appropriate to add the crate as a dependency.~ (fixed)

Merged in https://github.com/emilk/egui/pull/863


Setup Swagger UI for Corpora API

Gonna try and address all the comments in one go:
@Bento007 --
RestyResolver: I actually made a conscious decision not to use RestyResolver because I find the directories and function names to reduce readability versus a function name like get_project_details which I find much more readable and clearly states the expected results (versus perhaps a get function where you now need to check out the path to figure out what it is getting). I also don't see much benefit of RestyResolver besides the routing. Perhaps you know of other benefits?
Add logging: Done; good idea!
X-AWS-REQUEST-ID: Done! Good call!
@Bento007 and @mckinsel --
I fixed up the Makefile - I was trying to force the cleanup even after the tests failed which wasn't occurring initially but then figured out you just add a dash at the beginning to force the commands to continue. I now realize that the initial PR didn't clean up even if the tests pass. It's fixed now.
@mckinsel --
Yes, it's a bunch of boilerplate code mostly stolen from previous projects haha.


[BUG] Flatten connection util crashes app when edges array is empty

Describe the bug
If the flattenConnection utility function gets an object with an empty edges array it throws the following error:
must have edges
Error: must have edges
    at Module.flattenConnection ([/node_modules/@shopify/hydrogen/dist/esnext/utilities/flattenConnection/flattenConnection.js:8:15]()
<abbreviated>

To Reproduce
https://stackblitz.com/edit/shopify-hydrogen-5bk44b?file=src/routes/index.server.jsx
Note: I've only changed line 73 in index.server.jsx to be an object with an empty edges array to simulate the issue.
Expected behaviour
I would expect it to not throw an error when the function is simply passed an empty array.
Additional context
Add any other context about the problem here. eg.

Hydrogen version: 0.13.0
Node version: v16.14.2

This bug breaks the ProductProvider Component, if for example the product has no metafields. It doesn't really make sense to throw an error, if the array is empty.

This was my first experience using hydrogen. I followed the steps, connected my dev store, and since my products didn't have metafields, I got a great lesson debugging this. :)

Is it really a bug, though? Should querying empty data be easy to do..?

Yes, that makes sense. There's no way to check for the empty data before it hits that?

To explain why I think that's wrong, it forces additional conditional logic when the util could just return an empty array back. If you on the other hand send it the wrong data format, an error is warranted as that would be Dev error

That makes sense to me.  If I build a storefront for a client and they forget to add a specific metatag or something to a product and it crashes the whole app, am I supposed to tell them, "Sorry, Shopify requires you to have consistent meta-field data across every product." ? I remember when programming in Java for Android having to wrap everything in an if and it was easy once I got in the habit of it, but not a situation something coming from the ground up should have.

This actually has pretty far reaching effects as the utility function is used in ProductProvider under the hood, without a way to handle that error.

This actually has pretty far reaching effects as the utility function is used in ProductProvider under the hood, without a way to handle that error.


Fix spec that's intermittently failing

This spec:
rspec ./spec/features/distribution_spec.rb:130
is intermittently failing.
@scottcrawford03 did some spelunking and found:
 I was digging into it more and it seems that it's a test set up issue. The way that the test works is by grabbing items off of the storage_location and using that as the request item. For whatever reason when they request item goes to be fulfilled, it's not permitted at the storage location. I don't know the data structure well enough to know how they all connect, but if we could add a return item that we know is accepted at the storage location then the test would work 100 of the time

I did some spelunking on it when it failed for me this morning and I also found it to be a possible racing condition (or maybe related) -- the distribution_id wasn't set when set it tries to update the request_id while doing Distribution.new on the first line of the #create action.
You may have to run it repeatedly to get it to fail for you,

@armahillo looked into this but the spec seems to be always failing currently?
In log/test.log you can see the reason why DistributionsController#create fails:
failed to save distribution: ["Inventory Adult Briefs (Large/X-Large) is not available at this storage location"]

Yep that’s what I was seeing too. Locally it always fails but in the ci it
seems to be flakey. If you add that item directly to the storage location
it will fail because the inventory level isn’t sufficient for that item. It
feels like this test should just build it’s own data instead of reusing the
StorageLocation.first
On Sat, Oct 27, 2018 at 03:44 Markus Koller<EMAIL_ADDRESS>wrote:

@armahillo https://github.com/armahillo looked into this but the spec
seems to be always failing currently?
In log/test.log you can see the reason why DistributionsController#create
fails:
failed to save distribution: ["Inventory Adult Briefs (Large/X-Large) is not available at this storage location"]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rubyforgood/diaper/issues/576#issuecomment-433606465,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIAoE66gN_EVfZ3Ysrre5e8POD9oCjCLks5upCsMgaJpZM4X9J7q
.

@scottcrawford03 hmm I don't see StorageLocation.first being used in this spec ;-)
But I tracked down the problem to Organization.seed_items, see https://github.com/rubyforgood/diaper/pull/586

@toupeira whoops that's why i shouldn't respond from my phone. I misremembered what i was thinking of. I was thinking of Distribution.last which actually was irrelevant ha. WOO.
nice work on the fix!


Nav points to Azure Container Service (deprecated)

"Get started with Kubernetes and Windows containers" points to Azure Container Service, which is deprecated. The link on the page and in the left nav should point to AKS - possibly here: https://docs.microsoft.com/en-us/azure/aks/windows-container-cli

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

ID: 6fdab530-6dc9-b2f4-0dde-828a7892e1a4
Version Independent ID: d62f56ed-3d97-3b67-4c4e-3a0517f770f5
Content: Tutorials for .NET and .NET Core apps in Azure - Azure for .NET Developers
Content Source: docs-ref-conceptual/dotnet-tutorials.md
Service: multiple
GitHub Login: @CamSoper
Microsoft Alias: casoper

Closing, as I'm not seeing the link that was referenced and the only container-related items reference Kubernetes and/or AKS.
@noelbundick:  Please feel free to reopen if you believe this needs further discussion.


How to use API keys?

Due to our setup we cannot use the json file for authentication. Which steps would be neccessary to be able to use an API key instead?

Greetings!  The answer to this really depends on the API you're trying to use.  Only a small number of Google APIs support the use if API keys.  May I ask - why doesn't json file based auth work for you?

Hi there! It's been a while and by now we're using the JSON key for the Compute and GKE APIs, however let me describe our usage scenario:
We implemented a microservice that has access to multiple Google projects to deploy various things in these. Since we need a different key for every project, we are currently sending this key from one microservice (where the user trigger a deployment - simple web interface which has the keys) to the aformentioned deployment microservice (which does not know about the keys). Since the JSON key is bigger than a potential API key, it would have been nice to be able to use an API key instead (especially since we had issues to stringify the json key from time to time).
So from my side it is solved for us :)
stiller-leser

Got it 👍 Thanks for follow up!


docs: Migration guide from 0.21 to 1.0

I am trying to migrate existing phenomic website built with 0.21 to 1.0, however, I am not sure what are the steps required for this migration.
I am happy to help write the docs for this, but I need some guidance.

Will work on this asap with a real example.

Great! looking forward to using 1.0

Will work on that by make a migration for the defautl base theme of v0.x


Convert Youtube Music artist song lists into playlists automatically

Checklist

[x] I'm reporting a site feature request
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've searched the bugtracker for similar site feature requests including closed ones

Description

when trying to download a list of songs from Youtube Music it shows the following
$ Python\python.exe youtube-dl --verbose https://music.youtube.com/browse/VLOLAK5uy_mpkppvOzB9fFXZWbthdZfKvm0cop_fi3o
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://music.youtube.com/browse/VLOLAK5uy_mpkppvOzB9fFXZWbthdZfKvm0cop_fi3o']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.5 (CPython) - Windows-10-10.0.17763-SP0
[debug] exe versions: ffmpeg git-2020-08-12-bb59bdb
[debug] Proxy map: {}
[youtube:tab] browse: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Jackestar\Proyectos\release.64\youtube-dl\youtube_dl\extractor\common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "C:\Jackestar\Proyectos\release.64\youtube-dl\youtube_dl\YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "urllib\request.py", line 523, in open
  File "urllib\request.py", line 632, in http_response
  File "urllib\request.py", line 561, in error
  File "urllib\request.py", line 494, in _call_chain
  File "urllib\request.py", line 641, in http_error_default

but if the prefix VL is eliminated from VLOLAK5uy_mpkppvOzB9fFXZWbthdZfKvm0cop_fi3o the program recognizes the playlist
$ Python\python.exe youtube-dl --verbose OLAK5uy_mpkppvOzB9fFXZWbthdZfKvm0cop_fi3o
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'OLAK5uy_mpkppvOzB9fFXZWbthdZfKvm0cop_fi3o']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.5 (CPython) - Windows-10-10.0.17763-SP0
[debug] exe versions: ffmpeg git-2020-08-12-bb59bdb
[debug] Proxy map: {}
[youtube:tab] OLAK5uy_mpkppvOzB9fFXZWbthdZfKvm0cop_fi3o: Downloading webpage
[download] Downloading playlist: Songs
[youtube:tab] Downloading page 1
[youtube:tab] playlist Songs: Downloading 128 videos
[download] Downloading video 1 of 128
[youtube] jLKOBJR5vHs: Downloading webpage
...

It is solved by recognizing the links started by https: // music.youtube.com / browse / removing the VL prefix and extracting the playlist
I am a user in Spanish so I apologize for errors in the translation

This patch could address the issue:
--- old/youtube_dl/extractor/youtube.py
+++ new/youtube_dl/extractor/youtube.py
@@ -2020,7 +2020,7 @@
                         (?:
                             (?:channel|c|user|feed|hashtag)/|
                             (?:playlist|watch)\?.*?\blist=|
-                            (?!(?:watch|embed|v|e)\b)
+                            (?!(?:watch|embed|v|e|browse)\b)
                         )
                         (?P<id>[^/?\#&]+)
                     '''
@@ -2872,9 +2872,9 @@
                                 youtube(?:kids)?\.com|
                                 invidio\.us
                             )
-                            /.*?\?.*?\blist=
+                            /(?:browse/|.*?\?.*?\blist=)
                         )?
-                        (?P<id>%(playlist_id)s)
+                        (?:VL)?(?P<id>%(playlist_id)s)
                      )''' % {'playlist_id': YoutubeBaseInfoExtractor._PLAYLIST_ID_RE}
     IE_NAME = 'youtube:playlist'
     _TESTS = [{


Error in date2num when called with 0-dimensional numpy array

In the latest version (1.2.0), the date2num routine is raising an AttributeError when called with a degenerate (0-dimensional) numpy array.  The following is a minimal example for triggering the exception:
from cftime import date2num
from datetime import datetime
import numpy as np
dates = np.array(datetime(2010, 2, 2, 0, 0))
print (date2num(dates, units="hours since 2010-02-01 00:00:00"))

This gives the following stack trace (with Python 3.6.9 on Ubuntu 18.04):
Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
  File "cftime/_cftime.pyx", line 231, in cftime._cftime.date2num
AttributeError: 'numpy.ndarray' object has no attribute 'year'

This used to work on previous versions of cftime.  Looking through _cftime.pyx, it appears maybe there's a glitch in how the "isscalar" flag is determined.  From what I understand, the code tries to invoke dates[0], then when it errors out it considers "dates" to be a scalar, then wraps it in a numpy array.  In my case that causes it to have a (degenerate) numpy array nested inside a one-dimensional numpy array.

Thanks for catching this regression.  Fix is in PR #186.   I will make a 1.2.1 release soon with this fix plus the fix for the regression reported in issue #182.


Unable to deploy oauth-advanced proxy

Import failed to /v1/organizations/nielsendevjam/apis?action=import&name=oauth-advanced with status 400:
{
"code" : "messaging.config.beans.InvalidBundle",
"message" : "Bundle is invalid. Unable to read/find APIProxy contents",
"contexts" : [ ]
}

Bump- still an issue.


docs(resources): use ng-href to avoid false broken link reports

Contributes to #2173.

LGTM. I'll just wait for the Travis build to finish before merging this...


WinRM - IIS Web App Management - Add multiple bindings

is there a way of adding multiple bindings? Should I use AppCmd including additional arguments?

@gandarez I have the exact same question. How did you end up solving this? I'm also thinking of using AppCmd.exe commands.

To setup multiple binds you must pass additional AppCmd.exe commands
Advanced > Additional AppCmd.exe Commands
set app "MyWebSite/" /enabledProtocols:http,net.tcp
set site /site.name:MyWebSite /+bindings.[protocol='http',bindingInformation='*:SOME-PORT-FOR-WEBSITE:'] | set errorlevel=0
set site /site.name:MyWebSite /+bindings.[protocol='net.tcp',bindingInformation='808:SOME-ALIAS'] | set errorlevel=0```


Can we keep Function.permissions?

I see a deprecation warning when I'm using Function.permissions and Function.environment; saying instead to use bind and the former will go away soon. I have some custom CDK stuff, in particular some Docker-based Lambda functions (and likely soon some ECS stuff). I couldn't get bind to work with those functions; I'm not sure if it's because bind is an SST concept (not CDK), or if I'm passing the custom resources to bind incorrectly. But my solution is of course to just pass the resource to permissions, and the resource ARN to environment - then handle in my own way in the code. This works, and I'm worried about losing access to this with v2

Hey @lefnire, Function.permissions is here to stay. You just won't be able to pass in an SST construct into the permissions in v2. Hence the warning.
R u passing in an SST or CDK construct into permissions?

got it, that makes sense. I realized I can't just pass CDK constructs (a Docker Lambda function) as permissions anyway, and instead needed to fn.addToRolePolicy(). So I was misunderstanding permissions. Thanks!


Update dependencies.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 10.42%. Comparing base (adcde57) to head (8e0199c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   10.42%   10.42%
=======================================
  Files           4        4
  Lines        1621     1621
=======================================
  Hits          169      169
  Misses       1452     1452

Continue to review full report in Codecov by Sentry.

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


Add Local Meetups & Events

[ ] Create Meetup model on CMS
[ ] Add all current Meetups to CMS
[ ] fetch meetup info from CMS using Gatsby Graphql plugin
[ ] Create meetup template (react)
[ ] display meetups on website

Meetup model

name (string)
info (string)
image? (string)
meetupId (string)

Current meetups to add (find Meetup links via Google)

[ ] Chicago Node
[ ] Chicago React
[ ] Chicago React Native
[ ] Chicago Angular
[ ] Chicago Vue
[ ] Chicago Ember
[ ] Chicago ReasonML
[ ] Chicago Elm

Possible layout:

Hello! I can tackle this one if it hasn't been claimed yet. 👋

@beccanelson 😍 awesome thank you!! We can chat on slack if you have any ideas or questions!!

@peterpme Sorry, six months later I am just getting to this now! Asking my questions here, just in case someone else has the same question. Does Chicago JS have a netlify account that I would need to log in to in order to add data to the CMS?


Wert : When Tezos is selected let user chose the crypto to buy in a limited list of Tezos cryptos only

same with Ethereum and polygon

Size: S/M


BUG-71134: Improve Grok Statement Interface

-Integrated ACE editor
-Added ACE editor for JSON config
-Config panel to have extra width in case screen width is greater than 2020px
-Added help text for sample data component
-Removed plus icon for multiple input component

Refactored sensor grok pane removed all the unused code
Implemented ace editor for grok
Changed the button position for grok
Changed the LAF of table
Removed unused code in SensorParserConfig
Removed unused code in SensorStellarConfig
Sample data component to emmit event on empty message
Organised code in ace component to make it look better
Implemented autocomplete for grok
Added post install scripts for ace auto complete


Debug server returns "ERR_INVALID_HTTP_RESPONSE"

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

Aagh, some problem with Brave browser: grpahiql doesn't work on <IP_ADDRESS>, but works on localhost:8000. Empty issue, no problem on strawberry side, I suppose


Windows Hello demo unclear

The Windows Hello demo is unclear.
LoginView.xaml
Replace  Content with Windows Hello UI.
LoginView.xaml.cs
Uncommment functions.
1.)	What Windows Hello UI? From where? Is that prepacked control I can reference?
2.)	There are no commented function in the code behind I could uncomment.

Thank you for raising - great point. I just added more details - can you review and close if this helps please:
https://github.com/Microsoft/InsiderDevTour18-Modernize/commit/1bc00b1689f8aa1fafc5be9436830458b7809d4d
Chris

Thanks for the quick fix!


Is there a way to specify which item is currently open and have it open automatically?

I really like the way it works as a browser and would like to use it that way.
Also is there a parameter which element of the tree is open and to open it there?
Thank you

Ok, I just used the clickable class feature, and works perfectly.
Now, is there a way to tell it which item is currently open? Or I have to do a manual recursive search and open them all up?

If you want to show some nested lists you have to add "sortableListsOpen" class to the parent li element of nested list. You can find it in docu in Open/close function section.

I got it, it works very well.
Now there's another interesting thing, is there a way to limit the number of levels, or I have to use the isAllowed function?

You must use isAllowed function. Plugin does not check the levels.


[Spark] Fix flaky test suite DeltaSourceDeletionVectorsSuite

Which Delta project/connector is this regarding?

[x] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[ ] Other (fill in here)

Description

Remove flakiness from a previously flaky test case, by ensuring that the stream is stopped processing before running new DML commands on the source table.

Fixes #1982
How was this patch tested?
Testing-only PR.
Does this PR introduce any user-facing changes?
No.

should add the branch 14.x as well to keep the code in sync.


Fixup compilation after merge from master

The recent merge from master removed some to_string / of_string functions that were used by new code introduced in compatible. This PR fixes the compilation errors by using the explicit to_base58_check and of_base58_check_exn versions.

Force-merging. CI is misbehaving for a couple of unit tests, and there are a couple of spurious errors because I originally pointed this at develop.


[Feature request] Handle linebreaks

Thank you for this fantastic tool! 🙏 🙏 🙏
Your tool is a game-changer for me, especially since I can't access ChatGPT while I have my VPN enabled, so I can't use it at all while working.
It would be nice to have a natural way to handle linebreaks-- for example, for a prompt like "convert the following code from Pytorch to Tensorflow." Perhaps sgpt could drop you into $EDITOR the same way git does, where you could paste your text, and then exit.
Thoughts?

Thank you for your feedback!
The feature you are suggesting is actually a good idea. It can be implemented using additional argument for example, you would call sgpt --editor and it will drop you into $EDITOR where you could write entire prompt including code:
convert the following code from Pytorch to Tensorflow:
import torch
...

Implemented with --editor argument in PR https://github.com/TheR1D/shell_gpt/pull/27


Constraints in grammar

Hello,
Is it possible to put constraints in grammar.
For example, if I want two values to be equal in different part of grammar.

Probably the simplest is to just throw an exception, which is what is done in the XML library: https://github.com/renggli/dart-xml/blob/5ebbd5c06e801c560fbb8d514bad18d8c5c763d6/lib/src/xml/grammar.dart#L105. This however does not work if your parser might want to continue with other choices.
A solution that makes this possible is to use a continuation parser:
final parser = digit() & digit().callCC((continuation, context) {
      final result = continuation(context);
      if (result.value[0] == result.value[1]) {
        return result;
      } else {
        return context.failure('values do not match');
      }
    });

The above parser parses two numbers, and only returns the successful parse result if they match. Otherwise a parse failure is created at the beginning of the expression. This could potentially be extracted to some reusable function where the predicate and the error message are specified?
Another way is to build the parser on the fly, as described here: https://stackoverflow.com/questions/64670722/parsing-delimited-strings-using-petitparser

With ebc81dc you can write:
final inner = digit() & digit();
final parser = inner.filter(
    (value) => result.value[0] == result.value[1],
    'digits do not match');

With ebc81dc and 7cc80dc you can write:
final inner = digit() & digit();
final parser = inner.where(
    (value) => result.value[0] == result.value[1],
    'digits do not match');


⚠ RPC server - Conflux has degraded performance

In 08913aa, RPC server - Conflux ($CONFLUX_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Conflux performance has improved in 8cfb300 after 8 minutes.


Support softdeleted models

As requested, new pull request for #29

Hi thanks for creating this so quick.
However the tests still seem to fail. Could you check that?

Need a little help here, the test works fine on my environment.
This error pops up, when the subject_withTrashed is set to false in the config file (default value), but the test sets this value to true.

The test are ok with the latest version of the dependencies, but when using the lower version of the dependencies it fails.
You can simulate those low dependencies by running composer update --prefer-lowest. More info here.
With those lower dependencies installed, the test on your machine should fail too and you can starting debugging and finding a fix.

At this time I'm not willing to drop L5.1 compatiblity just yet. Can you find a way to make the tests pass without requiring a L5.2 component?

Meanwhile we've dropped L5.1 compatiliby, so rely on L5.2 is now possible. However there are some merge conflicts. Could you please rebase against the current master?

Will open new PR, containing all changes.


propose buildpack.yml schema

propose buildpack.yml schema and outline what it should look like across language families
Signed-off-by: Daniel Thornton<EMAIL_ADDRESS>

Along with whether or not the name should change, should we continue to use yaml or should we switch to another format such as toml or json?

I'm not sure I understand the problem this is meant to address or the value proposition of it.
My perception is that what authors are storing in buildpack.yml has naturally organized itself into namespaced groups. Once an author has picked the properties and documented them, it also seems very unlikely the author would change them, so I don't personally anticipate many if any, interop challenges.
If the concern is interop though, maybe we just provide some guidelines that a well behave CNB should follow? Like...
1.) Pick a top-level namespace under which config for your CNB should reside. This needs to be unique, so please avoid selecting a namespace used by an existing CNB (maybe we could have a list of these so it's easy for authors to find ones that are in use already?).
2.) Consider the structure of settings in buildpack.yml a public interface or contract with your users. If it needs to change, announce the change in advance, go through a deprecation period, and attempt to do this in a way that is considerate to users given your version schema (ie. don't change in a maintenance release).
I'm sure there's other best-practices we could offer up to authors, but that is the gist of it.

Would like to propose that this be an optional extension that recommends how to provide UX for buildpack authors who have this use case.

Also: consider CF-compatibility buildpack use cases (do we need to translate old file formats into new file formats?)

Closing in lieu of #9


Fixes Memory Leak for MVC Modules

Fixes: #3344
Summary
Fixes memory leak in MVC modules by utilizing the Microsoft recommendations for Dependency Injection in ASP.NET MVC. The Docs were very useful and while they use the Unity Container, this was adapted for IServiceProvider

ASP.NET MVC Dependency Injection

Notable Changes

Removed UseMvc() method which registers all MVC controllers to the container. It will now use the default controller activation technique in ASP.NET
Deleted Custom IControllerFactory as we are now using default ASP.NET controller factory
Added new IDependencyResolver for DNN

Notes
In my initial tests, this appears to have fixed the memory leak, but I would like some others to take the install package and test it out prior to us accepting this change

Nice work @ahoefling thank you very much for your effort!


fix silent run

Codecov Report

Merging #8 (82cc80f) into main (997a2af) will decrease coverage by 0.48%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              main       #8      +/-   ##
===========================================
- Coverage   100.00%   99.51%   -0.49%
===========================================
  Files           13       13
  Lines          614      617       +3
===========================================
  Hits           614      614
- Misses           0        3       +3

Flag
Coverage Δ

unittests
99.51% <100.00%> (-0.49%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pygemstones/__init__.py
100.00% <100.00%> (ø)

pygemstones/system/runner.py
100.00% <100.00%> (ø)

pygemstones/io/file.py
99.02% <0.00%> (-0.98%)
:arrow_down:

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 997a2af...82cc80f. Read the comment docs.


Allow Portus to manage multiple private registries

As discussed on the mailing list, this can be useful.

Also seconding, this would be very very interesting. Right now, i have to run 2 portus instances out of this reason.
There are also other reasons outlined then outlined in this mailing list. E.g. when you want to bare-sync a registry e.g. for offline deployments, you will need to have a second registry. Thats just a technical trick to have easy syncing, while you want to have both registry handled by portus.
A namespace would not really help here, since you cannot "sync a namespace".
My 0 cents on this. Keep up the great work!

any process here?

Not really. We've been busy with more pressing issues.

Any progress? As on of the purpose of portus is to centralize access control - and it does it very well - having to deal with multiple instances is weird...


Webpanel cant login but it seems to be some prermision denied issue

I have a server running debian with apache2 and php 7.4
php error log:
 Permission denied in /var/www/html/__UNAM_LIB/unam_lib.php on line 235, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:44:36.455400 2023] [php7:error] [pid 1847326] [client myip:61892] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on bool in /var/www/html/__UNAM_LIB/unam_lib.php:29\nStack trace:\n#0 /var/www/html/auth-ajax.php(11): unam_lib->unam_dbSelect()\n#1 {main}\n  thrown in /var/www/html/__UNAM_LIB/unam_lib.php on line 29, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:45:23.815402 2023] [php7:warn] [pid 1847337] [client myip:61950] PHP Warning:  file_put_contents(/var/www/html/__UNAM_LIB/Logs/php-error-01-12-2023.html): failed to open stream: Permission denied in /var/www/html/__UNAM_LIB/unam_lib.php on line 235, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:45:23.815497 2023] [php7:error] [pid 1847337] [client myip:61950] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on bool in /var/www/html/__UNAM_LIB/unam_lib.php:29\nStack trace:\n#0 /var/www/html/auth-ajax.php(11): unam_lib->unam_dbSelect()\n#1 {main}\n  thrown in /var/www/html/__UNAM_LIB/unam_lib.php on line 29, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:45:29.137463 2023] [php7:warn] [pid 1847336] [client myip:61951] PHP Warning:  file_put_contents(/var/www/html/__UNAM_LIB/Logs/php-error-01-12-2023.html): failed to open stream: Permission denied in /var/www/html/__UNAM_LIB/unam_lib.php on line 235, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:45:29.137508 2023] [php7:error] [pid 1847336] [client myip:61951] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on bool in /var/www/html/__UNAM_LIB/unam_lib.php:29\nStack trace:\n#0 /var/www/html/auth-ajax.php(11): unam_lib->unam_dbSelect()\n#1 {main}\n  thrown in /var/www/html/__UNAM_LIB/unam_lib.php on line 29, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:46:25.284100 2023] [php7:warn] [pid 1847280] [client myip:62016] PHP Warning:  file_put_contents(/var/www/html/__UNAM_LIB/Logs/php-error-01-12-2023.html): failed to open stream: Permission denied in /var/www/html/__UNAM_LIB/unam_lib.php on line 235, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:46:25.284198 2023] [php7:error] [pid 1847280] [client myip:62016] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on bool in /var/www/html/__UNAM_LIB/unam_lib.php:29\nStack trace:\n#0 /var/www/html/auth-ajax.php(11): unam_lib->unam_dbSelect()\n#1 {main}\n  thrown in /var/www/html/__UNAM_LIB/unam_lib.php on line 29, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:46:44.275976 2023] [php7:warn] [pid 1847282] [client myip:62051] PHP Warning:  file_put_contents(/var/www/html/__UNAM_LIB/Logs/php-error-01-12-2023.html): failed to open stream: Permission denied in /var/www/html/__UNAM_LIB/unam_lib.php on line 235, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:46:44.276043 2023] [php7:error] [pid 1847282] [client myip:62051] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on bool in /var/www/html/__UNAM_LIB/unam_lib.php:29\nStack trace:\n#0 /var/www/html/auth-ajax.php(11): unam_lib->unam_dbSelect()\n#1 {main}\n  thrown in /var/www/html/__UNAM_LIB/unam_lib.php on line 29, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:46:45.985352 2023] [php7:warn] [pid 1847316] [client myip:62057] PHP Warning:  file_put_contents(/var/www/html/__UNAM_LIB/Logs/php-error-01-12-2023.html): failed to open stream: Permission denied in /var/www/html/__UNAM_LIB/unam_lib.php on line 235, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:46:45.985405 2023] [php7:error] [pid 1847316] [client <IP_ADDRESS>:62057] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on bool in /var/www/html/__UNAM_LIB/unam_lib.php:29\nStack trace:\n#0 /var/www/html/auth-ajax.php(11): unam_lib->unam_dbSelect()\n#1 {main}\n  thrown in /var/www/html/__UNAM_LIB/unam_lib.php on line 29, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:48:38.030508 2023] [php7:warn] [pid 1847279] [client myip:62189] PHP Warning:  file_put_contents(/var/www/html/__UNAM_LIB/Logs/php-error-01-12-2023.html): failed to open stream: Permission denied in /var/www/html/__UNAM_LIB/unam_lib.php on line 235, referer: http://MYSERVERIP/login.php [Thu Jan 12 20:48:38.030642 2023] [php7:error] [pid 1847279] [client myip:62189] PHP Fatal error:  Uncaught Error: Call to a member function prepare() on bool in /var/www/html/__UNAM_LIB/unam_lib.php:29\nStack trace:\n#0 /var/www/html/auth-ajax.php(11): unam_lib->unam_dbSelect()\n#1 {main}\n  thrown in /var/www/html/__UNAM_LIB/unam_lib.php on line 29, referer: http://MYSERVERIP/login.php

You need to give your webserver user access to the files. And give it write access to the unamwebpanel.db file (and its parent db folder) as well.

Can you give me commands for that? Ive gotten rusty at linux

nevermind i fixed it

i need the command though.


image/color: NRGBA provides alpha-premultiplied values, and RGBA provides non-alpha-premultiplied values. The doc claims the exact opposite.

What version of Go are you using (go version)?

$ go version
go version go1.19 linux/amd64

Does this issue reproduce with the latest release?
Yes. This issue has been present in every version since weekly.2011-10-06.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/marc/.cache/go-build"
GOENV="/home/marc/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/marc/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/marc/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3829980571=/tmp/go-build -gno-record-gcc-switches"

What did you do?

https://go.dev/play/p/ckINKpbqQ2L
What did you expect to see?
This should be alpha-premultiplied (0 0 0 0): 0 0 0 0
This should be alpha-premultiplied (0 0 0 0): 0 0 0 0
This shouldn't be alpha-premultiplied (0 32639 65535 0): 0 32639 65535  0
This shouldn't be alpha-premultiplied (0<PHONE_NUMBER><PHONE_NUMBER> 0): 0<PHONE_NUMBER><PHONE_NUMBER> 0
What did you see instead?
This should be alpha-premultiplied (0 0 0 0): 0 32639 65535 0
This should be alpha-premultiplied (0 0 0 0): 0 32767 65535 0
This shouldn't be alpha-premultiplied (0 32639 65535 0): 0 0 0 0
This shouldn't be alpha-premultiplied (0<PHONE_NUMBER><PHONE_NUMBER> 0): 0 0 0 0

I may be completely misinterpreting the documentation, or even misinterpreting the concept of alpha-premultiplication, but based on the Wikipedia page for Alpha compositing the current behavior is inverted.

Also, the 64bit color.RGBA64 and color.NRGB64 return uint32's. This does not feel correct and is not what I expected. However, the documentation does not specify the range of color.RGB64() so this may be the intended behavior. Either way, I think the documentation could be made clearer.
Would I need to start a new issue for this problem specifically?

I think you indeed misinterpreted the documentation. For RGBA, the pre-multiplication means that the R, G, B components in the struct are already multiplied with A, so it doesn't need to multiply again. For NRGBA, it is the opposite, i.e. the components in the struct is not already multiplied, so it needs to be multiplied.
Also, see https://pkg.go.dev/image/color#RGBA64
// An alpha-premultiplied color component c has been scaled by alpha (a),
// so has valid values 0 <= c <= a.

So color.RGBA{0, 0x7F, 0xFF, 0} is not actually valid.
For your second comment, the RGBA method satisfies the https://pkg.go.dev/image/color#Color interface. Note that for RGBA64 and NRGBA64, the total bits of R+G+B+A is 64, not each individual component is 64-bit, so returning uint32 is still enough.
Closing as working as intended. Thanks.

Thanks, I had already started working all of this out in the time after submitting this. I still feel like something could be changed to make it harder to accidentally create an invalid struct. Maybe it'd be worth it to add a NewColor function that takes straight r,g,b,a values and returns a valid color.RGBA object, doing the multiplication for the developer.
Otherwise, developers will keep making their own structs manually which often results in incorrect behavior. But, it could be argued that it's up to the developers to avoid making this kind of mistake.

Since https://pkg.go.dev/image/color#RGBA already documents that

An alpha-premultiplied color component C has been scaled by alpha (A), so has valid values 0 <= C <= A.

I think it is expected that the user would not create invalid values. For a NewColor (or perhaps NewRGBA) function, it is unclear what to do if the given input is invalid. Panic? Maybe, but doesn't sound much better than just documenting the requirement. So maybe not worth adding a new API. Thanks.

Commenting here since this currently is the first Google result for golang nrgba premultiplication.
All the handling of alpha values by the standard library is a bit funky. The premultiplication done by method RGBA() of type color.NRGBA occurs without any color space conversions, which while that isn't in conflict with the documentation, is not usually what you would want. The alpha value generally indicates amount of coverage over the pixel below it, whatever it is going to be, so it must not be biased towards either end of the luminosity spectrum and thus needs to be applied in linear RGB. However, when I use the png package to load a PNG with an alpha channel, I get the unaltered values as NRGBA color model, meaning NRGBA is then storing sRGB data. I had been confused for the past hour or so why an image of mine with transparency had dark outlines when magnifying interpolation is happening, while the non-premultiplied equivalent looked fine, and I confirmed this to be the cause. As I said, considering the documentation, this is not a bug (there is no indication that NRGBA is in any color space of any sort), it's just a subtle design detail that I did not expect, and I think other developers should be aware of as well.


Graphics used on Pipeline Execution wiki page

Hello,
What tool/template did you use to create the flowcharts on the Pipeline Execution wiki page? They look great.
Thanks,
Jeremy

Hi @jpinnix, Opus.Graph is using graphviz under the hood.
Make sure to have it installed on your system
brew install graphviz

To try this with your pipelines:
Opus.Graph.generate(:your_app, %{filetype: :svg})


Unable to retrive new metadata components from org browser - Salesforce -  ENOENT: no such file or directory, stat 'c:.forceignore'

00:52:09.951 Starting SFDX: Retrieve This Source from Org
ENOENT: no such file or directory, stat 'c:.forceignore'

Hi @av4213 , the issue seems from the libraries in cli, and I just transferred to the cli steam.

Can you please run the retrieve command with the --dev-debug flag and provide the full output? Please attach it as a file so the formatting is clean.
Also, are there any significant differences between a working branch and the failing one? You could use git diff to compare.

Hi, sure will provide with the flag.
Yes there are significant differences because one is prod branch (not working) and other branch is UAT & QA branch (working)


"communication transparency" skipped during scan

refer to point one of https://github.com/badging/badging/issues/35

@Ruth-ikegah I checked this and it is working with no problem. could you post a screen shot of send the link to the repo you badged?

@Ruth-ikegah closing this as stale. Unless you check again and confirm that the issue is going to come up once again


ResultDetail raised a exception

After I updated MacPorts to 2.4.0 from 2.3.5 following error started happening when matching result screen after a battle. I have no idea on what happened inside, but hereby reporting my error before rebuilding my whole Python and OpenCV environment and debugging. As long as I searched around I couldn't find any report like this, but I hope this is a known issue and there's a workaround.
<<<<<
ResultDetail raised a exception >>>>
Traceback (most recent call last):
  File "/Users/kuenishi/src/IkaLog/ikalog/engine.py", line 293, in process_scene
    scene.match(context)
  File "/Users/kuenishi/src/IkaLog/ikalog/scenes/scene.py", line 111, in match
    self._matched = self.match_no_cache(context)
  File "/Users/kuenishi/src/IkaLog/ikalog/scenes/stateful_scene.py", line 36, in match_no_cache
    return self._state(context)
  File "/Users/kuenishi/src/IkaLog/ikalog/scenes/result_detail.py", line 905, in _state_tracking
    self.analyze(context)
  File "/Users/kuenishi/src/IkaLog/ikalog/scenes/result_detail.py", line 757, in analyze
    e = self.analyze_entry(img_entry)
  File "/Users/kuenishi/src/IkaLog/ikalog/scenes/result_detail.py", line 602, in analyze_entry
    img_fes_title = img_name[0:entry_height / 2, :]
TypeError: slice indices must be integers or None or have an __index__ method

<<<<<

My environment on Python and capture device are as follows (built via  same procedure as in Wiki  except it's just 3.5 instead of 3.4 in the document). And here is my IkaConfig.py.
$ python --version
Python 3.5.3
$ PYTHONPATH=. python  ./IkaLog.py
<class 'ikalog.utils.ikamatcher2.matcher.IkaMatcher2'>: using kernel Numpy_uint8_fast
IkaLog Primary CLI Language: ja_JP.UTF-8 (set LANG to override)
IkaLog Game Language: ja (set IKALOG_LANG to override)
<ikalog.utils.icon_recoginizer.gearpower.GearPowerRecoginizer object at 0x108c18588>: KNN Trained (2410 samples)
<ikalog.inputs.filters.warp_model.WarpFilterModel object at 0x10a7c10b8>: Loaded model data
  /Users/kuenishi/src/IkaLog/data/webcam_calibration.ja.model (3010 keypoints)
<ikalog.inputs.osx.avfoundation_capture.AVFoundationCapture object at 0x10257ef28>: initializing class
2017-01-28 22:19:12.280 Python[94682:1354395] Device[0]: Blackmagic UltraStudio Mini Recorder
2017-01-28 22:19:12.281 Python[94682:1354395] Device[1]: FaceTime HD Camera (Built-in)
<ikalog.inputs.osx.avfoundation_capture.AVFoundationCapture object at 0x10257ef28>: initializing capture device 0
2017-01-28 22:19:18.244 Python[94682:1354395] Seleted capture device: Blackmagic UltraStudio Mini Recorder | uniqueID:61:00000000:003dc200 | modelID:UltraStudio Mini Recorder
<ikalog.outputs.websocket_server.WebSocketServer object at 0x10a7baf60>
<ikalog.outputs.websocket_server.WebSocketServer object at 0x10a7baf60>: Listen port 9090
<ikalog.outputs.websocket_server.WebSocketServer object at 0x10a7baf60>: Started server thread
IkaLog: start.

#461 should fix the issue


Enabled always-on by default

Task/Issue URL: https://app.asana.com/0/0/1205573532958049/f
Description:
In this PR we enable always on by default, and change the debug menu option's title to just "Always On".
Steps to test this PR:

On a fresh install, run the app
Go to More Menu > Settings > Debug Menu > Network Protection and ensure Always On is enabled.
Connect NetP
Go to Settings.app > VPN > Tap on the (i) icon next to "DuckDuckGo Network Protection"
Ensure that "Connect On Demand" is enabled
Go back to our app and disconnect NetP.
Go to More Menu > Settings > Debug Menu > Network Protection and disable Always On.
Connect NetP
Go to Settings.app > VPN > Tap on the (i) icon next to "DuckDuckGo Network Protection"
Ensure that "Connect On Demand" is disabled

Internal references:
Software Engineering Expectations
Technical Design Template

Task/Issue URL: https://app.asana.com/0/0/1205573532958049/f
Description:
In this PR we enable always on by default, and change the debug menu option's title to just "Always On".


Lookup dictionary for JW transformation of a FermionOperator

Low-hanging fruit for a simple speedup when working on FermionOperator -> QubitOperator conversions. The problem has been raised in #587. This is not an optimal solution to this issue (neither parallelization nor cython), but there is a significant speed improvement when working with a FermionOperator with redundant terms.
Here is a simple script I used to test:
import time

import openfermion as of
from openfermionpyscf import run_pyscf

mol = of.chem.MolecularData(geometry=[["H", (0., 0., 0.)], ["H", (0., 0., 0.75)]], multiplicity=1, charge=0, basis="ccpvtz")
mol = run_pyscf(mol, verbose=True)
mol_op = mol.get_molecular_hamiltonian()

ferm_op = of.transforms.get_fermion_operator(mol_op)

start_time = time.time()
qubit_op = of.transforms.jordan_wigner(ferm_op)
final_time = time.time() - start_time

print(f"{final_time}s")

On my machine (Arch Linux 5.17.3-arch1-1, python 3.8.5):
Before = 10min27s
After = 5min14s
Other tests:
O2_6-31g_triplet | 81s | 42 s
NaCl_sto-3g_singlet | 2min34s | 1min20s

@alexfleury , looks like we have a Cirq compatibility issue.  I'll take a look and update what's going on here.  I am fairly sure this a problem on our side and not yours.


Not working in 3.4

Latest update causes the following error:
Please select one or two layers.
Even if i select two layers.

here too

Yup, same!

I think this can be closed, as it seems to be working in latest Sketch 41.2


Local weekday reminder to make your 5 calls

toggle from welcome screen and settings menu
schedules local notification for weekdays at a specified time
on launch schedule the next one if needed

Not entirely clear where it is launching from. I don't see the settings menu. Assuming it's not there yet.

There’s an “About” screen in the footer, it can go in there.  Maybe we need to rename the button, open to suggestions. (Right now “Settings" feels inappropriate because it’s all informational)

On Feb 7, 2017, at 11:36 AM, Chris Brandow<EMAIL_ADDRESS>wrote:
Not entirely clear where it is launching from. I don't see the settings menu. Assuming it's not there yet.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/5calls/ios/issues/40#issuecomment-278077501, or mute the thread https://github.com/notifications/unsubscribe-auth/AADnBKdsnwrDrRxOn1_DiD7Zmh_xGV-dks5raKuygaJpZM4L5DPm.

Is this something that needs to be added? I don't see any code in there for local notifications. Should we add the "feature" tag?

Yes, but I believe @chrisbrandow is working on this already.

sorry for delay. got held up with a few things.


CanonicalName should casefold non-US-ASCII chars

According to Section 6.2 [1] of RFC 4034,all uppercase US-ASCII letters in the owner name of the RR are replaced by the corresponding lowercase US-ASCII letters.
This updates CanonicalName to conform to the RFC.
[1] https://www.rfc-editor.org/rfc/rfc4034#section-6.2
Fixes miekg/dns#1434

seems like the right thing to do.


章のタイトルが長いとページ下部の章タイトルが見切れる

:tada: This issue has been resolved in version 1.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Lost / Dropped Video Frames (and fHDHR restart)

Hi,
OK, this was sort of tied before to "lagging" video - but trying to make it a bit more concrete. Ya, some of this will be a bit fuzzy yet 😜. But we'll figure it out.
The issue that I am seeing is video degrading vs. time (lagging, blocky, etc.), and trying to quantify this using VLC statistics. I (think) I see a tie in to log level as well, but that's perhaps just due to overall load (of Python?). But that all said, some data to try to explain, and then some observations below that. Yell of course if I'm just off base. Overall things are working quite well now, just minor little items - except for the dropping video.
And the data. I tried to capture (from VLC), Lost Video packets, and Dropped Input/Read (as VLC calls them). I ran this with my Ceton PCIe card, and tried both direct and ffmpeg. Also a couple of log levels. And as a baseline, I always ran in parallel with fHDHR a test with direct stream (direct, from /dev to vlc), clear; cat /dev/ceton/ctn91xx_mpeg0_3 | vlc -. So now, the data,

And, some observations - qualitative, and I maybe just just crazy, but hoping this helps,

The errors do seem to arrive in a bursty nature ... not dribbling in, but in "jumps"
The errors seem to "accelerate" vs. time ... starting slow, then getting worse. A good example is the last row - it ran quite clean for a long time ... then in the last ~ 40k frames it lost 3000 of them ... and actually, fHDHR restarted! I noticed it because the VLC video stopped, when to look at the log, and saw it had restarted. I have attached the full debug log for this one (sorry, I know it's long, but wanted to share it all in case it helps).
When the error count gets high, if I just stop the stream, start over ... it seems to be clean again.

I may be out to lunch here, but I'm wondering about memory leaks (typical for vs. time issues), but also ... perhaps run the generator in a separate thread? Or, use a Python queue? Then again, could it be because we aren't reading an integer number of packets each time? Again, just thinking out loud.
Unfortunately this tends to take a while to show up ... can be a few hours, so not quick to test. That said, let me know if there are things you want me to try.
Thanks!
crash-log.txt

this should become a [ffmpeg]buffer= setting

https://github.com/fHDHR/fHDHR_plugin_stream_ffmpeg/pull/13

So zero is a good value?  I was failing to tune without the config setting in my ini.  The error was-
Unable to Stream: TunerError: Tuner Setup Failed (lazily handled): Tuner Setup Failed (lazily handled):KeyError 'buffsize'- /opt/fHDHR/fHDHR/streammanager/stream/init.py line 81

Errr ... I haven't seen that one. I am using 0, but it seems to not be taking => it's using 3, even though I have it set for 0.

Not the buffer_size, but the new setting in the [ffmpeg] section named buffsize.  It appears not to read the default from ffmpeg_conf,json.  Setting 0 or 1 and it works fine, not set and I get that failure, although I have not run in debug mode, so it may not be actually applying the setting.  Will check that in the AM.  Actually just rechecked the code and the ffmpeg_conf,json has bufsize while the code is reading buffsize and using that.

Ahh, gotcha. Let me take a look here as well.

Added a check (print output) here, seems to be working?
[2022-03-12 10:07:08,086] NOOB - [ffmpeg] subprocess buffsize: 0

There is a typo in ffmpeg_conf.json.  It is missing one 'f'
If you have a config option set in config.ini it works.  If it is missing the default from ffmpeg_conf.ini does not apply due to the typo.

OK, that makes sense. I have it set in config.ini - all jives then.

Seems to be working with the updates we discussed above - close this one, agreed?

The typo in ffmpeg_conf.json still exists but the issue you raised has been solved, so I see no need to keep it open...


Python Language Server predefined boolean constants issue

Environment data

VS Code version: 1.29 (5f24c93878bd4bc645a4a17c620e2487b11005f9)
Extension version: 2018.10.1
OS and version: Debian 9.5
Python version: 2.7.13 64-bit
Type of virtual environment used: N/A
Relevant/affected Python packages and their versions: N/A

Source code:
def x():
    return False

Actual behavior

Expected behavior
No warnings
Steps to reproduce:
Use provided source code
Error message:
{
	"resource": "/tmp/test.py",
	"owner": "_generated_diagnostic_collection_name_#0",
	"code": "use-before-def",
	"severity": 4,
	"message": "'False' used before definition",
	"source": "Python",
	"startLineNumber": 2,
	"startColumn": 12,
	"endLineNumber": 2,
	"endColumn": 17
}

First time noticed in 2018.9.2
Logs
Output for Python in the Output panel
(View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Microsoft Python language server.
Microsoft Python Language Server version <IP_ADDRESS>
Initializing for /usr/bin/python

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
.../workbench.main.js:1446  INFO no standard startup: not the explorer viewlet
.../workbench.main.js:294 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Create file systemwatcher with pattern */python
.../workbench.main.js:294 [Extension Host] Python Extension: Create file systemwatcher with pattern */*/python
.../workbench.main.js:294 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: undefined, Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: undefined, Return Value: UNABLE TO DETERMINE VALUE
.../workbench.main.js:294 [Extension Host] Python Extension: Get language server folder name, , Return Value: "languageServer.0.1.60"
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: All locators have completed locating, , Return Value:
.../workbench.main.js:294 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:

Please could you fill in the rest of the issue template.
We need the missing information to be able to help you.

Issue was updated to actual state

I'm seeing this same issue.

Duplicate of #3274


Exclusive set aggregate

A use case that has come up fairly frequently in various forms involves maintaining counts of items in buckets. Currently, the awkward part of solving this boils down to not really having any support for removing items from buckets. That is, it is trivial to compute the distribution (bucket -> frequency) of a value, but things become clunky if a value's bucket can change over time because it is not straightforward to decrement its previous bucket's count.
Additionally, frequency in this case will often be based on unique values and not a simple count. But even for the case in which a simple count is used, we'd still need to know about unique values in each bucket so that we could properly decrement the previous bucket if necessary.
One approach to cleanly solving this problem would be to add an exclusive set aggregate that adds each incoming element to a named set, ensuring that the element is removed from the previous owning set when necessary. For example,
CREATE CONTINUOUS VIEW v0 AS
  SELECT exclusive_set_agg(expr, set_name) AS buckets FROM ...

For each incoming value, exclusive_set_agg would add the value to the set named set_name, ensuring that it is removed from its previous set. To retrieve the cardinality of one of the named sets:
SELECT exclusive_set_cardinality(buckets, set_name) FROM ...

Or to retrieve the raw set:
SELECT exclusive_set(buckets, set_name) FROM ...

The advantages of this approach are that it's accurate, simple, and fairly intuitive. The downside is that it does require storing each unique element, or at a minimum some kind of hash of each element. So it should work fairly well for sets containing into the hundreds of thousands of elements, but wouldn't be well suited for millions and beyond.
For such cases in the future, we can probably look at using counting Bloom filters or Cukoo filters.

We can probably optimize further by not creating a hashtable for each transition state. Just create one (or a few?) on fn_extra and make the key:
<transition state pointer, hash>


Possible Hang

Description
Purple advice appears on Xcode when using firebase.
Reproducing the issue

Firebase SDK Version
9.6.1
Xcode Version
14.0.1
Installation Method
Swift Package Manager
Firebase Product(s)
All
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Hi @jesus-mg-ios, this issue seems related to #10476, and the fix was already included in v10.2.0. With this, updating your SDK to the latest version would resolve the issue. Thanks.

@rizafran thanks for your reply


failed to query kubeadm's config map from worker nodes

calico-node fails to start in worker nodes with error as below:
2022-08-02 06:04:20.683 [ERROR][9] startup/startup.go 158: failed to query kubeadm's config map error=unexpected error when reading response body. Please retry. Original error: net/http: request canceled (Client.Timeout or context cancellation while reading body)
Expected Behavior

Calico-node should be in Running state in worker nodes too.
Current Behavior

calico-node goes to Crashloopback in worker nodes with above error.
Possible Solution

None
Steps to Reproduce (for bugs)

Deployment of calico-node during k8s stack deployment over openstack victoria version. k8sversion : v1.23.6

Context

Deploying k8s cluster in Victoria based openstack environment
Your Environment

Calico version : 3.23.0
Orchestrator version (e.g. kubernetes, mesos, rkt): v1.23.6
Operating System and version: sles:15-SP3
Link to your project (optional):

##Pod Logs
_kubectl logs -n kube-system   calico-node-7p8mx
2022-08-02 06:04:18.672 [INFO][9] startup/startup.go 425: Early log level set to debug
2022-08-02 06:04:18.672 [DEBUG][9] startup/utils.go 164: File does not exist: /var/lib/calico/nodename
2022-08-02 06:04:18.672 [INFO][9] startup/utils.go 131: Using HOSTNAME environment (lowercase) for node name worker-standard-pool-5mm2u7ke-ccd-bl3-3vms
2022-08-02 06:04:18.672 [INFO][9] startup/utils.go 139: Determined node name: worker-standard-pool-5mm2u7ke-ccd-bl3-3vms
2022-08-02 06:04:18.672 [INFO][9] startup/startup.go 94: Starting node worker-standard-pool-5mm2u7ke-ccd-bl3-3vms with version v3.23.0-dirty
2022-08-02 06:04:18.673 [DEBUG][9] startup/load.go 95: Datastore type isn't set, trying to detect it
2022-08-02 06:04:18.673 [DEBUG][9] startup/load.go 97: EtcdEndpoints specified, detected etcdv3.
2022-08-02 06:04:18.673 [DEBUG][9] startup/client.go 30: Using datastore type 'etcdv3'
2022-08-02 06:04:18.673 [INFO][9] startup/startup.go 106: Skipping datastore connection test
2022-08-02 06:04:18.673 [DEBUG][9] startup/etcdv3.go 356: Processing Get request model-etcdKey=Node(worker-standard-pool-5mm2u7ke-ccd-bl3-3vms) rev=""
2022-08-02 06:04:18.674 [DEBUG][9] startup/etcdv3.go 380: Calling Get on etcdv3 client etcdv3-etcdKey="/calico/resources/v3/projectcalico.org/nodes/worker-standard-pool-5mm2u7ke-ccd-bl3-3vms" model-etcdKey=Node(worker-standard-pool-5mm2u7ke-ccd-bl3-3vms) rev=""
2022-08-02 06:04:18.682 [DEBUG][9] startup/etcdv3.go 387: No results returned from etcdv3 client etcdv3-etcdKey="/calico/resources/v3/projectcalico.org/nodes/worker-standard-pool-5mm2u7ke-ccd-bl3-3vms" model-etcdKey=Node(worker-standard-pool-5mm2u7ke-ccd-bl3-3vms) rev=""
2022-08-02 06:04:18.682 [INFO][9] startup/startup.go 468: Building new node resource Name="worker-standard-pool-5mm2u7ke-ccd-bl3-3vms"
E0802 06:04:20.683226       9 request.go:1085] Unexpected error when reading response body: net/http: request canceled (Client.Timeout or context cancellation while reading body)
2022-08-02 06:04:20.683 [ERROR][9] startup/startup.go 158: failed to query kubeadm's config map error=unexpected error when reading response body. Please retry. Original error: net/http: request canceled (Client.Timeout or context cancellation while reading body)
2022-08-02 06:04:20.683 [WARNING][9] startup/utils.go 49: Terminating
Calico node failed to start

Worker nodes can reach kube-apiserver.
_curl -vvv http://<IP_ADDRESS>:6443
*   Trying <IP_ADDRESS>:6443...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 6443 (#0)
> GET / HTTP/1.1
> Host: <IP_ADDRESS>:6443
> User-Agent: curl/7.66.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
* HTTP 1.0, assume close after body
< HTTP/1.0 400 Bad Request
<
Client sent an HTTP request to an HTTPS server.
* Closing connection 0_

Troubleshooting
Dont see key in etcd database. Looks like it will be created on successful deployment of calico-node.
Anyway to know what is being requested and what we received that resulted in this failure?

From worker we could reach kube-apiserver endpoint
curl -vvv http://<IP_ADDRESS>:6443/

Trying <IP_ADDRESS>:6443...
TCP_NODELAY set
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 6443 (#0)

GET / HTTP/1.1
Host: <IP_ADDRESS>:6443
User-Agent: curl/7.66.0
Accept: /

Mark bundle as not supporting multiuse
HTTP 1.0, assume close after body
< HTTP/1.0 400 Bad Request
<
Client sent an HTTP request to an HTTPS server.
Closing connection 0

E0802 06:04:20.683226       9 request.go:1085] Unexpected error when reading response body: net/http: request canceled (Client.Timeout or context cancellation while reading body)

Looks like it's failing to reach the API server - it queries a configmap in the kube-system namespace: https://github.com/projectcalico/calico/blob/0bfeb0f2c7e77b3cf21eaebd5996e514e28d242c/node/pkg/lifecycle/startup/startup.go#L148-L161
It looks like we intentionally adjust the timeout to 2 seconds, which should be fine for most clusters but if there's a lot of network latency or the API server is not functioning properly, we might hit that HTTP timeout. Do you know if there's a high request latency to the API server from that node?

Looks like its due to MTU setting change in openstack network layer. Fixing worker VM mtu to 1500 seems solved.
We were able to get instantly kubeadm-config from worker when we do 'kubectl get cm kubeadm-config'. But during deployment we consistently see calico-node failure in worker node.