ForexInternalFeedOnDataHigherResolutionRegressionAlgorithm Fails Intermittently

Expected Behavior

ForexInternalFeedOnDataHigherResolutionRegressionAlgorithm is consistent

Actual Behavior

ForexInternalFeedOnDataHigherResolutionRegressionAlgorithm fails intermittently

20210812 15:24:48.679 ERROR:: Extensions.SetRuntimeError(): Extensions.SetRuntimeError(): RuntimeError at 10/10/2013 12:00:00 AM UTC. Context: OnEndOfAlgorithm System.Exception: Data point count mismatch for symbol EURGBP: expected: 3, actual: 26
   at QuantConnect.Algorithm.CSharp.ForexInternalFeedOnDataHigherResolutionRegressionAlgorithm.OnEndOfAlgorithm() in /__w/Lean/Lean/Algorithm.CSharp/ForexInternalFeedOnDataHigherResolutionRegressionAlgorithm.cs:line 116
   at QuantConnect.Lean.Engine.AlgorithmManager.Run(AlgorithmNodePacket job, IAlgorithm algorithm, ISynchronizer synchronizer, ITransactionHandler transactions, IResultHandler results, IRealTimeHandler realtime, ILeanManager leanManager, IAlphaHandler alphas, CancellationToken token) in /__w/Lean/Lean/Engine/AlgorithmManager.cs:line 625

Potential Solution

Review underlying issue
Reproducing the Problem

N/A
System Information

N/A
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

This issue probably falls into one of these cases https://github.com/QuantConnect/Lean/issues/6253 https://github.com/QuantConnect/Lean/issues/6255


Added embedding youtube videos code snippet using JS

If you permit then I also add the html snippet for this Youtube embedder.
and after merge this I will update the README.md file

@Sowham-3098 please refrain from opening multiple pull requests for the same snippet please!

How I add three code in one pull request?
Please help me out.

Are you using the GitHub Desktop app?

No

If you are a beginner I recommend you use the Github Dekstop app and

Fork the repo
Clone the repo locally
Make your changes
Commit the changes
Push to origin
Open an pull request from the fork to the original repo (this repo)

If you face any issues please reach out to me!

Ok Thanks

How I add three code in one pull request?
Please help me out.
Please help me
How I get rid from this disqualification

Not sure what you are reffering to, I have already told you how to make the pull request with the GitHub application!


Running ocis without inbucket by default

during the testing release I catch one error:

I tried to start ocis-full without enabling inbucket and get some error:

2024-09-12 11:40:55 the 'smtp_sender' must be a valid single RFC 5322 address. parsing error: the address cannot be empty

because

are empty and we set it https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_full/inbucket.yml#L4-L10
when inbucket is enabled
I guess it happens after https://github.com/owncloud/ocis/commit/3cc29ce99bd5025cec2f9dfef2feb613b4136449

I tried to start ocis-full without enabling inbucket and get some error:

This is totally correct. You either have to fill in SMTP data or use inbucket with predefined settings.
The .env file states in ## Infinite Scale Settings ##:
# NOTE: when configuring Inbucket, these settings have no effect, see inbucket.yml for details.
It would be better to add a note on both the Infinite Scale and Inbucket settings that you either have to define SMTP settings in Infinite Scale or enable Inbucket.

I tried to start ocis-full without enabling inbucket and get some error:

This is totally correct. You either have to fill in SMTP data or use inbucket with predefined settings.

sorry, I don't agree with that. I think it would be nice to runocis_fullby default and have it work without having to investigate why it won't run.
case go to the ocis/deployments/examples/ocis_full and start docker compose up -d should work without failing
but if you want to plug in inbucket or something else -> you should go to .env and enable what you need

this is easy way to avoid fail when running ocis without enabled inbucket. if we use another mail server SMTP_SENDER can be redefined in .env file


indexed doc count should auto-update

instead of user needing to hit refresh

This was also commented upon during James Mauss usability feedback test.

A related suggestion was to have a Refresh button nearby the document count.

added a manual Refresh button for now - commit d6bd647


[operator] Add Gardener Scheduler options to Garden API

How to categorize this PR?

/area usability
/kind enhancement
What this PR does / why we need it:
As a follow up to PR #8262, this PR adds the configuration options for gardener-scheduler to Garden API.
A separate PR which creates the gardener-scheduler instance in operator will follow.
Which issue(s) this PR fixes:
Part of #7016
Special notes for your reviewer:
/cc @rfranzke @ScheererJ @timuthy
Release note:

NONE

Thanks @oliver-goetz 👍🏻
/lgtm
/approve


Use Map param to add Header

hello,when i want to request a url use okhttp,if i have heder params, i have to do like this:
new Request.Builder().addHeader(key,value)

but if i hava several params,i hava to call this method many times,do hava i method like addHeader(Map<String,String>)，if you know please tell me thank you

    Map<String, String> headerMap = new HashMap<>();
    Request r = new Request.Builder()
      .url("...")
      .headers(Headers.of(headerMap))
      .build();

Hope this helps.  Please use a forum like stackoverflow in future, we keep this for bug reports and try to build a knowledgebase in stackoverflow.

@Joebig7 plz ,note stackoverflow  URL


Update readme from exemple branch

Updates
Readme file was modified. Please accept the changes

I should not do it but okay.
Accepted. 👍


Jrms/docs site sphiinx

Public-Facing Changes

Description

I took a pass through it - left a few comments.
A few high-level questions are,

Should foxglove paid products like the data platform be mentioned in the mcap repo docs at all?
How aggressive should we be in eliminating duplication between these docs and the README files? Can we replace some of the content in this patch with links to the relevant README section, and if not how do we keep things in sync?
What kind of docs writing style are we going for? These docs use a handful of stylistic keywords - let's, you've, we'll, history, before/after - they are written in a narrative, hand-holding kind of way. Other docs we have in this repo are shooting for dry & descriptive. What style are we targeting, and does this vary between the mcap, studio, website, repositories? I think probably yes, but we are missing a consistent policy.

Closing in favour of #518.


Use tap

I really love tap.

Checklist

[x] run npm run test and npm run benchmark
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[x] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

can we add this package to the fastify-libraries team?

can we add this package to the fastify-libraries team?

I'll add it and the csrf package to the team tomorrow, not near a computer today and it's a pain on a phone


Riot android is smashing the battery #1 consumer!

Battery levels plunging at a rate of 1% every 2 min on my phone because of the riot android app.
I tried switching more channels to the low priority section, I only use about 8-9 channels.
In Settings > Battery > Consumption level riot-android wins  #1 place in terms of battery usage, with 13.98% , it's just smashing the battery, at this rate I would expect the battery to die after less than 60min.
Obviously, I would prefer the app to consume as little as possible so I can follow some channels and
conversations throughout the day (not new, has been discussed here before).
Maybe you could try using battery historian or other battery profiling methods can be used to find ways to reduce battery consumption.
Thanks!

dup #616


Timers not allowed on forms with MaterialSkin.2?

I'm unable to add a timer to any form including Windows forms after adding the NuGet package for MaterialSkin.2.
Is this expected behavior?
If not, is there a workaround?

This is an unexpected problem. Probably something is going wrong.


Fixed base tag injection outside of head tag that was forcing quirks …

…mode

Thank you for this. I will release a new version shortly.


(feature request) any state

I often find myself needing to have a state that can be reached by all other states with a single condition. Making transition arrows from each state creates a big mess and everything looks quite confusing. When using unity's state machine I have noticed they have a "any state" state. Implementing soemthing like this should make state machines cleaner.

Can you point me to the documentation of unity's "any state" state?

Thats the best I can find:
`Any State
Any State is a special state which is always present. It exists for the situation where you want to go to a specific state regardless of which state you are currently in. This is a shorthand way of adding the same outward transition to all states in your machine. Note that the special meaning of Any State implies that it cannot be the end point of a transition (ie, jumping to “any state” cannot be used as a way to pick a random state to enter next).`
https://docs.unity3d.com/Manual/class-State.html

Cool, I do have some experience with unity's state machine but I never knew the existence of "any state".
And I think the implementation should be as easy as adding a special state - named "Any State"(literally, just like "Entry" or "Exit")

Exactly! It is not a big feature but helps you keep the spaghetti away.

I'm not good with code by any means but this workaround seems to work for me for the time being, so figure someone else might find it handy.
func forceState(state:String):
	smp.set_param(state,true)
	smp.restart(true,true)
	await smp.transited
	smp.set_param(state,false)

Attach the state you wanna switch to to the Entry state using a boolean. It's probably possible using a trigger, but this ensures that it catches the state machine before it tries going to the first state after Entry.
Using a stealth game "caught" fail state as an example:

Won't be surprised if this is inefficient or unreliable for any reason, but it's at least kind of a band-aid fix?


Cannot access private repository

In my container builder, I am pointing to an image that is located in a private container registry (hosted on azure).
For example:
.WithImage("myacr.azurecr.io/myimage:<IP_ADDRESS>")
When the application is starting, I get the following error:
Docker.DotNet.DockerImageNotFoundException : Docker API responded with status code=NotFound, response={"message":"No such image: myacr.azurecr.io/myimage:<IP_ADDRESS>"}
I am authenticated with the ACR and when manually pulling the image using docker pull, the operation succeeds.
To Reproduce
Can't reproduce as this is a private repository
Expected behavior
Image will be successfully pulled from ACR
Desktop (please complete the following information):
Running on Windows 11

How do you login into the private registry? Right now, we support these options:

https://docs.docker.com/engine/reference/commandline/login/
https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#access-an-image-from-a-private-container-registry

I login using "az acr login" command and Azure Managed Identity
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-authentication-managed-identity?tabs=azure-cli
I can't tell the underlying implementation, but I suspect it would use docker login

Did you try one of the latest snapshot releases too (like 2.2.0-beta.2835065501)?

Updating to that version solved the problem, Thank you.


Oversized headers issue still persisting on mobile

Issue #22 (oversized headers in editing mode) is still occurring on the obsidian mobile app, even while working as intended on desktop

I'm using version 1.1.0 of the iPad app (issue also applies on iPhone) and the latest update of the theme under "community themes"

Theme has been rewritten for Obsidian 0.16.


Question: How to save as a PDF?

What modification do I need to do such that SkiaSharpDemo/SkiaSharpConsoleDemo/Program.cs produces a PDF instead of PNG?
I cannot find SKEncodedImageFormat.Pdf.

Instead of creating a new SKSurface, use SKDocument.CreatPdf


[FR] change images during the day

e.g. I have different images for the morning, afternoon, evening and night.
I'd want hyprpaper to automatically switch them at certain times.

Me? I can. Would users want to?

that's the point of hyprland, no?


Fix picking for classification models

This PR fixes picking bugs with the new implementation of classification in Model.

Before
After

I'm opening the PR early so I can see the diff and self-review. TODO: update unit tests.
Sandcastle for testing

Thanks for the pull request @j9liu!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

@ptrgags this is ready for review!

Works as advertised, thanks @j9liu!


Update README.md

fix typo

nice :-)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 36.21%. Comparing base (13484d0) to head (9574926).
Report is 142 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1402      +/-   ##
==========================================
- Coverage   36.81%   36.21%   -0.60%
==========================================
  Files         158      159       +1
  Lines        2548     2579      +31
  Branches      599      615      +16
==========================================
- Hits          938      934       -4
- Misses       1428     1643     +215
+ Partials      182        2     -180

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


installing is very slow.

On a virtual i created it takes ages to "ensure" packages.

What might be possible is to take the array of packages to install and grep that against the installed packages to get only the list of packages to install.
It will require a Frankenstein command with subshells but I have gotten something similar working in another project.
I can work out how to do it, and fork the project and submit a pull request but I cannot get my head around where the homebrew_cask: in tasks/main.yml comes from. Because you do not use a namespace i have no idea.

I'd rather not write an entire parsing engine for Homebrew, but rather rely on Ansible's homebrew module, which should be well optimized already; if there are issues with performance, please consider debugging them and if there's a bug found with the way the module detects what's installed / what needs to be installed, please consider filing an upstream bug report: https://docs.ansible.com/ansible/latest/collections/community/general/homebrew_module.html


Initialize SecurityContext in injected containers and improve logging

What this PR does / why we need it:
This PR implements 2 changes (please let me know if you want them as separate PRs)

Switch from klog to make logging consistent and add descriptive logging messages when mutator fails to make debugging of issues easier

If there is a problem with parsing the resources from the ConfigMap, it will produce error messages like
{"level":"error","ts":1576664278.7646105,"logger":"inferenceservice.kfserving-webhook-server.pod-mutator","msg":"Failed to mutate pod","name":"sklearn-iris-predictor-default-pvpmm","error":"Failed to parse resource configuration for \"storageInitializer\": \"quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'\""

Initialize securityContext for injected containers. Current recommended solution is to initialize it with SC from already processed container in the pod. We can consider using reinvocationPolicy in the future (but neither OpenShift nor webhook builder recognizes the option yet)

I have this PR built and published as quay.io/vpavlin/kfserving:openshift
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #611, Fixes #612
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

No changes to images
Release note:

NONE

This change is

/ok-to-test

/retest


Mitigation for CVE-2021-44832 (latest log4j vulnerability)

Hello, any suggested recommendation/mitigation for CVE-2021-44832 ? Pls let me know

Hi @sreeramvenkat - take a look at #12106 which includes the upgrade to a non-vulnerable version of log4j and an explanation of why Druid is not vulnerable in the default config that is shipped.

Thank you @suneet-s !


Basic Demo does not appear up to date

Describe the bug:
Hi all, love the idea of the package.
I am trying to run the basic example in the readme:
import streamlit as st
from pydantic import BaseModel

import streamlit_pydantic as sp

class ExampleModel(BaseModel):
    some_text: str
    some_number: int
    some_boolean: bool

data = sp.pydantic_form(key="my_form", model=ExampleModel)
if data:
    st.json(data.json())

But I get the error:
PydanticImportError: BaseSettings has been moved to the pydantic-settings package. See https://docs.pydantic.dev/2.5/migration/#basesettings-has-moved-to-pydantic-settings for more details. For further information visit https://errors.pydantic.dev/2.5/u/import-error
I initially thought this might be duplicate of  #52 or #38, but I the settings aren't directly imported in the code. Maybe it's easiest to update the code in the readme so the newbie's like me understand how to use this module :)
Technical details:
I am using python 3.11.7 and these package versions:
pydantic                  2.5.3
pydantic_core             2.14.6
pydantic-settings         2.1.0
streamlit-pydantic        0.6.0

Still reporting the same error as above.
Great to see this repo updated, though!

It works fine in master branch.  Just do this: pip install git+https://github.com/LukasMasuch/streamlit-pydantic.git@main

@BGFGB Thanks. That's the issue. The pypi package is not up to date at the moment, but the git is.

@BGFGB @lukasmasuch
I'm on a corporate network at work and I can only install from pypi. Is it possible to package a release with the newest main branch improvements?


Inovelli VZW31-SN Incorrect Config File Parameter Entry

Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
NO, my problem is NOT within Home Assistant or the ZWave JS integration
Is your problem within Z-Wave JS UI (formerly ZwaveJS2MQTT)?
YES, BUT a Z-Wave JS UI developer has told me to come here
Checklist

[X] I have checked the troubleshooting section and my problem is not described there.

[X] I have read the changelog and my problem was not mentioned there.

Describe the bug
What causes the bug?
The config file entry for parameter 21 is does not have readonly: true set in the config file.
What do you observe?
I am able to send changes to this parameter from Z-Wave JS UI and HomeAssistant to set it from 1 to 0 even though it is a read-only parameter.  The switch acknowledges the command, but does not change its behavior accordingly, and refreshing the parameter will show that it did not actually change.  Further, energy reports will continue to be delivered even though they are not supported when this parameter actually switches to 0.
What did you expect to happen?
Z-Wave JS UI should present this parameter as read-only:

Steps to reproduce the behavior:
Review this section of the parameter kb article for this switch.  Afterwards, hopefully note that the config file doesn't have this parameter set read-only.
Device information
Manufacturer: Inovelli
Model name: Red Series 2-1 Dimmer (VZW31-SN)
Node ID in your network: 12
How are you using node-zwave-js?

[ ] zwave-js-ui (formerly zwavejs2mqtt) Docker image (latest)
[ ] zwave-js-ui (formerly zwavejs2mqtt) Docker image (dev)
[ ] zwave-js-ui (formerly zwavejs2mqtt) Docker manually built (please specify branches)
[ ] ioBroker.zwave2 adapter (please specify version)
[ ] HomeAssistant zwave_js integration  (please specify version)
[ ] pkg
[ ] node-red-contrib-zwave-js (please specify version, double click node to find out)
[ ] Manually built from GitHub (please specify branch)
[X] Other (please describe)

Which branches or versions?
version:
Z-Wave JS UI Addon: 1.16.0
node-zwave-js branch: 11.14.3
zwave-js-ui branch: 8.26.0
Did you change anything?
no
If yes, what did you change?
No response
Did this work before?
No, it never worked anywhere
If yes, where did it work?
No response
Attach Driver Logfile
Given the simplicity of this issue, I don't believe logs will be necessary.  Further, I believe the switches are configured for S2 anyway.  If you do need debug or activity logs, please let me know.

The Z-Wave JS Config DB Browser has this listed as read/write.  Presumably this is because the Inovelli Firmware Parameter Table does not indicate the parameter is read-only.  if this discrepancy is concerning, feel free to monitor my pull request to InovelliUSA regarding the same.


Fix for "module 'enum' has no attribute 'IntFlag'" error when using python 3 for pack virtual environments under RHEL / CentOS

This pull request includes a fix for the AttributeError: module 'enum' has no attribute 'IntFlag' error which would appear when using python3 for a pack virtualenv (pack was created using use_python3=true parameter) and running on RHEL / CentOS (see https://forum.stackstorm.com/t/unable-to-run-an-action-implemented-by-python3/217/7 for details).
The issue was related to enum Python package being installed in python2.7 virtual environment. The python runner action script would try to use that package instead of enum module from Python 3 stdlib.
The fix includes adding <virtualenv path>/lib/python3.6 directory to PYTHONPATH for Python runner actions. This way we ensure Python 3 stdlib imports always have precedence over other python2.7 site-packages imports.

Okay, so the enum library is getting loaded from someplace it shouldn't be. Sounds like it's getting loaded from the system's Python environment. Is that correct?

Yes, it's getting loaded from system Python 2.7 virtual environment which is used by all the StackStorm components.

In that case, wouldn't a better fix be to create the pack's virtualenv with the --no-site-packages flag? That's been the default flag for virtualenv for quite some time now.

Yes, that would be ideal. In fact, it's something I tried to do in the past, but sadly our components cross-depend on st2common too much so it's very hard to achieve that without a massive refactor.
Right now Python runner actions and action runner depends on st2actions and st2common. st2common depends on various dependencies which are installed into system virtual environment (including enum).
So the easiest way to make pack virtual environments work is to simply inherit all the system dependencies.
We do that by manipulating PYTHONPATH instead of using --system-site-packages and copying / symlinking dependencies over. Symlinking causes issues on some distros and hard copying dependencies over would mean wasting a lot of space and each time StackStorm gets upgraded, all the virtualenvs would need to be rebuilt.

Or if the pack's requirements.txt includes enum because the pack was developed with Python 2 (meaning pip freeze would include the enum library), but run with Python 3, the site-packages would be searched before the built-in library. But in that case, using the enum; python_version <= 2.7 environment markers from PEP 508 might be a better fix, although it requires pip > 6.0 (which we do anyway, I think) and it requires pack developers to know how to use the option and update their requirements.txt appropriately.

That's what happens right now - enum is only installed when running under Python 2.7 (system StackStorm virtual environment), but as mentioned above and below, main problem is "mixing" those dependencies together.
In short - this is a workaround and the main problem is mixing Python 2.7 and 3 dependencies. For the most part that is not an issue since all other libraries we use work with Python 2.7 and 3.x, but enum is a special case (it's needed by 2.7 where it's a package and it's included in 3.x stdlib where it's a module).
All of that should hopefully become less relevant once we fully support Python 3 end to end (then this won't be an issue anymore).

Thanks for the additional explanation - all of that sounds reasonable.


javac.inject => javax.inject

I signed it!
Le 2 juil. 2015 23:07, "googlebot"<EMAIL_ADDRESS>a écrit :

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project, in which case you'll need to
sign a Contributor License Agreement (CLA).
[image: :memo:] Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the
company's name.

—
Reply to this email directly or view it on GitHub
https://github.com/google/error-prone/pull/357#issuecomment-118168535.

Thanks!


update mobx, mobx-state-tree, mobx-react

The source was updated with npx mobx-undecorate --keepDecorators. The decorators were kept because otherwise it resulted in a large set of changes. And many of those changes broke the typesystem because they were wrapping class declarations like export const ClassName = inject("stores")(observe(class ClassName ....  Because that isn't exporting a class object, typescript would not treat ClassName as a type.
The tsconfig was updated based on this guide: https://mobx.js.org/migrating-from-4-or-5.html
toJS was switched to toJSON was based on this github issue: https://github.com/mobxjs/mobx-state-tree/issues/1641
it might be better to switch to using mobx's toJS function, I didn't look at the code carefully
Mobx 6 removed the ability to do mapInstance.observe(listener) so that was converted to observe(mapInstance, listener)
The type of the event passed to the listener of observe is not as customizable, so the name of event is always  PropertyKey and had to be cast to string
the strictness of mobx version 6 had to be relaxed as per the guidance here: https://mobx.js.org/migrating-from-4-or-5.html

@kswenson I removed the modification of the MST configuration. So now it is running with the default strictness. We could make it more strict, but this default mode seems good enough for me.
So I think this is ready for a real approval now.


Publish main to live on 8/8 @ 10:30 am

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

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-RetentionCompliancePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-RetentionComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-TenantAllowBlockListSpoofItems.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update RayTaskRunner for new TaskRunner interface

Summary
This updates the RayTaskRunner to conform to the updates in the TaskRunner interface allowing for faster task submission: https://github.com/PrefectHQ/prefect/pull/6527.
Relevant Issue(s)

Checklist

[x] Summarized PR's changes in CHANGELOG.md

Tests are failing due to:
E   TypeError: Could not serialize the argument {'b': PrefectFuture('task_b-8e3be95f-0')} for a task or actor prefect.engine.begin_task_run. Check https://docs.ray.io/en/master/ray-core/objects/serialization.html#troubleshooting for more information.

python/ray/_raylet.pyx:427: TypeError

self = <ray.util.client.client_pickler.ClientPickler object at 0x7fb5798624c0>
obj = ((), {'parameters': {'b': PrefectFuture('task_b-8e3be95f-0')}, 'result_filesystem': LocalFileSystem(basepath='/home/ru...FECT_ORION_SERVICES_FLOW_RUN_NOTIFICATIONS_ENABLED=True)), 'task': <prefect.tasks.Task object at 0x7fb57270fc10>, ...})

    def dump(self, obj):
        try:
>           return Pickler.dump(self, obj)
E           TypeError: cannot pickle '_queue.SimpleQueue' object

From:

    def test_failing_flow_run(self, task_runner):
        @task
        def task_a():
            raise RuntimeError("This task fails!")

        @task
        def task_b():
            raise ValueError("This task fails and passes data downstream!")

        @task
        def task_c(b):
            # This task attempts to use the upstream data and should fail too
            return b + "c"

        @flow(version="test", task_runner=task_runner)
        def test_flow():
            a = task_a.submit()
            b = task_b.submit()
            c = task_c.submit(b)
            d = task_c.submit(c)

            return a, b, c, d

>       state = test_flow._run()

Prefect futures should be exchanged for Ray futures. The Dask changes should have an example.

Test now is failing on:
task_runner = <prefect_ray.task_runners.RayTaskRunner object at 0x7fe21c589350>

    def test_failing_flow_run(self, task_runner):
        @task
        def task_a():
            raise RuntimeError("This task fails!")

        @task
        def task_b():
            raise ValueError("This task fails and passes data downstream!")

        @task
        def task_c(b):
            # This task attempts to use the upstream data and should fail too
            return b + "c"

        @flow(version="test", task_runner=task_runner)
        def test_flow():
            a = task_a.submit()
            b = task_b.submit()
            c = task_c.submit(b)
            d = task_c.submit(c)

            return a, b, c, d

        state = test_flow._run()

        assert state.is_failed()
        a, b, c, d = state.result(raise_on_failure=False)
        with pytest.raises(RuntimeError, match="This task fails!"):
            a.result()
        with pytest.raises(
            ValueError, match="This task fails and passes data downstream"
        ):
            b.result()

>       assert c.is_pending()
E       AssertionError

The interrogate coverage is failing because RayTaskRunner._optimize_futures.visit_fn does not have a docstring.

I'm not sure this is ready for merging yet, in order to make this work we're resolving the ray futures directly--I think this might defeat the purpose of having using Ray for concurrency

I checked out this branch and tried the basic example. Seems to still keep its concurrency.
12:06:48.713 | INFO    | prefect.engine - Created flow run 'russet-caracara' for flow 'count-to'
12:06:48.714 | INFO    | prefect.task_runner.ray - Creating a local Ray instance
2022-09-08 12:06:50,427	INFO services.py:1456 -- View the Ray dashboard at http://<IP_ADDRESS>:8265
12:06:52.281 | INFO    | prefect.task_runner.ray - Using Ray cluster with 1 nodes.
12:06:52.281 | INFO    | prefect.task_runner.ray - The Ray UI is available at <IP_ADDRESS>:8265
12:06:53.381 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-0' for task 'shout'
12:06:53.392 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-0' for execution.
12:06:53.494 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-9' for task 'shout'
12:06:53.504 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-9' for execution.
12:06:53.508 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-4' for task 'shout'
12:06:53.521 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-4' for execution.
12:06:53.525 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-5' for task 'shout'
12:06:53.535 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-5' for execution.
12:06:53.538 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-8' for task 'shout'
12:06:53.547 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-8' for execution.
12:06:53.551 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-7' for task 'shout'
12:06:53.558 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-7' for execution.
12:06:53.562 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-2' for task 'shout'
12:06:53.570 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-2' for execution.
12:06:53.574 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-6' for task 'shout'
12:06:53.583 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-6' for execution.
12:06:53.589 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-3' for task 'shout'
12:06:53.596 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-3' for execution.
12:06:53.601 | INFO    | Flow run 'russet-caracara' - Created task run 'shout-58a68b34-1' for task 'shout'
12:06:53.609 | INFO    | Flow run 'russet-caracara' - Submitted task run 'shout-58a68b34-1' for execution.
(begin_task_run pid=16486) #2
(begin_task_run pid=16488) #0
(begin_task_run pid=16489) #5
(begin_task_run pid=16491) #7
(begin_task_run pid=16485) #6
(begin_task_run pid=16487) #9
(begin_task_run pid=16492) #8
(begin_task_run pid=16490) #4
(begin_task_run pid=16489) #1
(begin_task_run pid=16488) #3
12:06:59.430 | INFO    | Flow run 'russet-caracara' - Finished in state Completed('All states completed.')

I believe it will retain concurrency for independent tasks, but if tasks are dependent on eachother they will pass around resolved results instead of futures

Here's the issue for tracking: https://github.com/PrefectHQ/prefect-ray/issues/37


Looks like that / wasn't needed after all

DON'T MERGE, I want to use this to test automatic deployment (when it's ready)

lol


ci: Add /retest option to rerun only failed test

To help address cases where flaky test are blocking a PR, we should add a /retest command which only reruns failed tests. This is a better alternative to consistently using /test which reruns all tests, introducing the probability to come across new flakes.

I am working on an implementation that runs tests as normal with the /test command and re-runs only the failed test if the /test command is issued again. If the commit SHA changes the /test runs all the tests again.

This future is implemented and in use now.


Release tarballs should have the executable bit set on the binary

TL;DR
See title
Detailed design
No response
Alternatives considered
No response
Additional information
No response

Hm, it already is:
$ tar tvf abc_0.7.0_linux_amd64.tar.gz
-rw-r--r-- runner/docker 11357 2024-03-08 11:35 LICENSE
-rw-r--r-- runner/docker 44872 2024-03-08 11:35 README.md
-rwxr-xr-x runner/docker 14520472 2024-03-08 11:31 abc

I thought that I saw otherwise in @pdewilde 's codelab demo, but I must have been mistaken.

Yeah, not sure why that happened.
Repro steps:
cd /tmp
wget https://github.com/abcxyz/abc/releases/download/v0.7.0/abc_0.7.0_linux_amd64.tar.gz
tar xzf abc_0.7.0_linux_amd64.tar.gz
sudo cp abc /usr/local/bin/abc

I think its due to the umask in /tmp. If I untar within /usr/local/bin I don't have the issue.

Oh yeah, /tmp seems to be mounted "noexec". So this is WAI.


Writing cache entries in JSON format

I'm currently working on a project using stash. I have the challenge to warm up the cache with a node.js service.
After porting the cache key magic to javascript I realized that each cache entry is written as a PHP array.
My suggestion would be to write the whole cache entry in JSON format. Each stored item must contain either a JSON string or an object extending JsonSerializable. The stash specific infos (create timestamp, expires on) should not be the problem to port.
If the cache item data is not in a JSON serializable format an Exception should be thrown.
I know that this feature is only useful for a minority of stash users, so I would recommend to add it as an opt in feature in the general cache configuration.
Please let me know what you think about this feature. If the idea gets accepted, I would be able to provide an PR containing this functionality.

unserialize() is implemented in JS.
You can use it from here:
http://locutus.io/php/var/unserialize/
As for the system changing, it would be a huge breaking change, so is unlikely to happen anytime soon.

And likewise, there is also a serialize method: http://locutus.io/php/var/serialize/


[DOCS] - Syntax highlighting is broken in Heading page

Description
As the title says, syntax highlighting is broken in the "Usage" section of the Heading page.
CodeSandbox/Snack link
No response
Steps to reproduce

Go to https://ui.gluestack.io/docs/components/typography/heading
Scroll down to 'Usage' section.
See the syntax highlighting

gluestack-ui Version
0.2.3
Platform

[ ] Android
[ ] Expo
[ ] iOS
[ ] Next

Other Platform
Chrome/Firefox/Safari browser
Additional Information

Unrelated, but please consider adding a docs issue type. I think that would make it easy to categorize issues. Thanks.

Hey @FrozenHearth ,
Thanks for reporting. We will look into this.

This is fixed, hence closing this issue.


Mark allowArbitraryExtensions as affectsProgramStructure

Per https://github.com/microsoft/TypeScript/pull/51435#discussion_r1084491113 and skimming the code, this flag only controls whether or not certain diagnostics are shown (see getResolutionDiagnostic).

Excuse the force push; I wanted to rewrite the PR into the two commits so the actual changed showed the baseline change. Let me know if this looks good.

I tacked on an extra commit which sets affectsProgramStructure instead; is that the right thing? Maybe the diff provides the answer? (I am not personally very certain)

I'm a little confused about how the baseline says that semantic diagnostics aren't updated now that I've set affectsProgramStructure instead; should both affectsProgramStructure and affectsSemanticDiagnostics be set?

Just to double check, I don't need affectsSemanticDiagnostics, correct? I ran the test (now that it's correct) and the only change when this option was added was that /lib.d.ts had its diagnostics refreshed (which doesn't seem to matter?)

/lib.d.ts had its diagnostics refreshed (which doesn't seem to matter?)

Thats because you have unknowingly made the resolvedModule not module which means it adds to global scope so any addition or removal will refresh diagnostics for program.


Apply a filter to an audio file and render to file not working

Hello,
I would like to apply a filter to an audio file and then render it to a new file.
The resulting audio is empty at the moment.
do {
            let file = try AVAudioFile(forReading: url)
            let player = AudioPlayer(file: file)!
            let reverb = CostelloReverb(player)
            let engine = AudioEngine()
            engine.output = reverb
            try engine.start()
            let newURL = url.deletingLastPathComponent().appendingPathComponent("new.mp4")
            let newAudioFile = try AVAudioFile(forWriting: newURL, settings: [AVFormatIDKey: kAudioFormatMPEG4AAC])
            try engine.renderToFile(newAudioFile, duration: file.duration)
            DZLog("rendered")
        } catch {
           DZError("There was an error: ", error: error)
    }

What's wrong with this process?

I don't know, but it's not an issue with AudioKit, which is how this forum is intended to be used.


Update AKS base image to 0.15.0

What this PR does / why we need it:
This image contains binaries for newly released Kubernetes version 1.10.8. It was built after #3868 merged to master.
It also removes the 1.10.6 binaries per our "two patch releases" policy, so users who provision that version will see slower creation and scale times while the binaries are downloaded.
If applicable:

[ ] documentation
[ ] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

Update AKS base image to 0.15.0

/lgtm


Add New "CSS Libraries and Frameworks" Module

[x] Request asset from Nohemi and add to the repo

provide her with a description of the new module and whether it's beginner, intermediate, advanced, or a bonus module
The name of the file should match the module's slug

[x] Write up skills and a description for the module

Share in #onramp channel for feedback and make updates as needed

[x] Find at least 3-5 resources for the module
[x] Create a new module via Nova on onramp.dev

link to related resources, skills, track and/or glossary terms

[x] Update the seeder files locally and push to repo:  #537

Completed


Move isCameraPreferredOn to update in closure

Purpose

Only update isCameraPreferredOn when start/stop video succeeds

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

As per discussion, no handling would apply in sample app for now.


Punctuation marks are not getting detected ??

Symbols like comma, dot, #, $ are not getting detected,
I am using pretrained model -  icdar2015_model/model_ic15_r101.pth

Yes, we ignored these punctuations.


hide menu bar on Debian

hey guys . i am using hyper on Linux-Debian.
i dont need any menu bars and any buttons and i set showWindowControls: 'false', and showHamburgerMenu: 'false', but i have both of them yet on hyper window.
how can i fix it?

@omilun Hi, the showHamburgerMenu is boolean so in order for it to work you need to remove the quotes from false. It should be showHamburgerMenu: false.

aha thx. i fix it but i have a bar .i show  "hyper" on the top of window.
how can i remove that?

Something like https://github.com/albinekb/hyperclean removes the top-bar completely @omilun Have not tested it on linux tough

exactly yes but your read me dose not complete to install it. i tried to use it:
hyperclean: {       hideTabs: true, // default: false     },
but hyper cant understand it.

Hi @omilun. Could you post this as an issue to https://github.com/albinekb/hyperclean instead?
This feature will only be implemented as a plugin for now.


How to dynamically change the title ?

Hello !
I've tried to put a div with some php in "title:" option, and make it update via setinterval function.
The value is passed from php to the title option of the player, but when it updates at the interval, the title vanishes and nothing is shown.
Am I doing something wrong ?

@SAMYEL06 you can add it dynamically but just on the player initialization, if you want to reset the player, you need to call .destroy() on the instance beforehand. Is this still an issue?

Closing the ticket due to a lack of feedback over an extended period. Please feel free to reopen if you have further input or require additional assistance. Thank you.


Create AlphabeticalKerbals.netkan

Add AlphabeticalKerbals mod to CKAN

Looks all fine to me. @cecilkorik, if you wish to make future updates smoother, you could include a KSP-AVC .version file in your releases to tell the NetKAN robot what KSP version is supported. Merging with many thanks!


[BUG] Volume expansion and snapshot deletion leading to node overfill and faulted s

Describe the bug
We are encountering two issues related to volume expansion and snapshot deletion:
When expanding a volume to match the size of the node, the volume occasionally fills the entire node, causing it to go into a faulted state.
While attempting to delete a snapshot from a 3Ti volume (with 3 existing snapshots), Longhorn filled the entire node, putting the volume into a faulted state. Initially, the node had 4Ti of free space. After expanding the node to 5Ti, the volume became healthy again, but the snapshot deletion process seems to continue consuming additional space, potentially filling the node again.
We need clarification on whether this is expected behavior and how we can prevent or mitigate it in the future.
To Reproduce
Steps to reproduce the issue:

Create a volume of 3Ti with snapshots.
Expand the volume to match the size of a node.
Attempt to delete one of the snapshots.
Observe that Longhorn fills the available space on the node, leading to a faulted state.

Expected behavior

Volume expansion should only allocate the requested size and should not overfill the node.
Snapshot deletions should not cause Longhorn to fill the entire disk during the process.

Support bundle for troubleshooting

Due to compliance restrictions, we are unable to provide a support bundle.

Environment

Longhorn version: v1.7.0
Impacted volume (PV): pvc-3ec28539-0d27-4122-929d-0302207b81ba, pvc-4d48e3ed-7d3c-440b-83bb-92c951685a21
Installation method: Helm
Kubernetes distro and version: RKE2 v1.28.11+rke2r1

Number of control plane nodes in the cluster: 3
Number of worker nodes in the cluster: 39

Node config

OS type and version:
Kernel version:
CPU per node: 30-45 core
Memory per node: 64-256 Gi
Disk type: SSD and HDD
Network bandwidth between the nodes: 10 Gbps

Underlying Infrastructure: Baremetal
Number of Longhorn volumes in the cluster: 39

Additional context
The snapshot deletion issue seems to be consuming more space than expected. We want to know if this behavior is normal and how we can prepare the system to avoid filling the disk during future snapshot deletions or volume expansions.
Workaround and Mitigation
We increased the size of the node to 5Ti, which temporarily made the volume healthy again, but the delete process continues to consume space.

I understand this, however I don't think it's a good idea, to delete snapshots after a volume expansion, if there is not enough space for it. This way there is a serious risk of data loss, because when if deletes the snapshot, the node will fill over, and the volume goes into a faulted state. So with a volume expansion we can lose the entire volume. Is it possible to implement a safety check, and surpress the snapshot deletion until there is guaranteed to be enough space for it on the node?

I understand this, however I don't think it's a good idea, to delete snapshots after a volume expansion, if there is not enough space for it. This way there is a serious risk of data loss, because when if deletes the snapshot, the node will fill over, and the volume goes into a faulted state. So with a volume expansion we can lose the entire volume. Is it possible to implement a safety check, and surpress the snapshot deletion until there is guaranteed to be enough space for it on the node?

I think this is a fair suggestion to implement a safe check on the available space before deleting a snapshot. What do you think, @shuo-wu @PhanLe1010 @derekbit ?

I understand this, however I don't think it's a good idea, to delete snapshots after a volume expansion, if there is not enough space for it. This way there is a serious risk of data loss, because when if deletes the snapshot, the node will fill over, and the volume goes into a faulted state. So with a volume expansion we can lose the entire volume. Is it possible to implement a safety check, and surpress the snapshot deletion until there is guaranteed to be enough space for it on the node?

I think this is a fair suggestion to implement a safe check on the available space before deleting a snapshot. What do you think, @shuo-wu @PhanLe1010 @derekbit ?

Agree with the idea.

I am fine with adding a check. But we need to consider some special cases:

System snapshot auto cleanup. Should we skip this (for rebuilding or recurring jobs) if there is no enough space?
The parent of the head deletion. For this one, Longhorn does not need any extra space
v2 snapshot deletion. IIUC, SPDK does not need any extra space either

Hi @derekbit, @c3y1huang, @shuo-wu,
Just checking in -- any updates on this issue?
Thanks!


Deleting content node does not delete media/files associated with node

Pretty sure this is known/expected behavior, but it is counterintuitive from a user standpoint. Why should the object files and derivatives of deleted objects stick around and clutter up my Islandora if I've deleted the content?
Needs checking/verification: If you delete child objects of a resource (from the Children tab), I assume this also leaves all media/files associated with those children.
Should behavior be changed?
Looks like "Media of" field on media types is a single-value field, so having deletion of a node trigger deletion of that node's media seems like it should currently be safe? (But will become trickier (?) if/when pointing node->media rather than media->node is implemented)
Improvement idea if deletion of media/files cannot/should happen automatically:
When selecting content node(s) for deletion, and clicking to delete, next page presents a list of media for the affected nodes, with checkboxes (and select all/select none functionality) to also trigger the deletion (or not) of media/files
If this is the desired behavior, we need to add something to the documentation about how to delete content fully.[^1]
[^1]: There is a bit about how you might do this buried in Media > Media Revisions > Using the Media form to replace an existing file does not behave as expected, but I am NOT going to look at that and make an obvious mental connection with what I need to do when I delete content

Related Meta Issue: https://github.com/Islandora/documentation/issues/1916


Pushbullet send notification

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.61.0 (docker)
Python release (python3 --version):
Component/platform:
pushbullet
Description of problem:
Can't send notification
Expected:
Able to send notification
Problem-relevant configuration.yaml entries and steps to reproduce:
Calling notify.pushbullet service from developer tools with following payload brings errors
{"message":"Test", "target":["device/myphone"]}

Traceback (if applicable):
2018-01-16 16:57:37 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall notify.pushbullet: message=<homeassistant.helpers.template.Template object at 0x7f5e17c89b38>, target=['device/myphone']>
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/core.py", line 1010, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/usr/src/app/homeassistant/components/notify/__init__.py", line 137, in async_notify_message
    yield from notify_service.async_send_message(**kwargs)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 327, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/notify/pushbullet.py", line 125, in send_message
    self.pbtargets[ttype][tname])
  File "/usr/src/app/homeassistant/components/notify/pushbullet.py", line 166, in _push_data
    pusher.push_note(title, message, email=email)
TypeError: push_note() got an unexpected keyword argument 'email'

@tschmidty69 it seems that something went wrong after "email fix".

Issue has been fixed.

Hello everybody!
I tried Pushbulett notification and SMTP notification.
It working from start, but in couple hours I see
Unable to find service notify/dacha
11:58 core.py (WARNING)
Yestrday I updated HA to 0.71.0
Notification worked 2 hours and stoped!!!!!!
May be someone knows what is the problem?


Querry appends  .* to last column in SELECT when trying to use "table".*

Version
1.12.0
What happened?
When I join two tables and try to select everything from only one of them using the "table".* syntax the generated code has .* appended to the last column in the SELECT statement of the query. This only happens if the table name is written in quotes.
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
https://play.sqlc.dev/p/3e11ceef30748363dded68181cd1ee514a22e602642956351cb2a4511af55ee1
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

The issue is that sqlc isn't taking into account that "books".* is quoted. If you remove the quotes, the generated code is correct.
https://play.sqlc.dev/p/333efd4103b524488f7dd3de8fcb483788172191790474562f3997f30cc15247
Obviously still a bug but hopefully this will get you unblocked.


Request validation uses 400 instead of 415 for wrong content type

When making a request with an unsupported Content-Type header, the produced error body is helpful enough (code: INVALID_CONTENT_TYPE, message: Invalid Content-Type (x). These are supported: y, z...). However, the status code 400 is not the one you would expect; according to the HTTP specification, in this case 415 should be used.

Whoops, seems I was in the wrong tab...


tekton can't find the rm and ls commands provided by busybox when executing the script

Expected Behavior
When using executor:debug to build container images, this issue is encountered in newer versions of tekton, previously everything was fine in v0.34.0 version of tekton
Actual Behavior
image: gcr.io/kaniko-project/executor:debug@sha256:ac169723b2076f9d5804f4bc05c98397e286da6fdcdd5a09fdc179f06ccb3be1
# TaskRun logs，（Direct access to the container allows you to execute commands such as rm and ls normally）
/tekton/scripts/script-0-qlkzj: line 13: rm: not found
/tekton/scripts/script-0-qlkzj: line 16: ls: not found

Steps to Reproduce the Problem
I use executor for batch build images, so I can only use debug's tag, because this version of the image provides a shell that allows flexibility to build images using scripts
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
  name: kaniko
  namespace: tekton-pipelines
  labels:
    app.kubernetes.io/version: "0.6"
  annotations:
    tekton.dev/pipelines.minVersion: "0.17.0"
    tekton.dev/categories: Image Build
    tekton.dev/tags: image-build
    tekton.dev/displayName: "Build and upload container image using Kaniko"
    tekton.dev/platforms: "linux/amd64"
spec:
  description: >-
    build images
  params:
    - name: BUILDER_IMAGE
      description: The image on which builds will run (default is v1.9.1-debug version)
      default: gcr.io/kaniko-project/executor:debug@sha256:ac169723b2076f9d5804f4bc05c98397e286da6fdcdd5a09fdc179f06ccb3be1
    - name: imageName
    - name: imageUrl
    - name: imageSpace
    - name: imageTag
  workspaces:
    - name: output
      description: Holds the context and Dockerfile
    - name: dockerconfig
      description: Includes a docker `config.json`
      optional: true
      mountPath: /kaniko/.docker
    - name: dockerfile
      mountPath: /workspace/output/dockerfile
  results:
    - name: IMAGE_DIGEST
      description: Digest of the image just built.

  steps:
    - name: image-build
      workingDir: $(workspaces.output.path)
      # Ref: https://github.com/GoogleContainerTools/kaniko
      #
      image: $(params.BUILDER_IMAGE)
      env:
        - name: APP_NAME
          value: $(params.imageName)
        - name: IMAGE_URL
          value: $(params.imageUrl)
        - name: IMAGE_SPACE
          value: $(params.imageSpace)
        - name: IMAGE_TAG
          value: $(params.imageTag)
      script: |
        #!/bin/sh

        set -e

        mkdir context/

        for app in $APP_NAME
        do

          mv package/$app* context/

          DESTINATION=${IMAGE_URL}/${IMAGE_SPACE}/${app}:${IMAGE_TAG}

          executor \
            --context context/ \
            --dockerfile $(workspaces.dockerfile.path)/Dockerfile \
            --build-arg APP_NAME=$app \
            --destination=$DESTINATION \
            --digest-file=$(results.IMAGE_DIGEST.path) \
            --cleanup

          rm -rf context/*

          ls -1 package/
          echo
        done

        # Need to exit the script with exit, otherwise TaskRun will keep running
        exit

      securityContext:
        runAsUser: 0

The following are the results of this task in tekton versions v0.45.0 and 0.34.1 respectively
v0.45.0 Execution Failure
INFO[0000] Retrieving image manifest anapsix/alpine-java:8_jdk_unlimited
INFO[0000] Retrieving image anapsix/alpine-java:8_jdk_unlimited from registry [index.docker.io](http://index.docker.io/)
INFO[0002] Built cross stage deps: map[]
INFO[0002] Retrieving image manifest anapsix/alpine-java:8_jdk_unlimited
INFO[0002] Returning cached image manifest
INFO[0002] Executing 0 build triggers
INFO[0002] Building stage 'anapsix/alpine-java:8_jdk_unlimited' [idx: '0', base-idx: '-1']
INFO[0002] Unpacking rootfs as cmd COPY --chown=nobody:nobody *.jar ${APP_NAME}.jar requires it.
INFO[0007] LABEL maintainer="group.com)>"
INFO[0007] Applying label maintainer=p.com)>
INFO[0007] ARG APP_NAME
INFO[0007] USER nobody
INFO[0007] Cmd: USER
INFO[0007] Resolving srcs [*.jar]...
INFO[0007] COPY --chown=nobody:nobody *.jar ${APP_NAME}.jar
INFO[0007] Resolving srcs [*.jar]...
INFO[0007] Taking snapshot of files...
INFO[0014] ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar"]
INFO[0014] Deleting filesystem...
INFO[0014] Pushing image to [registry-f797be](http://registry-i)
INFO[0018] Pushed [registry-i
/tekton/scripts/script-0-jl89s: line 35: rm: not found
/tekton/scripts/script-0-jl89s: line 40: ls: not found

conmand not found

v0.34.1 Execution success
# Build the first image
INFO[0000] Retrieving image manifest anapsix/alpine-java:8_jdk_unlimited
INFO[0000] Retrieving image anapsix/alpine-java:8_jdk_unlimited from registry [index.docker.io](http://index.docker.io/)
INFO[0002] Built cross stage deps: map[]
INFO[0002] Retrieving image manifest anapsix/alpine-java:8_jdk_unlimited
INFO[0002] Returning cached image manifest
INFO[0002] Executing 0 build triggers
INFO[0002] Building stage 'anapsix/alpine-java:8_jdk_unlimited' [idx: '0', base-idx: '-1']
INFO[0002] Unpacking rootfs as cmd COPY --chown=nobody:nobody *.jar ${APP_NAME}.jar requires it.
INFO[0007] LABEL maintainer="<up.com)>"
INFO[0007] Applying label maintainer=Vroup.com)>
INFO[0007] ARG APP_NAME
INFO[0007] USER nobody
INFO[0007] Cmd: USER
INFO[0007] Resolving srcs [*.jar]...
INFO[0007] COPY --chown=nobody:nobody *.jar ${APP_NAME}.jar
INFO[0007] Resolving srcs [*.jar]...
INFO[0007] Taking snapshot of files...
INFO[0009] Deleting filesystem...
INFO[0009] Pushing image to [
INFO[0012] Pushed

# Build a second image
INFO[0000] Retrieving image manifest anapsix/alpine-java:8_jdk_unlimited
INFO[0000] Retrieving image anapsix/alpine-java:8_jdk_unlimited from registry [index.docker.io](http://index.docker.io/)
INFO[0002] Built cross stage deps: map[]
INFO[0002] Retrieving image manifest anapsix/alpine-java:8_jdk_unlimited
INFO[0002] Returning cached image manifest
INFO[0002] Executing 0 build triggers
INFO[0002] Building stage 'anapsix/alpine-java:8_jdk_unlimited' [idx: '0', base-idx: '-1']
INFO[0002] Unpacking rootfs as cmd COPY --chown=nobody:nobody *.jar ${APP_NAME}.jar requires it.
INFO[0006] LABEL maintainer="up.com)>"
INFO[0006] Applying label maintainer=oup.com)>
INFO[0006] ARG APP_NAME
INFO[0006] USER nobody
INFO[0006] Cmd: USER
INFO[0006] Resolving srcs [*.jar]...
INFO[0006] COPY --chown=nobody:nobody *.jar ${APP_NAME}.jar
INFO[0006] Resolving srcs [*.jar]...
INFO[0007] Taking snapshot of files...
INFO[0009] Deleting filesystem...
INFO[0009] Pushing image to [registry-
INFO[0013] Pushed [registry

Additional Info
I think it has something to do with the executor:debug image, but I get different results in the old version (v0.34.1) and the new version (0.45.0) of tekton, and I'm not sure about the difference between the execution scripts of these two versions of tekton.
If you want to avoid this problem in the new version of tekton, you cannot use the --cleanup flag when executing the executor command to build the image, if you use this flag it will clean up the filesystem after the build (I think it should clean up the binary commands as well) and eventually the new version of tekton will not find these commands and the task will fail!
But in older versions of tekton (v0.34.1), even with the -cleanup flag tekton can execute rm, mv, ls commands normally...
ref: https://github.com/GoogleContainerTools/kaniko#flag---cleanup

Kubernetes version:

v1.24.6

Tekton Pipeline version:

v0.45.0

@AliDev0ps can you share the full Task spec ? (environment used, …)

(and also more environment like the arch of the node it got executed in, …)

@AliDev0ps can you share the full Task spec ? (environment used, …)
Thanks for the reply, I have updated the question with more detailed information


Add a proper Prefix(namespace) for new v4 elements

For example:
.CDBWidget-... { }
.CDBInfowindow-... { }
.CDBIcon-... { }

@CartoDB/frontend @piensaenpixel @acanimal

+1 to .CDB-*

.CDB-Infowindow-...   breaks our scss lint rules :(. Does CDBInfowindow thing sound so bad?

I'd love to see shadow-dom but perhaps not ready for our use-cases just yet…?
Until then +1

can't be done with regex? http://csswizardry.com/2015/03/more-transparent-ui-code-with-namespaces/#detecting-namespaces
in any case, I'm fine with that ¯_(ツ)_/¯

@matallo, we are already doing the check with RegExp (https://github.com/CartoDB/cartodb.js/blob/widgets/.scss-lint.yml#L75) :joy:, if you agree with CDB-*, ok, let's add it to the RegExp.
cc @javierarce

WOHOO, now that's a prefix :_D

haha, let's add it to the regexp then :construction_worker:

Already done in widgets branch :).


fix: Add missing index files that are still used in the active dag

ETL is failing to build and I think it's because these walden index files should have not been deleted (in my previous PR, https://github.com/owid/etl/pull/1343).

I think I've fixed it now. I've also archived the previous owid_energy dataset, to avoid a warning by version_tracker.


If readTargetState returns 4 (triggered) http-securitysystem will disarm.

Not necessarily a bug but thought I'd point out a gotcha when setting up your HTTP endpoints.
If your endpoint for readTargetState returns a 4 (alarm triggered ) it will cause unexpected behaviour of immediately disarming the system by setting the state to 3.
Are you happy for me to do a pull-request with some updated documentation regarding this gotcha? I.e. stating that only readCurrentState can return a 4 while readTargetState can only return what the previous state was before the alarm was triggered (0,1,2).

That's quite a nice find, I already saw something fishy about the triggered state but never quite knew what it was.
Make a pull request, with updated docs please, I will merge it in.

Any news on this issue ?

What is the issue exactly? Are you affected by this behavior somehow, e.g. your targetState is set to triggered?

As @phoozle mentioned, whenever the target state is set to 4 (alarm triggered), it automatically switches to 3, disarming the system.
As my system does not have a target state, every time the alarm is triggered, the plugin automatically sets it off.

So the issue is that your system is returning targetState = 4 when currentState = 4?
Can't you just change your system to return the actual desired target state (like armed) when the system gets triggered?
I am open for suggestions but as the behavior in this case is not specified (as you can see in the homekit app, you cannot even "set" triggered, it's not supported by the Homekit API and this option is also missing from the Home app's UI), what do you think should happen when the targetState returned is 4? I should convert it to something else? Which one, 0, 1, 2 or 3?

I have no suggestion for this, I was curious about what @phoozle did with his PR.
I did what you said and changed my system to make it return the previous state instead of 4 and created a target state endpoint.

Oh, I never got a pull request from him but thank you for reviving this discussion, I will update the docs myself. I hope your solution works out, if it doesn't, let me know and we will come up with something.

Hi!
I've managed this to work with my alarm system. However, as soon as my alarm is triggered, this plugin set's the state to 3, which disarms my alarm. See the log below:
"[5/31/2020, 11:47:45] [Alarma] Mapper 2 mapped 4.0 to 4
[5/31/2020, 11:47:45] [Alarma] Mapping result is 4
[5/31/2020, 11:47:45] [Alarma] Target state is 4
[5/31/2020, 11:47:45] [Alarma] Target state changed to 4
[5/31/2020, 11:47:45] [Alarma] Polling noticed target state change to 4, notifying devices
[5/31/2020, 11:47:45] [Alarma] Setting state to 3
[5/31/2020, 11:47:45] [Alarma] SetState function succeeded"
This makes my alarm unusable, since every time is trigged, it gets disarmed. How could this be avoided?
Thanks

I believe what's happening here is the same problem @phoozle pointed out originally, namely that if the targetState query returns 4 (triggered), which it never should, the system reacts by reset, disarming the alarm.
If this is such a recurring issue, I could change the code to validate the target state return value and if it is out of valid range (e.g. not between 0, 1, 2 and 3), it could would just ignore it and leave the target state at whatever it was previously.
How did you solve your problem btw?

Originally I was using the same output of my security system for the current and the target states.
However, I just learned how to creat 2 outputs at Security System, one for a target system, and another one for current system.
The Security System target output switches to 4 when the alarm is triggered, while the Security System’s current output stays on the previous value.


Does this client work with generic Apache HBase?

Has there anything been done to the HBase on the server side for this to be workable? How different is HDInsight HBase from Apache HBase? thanks

@jesaremi
VNET mode works for non HDInsight HBase clusters. Please refer to https://github.com/hdinsight/hbase-sdk-for-net/blob/master/Microsoft.HBase.Client.Tests/Clients/VNetClientTest.cs  how to specify the REST server ips when initialize the HBaseClient.
 VNET mode skips the gateway and directly hits REST servers so it will work on Apache HBase also.


chore: rename integrations to add-ons

matches the language used in the announcement blog post
closes https://github.com/sveltejs/cli/issues/82

Is there a reason you decided to go with add-ons instead of addons? Probably from the blog post I imagine. Googeling around a bit it looks like both things are commonly used and i was unable to find any preference for one thing.
I noticed this while looking at the new args and --no-add-ons feels wired to me.
Also this PR "only" covers the public facing stuff. We should think about renaming our currently internal stuff to addons as well and potentially create a follow up. Especially in regard to the public facing API i think stuff like defineAdderOptions and defineAdder do not make much sense.

Add-on is correct!

--no-add-ons feels wired to me

We already use hyphenated flags elsewhere (--compiler-warnings, --diagnostic-sources etc) so I think it's fine to have another. (Though we do also have --preserveWatchOutput which should be updated to match the conventions everywhere else)

--compiler-warnings, etc. are replacing a space with a hyphen, which makes sense. I guess the question is if you start out with a hyphen, do you just remove it or leave it as a hyphen? I'm not opposed to --no-addons. It does look a bit nicer to me. But I agree that everywhere in text I would leave it as "Add-on", which is much more commonly used

great news, merging this caused https://github.com/sveltejs/svelte.dev/pull/729 to update. PRs will now automatically be created whenever docs changes are merged to main


Deployment automation

hey guys,
with this change, I:

deleted lots of old polymer stuff
added heroku deployment automation (since heroku git deployment was broken)
updated the readme accordingly

Lots of changes, i will have to check out your branch and test it out myself. I think that will be the best way.

Yeah the deletions cloud the PR a lot. Could split deletions into a
separate commit to make it easier to view
On Mon, Oct 8, 2018 at 11:28 PM Aashreya Shankar<EMAIL_ADDRESS>wrote:

Lots of changes, i will have to check out your branch and test it out
myself. I think that will be the best way.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/heartpoints-org/heartpoints.org/pull/21#issuecomment-428075435,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0qUZqk2hkHU4_965Y7oT9i7Mz-pd9Yks5ujEIOgaJpZM4XLlYu
.

--
Thanks!
Tommy


EC-0000 Update to Rebus 7

And the rest of the dependencies

NOTE: This will be tagged as v3.0.0 since Rebus 7 contains breaking changes.

This will be for Outbox/microservices. Monolith is still blocked by Autofac 🙈


v0.0.1 Release

Initial Release of Food for Thoughts

Model able to detect 54 classes of different food types
Supports running via python
Supports calling as a service via API

Please DO NOT merge for now, @new3980 is currently training a new model.


ValueError: not enough values to unpack (expected 2, got 1)

I am seeing following error message when I try to run afqbrowser-assemble.
Traceback (most recent call last):
  File "/usr/local/bin/afqbrowser-assemble", line 49, in <module>
    link=args.page_title_link, sublink=args.page_subtitle_link)
  File "/usr/local/lib/python3.6/site-packages/afqbrowser/browser.py", line 485, in assemble
    out_path=out_path)
  File "/usr/local/lib/python3.6/site-packages/afqbrowser/browser.py", line 258, in afq_mat2tables
    n_subjects, nodes_per_tract = vals[stats[0]].item()[0].shape
ValueError: not enough values to unpack (expected 2, got 1)

Here is the AFQ .mat file I am using

https://www.dropbox.com/s/1n0sgvvx2eklrs2/output.mat

I've created this output with following code
config.dtiinit  = '/mnt/scratch/testdata/dtiinit2';
sub_dirs = { [config.dtiinit '/dti'] };
sub_group = [1]; %0 = control 1 = patient
afq = AFQ_Create('run_mode', 'test', 'sub_dirs', sub_dirs, 'sub_group', sub_group, 'showfigs', 0);
[afq patient_data control_data norms abn abnTracts] = AFQ_run(sub_dirs, sub_group, afq);
save('output.mat', 'afq');

Maybe I should set sub_gruop to 0?

Do I understand correctly: you have only one subject in that matfile? I
think we don't currently cover that use-case, but maybe we should.
On Wed, Apr 11, 2018 at 2:59 AM, Soichi Hayashi<EMAIL_ADDRESS>wrote:

I am seeing following error message when I try to run afqbrowser-assemble.
Traceback (most recent call last):
File "/usr/local/bin/afqbrowser-assemble", line 49, in
link=args.page_title_link, sublink=args.page_subtitle_link)
File "/usr/local/lib/python3.6/site-packages/afqbrowser/browser.py", line 485, in assemble
out_path=out_path)
File "/usr/local/lib/python3.6/site-packages/afqbrowser/browser.py", line 258, in afq_mat2tables
n_subjects, nodes_per_tract = vals[stats[0]].item()[0].shape
ValueError: not enough values to unpack (expected 2, got 1)
Here is the AFQ .mat file I am using
https://www.dropbox.com/s/1n0sgvvx2eklrs2/output.mat
I've created this output with following code
config.dtiinit  = '/mnt/scratch/testdata/dtiinit2';
sub_dirs = { [config.dtiinit '/dti'] };
sub_group = [1]; %0 = control 1 = patient
afq = AFQ_Create('run_mode', 'test', 'sub_dirs', sub_dirs, 'sub_group', sub_group, 'showfigs', 0);
[afq patient_data control_data norms abn abnTracts] = AFQ_run(sub_dirs, sub_group, afq);
save('output.mat', 'afq');
Maybe I should set sub_gruop to 0?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yeatmanlab/AFQ-Browser/issues/270, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNnaTVVDkhr7hxz-Sq04fFpUyvtnyks5tnXGegaJpZM4TPTBU
.

Yes, I am only passing 1 subject right now. I am trying to use AFQbrowser to visualize a single subject's tract profiles. If that's not what AFQ browser is supposed to do, then I can probably pass some static data from another subject as a control, and use it to visualize the input subject (as a patient?) against? Would you recommend that route?

Turns out it wasn't too hard to make it work for a single subject. See #271 and screenshot below:

Closed through #271


Roll engine 1cada0a6dca6..f15cc3402938 (1 commits)

git@github.com:flutter/engine.git/compare/1cada0a6dca6...f15cc3402938
git log 1cada0a6dca6..f15cc3402938 --no-merges --oneline
2019-09-19<EMAIL_ADDRESS>Roll src/third_party/skia 18531cde2ab7..9a8b846baf43 (1 commits) (flutter/engine#12360)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5170527339020288 , https://cirrus-ci.com/task/4889052362309632 , https://cirrus-ci.com/task/5452002315730944

Commit queue failed; closing this roll.


Change to use tokenObject

Change-Id: Ic7556d98880bebf2de34f1d3327d718610414c0f

Coverage decreased (-20.6%) to 43.453% when pulling 98b6375c32b9dcc5560efca1594832402ba8d7c2 on rafinskipg:master into 0bd5cd75859982c7dae4b1091690d7ae7df22688 on bq:master.

Coverage decreased (-20.5%) to 43.584% when pulling fca597464d4bac9d0edde3993fc74b14fef660c2 on rafinskipg:master into 0bd5cd75859982c7dae4b1091690d7ae7df22688 on bq:master.


feat: add train_test_split

add train test split based on the functions in the tutorial.
Not sure if this is the right module for this utility function, I am open to all kids of recommendation.
Reference: https://engineeringfordatascience.com/posts/ml_repeatable_splitting_using_hashing/

Codecov Report
Attention: Patch coverage is 96.77419% with 1 line in your changes missing coverage. Please review.

Project coverage is 84.77%. Comparing base (3c2cc32) to head (acdcf48).

Files
Patch %
Lines

ibis_ml/utils/_train_test_split.py
92.85%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
+ Coverage   84.57%   84.77%   +0.19%
==========================================
  Files          24       26       +2
  Lines        1867     1898      +31
==========================================
+ Hits         1579     1609      +30
- Misses        288      289       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


APIs imported from APIM is disabled the right-click context menu pop-up

Description

az: 2.57.0
az apic-extension: 1.0.0b4
Azure API Center extension: v0.1.0
OS: Windows 11

Related to #29
After importing APIs from APIM through Azure CLI, it's not able to use the context menu by right-mouse clicking.
As you can see the screenshot, registering APIs directly from Azure Portal or Azure CLI makes the right-mouse-click context menu enabled. However, APIs imported from APIM doesn't.
Reproduction steps
Steps to reproduce the behavior:

Import APIs from APIM through Azure CLI
Right-mouse click on the API definition of the APIs imported from APIM
No context menu is popped-up

Expected behavior

The context menu should be displayed.

Actual behavior

The context menu doesn't get displayed.

This is a known issue that is fixed in our next Visual Studio Code extension release.
Thanks again for reporting!


fix stats.go on windows

I'm just returning empty stats on windows but at least it builds
We can add CPU/Disk stats later on when needed

So it looks like the only thing thats changing here is not calling syscall.Getrusage in the stats_windows.go file but there's significant code duplication for no reason.
It would be simpler to just check runtime.GOOS and if windows not attempt to use syscall.

True I will change it

Closing. Please create new PR for the change.


Jest testing libraries

Is your feature request related to a problem? Please describe.
Support for testing libraries. It is supported right now (swapping the builder in both parent project and library projects) but when you do a ng test it will run the main project and all sub projects immediately.
This is not an issue and that is how CLI works. The problem is that the CLI seems to terminate the JEST project in a weird way when moving to the next project. It complains with a:
Jest did not exit one second after the test run has completed.

This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.

Describe the solution you'd like
I tried the suggested command but it gives no feedback (but gets rid of the error). All tests works but the error doesn't help.
Describe alternatives you've considered
I tried the command but it seems to be there for debug purposes so I don't think it should be used all the time.

My guess is that you see this error because the CLI starts next project run without waiting for Jest process to finish. Thus the error.
As far as I've seen it doesn't affect the test results, so I'm not sure whether it is a real issue. Could you please elaborate on how exactly it interferes your work?

I tried the suggested command but it gives no feedback (but gets rid of the error). All tests works but the error doesn't help.

I'm not sure which command you're talking about, could you please elaborate?

I tried the command but it seems to be there for debug purposes so I don't think it should be used all the time.

Same here.

It does not interfiere with my work, but I am pretending to write a set of articles about testing (using Jest and this builder) and I would prefer if I don't have to say "You will get an error, ignore it" because it feels like I didn't do it correctly.
The command is running jest with --detectOpenHandles as the error suggest but it gives nothing back.


Run demos throw an error,I can not find the reason.

When I run the demo, terminal throw an error, my node verson is 0.11.0,it is lower?Please help me. I come form China, my English is poor, sorry~
$ ./scripts/watch-demo demos/nn-art/nn-art.ts
events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn node_modules.bin\watchify ENOENT
at exports._errnoException (util.js:1018:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3

Have you run 'npm run prep'?

Yes,I did.There are some Warn,but no error.Dependence looks like no problems.
v_yangtianjiao@6FD27AF4094B0D2 MINGW32 /d/learn/learn-js/deeplearnjs (master)
$ cnpm run prep

<EMAIL_ADDRESS>prep D:\learn\learn-js\deeplearnjs
npm install && bower install && mkdirp dist

npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current
: {"os":"win32","arch":"x64"})
npm WARN<EMAIL_ADDRESS>No license field.

Looks like you are using windows based on your path in logs D:\learn\learn-js\deeplearnjs
If that case, can you try running
$ ./scripts/watch-demo "demos\nn-art\nn-art.ts" (note the \ instead of /)
If that doesn't work try:
$ ./scripts/watch-demo "demos\nn-art\nn-art.ts" (note the \ instead of /)
And please let us know, so we can update your scripts and docs.

It does't work. My colleague'win7 has the same problem. It is maybe beacuse win7 env. Is my understanding is wrong?  Have you try it on win7?
v_yangtianjiao@6FD27AF4094B0D2 MINGW32 /d/learn/learn-js/deeplearnjs (master)
$ scripts\watch-demo "demos\nn-art\nn-art.ts"
bash: scriptswatch-demo: command not found

v_yangtianjiao@6FD27AF4094B0D2 MINGW32 /d/learn/learn-js/deeplearnjs (master)
$ scripts\watch-demo "demos\\nn-art\\nn-art.ts"
bash: scriptswatch-demo: command not found

v_yangtianjiao@6FD27AF4094B0D2 MINGW32 /d/learn/learn-js/deeplearnjs (master)
$ ./scripts/watch-demo "demos\\nn-art\\nn-art.ts"
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: spawn node_modules\.bin\watchify ENOENT
    at exports._errnoException (util.js:1018:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
    at Module.runMain (module.js:606:11)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:504:3

I am on win10 and facing same problem.
vikas.e.jain@BDC11-L-72000H0 MINGW64 ~/desktop/deeplearnjs (master) $ .\\scripts\\watch-demo demos\\complementary-color-prediction\\complementary-color-prediction.ts
events.js:182
throw er; // Unhandled 'error' event
^
Error: spawn node_modules.bin\watchify ENOENT
at _errnoException (util.js:1041:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19)
at onErrorNT (internal/child_process.js:374:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:611:11)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:598:3
npm -v
5.3.0
node -v
v8.4.0
 npm install && bower install && mkdirp dist
npm WARN<EMAIL_ADDRESS>No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

@JainVikas You can install bash for windows 10 and getting working 💯

@Hiwap , i was using Git bash for running this, will that be okay or should i use this https://msdn.microsoft.com/en-us/commandline/wsl/install_guide ?

I believe I found the problem, and an alright workaround for Windows users.
The problem stems from the scripts using nodejs's ChildProcess.spawn() command to execute other scripts in separate processes. There are known problems with using the spawn() command in windows (see here: Error: spawn ENOENT” on node.js?).
The solution I found was to use nodejs's ChildProcess.exec() instead. It buffers output from the scripts until completion and using exec is considered less safe, but they still run.
There was also a problem with paths having mixed slashes, so I went ahead and explicitly made them all posix style (using "/").
Attached are the windows versions of the build-demo and watch-demo scripts. Look them over to make sure they make sense before using them (remove the .txt and run using bash).
Let me know if you have any more troubles.
windows-build-demo.txt
windows-watch-demo.txt

This should be fixed now. Use bash on windows (git comes with git bash) :)


Wrong Password Operation Insufficient

The wrong password operation does little and there is no way to display an error text letting the user know the password was wrong.
public void wrongPassword() {
        progressBarSecond.setVisibility(View.GONE);
        layoutSecond.setVisibility(View.VISIBLE);
    }

I propose creating a text field that displays password errors, which can be passed as text to the wrongPassword(String errorMessage) method call

with your permission and details on how to make my contribution i would like too submit the PR for this


Remove duplicate code as suggested by @natebosch.

See https://github.com/flutter/flutter/pull/141821/files#r1462288131.

FWIW, I was wondering the same thing @Hixie was, but I didn't ask because I didn't think I would understand the answer :P

Btw, try to avoid tagging github users in pr title/bodies. If you do, every time someone pushes the generated commit to their personal fork, github will create a notification for that user.


ls: --l should output the same as --literal

#5025
I've fixed --l option to be a short cut for --literal.

Thanks :)


DroNet in the indoor environments

@antonilo Hi Antonilo,
I was reading your work, " Dronet: Learning to Fly by Driving", and trying to predict the steering and collision probabilities of indoor images. However, when I try to fly the UAV on AirSim, the UAV always stuck at the corner.
In addition, I was using the following code to predict a single image. The model and the best weights I used was from https://github.com/uzh-rpg/rpg_public_dronet. In addition, I tested the single image from Himax_Dataset-master/test_2/frame_26.pgm from https://github.com/pulp-platform/pulp-dronet/tree/master/dataset.
It's really good to test the outdoor images, but hard to get the correct results for indoor sceneries.
I saw the video from https://www.youtube.com/watch?v=ow7aw9H4BcA&feature=youtu.be, which you tested the DroNet in your lab. Does it can steer at the corner of your lab corner?
from PIL import Image
import utils
import numpy as np
import cv2

model = utils.jsonToModel("model/model_struct.json")
model.load_weights("model/best_weights.h5")
model.summary()

def central_image_crop(img, crop_width=150, crop_heigth=150):

    half_the_width = int(img.shape[1] / 2)
    img = img[img.shape[0] - crop_heigth: img.shape[0],
          half_the_width - int(crop_width / 2):
          half_the_width + int(crop_width / 2)]
    return img

def read_img():
    img = np.array(Image.open("./model/Himax_Dataset-master/test_2/frame_26.pgm"))
    cv2.imshow('', img)
    cv2.waitKey(0)
    img_central = central_image_crop(img, 200, 200)
    img_01 = np.asarray(img_central, dtype=np.float32) * np.float32(1.0/255.0)
    img_3d = np.expand_dims(img_01, axis=0)
    im_4d = img_3d[:, :, :, np.newaxis]
    return im_4d

im = read_img()
outs = model.predict([im])
steer, coll = outs[0][0], outs[1][0]
print("Steer angle= ", steer)
print("Collision prob= ", coll)

hi @Hugh-Chang,
The performance indoor is inferior to the performance obtained outdoor. I guess the drone would have problems with sharp turns. However, it can avoid obstacles when navigating in a straight corridor.


Support private key as authentication vs file?

I currently find the library to be a bit inconsistent when it comes to private keys. As a user I am left to write a key to file:
var Nexmo = require('nexmo');

var nexmo = new Nexmo({
    apiKey: 'key',
    apiSecret: 'secret',
});

nexmo.app.create(
  'First Voice App',
  'voice',
  'http://example.com/answer',
  'http://example.com/event',
  {},
  function(err, res) {
    var appId = res.id;
    var privateKey = res.keys.private_key;
    var privateKeyFile = __dirname + '/' + appId;
    require('fs').writeFileSync(privateKeyFile, privateKey);
  }
);

But then when I try to configure the library with a key it requires a filename and reads the file:
  nexmo = new Nexmo({
      apiKey: 'key',
      apiSecret: 'secret',
      applicationId: appId,
      privateKey: privateKeyFile
    });

I somehow think it would make a lot more sense for the initializer to just accept the key itself and not bother itself with reading from disc. This would also make it possible to create an app and then reinitialize the library in a few lines of code without having to write the key to disc.
Final note: I might want to save my API key somewhere else on the disk (another volume, database, etc) so having this option would be useful regardless.
Thoughts @leggetter @tjlytle ?

@cbetta I missed specifying this in the client spec (will add) but we ran into a similar conversation around the python library. I'll be updating the spec to read that the client libraries must accept the key as a string, and may provide a way to pass a filename. Reasoning is the former is possible regardless of how you store the key, the latter dictates storage that may be difficult or impossible depending on how you deploy your application.

Node supports Buffer or a string path at present.

@leggetter yet it does not support this:
var Nexmo = require('nexmo');

var nexmo = new Nexmo({
    apiKey: 'key',
    apiSecret: 'secret',
});

nexmo.app.create(
  'First Voice App',
  'voice',
  'http://example.com/answer',
  'http://example.com/event',
  {},
  function(err, res) {
    var appId = res.id;
    var privateKey = res.keys.private_key;

    nexmo = new Nexmo({
      apiKey: 'key',
      apiSecret: 'secret',
      applicationId: appId,
      privateKey: privateKey
    });
  }
);

What am I missing?

It doesn't support the key being passed as a string. Just:

String - path to file
Buffer - contents of key loaded into a buffer

The suggestion elsewhere has been to check the start of the string to see if it's the key. See https://github.com/Nexmo/nexmo-python/issues/12

@leggetter check, I just figured that out. I was going to suggest similar behaviour for the node library indeed.

Closed via #80


Error: Crashing too much, shutting down?

Why does this happen when I save the file too much?
Is there a way for this to go away? I just want supervisor to work without it crashing.
Thanks!

Give 0.2.0 a try, this issue should be resolved there.


If heading already has a anchor, keep that one instead of creating a new one

I prefer to manually create the anchors.
## [Title 3](#title-2)
your code will mark it as #title-3 in the toc, breaking the whole thing :)

Please do not delete issue templates. They help us help you. It again shows an enormous lack of appreciation of our time.
This project takes existing IDs.
remark-slug doesn’t overwrite existing IDs.
rehype-slug does not overwrite existing IDs either.
You are creating a link to title-2. Not an ID. GitHub creates a title-3 anchor too.


Add materialTheme field to ThemeData

Commit 2e94931 automatically adds a Material theme to the widget tree. However, this overrides any custom Material theme that might have been specified above the widget tree. Many apps might still use a mix of material and fluent_ui widgets. Now that a Material theme is always automatically added, allow a custom Material theme to be specified as part of fluent_ui.ThemeData with the optional materialTheme field.
If this field is not specified, the behavior is the same as before (it will generate a Material theme with the appropriate brightness based on the brightness of the fluent_ui theme).
Fixes #152.
Pre-launch Checklist

[X] I have run dartfmt on all changed files
[X] I have updated CHANGELOG.md with my changes
[X] I have run "optimize/organize imports" on all changed files
[X] I have addressed all analyzer warnings as best I could
[ ] I have added/updated relevant documentation
[X] I have run flutter pub publish --dry-run and addressed any warnings

Hello! Thanks for your contribution! Tho, I don't think adding a new property is the proper solution to the issue. Instead, I opened https://github.com/bdlukaa/fluent_ui/pull/155.


AppendTargetFrameworkToOutputPath and AppendRuntimeIdentifierToOutputPath

Extracted from #2642:

How to specify the build target directory/directories

AppendTargetFrameworkToOutputPath is useful for single-TFM projects for ppl converting from netfx to netstandard but don't want additional subdirectories in bin/[Configuration] to not break existing tooling.
Redirect output via OutputPath - there have been discussions about OutDir vs OutputPath

BaseOutputPath to move bin\ somewhere else entirely

Show workarounds for redirecting obj\ to somewhere else. This needs some more hacks since BaseIntermediateOutputPath needs to be set before(!) the imported SDK props so ideally in an Directory.Build.props file or using the explicit SDK import syntax instead of the project-level Sdk attrbute.
Maybe have an example of how to have two csproj file in the same directory for sharing source - e.g. https://github.com/SabotageAndi/NewCSProj/tree/master/MultipleProjecsInSameFolder
AppendRuntimeIdentifierToOutputPath

See https://github.com/dotnet/standard/issues/512#issuecomment-332291043 for info.

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

ID: 59d4dafc-2217-9a7b-4590-27faa85164cd
Version Independent ID: 64b80e80-1c15-c293-466a-918de98e96f6
Content: MSBuild properties for Microsoft.NET.Sdk - .NET Core
Content Source: docs/core/project-sdk/msbuild-props.md
Product: dotnet-core
GitHub Login: @gewarren
Microsoft Alias: gewarren

OutputPath and BaseOutputPath are core MSBuild properties and are documented here.

OutputPath and BaseOutputPath are core MSBuild properties and are documented here.


New version: CompilerSupportLibraries_jll v0.3.0+0

Autogenerated JLL package registration

Registering JLL package CompilerSupportLibraries_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/CompilerSupportLibraries_jll.jl
Version: v0.3.0+0

@staticfloat Do you want me to add you to the list of AutoMerge usernames so that these PRs get AutoMerged?

No, it’s fine to keep it manual-merge. I mostly use my own account when doing something that is tricky and should be checked at multiple steps.

Cool. I'll manually merge them as I see them.
If for some reason something shouldn't be merged, just comment so I know not to merge it.


Let people without Deno format the docs

This is done by adding the deno-bin npm package to the development dependencies. That way, everyone who runs npm install will also get a local Deno binary in their node_modules folder. This can in turn be used to format the docs without global Deno installation on the system.
Given the size of node_modules, this will hardly be noticed. Just TypeScript has almost twice the size of the Deno binary.

Was approved in #322.


Failed Apple Pay payment via Drop-in

I cannot make a test payment via Apple Pay Drop-in method.
And via Wallets Component ( after resolving issue: https://github.com/Adyen/adyen-web/issues/2073 )
In both cases I'm trying to use normal VISA and I've seen in tests that actually a Mastercard payment went through https://ca-test.adyen.com/ca/ca/accounts/showTx.shtml?pspReference=NGDTJJN49DQ2WN82&txType=Payment
The error message says: "Apple Pay Is Not Available For This Website" and disappears very fast. ( Had to record the screen to be able to see it )
App: Adyen Demo App https://github.com/Adyen/adyen-web
Account: Miinto242ECOM
Website: https://adyendemo.tarach.net/
Access:

user: adyen
pass: 123456

P.S. Issue was also reported to support and assigned ticked id 3761445
Thanks

@tarach I just tried again and the payment worked fine for me. I used an iOS test device that I have here, which has configured an Apple account with test cards. I opened your app in Safari browser, and then performed the payment.

Hi @tarach, can you please reach out to support to check this? It seems like your testing account isn't configured properly or some configuration is missing on your side. The payment is working fine for me and on the provided test environment. Cheers