Pick up the latest knative/pkg and K8s 0.17.x

The only other manual changes are:

Call Promote in tests, otherwise our generated reconcilers won't do anything (they aren't the leader!)
Fill in namespaces in a few tests (I believe this is a change in the k8s 0.17.x libs)

The main change with respect to genreconciler is that they will now generate LeaderAware reconcilers.  Reconcilers may be sharded across multiple replicas by setting the buckets in config-leaderelection, which will subdivide the key space being reconciled across N buckets, which are individually leader elected.
Right now the sharded reconcilers only light up through our webhook entrypoint in shared main, but I hope to eliminate the split (likely through having mirrored entrypoints for a time) in the near future.
The broader design for this is here: https://docs.google.com/document/d/1i_QHjQO2T3SNv49xjZLWlivcc0UvZN1Tbw2NKxThkyM/edit
The tekton webhook can now be horizontally scaled by enabling leader election via `enabledComponents: webhook` in `config-leader-election.yaml`

/hold
cc @vdemeester @ImJasonH

/kind cleanup

ah the good old shoulders.md case change 🙄

/retest

        >>> Container sidecar-registry:
        failed to try resolving symlinks in path "/var/log/pods/arendelle-8r9ph_kanikotask-run-pod-28v7p_98f0e76a-8ace-46d1-8572-01d1bc555635/sidecar-registry/0.log": lstat /var/log/pods/arendelle-8r9ph_kanikotask-run-pod-28v7p_98f0e76a-8ace-46d1-8572-01d1bc555635/sidecar-registry/0.log: no such file or directory

First time I see those log on a failure of the kaniko e2e test :thinking: :eyes:

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-integration-tests

/retest

@vdemeester passing now!

Does this mean that we would not rely on k8s 0.17.x?
If yes, I'd be concerned about restricting our users to a recent version of k8s.

Does this mean that we would not rely on k8s 0.17.x?
If yes, I'd be concerned about restricting our users to a recent version of k8s.

I don't think so. @mattmoor might correct me but this is just an update of the client, we are not using anything k8s 1.17 specific that wouldn't be supported earlier, right ?

/hold

@vdemeester @afrittoli Sorry, good catch.  Too focused on genreconciler.
This DOES pick up a new minimum K8s version as well: 1.16, sorry for missing that.
This will enable Tekton to pick up CRD v1 🤩 , and is available on all of the public clouds, but I should have caught it.  My bad.
I can update the release notes, but LMK if that's cool.  I put a /hold for good measure.

release notes update would be good, also tho we have some docs that talk about the min version, there's definitely https://github.com/tektoncd/pipeline/blob/e68c62700da03f407e5b5376d4bf69d473900a7b/DEVELOPMENT.md#kubernetes-cluster and there might be something at https://tekton.dev/ as well (hopefully its something pulled from this repo but not sure)

Thanks @bobcatfish I will circle back this afternoon and at least try to hit those places (and release notes).

/hold cancel
Ok, this is RFAL.  I updated every 1.15 reference outside of vendor 😉

/retest

I feel like we should discuss with with a larger audience before moving forward?
I've heard people having to stick to older Tekton versions because of the current k8s version constraint, so I wonder if we should force a new version already.
@mattmoor do you think it would be possible to control this via a feature flag? What I mean, if I'm not interested in scaling in the controller horizontally, be able to run on k8s 1.15.

@afrittoli Generally the hard version dependency check is configurable via an environment variable on the controller, but I believe we also picked up some use of the v1 CRD API, which is only available in 1.16+
Note that our K8s minimum version principle is based on what K8s actually supports upstream, but Ack the massive lag most cloud providers have here.  We are actually late picking up 1.16 because GKE was so far behind.
Ack the broader discussion, should I start one in slack?

At least, let's hold that for after 0.14 (aka requiring 1.16 as minimum) ?

@vdemeester When is that?  Is there a regular cycle?  Happy to mark it on my calendar to circle back and rebase/update.

@mattmoor it's almost a regular cycle. It should happen next week (thursday :pray:)

@vdemeester ok, great.  By then we should have pkg 0.16 snapped (Tuesday), so I will plan to update this shortly thereafter, and then it will hopefully just be good-to-go when the snap has happened.

/hold

@vdemeester Ok, I think this is ready to go once the release cuts, it pins to<EMAIL_ADDRESS>which cut this morning.

/hold cancel
/lgtm

Thanks @vdemeester 🤩
@afrittoli @bobcatfish LMK if there's anything else?

/lgtm

/approve


Add a license to the repository

I recently came across your project Qiskit_Fall_Fest_Mexico_2022 and I noticed that the repository github.com/alejomonbar/Qiskit_Fall_Fest_Mexico_2022 currently does not have a license specified.
Why Adding a License is Important?
As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!

Thank you!


chore: use Yarn

@typescript-eslint/eslint-plugin and @typescript-eslint/parser are both devDependencies and dependencies. I think those should be dependencies

@typescript-eslint/eslint-plugin and @typescript-eslint/parser are both devDependencies and dependencies. I think those should be dependencies

done


sql:BOOL and sql:FLOAT will be mapped wrong by the default mapper

the default mapper assigns
sql:BOOL to java:Integer
sql:FLOAT to java:Double
this may induce the need of unnecessary casting, if the mappings are not corrected in the json config / UI

Hi! The default mapping is depending on the DbmsType. Which database type do you have? (MariaDB, MySQL, PostgreSQL, etc)

I believe they have MySQL

yes sorry, its mySQL atm

Actually, the mappings are correct. However, the MySQL names BOOL and FLOAT are a bit misleadning, when having the Java type names in mind.
In MySQL, BOOL is synonym for TINYINT(1) and is therefore mapped to an Integer. To get an actual boolean value, please consider using BIT instead. See https://dev.mysql.com/doc/refman/5.7/en/numeric-type-overview.html
FLOAT is a floating point number with a precision that may exceed what is representable in a Java float. Therefore, the Java mapping is Double. Please consider using REAL for lower precision floating point numbers corresponding to Java float. See https://docs.oracle.com/javase/1.5.0/docs/guide/jdbc/getstart/mapping.html (under 8.3.10	FLOAT)


vale only lints first file?

When passing multiple files to vale, as in
$ vale --output JSON --no-exit foo.md bar.md

vale seems to lint only the first file.  I see errors in foo.md but no errors from bar.md (regardless of the --output option), although I'm sure bar.md has errors (which do appear if I lint bar.md specifically).
Is this expected behaviour?  The --help output suggests that I should be able to pass multiple arguments:
NAME:
   vale - A command-line linter for prose.

USAGE:
   vale [global options] command [command options] [arguments...]

No, this is isn't expected behavior (although, admittedly, it's more of an oversight than an implementation bug). I suppose I should add support for the following use cases:

vale file1 file2 ...
vale dir1 dir2 ...
vale dir1 file1 ...

Thanks for the report!

I've pushed a fix in d8ce6cb1ca6753d035ee716d09a817111b7d1496. After I test it a little more, I'll release v0.7.2.

This should be fixed in v0.7.2.

Thank you very much for fixing this issue so quickly ❤


fix(n-select): dropdown options support size tiny

closes #4398

Codecov Report
Base: 62.50% // Head: 62.50% // No change to project coverage :thumbsup:

Coverage data is based on head (cea9ce2) compared to base (2c2066c).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4435   +/-   ##
=======================================
  Coverage   62.50%   62.50%
=======================================
  Files        1069     1069
  Lines       22420    22420
  Branches     5882     5882
=======================================
  Hits        14013    14013
  Misses       6879     6879
  Partials     1528     1528

Impacted Files
Coverage Δ

src/_internal/select-menu/src/interface.ts
100.00% <ø> (ø)

src/_internal/select-menu/styles/_common.ts
100.00% <ø> (ø)

src/_internal/select-menu/styles/light.ts
100.00% <ø> (ø)

src/select/src/Select.tsx
35.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thank you! But select don't support padding for sizes.

I keep consistent with other sizes of select because they also don't support.

Maybe it will be possible iа add variables for Select in the Theme Editor to users can make it consistent with Input themself?

Maybe it will be possible iа add variables for Select in the Theme Editor to users can make it consistent with Input themself?

Yes, it is supported. You can use the themeOverrides prop to override the padding, for example, like this:
<script lang="ts">
import { type SelectProps } from 'naive-ui'
type SelectThemeOverrides = NonNullable<SelectProps['themeOverrides']>

const themeOverrides: SelectThemeOverrides = {
  peers: {
    InternalSelection: {
      // single select
      paddingSingle: '0 6px 0 6px',
      // multiple select
      paddingMultiple: '0 6px 0 6px',
    }
  }
}
</script>
<template>
  <n-select
    :theme-overrides="themeOverrides"
  />
</template>

When will these changes be published? Pleeeease

Select's current behavior is by design.


Cardview on WSL error

The demo code is copied from docs:
from metaflow import FlowSpec, step, card

class HelloFlow(FlowSpec):
    @card
    @step
    def start(self):
        print("HelloFlow is starting")
        self.next(self.hello)

    @step
    def hello(self):
        print("Say hi")
        self.next(self.end)

    @step
    def end(self):
        print("HelloFLow is ending")

if __name__ == "__main__":
    HelloFlow()

In windows WSL, run metaflow python code works, but can't start card view with
python demo.py card view start, output looks like this:
Start : ���ڳ������´����޷����д�����: ϵͳ�Ҳ���ָ�����ļ�����
����λ�� ��:1 �ַ�: 1
+ Start "file:///home/jucheng/proj/metaflow_demo/metaflow_card_cache/He ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process]��InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

which distro are you using for the WSL? I tried this with Ubuntu and out of the box it does not work, but I wasn't able to get the same error as you with the metaflow cards command.
What is happening is that under the hood metaflow is calling webbrowser.open for the html file path, and as WSL does not have a browser configured by default, this fails.
exporting a host system browser to the supported environment variable should fix the issue
export BROWSER="mnt/c/path-to-browser.exe"

an easy test for if WSL is able to launch a browser is
sensible-browser google.com

closing this for now as it shouldn't be a Metaflow specific issue. We can reopen if it turns out to be a reproducible bug with WSL and not missing configuration.


How can I fire notifications from Vuex?

Love the plugin!
I'd like to fire notifications from a vuex action with the message from the server
Is there a way of doing that?
Thanks

you will prob. return a promise from your action and in this promise show notification already in your component. This way you will be sure that you've separated your concerns and that data layer (your model) is not responsible for ui operations (showing ui notification)


Update virtual-machines-windows-sql-register-with-rp.md

Fix typo in code to use SqlServerLicenseType as needed by Microsoft.SqlVirtualMachine/SqlVirtualMachines (https://docs.microsoft.com/en-us/azure/templates/microsoft.sqlvirtualmachine/2017-03-01-preview/sqlvirtualmachines)

@PhilipBarry : Thanks for your contribution! The author(s) have been notified to review your proposed change.

thanks for catching this Philip :) #sign-off


Remove hasdynamicvalue function calls from rulenode2expr functions

Remove hasdynamicvalue function calls from rulenode2expr functions because they cause issues with using _val as an evaluation cache for the Probe algorithm.

This looks fine to me, the original _val feature is not used anywhere. Shall we merge it without @Whebon's approval, as he is probably recovering after his defence? :)

The original _val is not used anymore, making these checks are redundant. It seems like you have a new use-case for the _val field (otherwise the check returns false). Maybe we should add a docstring to RuleNode to clarify what _val is supposed to do and what format it is expected to be in.


Integration with GCP PubSub

Hi!
I'm using Spring Sleuth in a Spring Boot project and I'd like to include received PubSub events in my metrics. I've read that is it possible to trace RabbitMQ, Kaftka, JMS messages, but I'm having some trouble finding some integration for PubSub.
Describe the solution you'd like
I'd like to have some guidance on how to trace this events =) or know if there's an integration possible or in the way.
Describe alternatives you've considered
I tried to intercept the method that is executed when the events are received using AspectJ, but it was not possible (at least for me)

Why won't you file this issue in Spring Cloud GCP so that they instrument it there?


Incorrect variables in presets

Two of the module presets, the ones that display the slide number and build number, reference incorrect variable names when the connection name is not set to the default "OSCPoint". The total slides and total builds show as $NA.

Thanks for the issue - I'll look into this and hope to have a fix for the next release. Probably have to just build these buttons manually until then.

This appears to be due to a bug in the core code of Companion - more details forthcoming soon.

Think this is now fixed in the core


resource-detector-github failed to compile

Constant CI failure with the following outputs:
><EMAIL_ADDRESS>compile
> tsc -p .

error TS2688: Cannot find type definition file for 'parse5'.
  The file is in the program because:
    Entry point for implicit type library 'parse5'

../../../node_modules/@types/jsdom/base.d.ts:4:33 - error TS7016: Could not find a declaration file for module 'parse5'. '/home/runner/work/opentelemetry-js-contrib/opentelemetry-js-contrib/node_modules/parse5/lib/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/parse5` if it exists or add a new declaration (.d.ts) file containing `declare module 'parse5';`

4 import { ElementLocation } from "parse5";
                                  ~~~~~~~~

Example link: https://github.com/open-telemetry/opentelemetry-js-contrib/runs/7547491100?check_suite_focus=true
Find out more: https://github.com/open-telemetry/opentelemetry-js-contrib/actions/workflows/unit-test.yml

can we please fix this? this is causing a lot of test failures across the repository.

There is no listed component owner for the github resource detector. We have a lot of unmaintained components like this and the burden on the SIG maintainers is unsustainable. I think we should consider our options on what we can do with these unmaintained components.

The problem is caused by the dependencies of the package https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/opentelemetry-browser-extension-autoinjection. It is not the problem with the resource-detector-github, but I'm not sure why it is failed to compile -- might be related to dependencies hoisting.

There is no listed component owner for the github resource detector. We have a lot of unmaintained components like this and the burden on the SIG maintainers is unsustainable. I think we should consider our options on what we can do with these unmaintained components.

I think we should remove unmaintained components from the learn project and from autoinstrumentation and created an issue with label help wanted to get it back into useable state.

It isn't related to hoisting. It doesn't compile even standalone without lerna. It has something to do with the parse5 module types. I think they updated to a later typescript that is outputting syntax that our (fairly old) typescript doesn't support.


Update to newest Cake version

Hi,
are you planning to update this and the corresponding nuget package to the newest version of Cake? (Version 0.23.0)
If so, any ETA?

@Insire I've push a new version (1.2.0) which should support the latest cake version. I've tested it briefly in my build and it seems to be fine but let me know if you have any issues with it


Improvements to make downloading imagery easier

Right now the command to download imagery requires a user to hand select two Sentinel 2 images, and it only works on the full scene. There are a number of potential improvements to make things easier.

[ ] Add a 'bbox' parameter. Initially this would let you select a subset of the two images you selected, so you don't need to do the full scenes which could take awhile on a slower connection.
[ ]  If the user passes in 2 STAC items that aren't perfectly aligned, then just download the intersection of the two (currently the script will fail)
[ ] Auto-select imagery based on bbox parameter and some time range. First would constrain this to subsets of S2 tiles. And it'd select the 'best' cloud free images (could be most free of cloud, and then ones that are an ideal time apart).
[ ]  Don't save intermediate results to disk when stacking the two layers.

Also related to this is #26

As discussed on the last FTW call, this issue is waiting for @snehalchaudhari98 to define a procedure how to select imagery.


html/worker_api_test failing on dart2js browsers

After the CL "Correct handling of cross-frame functions in ddc."(https://codereview.chromium.org/2587203002) landed, the test html/worker_api_test is failing on content shell (drt) (the dartium version, with embedded dart, but only using js in this case) and on chrome and firefox and ie.  It fails in all modes.
FAILED: dart2js-drt-checked release_x64 html/worker_api_test
Expected: Pass
Actual: RuntimeError
CommandOutput[dart2js]:
Content-Type: text/plain
FAIL
1	FAIL
Expectation: Use Worker API in Worker .
Expected: 'Hello from Worker'
Actual: 'Error: ReferenceError: window is not defined'
Which: is different.
Expected: Hello from ...
Actual: Error: Ref ...

This is actually failing on all browsers.  The browsers not reporting failures were already skipping this test for other reasons.  Marking as high priority, and putting it in /tests/html/html.status.


DLC name in organisationFormat template

Hello @Ralim ,
switchhost fit's great for my needs.
I there a way to get the DLC name into the file rename template?

I'll have a look and see. Glad someone else out there finds it useful

Hello again,
So the limitation here at the moment is that both the titlesDB that it downloads and the DLC files themselves do not contain name data. I haven't spotted a good way to do this lookup; by any chance do you know of anywhere that has an index of DLC names?


Show tabs for different format types

This is effectively just another filter, but displayed a wee bit differently:

I know format isn't data we currently have available, but especially as & when the data allows for it (and expands to more formats, like maps and such!) this may help users to more easily find what they're looking for.

With the visual branding applied, the format tabs look something like this:

I'm attaching this to a "Future" milestone since this probably isn't something the data will support for this iteration, but it would be nice to have in a future iteration.


Create SessionManager(interface) and SessionManagerHibernate

From the class SessionManagerHIbernate we pretend administrate all session.
This must be a singleton class and will be instantiated for each Controller.

2e1228e commit

8de2c79

The project does not compile! Please check that.
 Compilation failure: AlbumController.java:[91,32] error: cannot find symbol.

Missing class SessionManager


[runners-flink] remove 1.12 and 1.13 runners

Cherry pick #30988

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Will merge once checks complete


Facebook Handover - Standby Webhook Not Sending Messages

Version
4.3.1
Describe the bug
My bot is subscribed to the "standby" web hook but it seems that once thread control is passed to a secondary receiver no further messages are delivered to the bot.
To Reproduce
Steps to reproduce the behavior:

subscribe a bot to the standby channel
pass thread control to the inbox

Expected behavior
Messages should still be passed to the bot after it has passed control to the page inbox
https://developers.facebook.com/docs/messenger-platform/handover-protocol/?hc_location=ufi#standby_channel

standby
When the handover protocol is set up for a Page, apps that don't have the thread control at the time can optionally subscribe to a separate 'standby' channel to listen to incoming messages. It is important to implement the standby channel, as it allows apps to track the full context of the conversation and be well-informed on how to proceed if control is passed to them.
This webhook event only affects messages, message_reads, and message_deliveries subscriptions.
For complete details and event properties, see the standby Webhook Event Reference

[bug]

@jamsoft the Bot Framework should not be swallowing/ignoring standby messages.  If that is the case, this is a bug.
Can you provide the following, so we can check our logs to determine if we are dropping these messages:

Bot Handle
UTC Timestamp for when the handover was initiated
UTC Timestamp for when the Done button was clicked

We have determined that standby messages are in fact not being forwarded to the non-primary Bot by the Bot Framework Facebook Connector service.  This issue has been addressed, and the fix is in the release pipeline.  It should be live by May.
Thank you for reporting this issue.

The fixes for the Messenger standby events is in production. This sample has been modified to demonstrate: https://github.com/EricDahlvang/FacebookEventsBotExpanded

Link to originating Stack Overflow issue: https://stackoverflow.com/questions/55188480/bot-framework-simple-handoff-scenario/56553050
Linking to resulting blog post: https://blog.botframework.com/2019/06/03/using-the-facebook-messenger-handover-protocol-with-the-microsoft-bot-framework/


Creating a group with an existing name triggers an internal error

When trying to create a new group, if you try to create one with the same name that one which already exists, you'll get a HTTP 500 error while the error should reflect the specific problem (that they key is already taken).

No longer relevant with the introduction of organization in #332


fix epoll controller code

We should do a major refresh of this code and align epoll functionality with iouring proactor.
The goal - to support dragonfly with iouring and epoll to allow an easier migration to dragonfly on legacy kernels.

fixed


Template "xml" crashes if a @param tag is missing the type

I have a method where the type and parameter name were accidentally switched. Instead of
/**
 * @param  bool  $sortDesc
 */
public function testMethod (bool $sortDesc) {}

the doc block was
/**
 * @param  $sortDesc  bool
 */
public function testMethod (bool $sortDesc) {}

It appears that phpDocumentor sees "bool" as the parameter description, and (nothing) as the type. Any other text than "bool" also causes the same crash.
The parsing stage runs successfully, but transforming for the "xml" template fails with the following error:
...
[2018-12-23 12:39:09] app.INFO:   Writer xml  on structure.xml [] []
[2018-12-23 12:39:09] app.INFO:   Execute transformation using writer "xml" [] []

In ArgumentConverter.php line 52:

  [ErrorException]
  Warning: Invalid argument supplied for foreach()

Exception trace:
 phpDocumentor\Plugin\Core\Transformer\Writer\Xml\ArgumentConverter->convert() at /home/user/git/phpDocumentor2/src/phpDocumentor/Plugin/Core/Transformer/Writer/Xml/MethodConverter.php:74
 phpDocumentor\Plugin\Core\Transformer\Writer\Xml\MethodConverter->convert() at /home/user/git/phpDocumentor2/src/phpDocumentor/Plugin/Core/Transformer/Writer/Xml.php:393
 phpDocumentor\Plugin\Core\Transformer\Writer\Xml->buildClass() at /home/user/git/phpDocumentor2/src/phpDocumentor/Plugin/Core/Transformer/Writer/Xml.php:198
 phpDocumentor\Plugin\Core\Transformer\Writer\Xml->buildFile() at /home/user/git/phpDocumentor2/src/phpDocumentor/Plugin/Core/Transformer/Writer/Xml.php:140
 phpDocumentor\Plugin\Core\Transformer\Writer\Xml->transform() at /home/user/git/phpDocumentor2/src/phpDocumentor/Transformer/Transformer.php:287
 phpDocumentor\Transformer\Transformer->applyTransformationToProject() at /home/user/git/phpDocumentor2/src/phpDocumentor/Transformer/Transformer.php:253
 phpDocumentor\Transformer\Transformer->transformProject() at /home/user/git/phpDocumentor2/src/phpDocumentor/Transformer/Transformer.php:137
 phpDocumentor\Transformer\Transformer->execute() at /home/user/git/phpDocumentor2/src/phpDocumentor/Application/Stage/Transform.php:147
 phpDocumentor\Application\Stage\Transform->__invoke() at /home/user/git/phpDocumentor2/vendor/league/pipeline/src/FingersCrossedProcessor.php:11
 League\Pipeline\FingersCrossedProcessor->process() at /home/user/git/phpDocumentor2/vendor/league/pipeline/src/Pipeline.php:34
 League\Pipeline\Pipeline->process() at /home/user/git/phpDocumentor2/vendor/league/pipeline/src/Pipeline.php:39
 League\Pipeline\Pipeline->__invoke() at /home/user/git/phpDocumentor2/vendor/league/pipeline/src/FingersCrossedProcessor.php:11
 League\Pipeline\FingersCrossedProcessor->process() at /home/user/git/phpDocumentor2/vendor/league/pipeline/src/Pipeline.php:34
 League\Pipeline\Pipeline->process() at /home/user/git/phpDocumentor2/vendor/league/pipeline/src/Pipeline.php:39
 League\Pipeline\Pipeline->__invoke() at /home/user/git/phpDocumentor2/src/phpDocumentor/Application/Console/Command/Project/RunCommand.php:249
 phpDocumentor\Application\Console\Command\Project\RunCommand->execute() at /home/user/git/phpDocumentor2/vendor/symfony/console/Command/Command.php:251
 Symfony\Component\Console\Command\Command->run() at /home/user/git/phpDocumentor2/vendor/symfony/console/Application.php:904
 Symfony\Component\Console\Application->doRunCommand() at /home/user/git/phpDocumentor2/vendor/symfony/framework-bundle/Console/Application.php:89
 Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /home/user/git/phpDocumentor2/vendor/symfony/console/Application.php:262
 Symfony\Component\Console\Application->doRun() at /home/user/git/phpDocumentor2/vendor/symfony/framework-bundle/Console/Application.php:75
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/user/git/phpDocumentor2/vendor/symfony/console/Application.php:145
 Symfony\Component\Console\Application->run() at /home/user/git/phpDocumentor2/bin/phpdoc:44

This was a test run with a source directory containing only a single class file with only the method given above. The command line was:
/home/user/git/phpDocumentor2/bin/phpdoc run
    --directory /path/to/TestDir
    --target out-transform
    --template xml
    --force
    -vvv

I'm running phpdoc v3.0.x-dev@ee92b8f directly from the git directory ("develop" branch, up to date at the time of writing) on Kubuntu 18.04, PHP version is 7.2.10.

Fixed with #2050


Empty tmpcbl/ref-transcripts.gtf created while building mm39 genome

Version info

bcbio version: 1.2.8
OS name and version: Linux Cluster CentOS7

To reproduce:

Download mm39 reference genome files from GENCODE:

wget https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_mouse/release_M31/gencode.vM31.chr_patch_hapl_scaff.basic.annotation.gtf.gz
gunzip gencode.vM31.chr_patch_hapl_scaff.basic.annotation.gtf.gz

wget https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_mouse/release_M31/gencode.vM31.chr_patch_hapl_scaff.basic.annotation.gff3.gz
gunzip gencode.vM31.chr_patch_hapl_scaff.basic.annotation.gff3.gz

Both the gtf and gff3 files contain require fields: exon, transcript_id and gene_id

Exact bcbio command used to set up the custom genome:
I tried using either the gtf or the gff files but both didn't work and gave the same error

#!/bin/bash
#BSUB -q bigmem
#BSUB -n 4
#BSUB -R rusage[mem=64000]
#BSUB -o out.%J
#BSUB -N

module load python

/data/klengellab/tools/bcbio/anaconda/bin/bcbio_setup_genome.py -c 4 -f /data/klengellab/tools/bcbio/genomes/Mmusculus/mm39_2023/gencode.vM31.transcripts.fa -g /data/klengellab/tools/bcbio/genomes/Mmusculus/mm39_2023/gencode.vM31.chr_patch_hapl_scaff.basic.annotation.gtf -n Mmusculus -b mm39 -i star --buildversion Ensembl_108

/data/klengellab/tools/bcbio/anaconda/bin/bcbio_setup_genome.py -c 4 -f /data/klengellab/tools/bcbio/genomes/Mmusculus/mm39_2023/gencode.vM31.transcripts.fa --gff3 -g /data/klengellab/tools/bcbio/genomes/Mmusculus/mm39_2023/gencode.vM31.basic.annotation.gff3 -n Mmusculus -b mm39 -i star --buildversion Ensembl_108

Log File:
out.txt
It seems like the ref-transcripts.gtf in the tmpcbl directory is just empty.
Thank you so much for all your help in advance and I really appreciate it!

Hi @daisysdan !
With -g you need to pass a genome reference, not transcriptome.fa.
SN

Please feel free to re-open if that is not solving the case.


Config class uses "model_path" instead of "models_path"

All the other default paths match to the directory such as data_path and output_path. For the sake of consistency we should do the same for models.

Are you talking about this?
https://github.com/dstil/surround/blob/03455f03a3fbcb11b0a4536740892c7a0c575fee/surround/config.py#L20


Dev Test: Equality Explorer 1.0.0-dev.125

This issue is for the first round of dev testing on the Equality Explorer family of sims.  The majority of testing during implementation has been on Chrome, Safari and Mobile Safari.   Please do a thorough shakedown on a few platforms, including iPad and Edge.   There is no need for a test matrix, unless you'd like to create one.
The dev versions are:

Equality Explorer 1.0.0-dev.125
Equality Explorer: Basics 1.0.0-dev.12
Equality Explorer: Two Variables 1.0.0-dev.4

Resources:

Start by reading model.md and the Terminology section of implementation-notes.md.
The lock feature is complicated enough to require its own testing document, lock-scenarios.md.
Sim-specific query parameters are documented in EqualityExplorerQueryParameter.js.

Please mention this issue in any GitHub issues that you create.
@ariel-phet @amanda-phet FYI.

Please create any GitHub issues in the equality-explorer repository, regardless of which sim you find them in.

@lmulhall-phet marking as medium for the moment, as there are a few things that would be good to be finished up first. However, this must be complete by 7/5 so priority will get bumped up at some point.  However, this sim should be tested first as Basics and Two Variables are really variants overall.

Bumping to high priority

Looks like this can be top priority again

QA is done.

Thank you QA team.  I'll self-assign until related issue are closed.


HNS Container Networking firewall rules for DNS queries are broken after rebooting

Version
Microsoft Windows [Version 10.0.22581.200]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 21.04
Other Software
No response
Repro Steps
The initial system state has DNS queries failing, but succeeding when you disable Windows Defender Firewall or when you add an Allow rule for the vEthernet (WSL) network interface.
$ nslookup example.com
;; connection timed out; no servers could be reached

Remove all HNS Container Networking inbound rules in Windows Defender Firewall. There may be many existing rules, as observed in https://github.com/microsoft/WSL/issues/4285#issuecomment-595221870
Reboot your system.
Verify that there are no inbound rules defined.
Launch WSL and perform a DNS query.$ nslookup example.com
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

Non-authoritative answer:
Name:   example.com
Address: <IP_ADDRESS>
Name:   example.com
Address: 2606:2800:220:1:248:1893:25c8:1946

Verify that there are 2 inbound rules defined.

Lookup one of the rules by name.> Get-NetFirewallRule -DisplayName "HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0"

Name                          : HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0
DisplayName                   : HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0
Description                   : HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0
DisplayGroup                  :
Group                         :
Enabled                       : True
Profile                       : Any
Platform                      : {}
Direction                     : Inbound
Action                        : Allow
EdgeTraversalPolicy           : Block
LooseSourceMapping            : False
LocalOnlyMapping              : False
Owner                         :
PrimaryStatus                 : OK
Status                        : The rule was parsed successfully from the store. (65536)
EnforcementStatus             : NotApplicable
PolicyStoreSource             : PersistentStore
PolicyStoreSourceType         : Local
RemoteDynamicKeywordAddresses : {}

> Get-NetFirewallRule -DisplayName "HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0" | Get-NetFirewallInterfaceFilter

InterfaceAlias : vEthernet (WSL)

Reboot your system.
Verify that there are still 2 inbound rules defined.
Launch WSL and perform a DNS query.$ nslookup example.com
;; connection timed out; no servers could be reached

Verify that there are still 2 inbound rules defined.
Lookup one of the rules by name.> Get-NetFirewallRule -DisplayName "HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0"

Name                          : HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0
DisplayName                   : HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0
Description                   : HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0
DisplayGroup                  :
Group                         :
Enabled                       : True
Profile                       : Any
Platform                      : {}
Direction                     : Inbound
Action                        : Allow
EdgeTraversalPolicy           : Block
LooseSourceMapping            : False
LocalOnlyMapping              : False
Owner                         :
PrimaryStatus                 : OK
Status                        : The rule was parsed successfully from the store. (65536)
EnforcementStatus             : NotApplicable
PolicyStoreSource             : PersistentStore
PolicyStoreSourceType         : Local
RemoteDynamicKeywordAddresses : {}

> Get-NetFirewallRule -DisplayName "HNS Container Networking - DNS (UDP-In) - B95D0C5E-57D4-412B-B571-18A81A16E004 - 0" | Get-NetFirewallInterfaceFilter

InterfaceAlias : 6558c937-8919-460a-b9d0-bbd3a6fefb2b

As you can see, after rebooting, the firewall rule is no longer applied to the vEthernet (WSL) network interface. This is (to my understanding) because the network interface is recreated on every boot, and is also observed in various comments in #4285, #5256, #4139 when workarounds with firewall rules are suggested.
These steps can be repeated to reliably fix and reproduce the issue each time.
Expected Behavior
The firewall rules are updated after rebooting so they refer to the newly created vEthernet (WSL) network interface, and DNS queries continue working.
Actual Behavior
The firewall rules refer to a network interface that no longer exists, and DNS queries stop working.
Diagnostic Logs
No response

@stijnherreman when I run Get-NetFirewallInterfaceFilter cmdlet the InterfaceAlias is always vEthernet (WSL) and not a UUID. Here's sample output:
Get-NetFirewallRule -DisplayName "HNS Container Networking - DNS (UDP-In) - B54072453-ABF7-45DE-9C21-2853E97D97D8 - 0" | Get-NetFirewallInterfaceFilter

InterfaceAlias : vEthernet (WSL)

The IP address and UUID for the WSL endpoint changes often between reboots, but the InterfaceAlias is constant. How do you get a UUID in your case? Thx!

Looks like there still has not been any movement on this. Currently I'm either deleting the Defender rules and rebooting, or running a PowerShell script to add new rules.  Is there a more permanent  solution than manually recreating the rules?

Thanks, folks, for reporting this to us. We have addressed it in this next release of WSL: https://github.com/microsoft/WSL/releases/tag/0.70.5. WSL will ensure the Firewall rules which it requires for its NAT configuration are present on the host system.
Thanks!

Finally! This issue has persisted for far too long, and effectively cripples WSL2 usage on many platforms.  I trust the fix is dynamic enough to react to NIC changes in a live system?

Finally! This issue has persisted for far too long, and effectively cripples WSL2 usage on many platforms. I trust the fix is dynamic enough to react to NIC changes in a live system?

Yep. WSL worked around the entire issue with a single Firewall rule which was crafted specifically for this DNS NAT flow. It's no longer dependent on individual interfaces.

Finally! This issue has persisted for far too long, and effectively cripples WSL2 usage on many platforms. I trust the fix is dynamic enough to react to NIC changes in a live system?

Yep. WSL worked around the entire issue with a single Firewall rule which was crafted specifically for this DNS NAT flow. It's no longer dependent on individual interfaces.

@keith-horton Any chance of linking to the changes/commits?  I pulled down the 0.70.5 release, and I'm not seeing a change in behavior.

I've since installed builds 25231 and 25236, and did a couple other reboots. So far so good, the issue seems to be gone on my machine!


ytfzf: 2.6.0 -> 2.6.1

Description of changes
Diff: https://github.com/pystardust/ytfzf/compare/v2.6.0...v2.6.1
Changelog: https://github.com/pystardust/ytfzf/releases/tag/v2.6.1

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

ytfzf


NameHelper java.lang.StringIndexOutOfBoundsException: String index out of range: 0

greetings,
NameHelper.capitalizeTrailingWords(String name)
while parsing some ansible json response code i get an StringIndexOutOfBoundsException.
problem is last line in json response below:  "_": "/usr/bin/python"
capitalizeTrailingWords has to guard for edge case of strings less than 2 chars...
cheers,
mp
"ansible_env": {
"HOME": "/home/admin",
"LANG": "en_US.UTF-8",
"LESSOPEN": "||/usr/bin/lesspipe.sh %s",
"LOGNAME": "admin",
"LS_COLORS": "",
"MAIL": "/var/mail/admin",
"PATH": "/usr/local/bin:/usr/bin:/opt/jdk1.8.0_161/bin:/opt/jdk1.8.0_161/jre/bin:/opt/jdk1.8.0_161/bin:/opt/jdk1.8.0_161/jre/bin",
"PWD": "/home/admin",
"SELINUX_LEVEL_REQUESTED": "",
"SELINUX_ROLE_REQUESTED": "",
"SELINUX_USE_CURRENT_RANGE": "",
"SHELL": "/bin/bash",
"SHLVL": "2",
"SSH_CLIENT": "<IP_ADDRESS> 54746 22",
"SSH_CONNECTION": "<IP_ADDRESS> 54746 <IP_ADDRESS> 22",
"SSH_TTY": "/dev/pts/0",
"USER": "admin",
"XDG_RUNTIME_DIR": "/run/user/1000",
"XDG_SESSION_ID": "47098",
"_": "/usr/bin/python"
}

...should have said great product...thx for developing this very nice util!
mp

This is a duplicate of #632, you should check out the proposed fixes there. For now though, you need at least one valid character in the name.


Fix api.staging-cd. DNS

It was pointing to the wrong CloudFront distribution. This PR fixes it to point to the appropriate one.

Thank you! @actualeyes I think https://api.staging-cd.crossfeed.cyber.dhs.gov/ and https://staging-cd.crossfeed.cyber.dhs.gov/ should work now again.


⚠ Bofrost.lu has degraded performance

In 128a901, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1446 ms

Resolved: Bofrost.lu performance has improved in f03bf72 after 6 minutes.


ENH: update package version

Hi! This is the friendly automated conda-forge-webservice.
I've started a version update as instructed in #197.
I'm currently searching for new versions and will update this PR shortly if I find one! Thank you for waiting!
Fixes #197

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


prometheus decoder: memory leak

Testing the new decoder with the Prometheus Scrape plugin for Fluent Bit I've found there is a memory leak every time we use the API:
==735796== 41 bytes in 1 blocks are definitely lost in loss record 1 of 2
==735796==    at 0x4843839: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==735796==    by 0x30C86E: sds_alloc (cmt_sds.c:46)
==735796==    by 0x30C9DE: cmt_sds_create_len (cmt_sds.c:99)
==735796==    by 0x30CA84: cmt_sds_create (cmt_sds.c:125)
==735796==    by 0x32A99A: cmt_decode_prometheus_lex (cmt_decode_prometheus.l:78)
==735796==    by 0x32955B: cmt_decode_prometheus_parse (cmt_decode_prometheus_parser.c:1375)
==735796==    by 0x327E33: cmt_decode_prometheus_create (cmt_decode_prometheus.c:115)
==735796==    by 0x1F5938: collect_metrics (prom_scrape.c:118)
==735796==    by 0x1F5AEE: cb_prom_scrape_collect (prom_scrape.c:148)
==735796==    by 0x182A89: input_pre_cb_collect (flb_input.h:441)
==735796==    by 0x53D00A: co_init (amd64.c:117)

I am attaching the Prometheus Text format used to trigger the issue
prom.txt


Error info in X.dot(w)

https://github.com/deepjavalibrary/djl/issues/2685

This is awesome. Thankyou.

please format the file @KexinFeng

Codecov Report
Patch coverage: 71.50% and project coverage change: -0.03 :warning:

Comparison is base (bb5073f) 72.08% compared to head (35251a9) 72.06%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2688      +/-   ##
============================================
- Coverage     72.08%   72.06%   -0.03%
- Complexity     5126     7018    +1892
============================================
  Files           473      698     +225
  Lines         21970    31254    +9284
  Branches       2351     3225     +874
============================================
+ Hits          15838    22522    +6684
- Misses         4925     7197    +2272
- Partials       1207     1535     +328

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...djl/modality/cv/transform/RandomFlipLeftRight.java
25.00% <0.00%> (-25.00%)
:arrow_down:

...djl/modality/cv/transform/RandomFlipTopBottom.java
25.00% <0.00%> (-25.00%)
:arrow_down:

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

.../modality/cv/translator/ImageFeatureExtractor.java
0.00% <0.00%> (ø)

.../ai/djl/modality/cv/translator/YoloTranslator.java
27.77% <0.00%> (+18.95%)
:arrow_up:

...ain/java/ai/djl/modality/cv/util/NDImageUtils.java
67.10% <0.00%> (+7.89%)
:arrow_up:

api/src/main/java/ai/djl/modality/nlp/Decoder.java
63.63% <ø> (ø)

... and 227 more

... and 368 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Issue With Transaction Model Image

There is an issue in rendering the transaction model Image when the dark mode is selected as sites theme.

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

ID: a8132995-4d33-d547-f743-37cd3b3f15c4
Version Independent ID: 19465bc3-648d-6576-ea62-5b23b50531d5
Content: Best practices for writing to files - Windows UWP applications
Content Source: windows-apps-src/files/best-practices-for-writing-to-files.md
Product: uwp
Technology: data-and-files
GitHub Login: @lastnameholiu
Microsoft Alias: alholiu

Thanks for reaching out with your feedback. I'll work on updating the documentation with this info, but in the meantime you'll find quicker support by consulting our developer support resources. For community assistance with development questions I recommend that you ask on our forums or StackOverflow. Otherwise, please see the developer support page for your support options. If you get assistance through these other resources and believe that information would help us improve the docs, please come back and let us know.


Access to add UAA scope to org/space user

Hi,
Is there an option to add a specific uaa authority role. I was looking to add healthwatch.read scope to every space user, included to the config through ldap group.

@arungskumar Would we want to implement this feature where any user that is managed by cf-mgmt gets this scope or only users with certain roles (space-developer for instance).
@aegershman interested in your thoughts as well on how your team manages user scopes

@calebwashburn, we need this role to be added to every user, managed by cf-mgmt.

@calebwashburn this is also a pain for us, but to be entirely honest I think this would be mitigated if healthwatch (@arungskumar we're also pivotal customers) provided a configuration option to not require the healthwatch.read scope && allow healthwatch to be visible to all platform users. Regardless,
We handle setting scopes on users & creating uaa clients by having a boring bash script sitting in a github repo that has a list of users to add the scope. We thought about using the pipeline-utilities uaa-configuration tool (thanks for that, too), but for the moment we just use the uaa cli and a bash script. Not an amazing solution, but it also let's us do stuff like know which scopes we've manually added to uaa users, so that when we go to remove them, we know which ones can be removed without affecting different systems. Again, not great, but it is what it is.
If we were going to add the scope to every user in the foundation, we might just do it via uaa commands to query for all active users backed by a certain IdP (our SAML provider) and then we'd just add the scope to all of them. It'd just be boring hacky bash ran on a cron. But in lieu of a standardized configuration-as-code system for uaa, it's the easiest and fastest way to do it.
I feel there's definitely room for something like a full-fledged uaa-mgmt that could be used to manage system-wide uaa clients, scope management, etc... Or maybe we should investigate in the pipeline-utilities/uaa-configuration tool again. Not sure how much of it would fit within cf-mgmt considering the easy ability for scope (hah) creep into things like management of clients, uaa config itself, having to deal with things like removing scopes, etc.
Sorry hope that was helpful at all

Hi all and thank you for your comments. Thank you Aaron for your detailed perspective on this. I see this has been open for almost a year now. Within the next month I'd like to action on this in some way.

Won't implement


Fix rubocop_todo link injection when YAML doc start sigil exists

The rubocop --auto-gen-config script will insert inherit_from: .rubocop_todo.yml at the top of the rubocop config file if it doesn't already exist. However, if the config file has a YAML document start sigil (---), this will elide the remainder of the config file when running rubocop. This PR resolves the issue by injecting the inherit_from entry after the first such sigil, if one exists.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Can anyone help me understand how to make cc-upload-coverage work? Looks like it has something to do with CC_TEST_REPORTER_ID being committed but not supported on forks.

Can anyone help me understand how to make cc-upload-coverage work? Looks like it has something to do with CC_TEST_REPORTER_ID being committed but not supported on forks.

Can anyone help me understand how to make cc-upload-coverage work? Looks like it has something to do with CC_TEST_REPORTER_ID being committed but not supported on forks.

I've seen this intermittently on other PRs but it often is not persistent. It won't block merging this PR.

Can anyone help me understand how to make cc-upload-coverage work? Looks like it has something to do with CC_TEST_REPORTER_ID being committed but not supported on forks.

I've seen this intermittently on other PRs but it often is not persistent. It won't block merging this PR.

Thank you!

Thank you!


Need help in creating docker image

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I made some changes in original source code, how do I build a new docker image out off that
🐻 Uptime-Kuma Version
1.15.1
💻 Operating System and Arch
Ubuntu 20
🌐 Browser
Chrome
🐋 Docker Version
20.10.14
🟩 NodeJS Version
14.18.3

npm run build-docker

I am getting these error can you tell me what is going wrong

I think you need Node.js 16+, because replaceAll() function is new in Node.js 16.
And since the current build commands are using buildx and hardcoded tag names, I think you probably don't need this. I would recommend that you should write you own command to build the docker/dockerfile.

Thanks for the help :D


Image caption not centrally aligned, image is squished when resizing

Currently out of the box, image captions are not aligned with the image. This was mentioned in #203 , but I'm not sure if this was fixed or was left. Also, when resizing the page, images loses its aspect ratio, as seen in the 2nd screenshot

The featured image works properly, only those images that are added using the image block are having the issues above.

hey @demiglace0505 any interest in putting together a PR?

Hi, sorry I haven't found a fix yet so I can't make a pr for now


build: upgrade golang.org/x/text to v0.3.3

This addresses a CVE with UTF-16 parsing.
See: https://groups.google.com/forum/#!msg/golang-dev/4cta7aofK0o/sWr4V4H7AQAJ

Codecov Report

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


Migrate CKB docs

I was thinking we could use some reorganization, for example:

merkle tree, blake2b, transaction hash can all just be entries in the glossary
ckb-core-dev and ckb-debugging, ckb-on-windows can all just be combined into a build guide
get-ckb, integrety-check and run-ckb-with-docker can be integrated into existing running guides
Memo and many of the rest articles can just be combined into an FAQ

@zengbing15 Will you be available to run through the documents here and do some reorganization?

I was thinking we could use some reorganization, for example:

merkle tree, blake2b, transaction hash can all just be entries in the glossary
ckb-core-dev and ckb-debugging, ckb-on-windows can all just be combined into a build guide
get-ckb, integrety-check and run-ckb-with-docker can be integrated into existing running guides
Memo and many of the rest articles can just be combined into an FAQ

@zengbing15 Will you be available to run through the documents here and do some reorganization?

ok, got it.

get-ckb.md also contains build guides for *nix systems

I find thatError codes and How to sign transactionHow to sign transaction are missing in the PR, I think these two documents should be migrated too? @doitian

I don’t have a computer with windows system, so I can’t test “Build ckb on windows” now, I will add the tutorial first.

Error codes and How to sign transaction are missing in the PR, I think these two documents should be migrated too? @doitian

These two articles are not in ckb wiki so I don't move them in.

Error codes and How to sign transaction are missing in the PR, I think these two documents should be migrated too? @doitian

These two articles are not in ckb wiki so I don't move them in.

got it.

CKB docs have been migrated, please review. I'm not sure how to solve the conflicting files. @xxuejie


Fix lstm dropout

I fixed dropout policy on NStepLSTM. It is compatible with cuDNN's one. To check it I made a test to count dropout applied.

LGTM

Thank you for your checking @soskek


Bug: Upsert with @@unique should never fail

Bug description
Hi !
I have this error
Unique constraint failed on the fields: (`challengeId`,`userId`)
When using a unique contraint in the where of upsert
By logic, this error should never happen as it's an upsert, it should trigger the update condition, and never add a new row.
Am i missing something ?
How to reproduce
Copy/Past the prisma information in a new project
Expected behavior
No response
Prisma information
model Participation {
  id                String @id @default(cuid())
  challengeId       String
  userId            String
  challenge         Challenge @relation(fields: [challengeId], references: [id])
  user              User @relation(fields: [userId], references: [id])
  createdAt         DateTime @default(now())
  // other stuff
  @@unique([challengeId, userId])
}

prisma.participation.upsert({
  where: {
    challengeId_userId: {
      challengeId: challengeId,
      userId: userId,
    },
  },
  update: {
    // do stuff
  },
  create: {
    user: {
      connect: {
        id: userId,
      },
    },
    challenge: {
      connect: {
        id: challengeId,
      },
    },
    // do stuff
  },
});

Environment & setup

OS: macOS
Database: PostgreSQL
Node.js version: 19.9

Prisma Version
4.10.0

I also tried with 4.5.0-dev.38 following this thread

Well nevermind, it was an asynchronous problem.
I was doing many request in parallel.


Request: Mira's Beretta M9

Would it be possible for Mira's Beretta 9=M9 to be supported by this mod?

It'll make its way into the next release.

Added in the latest release.


Mutability widening for literal types

This PR changes the way in which string literal types work today. It seeks to address some of the major issues brought up in #6167. The basic gist is that all string literals start off with string literal types and are appropriately widened to string at appropriate binding locations. This widening to string occurs when the binding itself is mutable.
A alternative (and competing) approach exists on #6196, where we infer string literal types only at select locations.
Here's a small sample of the current behavior:
const HelloKind = "Hello";   // type: "Hello"
let GoodbyeKind = "Goodbye"; // type: string

const Kind_A = HelloKind; // type: "Hello"
let Kind_B = HelloKind;   // type: string

// type: { name: string; }
const Foo = {
   name: "Foo",
};

interface Bar {
    barProp: "Bar";
}
const myBar: Bar;

// type: "Bar"
const { barProp } = myBar;

// type: string
const { baz } = {
    baz: "bar"
};

However, when working with a union type of string literals, we won't automatically widen to string even for a mutable binding:
declare function f(): "Foo" | "Bar";

// type: "Foo" | "Bar"
let a = f();

Fundamental changes to string literals and string literal types are:

String literal types come in two flavors: fresh and stale (neither is "better" - think day old pizza).
Two string literal types with the same content are always equal, regardless of freshess.
A string literal always starts off with a fresh string literal type, regardless of contextual typing.

Changes to the widening process are as follows:

Variable-like declarations with no type annotations now go through an intermediate mutability-aware widening process.
The standard widening process now widens all fresh literal types to string.

Mutability-aware widening is fairly simple:

For mutable bindings (like var and let declarations), a singleton literal type is widened to string, regardless of freshness.
For immutable bindings (like const declarations):

A string literal type is stripped of freshness.
A union's type's string literal type constituents are stripped of freshness.

Changes to best-common-type selection are as follows:

If all constituents are string-like, then the resulting type is string.

This looks kind of untenable to review. I'm gonna rebase this.

I've rebased so there are batches of commits. Here's the order

Changes to the type checker.
Baseline acceptances for symbols, types, and then error & output files.
Addition of new tests.
Baseline acceptance of for tests.
Correction of fourslash tests.

What flavor of string literal type does a string type literal introduce?
Does a readonly property strip a string literal of its freshness?

What flavor of string literal type does a string type literal introduce?

Fresh. Thanks for the question, I've amended the issue.

Does a readonly property initialization strip a string literal of its freshness?

I think that will be the case, but I will need to discuss it with @ahejlsberg.

This was nice to experiment with. :smiley:


Notes disappear from DB after adding value in column.

Describe the bug
I defined a new colum "Company". When I add a value to an item, it is written to frontmatter. However, when I return to the DB later, the line item is not showing up anymore.
To Reproduce
Steps to reproduce the behavior:

Go to an existing database.
Add a column with type "text".
For an existing line-item, define the text value of the new column as [[SomeLink]]
Open the relevant note. The value is written in the frontmatter, as expected.
return to previous note (the DBFolder). The note we added the value to above is no longer listed.

Expected behavior
The note should continue to show up with the new value in the column.
Desktop (please complete the following information):

OS: Win 10
Version v0.14.6

@jaltgen  thanks for your report.
Could you attach your db file? will be tested following your steps to reproduce it

Closing this issue due to inactivity


d4rk's inspector breaks components inserted below it when an exception is thrown during render

Add a d4rk optimizer component, then add any component to the same object afterward, and the inspector will be broken until refocused.

Doesn't happen for me. Layouting issues can often be caused by another tool and are really hard to debug. I blame something else overwriting one of the built in gui styles unless there is more info that directly points to what I might be doing wrong here.

Update: This happened because of #102 . Seems that if an exception is thrown during the rendering of the editor, that's what causes the inspector to blow up. Not sure if there's a good way to resolve this issue (aside from wrapping.... basically everything individually in a try catch), but it is a good reason for d4rk to be using UIElements (which has been available since at least 2017) rather than UGUI. It would probably require a pretty big rewrite of the editor though.

Thanks for the info. That actually makes a lot of sense.
I'll close this as won't fix though as its really just making crashes worse. But crashes shouldn't happen to begin with.
I also have no plans to rewrite the editor to using UIElements.


PRODTASKS-419: Limit which files are checksummed

Tests are currently failing due to the test files being excluded by default.

Running the BuildFinderTest inside intellij gets a different error to the ci tests ( a nullptr )

I also suspect the configuration file in my $HOME is interfering with the tests - maybe they should all start with their own config file?

I also suspect the configuration file in my $HOME is interfering with the tests - maybe they should all start with their own config file?

Technically, passing new BuildConfig() as an argument should imply the use of the default settings. However, since it executes main() in the test and this loads the local configuration, it's really the fault of that. We could either place a config.json in test resources, or add an option to ignore the local configuration (which might be useful in other circumstances), or do it some other way.
The tests also run into the issue that their own test archives get excluded as they don't contain any valid extensions after this change and therefore return 0 checksums. This is whats' causing the remaining failures.

I also suspect the configuration file in my $HOME is interfering with the tests - maybe they should all start with their own config file?

In #105, I just made sure to explicitly specify the checksum type so that the configuration on disk will not interfere. But, I agree we should fix this in the future.


feat: add hyperstructures UI

This PR adds:

Possibility to create hyperstructure from the world map
Possibility to see existing hyperstructures
Possibility to contribute to hyperstructures

Hyperstructure part construction doesn't show after a contribution has been made
Mines not showing on world map
Need to flatten the hexception view once a mine/hyperstructure has been built


Quick fixes to get the solution running

KnowEvents needs to be public
Update the references in OrderHandler.js

@mlouage sweet, thank a lot!!
I know I should update it to the latest EventStore API version one day. You might have triggered that ;-)


Tokenize NotificationView

Tokenize NotificationView and update the design tokens to match the new design
Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
Use sgen to generate design tokens for NotificationView to use and update the design tokens to match the new design.

Before
After

Pull request checklist
This PR has considered:

[x] Light and Dark appearances
[x] VoiceOver and Keyboard Accessibility
[x] Internationalization and Right to Left layouts
[x] Different resolutions (1x, 2x, 3x)
[x] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)

Microsoft Reviewers: Open in CodeFlow

Note: The brand colors are changing currently (always stays blue), hoping someone can take a look at the PR to see if I'm missing anything to make that work.

are the screenshots of this PR updated? the colors still seems to be not matching the Vnext spec?

are the screenshots of this PR updated? the colors still seems to be not matching the Vnext spec?

@harrieshin The colors are mismatched because of the difference in brand color definition between vCurrent and vNext. I believe all of the colors in the asset catalog will be updated to the vNext colors in a separate change.


Microk8s running but pods stuck in Unknown / ContainerCreating

Summary
We have a single node microk8s cluster which uses OLM. We accidentally put in a cron job which refreshed server.crt and front-proxy-client.crt every hour which has put the cluster in an unresponsive state and pods were restarting frequently. Kubelite CPU usage is also pretty high.
We stopped the job and restarted microk8s in the hope of recovery but a lot of pods are now stuck in Unknown / ContainerCreating state.
microk8s kubectl commands take a long time to run as well.
What Should Happen Instead?
Pods should be ready
Reproduction Steps

Install our OLM based application on a fresh instance
Refresh server.crt and front-proxy-client.crt every hour
Pods go in a restart loop and kubelite CPU usage spikes

Introspection Report
inspection-report-20221216_190832.tar.gz

Looking at the logs, I see the following quite a few times:
Dec 16 19:02:27 capig.localdomain microk8s.daemon-kubelite[2254036]: E1216 19:02:27.960697 2254036 leaderelection.go:361] Failed to update lock: Put "https://<IP_ADDRESS>:16443/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=15s": context deadline exceeded
Dec 16 19:02:27 capig.localdomain microk8s.daemon-kubelite[2254036]: I1216 19:02:27.960912 2254036 leaderelection.go:278] failed to renew lease kube-system/kube-controller-manager: timed out waiting for the condition

This is coming after a few trace logs showing that datastore requests are taking a very long time. Essentially, it looks like the datastore is not in a good state, which translates to API server requests taking a long time and the controller manager losing the leader election lock.
Further, I see that this is MicroK8s version 1.21. Keep in mind that due to the way containerd is configured in MicroK8s versions < 1.22, every time MicroK8s restarts, so do all the containers running on that node (similar to what you would see when you do a systemctl restart docker). Further, Kubernetes 1.21 is now considered EOL.
Effectively, this puts a huge pressure on the node causing it to stay in this limbo state of failing to come up, crashing on its own weight and starting over.
One way to move forward would be to consider using a newer Kubernetes version. Even starting with 1.22 will be very useful, since kubelite restarts would not kill the container workloads.

We can consider upgrading the version once we can stabilize the current setup. Can you suggest something to alleviate the load on the datastore and get the cluster running?
Also, is there a way to upgrade a running cluster without data loss?

We can consider upgrading the version once we can stabilize the current setup. Can you suggest something to alleviate the load on the datastore and get the cluster running?

This would heavily depend on the workload itself, so not sure how much I could help you with this. One thing that be useful would be to start each service one by one and wait for each one to properly come up prior to continuing:
sudo snap stop microk8s
sudo snap start microk8s.daemon-k8s-dqlite   # and check `journactl -f` until the datastore comes up
sudo snap start microk8s           # start the rest of the services and wait until the stabilize

Can you also share the output of ls -la /var/snap/microk8s/current/var/kubernetes/backend? also cc @MathieuBordere, if you can provide any insight into this

As for the upgrade: from the inspection report I see it's a single node installation, to upgrade to 1.22 it would suffice to do:
sudo snap refresh microk8s --channel 1.22

This will upgrade your MicroK8s to 1.22, and preserve all the data in the process. See also the Upgrading documentation page for more details.
If you observe failures after the upgrade, you can always revert with sudo snap revert microk8s.

I get this error when I try to start dqlite ->
root@capig:~# sudo snap start microk8s.daemon-k8s-dqlite
error: snap "microk8s" has no service "daemon-k8s-dqlite"
Am I missing something?

In 1.21 the datastore is running along with the rest of the Kubernetes services. This was moved to a separate service in 1.22, so the above would only be possible in 1.22+. The change was made due to situations like yours, where the kubernetes services compete to start along with the datastore, and eventually fail to start at all. I would imagine the size of the datastore is directly related here, @MathieuBordere can you confirm?

@neoaggelos I don't see anything suspicious wrt dqlite on first inspection. Datastore size also looks manageable.

Upgraded to 1.22 but still not seeing a recovery.
Also, still see the same error - error: snap "microk8s" has no service "daemon-k8s-dqlite".

A small correction, dqlite was split out of kubelite in the 1.23 release so sudo snap start microk8s.daemon-k8s-dqlite would require a 1.23+ installation. However, you would better do a full stop/start of all the MicroK8s services with a microk8s stop and microk8s start instead of trying to get each service running one by one.

I'm not trying to start and stop services individually. I did a full restart but it didn't help either.


Migrate to GitHub CI

Fix https://github.com/snowdrop/rest-http-example/issues/125

Will be done in https://github.com/snowdrop/rest-http-example/pull/127. Closing.


max-item-size limit in usage

The max limit of max-item-size has been changed to 1G, but the usage shows that it's 128m, I think it's necessary to update the usage synchronously.
-I, --max-item-size=<num> adjusts max item size                           (default: 1mb, min: 1k, max: 128m)

thanks!


[Feature]: SfBottomNavigation add logic to basket item

How the project can be improved?
Add logic to change the basket item label in BottomNavigation, when you are on Home it should be basket but when on product page addToCart.

What are the acceptance criteria?

[ ]

Additional information
No response
Code of Conduct

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

@AdamPawlinski Why are we thinking of changing the label to Add to Cart on product page?

This can be easily added on the frontend so no need to implement in the integration repo :)


fix: update ErrorBoundary message to be more user-friendly

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This PR changes the visual appearance of the ErrorBoundrary, with the goal of being friendlier and more descriptive to the End-User.

What is the current behavior? (You can also link to an open issue here)
Before:

What is the new behavior (if this is a feature change)?
After:

Codecov Report
Base: 67.92% // Head: 73.24% // Increases project coverage by +5.32% :tada:

Coverage data is based on head (bda6999) compared to base (0db6d0c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff              @@
##           release47     #789      +/-   ##
=============================================
+ Coverage      67.92%   73.24%   +5.32%
=============================================
  Files            279       98     -181
  Lines          34883    24955    -9928
  Branches        4644     2631    -2013
=============================================
- Hits           23694    18279    -5415
+ Misses         10739     6640    -4099
+ Partials         450       36     -414

Impacted Files
Coverage Δ

meteor/lib/collections/ExternalMessageQueue.ts

meteor/server/migration/1_36_0.ts

meteor/server/migration/1_44_0.ts

meteor/lib/api/pubsub.ts

meteor/client/utils/dimensions.ts

meteor/lib/check.ts

meteor/server/api/integration/mediaWorkFlows.ts

meteor/lib/api/playout.ts

meteor/server/lib.ts

meteor/lib/collections/MediaWorkFlows.ts

... and 176 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


zindex added

@jayhawk24
Description:
Added z-index to product image on hover
Please add hacktoberfest-accepted label so that I can keep track of my contributions this month
Issue: #9
Note: The lot of changes are due to prettier software, to make the JS files format to world standards

Can you add prettier config so that it doesn't show so many changes.


Google shows me results on foreign language

I type a request on English in Google.
One of the fists results leads to https://docs.microsoft.com, but on Russian
I can't see any other similar results on English below, the only option I have to follow that link, then manually change a language at the bottom of the page. And I should do it every time.
It's really annoying, b/c I'm not in Russia, I don't know that language well and I don't want to read that document on that language and switch to English every time

@kostelnyy I can't repro your issue. The follow picture is my result.

Do you still have this issue?

Maybe related to #617

@presleyy See if you have any suggestion?

I set my google search language to Ukrainian but not able to reproduce the problem.

@kostelnyy would you please share what does your google language preference setting look like?

I understand that this issue is a bit different, but anyway this is generally related. I also prefer reading the docs in english, and even though the new "Read in english" option is great, sometimes I still get only portuguese results when searching:

Google settings:

I don't know if there's anything MS can do here, but if so, then it would be great to fix this. Translated docs are really, really bad. I know they're not inherently useless, but to anyone who can read even a little bit of english, then they not only are useless, but also annoying, because sometimes you have some weird translations that really make it hard to find what you want.

Also have the same issue.
Can't understand why each time when I visit web site I should change language to English in the footer of the page.
When I changed it one time to English I expect each time I will see content with this language.

I also have this problem. (Undesired Turkish Google results in my case)
A suggestion:

Supposing that I'm already signed in, the language choice on docs.microsoft.com should be persisted on the server-side if it's already not.
If I have chosen English as my language of choice previously, then please automatically redirect me to the page in English.

I've found a workaround thanks to this great add-on by @einaregilsson.
Basically it allows you to define regular expression rules to make browser redirect you to somewhere else. For docs.microsoft.com I've created the following rule:
Use this pattern:
https:\/\/docs\.microsoft\.com\/(?!en-us)..-..\/(.*)

And make it redirect you to the following URL:
https://docs.microsoft.com/en-us/$1


⚠ Minecraft has degraded performance

In 4f3d679, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1315 ms

Resolved: Minecraft performance has improved in de8d7c9.


Terminal screen crashes after I run ng serve on split screen

Issue Type: Bug
I open VS and split the screen between VS (right side) and another program.
then proceed to open terminal and run ng serve, it runs good until I proceed to open and close the side menu on the left (The one that shows folders and files)... when it closes, the terminal screen goes blank.
It's still running since I can still notice changes when I save my code, but I can't tell whats going on in the terminal window.
If I kill terminal while this is happening, an error message shows us, telling me to restart VS.
Quick fix 1: I noticed that if I run ng serve on VS while is full screen, thus bug won't happen even if I split the screen as I explained first.
Quick fix 2: If it crashes, I can maximize VS and then proceed to kill terminal, and follow quick fix 1.
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
AMD Ryzen 5 2400G with Radeon Vega Graphics     (8 x 3593)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.95GB (2.59GB free)

Process Argv
C:\Users\user\Desktop\Udemy\Unidad 2\01-hola-mundo

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

ng-template
Ang
0.1.11

jshint
dba
0.10.20

vscode-html-css
ecm
0.2.0

prettier-vscode
esb
1.8.1

beautify
Hoo
1.4.8

vscode-angular2-emmet
jak
2.0.3

Angular-BeastCode
Mik
7.2.2

angular2-inline
nat
0.0.17

material-icon-theme
PKi
3.6.3

tsimporter
pmn
1.2.14

typescript-hero
rbb
3.0.0

java
red
0.38.0

bootstrap4-vscode
the
6.0.3

vscode-java-debug
vsc
0.16.0

vscode-java-dependency
vsc
0.3.0

vscode-java-pack
vsc
0.5.0

vscode-java-test
vsc
0.14.0

vscode-maven
vsc
0.14.2

JavaScriptSnippets
xab
1.7.2

/duplicate https://github.com/Microsoft/vscode/issues/68721


Remove Alethio links and vars

Alethio links are not working as they were previously for deposit transactions. Removing them as Etherescan is sufficient for Eth 1.

@Battenfield @georgeweiler @CarlBeek it seems fine to merge it?


Multiple signals fired for single event

In https://github.com/MTU-CS5441/drawio/blob/TestingPeer/src/main/webapp/js/mxgraph/Dialogs.js we have had to work around the "END_EDIT" event firing twice for a single edit.

What are the steps to reproduce this problem?

Over in https://github.com/MTU-CS5441/drawio/tree/TestingPeer, our listener for the event just always gets called twice.  We found work arounds to ignore them.

Guys, why do you keep closing out each of these tickets?  There are clear problems in your code.

No reproduction case provided.

Just run it.  Look at some of the changes.  There are no unit tests, so this is how debugging works,

"Run my repo" isn't a reproduction case. https://stackoverflow.com/help/mcve is a typical process for providing reproduction cases. We're busy people, if you make no effort, nor will we.

Every time I have attempted to engage, I get dismissed or belittled.

That said, if you are talking about loading a file, we first reset the graph (one END_EDIT) then set the root (second END_EDIT), so that's not a bug.


feat: added check for useLayoutEffect to disable it on ssr

I've got a warning when trying to render this component in SSR mode.
This PR will  provide opportunity use useEffect on the server side

Thanks for the PR. Sorry it took me a while to notice it. I had the notification settings messed up.


An event is past as soon as it's done, not the next day

This changes the behaviour of isEventPast slightly, to avoid confusion on the same day as an event but after the event has finished.
This function is used on event schedule items to determine whether to show booking information below a scheduled event, e.g. "Just turn up" or a link to Eventbrite tickets.  But it wouldn't mark an event as past until the end of that day, meaning an event could still be showing "Just turn up" even after it's over!
e.g. an event finishes at 2pm, and somebody looks at the site at 3pm. Because isEventPast looks to see if the day of the event has passed, it says "false" and the page shows "Just turn up".  This is misleading! There's nothing to turn up to!
Now it marks events as past as soon as the event ends, avoiding the possibility of confusion.
(It also lets us ditch another use of UTC date comparisons!)
Here's an example of how this could go wrong, for the Lights Up on Milk event. At 4pm on the day of the event, even after the Lights Up session and AD tour are finished, we still tell people to turn up/offer ticket booking.

Switching to draft – I'll write some test cases for isEventPast.

Part of https://github.com/wellcomecollection/wellcomecollection.org/issues/9874


[stable/ndm]: update charts to 1.8.0

update daemonset template
update Chart version
update values.yaml
update README

Signed-off-by: Akhil Mohan<EMAIL_ADDRESS>

@Ab-hishek This PR will be merged after the release is made so that images are available.


Bump SIG image version to 2021.08.21

Bump Linux versions for new VHD Release.

lgtm
please cherry-pick to official for the RP vendor :)

Thanks @alexeldeib. I'll merge it and cherry-pick (and subsequently tag and go through the vendor steps again) after the Linux VHD build test passes.


[Refactoring] Based on rk-entry/v2

Codecov Report

Merging #16 (706b945) into master (41eae38) will decrease coverage by 0.37%.
The diff coverage is 90.76%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage   93.16%   92.79%   -0.38%
==========================================
  Files          18       18
  Lines         849      791      -58
==========================================
- Hits          791      734      -57
+ Misses         44       42       -2
- Partials       14       15       +1

Impacted Files
Coverage Δ

middleware/context/context.go
100.00% <ø> (ø)

middleware/panic/middleware.go
100.00% <ø> (ø)

middleware/timeout/buffer_pool.go
100.00% <ø> (ø)

middleware/timeout/writer.go
78.57% <ø> (ø)

middleware/gzip/options.go
84.40% <30.00%> (ø)

middleware/gzip/middleware.go
81.57% <50.00%> (ø)

boot/echo_entry.go
91.98% <94.90%> (-0.31%)
:arrow_down:

middleware/auth/middleware.go
100.00% <100.00%> (ø)

middleware/cors/middleware.go
100.00% <100.00%> (ø)

middleware/csrf/middleware.go
100.00% <100.00%> (ø)

... and 9 more

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 41eae38...706b945. Read the comment docs.


【ESP32-C3/ADV_DIRECT_IND】BT_BTM: state requested not supported: 5 error generation when using the ADV_TYPE_DIRECT_IND_LOW advertising type (IDFGH-6380)

Hi Espressif Experts,
Recently, I ran into one issue when using the ADV_TYPE_DIRECT_IND_LOW advertising type, the error info is as below:
E (502) BT_BTM: state requested not supported: 5 and error code is 13
as we all know, the ADV_TYPE_DIRECT_IND PDU has only the advertiser's address and target's address, so I don't need to configure the adv_data and set the adv parameters only as below and then called the esp_ble_gap_start_advertising(&gs_m_ble_adv_params):
static esp_ble_adv_params_t gs_m_ble_adv_params = {
    .adv_int_min = ADV_INTERVAL,         //100ms
    .adv_int_max = ADV_INTERVAL,        //100ms
    .adv_type = ADV_TYPE_DIRECT_IND_LOW,
    .own_addr_type = BLE_ADDR_TYPE_PUBLIC,
    .peer_addr_type = BLE_ADDR_TYPE_PUBLIC,
    .peer_addr = {0xE4,0x05,0xF8,0x0D,0xB3,0x9C},
    .channel_map = ADV_CHNL_ALL,
    .adv_filter_policy = ADV_FILTER_ALLOW_SCAN_ANY_CON_ANY,
};

however, the event call function shows me the error is 13, as below:
  case ESP_GAP_BLE_ADV_START_COMPLETE_EVT:
    if ((err = param->adv_start_cmpl.status) != ESP_BT_STATUS_SUCCESS)
    {
      ESP_LOGE(DEMO_TAG, "Adv start failed: %s %d", esp_err_to_name(err),err);
    }
    break;

also, I found a similar issue #2469 here, as @Weijian-Espressif said, it works fine with the latest master branch, but it still cannot work on my side even if using the latest master branch. for this issue, could you give me a hand?
there is also a bug for ADV_TYPE_DIRECT_IND_HIGH advertising type, it is always advertising when using the  ADV_TYPE_DIRECT_IND_HIGH advertising type, but based on the spec described, as below:

In high duty cycle connectable directed advertising mode, the time between the start of two consecutive ADV_DIRECT_IND PDUs sent on the same advertising channel index shall be less than or equal to 3.75 ms. The Link Layer shall exit the Advertising state no later than 1.28 s after the Advertising state was entered

so my questions are as below:

could you help me double-check, if it is possible to implement the ADV_TYPE_DIRECT_IND_LOW advertising at this moment?
regarding the ADV_TYPE_DIRECT_IND_HIGH advertising type, could you double-check also. it shall exit the Advertising state no later than 1.28 s, but the actual situation, it is always running when using ADV_TYPE_DIRECT_IND_HIGH advertising type at this moment.

thanks in advance. I am waiting for your news.

Hello,
any updates about it?

@xiaolongba
The problem has reappeared, we will fix in as soon as possible, and give you a reply.

@xiewenxiang
big thanks bro. what you mean is these two issues I mentioned above, or one of them? I reported two bugs about ADV_DIRECT_IND here.

@xiaolongba
The fix I mentioned is for problem 1:
could you help me double-check, if it is possible to implement the ADV_TYPE_DIRECT_IND_LOW advertising at this moment?

Problem 2 is that every 1.28 s, the host starts broadcasting again, you can add debug log in  btm_ble_gap.c  => void BTM_recovery_Pre_State(void).

@xiewenxiang
clear for item1.

Problem 2 is that every 1.28 s, the host starts broadcasting again, you can add debug log in btm_ble_gap.c => void BTM_recovery_Pre_State(void).

got it. if it is possible to disable it?

@xiaolongba
Question 2, we need to discuss whether we need to remove the logic of automatically starting the high duty cycle connectable directed adv.
We'll get back to you as soon as possible.

@xiewenxiang
Perfect, I will wait for your good news. In my past experience, other competitors have not this behavior, and it will be stopped after 1.28s
For your information, of course u can check with other platforms

@xiewenxiang
Hello, Bro. any updates about it?
thanks.

@xiaolongba
https://github.com/espressif/esp-idf/tree/0030fba89c81436f4f88a2bfe3efc903985da06f

@xiewenxiang
Hello, Bro.
Big thanks. let me update the SDK and try again. you are a good man, pls close this ticket and Happy New Year!


feat(AngularFire): single injectable service for all APIs

In order to simplify getting a hold of AngularFire APIs via DI, a single service could contain all AngularFire APIs (authentication, getting a list, getting a root reference, etc).
With the current API surface, the service could look like:
interface AngularFire {
  auth: AuthObservable; // Pending merge of #33
  list: FirebaseListFactory;
  object: FirebaseObjectFactory; // Not yet implemented
  ref: RefFactory; // Not yet implemented
}

@Component(...)
class QuestionsList {
  this.orderProp: string = 'askedTime';
  this.pageSize: Observable<number>;
  constructor(private af:AngularFire) {
    this.questions = af.list('/questions', {
      query: {
         orderBy: this.orderProp
         limitToFirst: this.pageSize
      }]
    })
  }
}

@Component({
  template: `

Welcome, {{(af.auth | async).github.userName}}

  `
})
class Login {
  constructor(private af:AngularFire) {
  }
}

BTW the biggest sore spot with the current API is the required usage of @Inject to get dependencies. That, and the current Provider-based design of FirebaseList requires two steps: declaring the provider in a Component's providers list as providers: [FirebaseList('/path')], and then injecting the configured provider via constructor(@Inject('/path').

I like the idea of creating a top level API. This will improve the discoverability using TypeScript's code completion.
As authentication goes, I'm most concerned with making sure you can inject the currently authenticated user into the component.
@Component({
  template: `

Welcome, {{ user.github.username }}

  `
})
class Login {
  constructor(private af:AngularFire, private user: FirebaseUser) {
  }
}

With the user injected you can depend on it's existence. That means no if checks, and simplifying your component.
However, that work will likely come with the router integration. Otherwise I'm done with this interface.

An additional design goal: have a pipe equivalent of each API, without having to inject the service into the component. I.e.

What is a FirebaseListFactory? An Observable?

@blesh it returns an observable

An observable of an array for the given path.

FirstbaseListObservableFactory then? Because FirebaseListFactory just makes me think it's giving me an Array or some sort of collection.

How to get FirebaseUser?

As the current version does Angularfire 2 setup to be a singleton? That way only one instance is initiated? If not should it be?
Thanks.


Get costs and stats associated with new rna-seq pipeline

Blocked by: BD2KGenomics/cgcloud#83

I'm going to recompute the neuroblastoma set with this new pipeline on the spot market to get an average price using a cluster.  My initial evaluation with a single sample was ~$0.75.

Blocked by: BD2KGenomics/cgcloud#84


Will it support Elasticsearch and CDN?

Will it support Elasticsearch and CDN?

some day

elastic Search +1


Can't link servers with Pterodactyl Software Docker

When i setup the skungee config for the bungeecord and servers, it doesn't work.
When servers are included in the docker we have this error :

[14:34:10 INFO]: [Skungee] There was no socket found or was denied access at <IP_ADDRESS>:27015
[14:34:10 INFO]: [Skungee] Going into keep alive mode...

But when we exclude the server from the docker it works:

[Skungee] Connected to server server1 with port 27003

However, i can't let servers outside the docker. Is there a way to fix the problem please ?
Skungee seems to be very useful but I can't use it due to this problem.

I have the same problem with the pterodactyl panel. Is there finally a solution to make skungee work on the pterodactyl panel or not? It is very problematic. :/

Is there any way to talk with the creator of Skungee please ?

In the skript chat discord https://discord.gg/0lx4QhQvwelCZbEX

https://github.com/Skungee/Skungee/issues/227


Save and load RGB and Depth Images for further pyrealsense manipulation

Required Info

Camera Model
D455

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 20.04

Kernel Version (Linux Only)
5.15.0-56-generic

Platform
PC

SDK Version
2.50.0

Language
python

Segment
Robot

Issue Description
Greetings!
I am looking to save depth and rgb frames from my Intel RealSense D455 at my will given a certain command. After that I wish to retrieve that same information to further process it and get distances of pixels present in the frame in a separate script from the one that saves the frames.
From what I understand the functions from the python wrapper that allow to get distances of pixels and deproject pixels to 3d points receive as input the frame in a pyrealsense type (more specifically <class 'pyrealsense2.pyrealsense2.video_frame'>
<class 'pyrealsense2.pyrealsense2.depth_frame'> types for color/rbg and depth frames respectively). I have searched so far through past issues posted but have not found a way to save this type of variable.
Edit: After reading through issue https://github.com/IntelRealSense/librealsense/issues/5784, it seems that a method to transform a numpy array back to a pyrealsense2 video frame object is not yet developed. Is there any update regarding this functionality since then?
Edit nr.2: After reading through issue #8394, and although not fully understanding everything that was discussed, I believe that what I intend to achieve is not possible (i.e. convert a numpy array back to a pyrealsense class/object/bufData, in order to further process it with pyrealsense get_distance() and rs2_deproject_pixel_to_point() functions), based on that discussion. I would still appreciate any help in solving my issue!

Hi @marcoluis97  Instead of having a separate script for getting pixel distance, an alternative possibility may be to use Python multithreading so that the capture and processing is handled separately from the streaming.  An example of such a script can be found at the link below, where one thread had the camera live-stream and the other thread recorded captured data to video.
https://support.intelrealsense.com/hc/en-us/community/posts/360033158094-Recording-Video-in-60fps-with-threading-and-queue-Python-
Another way may be to use the RealSense SDK's Keep() instruction to store frames in the computer's memory.  Once the pipeline is closed then you can then perform batch-processing on the stored frames all at the same time, such as applying alignment and post-processing, and then save the frames to file.
Because Keep() stores frames in memory though, it can quickly consume the computer's available memory.  A low-end computing device may be able to store 10 seconds worth of frames, whilst a computer such as a PC with higher memory capacity may be able to store 30 seconds of frames.  It may be possible to extend this storage duration by releasing frames to free up memory.
In regard to converting a numpy array back to an SDK format such as rs2_frame, as far as I am aware this remains an unsolved problem unfortunately.

Hi @MartyG-RealSense! Thanks for the suggestions. I've already fixed my issue and require no futher assistance. Thank you!

That's excellent to hear, @marcoluis97 - thanks very much for the update!


Sync tables - Check if results exist before drop in rescue

If result.nil?, the code raises an exception that end ups in the rescue. The rescue was trying to drop the stale table, but result is nil, so you can't access to result.table_name.

:+1:


Is there any plan to support tc39/proposal-decorators/EXTENSIONS?

🔍 Search Terms
Is there any plan to support tc39/proposal-decorators/EXTENSIONS?
https://github.com/tc39/proposal-decorators/blob/master/EXTENSIONS.md#let-decorators
✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
https://github.com/tc39/proposal-decorators/blob/master/EXTENSIONS.md#let-decorators
📃 Motivating Example
https://github.com/tc39/proposal-decorators/blob/master/EXTENSIONS.md#let-decorators
💻 Use Cases
https://github.com/tc39/proposal-decorators/blob/master/EXTENSIONS.md#let-decorators

The extensions are not standardized, so no.

I really want this feature. If TypeScript cannot support it, what other options do I have? Do you have any suggestions? Thank you.

Typescript generally only supports things that have a TC39 proposal for them, and have then advanced to Stage 3.    In this case, decorators are stage 3, but that extensions document is just a collection of possible future ideas which were not submitted as part of the decorators proposal.

Extensions aren't stage 3; we don't add things to TS until that point

Extensions aren't stage 3; we don't add things to TS until that point

I really want this feature. If TypeScript cannot support it, what other options do I have? Do you have any suggestions? Thank you.
Does typescript support custom syntax plugins?

Does typescript support custom syntax plugins?

No.

I really want this feature. If TypeScript cannot support it, what other options do I have? Do you have any suggestions?

I'm not aware of any language that supports this feature, so your options are almost non-existent. You could fork TypeScript and add the feature yourself (and maintain the fork).

Does typescript support custom syntax plugins?

No.

I really want this feature. If TypeScript cannot support it, what other options do I have? Do you have any suggestions?

I'm not aware of any language that supports this feature, so your options are almost non-existent. You could fork TypeScript and add the feature yourself (and maintain the fork), but you're on your own in doing so.
Realistically, you just have to do without this feature, no matter how much you want it.

Thank you for your advice


Game crashes when certain options are enabled and with mystical world

I tried B:"Difficulty Lock Option"=true, with only easy listed and B:"Revenge Option"=true and when I launch the game I get a crash on the initialization phase 2, when mystical world is about to load:
https://pastebin.com/VFPbejK7
Not sure if is the same issue regarding the retaliation as other have pointed out, or it is an issue interacting with mystical world, but I got told to better report it anyway
Hope the issue gets spotted and fixed

https://github.com/whizzball1/ApatheticMobs/releases/tag/1.4.1-hotfix
This release fixes that problem! Can you tell me if it did?