async actions type refactoring

Description

Related issues:

Resolved #153

Checklist

[x] I have read CONTRIBUTING.md
[x] I have linked all related issues above
[x] I have rebased my branch

For bugfixes:

[ ] I have added at least one unit test to confirm the bug have been fixed
[ ] I have checked and updated TOC and API Docs when necessary

For new features:

[ ] I have added entry in TOC and API Docs
[ ] I have added a short example in API Docs to demonstrate new usage
[ ] I have added type unit tests with dts-jest
[ ] I have added runtime unit tests with dts-jest

Hey, thanks for your help although there are some issues with your PR.
https://github.com/piotrwitek/typesafe-actions/blob/master/CONTRIBUTING.md
point #2 is violated

Ok, sorry for violations and thanks for feedback

@maximelkin that's alright, thanks for trying to help, although for now, I would strongly suggest to not work on this feature as there is a significant amount of changes in the next branch (currently heavily WIP) that is not compatible with your PR, I suggest to wait with any work until it's unblocked.


Compiling arm gcc crashes on wsl 2 because virtual memory exhausted

Microsoft Windows [version 10.0.19041.264]
I have tried compile arm gcc for a personal project on wsl 2, but compilation crashes because this:
cc1plus: out of memory allocating 65536 bytes after a total of 3624960 bytes

cc1plus: out of memory allocating 259737 bytes after a total of 2277376 bytes
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
cc1plus: internal compiler error: Aborted
make[2]: *** [Makefile:2361: s-attrtab] Error 1
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory

I already have compiled same project on ubuntu and arch linux, but this is happening and i didn't find any issues of how solve this. It seems that wsl doesn't free memory allocated by program. Any help with this?

when that happens do free -h and post the output.

If your building with make -j dial it back to -j1 (or no -j) to start, and creep up from there. Compiling gcc doesn't actually take that much memory except for the link phase. Hovering around ~600-750MiB for me with one concurrent job.

Well, i put 12 gb on swap and now i think it's working, but now this is result of free -h:
total        used        free      shared  buff/cache   available
Mem:          3.8Gi       3.0Gi       542Mi       0.0Ki       351Mi       681Mi
Swap:          12Gi       4.9Gi       7.1Gi

Yes, i'm compilling with make -j4, i will try just make. Thanks.

Yeah 4GiB is cutting it pretty close for a -j4. Old trick: let it build with (say) -j4. Watch it run out of memory. Get over the hump with -j1 (usually a link phase). Then ctrl-c, and start it back up with -j4. Repeat. I've done that with chromium builds, which can take over 32GiB to link.
But in your case with 4gb, probably just -j2, cross fingers, and be patient. The different is not worth the dance. Don't let it swap if you can. Your patience will probably run out.


iOS tests: allow to customize the root frame size

https://github.com/facebook/react-native/blob/master/Libraries/RCTTest/RCTTestRunner.m#L114
this value is hardcoded but I would prefer to have a different size, I would like to have iPhone size for instance.

@facebook-github-bot label Icebox

@facebook-github-bot close

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/ios-tests-allow-to-customize-the-root-frame-size
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


use new lazy column animations for task disappearance and appearance

implemented with commit https://github.com/justdeko/piley/commit/217d32d0e375b97cd7f0c19c59980a10ae0e61d5


Revert "Add the AnalyticsPage to AppRTC."

Reverts webrtc/apprtc#63
Travis failed: https://travis-ci.org/webrtc/apprtc/builds

@milkypostman

@tkchin did something change in the last day that would cause something in the build to not be setting up the paths properly. I don't understand what is happening with this. third_party is setup properly in the build but now for some reason it's failing. It wasn't when I authored the CL.

This is the error:
======================================================================
ERROR: apprtc_test (unittest.loader.ModuleImportFailure)

ImportError: Failed to import test module: apprtc_test
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
module = self._get_module_from_name(name)

File "/usr/lib/python2.7/unittest/loader.py", line 230, in
_get_module_from_name
__import__(name)

File "/home/travis/build/webrtc/apprtc/out/app_engine/apprtc_test.py",
line 10, in
import analytics

File "/home/travis/build/webrtc/apprtc/out/app_engine/analytics.py",
line 14, in
import apiauth

File "/home/travis/build/webrtc/apprtc/out/app_engine/apiauth.py",
line 11, in
from apiclient import discovery

File "/home/travis/build/webrtc/apprtc/out/app_engine/third_party/apiclient/discovery.py",
line 52, in
from apiclient.errors import HttpError

File "/home/travis/build/webrtc/apprtc/out/app_engine/third_party/apiclient/errors.py",
line 27, in
from oauth2client.anyjson import simplejson

ImportError: No module named anyjson
On Fri, Feb 20, 2015 at 9:41 AM, Donald Ephraim Curtis <
<EMAIL_ADDRESS>wrote:

@tkchin https://github.com/tkchin did something change in the last day
that would cause something in the build to not be setting up the paths
properly. I don't understand what is happening with this. third_party is
setup properly in the build but now for some reason it's failing. It wasn't
when I authored the CL.
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/pull/86#issuecomment-75284920.

--
Jiayang Liu

:) i see that but before I pushed the changes I ran the python tests and they worked fine. now all of a sudden today it's not even working on that branch.

I mean, you can see it here: https://travis-ci.org/webrtc/apprtc/builds/51291408
Running tests on the same commit today causes issues. It's bonkers.

But there is no other commit between success and failure builds...
On Fri, Feb 20, 2015 at 9:47 AM, Donald Ephraim Curtis <
<EMAIL_ADDRESS>wrote:

I mean, you can see it here:
https://travis-ci.org/webrtc/apprtc/builds/51291408
Running tests on the same commit today causes issues. It's bonkers.
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/pull/86#issuecomment-75286005.

--
Jiayang Liu

Eh, now it has a bigger problem:
3.13s$ git fetch origin +refs/pull/86/merge:
fatal: Couldn't find remote ref refs/pull/86/merge
The command "eval git fetch origin +refs/pull/86/merge:" failed. Retrying,
2 of 3.
fatal: Couldn't find remote ref refs/pull/86/merge
The command "eval git fetch origin +refs/pull/86/merge:" failed. Retrying,
3 of 3.
fatal: Couldn't find remote ref refs/pull/86/merge
The command "eval git fetch origin +refs/pull/86/merge:" failed 3 times.
The command "git fetch origin +refs/pull/86/merge:" failed and exited with
128 during .
Your build has been stopped.
On Fri, Feb 20, 2015 at 9:49 AM, Jiayang Liu<EMAIL_ADDRESS>wrote:

But there is no other commit between success and failure builds...
On Fri, Feb 20, 2015 at 9:47 AM, Donald Ephraim Curtis <
<EMAIL_ADDRESS>wrote:

I mean, you can see it here:
https://travis-ci.org/webrtc/apprtc/builds/51291408
Running tests on the same commit today causes issues. It's bonkers.
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/pull/86#issuecomment-75286005.

--
Jiayang Liu

--
Jiayang Liu

I revert the revert, and the git fetch error is gone.
Verified locally that reverting Donald's change does not fix the error.
On Fri, Feb 20, 2015 at 9:56 AM, Jiayang Liu<EMAIL_ADDRESS>wrote:

Eh, now it has a bigger problem:
3.13s$ git fetch origin +refs/pull/86/merge:
fatal: Couldn't find remote ref refs/pull/86/merge
The command "eval git fetch origin +refs/pull/86/merge:" failed. Retrying,
2 of 3.
fatal: Couldn't find remote ref refs/pull/86/merge
The command "eval git fetch origin +refs/pull/86/merge:" failed. Retrying,
3 of 3.
fatal: Couldn't find remote ref refs/pull/86/merge
The command "eval git fetch origin +refs/pull/86/merge:" failed 3 times.
The command "git fetch origin +refs/pull/86/merge:" failed and exited with
128 during .
Your build has been stopped.
On Fri, Feb 20, 2015 at 9:49 AM, Jiayang Liu<EMAIL_ADDRESS>wrote:

But there is no other commit between success and failure builds...
On Fri, Feb 20, 2015 at 9:47 AM, Donald Ephraim Curtis <
<EMAIL_ADDRESS>wrote:

I mean, you can see it here:
https://travis-ci.org/webrtc/apprtc/builds/51291408
Running tests on the same commit today causes issues. It's bonkers.
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/pull/86#issuecomment-75286005.

--
Jiayang Liu

--
Jiayang Liu

--
Jiayang Liu


mvcc: log the mvcc key if default not found error happens

Signed-off-by: cfzjywxk<EMAIL_ADDRESS>What is changed and how it works?
Issue Number: Close #13655
What's Changed:
Log the mvcc key if the default not error happens. Usually, the next step is to locate the key region and
do an unsafe recovery, so mvcc key format logging is more convenient.

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test

Side effects
Release note
NONE

/merge


Tasks can't call other function

Hello,
I have a problem, I can't call other function in my tasks.
For example, the code beside doesn't work:
@background(schedule=60)
def test_hello():
    hello()

def hello():
    logger.debug('hello')

Is there a problem with my code? Or is it a limitation of the pluggin (I didn't see anything in the documentation about it)?
Thank you so much,

The issue is that your function hello() is not yet defined for the test_hello() yet, move your function up like this and everything will be fine
def hello():
    logger.debug('hello')

@background(schedule=60)
def test_hello():
    hello()


style: fix the closing menu animation is now smooth

Checklist

[x] Resolve issue/feat. n° #56
[ ] tests are included
[ ] documentation is changed or added
[ ] existing message properties have been updated with new phrases
[ ] new (i18n) language set have been added
[ ] improvement to make view conforms with WCAG 2.1 AA

Description of change
the closing menu animation is smooth now. 😉

Thanks! @ChristianMurphy


Add Effect Widget.

Add an Effect Widget to easily spot clips with effects in the otioviewer.
Center the source_name_label in the track. Before it was sitting at 1/3 of its height and would have partially overlap with the Effect widget.
Display the latest inclusive frame rather than the latest exclusive frame. Now the last frame number on a clip matches the frame number from the ruler.

Codecov Report

Merging #457 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #457      +/-   ##
==========================================
- Coverage   87.21%   87.12%   -0.09%
==========================================
  Files          67       67
  Lines        6819     6819
==========================================
- Hits         5947     5941       -6
- Misses        872      878       +6

Impacted Files
Coverage Δ

opentimelineio/adapters/fcp_xml.py
91.86% <0%> (-0.47%)
:arrow_down:

opentimelineio_contrib/adapters/fcpx_xml.py
93.28% <0%> (-0.47%)
:arrow_down:

opentimelineio_contrib/adapters/hls_playlist.py
90.68% <0%> (-0.31%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks @tdervieux!


Add reminder to urlencode() share tool page titles and URLs.

Jira
http://vjira2:8080/browse/WWWD-2826
Summary
Adds reminder to encode URLs to documentation.

@charginghawk would it help if we automatically passed all urls passed into the share component through the urlencode function internally (ie. inside the component's twig file itself)?
CC @remydenton

You don't want to run all URLs through urlencode() - there's one exception where it'd break the copy to clipboard functionality. You could theoretically slim down the schema to page title and URL, but it's fine as is right now, and maybe it's better to leave it flexible for what may come.

Sorry, I wasn't clear - the exception is for copy to clipboard, where you don't want to run the URL through urlencode(). You don't need to because the URL isn't a param on another URL, but also you get escaped characters that you can't actually enter into a address bar in a browser.
On the Drupal side, the URL and page title is run through urlencode() for everything except copy_to_clipboard.
/**
 * Implements hook_preprocess_HOOK().
 */
function pega_bolt_share_preprocess_pattern_share(array &$variables) {
  $request = \Drupal::request();
  $route_match = \Drupal::routeMatch();

  // Get the page title for the share tool.
  // @see https://drupal.stackexchange.com/a/193772/44595
  // @see pegawww_theme_preprocess_page()
  $page_title = urlencode(\Drupal::service('title_resolver')->getTitle($request, $route_match->getRouteObject()));

  // We have encode the URL so its params don't get interpreted as mailto's.
  // @see https://stackoverflow.com/questions/1455867
  $share_url = urlencode($request->getUri());

  $share_email_body = t("I saw this on Pega.com and thought you might find it interesting: @url", ['@url' => $share_url]);

  $variables['sources'] = [];
  $variables['sources'][] = ['name' => "facebook", 'url' => "https://www.facebook.com/sharer/sharer.php?u=" . $share_url . "&src=sdkpreparse"];
  $variables['sources'][] = ['name' => "twitter", 'url' => "https://twitter.com/intent/tweet?url=" . $share_url . "&text=" . $page_title . "&via=pega"];
  $variables['sources'][] = ['name' => "linkedin", 'url' => "https://www.linkedin.com/shareArticle?url=" . $share_url . "&title=" . $page_title];
  $variables['sources'][] = ['name' => "email", 'url' => "mailto:?subject=" . $page_title . "&body=" . $share_email_body];
  $variables['copy_to_clipboard'] = ['text_to_copy' => $request->getUri()];

  // Convert attributes to an object if not already.
  if (is_array($variables['attributes'])) {
    $variables['attributes'] = new Attribute($variables['attributes']);
  }
  // All share tools should hide on mobile, where the share tool in
  // page.html.twig appears.
  $variables['attributes']->addClass('u-hide@only-small');
}

A snag to putting it together in the Bolt template is that the $share_email_body uses $share_url in a not-completely-simple way, particularly when you take translation into account.

@charginghawk @christophersmith262 - does this apply now with base theme?

We still need this, this should be a documentation focus.


Haxe Highlighting bug

(Original issue 849 created by grisevg on 2013-02-19T11:35:27.494845+00:00)
Haxe lexer spots errors in valid Haxe code
https://gist.github.com/grisevg/4723322

(Original issue 849 last updated on 2013-05-19T09:47:32.411561+00:00)
(Issue automaticaly closed due to status in Bitbucket: wontfix)

(Original comment by birkenfeld on 2013-05-19T09:47:32.439034+00:00)
Gist is gone.  I've committed a refactoring of the Haxe lexer today; I hope that the snippet would work with it.


:construction: Test condalock trigger

Checking that the conda-lock-refresh GitHub Action is only triggered on Pull Request comments that starts with /condalock. I.e. the conditional logic at https://github.com/weiji14/conda-lock-refresh-demo/pull/4 is sound.

/condalock

/notcondalock

Nice, so comment https://github.com/weiji14/conda-lock-refresh-demo/pull/5#issuecomment-1691010085 with /condalock triggered the conda-lock-refresh workflow (see https://github.com/weiji14/conda-lock-refresh-demo/actions/runs/5959705752/job/16165866094), but comment https://github.com/weiji14/conda-lock-refresh-demo/pull/5#issuecomment-1691010433 which contained /notcondalock did not (see skipped workflow at https://github.com/weiji14/conda-lock-refresh-demo/actions/runs/5959708709), so the conditional logic from #4 worked!
In addition, this comment should not trigger a workflow, even if it does contain the trigger word /condalock, because the conditional check uses startsWith.


[Request] Filter Recipe by Category

The recipe listing is uncategorized right now and having the requested filter will help the user find what they need faster.

What category are you referring to, the tradeskill spec (mooncloth/spellcloth etc) or a particular slot an item equips in (hands/boots).
The search bar at the top will find a lot of things, although it requires the addon to process data from the server first so needs a few mins to get set up.

Maybe like a grouping of recipes. E.g Bag, Mail, Plate, Misc, Parts
Just the common category you see for the items. It doesn't have be per slot I think.

Anyway, its great to find this addon! Really helpful.

filterign by inventory slot and also consumable type have now been added


Interactive example does not work for MacOS

Thanos, Prometheus and Golang version used: latest,2.29,1.16

Object Storage Provider:
Local filesystem
What happened:
The interactive example, examples/interactive/interactive_test.go does not run for MacOS users.  The go test  command results in an error.
What you expected to happen:
The example should run without an error and the UI should open in a browser when it runs.
How to reproduce it (as minimally and precisely as possible):
Run make docker. Then run go test interactive_test.go -test.timeout=9999m in examples/interactive.

Anything else we need to know:

Hey @metonymic-smokey, would you mind posting what is the exact error you get?
AFAIK the interactive test has not been really tried on platforms other than Linux, but would be nice if we can make it work on MacOS as well.

@matej-g The error I got locally:
❯ go test interactive_test.go -test.timeout=9999m
# github.com/containerd/cgroups
/Users/yeya24/go/pkg/mod/github.com/containerd/cgroups@v1.0.1/memory.go:463:14: undefined: unix.Eventfd
/Users/yeya24/go/pkg/mod/github.com/containerd/cgroups@v1.0.1/memory.go:463:30: undefined: unix.EFD_CLOEXEC
/Users/yeya24/go/pkg/mod/github.com/containerd/cgroups@v1.0.1/utils.go:70:8: undefined: unix.CGROUP2_SUPER_MAGIC
/Users/yeya24/go/pkg/mod/github.com/containerd/cgroups@v1.0.1/utils.go:77:18: undefined: unix.CGROUP2_SUPER_MAGIC
FAIL    command-line-arguments [build failed]
FAIL

Hm it looks like we're hitting this https://github.com/containerd/cgroups/issues/19. The package is used in e2emonitoring in efficientgo/e2e. We will probably need to find a way to solve this in the upstream.
In the meantime, perhaps we have the tests without the monitoring endpoint, which would remove the dependency on e2emonitoring - which is nice-to-have but it is not essential for the interactive tests to run. WDYT?

In the meantime, perhaps we can have the tests without the monitoring endpoint, which would remove the dependency on e2emonitoring - which is nice-to-have but it is not essential for the interactive tests to run. WDYT?

SGTM!

If anyone MacOS user can confirm this works :slightly_smiling_face:  - https://github.com/thanos-io/thanos/pull/4726

I'll test this out tomorrow.
Thanks!
On Fri, 1 Oct 2021, 21:42 Matej Gera, @.***> wrote:

If anyone MacOS user can confirm this works 🙂 - #4726
https://github.com/thanos-io/thanos/pull/4726
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thanos-io/thanos/issues/4642#issuecomment-932364286,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALV2I52C6SIOACQ24FJ2JJ3UEXMVNANCNFSM5DR3BDXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Close now as it is fixed.


Change MassTransit.AzureServiceBus to support .netstandard

MassTransit.AzureServiceBus depends on WindowsAzure.ServiceBus which only supports .net framework.
Can we switch this dependency to use Microsoft's new package Microsoft.Azure.ServiceBus ??
If so I would be happy to help contribute a PR.

I guess you figured out there was a separate .NET core transport?

yea my bad.


Remove Cassandra PasswordDecrypter fix (tagged for 2.12) from high level release notes

detailed release note is correct :you tagged the tickets to 2.12 and it updated the detailed release notes. But there was a left over in the high level release notes.

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

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Run Website PreCommit

Run Website PreCommit

@aaltay the build is failing because of links tests: the wiki is under maintenance it currently answers http 503

Thank you.


Terminal colors

This PR:

Automatically detects whether the user is running in the command-line or in a notebook

When in a notebook, echo=True gives a pretty HTML display
When in the command-line, raw text is printed to stdout (no more <IPython.core.display.HTML object>!)

Uses ANSI color codes to color generated text

Green by default
If colored package is installed (added as optional dependency), colors will depend on log-probabilities of generated tokens

Thank you @dimondjik for your implementation!
In action:

@Harsha-Nori @dimondjik :)

So happy to see this! I think it looks wonderful.
Would appreciate @nopdive 's review given Sam's experience in notebook env detection
Also, just a thought -- might be fun to have the commit co-authored by @dimondjik if comfortable!

Could this be refactored? It looks like it has a potentially fragile regex for parsing out styling information, and is sitting as another stage in the pipeline.
Should Engine acquire another property such as output_processor which would be some abstract base class (or rather, some reasonable Python facsimile thereof). Wherever our current code writes some output, it calls the appropriate method on the class. We then have implementations of the output_processor for Python Notebooks, console output etc.
This would also let us put all the styling information in the output_processor itself, rather than have it scattered across the main codebase.

Could this be refactored? It looks like it has a potentially fragile regex for parsing out styling information, and is sitting as another stage in the pipeline.
Should Engine acquire another property such as output_processor which would be some abstract base class (or rather, some reasonable Python facsimile thereof). Wherever our current code writes some output, it calls the appropriate method on the class. We then have implementations of the output_processor for Python Notebooks, console output etc.
This would also let us put all the styling information in the output_processor itself, rather than have it scattered across the main codebase.

Reasonable concerns and a nice suggestion. It would be nice to encapsulate the existing pretty-output code regardless. I'll see what I can do 😎

So happy to see this! I think it looks wonderful.
Would appreciate @nopdive 's review given Sam's experience in notebook env detection
Also, just a thought -- might be fun to have the commit co-authored by @dimondjik if comfortable!

@Harsha-Nori do you know if it's possible to add a co-author during the squash-and-merge process? Otherwise, I really think that the first commit on this PR was 99.99% @dimondjik ... maybe I can amend the history of this branch to properly credit them as an author/contributor :)

Nice! First of all, I wasn't expecting it to get anywhere at all, I'm glad I could help!
@hudson-ai I thank you for the PR from all the people working in terminal and not seeing colors like Notebook people XD
I've read the thread and I absolutely 100% sure that @riedgar-ms 's suggestion is the way.
But, I live by the motto "don't touch something that works", so from my perspective trying to rewrite something in Engine, when we can just add extra layer (yes, it is making the output somewhat slow, sadly), so two and a half programmers can see colors in terminal when debugging. I believe in production - colors in terminal is not that important. And also I am too lazy to dig inside the code.

So here's my local version I was updating for myself:
`class ModelStateHTMLParser:
def init(self):
self.__prev_data_len = 0
    self.__ptr = (
        re.compile(r"<\|\|_html:([\S\s]+?)_\|\|>|([\S\s]+?)(?=<\|\|_html:|\Z)"))

    self.__color_param_ptr = (
        re.compile(r"rgba\(([0-9]+?\.??[0-9]*?),\s*?([0-9]+?\.??[0-9]*?),\s*?([0-9]+?\.??[0-9]*?)"))

def feed(self, data):
    data_trunc = data[self.__prev_data_len:]
    self.__prev_data_len = len(data)

    for res in self.__ptr.finditer(data_trunc):
        if res.group(1) is not None:
            try:
                r, g, b = [round(float(n)) for n in self.__color_param_ptr.search(res.group(1)).groups()]
                print('\033[38;2;{};{};{}m'.format(r, g, b), end='', flush=True)
            except AttributeError:
                print('\033[0m', end='', flush=True)
        if res.group(2) is not None:
            print(res.group(2), end='', flush=True)`

It uses colors from the html markdown dependency-less, just ANSI escape
Almost bulletproof regex for tag detection
Last length of the prompt is stored inside the class now, otherwise what's the point not making "feed" static

@hudson-ai I'm ready to push to terminal_colors, just give me the green light XD
Anyways, you guys are awesome, best wishess

Marked this as a draft, as there is clearly a good amount of work left to be done.
@dimondjik thank you for the additions! Definitely good to be careful about eating html tags produced by the model, and I like that this allows us to drop the dependency I added.
Also as a terminal user rather than a notebook user, I'm super excited about this 😆
Maybe the best way for us to collaborate is for you to open a PR to my branch? No need to be super formal or anything :)
I'd just ask that you return from feed rather than printing so that we can handle I/O further up the stack.

Codecov Report
Attention: Patch coverage is 87.17949% with 5 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@10fccd3). Learn more about missing BASE report.
Report is 2 commits behind head on main.

Files
Patch %
Lines

guidance/_utils.py
85.71%
4 Missing :warning:

guidance/models/_model.py
90.90%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #905   +/-   ##
=======================================
  Coverage        ?   57.47%
=======================================
  Files           ?       64
  Lines           ?     4736
  Branches        ?        0
=======================================
  Hits            ?     2722
  Misses          ?     2014
  Partials        ?        0

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

@nopdive re: colored/colorama, @dimondjik shared some code that should let us avoid adding a dependency at all (although I want to triple check for platform differences when it comes to ansi code support)


Add README template pathname

We want to allow users to specify a README template other than the default template currently defined in packs. The README_TODO file currently contains the following text:
Welcome to `#{pack_name}`!

If you're the author, please consider replacing this file with a README.md, which may contain:
  - What your pack is and does
  - How you expect people to use your pack
  - Example usage of your pack's public API (which lives in `#{pack_name}/#{ParsePackwerk::DEFAULT_PUBLIC_PATH}`)
  - Limitations, risks, and important considerations of usage
  - How to get in touch with eng and other stakeholders for questions or issues pertaining to this pack (note: it is recommended to add ownership in `#{pack_name}/package.yml` under the `owner` metadata key)
  - What SLAs/SLOs (service level agreements/objectives), if any, your package provides
  - When in doubt, keep it simple
  - Anything else you may want to include!

 README.md files are under version control and should change as your public API changes.#{' '}

See #{documentation_link} for more info!

Some organizations may want to use their own README template. This issue requested the ability to customize the README but was closed due to inactivity. With this change, users can define their own README template, README_TEMPLATE.md, in the project root or specify an alternative path in packs.yml.
Corresponding packs change: https://github.com/rubyatscale/packs/pull/165

[ ] TODO: tests
[ ] Bump version

Teal and I discussed this change. While this makes it very convenient to get the path for the README template, it's not necessary for the public API that this pack provides. If someone were using packs-specification but not packs, they wouldn't need this functionality. I'll move this code to either parse-packwerk or packs.


Module dependency checking & self Installation/Upgrade (redux)

This PR supersedes PR 481. I just created a new PR because the original contains some merge commits that I didn't want to commit on top of. This PR is a clean rebase on top of the latest master so it should fast-forward cleanly.

Reviewed, merged, and pushed to master - thanks!


Opencl opengl buffer

Previously added CL/GL interop core support & sample: added ogl::Buffer support.

This is exactly a tight pair of calls, not simple "create". They are just a prolog and epilog of a single operation, which is logically acts as co-routine for user action call inside it. The main function is "create", indeed. But I failed to find suitable names for "create prolog" and "create epilog". Can you propose a better names?

@vpisarev Vadim, what do you think about function names: acquireGLBuffer and releaseGLBuffer?

How about the names "create" and "destroy"? So, it's createFromGLBuffer. But destroy...what (destroyFromGLBuffer)?

My suggestion for API is:
// namespace cv::ogl
namespace ocl {

CV_EXPORTS UMat mapGLBuffer(const Buffer& buffer, int accessFlags = ACCESS_READ | ACCESS_WRITE);

CV_EXPORTS unmapGLBuffer(UMat& u);
// in implementation use this statement without any accessFlags parameter: cl_mem clBuffer = (cl_mem)u.handle(ACCESS_READ);

} // namespace ocl

Please squash commits into one:
git rebase -i HEAD~9

:+1:


jenkins: Use crowbar teaming (bonding) mode for some jobs

Our gating jobs are not using bonding for nics which is not an
realistic scenario in a real world deployment.
Change that and use bonding for the 4node linuxbridge jobs and for the
gating HA job.

I'm a bit uneasy about having gating jobs run with bonding, but in the end it's only 2 the 3 gating jobs. Should things go wrong we can always go back.

Did you have a testrun with these settings added manually?

Did you have a testrun with these settings added manually?

Not for all the jobs. I did test it some weeks ago manually. I think others used it, too.

follow-up cleanup: #2063


Reading in of several channels does not work for timeseries (on windows)

Also export to script does not work with channels

Saving the objects wit automatic filenames also does not work for {ch:} presumably due to special character ":"


[Whitelisting] Settings page design update

Any screenshots ready for viewing for these PRs?

Not quite finalised, will add in further PR

@Da-Colon Have some screenshots with nearly finalized Settings Pages implementation here https://github.com/decentdao/decent-interface/pull/2434


Update Readme with information regarding Mediation and SDKs

I have already spent many hours figuring this out and want to document what I have found out for others.
Mediation and SDKs
Mediation is provided via client side SDKs and requires the mediation packages installed in Android and iOS.
Example: Facebook Audience Network
Android: Edit the file build.gradle in ./android/app.  Add the following line to your dependencies
implementation 'com.google.ads.mediation:facebook:<IP_ADDRESS>'

iOS: Edit the Podfile in ./ios.  Add the following lines near the top of the file
pod 'GoogleUtilities'  # There is a dependency issue which this resolves
pod 'GoogleMobileAdsMediationFacebook'

This information changes from time to time and seems to be kept up to date at
https://developers.google.com/admob/ios/mediation/facebook
https://developers.google.com/admob/android/mediation/facebook
You may have additional steps to perform based on the "Step 4: Additional code required" sections.
Example: Adding addition SKAdNetworkIdentifier's for iOS
Note: For iOS tracking on iOS 14.5 and greater I used the packages app_tracking_transparency, version and device_info_plus with the following code in my main.dart.
  bool trackingEnabled = true;
  if (Platform.isIOS) {
    //FROM: https://pub.dev/packages/app_tracking_transparency
    var iosDeviceInfo = await DeviceInfoPlugin().iosInfo;
    var version = Version.parse(iosDeviceInfo.systemVersion);
    if (version >= Version(14, 5, 0)) {
      TrackingStatus status = await AppTrackingTransparency.trackingAuthorizationStatus;
      if (status == TrackingStatus.notDetermined) {
        status = await AppTrackingTransparency.requestTrackingAuthorization();
      }
      if (status != TrackingStatus.authorized) {
        trackingEnabled = false;
      }
    }
  }

  AdState? adState;
  if (!kIsWeb) {
    var initMobileAds = MobileAds.instance.initialize();
    adState = AdState(initMobileAds, trackingEnabled);
  }

My AdState trackingEnabled property is then used when creating my AdRequest.
2 cents worth.

Thank you @MattyBoy4444 , in my case, I have to add FBAEMKit to Podfile as well.
# Uncomment this line to define a global platform for your project
platform :ios, '10.0'

pod 'GoogleUtilities'
pod 'FBAEMKit'
pod 'GoogleMobileAdsMediationFacebook'

# The rest of Podfile

The documentation has been updated.


Adjust fuzzing configs to match what's in QuickJS

Description of the change
Adding some parameters to the Javy library crate's Config so we can set them to non-default values when fuzzing. Also updating the fuzzer to set those parameters. Also throwing any fuzzing inputs with more than 350 { characters.
Note that the fuzzer still crashes with out of memory errors with this change.
Why am I making this change?
We see out of memory errors when running the fuzzer continuously. This updates a few configs to match what's in QuickJS's fuzzer. I also don't try to run strings with more than 350 { characters because that trips the maximum stack size. We should consider investigating that further but I'd like to at least get the fuzzer running continuously.
Checklist

[x] I've updated the relevant CHANGELOG files if necessary. Changes to javy-cli and javy-plugin do not require updating CHANGELOG files.
[x] I've updated the relevant crate versions if necessary. Versioning policy for library crates
[x] I've updated documentation including crate documentation if necessary.

We never drop the runtime while fuzzing since they're inside mutable statics so the drops on the rquickjs runtime and context will never run during fuzzing anyway.
I did try switching to building a new runtime everytime and removing the manual drops and that seemed to slow down the memory growth but I was still seeing out of memory errors.

Actually trying that again with this branch, I get a hard crash on Assertion failed: (list_empty(&rt->gc_obj_list)), function JS_FreeRuntime, file quickjs.c, line 2002.. I'm guessing that's from the JSON functions still being in the gc_obj_list since that was what I saw with dump-leaks on the other PR.


File Dropzone "acceptFileTypes" Property - Drop Zone Accepts Anything

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have read the contributing guidelines

Describe the issue
DESCRIPTION
An issue with the File Dropzone element, specifically with the "accept-file-types" property. When a user drags files to upload their images and I have set accept-file-types=".jpg,.jpeg,.png", the user is still able to drag or select other types of files (.pdf, .docx, etc.). This causes the element to incorrectly count that a file has been uploaded. Additionally, if the "multiple" attribute is set to "false", even uploading a correct file type after "uploading"  an incorrect file type results in an error. Currently there is no logic in the onDrop handler to honor the setting.  So the drop zone accepts anything, while the file input only accepts the defined times. Moreover, this similar occurs when if a user chooses to "browse to upload", if the user decides to upload an incorrect file type then a similar error will occur.
DEMO
DEMO PARAMETERS
accept-file-types  = ".jpg,.jpeg,.png"
multiple = "false"
DEMOS
"Drag Files Here" Demo
https://github.com/user-attachments/assets/5c6fe0bc-6571-45f1-8094-44a360e73fae
"Browse to Upload" Demo
https://github.com/user-attachments/assets/d133c82d-bc7f-4a37-9207-246115098d83
Reduced test cases
No response
What operating system(s) are you seeing the problem on?
No response
What browser(s) are you seeing the problem on?
No response
What is the issue regarding ?
@trimble-oss/modus-web-components
What version of npm package are you using ?
V9.5.0
Priority
Medium
What product/project are you using Modus Components for ?
Viewpoint HR Management
What is your team/division name ?
Viewpoint HRIS
Are you willing to contribute ?
Yes
Are you using Modus Web Components in production ?
Yes

I am currently developing a solution for this issue.


Error processing request mining.submit [4] System.NullReferenceException: Object reference not set to an instance of an object.

Description
Error processing request mining.submit [4] System.NullReferenceException: Object reference not set to an instance of an object.
Steps to Reproduce

Mine a block on the testnet
Get paid

Reproduces how often
100%
Version
Release 20.
Additional Information
[2018-03-15 01:08:44.4743] [I] [PayoutManager] Processing payments for pool etc-testnet
[2018-03-15 01:08:44.9869] [I] [PayoutManager] Processing payments for pool etc-testnet, block 2129880
[2018-03-15 01:08:45.4613] [I] [PayoutManager] Processing payments for pool etc-testnet, block 2129881
[2018-03-15 01:08:45.6246] [I] [PayoutManager] Processing payments for pool etc-testnet, block 2129882
[2018-03-15 01:08:45.7660] [I] [PayoutManager] Processing payments for pool etc-testnet, block 2129884
[2018-03-15 01:08:45.8608] [I] [PayoutManager] No balances over configured minimum payout for pool etc-testnet
[2018-03-15 01:08:52.4329] [I] [StatsRecorder] Updating hashrates for pool etc-testnet
[2018-03-15 01:09:04.5310] [I] [etc-testnet] [Ethereum Job Manager] Submitting block 2129884
[2018-03-15 01:09:04.6999] [I] [etc-testnet] [Ethereum Job Manager] Daemon accepted block 2129884 submitted by 0xFaBA3be3b3De5469C3F6C6185150928F3773C7b4
[2018-03-15 01:09:04.7010] [I] [etc-testnet] [Pool] [0HLCA24DBD618] Share accepted: D=0.5
[2018-03-15 01:09:07.1834] [I] [etc-testnet] [Ethereum Job Manager] New block 2129886 detected
[2018-03-15 01:09:07.1841] [I] [etc-testnet] [Pool] Broadcasting job
[2018-03-15 01:09:07.7972] [I] [etc-testnet] [Pool] [0HLCA24DBD618] Share rejected: MinusOne
[2018-03-15 01:09:07.9377] [E] [etc-testnet] [Pool] [0HLCA24DBD618] Error processing request mining.submit [4] System.NullReferenceException: Object reference not set to an instance of an object.
   at MiningCore.Mining.PoolBase`1.ConsiderBan(StratumClient client, WorkerContextBase context, PoolShareBasedBanningConfig config) in /tmp/miningcore-0.20/src/MiningCore/Mining/PoolBase.cs:line 350
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnSubmitAsync>d__5.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 201
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnRequestAsync>d__11.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 301
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Stratum.StratumServer.<>c__DisplayClass14_0.<<OnReceive>b__0>d.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Stratum/StratumServer.cs:line 210    at MiningCore.Mining.PoolBase`1.ConsiderBan(StratumClient client, WorkerContextBase context, PoolShareBasedBanningConfig config) in /tmp/miningcore-0.20/src/MiningCore/Mining/PoolBase.cs:line 350
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnSubmitAsync>d__5.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 201
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnRequestAsync>d__11.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 301
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Stratum.StratumServer.<>c__DisplayClass14_0.<<OnReceive>b__0>d.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Stratum/StratumServer.cs:line 210
[2018-03-15 01:09:08.5571] [I] [etc-testnet] [Ethereum Job Manager] Submitting block 2129884
[2018-03-15 01:09:08.5741] [I] [etc-testnet] [Ethereum Job Manager] Daemon accepted block 2129884 submitted by 0xFaBA3be3b3De5469C3F6C6185150928F3773C7b4
[2018-03-15 01:09:08.5741] [I] [etc-testnet] [Pool] [0HLCA24DBD618] Share accepted: D=0.5
[2018-03-15 01:09:53.5850] [I] [etc-testnet] [Pool] [0HLCA24DBD618] VarDiff update to 0.38
[2018-03-15 01:09:59.5855] [I] [etc-testnet] [Ethereum Job Manager] New block 2129887 detected
[2018-03-15 01:09:59.5855] [I] [etc-testnet] [Pool] Broadcasting job
[2018-03-15 01:10:28.7856] [I] [etc-testnet] [Ethereum Job Manager] New block 2129888 detected
[2018-03-15 01:10:28.7856] [I] [etc-testnet] [Pool] Broadcasting job
[2018-03-15 01:10:35.3218] [I] [etc-testnet] [Pool] [0HLCA24DBD618] Share rejected: MinusOne
[2018-03-15 01:10:35.3218] [I] [etc-testnet] [Pool] [0HLCA24DBD618] Share rejected: MinusOne
[2018-03-15 01:10:35.3218] [I] [etc-testnet] [Pool] [0HLCA24DBD618] Share rejected: MinusOne
[2018-03-15 01:10:35.3249] [E] [etc-testnet] [Pool] [0HLCA24DBD618] Error processing request mining.submit [4] System.NullReferenceException: Object reference not set to an instance of an object.
   at MiningCore.Mining.PoolBase`1.ConsiderBan(StratumClient client, WorkerContextBase context, PoolShareBasedBanningConfig config) in /tmp/miningcore-0.20/src/MiningCore/Mining/PoolBase.cs:line 350
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnSubmitAsync>d__5.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 201
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnRequestAsync>d__11.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 301
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Stratum.StratumServer.<>c__DisplayClass14_0.<<OnReceive>b__0>d.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Stratum/StratumServer.cs:line 210    at MiningCore.Mining.PoolBase`1.ConsiderBan(StratumClient client, WorkerContextBase context, PoolShareBasedBanningConfig config) in /tmp/miningcore-0.20/src/MiningCore/Mining/PoolBase.cs:line 350
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnSubmitAsync>d__5.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 201
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnRequestAsync>d__11.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 301
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Stratum.StratumServer.<>c__DisplayClass14_0.<<OnReceive>b__0>d.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Stratum/StratumServer.cs:line 210
[2018-03-15 01:10:35.3249] [E] [etc-testnet] [Pool] [0HLCA24DBD618] Error processing request mining.submit [4] System.NullReferenceException: Object reference not set to an instance of an object.
   at MiningCore.Mining.PoolBase`1.ConsiderBan(StratumClient client, WorkerContextBase context, PoolShareBasedBanningConfig config) in /tmp/miningcore-0.20/src/MiningCore/Mining/PoolBase.cs:line 350
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnSubmitAsync>d__5.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 201
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnRequestAsync>d__11.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 301
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Stratum.StratumServer.<>c__DisplayClass14_0.<<OnReceive>b__0>d.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Stratum/StratumServer.cs:line 210    at MiningCore.Mining.PoolBase`1.ConsiderBan(StratumClient client, WorkerContextBase context, PoolShareBasedBanningConfig config) in /tmp/miningcore-0.20/src/MiningCore/Mining/PoolBase.cs:line 350
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnSubmitAsync>d__5.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 201
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnRequestAsync>d__11.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 301
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Stratum.StratumServer.<>c__DisplayClass14_0.<<OnReceive>b__0>d.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Stratum/StratumServer.cs:line 210
[2018-03-15 01:10:35.3249] [E] [etc-testnet] [Pool] [0HLCA24DBD618] Error processing request mining.submit [4] System.NullReferenceException: Object reference not set to an instance of an object.
   at MiningCore.Mining.PoolBase`1.ConsiderBan(StratumClient client, WorkerContextBase context, PoolShareBasedBanningConfig config) in /tmp/miningcore-0.20/src/MiningCore/Mining/PoolBase.cs:line 350
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnSubmitAsync>d__5.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 201
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnRequestAsync>d__11.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 301
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Stratum.StratumServer.<>c__DisplayClass14_0.<<OnReceive>b__0>d.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Stratum/StratumServer.cs:line 210    at MiningCore.Mining.PoolBase`1.ConsiderBan(StratumClient client, WorkerContextBase context, PoolShareBasedBanningConfig config) in /tmp/miningcore-0.20/src/MiningCore/Mining/PoolBase.cs:line 350
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnSubmitAsync>d__5.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 201
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<OnRequestAsync>d__11.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Blockchain/Ethereum/EthereumPool.cs:line 301
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Stratum.StratumServer.<>c__DisplayClass14_0.<<OnReceive>b__0>d.MoveNext() in /tmp/miningcore-0.20/src/MiningCore/Stratum/StratumServer.cs:line 210

check your config, do you have following config under your pool configuration?
            "banning": {
                "enabled": true,
                "time": 600,
                "invalidPercent": 50,
                "checkThreshold": 50
            },

Yes, of course. By the config wiki, banning has renamed.
"shareBasedBanning": {
            "enabled": true,
            "time": 600,
            "invalidPercent": 50,
            "checkThreshold": 50
        },

"banning": {
                "enabled": true,
                "time": 600,
                "invalidPercent": 50,
                "checkThreshold": 50
            },

This is the correct config.

Ok, I will test this config. Meanwhile, PLEASE update the config wiki - it says shareBasedBanning there.

`"banning": {
// "integrated" or "iptables" (linux only - not yet implemented)
"manager": "integrated",

"banOnJunkReceive": true,

"banOnInvalidShares": false

},
"shareBasedBanning": {
  "enabled": true,

  // How many seconds to ban worker for
  "time": 600,

  // What percent of invalid shares triggers ban
  "invalidPercent": 50,

  // Check invalid percent when this many shares have been submitted
  "checkThreshold": 50
},

`
in  config wiki

I'm still waiting @oliverw to update on #274, which will solve most problems you have

Closing due to inactivity.


Is there any way to stop geocomplete from populating all the fields with detailsAttribute set to "geo-data"

I've a situation where my pre-populated form displays repeating fields with the same detailsAttribute = "geo-data". If I change any of value in these fields, geocomplete runs through the entire form and fills in the same value in all other fields. There doesn't seem to be a way to prevent this!
Would really appreciate if someone could suggest a fix. I've already spent almost 3 days on this!

Just to be more descriptive : -
[+] [-] are buttons that add or delete field, each with geo-data="locality"
[New York] [+] [-]
[Paris] [+] [-]
[Kolkata] [+] [-]
If I change, New York to "Kassel, Germany", then Paris and Kolkata would automatically get updated to "Kassel".  I need a way to tell geocomplete to populate only the field that's meant to be changed.


Import error in Firefox dev mode

Describe the bug
in Dev mode only in Firefox browser.
SyntaxError: import declarations may only appear at top level of a module [mainWorker.js:1] mainWorker.js?worker_file:
import '/node_modules/vite/dist/client/env.mjs'
Reproduction
https://stackblitz.com/edit/vitejs-vite-bdfyfw?file=package-lock.json,.env,main.js&terminal=dev
System Info
Windows, Firefox v102.0b8

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

reproduction was added


OnNotificationOpen callback does not work when the application is background

My callback function does not work when the app is background. When is foreground, it's ok.
Client-side
window.FirebasePlugin.onNotificationOpen(function(notification){
alert(JSON.stringify(notification));
}, function(error) {
alert("Erro: "+error);
// console.error(error);
});

The same problem here

You need to attach the callback again on the resume application event.

try with this pull req: https://github.com/arnesson/cordova-plugin-firebase/pull/123


Srcleanup

These changes are designed to ease the transition from 4x4 to 8x8 fabric; instead of just "make" the default in this new travis script is "make CGRA_SIZE=4x4" and for the transition this will simply change to "make CGRA_SIZE=8x8" and all the right things should happen.
Also I implemented an "after-script" summary of what passed and failed, so people can just look to see that at the very end of the travis log instead of searching through to see what happened.

Looks good to me, feel free to merge! Thanks for your hard work on this!


On AMD Ryzen CPU, OpenCL app runs faster when the CPU is not idle

System: Ubuntu 17.10, CPU Ryzen 1700x, Rx Vega64, ROCm 1.7.
case 1: the CPU is idle, save for the OpenCL app which is not using much CPU.
case 2: the CPU is busy, used by mprime https://www.mersenne.org/download/ , which runs with nice -20.
In case 2 (CPU busy), the measured performance of the OpenCL app is about 1.5% faster than in case 1 (CPU idle).

We found out why this has to do with how long it takes the CPU to come out of deep sleep,  we finding we even have manage C-state during transfers


Expand DMS format and fix sec rounding logic

re:#5144
try to let  45°,90°0'0.5" display as 45°,90°0'1"
precision error explain:
if the sec input is 0.5 ,after calculating it will not equal 0.5 but 0.499999999829015,
my soloution is  round it  by 10e-8 to fix it to 0.5
and do the origin display round 0.5=>1
new format
|35  11  10.1 , 136  49  53.8|| D M SS|
|35  11.168 , 136  49.896||D MM|
zoom center loc always use the user input ,
dont matter how display rounding and show,
always center correct.

Thanks for the additional test cases!


fix: support browsers without globalThis

Fixes https://github.com/netlify/netlify-react-ui/issues/7341

I'm looking into the tests failures - it seems older versions of Chromium fail with certificate errors when running in headless more, see https://github.com/puppeteer/puppeteer/issues/2377

I ended up removing the old Chromium version test - we still have this scenario covered in the old Firefox test.


View UI as user

Feature Request
Feature Information:
AMP should have "view as user" option, kinda like Discord's "view server as role" option, that would make setting up permissions a lot easier.
I confirm:

[x] that I have searched for an existing feature request matching the description.
[x] that my checkboxes above look like the one on the left (remove this line when done)

Closing as duplicate https://github.com/CubeCoders/AMP/issues/740


Adding time profiler to BLF.

Hi @G-Cervettini, please follow the modifications of https://github.com/robotology/walking-controllers/pull/164. We noticed that the clock function may give weird outputs.

Thank you @G-Cervettini, I applied the clang-format and removed the std::cerr from the code.
Thank you for spending time porting this feature in BLF ❤


weex init project_name failed

weex init project_name
Invalid project name:
是否 init 命令已经取消了?

取消了

Please use weex create command.

still failed
** BUILD FAILED **
The following build commands failed:
Check dependencies
Write auxiliary files
(2 failures)

<EMAIL_ADDRESS>install /Users/Codeliu/Desktop/WeexTest/listlist/node_modules/fsevents
node install

[fsevents] Success: "/Users/Codeliu/Desktop/WeexTest/listlist/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

<EMAIL_ADDRESS>postinstall /Users/Codeliu/Desktop/WeexTest/listlist/node_modules/uglifyjs-webpack-plugin
node lib/post_install.js


Help needed, changing  privileged port from 80 to 6246 in CA Docker

Hi, Im still fairly new to Docker and had been running this in UnRaid through the Community App store.
The latest update killed my web UI for me and I saw the changelog about the privileged port changing, but I am unsure of where I would update this in the Docker Image settings in the UnRaid UI.
Thanks for any tips or help, love this app so far!

Hey, there’s this pinned GitHub discussion with Unraid’s upgrade instructions:
https://github.com/jorenn92/Maintainerr/discussions/851

Very nice, thanks for the help!


Persist output from gliffy mass migration somewhere.

Persist the output from each gliffy mass migration run. Would need to consider whether is best to do this. We don't file anything to the server currently, but finding a confluence space with the right permissions would be tricky, too.
DID-9992

Added

Added in 22.1.22


[CARBONDATA-3889] Enable scala check style

Why is this PR needed?

scala style checking is not working during compile and IntelliJ IDEA does not use the scala style config in the dev folder.
Intellij IDEA sort import with different order

What changes were proposed in this PR?

move scalastyle-config.xml to the parent project folder.
a) IntelliJ IDEA will show the style error during coding.
b) Fix scala style issue which the scala style checking report during maven compile.
change java-code-format-template.xml to sort import as Scalastyle.

Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/3720/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1981/

LGTM

LGTM

LGTM

Thanks for your contribution!

Thanks for your contribution!


Expand help documentation

Typing svgtoppt -h should provide more information about how to use flags.

Commit: 0f233b6b9b5a39ae3038221dbf6788487154b8d5


Replace dodoc with docgen

Description
As dodoc proved to result in some unexpected results and seems to have been abandoned, it was replaced with docgen and the documentation has been regenerated.
A thing to consider is that docgen doesn't generate the documentation for inherited functions and errors, so the documentation is not as extensive. On the other hand, it does generate docs for internal functions (which is really useful for more advanced implementations).
I'll mark this as a draft and explore alternative options and configurations.
Actions

Replaced dodoc with docgen
Regenerated documentation
Updated documentation of VERSION in Core
Updated prepare script to use docgen

Checklist

[x] Verified code additions
[x] Updated NatSpec comments (if applicable)
[x] Regenerated docs
[x] Ran prettier
[N/A] Added tests to fully cover the changes

I've spent the weekend mulling over the pros and cons of both.. I think that docgen's inability to render the full documentation of the contract (it only renders documentation for the functions that are contained within the file, but doesn't include the inherited functions/errors/..) is worse than a few undefined values.
I've tried finding a maintained documentation generator, but there seems to be none. Another thing to note is that the dodoc only seems to have issues with custom input parameters; namely custom structs. I'll see if I can identify the issue and rectify it within the package. If this works, we would have our own, arguably the best, documentation generator. If not, we will have to decide which pains us less and use that one.

I agree on undefined being less of a problem. If we manage to find and fix the issue we can PR the dodoc repo. What's it written in?

Upon weighing pros and cons of both, we decided to keep dodoc as our documentation generator.


"Mureș" county is listed in the drop-down menu

Description:
"Mureș" county appears in the drop-down menu list alongside the rest of the counties in Romania according to law
Precondition:
The website is up an running.

Step 1
Click on the search bar.

Expected results
The counties appears in the drop-down menu.

Step 2
Scroll down the list

Expected results
The county appears in the drop-down menu as "Mureș".


Fix small bug in LoadGenesis()

Codecov Report

Merging #631 (bfe6a01) into develop (c4adb48) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #631   +/-   ##
========================================
  Coverage    52.93%   52.93%
========================================
  Files           22       22
  Lines         3206     3206
========================================
  Hits          1697     1697
  Misses        1292     1292
  Partials       217      217

Impacted Files
Coverage Δ

idb/postgres/postgres.go
48.71% <100.00%> (ø)

Continue to review full report at Codecov.

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


Don't ignore "/N", "/S", "/E", "/W"

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 47.835%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
499

Relevant Lines:
974

💛  - Coveralls


Added content validation test csv file

aiopenscale/tracker#36470

Closing since it is a duplicate of https://github.ibm.com/aiopenscale/notebooks/pull/52


Datepicker range calendar cannot be controlled with arrow keys

Environment

Operating system
macOS Mojave 10.14.3

Browser
Firefox 65.0.1

Detailed description

What version of the Carbon Design System are you using?
carbon-components-react 6.106.3

What did you expect to happen?
After tabbing into the datepicker range inputs, I expect to navigate inside the calendar with the arrow keys.

What happened instead?
Instead, I found that when trying to use the arrow keys, there is some kind of focus state that appears around the calendar itself, but then the arrow keys don't do anything else.

What WCAG 2.1 checkpoint does the issue violate?
Success Criterion 2.1.1 Keyboard: All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user's movement and not just the endpoints.
https://www.w3.org/TR/WCAG21/#keyboard

Steps to reproduce the issue

Visit the Carbon-Components-React storybook
Navigate to the Datepicker range option
Use your tab key to focus onto the datepicker input
Attempt to use the arrow keys to navigate the popup calendar.

I'm posting the issue here and not directly to Flatpickr because the issue doesn't arise until the Carbon implementation: the Flatpickr example handles keyboard accessibility well: (https://flatpickr.js.org/plugins/#rangeplugin-beta) I can see in the source code that Carbon adds a bit of extra functionality onto the Flatpickr dependency. I think the issue might be found there.
Note: I checked the experimental v10 component page here, too (https://next.carbondesignsystem.com/components/date-picker/code) and the issue exists there as well.

The addKeyboardEvent method handles of focus of the calendar with a down arrow and capturing of the keyboard events for date selection. You're incorrect about this being the source of the issue.
The issue you're describing comes from the configuration option allowInput. There are three existing issues tracking this bug on Flatpickr's end:

When allowInput=true and appendTo, left & right arrow keys prevented in the field #1688
Keyboard navigation with allowInput set to true doesn't work as expected #1329
Keyboard/focus accessibility issues #1236

If you disable the ability for the user to manually input the date by removing allowInput: true from our Flatpickr config you'll see the expected keyboard navigability.
That said I'm working on a short-term solution on our end until we can get this issue resolved in Flatpickr.

Thanks for the explanation @dak! I see now the difference between these 2
modes toggled by the allowInput property. And I see now why the carbon
storybook behaves differently than the instance on the Flatpickr examples
page. Do you know, is the allowInput configuration prop exposed to
consumers of carbon-components-react? It might be a worthwhile compromise
on our end, to simply toggle the option off and regain keyboard calendar
navigation.
Anyway, It's a really interesting issue and I'm curious to see it resolved
in some way. If you want to collaborate on your next steps / short term
solution in anyway, I'd love to lend a hand.
On Thu, Mar 14, 2019, 12:57 PM DAK<EMAIL_ADDRESS>wrote:

The addKeyboardEvent method handles of focus of the calendar with a down
arrow and capturing of the keyboard events for date selection. You're
incorrect about this being the source of the issue.
The issue you're describing comes from the configuration option allowInput.
There are three existing issues tracking this bug on Flatpickr's end:

When allowInput=true and appendTo, left & right arrow keys prevented
in the field #1688 https://github.com/flatpickr/flatpickr/issues/1688
Keyboard navigation with allowInput set to true doesn't work as
expected #1329 https://github.com/flatpickr/flatpickr/issues/1329
Keyboard/focus accessibility issues #1236
https://github.com/flatpickr/flatpickr/issues/1236

If you disable the ability for the user to manually input the date by
removing allowInput: true from our Flatpickr config you'll see the
expected keyboard navigability.
That said I'm working on a short-term solution on our end until we can
get this issue resolved in Flatpickr.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IBM/carbon-components-react/issues/2011#issuecomment-472989955,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AILRO2pV4Ul21dW7LDsdKqbAQVVWdaDoks5vWo2ggaJpZM4btoyw
.

I'm going to close this out. There are keyboard controls -- they're just not particularly great or documented well. We'll need to work on making the left and right arrows control the months change as well as a few other improvements, but that's been captured elsewhere. 🐬


navicat-for-postgresql sha256 mismatch

Can't install navicat-for-postgresql, it fails with following:
==> Downloading http://download.navicat.com/download/navicat111_pgsql_en.dmg
######################################################################## 100.0%
==> Note: running "brew update" may fix sha256 checksum errors
Error: sha256 mismatch
Expected: b0f0bf0a70f4399bdf66d683a83749aa85a1e17b183249ac690d32be9e9c4500
Actual: 825ac85ecbe2d1df43dd2b7ba94fea625ae3468fc73459cc56bab0206472affd
File: /Library/Caches/Homebrew/navicat-for-postgresql-11.1.15.dmg
To retry an incomplete download, remove the file above.

Tried updating brew/brew cask, removing cache and re-installing it - didn't help ;(

Fixed in https://github.com/caskroom/homebrew-cask/pull/15614. Update and remove cache and you should be good to go.
You're more than welcome to open a PR next time, program updates like this are generally a very quick fix and we're here to help if you get stuck!

Thanks, i'll next time ;)


how can I upload check item to firebase?? please help !!

I want to upload selected photo or video to firebase ..how can I do this??? I can't find uri of  selected photo...

You can get the file path.
Album.
    ...
    .onResult(new Action<ArrayList<AlbumFile>>() {
        @Override
        public void onAction(@NonNull ArrayList<AlbumFile> result) {
            AlbumFile  file = result.get(0);
            String path = file.getPath();
            // TODO upload...
        }
    })

I want Uri how can I get it .......(Or how can I convert it to uri)


Being able to paste MolFile in JSDraw in monomer manager

Currently, we have access only to paste MolFile in JSDraw but when adding new monomers, it would be useful to be able to paste a structure using MolFile as well. Unless adding monomer directly in the backend, the user currently have to redraw the structure of their monomer.

Sorry, just noticed the import dropdown.


NO_PATH_MATCHED_ERROR - But Path is Loaded on Start

Introduction
Hey there! I am VERY excited about Prism as it seems to really solve a corner case for Open API and testing!
I'm hoping someone can provide insight into why this is failing.
Describe the bug
I have a path that is decomposed into a separate file, and it loads perfectly fine. However, when I try to test it I keep receiving NO_PATH_MATCHED_ERROR
To Reproduce

First I have the top level API defined like this

---
openapi: '3.0.2'

info:
    title: Example
    description: An example for Prism

servers:
    - url: http://localhost:8080
      description: Local deployment from your computer

paths:
    /api/users/:userid: { $ref: './paths/users/single_user.yaml' }

Next I have the path defined like this

---
delete:
    summary: Delete User
    description: Delete User's Record
    parameters:
        - in: path
          name: userid
          required: true
          description: The id of the user
          schema:
              type: string
              example: e8cfdd68-aa6a-11ea-b2fd-acde48551122
    tags: [Users]
    responses:
        204:
            description: Successfully deleted the specified project
        400:
            description: Failed to delete user's record
            content:
                application/json:
                    schema:
                        type: object
                        properties:
                            message:
                                type: string
                                example: unable to delete user information with active status

Next I start the server, which looks like this, and says it found the path

And finally I open Postman to run and test this configurations, but all I get are errors

Expected behavior
I expect this path to be hit as it's been loaded and I'm matching all the configurations correctly
Additional context
Environment (remove any that are not applicable):

Prism: 4.1.2
OS: MacOS 10.15.17
Platform: desktop

Closing Comments
I really love the library and would really appreciate clarification on what I'm doing wrong!

Shameless bump for insight 😂

Shameless bump for insight 😂

Hello! Does anyone have insight on where I'm goofing?

Hello! Does anyone have insight on where I'm goofing?

Hello!
This issue is blocking my organization's adoption of Prism.
Do you have any guidance on how to resolve this?

Hello!
This issue is blocking my organization's adoption of Prism.
Do you have any guidance on how to resolve this?

Hello!
Apologies for repeatedly reaching out. I would love to assist in solving this!
Please provide guidance on how to fix this and I'm more than happy to submit the merge request :)

Hello!
Apologies for repeatedly reaching out. I would love to assist in solving this!
Please provide guidance on how to fix this and I'm more than happy to submit the merge request :)


feature: Support in jsx or tsx files.

Can it be supported to use in jsx or tsx files ?

It's quite hard because it needs some kind of bundler like vite. But I will look into it.

Thank you for your time. It has helped in using it when I'm working in the backend so having similar help in frontend would be helpful too.


Carousel In testimonial

Describe the new feature
We can add carousel in testimonial section.

Additional context
Assign this under GSSOC'24

I don't think this will be required. WDYT @ShashankShekhar07?


Fix wrong column name.

entity column should be named entity_id. FYI @peng-yongsheng

Relate to #1710

Coverage remained the same at 14.24% when pulling 76ee0612a0791db9a1817f5af797ea5feb3cc7ba on fix-generation into 065a384f1034795a58ad39c5a9fd2e416f89adb7 on master.


using Do(E.either) results in "deprecated" warning

🐛 Bug report
Current Behavior
Using the Either type with the Do notation is marked as deprecated with the message "Use small, specific instances instead."
Do(E.either) // <-- `either` is marked deprecated
  .bind("name", value)
  .return(({name}) => ({out: name}));

Expected behavior
It has no compiler warnings or errors.
Reproducible example
See above
Suggested solution(s)
Should either really be deprecated, or is there an alternate "smaller" type that we can use in these places?
Additional context
n/a
Your environment
Which versions of fp-ts-contrib are affected by this issue? Did this work in previous versions of fp-ts-contrib?

Software
Version(s)

fp-ts
2.5.3

fp-ts-contrib
0.1.26

TypeScript
3.9.6 (build) and 4.3.2 (editor)

Looks like you are using<EMAIL_ADDRESS>(where E.either is deprecated). You can use E.Monad instead


Add demo to readme

Add a link to an interactive demo, something like this:
https://gist.github.com/carbide-public/98ddd6b703267ee39a8b612d10483ae6

And a nice copy and paste for installing with both yarn and npm would be nice.


Add a $exit_on_error option to exec.Run

Is your feature request related to a problem? Please describe.
I would like to be able to opt out of exec.Run exiting the entire command when the result of running the cmd returns a non-zero exit code.
Describe the solution you'd like
For example, when using aws cloudformation describe-stack to test whether or not a stack exists, the command returns a 254 exit code if the stack does not exist yet. If I could opt-out of the command exiting, I can then have a follow on task where I can reference the boolean value of describe_stack.success to determine whether I need to use create-stack or update-stack when deploying the stack.
Describe alternatives you've considered
I first tried getting around the issue by chaining <aws command> || true, but chaining commands together with || (or &&, |, etc) doesn't seem to work.
As a final workaround, I was able to use a different aws CLI command to list all stacks, and then query the output for the stack whose status I am interested in. This approach has issues, however, as the stack I'm interested may not be in the first page of results from the CLI.

You can always use bash or other scripting like so
package foo

import "tool/exec"

command: {
  fail: do: exec.Run & {
    cmd: ["bash", "-c", "echo 'foo' | grep zzz"]
  }

  pass: do: exec.Run & {
    cmd: ["bash", "-c", "echo 'foo' | grep zzz || true"]
  }

}

Well holy smokes, that's what I've been looking for all day, thank you @verdverm! Shall I close this issue?

It seems like a reasonable feature request to me. There are the stderr and success fields which indicate you ought to be able to do something with failed commands.

You may actually be able to use success, I forgot to try that
// success is set to true when the process terminates with with a zero exit
// code or false otherwise. The user can explicitly specify the value
// force a fatal error if the desired success code is not reached.
success: bool

This won't work. Currently even if you specify success: false, when the command return code is != 0 the task will fail.
From exec.go:
	update["success"] = err == nil
	if err != nil {
		if exit := (*exec.ExitError)(nil); errors.As(err, &exit) && captureErr {
			update["stderr"] = string(exit.Stderr)
		} else {
			update = nil
		}
		err = fmt.Errorf("command %q failed: %v", doc, err)
	}
	return update, err

On my cue flow based project I've changed this part to handle the case where the user specify success: false, to say that the command is expected to fail and thus the flow will continue.
I think this should be the intended behaviour by reading success comment.
Excerpts from Tony Worm's message of January 30, 2022 7:57 am:

You may actually be able to use success, I forgot to try that
// success is set to true when the process terminates with with a zero exit
// code or false otherwise. The user can explicitly specify the value
// force a fatal error if the desired success code is not reached.
success: bool

--
Reply to this email directly or view it on GitHub:
https://github.com/cue-lang/cue/issues/1499#issuecomment-1025083687
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

Seems like a reasonable feature to me, something like $exitOnError which excepts an exit code to return upon failure.
Another (possibly additional) mechanism would be to allow an $enable option that can reference the success fields of other tasks, for instance, to allow tasks to be conditionally run.


ValueError: Invalid data split: trainval, possible_splits: [] when run gen_mini_batches.py

I met a question during the process of Mini-batch Generation.
I just run gen_mini_batches.py like this.
sakura@sakura-Z170X-UD3:~/avod-master$  python scripts/preprocessing/gen_mini_batches.py
Then the following information is fed back.
Traceback (most recent call last):
File "scripts/preprocessing/gen_mini_batches.py", line 199, in
main()
File "scripts/preprocessing/gen_mini_batches.py", line 120, in main
car_dataset_config_path)
File "/home/sakura/avod-master/avod/builders/dataset_builder.py", line 154, in load_dataset_from_config
use_defaults=False)
File "/home/sakura/avod-master/avod/builders/dataset_builder.py", line 191, in build_kitti_dataset
return KittiDataset(cfg_copy)
File "/home/sakura/avod-master/avod/datasets/kitti/kitti_dataset.py", line 85, in init
.format(self.data_split, possible_splits))
ValueError: Invalid data split: trainval, possible_splits: []
I have placed the dataset correctly and finished all the procedures as ReadMe adviced, but met this problem when I run gen_mini_batches.py. Who knows how to solve it?

It looks like your ~/Kitti/object folder is missing the data split text files. What is the output when you run
ls ~/Kitti/object ? You should see something like
testing
training
val.txt
train.txt
trainval.txt

I met the question during the process of Mini-batch Generation.
Traceback (most recent call last):
File "scripts/preprocessing/gen_mini_batches.py", line 199, in
main()
File "scripts/preprocessing/gen_mini_batches.py", line 188, in main
num_ppl_children)
File "scripts/preprocessing/gen_mini_batches.py", line 68, in split_work
do_preprocessing(dataset, indices)
File "scripts/preprocessing/gen_mini_batches.py", line 17, in do_preprocessing
mini_batch_utils.preprocess_rpn_mini_batches(indices)
File "/home/scw4750/087/avod/avod/core/mini_batch_utils.py", line 97, in preprocess_rpn_mini_batches
mini_batch_preprocessor.preprocess(indices)
File "/home/scw4750/087/avod/avod/core/mini_batch_preprocessor.py", line 238, in preprocess
image_shape=image_shape)
File "/home/scw4750/087/avod/avod/datasets/kitti/kitti_utils.py", line 255, in create_sliced_voxel_grid_2d
create_leaf_layout=True)
File "/home/scw4750/087/avod/wavedata/wavedata/tools/core/voxel_grid_2d.py", line 102, in voxelize_2d
unique_indices[-1])
IndexError: index -1 is out of bounds for axis 0 with size 0
13 / 2: 13902 anchors,   1732 iou > 0.0, for   5 Car(s) for sample 000217
1 / 2: Sample already preprocessed
Mini batches generated
All Done (Parallel)
I also have  placed the dataset correctly , but met this problem when I run gen_mini_batches.py.  How can  I solve it?Thank you very much!

@kujason   I have place this folder correctly,but I have met the error,can you ask me why?Thank you!
Traceback (most recent call last):
File "scripts/preprocessing/gen_mini_batches.py", line 199, in
main()
File "scripts/preprocessing/gen_mini_batches.py", line 188, in main
num_ppl_children)
File "scripts/preprocessing/gen_mini_batches.py", line 68, in split_work
do_preprocessing(dataset, indices)
File "scripts/preprocessing/gen_mini_batches.py", line 17, in do_preprocessing
mini_batch_utils.preprocess_rpn_mini_batches(indices)
File "/home/scw4750/087/avod/avod/core/mini_batch_utils.py", line 97, in preprocess_rpn_mini_batches
mini_batch_preprocessor.preprocess(indices)
File "/home/scw4750/087/avod/avod/core/mini_batch_preprocessor.py", line 238, in preprocess
image_shape=image_shape)
File "/home/scw4750/087/avod/avod/datasets/kitti/kitti_utils.py", line 255, in create_sliced_voxel_grid_2d
create_leaf_layout=True)
File "/home/scw4750/087/avod/wavedata/wavedata/tools/core/voxel_grid_2d.py", line 99, in voxelize_2d
discrete_pts_2d.shape[0] - unique_indices[-1])
IndexError: index -1 is out of bounds for axis 0 with size 0


Fix render crash of DraftEditorTextNode (BR -> text)

Summary
Fixes #1612
Native rendering must be prevented when <BR> should be replaced by <SPAN>.
By obvious reason. Otherwise React-rendering of DraftEditorTextNode will crash!
Tip: Also this bug can be prevented by using const useNewlineChar = true at DraftEditorTextNode (now it's true for IE only)
Test Plan
No unit tests. Just did manual ones.

Hello @flarnie  👋
I don't know if you've had the time to review this PR? Does it need something to be mergeable?
Marouane

Hi @niveditc
Can you review this PR?

@sophiebits

Why isn't the isSelectionAtLeafStart check sufficient? It should already be catching this case.

nativeSelection is ahead of selection from editor state used at isSelectionAtLeafStart()
That's why it don't catch this case

How can this be reproduced? I assume you aren't using React's unstable concurrent mode so I would expect _latestCommittedEditorState to always match the latest native selection.

Offtop:
babel-eslint v7 used curretly gives me error on lint command:
TypeError: Cannot read property 'type' of undefined
Upgrading to v8 solves problem

@sophiebits

How can this be reproduced?
I described steps here: https://github.com/facebook/draft-js/issues/1612
The point is to print text from keyboard + click on empty lines simultaneously.

I assume you aren't using React's unstable concurrent mode
I don't.

I tried to print to console info about nativeSelection and selection from _latestCommittedEditorState. And anchor keys were different
console.log( anchorNode.getAttribute('data-offset-key'), editor._latestCommittedEditorState.getSelection().getAnchorKey() )

When doing what action? Is there anything special about what triggers this? Does it happen every time for you? Only in certain browsers or in multiple browsers?

@sophiebits

When doing what action? Is there anything special about what triggers this?
During normal use I've seen this error occasionally.
But I've figured out it can be 100% reproduced by repeatedly clicking mouse on empty lines while typing text.

Try it on Mac: set short "Delay Until Repeat" at Keyboard Settings at System Preferences, goto draftjs.org, create 10+ empty lines, goto first line, hold '=' key for continuous typing, start clicking on empty lines randomly (and quickly), then see errors in console.

Does it happen every time for you? Only in certain browsers or in multiple browsers?
Definitely happens in Chrome on Ubuntu/OSX, Safari on OSX. Can't reproduce in Firefox. Haven't tried in IE.


use catch for unit tests

I'm tempted to pull in catch.hpp to use for tests. Does that seem reasonable? Are there other light-weight test frameworks that may be better options?

I'm not really up on the latest in unit test frameworks, but catch seems reasonable.

while adding unit tests I found a few bugs in the recent patches I've pulled. So, unless it's obvious, master is not in a releasable state right now

https://github.com/bittorrent/bootstrap-dht/pull/17


Upgrade Gradle to 6.8.2 and enable Official Gradle Wrapper Validation GitHub Action

Official Gradle Wrapper Validation Action enabled to ensure binary wrapper is not tampered with.
See: https://github.com/marketplace/actions/gradle-wrapper-validation

Merged. Thank you for the contribution!


⚠ Bofrost.at has degraded performance

In 0b9ea3d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2347 ms

Resolved: Bofrost.at performance has improved in 84979f9 after 18 minutes.


synchronize access to filter with mutex instead of channels

The mobile wallet needs us to respond to requests in order and with the code as-is sometimes filter_result could be returned out of order.


podvm_mkosi: multistage binaries

Simplify the podvm_mkosi binaries building process by combining the builder and binaries into a single multistage dockerfile

This has been tested on x86 in my fork: https://github.com/stevenhorsman/cloud-api-adaptor/actions/runs/12256747305


typing 'exit' not work sometimes

i am used to typing 'exit' to exit wsl-terminal instead of  'Alt+F4' , but sometimes it doesn't work ,  it really disturbs, Could you fix it ? @goreliu

Any error messages? I need more details.

Will it happen in bash.exe or wsl.exe?

Can you paste last lines of the result of bash -c "strace -p $(pgrep bash | head -n1)" in cmd.exe when exit hanging?
Like this:
C:\Users\goreliu>bash -c "strace -p $(pgrep bash | head -n1)"
strace: Process 1603 attached
read(0, "\4", 1)                        = 1
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0

...

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0
ioctl(255, TIOCSPGRP, [1641])           = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
setpgid(0, 1641)                        = 0
exit_group(1)                           = ?
+++ exited with 1 +++

like this?

The left window is wsl.exe? Then you can report this in https://github.com/Microsoft/WSL/issues.

ok, thanks a lot. i will report this .
i testd in two ways:
open vim in wsl-terminal, then type 'ctrl+z' to exit vim to bash,and type 'exit' twice (just as is shown on above picture), then the terminal is hanging.
but when i type ':q!' to close vim back to terminal instead , then type 'exit' twice ,the wsl-terminal closed normally.


Fails on every file I try

I exported the default cube from Blender to .obj. Result:
 decimater testcube.obj  percent-vertices 90
Warning: readOBJ() ignored non-comment line 4:
  o Cube
Loaded a mesh with 8 vertices and 6 faces: testcube.obj
90% of 8 input vertices is 7 output vertices.
decimater: /home/john/projects/sl/SeamAwareDecimater/decimater.cpp:85: bool {anonymous}::decimate_down_to(const Eigen::PlainObjectBase<Derived>&, const Eigen::PlainObjectBase<DerivedTC>&, const Eigen::PlainObjectBase<DerivedCN>&, const Eigen::PlainObjectBase<DerivedTC>&, int, Eigen::MatrixXd&, Eigen::MatrixXi&, Eigen::MatrixXd&, Eigen::MatrixXi&, bool) [with DerivedV = Eigen::Matrix<double, -1, -1>; DerivedF = Eigen::Matrix<int, -1, -1>; DerivedT = Eigen::Matrix<double, -1, -1>; Eigen::MatrixXd = Eigen::Matrix<double, -1, -1>; Eigen::MatrixXi = Eigen::Matrix<int, -1, -1>]: Assertion `F.cols() == 3' failed.
Aborted (core dumped)

OK, so maybe reducing a cube while preserving seams is geometrically impossible.
The default cylinder from Blender:
decimater testcylinder.obj  percent-vertices 90
Warning: readOBJ() ignored non-comment line 4:
  o Cylinder
Failed to cast F to matrix: min (4) != max (32)
ERROR: Could not read OBJ: testcylinder.obj

I get that "Failed to cast F to matrix" error from everything I've tried - simple files from Blender, files from 3D sites.
But the "animal.obj" file provided with the source code poly reduces just fine. So the program passes its own test case.

Test objects mentioned above.
failobjs.zip

Hi John,
Can you try to triangulate the obj file first? My OBJ importer only takes clean triangle mesh.

Best,
Songrun Liu,
https://songrun.github.io/
PhD student & Research Assistant
Volgenau School of Engineering
George Mason University

On May 5, 2018, at 12:03 AM, John Nagle<EMAIL_ADDRESS>wrote:
Test objects mentioned above.
failobjs.zip https://github.com/songrun/SeamAwareDecimater/files/1976316/failobjs.zip
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/songrun/SeamAwareDecimater/issues/6#issuecomment-386777172, or mute the thread https://github.com/notifications/unsubscribe-auth/AAq5AjL6dpdVmZNd_eW-n97VVtPa0o4hks5tvSSHgaJpZM4TzLpL.

Triangulated the cylinder. Result:
decimater testcylindertris.obj  percent-vertices 80 testcylindertris50.obj
Warning: readOBJ() ignored non-comment line 4:
o Cylinder
Loaded a mesh with 64 vertices and 124 faces: testcylindertris.obj
80% of 64 input vertices is 51 output vertices.
decimater: /home/john/projects/sl/SeamAwareDecimater/decimater.cpp:87: bool {anonymous}::decimate_down_to(const Eigen::PlainObjectBase&, const Eigen::PlainObjectBase&, const Eigen::PlainObjectBase&, const Eigen::PlainObjectBase&, int, Eigen::MatrixXd&, Eigen::MatrixXi&, Eigen::MatrixXd&, Eigen::MatrixXi&, bool) [with DerivedV = Eigen::Matrix<double, -1, -1>; DerivedF = Eigen::Matrix<int, -1, -1>; DerivedT = Eigen::Matrix<double, -1, -1>; Eigen::MatrixXd = Eigen::Matrix<double, -1, -1>; Eigen::MatrixXi = Eigen::Matrix<int, -1, -1>]: Assertion `TC.cols() == 2' failed.
Aborted (core dumped)

failobjs2.zip
Test files for above.
The triangulated cylinder is the Blender default cylinder triangulated with the default Blender triangulation. The attached image shows a valid triangulation.

Your cylinder model even doesn’t have a UV mapping.

Best,
Songrun Liu,
https://songrun.github.io/
PhD student & Research Assistant
Volgenau School of Engineering
George Mason University

On May 5, 2018, at 2:33 PM, John Nagle<EMAIL_ADDRESS>wrote:
failobjs2.zip https://github.com/songrun/SeamAwareDecimater/files/1976949/failobjs2.zip
Test files for above.
The triangulated cylinder is the Blender default cylinder triangulated with the default Blender triangulation. The attached image shows a valid triangulation.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/songrun/SeamAwareDecimater/issues/6#issuecomment-386825920, or mute the thread https://github.com/notifications/unsubscribe-auth/AAq5Ag3-GW3sA7txBVM99MGgctHhWsPQks5tvfB_gaJpZM4TzLpL.

Thanks.
Next problem:
capsulefail.zip
This is the "minimal textured object file" from http://paulbourke.net/dataformats/obj/minobj.html used as a demo and test case.
The mesh reduction opens up a sizable gap in the mesh between the upper and lower halves of the object. Oops.

I think I may have a solution -- a lot of OBJ files have 3 UVS. which is valid, though they actually seem to only use the first 2 values as the 3rd is always zero.  In any case

Goto the ReadOBJ.cpp file, and to insert the line
    Count = 2;

just before Line 131,
       std::vector<Scalar > tex(count);

You need to do this because the decimation function requires the UVs to have exactly 2 columns and OBJ can legally have 3.  By Explicitly setting it to 2 you are tossing the third value which appears to always be zero in files I’ve seen, anyway.
Similarly, OBJ files can legally have NO UVs but the library can't handle that, so make sure they have UVs assigned.

Ah. Two years later, but good info.

Yeah, better late than never, I suppose!
From: John Nagle @.>
Sent: Friday, July 02, 2021 2:21 PM
To: songrun/SeamAwareDecimater @.>
Cc: TheOriginalBytePlayer @.>; Comment @.>
Subject: Re: [songrun/SeamAwareDecimater] Fails on every file I try (#6)
Ah. Two years later, but good info.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/songrun/SeamAwareDecimater/issues/6#issuecomment-873262363 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJYX4HWPOC25OKSKI6H5PDTVYUTTANCNFSM4E6MXJFQ .  https://github.com/notifications/beacon/AEJYX4B3VNZX2VHLC7XBJU3TVYUTTA5CNFSM4E6MXJF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGQGO2GY.gif


docs: update changelog about sql.any

The target priority (option of the compile function v.s. query header) and "sql.any" behavior is not fully explained in the book and prql-compiler documentation, so I think the documentation needs to be improved, but for now, only the changelog update is included in this PR.

Thanks @eitsupi !

#2023 for a typo fyi


Adding a Service and Removing a Service from Ingress Gateway Configuration

Addition to Ingress Gateway configuration when a new service is added.
Removal of a service from the ingress gateway config when the service is fully removed from the deployment

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.reskin011 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.