KAFKA-17505: New consumer seekToBeginning/End should run in background thread

Jira: https://issues.apache.org/jira/browse/KAFKA-17505
Move seekToBeginning/End  run in background thread.
The app thread will be blocked until background finish this operation in order to avoid race issue.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hi @kirktrue @lianetm @chia7712,
I have updated the seekToBeginning and seekToEnd methods to use addAndGet. Please take a look.

Thanks! LGTM. Could you please just update it with trunk latest changes? Thanks!

Done. Thanks for review.

Hey @TaiJuWu could you merge trunk again please? Some changes in this same area went in recently, just to make sure we have a green build with the merge. Thanks!

Some changes in this same area went in recently, just to make sure we have a green build with the merge.

@lianetm You're such a thoughtful person :+1:


Formatters specs are failing on different environment.

This is failing on my environment.
I have Windows 11 on Polish/Poland locale.
I tried to add ROOT locale, but it does not work:

That looks like a time-zone issue.  My tests assume the time zone of my machine (CDT).  I'll have to modify the tests to be time-zone independent.

Fixed by sathwikmatsa


Update CHANGELOG for 0.6.0 release

Update the CCM CHANGELOG.md after the latest 0.6.0 release.

@prydie done


Fix bug in extracting y-series

https://github.com/ASIDataScience/scala-plotly-client/commit/0b1c34f61abe56303aa8fa48d15d7021f3629b64 introduced a bug in which the ysAs method was actually extracting the x-series, rather than the y-series as the name suggests.

Good catch. The methods to extract information back out of a Series object, or figures in general, are fairly untested.


Update ProfferBehaviorTest.php

Removed unused test param

Coverage remained the same at 89.88% when pulling 2640fc7bdfd15736603b34069b0d715ce38d3a98 on bugfix-test-param into 6e060b4eb2028bc66e2df6bd2f78e91bfa1a4f55 on develop.


Pre-installation problems

I have tried to follow the instructions in the pre-installation section, but it fails at the first point of getting the id for the resource_format.
The GET method returns an object with message: "Not found: Could not find vocabulary "resource_format".
My ckan installation is 2.8.0a with DataStore and DataPusher enabled.
Is there any other prerequisites or version requirements?
Also, the process of adding a swagger description to a dataset is not described in the brief readme for this project. How is it done once you have the plugin installed?

Same here.Anyone have a solution?


Increase test timeouts to avoid Travis failures

Hm, it's very surprising that these tests take longer than 2 seconds to run

Looks good


Supporting coverage plugins

Is there any way to support coverage plugins?
My .coveragerc file uses the django_coverage_plugin plugin
[run]
relative_files = True
branch = True
plugins = django_coverage_plugin

And I get this error when running the workflow:
Traceback (most recent call last):
  File "/workdir/coverage_comment/subprocess.py", line 22, in run
    return subprocess.run(
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('coverage', 'json', '-o', '-')' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workdir/coverage_comment/main.py", line 44, in main
    exit_code = action(
                ^^^^^^^
  File "/workdir/coverage_comment/main.py", line 96, in action
    return process_pr(
           ^^^^^^^^^^^
  File "/workdir/coverage_comment/main.py", line 127, in process_pr
    _, coverage = coverage_module.get_coverage_info(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workdir/coverage_comment/coverage.py", line 99, in get_coverage_info
    subprocess.run("coverage", "json", "-o", "-", path=coverage_path)
  File "/workdir/coverage_comment/subprocess.py", line 36, in run
    raise SubProcessError("\n".join([exc.stderr, exc.stdout])) from exc
coverage_comment.subprocess.SubProcessError: Traceback (most recent call last):
  File "/usr/local/bin/coverage", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.12/site-packages/coverage/cmdline.py", line 970, in main
    status = CoverageScript().command_line(argv)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/coverage/cmdline.py", line 704, in command_line
    self.coverage.load()
  File "/usr/local/lib/python3.12/site-packages/coverage/control.py", line 501, in load
    self._init()
  File "/usr/local/lib/python3.12/site-packages/coverage/control.py", line [34](https://github.com/myollie/olliemain/actions/runs/9292185517/job/25572489665?pr=10274#step:13:35)3, in _init
    self._plugins = Plugins.load_plugins(self.config.plugins, self.config, self._debug)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/coverage/plugin_support.py", line 55, in load_plugins
    __import__(module)
ModuleNotFoundError: No module named 'django_coverage_plugin'

it makes sense, as coverage doesn't run in your env but in the action's own dockerized env.
This caused #370 in the past, and the only way forward I'd see would be doing #347 (which is likely quite some work).
Do you have a better idea?

The best option would be to allow custom package installation, through one of the options set on the action.
The entrypoint script would check for that, and install them on demand.

This would probably lead to a slower action start for users of this feature. It's not a problem per se, but let's keep that in mind.
Also, I imagine we'd soon have people requesting the ability to install custom apt packages because they need them for the python packages etc.
I wonder if there could be a way to select a custom base image instead...

That's actually a good call. Why don't we update the base image to include the top 10 most used coverage.py plugins?

Do you want to compare the current base image with, say, what it would be if we installed the plugins advertised in the coverage lib? I'm ok going this way this if this doesn't add more than 30% to the size of the image (gotta put the threshold somewhere).
(haha we're featured on that page, I didn't know that 😅)

I'll try to have a look on that this weekend.


feat: validate error code as expression

Closes #69

I've pushed an implementation with no-expression rule. Let's look into this again in 2023 🎅


Cleaned up  Complex Powers example, added Hopf Tori

Making more examples on the road to my real application!
Cleaned up a bit how I was making the material; there's now a folder that contains all the stuff for a single material: its properties, it's vertex shader, and the fragment shader used as a texture map.  Replaced the grapher (now called Complex Powers to be more specific) with this hopefully more readable code, and added a second example (Hopf Tori).  I put an explanation of the math / the controls for each which can be accessed in the menu too.
I should also say - if you look through any of the code and notice things I'm doing badly - let me know!
I have no training in programming and only started picking up javascript during quarantine to make my online lectures more interesting.  So I'd of course appreciate any help!

Looking good!

I have no training in programming and only started picking up javascript during quarantine...

Sure doesn't look like so haha, your code is really clean! What do you teach?
I have given you your own section in the demo site, You can possibly spin it off into its own site quite easily to show off your work outside this Niche library lol. Your work is super cool.
Do you have experience or knowledge in creating Noise functions in GLSL? I could really use some help in generating GPU Fractal Noise for another library of mine.

I'm a mathematics postdoc so I teach the whole range of undergrad math these days (this year real analysis and group theory, and a couple sections of calc).  And I don't have any experience with noise functions, but I do have a fair amount of experience in GLSL (thats how I first got into programming about 2 years back when we used it to speed things up for a research project!). So when school's out would be happy to talk and see if I could be helpful!

Wow yes, let me know once you’re free, Noise functions are pretty much just Math and we’re using GLSL so it’ll be right up your alley.


How to add Parchment to UIView is not UIViewController?

I wan't to add Parchment to UIView but can't

Sorry, this is not possible. Parchment is build on a UIViewController and you therefore have to add it as a child view controller. This is required by UIKit to get the view controllers to be managed properly.


Buying a specefic amount of cryptocurrency

I'm submitting a question
[ ] bug report
[ ] feature request
[x] question about the decisions made in the repository

If you want to use the tradebot, how can you decide what your openings offer is.
Lets say you want to buy 100 dollar as BTC nothing more.

Currently, Gekko will use all your fiat and asset balance for trading. In your case, just have 100 USD in your exchange balance and it will trade back and forth when the algorithm provides trading advice.

Note, that you should have a total of $100 USD and BTC and your wallet though, since it will start trading using both of the currencies configure in your trading pair


Cannot instantiate abstract class Magento\Framework\Model\ResourceModel\AbstractResource

Loading the cart results in a fatal error: Cannot instantiate abstract class Magento\Framework\Model\ResourceModel\AbstractResource
You cannot add non-optional constructor arguments after the optional arguments:
https://github.com/buckaroo-it/Magento2/blob/40528e18e902261240d8dbe138dcc6045921e24e/Model/Method/Giftcards.php#L122

Hello @rikwillems .
Thank you for you issue.
All necessary fixes will be included in the next release.
Until this, you can use our master branch.
Thank you


[AutoDiff] Remove deprecated @differentiating attribute.

@differentiating attribute was renamed to @derivative.
Delete @differentiating now that it has been deprecated for a release cycle.
Resolves TF-999.

@swift-ci Please test tensorflow

I accidentally deleted tensorflow branch, which closed this PR. That was not intentional, sorry!
It would be nice to protect tensorflow branch against deletion to prevent this from happening again.

macOS test failures are known and unrelated:
Failing Tests (2):
    Swift(macosx-x86_64) :: api-digester/stability-stdlib-abi-without-asserts.swift
    Swift(macosx-x86_64) :: Misc/stats_dir_instructions.swift

They occur because lit has no_tensorflow as an available feature for some reason, which shouldn't be the case when build-script is invoked with --enable-tensorflow.
Tracked at TF-1174.

Merging to unblock progress.


refmt uses unclear heuristic for wrapping conditionals

Example code:
type id = {counter: int, replica: string};

let compareIDs (a: id) (b: id) :int =>
  if (a.counter < b.counter) {
    (-1)
  } else if (a.counter > b.counter) {
    1
  } else if (
    a.replica < b.replica
  ) {
    (-1)
  } else if (
    a.replica > b.replica
  ) {
    1
  } else {
    0
  };

It's hard to deduce the heuristic that's being employed here that makes refmt format one of the else if branches like this:
  } else if (a.counter > b.counter) {

and another like this:
  } else if (
    a.replica < b.replica
  ) {

At least, I couldn't figure it out...
In any case, I later replaced the function with something nicer using the built-in compare function:
let compareIDs (a: id) (b: id) =>
  if (a.counter == b.counter) {
    compare a.replica b.replica
  } else {
    compare a.counter b.counter
  };

but I thought I'd file an issue anyway in case there is weird bug lurking in here somewhere.

Fixed!
type id = {
  counter: int,
  replica: string
};

let compareIDs = (a: id, b: id) : int =>
  if (a.counter < b.counter) {
    (-1)
  } else if (a.counter > b.counter) {
    1
  } else if (a.replica < b.replica) {
    (-1)
  } else if (a.replica > b.replica) {
    1
  } else {
    0
  };


Min confirmation and max confirmation doesn't seem to work

 """Obtains the balance of the wallet or an address."""
        from_address = self._as_any_address(address) if address is not None else None
        unspent_outputs = yield from self._get_unspent_outputs(
            from_address, min_confirmations=self._as_int(minconf), max_confirmations=self._as_int(maxconf))

```

They min confirmation and max confirmation is not implemented in   the code below though its being passed on multiple times

```
def _get_unspent_outputs(self, address, **kwargs):
        cache = self.cache_factory()
        engine = openassets.protocol.ColoringEngine(self.provider.get_transaction, cache, self.event_loop)

        unspent = yield from self.provider.list_unspent(None if address is None else [str(address)], **kwargs)

        result = []
        for item in unspent:
            output_result = yield from engine.get_output(item['outpoint'].hash, item['outpoint'].n)
            output = openassets.transactions.SpendableOutput(
                bitcoin.core.COutPoint(item['outpoint'].hash, item['outpoint'].n), output_result)
            output.confirmations = item['confirmations']
            result.append(output)

        # Commit new outputs to cache
        yield from cache.commit()
        return result
```

Sorry the code seems to be referenced to

    def list_unspent(self, addresses, *args, **kwargs):
        if addresses is None:
            if self._fallback_provider:
                return (yield from self._fallback_provider.list_unspent(addresses, *args, **kwargs))
            else:
                raise NotImplementedError("This blockchain provider does not have access to a wallet.")

        response = yield from self._get('addresses/{address}/unspents'.format(address=','.join(addresses)))
        data = json.loads(str(response, 'utf-8'))
        return [{
            'outpoint': bitcoin.core.COutPoint(bitcoin.core.lx(item['transaction_hash']), item['output_index']),
            'confirmations': item['confirmations']}
            for item in data]

which is not supporting min and max confirmation

list_unspent (in bitcoind RPC mode) should use the min and max confirmation and return only the unspent outputs with the given number of confirmations.
It would not work in chain.com mode.
Does it not work for you?

fixed to make it work on chain.com api
def list_unspent(self, addresses, min_confirmations=0, max_confirmations=9999999, *args, **kwargs):
if addresses is None:
if self._fallback_provider:
return (yield from self._fallback_provider.list_unspent(addresses, *args, **kwargs))
else:
raise NotImplementedError("This blockchain provider does not have access to a wallet.")
    response = yield from self._get('addresses/{address}/unspents'.format(address=','.join(addresses)))
    data = json.loads(str(response, 'utf-8'))
    elements = []
    for item in data:
     if (item['confirmations'] >= min_confirmations) and  (item['confirmations'] <= max_confirmations):
      elements.append({
        'outpoint': bitcoin.core.COutPoint(bitcoin.core.lx(item['transaction_hash']), item['output_index']),
        'confirmations': item['confirmations']})
    return elements


Discord - [OAuth2RequestError] Missing "code_verifier" in OAuth request

{
      "type": "OAuth2RequestError",
      "message": "invalid_request",
      "stack":
      "request": {},
      "description": "Missing \"code_verifier\"",
      "originalLine": 107,
      "originalColumn": 10
    }

Discord, officially, doesn't support PKCE. Is your client secret defined?


Error checking capacity while importing image

Author Name: Tino Vázquez (Tino Vázquez)
Original Redmine Issue: 5537, https://dev.opennebula.org/issues/5537
Original Date: 2017-11-07

The CHECK_CAPACITY flag should be disabled, but only for vCenter datastores, and only for import.

duplicated  #1880


How to define the action space in RL?

Is it possible to share the actions in the RL? For example, how to make variation of the prompt in order to improve the aesthetic score? Thank you very much.

Hi, I don't quite understand your question. Could you be more specific? Like what the action sharing means.

Hi, Thanks for your reply. What I meant is some technical details in the RL modelling, which are not explained in the paper. For example, what actions are used in the RL process? E.g., in this paper (https://openreview.net/pdf?id=gSHyqBijPFO), the authors have defined some editing techniques to modify the prompts (e.g., Instruction, example, verbalizer in Table in in the paper). If possible, could you please tell about how to modify the prompts to improve the aesthetic scores of the generated images? Thanks a lot.

Hi, thanks for clarifying. We treat the prompt optimization as a text generation problem. The action space of our model is defined on the whole vocabulary without any constraints. We let the model explore the better prompts freely. It is likely that the model has learned some editing rules implicitly through supervised fine-tuning, but it is totally an automatic process without any pre-defined editing techs.


Implementation of a Comprehensive "Contact Us" Page for Enhanced User Communication

Is your feature request related to a problem? Please describe.
I'm always frustrated when I want to reach out for support or inquiries, but there's no easy way to do so on the website. Users might leave without getting the information they need.
Describe the solution you'd like
I would like a dedicated "Contact Us" page that features a user-friendly form where users can fill out their name, email, subject, and message. It should include a submit button and proper field validations.
Describe alternatives you've considered
As an alternative, I considered adding a simple email link, but that wouldn't provide a structured way for users to submit their inquiries.**

@Vishwajeet594 Sounds interesting.
create new branch and Start working on frontend part. create contact us form. It should contain name, email, message fields, Add basic form validation, ex:- email validation, empty checking, etc. You can show ur curiosity and design page accordingly.

@Vishwajeet594 any update ?

I really like your website and want to work on your project ,please assign this issue to me under gssoc-ext 2024


fix: restrict werkzeug to <1.0 in setup.py

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
With the release of werkzeug 1.0.0, installing via pip pulls in a version of werkzeug which is not currently compatible with superset. This PR restricts the version of werkzeug to <1.0 in setup.py, ensuring that installation via pip works properly.
TEST PLAN
Test locally
ADDITIONAL INFORMATION

[x] Has associated issue: closes #9110
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

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

@@          Coverage Diff           @@
##           master   #9111   +/-   ##
======================================
  Coverage    59.1%   59.1%
======================================
  Files         372     372
  Lines       11920   11920
  Branches     2917    2917
======================================
  Hits         7045    7045
  Misses       4693    4693
  Partials      182     182

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 2913063...c20a25e. Read the comment docs.

Closing as there is a cleaner way to fix this.


Add workshop dates to individual pages for each location

So far, only B'ham and EPFL
Also change  tag for the two pages
Also fix contact info etc. for CH page

Signed-off-by: Achintya Rao<EMAIL_ADDRESS>

@betatim: Not sure you're awake, but I'll go ahead and merge this as the changes are minor.

🎉 Thanks for this and merging it!


cosmosdb Wrong example in tsdoc

Package Name: @azure/cosmos
Package Version: 3.11.1
Operating system: ALL
[ ] nodejs

version:

[ ] browser

name/version:

[ ] typescript

version:

Is the bug related to documentation in

[ ] README.md
[x] source code documentation
[x] SDK API docs on https://docs.microsoft.com

Describe the bug
tsdoc example for queryIterator has wrong syntax and wrong data destructuring.
  for await(const { result: db } in client.databases.readAll().getAsyncIterator()) {
    console.log(`Got ${db.id} from AsyncIterator`);
  }

wrong syntax
It should use for await of instead of for await in.

wrong object destructuring assignment
return type of getAsyncIterator is [FeedResponse]https://github.com/Azure/azure-sdk-for-js/blob/7190683ef3c43372e786dcbe258e5f9ce2989bd0/sdk/cosmosdb/cosmos/src/request/FeedResponse.ts#L6-L11)

To Reproduce
Steps to reproduce the behavior:

Copy example with VS Code

Expected behavior
  for await(const feedResponse of client.databases.readAll().getAsyncIterator()) {
    console.log(`Got ${feedResponse} from AsyncIterator`);
  }

Screenshots

Additional context
This example is written in.
https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/cosmosdb/cosmos/src/queryIterator.ts#L70-L74
And this example code may referenced from.
https://azure.github.io/azure-cosmos-js/classes/queryiterator.html#getasynciterator
https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sdk-node#simplified-queryiterator-api

thanks @georgeOsdDev I can look into fixing it

@georgeOsdDev Please feel free to send a PR with your suggested fix

Code pointers for folks who would like to contribute a fix for this issue:

Set up your dev env
comment to fix

Issue fixed!
Please review https://github.com/Azure/azure-sdk-for-js/pull/18228

Fixed with https://github.com/Azure/azure-sdk-for-js/pull/18228
Thanks @govardhan27!


Removed unnecessary titles on word clouds.

Removed duplicated titles in 5_Word_Clouds.py

Good idea and makes the dashboard a lot more readable/less cluttered.


Finalize syllabus by December 14

We need to provide students who enroll with a syllabus. Ted and I drafted one, but it needs more polishing. Please take a look at it here.
Thanks!

I will contact Jackie for sections to make syllabus official

Hey @laderast do you need help writing the syllabus? What can I do?

Jackie gave us the sections for syllabus. She included directions on what to add in the email. Do you mind doing this and checking in a pdf into the repo?

Sure, will do it tomorrow. 💯

Awesome, thanks!


Add d1 types for d1-orm lib

When using this library, there are many type errors due to the lack of types for D1.

Hey there - I've just tried a fresh worker using the library, and can't see any typing issues - do you have @cloudflare/workers-types in your tsconfig?

Yeah, but my JavaScript runtime is node. Just like this:

Could you share a minimal repro where I can see this?

Could you share a minimal repro where I can see this?

I'm going to deliver the goods today. Please wait a moment.

https://github.com/fwqaaq/test-d1-orm-type
I can't find d1 types when I click into d1-orm lib.

I see the confusion here - we're publishing the src directory of the project for no reason, you actually want to be looking at the lib directory. I've fixed this in the latest version


Shutters wont close

Shutters won't close when on the same tile as a closed door, window, flap or other solid objects from what i have observed

it wont close on counters even


Jcs/yml ssh

Closes #107

Maybe i'd suggest a YAML service or at least private method for the big yaml creation thing.  I knows it's only in one place now but that takes up a lot of the create method of the account controller with details that aren't really needed if you are skimming what create does


Support mqtt discovery topic prefix with slashes

Description:
The mqtt discovery component allows a discovery_prefix to be set. However: Using a prefix with slashes like my_home/homeassistant/register breaks parsing of the topic. The regex doesn't support any slashes within the discovery_prefix.
This PR changes this by removing the discovery prefix before parsing the topic. I decided against extending the regex, as this would have been overly complex.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox.
[x] There is no commented out code in this PR.
[x] I have followed the development checklist
[x] Tests have been added to verify that the new code works.

If a prefix contains slashes then it's would become a "prefix topic". At the moment I'm not sure if allowing something like my_home/homeassistant/register as a prefix would lead to a benefit for the users. They would end-up with my_home/homeassistant/register/<component>/[<node_id>/]<object_id>/config which might work but is a pain for debugging or to remember.
I guess that I'm missing the use case...

I guess that I'm missing the use case...

I run a mqtt broker serving multiple locations and also multiple home assistant instances. I structure topics in a hierarchical way:
location1/homeassistant/...
location1/zigbee2mqtt/...
location1/tasmota/...
...
location2/homeassistant/...
location2/zigbee2mqtt/...
location2/tasmota/...
...
location3/homeassistant/...
location3/zigbee2mqtt/...
location3/tasmota/...
...

Using a flat structure like location1-homeassistant/... gets messy quickly.

I think that's a valid use case 👍


How can I save json object in file in order?

I create a json object and save it in file:
    json root = {
        {
            "information", {
                {"model", 1},
                {"dof", 6},
                {"aux dof", 0}
            }
        },
        {
            "cartisian limit", {
                {
                    "translation", {
                        {"velocity", 1},
                        {"acceleration", 1},
                        {"deceleration", 1},
                        {"jerk", 1}
                    }
                },
                {
                    "rotation", {
                        {"velocity", 1},
                        {"acceleration", 1},
                        {"deceleration", 1},
                        {"jerk", 1}
                    }
                }
            }
        }
    };
    std::ofstream ob("robot_params.json");
    ob << std::setw(4) << root << std::endl;

And  the file robot_params.json looks like this:
{
    "cartisian limit": {
        "rotation": {
            "acceleration": 1,
            "deceleration": 1,
            "jerk": 1,
            "velocity": 1
        },
        "translation": {
            "acceleration": 1,
            "deceleration": 1,
            "jerk": 1,
            "velocity": 1
        }
    },
    "information": {
        "aux dof": 0,
        "dof": 6,
        "model": 1
    }
}

But what I need is saving the json object in order like this:
{
    "information": {
        "model": 1,
        "dof": 6,
        "aux dof": 0
    },
    "cartisian limit": {
        "translation": {
            "velocity": 1,
            "acceleration": 1,
            "deceleration": 1,
            "jerk": 1
        },
        "rotation": {
            "velocity": 1,
            "acceleration": 1,
            "deceleration": 1,
            "jerk": 1
        }
    }
}

Please let me know is it feasible to do so?

This seems related to https://github.com/nlohmann/json#order-of-object-keys. The library does not preserve the order of object keys.

It solved my problem!Thanks for you reply.

To be fixed with #2258.


Fix traceback on non-existent files

Closes #1502
Followup to #1094, which added a file read for the debug template that
is outside the scope of our standard error handling.
The fix here is just to ensure the file exists before trying to
initialize the "sourceLines" tracker.

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[x] Entry added to UNRELEASED.md for any new functionality

Codecov Report

Merging #1503 (1e639f0) into unstable (69c9a2c) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

:exclamation: Current head 1e639f0 differs from pull request most recent head ecc6cb9. Consider uploading reports for the commit ecc6cb9 to get more accurate results

@@             Coverage Diff              @@
##           unstable    #1503      +/-   ##
============================================
- Coverage     74.89%   74.88%   -0.01%
============================================
  Files           358      358
  Lines         11475    11475
  Branches        530      522       -8
============================================
- Hits           8594     8593       -1
- Misses         2881     2882       +1

Impacted Files
Coverage Δ

.../src/main/scala/at/forsyte/apalache/tla/Tool.scala
0.00% <0.00%> (ø)

...he/io/annotations/parser/CommentPreprocessor.scala
94.50% <0.00%> (-1.10%)
:arrow_down:

Continue to review full report at Codecov.

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

Wow reflog is lifesaver! Thank you git :heart:


Block wise transfer tests

Some improvements in tests regarding CoAP block transfer

I will make the PR in the Eclipse project


Adding api annotations

Adding api annotations

Can one of the admins verify this patch?

Runtime changes detected. pull request created. CI running:

check style errors: https://travis-ci.org/Azure/azure-sdk-for-java/builds/159745769#L3325


Fix Android sync builds

If one tries to run:
workflow/build.sh android sync

then CMake will fail for not being able to find Git.
This happens because the Android toolchain file sets CMAKE_FIND_ROOT_PATH_MODE_PROGRAM  to ONLY, which forces CMake to look for git in the NDK.
One possible solution could be to use URLs for the source tarballs in the Github releases.
Modifying the toolchain might work as well, but setting CMAKE_FIND_ROOT_PATH_MODE_PROGRAM to BOTH might cause some unexpected issues.

For now I think we can say that Android sync builds must use existing local source trees for core and sync, rather than relying on our attempts to automatically check out given versions. This'd require adding some logic to the Jenkinsfile to check out the appropriate versions of core and sync.

Currently it is not possible to build the sync test for Android. The YAML library doesn't exists in Android NDK so we will have to build it too.


Support for Source Maps

Gulp issues on the topic for reference:
https://github.com/gulpjs/gulp/issues/303
https://github.com/gulpjs/gulp/issues/356

Any update on this?

I PR would be very welcome.


prepare 0.8.0 release

We might consider revoking v0.7.0 just so no one ever accidentally depends on it.

Isn't it kind of a no-go with go modules?

There's nothing inherently broken with 0.7.0, as long as consumer doesn't need the batch size

There is a command to revoke a revision in more recent versions of Go, but I guess it doesn't really matter.


Xcov Slack Notification doesn't read parameters anymore.

I'm sorry, we use Fastlane version 2.83 with Xcov version 1.3.2 and slack-notifier plugin 2.3.2.
Since updating to fastlane version 2.83, our Xcov Slack Notification ignores the "slack_username" and "slack_channel" properties.
Do you have any ideas, how to fix this problem?

Hi @azd-nightingale 👋,
There is a breaking change now that Fastlane uses slack-notifier 2.x.x. I'll look into it today.
Thanks for reporting!

I've just merged a fix for this. Could you please update xcov to 1.3.3 and give it a go?
Thanks!

Hi @nakiostudio, thanks for the fast bugfix. We just tried it. Works!

Great, thank you @azd-nightingale!


Remove HIP_AUTO_INCLUDE_HEADER and add HIPCC_COMPILE_FLAGS_APPEND

Since HIP_AUTO_INCLUDE_HEADER was rejected by HIP, need a different way to pre-include hip_runtime.h for hip-clang. HIPCC_COMPILE_FLAGS_APPEND can be used to pass --include=hip/hip_runtime.h to hip-clang.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Add option to limit to notes since given date

This adds an option to nostril-query to allow limiting to notes made after a certain date, using the since filter as defined in NIP 01.  I tested by passing a Unix timestamp and verified it built the query correctly, and also passed that query to a relay, and it returned the correct results (omitting older notes).

I somehow missed this, thanks!


[Program]: Write a R program to convert feet to miles

Description
Write a R program to convert feet to miles
1 mile = 5280 feet
Input  : 26400
Output : 5

How to contribute

Save the solution in program/program/convert-feet-to-miles/convert_feet_to_miles.r file

Please assign me this task @harshraj8843

!assign

!assign


allow to specify db number in url

when doing config via env vars it's nice to be able to pass the whole configuration in one url string
underlying redis-py library supports this

Thanks for the PR!


Remove wazicss

Pls make the equivalent change for the profile_detail template too.

@fritzjooste I've made a bunch of extra changes, can I merge this? It will probably collide with stuff you've done in master.


[SharpDX.DXGI] Adapter.Description.Luid always return zero.

I testing:
1.Windows 8.1 AMD Radeon HD 6900;
2.Windows 7 SP1 NVidia GT640;

I have found a fix for that problem, but I cannot apply it because it requires to change the autogenerated code (AdapterDescription and AdapterDescription1).
The problem is that in x86 code the memory layout of the unmanaged AdapterDescription (and AdapterDescription1) is different from memory layout of managed AdapterDescription - or more precisely different from the __Native struct inside AdapterDescription.
In x86 the unmanaged layout looks like this (get with calling Adapter.GetDesc to fill byte array):
0 ... 256                                         Description
256   DE 10 00 00  C2 13 00 00     VendorId, DeviceId
264   43 10 08 85  A1 00 00 00      SubsystemId, Revision
272   00 00 00 C0  00 00 00 00      DedicatedVideoMemory, DedicatedSystemMemory
280   00 00 FF 3F  DF 97 00 00     SharedSystemMemory, Luid (low)
288   00 00 00 00  00 00 00 00      Luid (high), Flags
The Luid field is long in AdapterDescription. But in the table above it is written in two lines because it  is not aligned to 8 bytes but starts at 284 address.
In managed __Native struct the Luid is alligned to 8 bytes and starts at 288. Because flags are usually 0, the Luid is also almost always 0 (for me this is always the case). The problem is that the low 4 bytes are always lost.
This makes the Luid useless to compare adapters.
In x64 this problem does not occur, because DedicatedVideoMemory, DedicatedSystemMemory and SharedSystemMemory are all long (PointerSize) and therefore the Luid also aligns correctly.
Because the AdapterDescription and AdapterDescription1 are autogenerated I do not know how to fix that.
If that would not be the case, I would change the code as follows (I used DotPeak to get the decompiled code):

In _Native struct change the:

public long Luid;
into:
public uint Luid1, Luid2; // long Luid is split into 2 UInt32 to align correctly with native struct

In __MarshalFrom change:

this.Luid = @ref.Luid;
into:
this.Luid =<EMAIL_ADDRESS><< 32) + @ref.Luid1;

Change __MarshalTo:

@ref.Luid = this.Luid;
into:
@ref.Luid2 = (uint)(this.Luid & 0xFFFFFFFF);
@ref.Luid1 = (uint)(this.Luid >> 32);
Maybe there is also an attribute that can be used to prevent wrong long alignment.
I hope this will give you enough info to fix the bug.

Thanks @abenedik for digging into this. It helped to fix it quickly. It should be fixed by previous commit .


5.0.0 Runtime / 5.0.100 SDK GA

This epic tracks remaining work to get the 5.0.100 SDK released (with 5.0.0 Runtime).
5.0 servicing followup issues go in https://github.com/dotnet/source-build/issues/1862.
Originally https://github.com/dotnet/source-build/issues/1510 tracked 5.0.100, but it now tracks arcade-powered source-build. I'm creating this epic to track 5.0.100 issues.

5.0 GA happened. Is there any need to keep this issue open? Can we close it?

[Triage] Closing as .NET 5.0 is complete.  There is one outstanding testing issue which is tracked separately.


is it possible to add min/max filter to GenerateMipMaps?

as title, thanks

Did your solve your issue?

No, I have not.
I was planning to make min/max depth map mipmaps for SSR (screen space reflection)
Then I realize, this min/max operation is pretty common, it provides a structure a hierarchy, so, I was kind of hoping you can provide this function.
Sent from Mail for Windows 10
From: Chuck Walbourn
Sent: July 8, 2019 10:29 AM
To: microsoft/DirectXTex
Cc: dong-zhan; State change
Subject: Re: [microsoft/DirectXTex] is it possible to add min/max filter toGenerateMipMaps? (#144)
Did your solve your issue?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

I solved this with compute shader, could you please close this issue? thanks!


sharedViewModel is not available on a DialogFragment

Because sharedViewModel is defined as an extension of Fragment, it is not available within subclasses of Fragment such as DialogFragment.
This, for example makes it hard (for me) to get a view model with dialogs like TimePickers (https://developer.android.com/guide/topics/ui/controls/pickers.html)
https://github.com/Ekito/koin/blob/b957b5c4c63135d4713f7209da9889e39a310f4c/android/koin-android-architecture/src/main/java/org/koin/android/architecture/ext/LifecycleOwnerExt.kt#L36

DialogFragment extends Fragment so technically extension functions on Fragment should be available to DialogFragment.
Make sure you are using android.support.v4.app.DialogFragment class

Thanks for the response. I was using a android.app.DialogFragment because I don't need to support that far back so with rather avoid the additional weight of the Support Libraries.

Yes, Architecture Components are only supported with support Fragments.

I close the issue then.


404 in example page

Hi,
On the examples page it seems that there's a typo in the link for the Noise1D example. It's pointing at: https://p5js.org/examples/math--noise1d.html which is a 404;
https://p5js.org/examples/math-noise1d.html (single hyphen) works correctly.
Thanks,
Stephen

this should be fixed by:
https://github.com/processing/p5.js-website/pull/59


Integration test for behavior when dependency disappears?

I'm thinking about how much people depend on dep and vendoring in general to protect against dependencies disappearing (e.g. the left-pad incident). I'd propose an integration or regression test to cover what is deps behavior in the situation of a disappear-ed dependency. Certainly, it's the act of vendoring that gives you protection, not the dep tool, but many people will see the protection through the lens of dep. I'd want to assure people of a consistent interaction / UX in this situation.
I see some integration tests but I don't see one that exactly covers what I'm thinking of.
Would people be interested in such coverage? Does it already exist somewhere else in the code, which I didn't see?

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


GpuFuture - Redesign RFC

Hi,
I'm currently using vulkano in a personal project as my main access to Vulkan.
In many ways it's so much nicer than normal ash or other direct vulkan access, whilst retaining a tight level of control.
Especially coming from OpenGL, whilst Vulkan means more boilerplate, I also finally understand how everything ties together.
One aspect of Vulkano that I've avoided in my project until now is the use of GpuFuture.
Whilst the API is simple to use, I also feel it oversimplifies vulkan synchronization and results in some strange behavior like #1705 .
I've spent some time trying to narrow down this disconnect between Vulkan <-> GpuFuture recently, as I'd like to be comfortable using the simpler GpuFuture API (especially as the raw Submit API has been changed after vulkano 0.31).
From my research the main issue seems to be that GpuFuture actually takes care of multiple concerns, that may be better adressed individually:

Buffering multiple queue operations (anything before calling flush).
Handling synchronization between queue operations (then_execute, then_signal_semaphore, then_signal_fence).
Representing an event that will happen on the GPU in the future and cleaning up resources when the event has happened. (cleanup_finished, signal_finished, etc.).

Because GpuFuture takes care of all three of these, it ends up handling none of them perfectly.
GpuFuture also ends up creating a tree, instead of a DAG, which is what synchronization with multiple queues actually is.
Of course I'm willing to contribute myself but don't want to waste time implementing something that other maintainers don't agree on.
This is why I'm asking for comments and suggestions in this issue before I start implementing.
My current thoughts look something like this:

Outsource concerns 1&2 into a submission builder, similar to the previous SubmitCommandBufferBuilder. This approach seems to be even outlined in DESIGN.md.
Change GpuFuture to only represent an event that has been submitted and will happen in the future on a GPU.

We can create futures for the vulkan synchronization primitives to allow for manual synchronization.
This would also allow us to use type restrictions for inter-future dependencies.
e.g.:

A SubmissionBuilder can only wait for SemaphoreFutures or TimelineSemaphoreFutures.
Only the CPU can wait on a Fence, not another queue operation.

Proposed API - triangle example
let (fence, present) = previous_frame_end.take();
fence.wait();

// Result always needs to include either a SemaphoreFuture, FenceFuture or both so that there is some synchronization primitive to wait on.
let acquisition = swapchain.acquire_next_image(SwapchainAcquireInfo {
    signal_semaphore: true,
    ..Default::default()
});

let mut submission_builder = render_queue.submit();
let draw_semaphore = submission_builder
    .after(acquisition.semaphore.take())
    .commands(command_buffer)
    .signal_semaphore();
let draw_fence = submission_builder.submit_with_fence(); // returns a `FenceFuture`

let present_future = present_queue.present(SwapchainPresentInfo {
    wait_for: draw_semaphore,
    ..SwapchainPresentInfo::swapchain_image_index(swapchain, acquisition.image_index)
});
let previous_frame_end = (draw_fence, present_future);

Compare this to the old API:
let acquire_future = acquire_next_image(swapchain.clone(), None); // simplified

let future = previous_frame_end
    .take()
    .unwrap()
    .join(acquire_future)
    .then_execute(queue.clone(), command_buffer)
    .unwrap()
    .then_swapchain_present(
        queue.clone(),
        SwapchainPresentInfo::swapchain_image_index(swapchain.clone(), image_index),
    )
    .then_signal_fence_and_flush();

Whilst the old API is shorter, it also tries to hide some important details:

the command_buffer queue might be a different one compared to the swapchain present queue, which would require a semaphore. This is currently missing.
swapchain_present cannot signal a fence, so then_signal_fence_and_flush has to add an empty queue submission (possibly on the wrong queue).
Signalling multiple semaphores after command buffer execution isn't possible. The documentation of GpuFuture even lists this as a ToDo.

What this tries to solve

#1705
Synchronization between multiple queues (multiple calls to signal_semaphore possible)

Futures will then represent a dependency-DAG, which is the correct representation.

Potentially: #1882 (Add TimelineSemaphoreFuture and appropriate functions to SubmissionBuilder)

Open Questions

What happens if a SemaphoreFuture is just dropped? Nothing ever waits for the Semaphore... Do we just panic? - I believe this is already an issue today.
How exactly would futures share the "source event". E.g. a SemaphoreFuture and a FenceFuture would refer to the same submission. If any of them finish, the others would be finished as well.
Exact GpuFuture trait API (draft see below)

New GpuFuture trait:
Should include the following:
unsafe fn signal_finished(&self);
fn cleanup_finished(&self);
fn finished(&self) -> bool;
// blocking wait until this future has finished (basically drop impl)
// Ideally should only be used with fences.
fn wait(&mut self);

GpuFuture is likely to be deprecated and removed sometime in the future. In Vulkano 0.32, new methods were added to Queue that mirror the plain Vulkan API functions more directly. There are currently only _unchecked variants of these functions (which only show up in the documentation if you enable the document_unchecked feature), there is no safe implementation yet. A safe implementation requires on a much more thorough representation of Vulkan synchronization. This is in the works, but it has to start at the bottom, in command buffers. There is currently a new CommandBufferBuilder in development for that purpose, but it will take a while before it's done.

@Rua  thanks for the answer, this makes a lot of sense.
I've already found these functions on Queue and the fact that queue takes care of a lot of resource handling already.
I'll start using the unchecked functions then for now.
Is there some sort of milestone or issue that tracks these upcoming changes?
I'd like to contribute but don't really know what to implement and what the next issues are. 😊
Let me know what some good first issues would be.

I don't think there is anything you can do for the moment. The synchronization code in the new command buffer is quite difficult, and I'm studying how the official validation layer does it, so that I can get an idea what to do for Vulkano. I can list the things I want to do at some point though:

Make the new command buffer track all the synchronization state. Currently some things are missing, including render pass transitions, render pass barriers (subpass dependencies), clear_attachments, execute_commands and set_event/wait_events.
Implement PrimaryCommandBufferAbstract for it, so that it can actually be used for queue submissions. I would like to have this done for the 0.33 release of Vulkano. This will also deprecate UnsafeCommandBuffer.
Implement synchronization validation for all the functions, using the state tracking that was previously implemented.
Replace UnsafeCommandBufferBuilder with CommandBufferBuilder as the inner type of SyncCommandBufferBuilder.
Deprecate PrimaryAutoCommandBuffer, SecondaryAutoCommandBuffer and SyncCommandBuffer, and use PrimaryCommandBuffer/SecondaryCommandBuffer as the only built command buffer types.
Merge AutoCommandBufferBuilder and SyncCommandBufferBuilder, with the methods of the latter becoming _unchecked versions of the former.
Make AutoCommandBufferBuilder re-use the validation methods of CommandBufferBuilder.

Taking inspiration from the validation layers makes a lot of sense :)
Alright, if there are any concrete issues apart from CommandBuffers, which you're already working on, let me know.
I'll keep an eye out for new issues marked as "easy" or "good first issue"


Added ukrainian translation

add folder for ukrainian translation and properties file with translation

Thank you. I'll make a new release soon.


feat: move to arm64 architecture

Gantry now has support for arm64. We can pretty much move our builds to arm64.
Todo: Bump up gantry version once the hotfix lands.

One complication with early adoption here is that existing teams will be using Intel build agents. We'd have to figure out how to best communicate that they should provision a Graviton cluster for their new project.

One complication with early adoption here is that existing teams will be using Intel build agents. We'd have to figure out how to best communicate that they should provision a Graviton cluster for their new project.

yeah I noticed gantry had some sections on this actually

One option may be to scrap the queue templating and just inline a bunch of documentation/links/TODOs in our .buildkite/pipeline.yml template files
https://github.com/seek-oss/skuba/blob/034fe46183e58d5d8fda54bec60fecb27e05342a/template/koa-rest-api/skuba.template.js#L13-L24

Our buildAgents only support x86 for the GET_GITHUB_TOKEN step for now. Will wait til support is added:
https://seekchat.slack.com/archives/C01J8F3LELB/p1653619527077269?thread_ts=1653617669.275119&cid=C01J8F3LELB


Not able to create feature flag without adding tags

This PR fixed the issue of tags sending null instead of array which wasn't allowing to create a feature flag.

i see the tags array is being initialized with [] , that looks like why null is coming, should be an empty array [[]].


Burn time tooltip broken

#2408 actually broke it -> http://i.imgur.com/xg56bvr.jpg. @MatthiasMann! Just got some time to check it and found this :)

I'm sure that this commit was working fine - it is probably a side effect of the EnderCore change as that had affected a few other tooltips too. I'll look into it.


Fixed the output

FYI. I did fix at Doctrine's sql-formatter fork.
https://github.com/doctrine/sql-formatter


[Exclusivity] Weaken assert when suggesting swap() Fix-It

This fixes a too-strong assertion when suggesting a Fix-It to replace
module-qualified calls to swap():
Swift.swap(&a[i], &a[j])
Other than weakening the assert, there is no functional change here.

@swift-ci Please smoke test and merge


SSL Handshake error - SSSLERR_SSL_READ (-58)

starting today, I cannot connect to abapGit online:
Error: HTTP error 407 occured: SSL handshake with github.com:443 failed: SSSLERR_SSL_READ (-58)

Can anyone help troubleshoot the issue?
Jacques

I have the same issue, github did some changes, see https://githubengineering.com/crypto-removal-notice/
Ethan pointed to SAP note 510007, but I have not tried yet, will start my SAP system in a bit to do some testing

Tested ok, see SAP note 510007, section 7
For my ABAP trial system, I have added
ssl/client_ciphersuites = 150:PFS:HIGH::EC_P256:EC_HIGH
ssl/ciphersuites = 135:PFS:HIGH::EC_P256:EC_HIGH

in /sapmnt/NPL/profile/NPL_D00_vhcalnplci. It did not work for me via RZ10, but thats probably just me being bad at basis stuff

we should add this in the documentation, and move the ssl setup to its own page, http://docs.abapgit.org/guide-install.html

@nomssi did it work out? can we close the issue?

yes and yes

I was successful with SAP note 510007 on our 7.5 SP02 machine. But unfortunately it didn't worked on our NW 7.40 SP05. If I find a solution I will post it here.

Now its working again with my older System NW740 SP05.
Steps needed to be done (I am not an Admin!):

Step 7 from SAP note 510007
Download SAP Cryptographic Library for your OS here
uncar its files on the server and move them to \usr\sap<SID>\SYS\exe\run
stop SAP
restart machine
start SAP

thanks for sharing

For what it's worth, on my NW750 SP02 system I just added the two lines from Lars's comment (thanks!) to the profile, restarted via stopsap / startsap and it worked again.
In RZ10, use advanced edit, the parameters did not exist, so I created them.
Pasted here again for quicker reference:
ssl/client_ciphersuites = 150:PFS:HIGH::EC_P256:EC_HIGH
ssl/ciphersuites = 135:PFS:HIGH::EC_P256:EC_HIGH

On Netweaver 7.51 Trial I maintained profile "NPL_D00_VHCALNPLCI" by RZ10 with parameters Lars mentioned. Had to save and activate the profile. After restart, SSL test was ok.

Nice Michael, to say that it is NPL_D00_VHCALNPLCI profile not NPL_ASCS01_VHCALNPLCS that has to be maintained adding 2 parameters:
ssl/client_ciphersuites = 150:PFS:HIGH::EC_P256:EC_HIGH
ssl/ciphersuites = 135:PFS:HIGH::EC_P256:EC_HIGH
and saved + activated. Cheers.

To make this solution be easier found I add the plain text of the ICM tracefile:
*** ERROR => SSL handshake with github.com:443 failed: SSSLERR_SSL_READ (-58)
SAPCRYPTO:SSL_read() failed

SapSSLSessionStartNB()==SSSLERR_SSL_READ
  SSL:SSL_read() failed  (536875120/0x20001070)
  => "received a fatal TLS1.0 protocol version alert message from the peer"
>>      SecuSSL ErrStack:
0x20001070   SAPCRYPTOLIB   SSL_read
SSL API error
received a fatal TLS1.0 protocol version alert message from the peer
0xa0600278   SSL   ssl3_read_bytes
received a fatal TLS1.0 protocol version alert message from the peer
0xa0600278   SSL   ssl3_read_bytes
received a fatal TLS1.0 protocol version alert message from the peer
<<
  SSL:SSL_get_state()==0x2120 "SSLv3 read server hello A"
  SSL NI-hdl 99: local=<IP_ADDRESS>:45542  peer=<IP_ADDRESS>:443
  cli SSL session PSE "/usr/sap/NPL/D00/sec/SAPSSLA.pse"
  Target Hostname="github.com"

 {00024d21} [icxxconn.c 2261]
IcmConnConnect: Connect failed for session GUI T15_U18206_M0, 001, DEVELOPER, DESKTOP-BBFOV0R, time=07:27:01,
Tue Apr 10 07:29:41 2018
IcmHandleAdmMsg: set param icm/OP_PSE_CHANGED -> SAPSSLC.pse
IcmSSLPseChanged: SSL Certificate SAPSSLC.pse was changed - refresh
  Reload OK for SSL cred "/usr/sap/NPL/D00/sec/SAPSSLC.pse"
Tue Apr 10 07:29:46 2018
*** ERROR during secussl_read() from SSL_read()==SSL_ERROR_SSL
   session uses PSE file "/usr/sap/NPL/D00/sec/SAPSSLA.pse"
secussl_read: SSL_read() failed  (536875120/0x20001070)
   => "received a fatal TLS1.0 protocol version alert message from the peer"
>>            Begin of Secu-SSL Errorstack            >>
0x20001070   SAPCRYPTOLIB   SSL_read
SSL API error
received a fatal TLS1.0 protocol version alert message from the peer
0xa0600278   SSL   ssl3_read_bytes
received a fatal TLS1.0 protocol version alert message from the peer
0xa0600278   SSL   ssl3_read_bytes
received a fatal TLS1.0 protocol version alert message from the peer
<<            End of Secu-SSL Errorstack
  SSL_get_state()==0x2120 "SSLv3 read server hello A"
  SSL NI-hdl 94: local=<IP_ADDRESS>:46224  peer=<IP_ADDRESS>:443
<<- ERROR: SapSSLSessionStartNB(sssl_hdl=7f2984001570)==SSSLERR_SSL_READ

I solved this issue by setting the profile parameter ssl/client_ciphersuites to 918:PFS:HIGH::EC_P256:EC_HIGH according to SAP Note 2359837 - Troubleshooting for "Support Hub Connectivity" in Solution Manager 7.2 up to SP04

for me the fix with adding these two parameters are not working with latest trial edition (nw 751 sp02).
i've tried different solutions mentioned here.

added parameters to DEFAULT.PFL at OS level -> system is not starting
added parameters to NPL_D00_vhcalnplci at OS level -> system is not starting
added parameters to DEFAULT.PFL through RZ10 -> restart ICM -> SSL is working temporary till next stopsap/startsap
added parameters to NPL_D00_vhcalnplci through RZ10 -> restart ICM -> SSL is working temporary till next stopsap/startsap

i tried with these parameters
ssl/client_ciphersuites = 918:PFS:HIGH::EC_P256:EC_HIGH
ssl/ciphersuites = 135:PFS:HIGH::EC_P256:EC_HIGH

ssl/client_ciphersuites = 150:PFS:HIGH::EC_P256:EC_HIGH
ssl/ciphersuites = 135:PFS:HIGH::EC_P256:EC_HIGH

could anybody please help me what i'm doing wrong?😅

Sorry, I'm a little bit late ;-) Good to hear that your problem is solved. I think there is a function to import the profile from OS level in transaction RZ10. But I could be wrong. Anyway, have fun :-)

Dear  Team
Same  error  facing  in our sap development system (s4hana 1610 abap system)
SSL handshake with uatsky.yesbank.in:444 failed:
SSSLERR_SSL_READ (-58)#SAPCRYPTO:SSL_read()
failed##SapSSLSessionStartNB()==SSSLERR_SSL_READ#
SSL:SSL_read() failed (536875074/0x20001042)#
=> "received a fatal TLS bad certificate alert
message from the peer"#
SSL:SSL_get_state()==0x21d0 "TLS rea

I checked connection with report "ZABAPGIT_TEST_SSL" and it worked. abapGit is working, too. Why is handshake failing with "uatsky.yesbank.in" and not "github.com"?

Have you tried to reach uatsky.yesbank.in in your browser? At least from the public internet I can't reach anything there on https and http. Also a ping does not work.

Now its working again with my older System NW740 SP05.
Steps needed to be done (I am not an Admin!):
1. Step 7 from SAP note 510007

2. Download SAP Cryptographic Library for your OS [here ](https://launchpad.support.sap.com/#/softwarecenter/search/SAPCRYPTOLIB)

3. uncar its files on the server and move them to \usr\sap<SID>\SYS\exe\run

4. stop SAP

5. restart machine

6. start SAP

On my NW 740 SP 0004 it worked just by adding the two parameters to the instance profile.

@TejasGandhi1 Have your problem solved, because now I am facing the issue,
certificates are done, parameters are done, also icm is restarted, but SSL issue is still there. Any help

The issue related to the SSL now is solved but now we are getting, authentication problem
Error Number     1
Connection closed
Also check transaction SMICM -> Goto -> Trace File -> Display End
Error        403
So, we are confused whether the problem is from certificates because these issues tracing to them, or the issue is related to Github side.
Any leads  ?

Hello, I don't know if they have already solved it, but I had the same problem and for me what it solved was the following:
The icm/HTTPS/client_sni_enabled  parameter was set to FALSE in ICM
We had to change ICM and transaction RZ10 to TRUE
We follow the guidance of Sap Note https://launchpad.support.sap.com/#/notes/2124480

Does anyone occasionally know how to import a SSL certificate from the command line, instead of STRUST in SAP GUI ?
From what I understand it should be some command like sapgenpse import_own_cert -p SAPSSLA.pse ...??? but I cannot find any good example :(
SSL certificate, I mean e.g. for connecting to github and similar ...

Well for sapgenpse specifically there seem to be some results on GitHub. This one looks quite promising (the whole markdown file actually): https://github.com/sap-tutorials/Tutorials/blob/4d4dd42daf812f3b1c58295b52ea67f0f8125560/tutorials/hana-python-secure-connection/hana-python-secure-connection.md?plain=1#L290

Indeed, thanks for the link. This is a step forward. For the history sapgenpse maintain_pk -p SAPSSLA.pse -a <certfile> does add a certificate. (sapgenpse maintain_pk -p SAPSSLA.pse -l - to list the existing ones). But ... not the final stage yet :(
After the command SAP goes out of sync with the files, claim that "Local PSE does not match database original" (TRUST028). On restart the system overwrites the PSE files. And I didn't find the way out of SAP to import them so far (e.g. note 1473710 suggest a solution inside SAP GUI).
So the question is still open ... :(


reduce/optimize the number of universes (DO NOT MERGE)

This PR is not intended to be merged. This is an illustration of how far can we optimize  to have less universes/jobs to deal with.
The idea can be break down in 2 stage:

Group all the packages by their respective repo and version before scheduling(finding the minimal group that include all the opam packages) them. It is The solved solved success in the statistics.

There are lot of packages that doesn't change their dependencies so often between 2 different versions. So we could reduce the jobs number considering their shared dependencies. It is Reduced jobs in the statistics.

The statistics shows how interesting could be, to optimize ocaml-docs-ci universes. The command to start the CI to get the stats.
$ dune exec -- stats ../opam-repository

Total number of opam packages is 30228.

2024-03-28 17:18.14: New job: 5e59e8699a1534a5e3d22936ffcba8fc5ffee950
2024-03-28 17:18.14: opam-repository commit : 5e59e8699a1534a5e3d22936ffcba8fc5ffee950
2024-03-28 17:18.14:
2024-03-28 17:18.14: Ungrouped packages (default)
2024-03-28 17:18.22: default> The solved jobs success    : 25340
2024-03-28 17:18.22: default> The opam packages success  : 25363
2024-03-28 17:18.22: default> The opam packages failures : 4865
2024-03-28 17:18.22: default> Scheduled jobs             : 17494
2024-03-28 17:18.22: default> Coverage                   : 25363/30228 (83.91%)
...
2024-03-28 17:18.22:
2024-03-28 17:18.22: Grouped packages by repo
2024-03-28 17:18.26: grouped> The solved jobs success    : 13627
2024-03-28 17:18.26: grouped> The opam packages success  : 24202
2024-03-28 17:18.26: grouped> The opam packages failures : 6026
2024-03-28 17:18.26: grouped> Scheduled jobs             : 11394
2024-03-28 17:18.26: grouped> Coverage                   : 24202/30228 (80.06%)
2024-03-28 17:18.26: grouped> Reduced jobs (by deps hashes) : 6343
2024-03-28 17:18.31:
2024-03-28 17:18.31: Grouped packages by repo (take the failures that are solved individualy)
2024-03-28 17:18.31: group-fixed> The solved jobs success    : 14797
2024-03-28 17:18.31: group-fixed> The opam packages success  : 25373
2024-03-28 17:18.31: group-fixed> The opam packages failures : 4855
2024-03-28 17:18.31: group-fixed> Scheduled jobs             : 11473
2024-03-28 17:18.31: group-fixed> Coverage                   : 25373/30228 (83.94%)
2024-03-28 17:18.31: group-fixed> Reduced jobs (by deps hashes) : 6425
2024-03-28 17:18.31: Job succeeded

Some indication, to understand the statistics.

In default: a job/universe is package with its deps.
In grouped by repo: a job/universe is a repo(git, gitlab, ...) with all the deps of packages inside the repo.
In grouped by rep(fixed) (recycling the opam packages failures that could be solved when solving them within their respective repo fails) : same as previous one, the only difference is recycling some opam packages failures as jobs.

Improvements:
The comparison between group-fixed and default:

The coverage of group-fixed is superior or equals to default by definition, we can also see this in the stats 83.94% against 83.91%, there is no loss against default.
Scheduling in group-fixed reduce the jobs by 34.41% ($(1 - 11473/17494)*100$) against default.
Reduced jobs in group-fixed reduce the jobs by 63.27% ($(1 - 6425/17494)*100$) against default.

This PR only implement, "Scheduled jobs" of grouped. Adding the "Reduced jobs" (2nd stage) is more complicated, it demands changing how the jobs are built/installed it will ends up dissociating a package with it dependencies during the build/install. In the default case, a package and its dependencies are built/installed once together, this is why the duplication.

We don't have bandwidth or priority to move forward with this at the moment, but we will keep this POC in mind for reference in the future!


Bug: snapshot fails when instantiating InstrumentBase

The problem occurs when one wants to instantiate an InstrumentBase or subclass from it. The reason to do so is to create a "virtual" instrument, and to avoid the overhead of Instrument class related to the register of instances.
The problem is that the snapshot functionality of InstrumentBase raises an exception saying "the object does not have attribute _meta_attrs". This is because snapshot_base uses it, but for some reason _meta_attrs is only defined in the Instrument class. This is not correct, hence this PR.
Changes:

declare _meta_attrs in InstrumentBase instead of Instrument
add tests for snapshotting InstrumentBase
modify Instrument test to ensure snapshotting still works for it

It's not so clear to me what is gained by instantiating InstrumentBase directly, but irrespective of that, this refactor seems sensible to me.

yeah, it is more for subclassing InstrumentBase.


In VIC mode, all references to "Harbor" should be replaced by "Registry"

Search box should say Registry
The page title should be Registry
About box should say "vSphere Integrated Containers Registry (Powered by Harbor)"

Yes, it looks a reasonable change.

Changed in rc3.


eslint-plugin-import fails on rc10

I've just created a minimal working example with travis-ci output.
Please it.
https://github.com/RusAlex/react-select-plus-bug
https://travis-ci.org/RusAlex/react-select-plus-bug/jobs/294442075

I tested the same version of 'react-select' there is no such bug.

Ah, looks like the package.json declares
"jsnext:main": "dist/react-select-plus.es.js"

but no such file exists—it was named react-select.es.js, as in the upstream project. PR pending.

@RusAlex Thanks for reporting! I've confirmed that this is fixed in 1.0.0-rc.10.patch1.


Do not know how I can mock my RTK websocket with this lib

Hi dear reader
I was looking at this lib and could not find any clue on how you should mock your WebSocket when you are using a library like Redux and SocketIO. Let's say you have a RTK query like this:
endpoints: (build) => ({
  someSubscription: build.query<ResponseSchema[], void>({
    queryFn: async () => {
      return { data: null }
    },
    async onCacheEntryAdded(_, { updateCachedData, cacheDataLoaded, cacheEntryRemoved }) {
      const socket = io('ws://localhost:3000/', {
        withCredentials: true,
        transports: ['websocket'],
      })
      socket.on("message", () => {/* cache received msg in */})
      socket.close()
    },
  }),
})

How can I mock the cached data? is it even possible to do it with this lib? if not with what I can do that?

I think we need to leverage and utilise two things at the same time, the first one I think is this addon and the other one might be: https://github.com/thoov/mock-socket
After a few weeks I ended up asking same question and landing back to this page again but not luck still 😭

Hey there! MSW didn't support mocking web sockets before but it seems like it does now! If you're willing to make a contribution to this repo with a reasonable, simple websocket example, we can try to set mocks for it and it can serve as reference for others!
cc @kettanaito

Second what @yannbf is saying here! We are bringing a first-class WebSocket support to MSW, which is already available in a public beta.
npm i msw@next

Learn how to use: https://website-git-docs-ws-mswjs.vercel.app/docs/basics/handling-websocket-events
Share feedback: https://github.com/mswjs/msw/discussions/2010

I've got a few usage examples as well, feel free to reference those.

MSW supports mocking WebSockets since<EMAIL_ADDRESS>
Docs: Handling WebSocket events

Minimal usage example:
import { ws } from 'msw'

const chat = ws.link('wss://api.example.com/chat')

export const YourStory = {
  parameters: {
    msw: {
      handlers: [
        chat.addEventListener('connection', ({ client }) => {
          client.send('Hello from mock!')
        })
      ]
    }
  }
}


I want user my own compiler with the default tag

Hi, if I want to use my own compiler to handle the contents of the script tag, but I do not want to specify the script's lang. what should I do？
I found this writing is invalid.
components({
    customCompilers: {
      script: function (content, cb, compiler, filePath) {
        // It does not work
        cb(null, content)
      },
      pug: function (content, cb, compiler, filePath) {
        content = pug.render(content, {doctype: 'html'})
        cb(null, content)
      }
    }
}

I think you're confusing compilers with tags. A compiler processes the content of a tag and is specified with the lang attribute on the tag. If lang isn't set then the raw content is passed to the output file.
So with your example (assuming that you want to compile the script tag with "pug"):
components({
    customCompilers: {
      pug: function (content, cb, compiler, filePath) {
        content = pug.render(content, {doctype: 'html'})
        cb(null, content)
      }
    }
}

<script lang="pug">
   <!-- content -->
</script>

Tags basically only handle setting the appropriate file extension (script -> js, style -> css, etc.). At the moment there's no functionality to override the default tags (script, style and template), this might change in the future if it proves that people actually has a use case for it.
So for you, since you'd like to change how the script tag is compiled by default there's currently no straight forward way to set that up since the tag would just pass the raw output. But what you could do is to set an outputModifier:
       outputModifiers: {
          script: function (lang, filePath, content, base) {
            // If the lang attribute is empty
            if (lang) {
              return pug.render(content, {doctype: 'html'})
            }
            else {
              return content;
            }
          },
        }

I hope that helps!

Thanks.


[QUESTION] Is there a way to limit Request size?

First check

[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.

Description
Is there a way to prevent exceedingly large post requests?
Security wise, what prevents an attacker from sending me a 6 GB json that FastAPI will read and store in memory?

I think you need a look here.

Basically there is no solution, and unless we're using nginx an attacker can fill our memory to his pleasing, and cause a DoS.

Yep, check the link @nsidnev posted. :point_up:

This issue sparked another one. I guess we can move the conversation there, but it's the same thing.


Feature Request - Remember enter / leave full screen and reopen with the same setting.

Just saw that whatsapp web on mac can remember my last window state ( full screen or not ) and re-opens with the same setting. This made me realize that every-time I open Code on my big monitor I've to explicitly trigger a full-screen.
Would it make sense to have this for Code ?
Putting a code pointer here to verify I'm looking in the right file.
https://github.com/Microsoft/vscode/blob/91120eb786357aa1e16217ad6a67cf0740f26e8e/src/vs/workbench/electron-browser/window.ts#L207

"window.restoreFullscreen": true


Set up source maps

Source maps will let us debug our client side code more easily. Instead of showing us the minified code, we have a copy of the original source.

Closing, as all dev environment work has moved to New-Project-Template.


expose latest subscription metadata somehow?

When you subscribe to an Apollo Client ObservableQuery (returned by watchQuery), you provide it an object that includes a next function. That function is called with an ApolloQueryResult, which looks like this:
{data: undefined, loading: true, networkStatus: 1, stale: true}

I suspect that those final 3 properties would be useful for some cases, or at least the middle 2. The react-apollo project makes loading and networkStatus available on props.data.
I'm not sure what's the best way to expose them, though. It's easy to envision adding some more private properties on the result object once the promise has been resolved with data, which would cover the cache-and-network use case where cached data is returned first but still loading at the same time.
What about exposing the network and loading status for queries which haven't yet returned data? In the case of a route loading model data, that route wouldn't fully render anyway until the watchQuery promise resolved with data.
Is this info useful? For which use cases? If so, how should it be exposed?

I believe this is solved now because the observable is available from the result of a watch query using:
import { getObservable } from "ember-apollo-client";

// ...
  let result = this.get("apollo").watchQuery(...);
  let observable = getObservable(result);

Closing this one.


Uncaught TypeError: child_process.spawnSync is not a function(…)

Hi,
Tried using the r-script callSync module and found below error with child_process saying spawnSync is not a function.
Uncaught TypeError: child_process.spawnSync is not a function(…)
When I checked README of child_process below message do exist.
===========================
Security holding package
This package name is not currently in use, but was formerly occupied
by another package. To avoid malicious use, npm is hanging on to the
package name, but loosely, and we'll probably give it to you if you
want it.
You may adopt this package by contacting<EMAIL_ADDRESS>and
requesting the name.

This is actually a built in node lib https://nodejs.org/api/child_process.html


Project Abandoned - Planning fork -  Searching for developpers

Is @Dar9586 still maintaining this app?
The Last commit on Main was from a year ago and there isn't any response on Issues or Pull Requests.
If this is so, maybe opening a main Fork of the App would be best so that the app can be maintained further.

By the looks of it, @Dar9586 has abandoned this project. I don't know why or under what circumstances. I think that it's for the best if there were some people that could fork the repo and continue the work on it (maybe under a different name). But I don't know much about app making on android, and thus will not do it myself.
But do keep me updated if someone did fork it and continue to maintain it

But if your app is crashing, you can get a debug version that someone made in the pull request #762

There is a fork with multiple Stars the appears to be continuing development https://github.com/shirokun20/NClientV2
But @shirokun20 should say if he is willing to have his repo be the official fork or someone else should do it.

No bro, just for learning the code and convert to other mobile language like flutter and react native

There is a fork with multiple Stars the appears to be continuing development https://github.com/shirokun20/NClientV2
But @shirokun20 should say if he is willing to have his repo be the official fork or someone else should do it.

Thanks sir

Hey @maxwai,
I am currently in need of a coding project in my spare time and I'd like to offer help if it is accepted.
I have to warn you though.
I am very rusty in Java, have basically never done app development before and would have to work through the existing code first when I have time and then learn about how I can add to it or fix things. So I should probably not be a lead dev, or anything like that, to start (if even possible).

As the interest was low with only one person proposing to help, I will create a fork but as a personal repo and not as organisation repo.
The fork can be found here: https://github.com/maxwai/NClientV2-ng
It will take me 1-2 weeks to get everything up and running and start fixing things, but I will start with the most pressing issues, mainly the new image format and image loading.


Converts from large strings/bytes into clob/blob

A proposal on how to implement what was discussed in this issue.
Even though I compared the length to the MAX_LEN_NVARCHAR2 and MAX_LEN_RAW variables, I am not sure if those values are always correct, as per what Oracle documentation says. It would probably be safer to just use 4000 or 2000 as the max size for VARCHAR/RAW, respectively, as CLOBs and BLOBs are automatically mapped to VARCHAR or RAW by the database (so it may be safer just to use the lowest possible max size).

sorry for late I was too busy


Add two Github Actions powered by Nushell

Add two Github Actions powered by Nushell
You will never know how easy it was to create a Github action by Nushell until you do it.

Thanks


Closet Skeleton can spawn in cryosleep, cryoing before raffle ends.

Description
Shrimply blacklist cryo prototypes :trollface:
Reproduction
Have Closet Skeleton event spawn skeleton in cryosleep
Observe as Skeleton "despawns" (goes to cryosleep dimension)
Raffle timer for 2 persons seemed to be just the point of disappearance.
Screenshots
n/a
Additional context
I hate it here. scammed my skele :(((

what probably happened is someone found a skeleton and cryod it before anyone took the role
Nope. Literally saw it spawn in the ghostrole menu.

So I have no idea what even happened to begin with.

Turbo, you are accused of illegal sorcery because the comments in this Issue are from some unclear reason in reverse order, and I have decided to blame You for this :3

why is github time travelling comments, you are all conversing in the future. am I not invited to this higher plane???

what probably happened is someone found a skeleton and cryod it before anyone took the role

what probably happened is someone found a skeleton and cryod it before anyone took the role

To be fair skele was eeepy and cryosleep is for putting eeeeepy people in. :trollface:


Review design implementation for responsive navigation

Task
Design review for responsive navigation
Context

[ ] Mobile nav items: [Home] [Filing] [Profile (links to the user's profile)] [Log out]
[ ]  Selected is black vertical line (at desktop this line is horizontal)
[ ] Hover is green vertical line (at desktop this line is horizontal)
[ ] Line above and below each link is Gray 40
[ ] Use of hamburger to show navigation (pull from cf.gov implementation)
[ ] Use of "x" to hide navigation (pull from cf.gov implementation)

Here's a mock-up:
Updated on 6/27/2024 (I may need to update the mock-ups to the latest):

Loosely based on the consumerfinance.gov mobile megamenu. Let's pull the code that we can. https://www.consumerfinance.gov

@angelcardoz
I have reviewed this in dev pub and the PR has been merged. This will be included in work that will be merged into beta next week.
I did find some issues in my review but we decided to move those to a separate task since they are not strictly related to the mobile navigation.
https://github.com/cfpb/sbl-frontend/issues/1033


*: add http framework.

This is the first stop fo #562, just introducing a HTTP framework.
@ngaut @BusyJay @disksing @tiancaiamao

See http://seanmonstar.com/post/141495445652/async-hyper for how to use async hyper.

I think we should link coveralls.io url in readme too.

hyper is not stable and has low performance, we should wait now.


Error in pair step

Hi! I'm running into an error on the pair step while using MGEfinder v1.0.6. I'm using the workflow denovo command, and the working directory only produces the 01.mgefinder directory. Within the ~/01.mgefinder///log/..pair.log.err file, I get this error:
Traceback (most recent call last):
File "/home/erin.newcomer/.conda/envs/mgefinder/bin/mgefinder", line 8, in
sys.exit(cli())
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/mgefinder/main.py", line 194, in pair
min_alignment_inner_length, max_junction_spanning_prop, large_insertion_cutoff, output_file)
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/mgefinder/pair.py", line 40, in _pair
flank_pairs = flank_pairer.run_pair_flanks()
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/mgefinder/pair.py", line 113, in run_pair_flanks
final_pairs = self.get_direct_repeats(filtered_pairs)
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/mgefinder/pair.py", line 278, in get_direct_repeats
positions = self.get_reference_direct_repeats(flank_pairs, genome_dict)
File "/home/erin.newcomer/.conda/envs/mgefinder/lib/python3.6/site-packages/mgefinder/pair.py", line 292, in get_reference_direct_repeats
direct_repeat = genome_dict[contig][(start+1):end]
KeyError: '1'
Do you have any advice?

Ok, this looks like a problem with the way the contigs are named in the reference genome. Sorry, an annoying error. You can either try renaming the contigs, or you can share the genome with me and I can try to fix the problem.

No worries! I saw an earlier error that had an issue if the contigs were only named with an integer (mine were). I tried lazily by concatenating the length and depth info on, so the names now look like '>18length=125depth=1.68x' and it still has this issue. Would naming them something simple like 'contig1' likely fix this?

Yes it probably would.

I tried running it again with the updated reference genome contig name, and I'm still encountering the same error. Any suggestions?

Actually, never mind! I re-aligned everything and ran it again, and it worked this time! Thank you so much!


what are the differences between v0 and v1 models?

The v0 model is trained with train set of ReasonSeg dataset and other datasets, while the v1 model also uses the train+val set as well as the GRES dataset.


Fix a broken link

I wonder why all these are needing the dash all of a sudden? Anyway, thanks again!


feat(metrics): adding publishing workers count and errors count

Description
This PR adds the following metrics and Grafana panels for the publishing workers:

Current spawned publishing workers count,
Workers errors counter (increased when the worker ended up with the error). This is useful to track workers' health status.

Resolves #186
How Has This Been Tested?
Build and CI gate tests.
Due Diligence

[x] ⚠ Requires to be merged on top of the #141
[ ] Breaking change
[ ] Requires a documentation update
[ ] Requires a e2e/integration test update

Plz resolve merge conflicts and I will re-review

Plz resolve merge conflicts and I will re-review

Done, thanks ;)


Execution failed for task ':agora_rtc_engine:verifyReleaseResources'.

I updated Flutter SDK into 1.12 and when I try to build an apk, it throws this error.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':agora_rtc_engine:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  /Users/esen/IdeaProjects/mobile.1/build/agora_rtc_engine/intermediates/res/merged/release/values/values.xml:237: error: resource android:attr/fontVariationSettings not found.
  /Users/esen/IdeaProjects/mobile.1/build/agora_rtc_engine/intermediates/res/merged/release/values/values.xml:238: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                       2.4s
Gradle task assembleRelease failed with exit code 1

This is my app/build.gradle:
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    compileSdkVersion 29

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "******************"
        minSdkVersion 21
        targetSdkVersion 29
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}

apply plugin: 'com.google.gms.google-services'

https://stackoverflow.com/questions/49208772/error-resource-androidattr-fontvariationsettings-not-found
try changing your compile version to 28

@plutoless I changed both compile and target  SDK versions to 29 and still same. Since API 29 is newer, it should include the fontVariationSettings if 29 introduces.

same here.. maybe proguard problem?
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.**  { *; }
-keep class io.flutter.util.**  { *; }
-keep class io.flutter.view.**  { *; }
-keep class io.flutter.**  { *; }
-keep class io.flutter.plugins.**  { *; }
-dontwarn io.flutter.embedding.**
-keep class io.agora.** { *; }

same here.. maybe proguard problem?
(but ios build well, only android problem...)
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.**  { *; }
-keep class io.flutter.util.**  { *; }
-keep class io.flutter.view.**  { *; }
-keep class io.flutter.**  { *; }
-keep class io.flutter.plugins.**  { *; }
-dontwarn io.flutter.embedding.**
-keep class io.agora.** { *; }

Flutter 1.12 by default uses R8, so I don't use Proguard, these issues caused by packages itself.
Check this topic: https://github.com/flutter/flutter/issues/42310

#54 fixed


Having a global object repository that is usable across all scripts

In current version of TagUI, repository for storing commonly used objects or definitions only exist locally per automation flow. However, there are situations where users can have multiple automation flows that want to make use of a common repository definition.
In current implementation, that would involve duplicating a repository file for each automation script, and adding definitions local for each script. For this use scenario, it is a hassle for maintenance.
This issue aims to add support for letting users create a tagui_global.csv file in tagui/src folder, which they can define global repository definitions for use in their automation scripts. And tagui_global.csv persists with newer TagUI releases as there isn't a tagui_global.csv file as part of the repo.

This feature is now usable from the cutting edge version. Having a tagui_global.csv in the tagui/src folder will include the object definitions in this global repository file and make them available for all automation flows. When there is the same definitions, flow-specific repository definitions take precedence over the global definitions. This global repo file works with a flow has datatable.

A possible adjacent improvement for consideration related to this issue is handling local datatable files which only the 2nd column is filled in for some rows with the purpose of being used as repository definition role.

For local datatable files with only 2nd column filled, if blank columns are padded with column 1 data, it is not deterministic. An elegant implementation is extend the idea of global repository tagui_global.csv which is accessible from all automation flows.
By creating local repository file tagui_local.csv. All automation flows in the same folder as the tagui_local.csv will be able to access the definitions defined in the local repository file. Precedence in event of conflicting same definitions is -> flow-specific repository, followed by local repository, followed by global repository. Above commit implements this feature.
Similar to tagui_global.csv, the file tagui_local.csv is not something that is part of TagUI codebase, thus it will persist with new releases and users' modifications can be retained.
This feature is now usable from cutting edge version.


undo cross-python changes to sysconfigdata

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

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

I was seeing this break https://github.com/conda-forge/matplotlib-feedstock/pull/311.

Fixed in https://github.com/conda-forge/cross-python-feedstock/pull/37


Feature/frontend build

Copy of #378 as I could not push my changes because of a DCO error.
I split the build further up. So backend and frontend only care about their own attribution generation. It is now the task of the pipeline to wire everything together.

I'm going to go ahead with the merge, so we can start adding new code. we should discuss procedures for approval and merge. Do we want any contributor to perform the Merge, or only the PR creator? Normally, we work with the creator doing the merge, however with us working in extremely different timezones my vote would be for any contributor to merge when code changes are needed.

Sounds good to me. The only thing that we might want to be careful about is to make sure that there aren't any open issues on the PR and someone is still working on fixing them. So maybe we should always use the review functionality, and only when everything is set to resolved anyone can merge, otherwise it's the job of the creator.

Good Point!


nginx: [emerg] BIO_new_file Error

Describe the bug
Hi, after a fresh installation of nginx+php-fpm, nginx container stop trowing this error

checksum: file /etc/letsencrypt/live/mapsgrabber.com/fullchain.pem is not regular file
/etc/monit.d/check_nginx:21: Cannot compute a checksum for file /etc/letsencrypt/live/mapsgrabber.com/fullchain.pem ''/usr/sbin/nginx -s reload''
 New Monit id: caff48aa9d2cef89f554dd5699cc3785
 Stored in '/root/.monit.id'
Starting Monit 5.25.1 daemon with http interface at [localhost]:2849
OK: All setup processes have completed. NGINX Service is now running...
2018/10/25 17:22:56 [emerg] 1#1: BIO_new_file("/etc/letsencrypt/live/mapsgrabber.com/fullchain.pem") failed (SSL: error:02FFF002:system library:func(4095):No such file or directory:fopen('/etc/letsencrypt/live/mapsgrabber.com/fullchain.pem', 'r') error:20FFF080:BIO routines:CRYPTO_internal:no such file)
nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/mapsgrabber.com/fullchain.pem") failed (SSL: error:02FFF002:system library:func(4095):No such file or directory:fopen('/etc/letsencrypt/live/mapsgrabber.com/fullchain.pem', 'r') error:20FFF080:BIO routines:CRYPTO_internal:no such file)

my env

NGINX_DOCROOT=/usr/share/nginx/html
NGINX_SERVER_NAME=mapsgrabber.com
NGINX_CONFIG=php
PHP_FPM_UPSTREAM=localhost:9000
REDIS_UPSTREAM=redis:6379
NGINX_PROXY_UPSTREAM=localhost:8080

maybe a permission error? i run docker with root user
To Reproduce
Steps to reproduce the behavior:
i used this docker yml

version: '3.1'
services:
  nginx:
    image: openbridge/nginx
    container_name: nginx
    ports:
      - 80:80
      - 443:443
    tty: true
    tmpfs:
      - /var/cache
    volumes:
      - db_data:/usr/share/nginx/html
      #- certs:/etc/letsencrypt/live
    ulimits:
      nproc: 65535
      nofile:
          soft: 49999
          hard: 99999
    env_file:
      - ./env/stage.env
  mariadb:
    image: mariadb:latest
    container_name: mariadb
    environment:
      MYSQL_ROOT_PASSWORD: Pettinell@2009
      MYSQL_DATABASE: mapsgra
      MYSQL_USER: root
      MYSQL_PASSWORD: Pettinell@2009
    tty: true
    volumes:
       - db_data:/var/lib/mysql
    ulimits:
      nproc: 65535
      nofile:
          soft: 49999
          hard: 99999
  php-fpm:
    image: openbridge/ob_php-fpm
    container_name: php-fpm
    restart: always
    depends_on:
      - mariadb
    env_file:
      - ./env/stage.env
    ports:
      - 9001:9000
    tmpfs:
      - /var/cache
    tty: true
    volumes:
       - db_data:/usr/share/nginx/html
    ulimits:
      nproc: 65535
      nofile:
          soft: 49999
          hard: 99999
  redis:
    image: redis
    container_name: redis
    restart: always
volumes:
  db_data:
  certs:

Expected behavior
docker logs nginx ... and i see the error above
Desktop (please complete the following information):

OS: Ubuntu +
Docker version 18.06.1-ce, build e68fc7a +
docker-compose version 1.22.0, build f46880fe

It is saying that it can't find the SSL cert /etc/letsencrypt/live/mapsgrabber.com/fullchain.pem. Can you confirm that path is correct on your host to letsencrypt? List the contents ls -al /etc/letsencrypt/live/
Based on your config you are assuming to see mapsgrabber.com.
Also, I always suggest mounting the exact files. This avoids problems like the one you are reporting as it forces you to know where the certs are on the host.
    volumes:
      - /my/local/path:/usr/share/nginx/html
      - /etc/letsencrypt/live/www.openbridge.com/fullchain.pem:/etc/letsencrypt/live/www.openbridge.com/fullchain.pem
      - /etc/letsencrypt/live/www.openbridge.com/privkey.pem:/etc/letsencrypt/live/www.openbridge.com/privkey.pem
      - /etc/letsencrypt/live/www.openbridge.com/chain.pem:/etc/letsencrypt/live/www.openbridge.com/chain.pem

@tspicer , thank you, the nginx container stops after few seconds and i can't run any command. I'm new on docker, there is a way to prevent this stops or i must edit the entrypoint.sh?

Did you resolve the SSL error? It will be helpful to understand if an issue was resolved and if we are reporting a new one :)
Hi, can you paste the output of docker logs nginx here?
Also, can you also paste the contents of ls -al /etc/letsencrypt/live/ if you did not resolve your SSL issue?

On your host, can you run ls -al /etc/letsencrypt/live/?

now I understood: I thought the container was responsible for creating certificates.
Now, installed certbot, created the certificates and everything works fine.
Thanks for the time you have dedicated to me and I'm sorry!

The container will only create self-signed certs for testing. Glad you have it solved.


Chained arguements

I am attempting to retrieve a list of registered results off of a scan. I want to put it in idle format as I am using that list in another tool. However, if I want to do something such as:
$dnstwist -r domain.com --format idle
This returns just idle format of a non registered scan or so it seems. I have run a registered scan using:
$dnstwist -r domain.com
this returns some reachable websites.
All I am saying is that chaining arguments together doesn't seem to work.

Format idle just prints domain permutations and does not run any active scans so it can't tell which are registered. I suggest to use CSV format and pipe it through cut like this:
$ dnstwist --format csv --registered domain.com | cut -d, -f2

I will update the documentation and the argument parser to make sure chaining --format idle with other options won't be possible.

Alright. I will see if that works.

It doesn’t seem to work in the way that I want to use it. It works in the command line, but doesn’t work with what I want to use it with which is the subprocess.run()
Command. When I run it, I get the following error:
Error: Unrecognized arguments: | cut\n

Can you paste full console output?

Sure...

CompletedProcess(args=['dnstwist', '--format', 'csv', '--registered', 'domain.name', '|', 'cut', '-d,', '-f2'], returncode=2, stdout='', stderr="usage: /home/#####/.local/bin/dnstwist [OPTION]... DOMAIN\ndnstwist: error: argument -f/--format: invalid choice: '2' (choose from 'cli', 'csv', 'json', 'idle')\n")

I think I have full picture now. Pipes do not work with subprocess so you need to figure out some other way to parse the output. How about running it with --format json and then use json.loads() to convert it into a dictionary?

I managed to make it work. Thanks so much!

Yes. That seems to work. Thanks!


A website is available in Simplified Chinese, Traditional Chinese and English. I use the website agent to grab the default and return to English. How can I set it back to Simplified Chinese?

{
"expected_update_period_in_days": "2",
"url": "http://91porn.com/uvideos.php?UID=bccdY4LbJ9Pz4LJ0oDwp40t0Q96ni2Gbty7HMiaBlop2IjBR&type=public",
"type": "html",
"mode": "on_change",
"extract": {
"url": {
"xpath": "//[@id="myvideo-content"]//p//a/@href",
"value": "."
},
"title": {
"xpath": "//[@id="myvideo-content"]//p//a/text()",
"value": "normalize-space(.)"
},
"date": {
"xpath": "//*[@id="myvideo-content"]/div/div[2]/p/text()[3]",
"value": "normalize-space(.)"
}
}
}

The website probably uses a header or cookie to determine the language, you will have to inspect the requests the browser makes and send the header/cookie with the WebsiteAgent. Please also mention that links are NSFW.