No auto refresh for Laravel mix

I think I followed the docs for use with Laravel Mix but I have to reload manually to see changes applied to the html (with Tailwind CSS) when using ddev exec npm run watch. Using ddev browsersyncworks automatically, but I need the css file to be build fresh with Laravel Mix. Guess I am missing something obvious. Thanks for pointers.

@marflow
It sounds like you haven't setup a Tailwind watcher yet.
For Laravel-mix, you'll need to follow the steps at https://tailwindcss.com/docs/guides/laravel#mix.
You'll end up with a webpack.mix.js similar to the below.
let url = 'browsersync-demo.ddev.site';

mix.js('resources/js/app.js', 'public/js')
    .postCss('resources/css/app.css', 'public/css', [
       require("tailwindcss"),
    ])
    .browserSync({
        proxy: url,
        host:  url,
        open:  false,
    });

As for ddev browsersync, this watches for changes. You'll need to start some sort of Tailwind CLI build process that adds the new Tailwind CSS.  See https://tailwindcss.com/docs/installation.
Laravel-mix is easier though.

Thanks a lot for your fast feedback, @tyler36!
Maybe I explained it a bit complicated, but the mix part is working, a new Tailwind CSS is always generated. The browser just is not refreshing automatically, I have to manually do that. Then I get the "Browsersync: connected" insert (which already shows after starting with ddev exec npm run watch).
Could it be an error in browser-sync.js? I have this
// #ddev-generated
let docroot = process.env.DDEV_DOCROOT;
let filesdir = process.env.DDEV_FILES_DIR;
let url = process.env.DDEV_HOSTNAME;

if (filesdir === "") {
    filesdir = null
}

module.exports = {

    files: ["/resources/**/*.antlers.html" ],
    ignore: ["node_modules", filesdir, "vendor"],
    open: false,
    ui: false,
    server: false,
    proxy: {
        target: "localhost"
    },
    host: url,
}

@marflow  thanks for the update.
You need to update your webpack.mix.js:
    .browserSync({
        files: ['/resources/**/*.antlers.html'],
        proxy: url,
        host: url,
        open: false,
    });

Background
This addon is designed to provide the browsersync app and browser-sync.js to run it.
When you use Laravel-mix, your using this addons browsersync app, but the browsersync config from webpack.mix.js.
The browser-sync.js file is not used when running through Laravel-mix.

You can find the default values for Laravel-mix in node_modules/laravel-mix/src/components/BrowserSync.js.

Thanks again @tyler36 for the fast help and explanation – works like a charm now! (In the meantime, I found I could use *.antlers.php as well, but now I can go back to "main stream" again :)

Glad you got it working!

Yeah, the default watched files are:
'app/**/*.php',
'resources/views/**/*.php',
`${this.context.config.publicPath || 'public'}/**/*.(js|css)`

@tyler36, this thread was very helpful in getting DDEV/Browsersync working with Laravel Mix (this comment in particular). I have one related question: Is it necessary to run browsersync via DDEV and run the Mix watch process in order for auto-refresh to work? I am running the following in two separate terminals:
Terminal 1:
ddev browsersync

Terminal 2:
ddev npm run watch

With both of these running, browser refresh is initiated when files in the specified folders are changed. If one or the other is not running, refresh does not happen. If this isn't correct, I can create a separate issue to address it.

Hello Todd, it should work without running ddev browsersync. What maybe the issue is that I start npm watch a little different: ddev exec npm run watch, like in the docs. Then you should have the browser reloading at https://your-project.ddev.site:3000. If it does not maybe your first ddev browsersync process is still working and the mix reloads on ...:3001. But if you restart ddev it should work with port 3000. Hope you get it going!

Thanks, @marflow, but that didn't work for me. I tried that command, but because package.json is in a subfolder on this (very old) project, I have to run it like this: ddev exec --dir /var/www/html/site npm run watch. That appears to work at first: the build process runs each time a watched file is changed. But the browser does not auto-refresh. If I combine that command with ddev browsersync (run first in a separate terminal), it works as described in my previous comment. The browser reloads automatically.
Here's what my config looks like:
let url = 'some-host.test';

mix
    .sourceMaps(false, 'inline-source-map')
    // Dashboard/Administration CSS
    .postCss('src/css/dashboard.css', 'public_html/assets/css')
    // Marketing/Simple CSS
    .postCss('src/css/marketing.css', 'public_html/assets/css')
    // Main Website
    .js('src/js/app.js', 'public_html/build/js') // main website
    .sass('src/sass/app.scss', 'public_html/build/css') // main website
    .options({
        processCssUrls: false,
        postCss: [ tailwindcss('tailwind.config.js') ],
    })
    .browserSync({
        files: [
            "public_html/build/{*,**/*}",
            "craft/templates/**/*.+(html|twig)"
        ],
        proxy: url,
        host:  url,
        open:  false
    });

Hm, I have not tried it with my Craft projects, so I do not know what might be needed in addition. Have you asked on Craft Discord? DDEV is recommended for Craft now so I would there must be devs that have set it up already. Another small difference may be worth trying, is to remove host: url, my config looks like this:
	.browserSync({
		files: ['resources/**/*.antlers.html'],
		proxy: url,
		open: false
	})
	.version();

May be worth a try?

That did the trick! It reloads automatically now without the need to run ddev browsersync.
For some reason, it only reloads when changes are made in the first set of files (CSS/JS), not the second (Craft/Twig templates). This was also the case when I was running both commands.
files: [
    "public_html/build/{*,**/*}", // triggers refresh
    "craft/templates/**/*.+(html|twig)" // no refresh
    "craft/templates/{*,**/*}" // variation on glob - no refresh
],

But this is probably unrelated to the DDEV add-on. You're right, Craft Discord might be a good place to ask about this. Thanks for your help!

No problem, glad you are able to get it working even partially :) Regarding the set of files, the second line has no ending , . Maybe that makes a difference. Also, maybe you could try every line on it´s own or change the order to narrow the problem down. If not somebody on Discord will be able to help you out.

@toddprouty You don't need to run both; just one or the other.
If you use Lavarvel mix, you'll need to update webpack.mix.js to manage your config. Laravel mix then passes the config through to this add-on.
If it triggering on public_html/build/{*,**/*}, but not craft/templates/**/*.+(html|twig), it means the addon is functioning correctly.  Double-check the paths are correctly.


Cifar10 ResNet error

Keras version 2.1.1
Tensorflow version 1.4.0
Python version 3.6
If I try to run cifar10_resnet.py example, I get this error: TypeError: fit_generator() missing 1 required positional argument: 'steps_per_epoch'.
If I add this parameter and set it to what it was before it was removed as a part of #8574 , everything works fine.
What is causing this issue?

See https://github.com/fchollet/keras/pull/8574#issuecomment-347931912


Add mackenzista domain from www.mackenzie.br university

@lattarian I am sorry, the domain mackenzista.com.br is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Feature Request: Verify that all services used are support in selected set of compliance programs

Is this feature request related to a new rule or cfn-lint capabilities?
rules
Describe the feature you'd like to request
As some products are making their journey to compliance programs like FedRAMP, it would be good to have a rule/validator that verifies that any resources you intended to add to your templates are supported in the compliance programs you are responsible for staying in line with.
Describe the solution you'd like
Given a list of compliance programs the product should support. Validates that those resources are in scope for that compliance program.
For example, if I need to deploy to environments that are targeted for FedRAMP High, I should see a failure if I try to use AWS Shield or CloudFront resources. This failure would not occur if I only chose FedRAMP Moderate (east/west).
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request

Would this feature include a breaking change?

[ ] ⚠ This feature might incur a breaking change

See https://github.com/salesforce/aws-allowlister for how to do this immediately with IAM policies (note their data's out of date: https://github.com/salesforce/aws-allowlister/issues/108)

I'd rather not duplicate their scraping efforts. I'd prefer someone shore up their scraping or convince AWS to vend machine-readable lists. Manually mapping service names, IAM prefixes, CloudFormation namespaces seems like the least sustainable part: https://github.com/salesforce/aws-allowlister/blob/main/aws_allowlister/data/overrides.yml


Stock and flow model syntax accepts non-existent stocks in flow definitions

Issue
Currently this is accepted as a flow definition:
:stocks
A
B
C

:flows
SDKLJFHSLKDJFHSLKDFHL => f(eq) => B

Expectation
Flows that have source or target in a non-existent stock are rejected with a sensible error message.

This should be able to be closed too

Addressed in #80


Add health checks

Description

Type of change

[ ] Docs change / dependency upgrade
[ ] Configuration / tooling changes
[ ] Refactoring
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Requires changes in customer code

High-level change(s) description - from the user's perspective

Related Issue(s)
Fixes
Related pull request(s)

How often are the healthcheck pings sent? They will have to be run at a pace faster than what's configured to be received on betteruptime.
Otherwise, it is also essential that we set the configuration for the endpoint URLs in the config.tf files!

How often are the healthcheck pings sent? They will have to be run at a pace faster than what's configured to be received on betteruptime.
Otherwise, it is also essential that we set the configuration for the endpoint URLs in the config.tf files!

Yep, I have the betteruptime configs set up properly! And correct, the config.tf files are the last change needed.


Testing around dynamic ip addresses

I did some testing to make sure the renter+host+contractor are all following dynamic IPs correctly. The contractor was not, but I fixed that with some very small code changes. One of the tests I wrote I could not get to pass, even when I was keeping the IP static. @lukechampine could you look at the test I wrote with t.Skip() and see if there's any obvious reason that the file is not downloadable at the end of the test?
With the exception of that final test (exploring that renew functions correctly with dynamic IPs), I think it's safe to establish that the renter can now follow around hosts with dynamic ip addresses. This should dramatically increase the reliability on our network, I believe that we were shedding a dozen or more hosts (out of 42) due to this, and now we won't be losing them.

Manage to get the test suite working. Extended it to support a wider range of testing, and also got everything in working shape.


Enable testing of OpenJDK 16/17 builds for Alpine

@aahlenst how do you plan to run the tests? We currently have no static alpine test agents connected to jenkins? The obvious approach here was to use the docker setup that we have for the build but I don't think it's been ported to the tests yet

I think we have 2 test agents now (via https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1929#issuecomment-783465921) and I have added test support via https://github.com/AdoptOpenJDK/openjdk-tests/pull/2304 (systemtest will fail to compile native tests at the moment, but all other default testing will run).

Addresses part of https://github.com/AdoptOpenJDK/ci-jenkins-pipelines/issues/70


Sacrebleu data issue: statmt.org no longer has "wmt14"

It seems that wmt14 folder no longer exists here:  http://statmt.org/wmt14/test-filtered.tgz. The website itself (statmt.org) is not down.
This means that whenever I call a command like this: cat out.txt | sacrebleu -t wmt14 -l en-de -lc --tokenize intl for the first time I get an error (see below)
Should these test cases be hosted elsewhere?

sacreBLEU: Downloading http://statmt.org/wmt14/test-filtered.tgz to /home/okuchaiev/.sacrebleu/wmt14/test-filtered.tgz
Traceback (most recent call last):
File "/home/okuchaiev/anaconda3/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/home/okuchaiev/anaconda3/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/okuchaiev/anaconda3/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/okuchaiev/anaconda3/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/okuchaiev/anaconda3/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/home/okuchaiev/anaconda3/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/home/okuchaiev/anaconda3/lib/python3.6/http/client.py", line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/home/okuchaiev/anaconda3/lib/python3.6/socket.py", line 722, in create_connection
raise err
File "/home/okuchaiev/anaconda3/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/okuchaiev/anaconda3/lib/python3.6/site-packages/sacrebleu.py", line 903, in download_test_set
with urllib.request.urlopen(dataset) as f, open(tarball, 'wb') as out:
File "/home/okuchaiev/anaconda3/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/home/okuchaiev/anaconda3/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/home/okuchaiev/anaconda3/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/home/okuchaiev/anaconda3/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/home/okuchaiev/anaconda3/lib/python3.6/urllib/request.py", line 1346, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/home/okuchaiev/anaconda3/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 113] No route to host>

During handling of the above exception, another exception occurred:

-Traceback (most recent call last):
File "/home/okuchaiev/anaconda3/bin/sacrebleu", line 11, in
sys.exit(main())
File "/home/okuchaiev/anaconda3/lib/python3.6/site-packages/sacrebleu.py", line 1281, in main
_, *refs = download_test_set(args.test_set, args.langpair)
File "/home/okuchaiev/anaconda3/lib/python3.6/site-packages/sacrebleu.py", line 905, in download_test_set
except ssl.SSLError:
NameError: name 'ssl' is not defined

Hi,
statmt.org was down this morning (and maybe last night?) due to the power being cut at a building at U Edinburgh. It seems back up to me now, though — I can download the test set you listed and access the site. The site is pretty reliable so I think you just got unlucky.
matt


Create --list-harnessesAPI

The VSCode extension needs a --list-harnesses flag from Kani which gives a list of the metadata on all present harnesses in a crate. While this API is intended to be consumed by the VSCode extension, there could be other uses for it too.

Resolved by #3463


[BUG] Registration API not able to connect with Registry and Redis services

On start of registration API, it is giving following error when requesting registry details:

time="2021-12-02T02:57:32Z" level=error msg="Error while querying registry%!(EXTRA *url.Error=Post "/api/v1/evaluation": unsupported protocol scheme "")"
panic: dial tcp <IP_ADDRESS>:6379: connect: connection refused
Registry is working fine and is being used in keyclock.

Same issue in registration API for redis services as well.

it was due to redis was alloted to Nodeport and port referred was redis native port.


HTML Validation Errors

Please note that I've found some errors during HTML Validation:
https://validator.w3.org/nu/?showsource=yes&showoutline=yes&showimagereport=yes&doc=https%3A%2F%2Fwww.wondercms.com%2Fdemo%2F
PS: A simple CMS such as WonderCMS, should get a PERFECT score in all areas. :grinning:
https://gtmetrix.com/reports/www.wondercms.com/9VivHY2V
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.wondercms.com%2Fdemo%2F&tab=mobile

Please try it out on your own server (without plugins, as they are causing this, we're not the author of the plugins), and you will see
"Document checking completed. No errors or warnings to show." :)

as it should be. :+1:


securityContext in prometheus-operator needs to be configurable

the current securityContext is fixed. it needs to be configurable
Signed-off-by: gangseok.lee<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

@gianrubio Sorry, version conflict. plz /lgtm once more. Thank you!!

/ok-to-test
/lgtm


Splash Screen - Change Copyright Years

Change copyright years from 2015-2017 to 2015-2019

The "About liquid-qt" should be changed as well

Fixed in 1164cc432a05fbd2a47f0b35d575f945935c3e3c


PR: Fix more failing tests

Description of Changes
This fixes more failing tests in our test suite.
Issue(s) Resolved

Fixes #17101
Fixes #17100
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

Hello @ccordoba12! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/completion/providers/languageserver/provider.py:

Line 769:80: E501 line too long (80 > 79 characters)


 The function should be updated to use a newer runtime.

Thanks for the note - updated in https://github.com/aws-samples/amazon-ec2-image-builder-samples/commit/1c49d00ddfc519ec5184e47ce03018c102f3d979.


Unit test failed due to "CUDA Error: operation not supported"

Run this command:
pytest TransformerEngine/tests/pytorch/test_float8tensor.py -k test_fp8_meta

and got this error:
cls = <class 'transformer_engine.pytorch.fp8.FP8GlobalStateManager'>, forward = True, fp8_weights = False

    @classmethod
    def reduce_and_update_fp8_tensors(
        cls,
        forward: bool = True,
        fp8_weights: bool = False,
    ) -> None:
        """Concatenate, reduce, and split amaxes in the global buffer."""
        for buffer_key, amax_buffer in cls.global_amax_buffer.items():
            # Check for forward or backward reduction.
            fwd_update, fp8_weights_update, autocast_key = cls.split_key_in_buffer(buffer_key)
            if fwd_update != forward:
                continue
            # Only skip a forward update when `fp8_weights` is explicitly set to `True`
            # (inside optimizer) and the current key is not an `fp8_weight_update` key.
            # For other cases, we need to reduce because of activation tensors.
            # TODO(ksivaman) consider separate weight and activation fp8_tensors.
            if fwd_update and fp8_weights and not fp8_weights_update:
                continue
            if len(amax_buffer) == 0:
                continue

            # Retrieve autocast specific args and concat amaxes.
            recipe, group = cls.autocast_arguments[autocast_key]
            contiguous_amax = torch.cat(amax_buffer)

            # Reduction.
            if (
                recipe.reduce_amax
                and torch.distributed.is_initialized()
                and torch.distributed.get_world_size(group=group) > 1
            ):
                cls.reduce_tensor_across_group_op_max(contiguous_amax, group)

            # Amax and scale update.
            unfused_update = (
                bool(int(os.getenv("NVTE_UNFUSED_FP8_UPDATE", "0")))
                or callable(recipe.amax_compute_algo)
                or callable(recipe.scaling_factor_compute_algo)
            )

            if not unfused_update:
>               tex.fused_amax_and_scale_update_after_reduction(
                    contiguous_amax,
                    cls.global_amax_history_buffer[buffer_key],
                    cls.global_scale_buffer[buffer_key],
                    cls.global_scale_inv_buffer[buffer_key],
                    recipe.amax_compute_algo,
                    get_fp8_te_dtype(recipe, forward),
                    recipe.margin,
                )
E               RuntimeError: /data/users/ybliang/TransformerEngine/transformer_engine/common/recipe/delayed_scaling.cu:430 in function amax_and_scale_update_after_reduction: CUDA Error: operation not supported

/home/ybliang/.conda/envs/pt/lib/python3.10/site-packages/transformer_engine/pytorch/fp8.py:356: RuntimeError
========================================================================================================= short test summary info =========================================================================================================
FAILED TransformerEngine/tests/pytorch/test_float8tensor.py::TestFloat8Tensor::test_fp8_meta - RuntimeError: /data/users/ybliang/TransformerEngine/transformer_engine/common/recipe/delayed_scaling.cu:430 in function amax_and_scale_update_after_reduction: CUDA Error: operation not supported

Interesting, I haven't seen this before when running on L40 or H100. What are you running on? Do the other tests in test_float8tensor.py pass on your system?

@timmoon10 I'm running on H100. The other tests in test_float8tensor.py all passed, however, many failures from other test files, e.g, test_recipe.py(check failure output at here).

This is fixed by upgrading CUDA driver version from 525 to 535.


feat(evmos): custom burn coins logic + upgrade v3 -> v4

…on to evergreen pool, upgrade v3 -> v4

Closes: #XXX
Description

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added  relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

For admin use:

[ ] Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
[ ] Reviewers assigned
[ ] Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

Can't review
Waiting for test covering scenarios which instead of burning end up with community pool funding


Fix to right compression in script/extension-upload

Fixing an earlier mistake of mine. This should really be abstracted away, to fix those things properly once, but anyhow, still better to have it in a working version.

Is this still necessary? If so, could you merge with main?

File is gone, has been unified with the one in duckdb/duckdb repo.


Invalid indexer polynomials produced when num_constraints is a power of two

As the title suggest, if in a circuit the number of constraints is exactly equal to a power of two, inconsistent indexer polynomials are produced. For instance:
Num constraints: 1024
a_row degree: 0
a_col degree: 1
a_val degree: 0
a_row_col degree: 1
b_row degree: 1023
b_col degree: 1
b_val degree: 1023
b_row_col degree: 1023
c_row degree: 1023
c_col degree: 1
c_val degree: 1023
c_row_col degree: 1023

This may be a porting error. Investigate and solve.

This issue is the same of https://github.com/arkworks-rs/poly-commit/issues/40,
fixed by arkworks in https://github.com/arkworks-rs/poly-commit/pull/55.
A similar fix has been commited also to our poly-commit in https://github.com/HorizenLabs/poly-commit/commit/3eec3f4ab5d385db1656b2bf9eb7c14e84ae8253.
A unit test marlin side has been added too in 2589862ae3f8b2e2960d7530d50a5e0f6b3c4cf0.

This issue is the same of https://github.com/arkworks-rs/poly-commit/issues/40,
fixed by arkworks in https://github.com/arkworks-rs/poly-commit/pull/55.
A similar fix has been commited also to our poly-commit in https://github.com/HorizenLabs/poly-commit/commit/3eec3f4ab5d385db1656b2bf9eb7c14e84ae8253.
A unit test marlin side has been added too in 2589862ae3f8b2e2960d7530d50a5e0f6b3c4cf0.


Iterators, Generators, and the Reflect API require the Babel polyfill

Iterators rely on Symbol.iterator
Generators rely on Regenerator
Reflect is just an API

Thanks!


Update staging to use properly versioned tags

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


Proposed display changes: headings with links, headings with bold / italics

Headings with links displayed incorrectly and non-functional navigation:

Occasionally I have headings with links in them, example:    ### [[CSharp#|C#]] Process Injection:
The Table of Contents displayed for such a heading is:    [}} Process Injection:](app://obsidian.md/index.html#{{CSharp#-C#}}%20Process%20Injection:)
As seen above the displayed link is }} Process Injection: and navigation does not work

Headings with bold or italic:

I often use headings with bold or italic, example:    ## AV Signature Detection Bypass: **Custom Runner and Obfuscated Shellcode**
The Table of Contents displayed for such a heading is:    [AV Signature Detection Bypass: **Custom Runner and Obfuscated Shellcode**](app://obsidian.md/index.html#AV%20Signature%20Detection%20Bypass:%20**Custom%20Runner%20and%20Obfuscated%20Shellcode**)
I would like to see the markdown for bold or italics stripped from the resulting ToC entry since it does not actually bold it in the link but displays the markdown "*" instead

I identified another issue with presentation: bullet point headings
I configure my ToC to show a list level minimum of 2 and maximum of 5, however I only see level 2 headings in the ToC. This is because I always bullet-point the subheadings. So I have:
Heading Level 2: Shows in ToC

Heading Level 3: Doesn't Show in ToC

I identified another issue with presentation: bullet point headings
I configure my ToC to show a list level minimum of 2 and maximum of 5, however I only see level 2 headings in the ToC. This is because I always bullet-point the subheadings. So I have:
Heading Level 2: Shows in ToC

Heading Level 3: Doesn't Show in ToC

I have since learned that Obsidian markdown doesn't support bullet-pointed headings and they shouldn't be used, so addressing this issue might not be worthwhile

Hello! Links & markdown are now stripped in 1.3.1


Mahadev virtual thread 1brc

Check List:

[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs) ./test.sh mahadev_k
[x] All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable ./calculate_average_mahadev_k.sh
[x] Output matches that of calculate_average_baseline.sh
[x] For new entries, or after substantial changes: When implementing custom hash structures, please point to where you deal with hash collisions (line number)

Execution time: 1.5min Max
Execution time of reference implementation:

Please make sure that the scripts match your actual GH account name ("-" vs. "_"). Also note that new entries at this point should come in at ~10 sec to keep things manageable with the large number of entries so far.

I have updated the names as per the GH username.
calculate_average_mahadev-k.sh
./prepare_mahadev-k.sh
Sorry for the inconvenience. Please review and build the project again.

Please make the scripts executable.

Added chmod +x for the prepare and calculate mahadev-k .sh files.

01:53.208.

In the mac book pro - 32GB RAM and Apple M2 this takes only around 60-70 seconds though..


[Conf] TOML Configs for tasks-config.xml

Need the TOML configs for the following configs in the <PRODUCT_HOME>/repository/conf/etc/tasks-config.xml file as it is referred in [1]
<defaultLocationResolver>
            <locationResolverClass>org.wso2.carbon.ntask.core.impl.RuleBasedLocationResolver</locationResolverClass>
            <properties>
                <property name="rule-1">HIVE_TASK,HTTP_SCRIPT.*,192.168.1.*</property>
                <property name="rule-2">HIVE_TASK,.*,192.168.2.*</property>
                <property name="rule-5">.*,.*,.*</property>
            </properties>
    </defaultLocationResolver>

[1] https://is.docs.wso2.com/en/5.9.0/administer/configuring-the-task-scheduling-component/

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Ability to use only white led

Can you add the ability to control the white led while turning off all RGB leds. I could've sworn I opened an issue before where I either provided a full solution or someone else did but I can't find it. I think the colour wheel may have had a black option before but I can't find that either.
The simplest solution I can rethink off right off the top of my head is to change the code in the example sketch on line 183 from:
realWhite = map(white, 0, 255, 0, brightness);
to:
realWhite = map(white, 0, 255, 0, 255);
This maps the white value without regard to the brightness value which allows one to individually control RGB and WHITE.
In lieu of a better solution, please consider adding this modification to the example sketch.

This sounds like a duplicate of #37. Is that correct?
Honestly I haven't worked on this project in a while, but I thought I resolved that at some point.
Now that we're in COVID isolation mode, I'll break out an ESP again and do some testing.

This sounds like a duplicate of #37. Is that correct?
Seems about right but isn't something I think I've seen before

Honestly I haven't worked on this project in a while, but I thought I resolved that at some point.
See, even you thought this was settled! lol

The solution provided above does work btw. I'm using it now.


Webpage title should not be hard coded to Doctor

Currently on Browser, on multiple tabs when i open docs.minio.io i see Doctor, it should have an option for use to select and add the content.

seconded. :)

I will fix this tonight

fix ready

For me the doctor is still showing in the tab. Is it me or anyone else also experiencing it.

Reopening the issue.

Reopening the issue.

Haven't pulled the new changes in the docs.minio.io deployment. This issue is fixed though.


Heuristic fragment matcher

When upvoting in example-forum:
You are using the simple (heuristic) fragment matcher, but your queries contain union or interface types. Apollo Client will not be able to accurately map fragments. To make this error go away, use the IntrospectionFragmentMatcher as described in the docs: https://www.apollographql.com/docs/react/advanced/fragments.html#fragment-matcher

@SachaG I see a commit related to this in the apiSchema improvements, was it meant to fix this issue?


test: bump k8s 1.13 to 1.13.0-rc.2

Signed-off-by: André Martins<EMAIL_ADDRESS>

This change is

test-missed-k8s

Coverage decreased (-0.1%) to 43.447% when pulling 888d32edfb61a108d1a1e787049bb2dcd4863cdd on pr/bump-k8s-1.13-to-rc2 into 48ad1257d8e09631dd49dae4ab9c83ffdf82e457 on master.

test-me-please


Screen Size Responsive

Just want to ask in considering the responsiveness of the modal on different screens?
Is there a way I can modify the CSS of the modal? Considering that this is not the only modal I am using.
Here's a picture:

You can use customEditor and render your own form and fields with full control.
here is a simple example: https://codesandbox.io/s/customeditor-tt2pf
re-open if you still have issues


Added a progress bar on news page .

Description
I have added a progress bar on the news page similar to the home page .
Related Issues
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]

Closes #854

Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/user-attachments/assets/bff73135-3e12-42f9-a401-ca0631643cb8
Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have performed a self-review of my code
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

@varshith257 please review this .

Hi , @varshith257 can you please review this once .


Parallelization for ROIpooling OP

Description
What's the problem?
ROIpooling is used in the Faster-RCNN. It will consume lots of time in the inference path because of the current implementation (here) is not parallelized.
One profiling results as below:

Time   of each OP:
ms
ms/call
calls

ROIPooling
38718.288
1548.73152
25

Convolution
9963.628
3.724720748
2675

Reshape
0.677
0.00677
100

Activation
1089.6
0.427294118
2550

SoftmaxActivation
43.279
1.73116
25

add_n
1664.403
2.017458182
825

Pooling
68.531
1.37062
50

_contrib_Proposal
351.051
14.04204
25

softmax
0.658
0.02632
25

FullyConnected
29.328
0.58656
50

BatchNorm
2865.261
1.123631765
2550

What we have tried
We @pengzhao-intel @TaoLv have parallelized this pooling algorithm and got the 20+X performance improvement by OpenMP directives.

 I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Parallelization for ROIpooling

@cjolivier01

Hi, the community has passed to vote about associating the code changes with JIRA<EMAIL_ADDRESS>We have updated the guidelines for contributors in https://cwiki.apache.org/confluence/display/MXNET/Development+Process, please ensure that you have created a JIRA at https://issues.apache.org/jira/projects/MXNET/issues/ to describe your work in this pull request and include the JIRA title in your PR as [MXNET-xxxx] your title where MXNET-xxxx is the JIRA id
Thanks!

@cjolivier01 Could you help review again?
Our customer requested this features and want to get the usable code from official repo ASAP.
Thanks in advance.

LGTM

@cjolivier01
Shouldn't the omp pragma get number of threads from OpenMP::Get()?

it probably wouldn’t hurt. I don’t think it’s critical, though since channels tends to be a small number and it doesn’t look like the intent is to not use OMP if a GPU was used. it’s sort of like batch norm in this way.
but i suppose
for the sake of consistency it maybe should be fixed


openapi inheritance

Description:
Related to openapi. It seems like the inheritance isn't well handled.
When generating service for an openapi file that contains an inherited schema, got the following message :

Encountered an unsupported type. Type any would be used for the field.

Steps to reproduce:
Consider the following openapi file :
openapi: 3.0.1
info:
  title: test inheritance
  description: test inheritance
  version: 1.0.0
servers:
- url: http://localhost/api/v1
components:
  schemas:
    GuineaPig:
      type: object
      properties:
        property_one:
          type: string
    SuperGuineaPig:
      allOf:
      - $ref: '#/components/schemas/GuineaPig'
      - type: object
        properties:
          property_two:
            type: string
paths:
  /test:
    get:
      operationId: testGuineaPig
      responses:
        '200':
          description: test
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/SuperGuineaPig"

The ballerina openapi gen-service command output the following message :

Encountered an unsupported type. Type any would be used for the field.

and the produced schema is the following :

type GuineaPig record {
     string 'property\_one;
};
type SuperGuineaPig record {
    *GuineaPig;
     string 'property\_two;
};

Affected Versions:
jBallerina 1.2.2
Language specification 2020R1
Ballerina tool 0.8.5
OS, DB, other environment details and versions:
Ubuntu 18.04.4 LTS
Related Issues (optional):

Suggested Labels (optional):

Component/ToolSwagger
Suggested Assignees (optional):

Hi @scivray47 ,
Inheritance is a mechanism in which one object acquires all the properties and behaviours of a parent object.
and inheritance concept in openAPI is
In your API, you may have model schemas that share common properties. Instead of describing these properties for each schema repeatedly, you can describe the schemas as a composition of the common property set and schema-specific properties. In OpenAPI version 3, you do this with the allOf keyword Reference for the openAPI specification

In the above scenario, GuineaPig is a parent schema and SuperGuineaPig is a subschema extend from the parent. Above API model GuineaPigschema share common properties with SuperGuineaPig. Composition of the common property set attached to subschema using  allOf keyword.
When comes to map this scenario in Ballerina language it maps to type inclusion of the Object type reference, here it represents that  SuperGuineaPig includes all the properties related to GuineaPig record.
According to the two specification above generated code is correct and current, we added improvements to map any data type when the schema type is absent.

Close this issue since the allOf concept correctly handles in the tool. Please feel free to reopen the issue if you have any concerns regarding the concept.
Thank you so much for your input :)

Close this issue since the allOf concept correctly handles in the tool. Please feel free to reopen the issue if you have any concerns regarding the concept.
Thank you so much for your input :)


Dereference NULL return value

No check on the null value of metadatafile. If null, the following operations failed. Added null check for the metadatafile.

thanks @kansal
Can you add some test cases (for null values found for instance)?
LGTM

@kishankavala: The message has been changed.
@karuturi: Added the path. Please check
I have also made another change with respect to solving this problem of dereferencing of null pointer. Kindly review the changes.

instead of a notnull check everywhere, can you use a Non Nulllable ArrayList for tags or use CollectionUtils.addIgnoreNull() api?

@DaanHoogland Added the test file. Checking only the false cases. @wilderrodrigues Got away with the IF statements and replaced with the api @karuturi suggested. Please review the changes.

LGTM. @bhaisaab can you also take a look at the changes?

LGTM :+1:
Thanks for the improvements!

@kansal Please see my comments. While it's okay, please squash the commits into two separate commits; one targeting the saml related stuff and second one targeting the other component, so as to allow us to port the commits to other branches.

Closing this pull request. Will open one for each issue.


[ZEPPELIN-2166] HeliumBundleFactoty can't transfile imported es6+

What is this PR for?
Currently, we don't use any preset. This cause error messages like
when a helium package imports another packages which include es6+ syntax.
SyntaxError: Unexpected token import
    at helium.service.js:36
    at angular.js:10973
    at processQueue (angular.js:15552)
    at angular.js:15568
    at Scope.$eval (angular.js:16820)
    at Scope.$digest (angular.js:16636)
    at Scope.$apply (angular.js:16928)
    at done (angular.js:11266)
    at completeRequest (angular.js:11464)
    at XMLHttpRequest.requestLoaded (angular.js:11405)

https://github.com/1ambda/zeppelin-advanced-transformation/blob/master/examples/example-highcharts-columnrange/index.js#L3
https://github.com/1ambda/zeppelin-advanced-transformation/blob/master/index.js#L11

What type of PR is it?
[Improvement]
Todos

[x] - Install required NPM packages
[x] - fix babel configuration

What is the Jira issue?
ZEPPELIN-2166
How should this be tested?

Should be able to bundle existing helium vis
Should be able to bundle https://github.com/1ambda/zeppelin-advanced-transformation/tree/master/examples/example-highcharts-columnrange

Screenshots (if appropriate)
NONE
Questions:

Does the licenses files need update? - NONE
Is there breaking changes for older versions? - NONE
Does this needs documentation? - NONE

CI failed, but irrelevant.

profile: https://travis-ci.org/1ambda/zeppelin/builds/205664772
failed log1: https://s3.amazonaws.com/archive.travis-ci.org/jobs/205664774/log.txt
failed log2: https://s3.amazonaws.com/archive.travis-ci.org/jobs/205664775/log.txt

@1ambda Actually without this patch, I can't enable example-highcharts-columnrange with below error.
Unknown option: /Users/ahyoungryu/Dev/zeppelin-development/zeppelin/local-repo/helium-bundle/node_modules/zeppelin-advanced-transformation/.babelrc.presets

Anyway it works well as expected 👍

@AhyoungRyu It's because invalid .babelrc.

https://github.com/1ambda/zeppelin-advanced-transformation/blob/master/.babelrc

Thanks for detailed review!

LGTM 👍

@1ambda Can you rebase and see if CI becomes green?

@Leemoonsoo
CI is green: https://travis-ci.org/1ambda/zeppelin/builds/207631806

Thanks. Merge to master if no more comment!


On the init command, scaffold the subgraph with the contracts names of the ABIs

Currently the execution of graph init generates ABI's with the name Contract because of this https://github.com/graphprotocol/graph-cli/blob/3a9a5a972795029b63843761171fd7687e12fd8f/src/commands/init.js#L190
Could be good to apply take as name the filename of the ABI instead of Contract, or even introduce another cli option on graph init to control that.

I'm not aware of any ABI files that contain the contract name, although there may be some. I agree a --contract-name or --abi-name CLI flag could work.

I have no problem to submit a PR if you want @Jannis

@ernesto-usal That would be awesome! 😄

We could add support for Hardhat (and others?) artifacts where the contract name and abi are in one file. Example of such a file is:
{
  "_format": "hh-sol-artifact-1",
  "contractName": "MyNFT",
  "sourceName": "contracts/MyNFT.sol",
  "abi": [
    {
      "inputs": [],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
// ...

Is anyone working on the issue?


Update for Python 3.6

We updated this script to work for Python 3.6. Because you can't yum-install 3.6, we used a python3.6 binary from pyenv.

Here's an alternative using yum: #16.


Inline replies for iOS on the roadmap?

Hi! Is inline replies for iOS somewhere on the roadmap for this plugin?
Thanks!

#1273

So your answer is linking to an over a year old issue - which doesn't contain the answer. Thanks!

@danielcrk thanks for the passive aggressive comment! Open source software maintainers really appreciate that.
I mean it's not like you:
a) didn't bother to take the time to fill out the issue template and
b) didn't bother to search the past issues to see if it had been already reported and comment on that issue
Maintaining an open source project takes up a lot of time and I can't get to every feature. Pull Requests are always welcome from the community though!

Doesn't answer the "is it on the roadmap?" question, but it's open and he said it was a good idea. Also added the feature label.
So, is it on the roadmap? well, I don't think there is even an official roadmap.
PRs are always welcomed.


GPII-3970: Try to fix failing flowmanager tests

Work on static Istio ip (#444, #445, #447) seems to have made existing Issue with failing flowmanager tests (ie. https://gitlab.com/gpii-ops/gpii-infra/-/jobs/249398218) significantly more frequent - now it happens almost on every run on ephemeral clusters.
I was unable to reproduce this reliably locally and also unable to reproduce on existing CI cluster - rake test_flowmanager on an existing cluster works fine (one left behind by failed CI run - ig. dev-gitlab-runner env). This is furthermore difficult since we don't keep the locust containers around anymore after the failed tests (after https://github.com/gpii-ops/gpii-infra/pull/437) so I was not able to verify if this is the very same underlying issue we used to see or a slightly different one.
Investigating issues @natarajaya observed (details in https://github.com/gpii-ops/gpii-infra/pull/429 PR and https://issues.gpii.net/browse/GPII-4015) and fact that always only flowmanager tests are failing, while preferences seem to work fine, seem to point to issue with Istio egress traffic. Also the previous behavior and observed behavior after #445 and #447 points to some form of race condition (which is also the case of issues in #429).
This PR is a try to workaround the existing routing issue with pre-1.1 Istio by adding an additional SNI based rule for locust target.
Relevant (more or less) Istio issues:

https://github.com/istio/istio/issues/5498
https://github.com/istio/istio/issues/12882
https://github.com/istio/istio/issues/8833
https://github.com/istio/istio/issues/8572
https://github.com/istio/istio/issues/7659

Thanks @natarajaya, and thanks for linking the issue - GPII-4015.
Just one note here - I'm, not sure about the current one, as the locust containers get deleted, but the issue we used to see in CI was a different one to yours (#429).


Cannot find module '#internal/nitro/virtual/storage'

Environment
Nuxt project info:                                                                                19:50:41

Operating System: Linux
Node Version:     v18.16.1
Nuxt Version:     3.7.4
CLI Version:      3.9.0
Nitro Version:    2.6.3
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      srcDir, typescript, nitro, socket, app, runtimeConfig, tailwindcss, modules
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
just import import { useStorage } from 'nitropack/runtime/storage' anywhere during server startup,
e.g. we use nuxt3-socket.io which runs in dev mode nuxt.hook('listen', (httpServer) => { ... }) where it executes via jiti some initailizations.
see e.g. here https://github.com/wobsoriano/nuxt3-socket.io/commit/69ea86b4a6c0438e0cd9c8600f531d7383e97360
or https://github.com/wobsoriano/nuxt3-socket.io/blob/main/src/module.ts
anywasy I figured that due to this circumstances no auto imports are working, and I need to import useStorage manually. I couldn't find any other way then importing it directly from nitropack/runtime/storage.. this was working some months ago, but doesn't work with latest nuxt anymore.
Require stack:

node_modules/nitropack/dist/runtime/storage.mjs
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Function.resolve (node:internal/modules/cjs/helpers:116:19)
at _resolve (node_modules/jiti/dist/jiti.js:1:250334)
at jiti (node_modules/jiti/dist/jiti.js:1:252917)
at node_modules/nitropack/dist/runtime/storage.mjs:2:16
at evalModule (node_modules/jiti/dist/jiti.js:1:255614)
at jiti (node_modules/jiti/dist/jiti.js:1:253542)
at src/dashboard/dashboard-state.ts:4:16
at evalModule (node_modules/jiti/dist/jiti.js:1:255614)
at jiti (node_modules/jiti/dist/jiti.js:1:253542)
at src/server/socket/dashboardcore.ts:1:194
at evalModule (node_modules/jiti/dist/jiti.js:1:255614)
at jiti (node_modules/jiti/dist/jiti.js:1:253542)
at .nuxt/io-dev-functions.mjs:5:29
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Describe the bug
importing useStorage manually fails due to the reason that it cannot resolve #interal
Additional context
No response
Logs
No response

I actually went a different way, instead of using useStorage, I checked out unstorage directly.
import { createStorage, prefixStorage } from 'unstorage'

  const fs = fsDriver(configStorage)
  const storage = createStorage({})
  storage.mount('dashboardState', fs)

  const myStorage = prefixStorage(storage, 'myStorage')

I think you should import like this:
import { useStorage } from '#imports'

sorry to re-opening this issue, but I'm getting same error but don't use useStorage in my application (at least not directly, perhaps pinia-plugin-persistedstate uses it?):
"/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js" is imported by "virtual:#internal/nitro/virtual/storage", but could not be resolved – treating it as an external dependency.
can't really see any problems with my app so difficult to track down the issue... I'll be grateful for any suggestions how to fix it :)

Operating System: Windows_NT
Node Version:     v20.12.2
Nuxt Version:     3.11.2
CLI Version:      3.11.1
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      app, runtimeConfig, $development, css, modules, quasar, pinia, imports, vite, content, vue, nitro, devtools, devServer, ssr, build, alias
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -


Linking Issue [https://github.com/github/docs/pull/1807]

<--
HUBBERS BEWARE! THE GITHUB/DOCS REPO IS PUBLIC TO THE ENTIRE INTERNET. OPEN AN ISSUE IN GITHUB/DOCS-CONTENT INSTEAD.
-->
<--
For questions, ask in Discussions: https://github.com/github/docs/discussions
Before you file an issue read the:

[x] = Code of Conduct: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md

[x] = Contributing guide: https://github.com/github/docs/blob/main/CONTRIBUTING.md

Check to make sure someone hasn't already opened a similar issue: https://github.com/github/docs/issues
-->
What article on docs.github.com is affected?

PR https://github.com/github/docs/pull/1807
What part(s) of the article would you like to see updated?

Additional information

This issue is blank and appears have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions!


AVRO-2889: Temporarily disable flaky test

While this test is continually failing, the CI checks on travis aren't very useful.  This PR temporarily disables the tether test.
I think I might have found a better solution, but I'm proposing this temporarily while I check it out!
Jira

[X] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-2889
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[X] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain Javadoc that explain what it does

Closed in favour of https://github.com/apache/avro/pull/932 (a real fix by @kojiromike!)  Thanks!


Create Opulous

0xe59228600938aed4a6e667457c32a15ea90f6f4e

Logo should be placed in logos/0xe59228600938AED4a6E667457C32a15ea90F6f4E/logo.png
Contract needs to be verified

https://arbiscan.io/verifyContract
Hey guys can you take a look into verifying the contract I don’t have the
info to complete the action needed
Tom Napper
Head of Marketing
@.***
https://opulous.org/
CONFIDENTIALITY AND PRIVACY
This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential or privileged
information. Any unauthorised review, use, disclosure or distribution is
prohibited. If you are not an intended recipient, please contact the sender
immediately and destroy all copies of the original message. This
communication originates from Opulous, which is responsible for your
personal data. The controller of your data is Opulous.You can learn more
about how we collect and process your personal data in our privacy notice
which is on our website.
On Mon, 18 Dec 2023 at 21:48, cryptofish7 @.***> wrote:

Logo should be placed in
logos/0xe59228600938AED4a6E667457C32a15ea90F6f4E/logo.png
Contract needs to be verified

—
Reply to this email directly, view it on GitHub
https://github.com/traderjoe-xyz/joe-tokenlists/pull/997#issuecomment-1861739164,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEY3AFLFLXIJUBQLSXDEKSLYKC2ZNAVCNFSM6AAAAABAZW6VYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRRG4ZTSMJWGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

We can't sorry


How to display number and % in tooltip for Donut Chart

I am using a donut chart. I want to see absolute number and % value on tooltip. How to achieve that. For now, I can either display % or actual number.
My data is like this
Status     Count  Percentage
Pass          10            5%
Fail            5            2.5%
Not Tested  185      92.5%
Below is the code I am using for tooltip.
tooltip: {
enabled: true,
followCursor: true,
style: {
fontSize: '12px'
},
onDatasetHover: {
highlightDataSeries: false,
},
x: {
show: true,
format: 'dd MMM',
formatter: undefined,
},
y: {
formatter: undefined,
title: {
formatter: (seriesName) => seriesName,
},
},
z: {
formatter: undefined,
title: 'Size: '
},
marker: {
show: true,
},
                    fixed: {
                        enabled: false,
                        position: 'topRight',
                        offsetX: 0,
                        offsetY: 0,
                    },
                },

Thanks,
Anil

Same question here

hi. Anil and ws420
to show actual number, you can set in datalabels formatter
dataLabels: {             enabled: true,             formatter: function (val, opt) {                 return opt.w.config.series[opt.seriesIndex] + " " + val+"%"              }         },
regards,
AlbertTj

Thanks for the reply, however, the question was about displaying both the raw number AND the percentage, in the same tooltip.
I am also wondering if it is possible to have line breaks (both in dataLabels and tooltips)

sorry for misunderstanding the question
but actually the basic idea still same you can used custom function
tooltip: {                 enabled: true,                 custom: function ({ series, seriesIndex, dataPointIndex, w }) {                     let total = 0;                     for (let x of series) {                         total += x;                     }                     let selected = series[seriesIndex]                     return w.config.labels[seriesIndex] + ": " + selected + "(" + (selected / total * 100).toFixed(2) + "%)";                 }             },
source https://apexcharts.com/docs/options/tooltip/#custom


AWSParameterStore - Support Global Parameters

add support for global parameters

still need to add docs & changelog

Codecov Report

Merging #302 into master will decrease coverage by 0.21%.
The diff coverage is 37.50%.

@@            Coverage Diff             @@
##           master     #302      +/-   ##
==========================================
- Coverage   78.43%   78.21%   -0.22%
==========================================
  Files          41       41
  Lines        1048     1056       +8
  Branches      244      244
==========================================
+ Hits          822      826       +4
- Misses        105      109       +4
  Partials      121      121

Impacted Files
Coverage Δ

src/ParameterStoreBuildWrapperPlugin.groovy
43.33% <37.50%> (+2.42%)
:arrow_up:

Continue to review full report at Codecov.

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

Looks like code coverage  went down.  You modified the apply method, but there are no unit tests exercising that.  Can you add a unit test that exercises the new code that you added?  The new unit tests should run apply against a Stage, and should have global parameter paths, so that we exercise the loop you added at least once.

Code coverage is going down because the apply methods were not previously tested, and your change requires that more lines of  code be added to  apply (which therefore increases the number of  untested code lines).
Let's tackle that by first creating contexts for apply in our test suites.  Since we have 2 apply's - one for TerraformValidateStage and another for TerraformEnvironmentStage - let's create an "ApplyForTerraformValidateStage" context, and a "ApplyForTerraformEnvironmentStage" context, so that each method can be unit tested separately

I need a second look at the steps 2-5

Awesome!  Thanks for the contribution, this feels like a super useful feature!  :shipit:


swift-fsrs usage example

Hi,
Is there a mini-example project that uses swift-fsrs, that I can take a look at?
Thanks in advance

@kai, would you like to help?


AccessTokenValidation - HTTPClient Socket connection timeouts

I am currently using IdentityServer3.AccessTokenValidation for authenticating my WebApi with IdentityServer3 2.6.0.  In the regular Load, I dont see any issues however when the load is heavy and I keep getting socket connection errors (when Access Token Validation is trying to connect to Identity Server 3 using HttpClient)
Upon further investigating Access Token Validation code, I found that a new instance of HttpClient is initiated for every call and this is causing to open a new TCP connection in the server and even this client is never disposed.  As per windows, even if the HttpClient is disposed it takes 240 sec to remove the TCP Connection and in between we are getting http client connection pool threshold issues which is causing socket timeouts.  This issues also exists in IdentityModel.client where a new client is created.
Does any body faced similar kind of problem.  If so please share your thoughts.
Here is the link which explains about the HttpClient issue:
https://aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/

This issue is only applicable for OAuth2Client and once I have used my own client to connect to Idp, the socket issue is resolved.  Hence closing this issue.


Release 1.6.0

This PR does the release of a core-java library version 1.6.0.
This release brings numerous API improvements, as well as fixes and infrastructure updates to the framework.
API changes
Client

The ability to postAndForget() a command is added to the Client.
This method should be called when the user does not care about events/rejections produced by a command.
The previously used post() method is reserved for cases when one or more event types are actually observed by the client. The value returned by post() can no longer be ignored [#1292].
Event subscriptions are now more flexible, allowing to subscribe to events produced by non-entity objects (e.g. AbstractEventReactor) as well as events not explicitly declared in any BoundedContext [#1258].
The Client is extended with methods to handle streaming and server errors  when executing requests [#1270].

Server

The custom environments support is introduced [#1274, #1293].

The Environment now exposes API to register user-defined environment types and to determine which one is enabled at any given moment of time.
See the release notes of base.
The ServerEnvironment allows to configure environment-dependent values, as follows:

StorageFactory factory = InMemoryStorageFactory.newInstance();

ServerEnvironment.instance()
                 .use(factory, Tests.class);

The Spine framework provides two environments out of the box: Production and Tests.

Delivery API is extended with a factory method which allows to create asynchronous version of local Delivery [#1265].
The Pair can now be created from an already existing Optional [#1296].
The proper support to the CommandBus filters which throw rejections is added [#1295].

Model

The @External annotation is introduced to mark the handler method parameters of an external origin.
It replaces the previously used for this purpose (external = true) attribute of @Subscribe, @React and @Command annotation.
The attribute is deprecated [#1269].
(set_once) constraint in entity states is no longer ignored [#1268].
@ByField is deprecated in favour of @Where [#1270].

Logging

The DiagnosticLog messages are made more detailed [#1262].
The standard framework exceptions are expanded with more info [#1255].

Testing
Various quality-of-life changes are introduced for the testing API.
See #1249, #1251, #1252, and #1261.
Note, that some of these API changes are breaking.
Fixes
The Migration logic is fixed to properly support entity state updates [#1298].
Infrastructure
The project build scripts are migrated to Kotlin [#1278].

@dmitrykuzmin please substitute the Note, that some of these API changes are breaking with the corresponding notes next to each of the breaking change.

@dmitrykuzmin other than that, LGTM.


Support paths starting with /help

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #53
Test URLs:

Before: https://main--macquarie-help-centre--hlxsites.hlx.page/help/personal/home-loans
After: https://breadcrumb-path--macquarie-help-centre--hlxsites.hlx.page/help/personal/home-loans

Fixed via #73


Prefer bitsize variant over standard integral types

Fixes #69
Have adapted some tests, replaced some types in const, pointer tests to keep code clean.
Note : Although the CI checks are all passing, the standard does not mandate fixed width integer types to be available. Though very rare, there might be cases when these are undefined (embedded applications is what I can think of). I am not sure if if this project in intended to support such applications. If that is the case we could wrap each association with a feature test macro. Something like
#if defined(INT16_MAX)
DBG_MACRO_REGISTER_TYPE_ASSOC(short, int16_t)
#else
DBG_MACRO_REGISTER_TYPE_ASSOC(short, short)
#endif

Or if you have any other elegant suggestions please let me know!

Note : Although the CI checks are all passing, the standard does not mandate fixed width integer types to be available. Though very rare, there might be cases when these are undefined (embedded applications is what I can think of). I am not sure if if this project in intended to support such applications.

Thank you for thinking about this. I think it's fine to rely on the availability. For now, we do support the platforms and compilers that are tested in CI (GCC, Clang, MSVC). If someone wants to add support for additional platforms or compilers, we can re-evaluate this.

Another behaviour to note, even though the associations are registered, type names deduced from __PRETTY_FUNCTION__ and friends will still show int instead of int32_t. See below
int var{};
dbg(var);  // var = 0 (int32_t)

int arr1[3]{};
dbg(arr1);  // arr1 = {0, 0, 0} (int [3])

std::array<int, 3> arr2{};
dbg(arr2);  // arr2 = {0, 0, 0} (std::array<int, 3>)

std::array<std::pair<int, int>, 3> arr3{};
dbg(arr3);  // arr3 = {{0, 0}, {0, 0}, {0, 0}} (std::array<std::pair<int, int>, 3>)
dbg(arr3[0]);  // arr3[0] = {0, 0} (std::pair<int32_t, int32_t>&)

I am not sure how to fix this apart from specialising get_type_name for such common cases. What are your thoughts on this?

Thank you. This looks (almost) good to go. Can you please remove the tests/example binary?

I am not sure how to fix this apart from specialising get_type_name for such common cases. What are your thoughts on this?

Hm. Adding a specialization for C-style arrays and std::array would probably be a good idea, to avoid inconsistencies/confusion. But feel free to skip this for now.

Love this project! Taught me a lot :smile:


Unable to log into alternative domain in forest.

Version: <IP_ADDRESS>7
OS/Distro: Ubuntu desktop 16.04 - unity desktop
Issue/Impact: Unable to login on alternative domain after Horizon 7 clone.
I have a gold master VM that is joined to our staff domain which is part of a forest. I can log into this VM with a user in the staff domain. I can also login with a user in the student domain which is also part of the same forest.  However, when I login to a cloned VDI session, I can only login with user accounts in the staff domain, not the student domain.
Output/Error:

lsass.log
.
Steps to Reproduce:

install command

.

Domainjoin command
I used the gui

Command that returns issue

su student\username

Going off this statement

I have a gold master VM that is joined to our staff domain which is part of a forest.

The master image should not be at a joined state. It's ok with pbis installed but the join creates a few things that are unique to the machine: computer object, machine password, krb5 ticket.
I recommend creating an image with pbis installed. After a clone change the hostname and join the domain.

The Horizon View agent handles the clone rename and re-join to the domain.
If I remove it from the domain first, the whole process fails.  Thanks for your reply, but this is a specific issue to using PBIS with Horizon View.
Thanks
Kevin Aslett
Systems Engineer | CITS@MOE
Curtin University
Tel | +61 8 9266 1022
Email | k.aslett@curtin.edu.auhttps://sixprd0210.outlook.com/owa/redir.aspx?C=PLRXm6bdvEGmLoLra3uzlU1QkTXig88IQDth5vzZd_T5Gp6x8uEZK9tyDoCzECoNs_ZrbcrqiQM.&URL=mailto%3Ak.aslett%40curtin.edu.au
Web | http://curtin.edu.auhttps://sixprd0210.outlook.com/owa/redir.aspx?C=PLRXm6bdvEGmLoLra3uzlU1QkTXig88IQDth5vzZd_T5Gp6x8uEZK9tyDoCzECoNs_ZrbcrqiQM.&URL=http%3A%2F%2Fcurtin.edu.au%2F
Curtin University is a trademark of Curtin University of Technology.
CRICOS Provider Code 00301J
From: rbest-bt<EMAIL_ADDRESS>Sent: Thursday, 7 June 2018 19:57
To: BeyondTrust/pbis-open<EMAIL_ADDRESS>Cc: Kevin Aslett<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [BeyondTrust/pbis-open] Unable to log into alternative domain in forest. (#131)
Going off this statement
I have a gold master VM that is joined to our staff domain which is part of a forest.
The master image should not be at a joined state. It's ok with pbis installed but the join creates a few things that are unique to the machine: computer object, machine password, krb5 ticket.
I recommend creating an image with pbis installed. After a clone change the hostname and join the domain.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/BeyondTrust/pbis-open/issues/131#issuecomment-395394412, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmKRYBLEiyHGlSaZqShIAenYOZUbQyayks5t6RUjgaJpZM4UdstZ.

I have this issue as well. I followed this link to create my vm's, https://virtualizationreview.com/articles/2018/03/30/how-to-create-a-linux-instant-clone-for-horizon.aspx but ran into the issues mentioned above. Users in the domain can log in, but those in a different domain cannot.
Thanks in advance for your help.

Were the clones from a joined state? The linked setup do not address the potential of conflicting hostnames or computer objects.

What does the lsass logs show for the failed login?

No response. Closing issue


Simplify @validarium/validations

IMO this package should really just be 2 files: messages and something that loops over all predicates and connects them with the message. This should be possible if we choose a convention for the values passed to messages, e.g. $1, $2 or so (or by always passing objects).

Closing in favour of #35


DBZ-5654 Outbox pattern nested payload leads to connector crash

https://issues.redhat.com/browse/DBZ-5654

The DB2 and UI test failures are unrelated; the UI one has a pending PR to fix.

Applied to main (=2.0) and branch 1.9.


Bug : I can Claim Quests that I didn't create

Describe the bug
Like the title says, I can Claim Quests that I didn't create, and they seem to execute.
To Reproduce
Steps to reproduce the behavior:

Go to a Quest you didn't create that has a Claim scheduled
Click on "Claim"
Confirm transactions in Metamask
Claim is Executed in the interface

Expected behavior
I would've expected the "Claim" button not to be visible for Quests I didn't create
Screenshots

Desktop (please complete the following information):

OS: macOS High Sierra v10.13.6
Browser:  Chrome
Version:  101.0.4951.64 (Official Build) (x86_64)

If the Quest you claimed is expired, it's intended to let other users execute it (so the creator doesn't have to wait for the player to execute it for reclaiming the remaining funds and deposit). But the warning message is definitely misleading here. Could be better to have something like "Only a stakeholder of this Quest may execute this claim". And in the best world, the Player would be notified (email or internal app notification) if the claim is executed so he knows that the reward as been sent to his wallet.

Maybe a better question is who is NOT allowed to execute a claim when its expired? If everyone can execute it, then I'd think you'd just say "Anyone can execute this claim on behalf of the person that created it."

Yes everyone can execute it when the delay is over (even if the Quest is not expired). However, I want the UI to communicate that only the player should execute it because that way he knows that the reward should be in his wallet. The reason, the UI shows it for everyone when the Quest is expired is to let the Creator execute it without waiting for the Player (so he can reclaim his deposit and the remaining funds)

That makes sense I wasn't sure what to think as I'm still new around here :) thanks for the clarity on this and I agree


Don't require all keys to be specified to enable key checks (#2816)

Added a few tests to try to be descriptive about how we expect keys to behave.
Tried to make the key checking algorithm clear - could be optimised by looping just once but we are only iterating up to 4 times.

Should fix #2816

Thanks!! :)


non_branch_link is empty on iOS only

Hi, I am trying to migrate an app from ionic deeplink plugin to branch. For the first few releases I need to support both non branch deeplinks as they are out in the wild and branch links. In android everything works as expected as I handle +non_branch_link for the old links. When the same link is pressed in iOS, the app opens but there is no +non_branch_link field on the payload. In fact it acts exactly as if I opened the app by pressing the app icon and not a link. Branch links work as expected in both platforms.
In xcode logs I do see a log:
Example[14234:2883109] jsonMessageStr = {"status":"success","type":"onAppOpenAttribution","data":{"link":"https:\/\/demo.example.com\/#\/intouch"}}

but from initSession() I only get
{+clicked_branch_link: false, +is_first_session: false}

I did find an old closed issue of something like that happening because of a conflict with the Facebook plugin so here is the list of plugins and versions I am currently using in case it helps:
    "branch-cordova-sdk": "3.1.6",
    "cc.fovea.cordova.purchase": "7.1.1",
    "cordova-android": "6.4.0",
    "cordova-android-firebase-gradle-release": "2.0.0",
    "cordova-android-play-services-gradle-release": "2.0.0",
    "cordova-android-support-gradle-release": "2.0.1",
    "cordova-clipboard": "1.2.1",
    "cordova-fabric-plugin": "1.1.14-dev",
    "cordova-ios": "5.0.0",
    "cordova-launch-review": "3.1.1",
    "cordova-plugin-add-swift-support": "1.7.2",
    "cordova-plugin-app-event": "1.2.1",
    "cordova-plugin-app-preferences": "0.99.3",
    "cordova-plugin-appminimize": "1.0.1",
    "cordova-plugin-appsflyer-sdk": "4.4.13",
    "cordova-plugin-badge": "0.8.8",
    "cordova-plugin-call-number": "1.0.1",
    "cordova-plugin-camera": "4.0.3",
    "cordova-plugin-camera-preview": "0.10.0",
    "cordova-plugin-datepicker": "0.9.3",
    "cordova-plugin-device": "2.0.2",
    "cordova-plugin-facebook4": "4.0.0",
    "cordova-plugin-file": "6.0.1",
    "cordova-plugin-firebase": "2.0.5",
    "cordova-plugin-globalization": "1.11.0",
    "cordova-plugin-google-analytics": "1.8.6",
    "cordova-plugin-google-conversion-tracker": "1.0.1",
    "cordova-plugin-googleplus": "5.3.0",
    "cordova-plugin-inappbrowser": "2.0.2",
    "cordova-plugin-ionic-keyboard": "2.1.3",
    "cordova-plugin-ionic-webview": "1.1.19",
    "cordova-plugin-ios-keychain": "3.0.1",
    "cordova-plugin-local-notification": "0.9.0-beta.3",
    "cordova-plugin-network-information": "2.0.1",
    "cordova-plugin-splashscreen": "5.0.2",
    "cordova-plugin-statusbar": "2.4.2",
    "cordova-plugin-whitelist": "1.3.3",
    "cordova-plugin-x-socialsharing": "5.4.3",
    "cordova-sms-plugin": "1.0.0",
    "cordova-sqlite-storage": "2.6.0",

and here is my config:
        <branch-key value="key_test_example" />
        <uri-scheme value="example" />
        <link-domain value="link.example.com" />
        <link-domain value="app.example.com" />
        <link-domain value="uat-link.example.com" />
        <link-domain value="demo.example.com" />
        <ios-team-release value="V6....B9" />

Did you find a fix for this? I have the same issue.


v4.0-branch: manifest: update percepio

Describe the bug
Inefficient tracing of ISRs is fixed in the release of TraceRecorder in the percepio module.
To Reproduce
Enable ISR tracing.
Expected behavior
Not every ISR should be anonymously traced.
Impact
Very inefficient tracing of ISRs.
Logs and console output
Environment (please complete the following information):
Additional context

Will be used to backport #83180


does Async.runSync use fibers?

When you say stops execution is it blocking until you call done()?

Yes it blocks the execution of that fiber until you call done

Ok but it still allows the event loop to keep executing instructions on the stack?

Basically my question is if using runSync blocks the event loop because I've heard this is bad thing to do.

No no. It doesn't block the event loop.
On 2015 පෙබ 12, බ්‍රහස් at ප.ව. 4.56 Yann Buydens<EMAIL_ADDRESS>wrote:

Basically my question is if using runSync blocks the event loop because
I've heard this is bad thing to do.
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/meteor-async/issues/3#issuecomment-74056153
.

ok awesome. this is a pretty sweet utility!


Prebuilt download link is not accessible

Excuse me, I've tried to open the link of Version2 Windows , but it didn't work.
https://d17h27t6h515a5.cloudfront.net/topher/2017/February/58983318_beta-simulator-windows/beta-simulator-windows.zip
Is there any alternative link? thanks.

Unfortunately cloudfront is blocked in China - I'll try to look for if we have a separate link that works there, or otherwise switch over to AWS S3.


Use last_query_id when retrieving last_insert_id

I note in this project:
https://github.com/benryan2010/django-snowflake-backend/blob/master/django-snowflake-backend/operations.py
They use the last_query_id to ensure that the max query relates only to the last query in the current session.
I guess this only works if the database session is specific to the current web session and is not shared.
        try:
            with self.connection.cursor() as cursor:
                cursor.execute('SET qid = last_query_id()')
        # TODO: map exception here
        except Database.errors.ProgrammingError as e:
            # default error message
            print(e)
            # customer error message
            print('Error {0} ({1}): {2} ({3})'.format(e.errno, e.sqlstate, e.msg, e.sfqid))
            return False

        set_statement_id_sql = 'select max("{0}") from "{1}" AT(statement=>$qid)'.format(pk_name, table_name)

Would this help alleviate the race condition?

First, I'm not a Snowflake expert. I did see that approach, but as far as I could tell, it could also be problematic. My sense is that Snowflake should be used as a data warehouse, not in a web application context where concurrency is a factor. That being the case, adding more overhead each time a new object is created (perhaps even giving users the idea that this use case is appropriate) didn't seem worthwhile.
@sfc-gh-mkeller, any opinions?

Absent an argument that this is worth the cost, closing as wontfix.


Typescript test sample: Apigw, Lambda and external API

Issue #, if available:
Description of changes:
This example contains basic examples of TypeScript tests, unit and integration, for AWS API Gateway, Lambda and external APIs where the external API is mocked in a volatile environment.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

#298

Hi @RedHeadDigital, thanks for the Pull Request!
Just wanted to make sure you know we saw it come through - I'm hoping to take a closer look this week (between re:Invent sessions 😄 )

Hi @RedHeadDigital!
Appreciate the updates, looks like we're making solid progress!
With the tweak adding the Conditional to the MockAPI, I'm seeing an error trying to deploy when IsVolatile is false (there's a comment on the template file with details).
Could you take a look when you get a moment?
Then, last change I've found is to adjust the folder name for your example. If you're contributing on behalf of an organization, we've been appending the organization name to the end of the folder path (check out Datadog's contribution as an example).
Also, apologies for the delayed review.

Hi @brnkrygs
Sure! I'll take a look into that failure 👍🏻
Do you have any guidance on the determining factors for submitting on behalf of an organisation or submitting as an individual?
Thanks
Mark

Hi @brnkrygs
Sure! I'll take a look into that failure 👍🏻
Do you have any guidance on the determining factors for submitting on behalf of an organisation or submitting as an individual?
Thanks Mark

Regarding guidance for organization vs. individual... checking with our team.

Hi @brnkrygs
Sure! I'll take a look into that failure 👍🏻
Do you have any guidance on the determining factors for submitting on behalf of an organisation or submitting as an individual?
Thanks Mark

Regarding guidance for organization vs. individual... checking with our team.

No strong guidance at the moment. Its more about if you see yourself as representing your organization or not. How are you approaching this one?

I'd say that I'm representing myself for this one as the PR for this pattern has emerged from a blog post I wrote that I felt required more detail when focusing on a serverless platform.
Blog: Serverless: Are you seeking confidence from the wrong place?

I'd say that I'm representing myself for this one as the PR for this pattern has emerged from a blog post I wrote that I felt required more detail when focusing on a serverless platform.
Blog: Serverless: Are you seeking confidence from the wrong place?

Sounds good. Last step is to verify that you approve contributing under the License, per the Contributing guidelines. After that I can merge!

I approve this pull request & contribution as per the License set out as part of the Contributing documentation 👍🏻
Thanks again!

Hi @brnkrygs,
Just curious when this pattern will appear on the site?
Thanks
Mark

Hi @brnkrygs,
Just curious when this pattern will appear on the site?
Thanks Mark

Hi @RedHeadDigital
Its merged into the main project repo now, from what I can see. Or, are you talking about a different site?

Hi @brnkrygs,
Maybe it's a misunderstanding I have. I initiated this patterns creation via https://serverlessland.com/testing/patterns, it was my assumption a merge into main would appear on that site.
Thanks
Mark

Ah, OK. No misunderstanding there. It should be synchronized over to that site.
I'll check into the process on our side and see if I can find out what's happening there.
Thanks for checking in.

Hi @RedHeadDigital - we were finally able to clean up the sync process and your pattern is now live on serverlessland. Thanks for your patience!
https://serverlessland.com/testing/patterns/typescript-test-samples-apigw-lambda-external

Hi @brnkrygs
Thanks for the update! Great to see it live 🥳


Bugfix/APPS-2723 — data quality

Fix Agency Contributions table on the Data Quality Dashboard:
Originally, this ticket was created to fix the load time for this table, but that's been fixed by the backend update. But there was an actual bug—Some of the keys in the agenciesById table were mapped to the same agency name, which was why values were being overwritten within that table.

wrong branch

wrong branch


Categorize/Descriptions/Index in README?

Some method of organization, or "index" in the README might be useful. See https://github.com/vinta/awesome-python for an example.
Perhaps part of the users PR to add a trick would be to add an entry in the README?

Hey,
thanks for opening this issue. I already had the intention to structure this repo in some way, see https://github.com/brennerm/PyTricks/issues/29, but it didn't seem like there was a need for.
Do you have any suggestions which categories to choose?

Ah, I missed #29. If there is no demand then i'd just leave it as is.

Hey guys, based on the book Fluent Python (http://shop.oreilly.com/product/0636920032519.do), we could create something like this:

The Python Model Objet
Data Structures
2.1 Array and Sequences
2.2 List Comprehension
2.3 Tuples
2.4 Slicing
2.5 Using + and * with sequences
Dictionaries and sets
Decorators

btw, I could start this process in a different branch. What did you think?

I like the idea of following the book. It could also be interesting to follow something like the official tutorials: https://docs.python.org/2/tutorial/

Hey guys, sorry for my late response.
I like the approach the book takes and created a new branch called #53-introduce-categorization.
Feel free to add your ideas to it and open a pull request for further discussion.
I will think about it as well and add my ideas.

Hey @brennerm, could you rename the branch? 'cause I think that will not be possible make git clone with the branch name starting with "#".

Done.
https://github.com/brennerm/PyTricks/tree/issue53-introduce-categorization

Maybe should add license explicitly in readme?

Hey @Friz-zy, what's the purpose?


CodeArea and setStyle(start,stop,style) doesn't work

We use the CodeArea in JabRef as text-editor for BibTeX sources. I was working on a highlighting parser when I noticed, that somehow org.fxmisc.richtext.GenericStyledArea#setStyle(int, int, S) doesn't work. I can use setStyle for the whole text successfully, but as soon as I try to style only a text-range, nothing is changed. I've created a minimal example  that is based on the java-keywords code and can be run on its own (adjust the package header).
There, I try to set the style for testing. The commented portion works, the text-range styling not
    @Override
    public void start(Stage primaryStage) {
        CodeArea codeArea = new CodeArea();
        codeArea.setParagraphGraphicFactory(LineNumberFactory.get(codeArea));
        codeArea.replaceText(0, 0, sampleCode);

//        codeArea.setStyle("-fx-font-weight: bold");
        codeArea.setStyle(0,30, Collections.singleton("-fx-font-weight: bold"));

        Scene scene = new Scene(new StackPane(new VirtualizedScrollPane<>(codeArea)), 600, 400);
        primaryStage.setScene(scene);
        primaryStage.setTitle("Java Keywords Demo");
        primaryStage.show();
    }

I'm on Linux with Java 1.8.0_144 and richtextfx:0.8.1. Is this supposed to work this way or am I doing something completely stupid?

Is this supposed to work this way or am I doing something completely stupid?

Since you are using a CodeEditor, which subclasses StyleClassedTextArea, the applyStyle function works like this (textExt, styleClass) -> textExt.getStyleClass().add(styleClass). However, you are passing inline css as the argument, not a style class. (Also, a better way to add style classes is setStyleClass(int, int, S) since the type for setStyle is setStyle(int, int, Collection<S>))
codeArea.setStyle affects the style of the entire area, not an individual paragraph or section of it.
If you want to use both in your code, you'll need to use a custom applyStyle function like the one mentioned in the wiki. There's no section header to it, so go to this page and scroll to where it say "If you wish to use an approach that mixes the two, you should follow this pattern." It appears right above the "Style Class Pattern" header

Thank you for replying in such detail. I'm trying this out.


Deployment instructions are unclear

I guess I run the toolbox, then run some commands inside it?
Could there be a weaveworks/kubernetes-anywhere:deploy image that just does all this?
Or just a weaveworks/kubernetes-anywhere:toolbox deploy tool, or something?

I've discussed this with @peterbourgon and @rade earlier, and the conclusion was to avoid too much wrapping.
How about this:
docker run … toolbox sh -c 'setup-kubelet-volumes && compose -p kube up -d'


Spigot Releases

I doubt it's possible to invite members to Spigot though. Shall we perhaps direct downloads to GitHub releases? Or maybe integrate Spigot releases with GitHub Actions Pipeline somehow? What do you think?
Originally posted by @remi6397 in https://github.com/remi6397/AntiRelog/issues/12#issuecomment-902889442

I think we should just use GH Releases, at least for now. Once we bump version, we should make a tag out of it and then attach the artifact jar on GH.


Allow Records with Matching Name + Type

what

Allowing for records to have the same Name and Type
Added index to key for records map

why

We want to be able to create records that have the same name and type, so that we can create NS (different values)
It is up to the user to ensure that duplicate records are not attempted to be created. Otherwise we would need to add name+type+value as key for the record map

references

Closes #15
Closes #14

/test all

/test all

Closing in favor of #17


Training.py Error

Training.py returns an error. Any idea why?

What type of error were you experiencing?


Failed import with auto-generated titles

My imports fail when a section has the title set to auto-generate based on other fields.
The error shows as Import: {"title":[" cannot be blank."]}
Removing this does solve the problem, but all entry titles then need to be adjusted.
Is there a way to support importing with auto-generated titles?

Feed Me supports this out of the box (just double checked too), but bare in mind you have to map the other fields that dynamically make up your title field.
If you're struggling, can you send a Help request, along with your title format for your entry type?

Same issue arises with me: https://www.us-cert.gov/ncas/all.xml Could you please suggest what fields should I have to create. Please find the attached screenshot for reference.

@ImDineshSaini Is your title format correct? Its listed as {ite.first.title} - what is ite?

Yes it is {title} and i have set item as well please see screenshot

@ImDineshSaini You don't seem to have a title field in your entry - only a Link field? Have you actually tried to create an Entry for this section manually - did it work? See below example - I don't believe this is a Feed Me issue.

There is no field created by Feed me so I have to create one

Feed Me won't create any fields for you, so yes, you'll need to create any fields you need.
The Title Format option allows you to use any inbuilt fields for an entry (author, slug, section, dateCreated, etc) along with any custom fields you may have to make the title. Because you have Show the Title field unticked, you can't use the Title field for your dynamic title.
I have just tested with the below trying to create a manual entry, and it fails because the Title Format is incorrect (there is no field called Title, because you're dynamically generating one).

I have updated and add only link from xml.

Should I have to make news as structure or channel

Could you please help me to map the RSS entries, how to map the attribute?

@ImDineshSaini Can you please send a help request through the Feed Me page? I know you sent one initially, but would like to see your updated options. Also - it might be worth creating a new issue to not take over this one.
Are you on the Craft Slack channel? It might be more effective providing assistance through there.

Okay Let me add myself to slack.

I m there on ImDineshSaini, how could I share my problem there.

Thanks for your reply.
I gathered it would support it out the box.
I am not doing anything special, just mapping a plain text field to the
title. It works when I add an entry in Craft, but not when I import.
N
On 25 Mar 2016 12:39 p.m., "Josh Crawford"<EMAIL_ADDRESS>wrote:

Feed Me supports this out of the box (just double checked too), but bare
in mind you have to map the other fields that dynamically make up your
title field.
If you're struggling, can you send a Help request, along with your title
format for your entry type?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/engram-design/FeedMe/issues/36#issuecomment-201265673


v0.6.3

Changes
prepare v0.6.3. release
Related Issues
Closes # (add issue numbers)
Checks

[ ] updated CHANGELOG.rst
[ ] updated tests
[ ] updated doc/
[ ] update example/tutorial notebooks
[ ] update manifest file

create release PR

[x] create a PR that finalizes the code for the next version

[x] name the PR according to the version vX.Y.Z and add the release
tag (example here)
[ ] make sure CHANGELOG.md is up-to-date and enter current date to the release version
[x] add summarized release highlights where appropriate
[ ] update the CITATION.cff version number and date
[ ] search the project for deprecated and remove deprecated code

[ ] wait for review and the CI jobs to finish
[ ] check the readthedocs PR build

Merge the Pull Request

[ ] merge normally and wait for all CI actions to finish on the main branch

add Git(hub) tag

[ ] tag and release the current master version on GitHub using the Releases feature

[ ] name the release git tag according to the version released (e.g. v0.3.3)
[ ] name the GitHub release accordingly, omitting the v prefix (this can be change later so don't worry, in
doubt use vX.Y.Z everywhere)
[ ] copy the changes/release notes of the current version into the description
(this website can be used to convert rST -> MD)

[ ] wait for all Github Actions to finish

ReadTheDocs update

[ ] check the build processes for latest, stable and vX.Y.Z get triggered on RTD (the tag build can get
triggered twice, resulting in a failed/duplicated build, no need to worry)

pypi release

[ ] check the automatic release to pypi after the build action completes here

conda-forge release

pypi release should get picked up by the conda-forge bot and create the new
pull-request here
[ ] carefully check the meta.yaml in the pull request, manually update all changes in the build and run dependencies
[ ] merge with 2 or more approved reviews

Why did you need to bump the manifest/extension version? I remember I was struggeling with adding the media_file schema to manifest and had some chat with Volker to resolve it.

Why did you need to bump the manifest/extension version? I remember I was struggeling with adding the media_file schema to manifest and had some chat with Volker to resolve it.

The manifest (and weldx extension) with version 0.1.1 have already been released in v0.6.2 (or earlier)
In those cases I prefer to create a new version to avoid any confusion and keep the release versions stable


Unable to find details of default user for trusted registry

Hi there,
I'm trying out DTR for the first time and following these docs : (https://docs.docker.com/docker-trusted-registry/install/install-dtr/)
It is all working fine up until : "Set the Trusted Registry domain name"
On my setup when DTR is installed and I go to https://localhost it takes me to the login screen.  There is no mention of the login screen in the documentation.  I'm assuming there is some kind of default login required before "Set the Trusted Registry domain name".  Maybe I'm missing something obvious?
Tried restarting and noticed this error
docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username (thshaw):
Password:
Login Succeeded
sudo bash -c "$(docker run docker/trusted-registry start)"
Checking for required image: docker/trusted-registry-distribution:v2.2.1
Checking for required image: postgres:9.4.1
Checking for required image: docker/trusted-registry:1.4.3
Checking for required image: docker/trusted-registry-admin-server:1.4.3
Checking for required image: docker/trusted-registry-log-aggregator:1.4.3
Checking for required image: docker/trusted-registry-garant:1.4.3
Checking for required image: docker/trusted-registry-nginx:1.4.3
Checking for required image: docker/trusted-registry-index:1.4.3
INFO  [1.4.3] Attempting to connect to docker engine dockerHost="unix:///var/run/docker.sock"
INFO  [1.4.3] Running start command
INFO  [1.4.3] Attempting to check and verify online license after config change keyId="k***********_****************"
WARN  [1.4.3] Failed to update online license error="403 Forbidden"
INFO  [1.4.3] Using links? false
Pulling image docker/trusted-registry-distribution:v2.2.1 with docker daemon unix:///var/run/docker.sock
Pulling image docker/trusted-registry-distribution:v2.2.1 with docker daemon unix:///var/run/docker.sock
Pulling image docker/trusted-registry-index:1.4.3 with docker daemon unix:///var/run/docker.sock
Pulling image docker/trusted-registry-nginx:1.4.3 with docker daemon unix:///var/run/docker.sock
Pulling image docker/trusted-registry-admin-server:1.4.3 with docker daemon unix:///var/run/docker.sock
Pulling image docker/trusted-registry-log-aggregator:1.4.3 with docker daemon unix:///var/run/docker.sock
Pulling image docker/trusted-registry-garant:1.4.3 with docker daemon unix:///var/run/docker.sock
Pulling image postgres:9.4.1 with docker daemon unix:///var/run/docker.sock
Thanks in advance,
Tom

It would be better to contact<EMAIL_ADDRESS>or post your question in the forums (https://forums.docker.com/c/commercial-products/dtr) since DTR is a commercial product that uses distribution.

Will do. Thanks Matt.


How to cache native-image?

I use in my hosts act runner, and it took time too much.
      - name: Setup Graalvm
        uses: graalvm/setup-graalvm@v1
        with:
          java-version: '17'
          version: '22.3.2'
          components: 'native-image'
          cache: 'gradle'

The GraalVM installation should only be downloaded once per version on self-hosted runners. Could you please share the relevant bits of a build log so that we can understand better what's going on on your machine? You can also restart build with debugging enabled, which may provide more useful info.

Oh, I didn't see the screenshot. Maybe rerun with debugging enabled or try upgrading to GraalVM for JDK 17, which has Native Image included (so you no longer need the "components: 'native-image'" line).