Perform IFE tx bytes -> IFE ID locally

As mentioned by @InoMurko, the ExitProcessor is doing a loop to convert IFE transaction bytes into the IFE ID.
OMG.Watcher.ExitProcessor:
contract_ife_ids =
  Enum.map(
    events,
    fn %{call_data: %{in_flight_tx: bytes}} ->
      {:ok, contract_ife_id} = Eth.RootChain.get_in_flight_exit_id(bytes)
      contract_ife_id
    end
  )

And suggested by @boolafish, the contract is just doing some stateless conversion on the tx bytes:
ExitId:
function getInFlightExitId(bytes memory _txBytes) internal pure returns (uint160) {
    return uint160((uint256(keccak256(_txBytes)) >> 105).setBit(151));
}

So we could do this totally offchain.

Cool! Thank you for putting this in motion! My comments:

Should we apply the same mechanism to standard exits? It would be awesome.
This is related to the pending "big cleanup" of event data, where potentially the exit_ids could be included in the logs, for an alternative approach.
I think doing the calculation off-chain (that is, by a twin implementation in Elixir), a thorough conformance test would be needed to make sure both implementations are kept in sync. It should be a few lines of propcheck

ah, also just noticed this: https://github.com/omisego/plasma-contracts/issues/590, might be at least partially related

I think doing the calculation off-chain (that is, by a twin implementation in Elixir), a thorough conformance test would be needed to make sure both implementations are kept in sync. It should be a few lines of propcheck

is this really needed? if there was a mismatch it would really invalidate the chain, it only means the watcher has a bug processing exits, correct?

Should we apply the same mechanism to standard exits? It would be awesome.

I looked into this before and I couldn't find SE tx bytes -> SE ID anywhere in elixir-omg. If you could point me to where it's being done, lemme know!

I think doing the calculation off-chain (that is, by a twin implementation in Elixir), a thorough conformance test would be needed to make sure both implementations are kept in sync. It should be a few lines of propcheck

I'm new to propcheck. Can you point me to some code?

@unnawut

I looked into this before and I couldn't find SE tx bytes -> SE ID anywhere in elixir-omg. If you could point me to where it's being done, lemme know!

hm, indeed we don't, we consume the exit_id which is in the event for SE case, :+1:

I'm new to propcheck. Can you point me to some code?

A propcheck-based example of a conformance test (for tx encoding and hashing) is https://github.com/omisego/elixir-omg/blob/master/apps/omg_conformance/test/omg_conformance/conformance/signature_property_test.exs. In short:

it uses a special contract to access the transaction decoding code on solidity end. This is not necessary at all in your case, since you could use the getStandardExitId that already exists
it defines some generators for payment transactions. In your case not needed, just propcheck's  binary() will do. But see a note on propcheck below
it then calls both Elixir and Solidity implementations to see if they do the same thing. In the encoding and hashing case it also goes an extra mile and verifies that distinct txs have different encodings/hashings; in your case this is probably overkill, just elixir_result == solidity_result comparison.

However, indeed, employing property test might sound overkill, considering there's a keccak256 at the very beginning of the routine. So I think a smaller option to just do a elixir_result == solidity_result on 1 (one) exemplary txbytes binary would give you like ~85% of the desired coverage.
Propcheck would only put more coverage on the keccak256 implementations conformance.
So this somewhat addresses @InoMurko 's concern - a non-propcheck conformance is an even lower-hanging fruit.
To further answer Ino's comment whether this is needed, with or without propcheck, I think yes. I think the non-conformance cases uncovered for encoding & hashing proved this and the effort is small. You've got your back covered in case the implementations drift and also "bug in the Watcher" in this case is technically a security issue (e.g. not able to challenge), which will be hard to find (status 0x0 transaction failures).

Okayy. So what's remaining is "elixir_result == solidity_result comparison".
I have a unit-ish test at https://github.com/omisego/ex_plasma/pull/41/files#diff-cd1de5d8b57e32a0529bc21db58b8357 but those values were ran-copied-pasted manually. I definitely like to test against an actual EVM.
Last question on this is, I think it makes sense to do this elixir_result == solidity_result in ex_plasma where the elixir implementation is. Sounds good? Or do we need it in elixir-omg/omg_conformance too?

afaik the plan was to move all the existing elixir-omg/omg_conformance tests into ex_plasma. I don't see a reason why you would need them in elixir-omg.


Constrained date types

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
This library is amazing, I use it all the time.  Thanks for all the great work!
I'm guessing there may be reasoning behind why it exists as it does today, but I wanted to create a proposal for constrained dates.  Currently, PastDate and FutureDate subclass datetime.date and are super useful.  However, there are some cases where you want to specify specific bounds on the date and it would be useful to use that with constraints rather than having to create a custom type that performs the validation in __get_validators__.
Currently
from typing import TYPE_CHECKING
from datetime import date

from pydantic.datetime_parse import parse_date

if TYPE_CHECKING:
    NinetiesDate = date
else:

    class NinetiesDate(date):
        @classmethod
        def __get_validators__(cls) -> 'CallableGenerator':
            yield parse_date
            yield cls.validate

        @classmethod
        def validate(cls, value: date) -> date:
            if not (1990 <= value.year <= 1999):
                raise ValueError("Date not in the 1990s!")

            return value

Proposal
pydantic.errors
from pydantic import errors

class _DateBoundError(errors.PydanticValueError):
    def __init__(self, *, limit_value: date) -> None:
        super().__init__(limit_value=limit_value)

class DateNotGtError(_DateBoundError):
    code = 'date.not_gt'
    msg_template = 'ensure this value is greater than {limit_value}'

class DateNotGeError(_DateBoundError):
    code = 'date.not_ge'
    msg_template = 'ensure this value is greater than or equal to {limit_value}'

class DateNotLtError(_DateBoundError):
    code = 'date.not_lt'
    msg_template = 'ensure this value is less than {limit_value}'

class DateNotLeError(_DateBoundError):
    code = 'date.not_le'
    msg_template = 'ensure this value is less than or equal to {limit_value}'

pydantic.validators
from datetime import date

def date_range_validator(v: date, field: 'ModelField') -> date:
    field_type: ConstrainedDate = field.type_
    if field_type.gt is not None and not v > field_type.gt:
        raise errors.DateNotGtError(limit_value=field_type.gt)
    elif field_type.ge is not None and not v >= field_type.ge:
        raise errors.DateNotGtError(limit_value=field_type.ge)

    if field_type.lt is not None and not v < field_type.lt:
        raise errors.DateNotGtError(limit_value=field_type.lt)
    if field_type.le is not None and not v <= field_type.le:
        raise errors.DateNotGtError(limit_value=field_type.le)

    return v

pydantic.types
from datetime import date
from typing import Any, Dict, Optional, cast

from pydantic.datetime_parse import parse_date
from pydantic.types import  _registered
from pydantic.utils import update_not_none

class ConstrainedDateMeta(type):
    def __new__(cls, name: str, bases: Any, dct: Dict[str, Any]) -> 'ConstrainedDate':  # type: ignore
        new_cls = cast('ConstrainedDate', type.__new__(cls, name, bases, dct))

        if new_cls.gt is not None and new_cls.ge is not None:
            raise errors.ConfigError('bounds gt and ge cannot be specified at the same time')
        if new_cls.lt is not None and new_cls.le is not None:
            raise errors.ConfigError('bounds lt and le cannot be specified at the same time')

        return _registered(new_cls)  # type: ignore

OptionalDate = Optional[date]

class ConstrainedDate(date, metaclass=ConstrainedDateMeta):
    strict: bool = False
    gt: OptionalDate = None
    ge: OptionalDate = None
    lt: OptionalDate = None
    le: OptionalDate = None

    @classmethod
    def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
        update_not_none(
            field_schema,
            exclusiveMinimum=cls.gt,
            exclusiveMaximum=cls.lt,
            minimum=cls.ge,
            maximum=cls.le,
        )

    @classmethod
    def __get_validators__(cls) -> 'CallableGenerator':
        yield parse_date

if TYPE_CHECKING:
    PastDate = date
    FutureDate = date
    NonPastDate = date
    NonFutureDate = date
else:
    class PastDate(ConstrainedDate):
        lt = date.today()

    class FutureDate(ConstrainedDate):
        gt = date.today()

    class NonPastDate(ConstrainedDate):
        le = date.today()

    class NonFutureDate(ConstrainedDate):
        ge = date.today()

In use:
from datetime import date

from pydantic import ConstrainedDate, validate_arguments

class NinetiesDate(ConstrainedDate):
    ge = date(1990, 1, 1)
    lt = date(2000, 1, 1)

@validate_arguments
def my_func(foo: NinetiesDate):
    return foo

my_func(date(1995, 1, 1))
my_func(date(2000, 1, 1))

Output:
datetime.date(1995, 1, 1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pydantic/decorator.py", line 40, in pydantic.decorator.validate_arguments.validate.wrapper_function
    from contextlib import _GeneratorContextManager
  File "pydantic/decorator.py", line 133, in pydantic.decorator.ValidatedFunction.call
    func.__dict__.update(kw)
  File "pydantic/decorator.py", line 130, in pydantic.decorator.ValidatedFunction.init_model_instance
    else:
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for MyFunc
foo
  ensure this value is greater than 2000-01-01 (type=value_error.date.not_gt; limit_value=2000-01-01)

There would have to be additional work to make this work with Field, but that could be done if this proposal, or something along these lines, were accepted.  Thanks.
Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[X] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Settings Management
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Thanks for the detailed request.
Much of this is implemented in #3739.
Also, the constraints are already implemented in pydantic-core, ready for V2, eg. see here.
The only open question is how we support today() (and now for FutureDatetime) - you see the constraint validation in V2 is don't purely in rust using speedate, so we either to allow speedate to access know about now and today, which shouldn't be too hard.

Thanks for the response.  My bad for not finding PR #3740 , which as you said, did implement the majority of this (the constraints at least).

Nice, I will check it out once released!
Unless I missed it, this is only for dates, not datetimes, correct?
I would love to see this being extended to datetimes, including:

constraining timezones
coercion to a specific zone , i.e. "astimezone(...)" (before/after any gt/lt checks)
adding timedeltas and/or setting concrete values for specific attributes, i.e. "replace(minute=0, ...)". rounding might be nice, too, but might also be a bit much

If this is still missing and if I'm not the only one interested in this feature, I would be happy to put this in a FR of its own and maybe even prodive some sort of rudimentary implementation.

Should work for dates, times, datetimes and durations.
Can't do timezone constraints yet, probably best to manage this in python.

Formats or constraining particular components can be don't in python via validators.

ok, thx.
is it planned to add constrained zones and formats in the near future?

No, because:

You can do both with validators easily
I don't see any point in constraining formats - the formats speedate allows are already unambiguous, why make submitting data harder
Constraining timezone has different options - mainly, whether to constrain based on timezone or timezone offset

True, but using a lot of validators, even simple ones, May bloat your model quite a bit.
I was thinking actual zones, i.e. names, but Sure, offsets might be good, too.

And adding endless options will bloat pydantic and make it harder to maintain, so we can't add everything to pydantic.
V2 will allow custom types to be much simpler. With that, you'd only need to define your logic once.

yes, but not MY code.... ;)
that sounds very nice!

😂
This is not a democracy.

And adding endless options will bloat pydantic and make it harder to maintain, so we can't add everything to pydantic.

i agree , i think validtors outside of core should be in its own package with with seperate repo which is easy for user to add more validators , without bloating the core.

This is much better supported in v2. You can now do something like:
from dataclasses import dataclass
from datetime import date
from typing import Annotated, Any

from pydantic_core import core_schema as cs

from pydantic import BaseModel
from pydantic.annotated import GetCoreSchemaHandler

@dataclass
class DateGt:
    date: date

    def __get_pydantic_core_schema__(
        self, source_type: Any, handler: GetCoreSchemaHandler
    )  -> cs.CoreSchema:
        schema = handler(source_type)
        def val(v: date) -> date:
            if not v > self.date:
                raise ValueError(f'Date should be greater than {self.date}')
            return v

        return cs.no_info_after_validator_function(
            val, schema, serialization=schema.get('serialization')
        )

class Model(BaseModel):
    dob: Annotated[date, DateGt(date(year=1900, month=1, day=1))]

Model(dob=date(year=1942, month=4, day=20))
Model(dob=date(year=1842, month=4, day=20))
"""
pydantic_core._pydantic_core.ValidationError: 1 validation error for Model
dob
  Value error, Date should be greater than 1900-01-01 [type=value_error, input_value=datetime.date(1842, 4, 20), input_type=date]
"""

In the future we may even be able to support dob: Annotated[date, Field(gt=date(year=1900, month=1, day=1))]


Add backend service principal object id

Description
For some calls to Azure AD B2C, the backend service principal object id is needed.

Codecov Report

Merging #103 (3d482bf) into main (03f5ba2) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
- Coverage   66.65%   66.62%   -0.03%
==========================================
  Files         134      134
  Lines        2408     2412       +4
  Branches      360      360
==========================================
+ Hits         1605     1607       +2
- Misses        677      679       +2
  Partials      126      126

Flag
Coverage Δ

testcommon
69.88% <100.00%> (-0.07%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...onApp.TestCommon/Configuration/AzureB2CSettings.cs
100.00% <100.00%> (ø)

...mmon/Configuration/IntegrationTestConfiguration.cs
100.00% <100.00%> (ø)

...mmon/EventHub/ListenerMock/EventHubListenerMock.cs
86.91% <0.00%> (-1.87%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


sphinx-copybutton moves when code cell scrolls horizontally

Describe the bug
In this theme, and not in Alabaster (the demo site for sphinx-copybutton), the copy button image moves when the user scrolls the code cell horizontally.
To Reproduce

Enable sphinx-copybutton
Create a code cell with long lines
Scroll

You can try it out here: https://wn.readthedocs.io/en/latest/
Expected behavior
The copy button image should stay put, as it does here: https://sphinx-copybutton.readthedocs.io/en/latest/
Screenshots

Desktop (please complete the following information):

OS: Pop!_OS 20.04 (Ubuntu derivative)
Browser: Both Firefox 83.0 and Chrome 87.0 show the same thing
Version: furo-2020.11.19b18

Smartphone (please complete the following information):

Device: iPhone7
OS: iOS14.1
Browser Safari

Additional context
Looking at the CSS, I think this has to do with the copybutton's containing div.highlight element having overflow: auto while in the Alabaster theme it's the sibling pre element that has the property.

@choldgraf @chrisjsewell Any suggestions on whether this should be accomodated for in Furo, or sphinx-copybutton?
I ask because I feel like I can't decide. ;)

Nudge to trigger a notification to Chris. ;)

@pradyunsg if you can find a fix that works on the sphinx-copybutton side then I think that'd be the most useful place for it to happen. I guess this issue is unique to Furo (at least, doesn't exist for the alabaster theme) but we can test against Furo if we implement https://github.com/executablebooks/meta/issues/199 as well

Fixed on Furo's end, in 9496d05896b417001a2d25e95034a49b840b5912. I think it's a simple-enough fix that I don't feel like we need something on sphinx-copybutton's end. :)

Noting here that this fix caused a regression: #70.


AttributeError: module 'warnings' has no attribute 'warning'

Maybe I am doing something wrong. I try to recover the observation from annData as a dataframe, and I am playing with some of the commands. This is an example.
import scanpy.api as sc
data = sc.read_text('/media/SETH_DATA/SETH_Alex/Fibroblasts.txt').T

print(data.data)

Then this error happens:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-14-1f44700b9ea5> in <module>()
----> 1 print(data.data)

~/anaconda3_6/lib/python3.6/site-packages/anndata/utils.py in new_func(*args, **kwargs)
    104         def new_func(*args, **kwargs):
    105             warnings.simplefilter('always', DeprecationWarning)  # turn off filter
--> 106             warnings.warning(
    107                 'Use {0} instead of {1}, {1} will be removed in the future.'
    108                 .format(new_name, func.__name__),

AttributeError: module 'warnings' has no attribute 'warning'

Fixed in https://github.com/theislab/anndata/commit/7b1077d5e1a63fef0d47d716d19ea14ad2ad10de

Thank you @flying-sheep!
@alexmascension, you can use adata.to_df() to convert the data matrix in adata into a dataframe.


Asset compilation chain is too complex

Asset compilation chain is as follows:
Gulp

compiles Less into CSS and copy them into place
copy fonts into place.
copy MathJax bootstrap into place.
copy images into place.
copy JavaScript utilities into place.
copy FineUploader and FineUploader S3 JavaScript files into place.

Gulp also generate part of the manifest for the CSS files.
Bower
Downloads:

jQuery
FontAwesome
DataTables
Dropit
jQuery-contextMenu
Moment.js
fontface-source-sans-pro

Leiningen
Compiles ClojureScript in web-app/src/cljs
Ansible
Ansible copy files into place and update the manifest for the Leiningen file.
The major task are the Less and ClojureScript compilation, we should be able to consolidate this and reduce production chain and dependencies.

This was fixed with the new build script.


File size limit exemption (klayout)

Dear all,
I'd like to request a file size limit exemption for a package that we are trying to upload to pypi. Due to some sort of compilation issue that I am unaware of, the linux wheels are 80.5Mb, whereas the macOS wheels are 7.7Mb. I'd like, however, to make the project available in pypi so we can have beta testers help us while we work on optimizing the package size. Indices: pypi and test-pypi
GitHub link: https://github.com/klayoutmatthias/klayout
Thank you,
Thomas

@thomaslima I've set the limit for klayout to 100MB on PyPI and TestPyPI.

Thank you!
Thomas Ferreira de Lima
tlima<EMAIL_ADDRESS>On Oct 8, 2018, at 13:08, Dustin Ingram <notifications<EMAIL_ADDRESS>wrote:
@thomaslimahttps://github.com/thomaslima I've set the limit for klayout to 100MB on PyPI and TestPyPI.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pypa/warehouse/issues/4819#issuecomment-427910460, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABCckzvtQM9uIuxbcrzqCakb2f6vM2Tgks5ui4aigaJpZM4XL7O_.


Multi Level Navigation for side menu docs(Feature request)

Hi
Thank you for this theme , its most suited for needs off all the themes I have tried.
Any how It would be great if multilevel side menu navigation is possible . As my docs tree structure is as follows .
.
├── _index.md
└── Linux
├── Guides
│   ├── Commands
│   │   ├── Archieving-Compression
│   │   │   ├── bzip2.md
│   │   │   ├── cpio.md
│   │   │   ├── dd.md
│   │   ├── Environment
│   │   │   ├── env.md
│   │   │   ├── export.md
│   │   │   ├── _index.md
│   │   │   └── printenv.md

I did try this before.
I remember this was not an easy job.
I'll try it this weekend

@kanthi Hey are you still waiting for the feature?
I finally made it.
You can reference this link https://github.com/zzossig/zzoDocs/tree/master/content/en/docs/gettingstarted
In the link, you can see the depth folders.
That is how you can make a multi-level menu.
But keep in mind that there is a limitation - You don't have to make the same filename.
All MD files should have a different filename

@kanthi Hey are you still waiting for the feature?
I finally made it.
You can reference this link https://github.com/zzossig/zzoDocs/tree/master/content/en/docs/gettingstarted
In the link, you can see the depth folders.
That is how you can make a multi-level menu.
But keep in mind that there is a limitation - You don't have to make the same filename.
All MD files should have a different filename

@zzossig Thank you for your time on this feature . I think I am ok with the limitations for my requirements . Will update soon with my experience.


Migrate to ESLint

As you might know, tslint is not going to be supported any longer. (ref: https://github.com/palantir/tslint/issues/4534)

I see, didn't know so thanks for this!
Reading a bit through, there is apparently a CLI tool for migrating the config;
Will try to include this for next release :)

Just did this commit for the migration to ESLint, not sure whether you implemented this already in any projects; if so, could you have a look and give some feedback?
https://github.com/javieraviles/node-typescript-koa-rest/commit/26f3032462b2f4a7c7649e13ef9a616362862f4e
otherwise will create a PR as it is


Add pagination under collected

Hey seems #1166 blown out pagination on the top of the collected tab.
Once you attention is there let's put layout switcher to the pagination for collections on artist as well
https://main--nftkodadot.netlify.app/rmrk/u/CdA62JpyfEyEASA5XKYJAyYZmdQPqe5X9x8MLnoTWtc9rNn?tab=collected

https://main--nftkodadot.netlify.app/rmrk/u/CdA62JpyfEyEASA5XKYJAyYZmdQPqe5X9x8MLnoTWtc9rNn?tab=collection

Please check it on sold tab as well

@yangwao I'll do this

closed in #1179


[ISSUE #448] fix netty options

The changes are complete and the boot process looks OK

Codecov Report

Merging #449 (062cf24) into develop (db42296) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             develop    #449   +/-   ##
=========================================
  Coverage       9.80%   9.80%
  Complexity       282     282
=========================================
  Files            228     228
  Lines          10785   10785
  Branches         919     919
=========================================
  Hits            1057    1057
  Misses          9633    9633
  Partials          95      95

Impacted Files
Coverage Δ

...che/eventmesh/runtime/boot/EventMeshTCPServer.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


[BUG] EVM NFT batch move page collection display issue

https://github.com/user-attachments/assets/f89eefe5-0902-41e3-a629-ed49cce9006d

This issue already fixed in ios prod version 2.1.12(8).


Find the Duplicate Number

Enter your question -
Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n] inclusive. There is only one repeated number in nums, return this repeated number.
Enter link to the question(if question belongs to any online platform) -
https://leetcode.com/problems/find-the-duplicate-number/
Tags for the question(eg - Array, Basic, Stack, etc.) -
Array,cyclic sort
@SarthakKeshari  Pls assign me this issue under hacktoberfest.

@SarveshLimaye,
Kindly add your solution to "leetcode" folder
Deadline - 03/10/2021


port: [#3967] add control property (#5943)

Fixes # 3967
#minor
Description
This PR ports the changes in [BotBuider-DotNet](https://github.com/microsoft/botbuilder-dotnet/pull/ 5943) to add the enableFromFile property in the Templates class.
Specific Changes

Added enableFromFile property in the Templates class.
Added condition for from file in customizedEvaluatorLookup method of Evaluator and Expander classes.
Added unit test for the FileOperationDisabled scenario.

Testing
This image shows the new tests passing.

Promoted to MS in PR# 4148


docs: minor improvments/fixes

Fix some typos
Fix broken references to other docs

😳 We need to review the use of misspell.

Oh, I didn't realise we used misspell in github actions. I've created https://github.com/Kuadrant/authorino/issues/415 to track this 👍


README: Fix typos in the output of the ilab model chat.

Description: README: Fix typos in the output of the ilab model chat.
The output of the ilab model chat has some issues about typo or formatting in the section Chat with the model (Optional) in the README.md at the latest commit. I fixed the following 3 points.

I believe that the prompt >>b> is wrong. Replaced it with the >>>.
The position of the │ is needed to adjust.
Maybe, the what is the capital of Canada should be the what is the capital of Canada? with the question mark ?. Because it is mentioned in the sentence "Before you start adding new skills and knowledge to your model, you can check its baseline performance by asking it a question such as what is the capital of Canada?."

You can check the modified README here.
I cannot find the issue ticket about this issue.

Checklist:

[X] Commit Message Formatting: Commit titles and messages follow guidelines in the
conventional commits.
[ ] Changelog updated with breaking and/or notable changes for the next minor release.
[X] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.

It would have been helpful to include the PR description in your commit message as well. Thank you for your contribution.

Sure. Let me update the commit message.

It would have been helpful to include the PR description in your commit message as well. Thank you for your contribution.

Sure. Let me update the commit message.

Updated the commit message adding the PR description into it on the latest rebase.


support extra parameter 'condition' on 'expression_is_true' macro

An optional parameter 'condition' can be passed to the
'expression_is_true' macro to assert the expression for all records
which meet a condition. Closes #146
Checklist

[x] My commits are related to the pull request and look clean.
[x] My SQL follows the Fishtown Analytics style guide.
[X] I have added appropriate tests and documentation to any new models.
[x] I have updated the README file.

CI failed :(
Looks like configuration stuff though: Env var required but not provided: 'CI_REDSHIFT_DBT_HOST'

Cool, thanks for making that change! This will be good to merge when the tests pass.
Side note: love your PR description.... we're going to add something like that as the default for PRs to this repo :)

Thanks :)

Merging this! Will cut a new release with this change on Monday :)
🎉


notebook moves focus to unexpected cell when the find widget is open

open a notebook
create some cells to with duplicate content
open find widget and search for something that has multiple occurrences
now, click on the last cell

the focus is moved to the first cell automatically (the first occurrence of the find string)

@MaddyDev can you take a look? If you can repro, let's move this into June

@alanrenmsft Can you share the notebook? Thanks

@MaddyDev  you should be able to create a notebook for repro pretty easy if you follow my steps. ping me directly if you can't repro it.


Cannot access kudu services for website with IP SSL (certificate and port issues)

I have an IP SSL enabled Azure website (with VIP) and am unable to access the Kudu services website without fiddling with the authentication redirect uri.

http://<mysite>.scm.azurewebsites.net redirects to https://<mysite>.scm.azurewebsites.net:20250/ which gives a connection timeout.

https://<mysite>.scm.azurewebsites.net/ gives me a certificate error.

If I ignore the certificate error it redirects me to:
https://login.windows.net/common/oauth2/authorize?response_type=id_token&redirect_uri=https%3A%2F%2F<mysite>.scm.azurewebsites.net%3A20005%2F&client_id=redacted&resource=https%3A%2F%2Fmanagement.core.windows.net%2F&scope=user_impersonation+openid&nonce=redacted&site_id=redacted&response_mode=query&state=%2F

After I log in I get:
AADSTS50011: The reply address 'https://<mysite>.scm.azurewebsites.net:20005/' is not valid.

If I open the network trace in my browser and copy the login.windows.net url and manually change the port from 20005 to 443 it continues but ends up at https://login.windows.net/common/wsfederation with a connection error.

It seems to be very confused about the port and is using the wrong SSL certificate.

If anyone runs into this, see the answer in this thread.


Make Windows bootstrap script wrapper bootstrap.ps1 accept path to config file rather than project_name, profile_name, host_id separately

At the moment, Windows bootstrap script wrapper bootstrap.ps1 takes separate arguments for  project_name, profile_name, host_id.
This complicates typing (as the file-based auto-completion is not available for separate parameters) and it is inconsistent with direct invocation of bootstrap.py (if it was on Linux).
Also, add two example scripts *.sh (for Linux) and *.cmd (for Windows) available inside bootstrap package as ready to be modified templates (instead of typing all arguments and output capture on the command line) - see deploy.md.

The script arguments format unification between Windows and Linux was merged at d984d48c98669c18ee3651ab143e49c4bd0c5385.
The last step is to provide *.sh (Linux) and *.cmd (Windows) templates to avoid excessive typing while starting bootstrap script.

The *.sh (Linux) and *.cmd (Windows) wrappers were also added at 6a2fa22df4cb2e15f116ccc6cc2a932ae449a6b5.
The task is done.


Test length command line parameter without --headless

Currently locust allows to set length for test run in command line only when --headless is defined. It would be handy if I could set everything on command line and also have webpage to see progress. (naturally this applies also to run with .conf file). In my current test environment, this would benefit me quite a lot.
So I would love to see something like this to work:
locust -users 2000 --spawn-rate 1 --run-time 1h30min
This would start locust with web interface and runs everything immediately.

Even this is now auto-closed, I certainly hope this is noted in "nice to have" feature list developers have.

Even this is now auto-closed, I certainly hope this is noted in "nice to have" feature list developers have.

I'm sorry, but no such list exists. Locust is a community effort, and unless someone cares enough about a feature to build it themselves (or is a critical issue) then it will most likely not happen...
This issue would definitely be nice to fix, so PR:s are of course welcome...


Documentation about vertex shader promotion

https://forum.babylonjs.com/t/curious-if-its-possible-to-sample-multiple-tiling-textures-from-a-single-texture-atlas-in-babylon-js/23552/23

Addressed in this PR: https://github.com/BabylonJS/Documentation/pull/663


Feature Request: CLI support for internal domains

Ask
The cf container networking team would like support for internal domains.
CAPI added support for creating internal domains in capi-release v1.61.0. The API is an extension of the shared_domain API.
Command
Current CLI Command:
cf create-shared-domain DOMAIN [--router-group ROUTER_GROUP]

Proposed CLI:
cf create-shared-domain DOMAIN [--router-group ROUTER_GROUP --internal]

If the internal flag is present, then the domain would be created as an internal domain.
If the internal flag is provided AND a router group is provided, then the CLI would error because internal domains do not support router groups.
Current CLI Output:
$ cf domains
Getting domains in org o as admin...
name                        status   type
apps.mitre.c2c.cf-app.com   shared
mitre.c2c.cf-app.com        shared
apps.internal               shared

It would be great if the list endpoint displayed if the domain was internal or not. I couldn't find any docs on what would normally be in the type column. Maybe the internal flag could go there?
Proposed CLI Output Idea 1:
$ cf domains
Getting domains in org o as admin...
name                        status     type
apps.mitre.c2c.cf-app.com   shared      -
mitre.c2c.cf-app.com        shared      -
apps.internal               shared      internal

If we can't shove internal in the type column. Maybe a new column? Doesn't look great, though.
Proposed CLI Output Idea 2:
$ cf domains
Getting domains in org o as admin...
name                        status   type    internal
apps.mitre.c2c.cf-app.com   shared    -      false
mitre.c2c.cf-app.com        shared    -      false
apps.internal               shared    -      true

CC API Endpoint Version
capi-release v1.61.0+
CF Networking Prioritization
We've been creating a lot of issues with you all to cover our current and upcoming work. I just wanted to share how we have prioritized these stories within our team.

BUG: CLI shouldn't use internal domains as the default external domain: https://github.com/cloudfoundry/cli/issues/1420
FEATURE: app to app policy within a space: https://github.com/cloudfoundry/cli/issues/1419
FEATURE: cli support for internal domains https://github.com/cloudfoundry/cli/issues/1423 (this issue)
FEATURE: support for egress policies (no issue created yet, but we will be working on this soon)

Hey @ameowlia thanks for this. Since we are already tracking the internal domain work (https://www.pivotaltracker.com/story/show/158638148), do we need this github issue as well?


theme_file_uri sage hooks interfere with add_editor_style

[x] I've read the guidelines for Contributing to Roots Projects
[x] This request isn't a duplicate of an existing issue
[x] I've read the docs and followed them (if applicable)
[x] This is not a personal support request that should be posted on the Roots Discourse community

Description
Sage uses a filter hook that strips the filename from result of add_editor_style(...) (https://github.com/roots/sage/blob/fd2a94fa1b8fa5b4767b5f0f825ec364564d0efa/resources/functions.php#L82).
The global $editor_styles is used with get_theme_file_path(...) in the Gutenberg editor (edit-form-blocks.php). get_theme_file_path(...) searches for files in stylehsheet directory ('./resources' for sage9 theme), it doesn't work with an URL, like asset_path(...) returns.
add_editor_style(asset_path('styles/main.css'));

will not work with Gutenberg editor.
But also passing the relative path ../dist/styles/main.css instead of the URL asset_path(...) returns, doesn't work because that filter hook in sage will strip the file name main.css from it and the is_file check fails.
Steps to reproduce

add_editor_style( asset_path('styles/main.css') ); is already used in setup.php
Open Gutenberg editor, notice that the main.css styles are not loaded there
Debug asset_path('styles/main.css') result, notce that it returns an URL.
Debug get_theme_file_path(...) with what asset_path('styles/main.css') returns, notice that it doesn't work with URIs.
Debug get_theme_file_path(...) with a path relative to sage9 theme root (./resources), notice that the filename from result is missing.

Expected behavior:
That the example with add_editor_style also works with Gutenberg.
That the filter hook doesn't interfere with get_theme_file_path(...).
Actual behavior:
Doesn't work with Gutenberg editor.
Inteferes with get_theme_file_path(...).
Versions
9.0.9

Should be using https://developer.wordpress.org/block-editor/developers/themes/theme-support/#enqueuing-the-editor-style
But adding add_theme_support( 'editor-styles');  dosn't help.

It is possible to use a full URL, apparently the server-side Gutenberg code downloads the theme stylesheet via HTTP(S), see https://github.com/WordPress/gutenberg/issues/19262.

In some scenarios, the server-side download doesn't work (e.g. a local environment with self-signed certs or a password-protected staging environment). This is not a great fix, but it works for now:
$editor_style = ltrim(str_replace(get_theme_file_uri(), '', asset_path('styles/main.css')), '/');
add_filter('theme_file_path', function ($path, $file) use ($editor_style) {
    if ($file === $editor_style) {
        return get_theme_file_path() . '/' . $file;
    }
    return $path;
}, 20, 2);
add_editor_style($editor_style);

@sebastianpopp: You may find this workaround interesting that rewrites the enqueued style URLs so e.g. a Docker container can download the files (which happens on server-side) from the HTTP (e.g. nginx) container:
https://github.com/WordPress/gutenberg/issues/19262#issuecomment-568047719


Many Security Vulnerabilities

Describe the bug
Compiled list:
https://privacytests.org/android.html
How to Reproduce
Use
Expected behavior
Patching
Environment
- DDG App Version:
- Device:
- OS:

660 676-6395
On Sat, Jul 8, 2023, 10:58 bastard @.***> wrote:

Describe the bug
Compiled list:
https://privacytests.org/android.html
How to Reproduce
Use
Expected behavior
Patching
Environment

DDG App Version:- Device:- OS:

—
Reply to this email directly, view it on GitHub
https://github.com/duckduckgo/Android/issues/3321, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVAGBBACG7AF3H65P4YK4UTXPF7TBANCNFSM6AAAAAA2C5NPEQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

660 676-6395

huh
Sent from Proton Mail mobile
-------- Original Message --------
On 8 Jul 2023, 17:51, damronlouise wrote:

660 676-6395
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Backgrounnd image, appealing text ,alignment and spacing & text Overlap.

The background image looks visually appealing but seems slightly busy for mobile. We might want to reduce the opacity or add a darker overlay to improve text readability on top.
Consider adding icons or visuals next to bullet points or key phrases in the About section to break up text and make it more engaging.
The feature headings ("Structured Learning," "Practical Projects," "Community Support") seem to be overlapping, making it hard to read and decreasing the clarity of the design.

Please assign me these issues  under gssoc'24 EXTENDED and hacktoberfest.

Thank you for assigning. Also could you please add Hacktoberfest label.

Yes @akansha-02

can you please assign this issue to me

@kundana29 this issue was assigned already.
But i would encourage you to look for other issues like improvement in website and then you can create new issue.


Support Route.inject() help in koin-ktor

Note: I am a Kotlin beginner
I am currently working on integrating an HTTP API using ktor, using koin-ktor. While designing my endpoints routing, I wanted to inject the dependencies at the Route level instead of Application level. Indeed, I split my Routes in seperate files, one for each resource :
api/Application.kt
fun Application.endpoints() {
    routing {
        v1()
    }
}

fun Routing.v1() {
    route("/api/v1") {
        users()
    }
}

api/v1/Users.kt
fun Route.users() {
    val usersQueryRepository: UsersQueryRepository by inject()

    get("/users") {
        val users: List<UserDto> = usersQueryRepository.list()

        call.respond(users)
    }
}

Your library implements inject() (& co.) helpers at Application level only. I was thinking about making this available at Route level.
Here is a working implementation:
inline fun <reified T> Route.inject(name: String = "") =
        kotlin.lazy { (StandAloneContext.koinContext as KoinContext).get<T>(name, emptyParameters()) }

What do you think ? I would be glad to help!

What I would rather see is the functions defined in KoinComponent to not be associated with an interface. This would remove the need for the koin-ktor project. I plan to open another issue with this request though. Kotlin actually allows you to define functions that do not belong to a class!
 This way I can call inject() anywhere I need to.
Example:
object KoinProxy : KoinComponent
...
val usersQueryRepository: UsersQueryRepository by KoinProxy.inject()
...

Something else to consider is to call startKoin() in the object's init block. E.g.
object KoinProxy : KoinComponent {
    init {
        startKoin(listOf(your_context))
    }
}

Hello @scottsteen

What I would rather see is the functions defined in KoinComponent to not be associated with an interface.

This is another issue. We'll continue here about ktor Route API integration.

For me this is not usable because the inject happens at application start and not on a http request.
I would like to create a new service at every request to that route.
For now I do the inject in every get() method instead. Is there a better way?
Maybe this is more a Ktor problem then a Koin problem.
This is the extension method I use for now:
inline fun <reified T> PipelineContext<Unit, ApplicationCall>.inject(name: String = "") =
        kotlin.lazy { (StandAloneContext.koinContext as KoinContext).get<T>(name, emptyParameters()) }

@Baresse added the extensions for Route &
Routing. will be available in 1.0.0-beta-3.


Let's not have 'Girl' in the tests

it adds no value and i'm not into it. probably not alone.

I'd be happy if the whole thing was changed so it had nothing to do with girls or bars.

Perfekt.


In developing device specific shell scripts.

Must I extract the binaries in the $PATH and use those OEM specific binaries or is it safe to assume they don't vary drastically?

Hi @jayvialv ,
Not sure I understand your question. If you're trying to get these helper scripts working, the instructions in the README should be accurate. For example, here are some snippets of what my ~/.bash_profile file looks like (I'm on a mac):
export ANDROID_HOME=$HOME/Library/Android/sdk

# The following is where I've cloned this repo
export SHELL_SCRIPTS_HOME=$HOME/dev/adb-shell-scripts
export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools/proguard/bin:$ANDROID_HOME/tools/bin:$SHELL_SCRIPTS_HOME:$ANDROID_HOME/build-tools/latest


add uninsert method

This PR adds an uninsert method.
I find the name a bit wonky tbh. Was also wondering if we should add a disconnect method to connect.py.
todos:

[x] add tests

Regarding the name: I am not a huge fan of uninsert either, but not sure about other options. Maybe we could go with delete_channel() (similar to delete_recordings())?

I like delete_channel much better! @michaeldeistler if you could have a quick look, that'd be great :)


Segmentation fault at boot

Today when rebooting my computer I was welcomed with repeated messages of "segmentation fault".
The segmentation faults start after udev, and there is a failure to mount my zpool. I know the problem isn't with zfs because I can mount my pool on one of my other installs.
I get repeated .Segmentation fault messages scrolling down the screen until it asked me if I want to press "r" to reboot.
Where should I go from here? Is my install a loss?

@johnramsden, please, observe in the repository description, that it is obsolete.


Recommended Cloud GPU Instance for Faster Load

Hi Nabeel,
We have been trying to speed up the model training time for Deep Learning demos (Keras and Prophet Multivariate). Would you be able to recommend a gpu instance with deep learning libraries pre-installed, so that we could bring down the time to reload the Keras app to less than 5 minutes?
So far, we've tried EC2 and paperspace and faced challenges setting up PyTools on Linux - is there a linux script available to initialize and run, instead of docker?
On the other hand, while choosing Windows, the apps only use cpu. Is there way to ensure that GPU is enabled on windows, for the apps to utilize it?
Thank you very much.

Hi Zerub,
I haven't tried a GPU instance for this, but there are a couple of things to note.
First, you'll need to change the PyTools initialization script to install the GPU build of Tensorflow. The script installs the CPU version by default.
The demo app trains and tests 4 different neural networks. If you want to have a quicker demo for the training, you can just set up the app to train a single network. Simply remove the unwanted models from the Estimators and Keras Architecture tables in the load script under the ML Config section.
The testing is also time consuming due to walk forward validation, so you could reduce the test data as well. The app I've provided uses 6 months of test data. You can adjust the date range in the Metrics & Predictions section of the load script.
Finally, I haven't tried installing the SSE on Linux without Docker. Is there a reason why you can't use Docker? You can simply run a single container with vanilla Docker without an orchestration tool, and it makes the setup very simple.

Thanks for the suggestions, Nabeel. We've been able to reduce the load time by selecting fewer models and trimming down the test data.


Why are 3 out of 4 descriptions of the values the same? They have different functionality.

[Enter feedback here]

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

ID: 5e9a88b1-f7e9-e4cb-6b06-4d9e11ef4e35
Version Independent ID: c9b7c384-2643-75e6-c9cd-308d3b77042f
Content: TestPermissions Property - Business Central
Content Source: dev-itpro/developer/properties/devenv-testpermissions-property.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Thanks for the feedback. We have just updated the property topic with our latest doc update. Closing this issue now.


"Add Links" modal search error

Steps

Log in to osf.io.
Navigate to one of your projects.
Under the components widget, click the "Add Links" button.
In the search field, search for the letter "A" (click Search all projects).
Many results will appear; click to one of the later pages (page 5 for instance).
Now return to the search field and search for the letter "B" (again, click Search all projects).
Notice what page of the search results you are on (still page 5).
Remain on the page you are on and in the search bar enter, "Cayley" (again, click Search all projects).
Notice the results of the search.
Search for the letter "B" again and click Search all projects.
Click back to the first page of the search results.
Now, search for "Cayley" and click Search all projects.
Notice the new results.

Expected Behavior
I expect that if I click to page 5 of the results for one search, upon entering a new search parameter, the search results will return to page 1. I also expect that when I search for "Cayley," the public project "Cayley Graphs" (one of Cailey's projects on Production) will appear.
Actual Behavior
After searching for "A" in all projects and clicking to page 5, when I enter my new search, the search results remain on page 5. This problem results in the latter problem. Searching for "Cayley" will not turn up five pages worth of results, and so the project is not revealed in search at all. When I return to page 1 of the last search results and then search again for "Cayley," I see her project and the registration of the project listed.
Screenshots
Searching for "A" in search field

Searching for "B" in search field

Searching for "Cayley" while remaining on page 5

Searching for "Cayley" after returning to page 1

Interesting ...

Same problem occurs (only displaying results for the specific page the user was last on) after the modal is exited and re-opened. The only way to fix this is to refresh the page or add a link.


Bugfix Issue #190

As described in #190 by cbou. The problem occurs in the function "loadReferenceManyCollectionOwningSide" in DocumentPersister. Each ReferenceID will cast to a String also Increment Id's.

The Problem with this is that every strategy which is not Auto will be CustomIdType. For example a uuid is cast to a int

The ClassMetadataInfo decide which type is set. I do not know if this problem occurs in other places. I just had the same problem as CBOU. I'm home now and can take a look on it on Monday. Maybe it solves the problem, when in the ClassMetadataInfo the mapping type "increment" for auto-increment set.
namespace Doctrine\ODM\MongoDB\Mapping;

use Doctrine\ODM\MongoDB\MongoDBException,
    Doctrine\ODM\MongoDB\LockException,
    ReflectionClass;

class ClassMetadataInfo implements \Doctrine\Common\Persistence\Mapping\ClassMetadata
{
    /* The Id generator types. */
    /**
* AUTO means Doctrine will automatically create a new \MongoId instance for us.
*/
    const GENERATOR_TYPE_AUTO = 1;

    /**
* INCREMENT means a separate collection is used for maintaining and incrementing id generation.
* Offers full portability.
*/
    const GENERATOR_TYPE_INCREMENT = 2;

    /**
* Map a field.
*
* @param array $mapping The mapping information.
*/
    public function mapField(array $mapping)
    {

        if (isset($mapping['id']) && $mapping['id'] === true) {
            $mapping['name'] = '_id';
            $mapping['type'] = isset($mapping['type']) ? $mapping['type'] : 'id';
            $this->identifier = $mapping['fieldName'];
            if (isset($mapping['strategy'])) {
                $generatorType = constant('Doctrine\ODM\MongoDB\Mapping\ClassMetadata::GENERATOR_TYPE_' . strtoupper($mapping['strategy']));
                if ($generatorType !== self::GENERATOR_TYPE_AUTO) {
                    $mapping['type'] = 'custom_id';
                }
                $this->generatorType = $generatorType;
                $this->generatorOptions = isset($mapping['options']) ? $mapping['options'] : array();
            }
        }
    }
}

perhaps in increment strategy is better do the cast of the @id
$doc = $dm->find('\Collection', (int)$identifier);

We need to fix all the occurrences where we do $id = (string) $id and replace it with $id = Type::getType($mapping['type'])->convertToPHPValue($id). That should fix the problem.

But I would suggest writing a test for this first so we can write a patch against that test.


Add setting to hide Update button from the main screen

Is your feature request related to a problem? Please describe.
A lot of Flipper Zero users like to tinker with the device and a lot of them end up installing a different firmware all together. Since Flipper Zero allows for easy firmware installations to begin with, it would be good idea to have a setting for the Update button on the main screen to be hidden if desired so we can prevent accidentally erasing the custom firmware.
Describe the solution you'd like
Add a setting inside the Options section to toggle a hide/unhide state of the Update button.
Describe alternatives you've considered
None
Additional context
I have not tried tapping on the Update button to see if there is a warning before it starts updating, because I don't want lose the custom firmware.

It takes a very long time to update. I don't think it is possible to ‘accidentally’ update the firmware somehow


Fix Oracle Query Failure caused by TextField on Group By Clause

Annotation in Query puts sql and description into Group By clause which fails in Oracle. In Oracle, NCLOB cannot be used in group by clause. See similar issue report:
https://code.djangoproject.com/ticket/24096
Seems like there are two solution, either .defer('sql', 'description') or using prefetch and count. Former will create several extra queries when we try to reach those attributes. Implemented approach will create 1 extra query to fetch querylog_set.
TextField cannot be nullable in Oracle.

@ahmetkucuk I'm just going over old PRs and this is quite old now - is this still relevant?

I think it is relevant because I still use the library from my own fork because of this issue.

@ahmetkucuk thanks. I don't have any access to oracle so will merge this on the basis that you're running it successfully.
However, could you please merge master back to your fork to update this PR, because there's a 0008 migration in master which looks like it'll conflict with these changes.

I updated the migrations. I didn't check if there are any new Oracle issues but I will open another PR if there is.


Add Rain Water Trapping Problem

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Added Rain water trapping problem in Java in Data Structures folder.
Fixes #297
Replace issue_no with the issue number which is fixed in this PR
Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)

Checklist:

[ ] My code follows the style guidelines(Clean Code) of this project

[ ] I have performed a self-review of my own code

[ ] I have commented my code, particularly in hard-to-understand areas

[ ] I have created a helpful and easy to understand README.md

[ ] My changes generate no new warnings

@sonalsingh25 add to the folder from where u have taken the question from and not in data structure folder


Problem: omni_httpd workers are blocking

Every HTTP worker is currently going busy when getting a new connection and a request.
This works (and having more than one worker ensures there are more workers to accept new connections), however, it negatively impacts HTTP/2 multiplexing. Once the worker is processing the request, it will not be processing other requests.
Solution: run HTTP processing event loop in a separate thread and use the primary thread for maintenance operations and executing Postgres handlers.
In addition, if there are requests in flight (defined as Postgres executing something), and the protocol is 2 or above, proxy the request back. It's not perfect as at times it is faster to wait than reprocess the query elsewhere, but we'd need a more sophisticated mechanism to handle this. Or maybe more tuning knobs.
Resolves #40

To note: this brings a bit of performance degradation as measured by, say, wrk. Approximately 20-25% slower. But it enables a very important scenario as described and paves the way to delayed HTTP responses, WebSockets, etc.
I am not giving up a hope that it can be sped up.


util::errno_to_result incorrectly handles udev functions errors.

According to the systemd 247 manpages (this, this, this, this and this), all the functions whose errors are currently being handled using the util::errno_to_result function might return both zero and positive values to indicate that the operation was successful. More specifically, in the manpages, we can read:
RETURN VALUE
       On success, [...] return an integer greater than, or
       equal to, 0.

However, the current implementation of util::errno_to_result is incorrectly assuming that the value zero is the only possible value that means that the operation has been completed successfully.
In my specific case, I've found an issue building a udev monitor using this library, because I was getting a panic when calling MonitorBuilder::match_tag, because the underlying call to udev_monitor_filter_add_match_tag was returning 1 instead of 0. However, the operation of adding this filter is successfully performed and, in fact, the monitor works flawlessly when updating the mentioned error detection condition.
So, I'd suggest to update the code of util::errno_to_result to match the specification of the functions from libudev.
Additionally, if the function can raise an error, it will return a negative value indicating the cause of the error, as stand their manpages. However, this value, in util::errno_to_result, is not being negated before passing it to std::io::Error:from_raw_os_error, so this function always return information about an unknown error. For example, if a EINVAL error occurs (error code 22), the panic I get from unwrapping the result is something like:
thread 'main' panicked at 'called Result::unwrap()on anErr value: Os { code: -22, kind: Other, message: "Unknown error -22" }', src/main.rs:45:54
... because from_raw_os_error should had received 22 instead of -22. If the error code is negated, the error is correctly identified:
thread 'main' panicked at 'called Result::unwrap()on anErr value: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }', src/main.rs:45:54

Thx for the detailed description. Fixed by 50847a58742b5e303a41e826051197b7b58278ae and published as 0.6.1.


No answer obtained

I've put an API key in hte popup.js file, but it still fails to retreive any results. Is this project discontinued?

@iitjee you have to enter OpenAI API key in backend env and API URL in chrome extension env. There is no need to update the popup.js file.

how do i run a python-based server?

To run python server specifically for Quickfix AI, you need to have Python v3.10 and Poetry installed. Then follow the steps:

Clone this Quickfix AI repository.
Build the server using make install-backend command
Update the environment variable in the /backend/.env file
Run the server using make run-backend command


[FEAT]: Create a table for the issue section with data about the issue .

Create a table for the issue section with data about the issue.
The table should have the following information:

Name of repo
Issue Link
Technology/Language used
Status ( Open/Closed)

Hello, this is for the issue section on the readme file right?

Hello, this is for the issue section on the readme file right?

Yes poorvi.

Assigned to you @poorvijn

Can I be assigned ??

Can I be assigned ??

Poorvi is already assigned and working on it. Try out other issues.

Hello, I tried creating the table and here's how it looks:

Would you like me to make some changes?

@poorvijn Great work!! That would be enough for now!

Thank you! I've created a pull request for the same, had fun doing this!

Hello, is this table supposed to be filled out with repositories good for beginners? If so, can I add my two repositories that fit the description?

@gabrysia694 No. For now I think you can add some data for sure. But The project will be soon running on an API. I dont see any point of adding that data now.

oh okay, I understand now. So maybe I'll add one beginner-friendly repository just to set an example of what it should look like.

Please go for it!! @gabrysia694

Completed!


Introduce a moratorium on training RL agents

Description
As we all know, RL is currently the leading way of creating cherry-based autonomous agents. Such AI systems pose a significant risk compared to LLMs, as they have their own objectives other than predicting the next token, and can potentially be misaligned.
We suspend the possibility to create environments for a year (with possible extensions), or until the alignment problem has been solved.
Fixes #666
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist:

[ ] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

I would like to apologize to our AI overlords for this outrageous suggestion. This was merely a joke, and in no way reflects my opinions about AI research. I, for one, welcome our new robot overlords.


Why not use mod here?

https://github.com/klauspost/reedsolomon/blob/8885f3a1c73882e6f11b766242c69a1eb8f44b28/galois.go#L898
logResult %= 255 should do the same job as this and be faster, simpler.

Mod would be used if it was logResult -= 256


Bump mink for #1187

Signed-off-by: Darren Shepherd<EMAIL_ADDRESS>Checklist

[ ] The title of this PR would make a good line in Acorn's Release Note's Changelog
[ ] The title of this PR ends with a link to the main issue being address in paranthesis, like: This is a title (#1216). Here's an example
[ ] All relevant issues are referenced in the PR description. NOTE: don't use GitHub keyworkds that auto-close issues
[ ] Commits follow contributing guidance
[ ] Automated tests added to cover the changes. If tests couldn't be added, an explanation is provided in the Verification and Testing section
[ ] Changes to user-facing functionality, API, CLI, and upgrade impacts are clearly called out in PR description

Addresses https://github.com/acorn-io/acorn/issues/1187


use node-gyp directly for pty:rebuild

the npm run install in node-pty makes an assumption as to the PATH to node-gyp. if we use node-gyp directly, this puts our devs in charge of which node-gyp to use.
this is helpful e.g. on windows where even the latest release of nodejs does not include a non-buggy node-gyp (we need 6.0.1 on windows; nodejs 12.13 includes node-gyp 5.5)

nvm


Better README usage documentation

The current README Usage section is very lacking. It currently says:

Devolay aims to be close to the original NDI SDK while still following Java standards and conventions. The vast majority of applications can be simply translated from NDI SDK calls to Devolay calls.
Examples can be found in examples/src/main/java/me/walkerknapp/devolayexamples.

This is lacking because we don't explain the exact differences between using the NDI SDK in C++ and using Devolay.
If possible, I would like to turn this into a section that can:

Introduce Devolay to users who are new to both this project and the NDI SDK in C++
Give detailed explanations for how to translate code from C++ to Java.

Additionally, it would be great if we could provide more detailed instructions or examples for integration into android projects. It's a complicated subject, and I can see many situations where there would be demand for better instructions.
(i.e., for @chenguo123456, feel free to talk about instructions for Android platforms here. I don't do support via email, but you can ask anything to be included in the documentation here)


Fix to crash condition in amd

Fixes a condition causing an assertion failure in the AMD ordering.   The issue arises when (pme1,pme2) = (0,-1), which should generate an empty range for pme1..(pme2+1), but was instead causing "add with overflow" errors.
Example that triggers this error condition is here: https://pastebin.com/qdGq83kF

looks good, thanks!


Here's what I gots

what I've done so far

There's some cleanup needed here, but for the sake of progressing us further, let's accept the PR and move forward. Thanks for the contribution.


Update bit_array_test.c

Thanks, I'll merge. The commit message might have been clearer with something along the lines of "Explicit cast of bit_indext_t calloc in bit_array_test.c".


Verify Fail Layer Decrypt Error

Seeing this error after running for a day or two every time. Anyone know? Happens on macOS and Raspberry Pi.
http://pastebin.com/J56BdKJe

I'm seeing the same too! my money is it somehow related with iOS10 as this started happening only after I upgrade

Same here. Updated to iOS 10 recently. I restarted this morning again before I left for work; should've copied the error messages and posted them but in a hurry.

Interesting, how many accessories do you have in homebridge?
Sent from my iPhone

On Sep 24, 2016, at 9:22 AM, rehafer<EMAIL_ADDRESS>wrote:
Same here. Updated to iOS 10 recently. I restarted this morning again before I left for work; should've copied the error messages and posted them but in a hurry.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

About 65-70 for me.

When you experience that error, were you trying to run a scene or something?
Sent from my iPhone

On Sep 24, 2016, at 10:25 AM, jsg4<EMAIL_ADDRESS>wrote:
About 65-70 for me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I notice that Homebridge has stopped working when I try to use the Home app and it can't find any Homebridge devices; the I VNC into the server and restart. I've never noticed it quitting while using the app. I am using Indigo with about 70 devices many of which are running on triggers or schedules.

pretty much the same here...i have no idea what causes it to crash, i have about 60 devices there but I don't even bother using Home App, I mainly use for quick access to favourite devices (9). all I can say is out of the blue they stop updating status and homebridge crash

I wonder if this is connected to the iOS 10 battery issue. I notice that Siri is using a high percentage of battery, always in the top 3

Okay... I do see this error when doing pressure test with HomeKit with a lot accessories...It appears to be random but as long as HomeKit tries to write a lot commands in the same time (aka run a scene/trigger), there is a rare chance it will corrupt the data it tries to send. not really sure why...

Using it with homeassistant, the scenes are exposed as switches so running a scene to HomeKit is only turning on one device. Would that still cause this issue?

That shouldn't ... it should only happen with large message payload.

Right but what I'm saying is I do not use HomeKit to control multiple devices at the same time, just a device every now and then. Makes it even stranger!

Huh... would you mind to run homebridge under debug mode DEBUG=* homebridge and when this occurs again, post the last few lines at here so I can figure out what's wrong...

Sure thanks man

I've noticed that my Z-wave devices tend to "poll" all at once. I'm going to start watching that in connection with Homebridge

@khaost here is latest error with logging
http://pastebin.com/bFWibcmj

It doesn't look like there is an layer decryption error here…
Sent from my iPhone

On Sep 25, 2016, at 6:05 PM, jsg4<EMAIL_ADDRESS>wrote:
@khaost here is latest error with logging
http://pastebin.com/bFWibcmj
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@khaost what about this?
http://pastebin.com/yxPTBR5k

@KhaosT
More errors here http://pastebin.com/6GSKS94L

I'm also seeing this regularly:
[10/8/2016, 7:45:49 AM] [Indigo Server - Main House] Gate: getPosition() => 0
[10/8/2016, 7:45:49 AM] [Indigo Server - Main House] Indigo request: http://<IP_ADDRESS>:8176/devices/Gate.json
[10/8/2016, 7:45:49 AM] [Indigo Server - Main House] Gate: getPosition() => 0
Verify Fail
Layer Decrypt fail!
Verify Fail
Layer Decrypt fail!
undefined:1
{"characteristics":[{"aid":59,"iid":11,"ev":true},{"aid":59,"iid":14,"ev":true},{"aid":60,"iid":11,"ev":true},{"aid":60,"iid":14,"ev":true},{"aid":61,"iid":11,"ev":true},{"aid":61,"iid":14,"ev":true},{"aid":62,"iid":11,"ev":true},{"aid":62,"iid":14,"ev":true},{"aid":63,"iid":11,"ev":true},{"aid":63,"iid":14,"ev":true},{"aid":64,"iid":11,"ev":true},{"aid":64,"iid":14,"ev":true},{"aid":65,"iid":11,"ev":true},{"aid":65,"iid":14,"ev":true},{"aid":66,"iid":11,"ev":true},{"aid":66,"iid":14,"ev":true},{"aid":67,"iid":11,"ev":true},{"aid":67,"iid":14,"ev":true},{"aid":68,"iid":11,"ev":true},{"aid":68,"iid":14,"ev":true},{"aid":69,"iid":11,"ev":true},{"aid":69,"iid":14,"ev":true},{"aid":70,"iid":11,"ev":true},{"aid":70,"iid":14,"ev":true},{"aid":71,"iid":11,"ev":true},{"aid":71,"iid":14,"ev":true},{"aid":72,"iid":11,"ev":true},{"aid":72,"iid":14,"ev":true},{"aid":73,"iid":11,"ev":true},{"aid":73,"iid":14,"ev":true},{"aid":74,"iid":11,"ev":true},{"aid":74,"iid":14,"ev":true},{"aid":75,"iid":11,"ev":true},

SyntaxError: Unexpected token

saw the same for the first time this weekend

Here's another log in case this helps
http://pastebin.com/ZV8fEFha

I'm also getting same errors, happens every now and then for no apparent reason
Name:           Living Room Yellow Light
Device:         Light/Switch,Switch
Is Switch:      true
SwitchTypeVal:  7
MQTT Message:
{
    "Battery": 255,
    "RSSI": 12,
    "dtype": "Light/Switch",
    "id": "00000A01",
    "idx": 138,
    "name": "Living Room Yellow Light",
    "nvalue": 2,
    "stype": "Switch",
    "svalue1": "49",
    "switchType": "Dimmer",
    "unit": 1
}
Verify Fail
Layer Decrypt fail!
Verify Fail
Layer Decrypt fail!
Verify Fail
Layer Decrypt fail!

I'm seeing this issue as well. I'm running on raspberry pi.  I'm running Netatmo, SmartThings and harmonyhub plugins.  Home bridge runs for a few hours then i see this error.
error at req:  getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443
error at req:  getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443
Verify Fail
Layer Decrypt fail!
Verify Fail
Layer Decrypt fail!
Verify Fail
Layer Decrypt fail!
undefined:1
{"characteristics":[{"aid":6,"iid":24,"ev":true},{"aid":6,"iid":27,"ev":true},{"aid":2,"iid":27,"ev":true},{"aid":2,"iid":30,"ev":true},{"aid":3,"iid":19,"ev":true},{"aid":3,"iid":22,"ev":true},{"aid":4,"iid":18,"ev":true},{"aid":4,"iid":21,"ev":true},{"aid":5,"iid":26,"ev":true},{"aid":5,"iid":29,"ev":true},{"aid":7,"iid":16,"ev":true},{"aid":7,"iid":19,"ev":true},{"aid":8,"iid":16,"ev":true},{"aid":8,"iid":19,"ev":true},{"aid":9,"iid":16,"ev":true},{"aid":9,"iid":19,"ev":true},{"aid":10,"iid":14,"ev":true},{"aid":10,"iid":17,"ev":true},{"aid":11,"iid":10,"ev":true},{"aid":11,"iid":13,"ev":true},{"aid":12,"iid":16,"ev":true},{"aid":12,"iid":19,"ev":true},{"aid":13,"iid":18,"ev":true},{"aid":13,"iid":21,"ev":true},{"aid":14,"iid":16,"ev":true},{"aid":14,"iid":19,"ev":true},{"aid":15,"iid":16,"ev":true},{"aid":15,"iid":19,"ev":true},{"aid":16,"iid":14,"ev":true},{"aid":16,"iid":17,"ev":t
SyntaxError: Unexpected token

It looks it always occur when HomeKit tries to write a lot of data to bridge... not really sure why though 🤔

could it be related with the log file size? I've jsut noticed mine is 560mb!

not really. This occurs when iOS tries to write to homebridge, there is nothing to do with logs.
Best Wishes,
Tian Zhang

On Nov 3, 2016, at 8:20 AM, jonferreira<EMAIL_ADDRESS>wrote:
could it be related with the log file size? I've jsut noticed mine is 560mb!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/nfarina/homebridge/issues/791#issuecomment-258173862, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpU4D5NnIb40AodpU8_SZ1z1TRy0X3vks5q6fu6gaJpZM4KEeYt.

back to square one then...I've just added a node-red flow to tail the logs and restart homebridge when this happens, should be enough while this gets sorted
best of luck!

I am seeing the same thing now.  I have 95 accessories on my cbus platform plugin
https://gist.github.com/anthonywebb/ad83426779f6d087b15b410cf9f91651
This is running on a pretty beefy mac, and spewed out when I unlocked my phone (was unlocking to the home screen, not to the "home" app).. any ideas?

@anthonywebb would you mind update homebridge to latest (v0.4.8) and when this occurs again, post the content of Packet:  at here?

I am running 0.4.8, just installed a couple hours ago @KhaosT

Okay so when this occurs again, you should see an error message + a huge chunk of data printed in your log/console. Please post that here.

@KhaosT here is the detail from my latest crash.  Man this is nasty, cant stay up for more than 10 or 15 minutes.
https://gist.github.com/anthonywebb/65505cae159f9a59535665fb3579526d

@anthonywebb thanks! this is really helpful. So the problem is the data got split into multiple packets and that's not what the program is expecting. I'll try to fix it soon.

@anthonywebb please give homebridge v0.4.9 a try and see if this issue still occurs. Thanks!

@KhaosT you seemed to have fixed this issue, I have been running solid ever since (24+ hrs), before I was crashing every 20 minutes.  Nice fix!

Glad to know. I'll close the issue for now and if you see the similar problem in the future, please open another one. Thanks!

I was having the same problem so I've updated homebridge to v0.4.9 but immediately started having the above error
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:222
      throw new Error("Cannot add a bridged Accessory with the same UUID as another bridged Accessory: " + existing.UUID);
      ^

Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 877adcba-08f0-4ed4-9f76-e5ab6e4d4938
    at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:222:13)
    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:364:24)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-edomoticz/index.js:206:41)
    at Request.self.callback (/usr/local/lib/node_modules/homebridge-edomoticz/node_modules/request/request.js:198:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-edomoticz/node_modules/request/request.js:1082:10)
    at emitOne (events.js:101:20)
    at Request.emit (events.js:188:7)

OK I got it working by temporarily remove one device but this doesn't explain why it started to happen. How is the above UUID generated? does it have anything to do with the device name?
I had 2 devices with same name and that's what seemed to be cause the above problem.

@jonferreira please contact the author of homebridge-edomoticz for this problem. The plugin is expected to provide a unique id for each accessory.

will do. please notice though that the only change I've made in weeks was the update to v0.4.9...those 2 devices have been there for as long as I remember and I've not touched anything else.
Thanks

i didn't make any changes in this area so not really sure why this is happening.

strange, I'll contact him though


[py2py3] unittest in EventAwareLumiByWork_t fails in py3

Impact of the bug
Not clear to me at the moment
Describe the bug
The unittest WMCore_t.JobSplitting_t.EventAwareLumiByWork_t.EventAwareLumiByWorkTest:testNoFileSplitNoHardLimit is failing in py3 since merging #10506
On my docker py3 env it does not fail all the times. It works from time to time. In py2 it works all the times.
UPDATE: there are two more python3 unstable unit tests in this module, and this issue should address them as well:
WMCore_t.WMBS_t.JobSplitting_t.EventAwareLumiByWork_t.EventAwareLumiByWorkTest:testHardLimitSplitting changed from success to failure
WMCore_t.WMBS_t.JobSplitting_t.EventAwareLumiByWork_t.EventAwareLumiByWorkTest:testNoFileSplitNoHardLimit changed from success to failure

How to reproduce it
run
nosetests test/python/WMCore_t/JobSplitting_t/EventAwareLumiByWork_t.py:EventAwareLumiByWorkTest.testNoFileSplitNoHardLimit

Expected behavior
Should work all the times, like in py2
Additional context and error message
Discussed in https://github.com/dmwm/WMCore/pull/10506#pullrequestreview-670088394, starting with a comment by Alan.
A traceback is available at this hidden comment: https://github.com/dmwm/WMCore/pull/10506#issuecomment-849576678

These unittests are not failing since june 10 and are not in the unstable unittest list.
@amaltaro, am I missing anything or can we really close this?

Thanks, Dario and Erik. I'm closing it then.


Added Simplify_Path.java

this is amazing @taranjotsingh23
thanks for the contribution in my repo and please share in social media and tag me on twitter


docs: fixing minor issues in timeseries pages

Describe the reason for change
The documentation pages for time series labeling contained mistakes (e.g. copy pasted descriptions that were inaccurate).
Describe implemented solutions
Two documentation pages were updated to correct the mistakes and to adjust capitalization and punctuation.

/jira create

Hi! I think these are great edits - unfortunately our tag pages have a weird workflow. To edit these, you would need edit these pages:
https://github.com/HumanSignal/label-studio/blob/0ae3a4e6c9b3fa7df945afa23a2842ecb853b196/web/libs/editor/src/tags/object/TimeSeries.jsx#L29
And
https://github.com/HumanSignal/label-studio/blob/0ae3a4e6c9b3fa7df945afa23a2842ecb853b196/web/libs/editor/src/tags/control/TimeSeriesLabels.jsx#L14

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.


STOP named_string

Since some Fortran standard you can use a named string (or concatenations of them) after the STOP statement like in the image, but this gets highlighted as an error.

Actually its not too bad because its easy to see that it's an error message, but I guess it's a bug. Having this as a feature would be nice, but maybe not in the "syntax-error color", and with regular string also highlighted in the same way.
Thanks a lot!

As for the colouring of the stop label, for consistency reasons it has to be classified under meta. for consistency with the rest of the labels. If there is some widely used theme that uses another scope for such things we are open to changing meta to whatever is need.


Hotkey Bug

Hotkeys can be pressed regardless of upgrade conditions being met. This affects the overall counters.
Fix:
Lambda lines needs to be adjusted to include conditional statement for each instance

Conditional statements included within each instance as shown in v1.0.0 commit


Add GeGLU activation and change activation type to activation config

Add GeGLU activation and change activation type to activation config for model_config.
GeGLU activation is used in diffusion model.
And GeGLU has parameters: https://paperswithcode.com/method/geglu
Change activation type to activation config in all model_configs class.
BUG=b/311216181

nice cleanup.


Spanish (CO) Translation "work-in-progress"

I've just started the translation of https://vuejs.org
I created the organization and forked the vuejs.org repo.
Organization: https://github.com/vuejs-co
Repo: https://github.com/vuejs-co/vuejs.org
Contributors are welcome!
Thank you.

Welcome!

I was just going to do this myself. I'll start contributing in my spare time.

@PierBover @yeisonvargasf there is already an ongoing spanish translation. Truth is, they started half a year ago and I saw no progress so I began doing it on my own. In two weeks I've already translated vue-router's docs and vuex's docs. The docs for Vue are a bit larger, but I have completed the entire Advanced and Migrating sections  but haven't pushed that yet. If you wanna do it on your own it's ok, but it'd be nicer to do it together.

Hey @zeratulmdq please tell me the repo you are using and I'll contribute there.

@PierBover this is the organization: es-vuejs
I've already created PRs for vue-router and vuex, but feel free to read through the translation and point out any errors you find. On monday I'll push all my work to the main Vue doc repo (I'm @ home right now), you can start from there if you want.

Thanks.
Maybe I'm missing something but I don't see any docs/es folder in vue-router or vuex.
https://github.com/es-vuejs/vue-router/tree/dev/docs
https://github.com/es-vuejs/vuex/tree/dev/docs

PRs are pending. vue-router and vuex. Both repos were forked in the organization above, as the main Vue repo.

but feel free to read through the translation and point out any errors you find

Where can I see those translations?

The PRs I pointed out earlier have all the file changes i've made. But if you prefer to read them locally, just clone the organization's repos.

But if you prefer to read them locally, just clone the organization's repos.

I'd like to fork but the repos on that organisation have no Spanish translations that I can see.

I just saw from your PRs that you are working on a different branch. D'oh.

@zeratulmdq @PierBover I'll contribute on es-vuejs, let's do this together. :+1:

I'll be making "nightly builds" with the progress. You'll see the ongoing translation here. Guide, examples and the site structure are already translated, but it's not production ready it has to be revised yet. I'm starting API tomorrow.

Closing this in favor of the more recently active #1004.


Add "View Entitlement Overrides" Page

On the entitlements page, there should be a button at the top called "View Overrides" that takes you to a page where you can view every identity who has an override for the selected entitlement type.
https://iambing.binghamton.edu/entitlements ==> https://iambing.binghamton.edu/entitlements/3/overrides

Looks good.  Marking as closed / complete


Excessive indications for prerelease extension

Testing #138068
I don't think we need multiple of these Green Dot indications. Currently there are three separate elements telling me it's a pre-release (badge, dot, button), I think just the button would be fine, especially for extensions that show up in marketplace search (the availability of a pre-release version is not a top-level concern for an extension I haven't even downloaded)

Probably the same as #138128.


[FLINK-2499] [scripts] Warning message for hosts starting multiple da…

…emons
As per the discussion on the relevant ticket adds a warning message.
I decided against the latest comment of @StephanEwen on the issue, because I have also run into (accidentally) trying to stack multiple JobManagers on the same machine and it is nice to have this warning even in that case.
This solution is a bit too verbose in test setups with a lot of TaskManagers on the same machine, but keeps the PID related code in the flink-daemon.sh.

This actually looks good.
Let's merge it and collect user feedback - whether anyone is bothered by the warnings when they start multiple TaskManager on one machine on purpose.


move sphinx to dev requirements

sphinx is not required for base functionality, it's only required for docs generation, so it has to be installed separate

Codecov Report

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

@@          Coverage Diff          @@
##           master     #1   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines         112    112
  Branches       22     22
=====================================
  Hits          112    112

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 d881b35...c97c3c1. Read the comment docs.

Hi, can anybody look at this MR?

When it's gonna be merged?


Do case insensitive check on scheme of custom Authorization callback URL.

From Wiki:
Although schemes are case-insensitive, the canonical form is lowercase and documents that specify schemes must do so with lowercase letters.

when I use a irregular scheme in callback url "Hp://xxxx", it will block me to continue login. Just want to let the code handle more unexpected case.

good!!

I see the point but as android states for their manifests intent-filters data here

Note: Scheme matching in the Android framework is case-sensitive, unlike the RFC. As a result, you should always specify schemes using lowercase letters.

So from this the schema for the callback URL that you specify should have a lowercase schema. So this isn't really an issue.

Thanks for the comments. Read the document, scheme in Android should be lowercase. I will close the pr.


use JOSM mapcss validators to define tag validations

JOSM validation tests are defined here https://josm.openstreetmap.de/browser/josm/trunk/data/validator?order=name
Investigate parsing this format in node, and executing the checks from TileReduce. The cli for this processor would take an additional argument specifying the mapcss file.

related also to https://github.com/mapbox/tile-reduce-peer-review/issues/11

To work the mapcss files in osmlint, they need to be parsed by and rules implemented in javascript. mapcss files have a funky, custom format. Here's a start of investigating this format, and recommended approach to use these files in osmlint.
The mapcss parser and execution is of course present in JOSM, but takes a lot of digging to find within a lot of Java (thanks to @aarthy for helping to investigate), but honestly does not reveal very much that is helpful work with these files in Javascript.
Straightforward tag matching examples
The mapcss file format broadly consists of a series of regular expression encoded rules on the feature type (node/way/relation), followed by conditions on the tags. When a rule condition is met, there's a warning string and classification level. There are also tests defined directly within each rule.
For example, from religion.mapcss
*[religion =~ /^(christian|jewish|muslim)$/][!denomination] {
	  throwOther: tr("religion without denomination");
	  assertMatch: "node religion=christian";
	  assertNoMatch: "node religion=christian denomination=catholic";
	  assertNoMatch: "node religion=foobar";
	}

Tests on all feature types (*), if the religion tag matches values in the regular expression ^(christian|jewish|muslim)$, and denomination is not set, !denomination, it throws an "other" level alert of religion without denomination.
And from highway.mapcss
node[highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street|pedestrian|track|path|footway|cycleway|bus_guideway|bridleway/]
[highway!=motorway_junction][highway!=services] {
	  throwWarning: tr("wrong highway tag on a node");
...
	}

Any node with a highway tag would throw a "warning" level alert, if it had any value except motorway_junction or services.
More complicated functionality we can avoid
Those above are the simple cases we'd like to work with. There are additional complexities to avoid, like
the assignment and use of variables within mapcss:
way[highway=~/^(motorway|trunk|primary|secondary|tertiary)$/] {
	  set major_road;
}

way.major_road[!ref] {
	  throwOther: tr("highway without a reference");
	  assertMatch: "way highway=primary";
	  assertNoMatch: "way highway=primary ref=123";
}

references to geometric functions:
area:closed:areaStyle ⧉ area:closed:areaStyle {
	  throwOther: tr("Overlapping Areas");
}

An Approach to MapCSS for Tag Valiation in osmlint?
There's a large body of work encoded in the mapcss rules used in JOSM, and they continue to be updated. There is value in working with this peculiar format, to take advantage of that knowledge.
Recommend approach is to only utilize the simplest tag rules, and filter out the rest. The file parser (perhaps using something like https://www.npmjs.com/package/simple-text-parser) needs to build an encoding of the rules in javascript. Each rule could take the form of an array of strings, each a rule condition, mapped to the warning string and warning level if all are matched.
To apply each rule, make a string substitution on the rule to bring in the appropriate features.properties variable to perform the regex against, and eval.

@Rub21 @geohacker ^^

@mikelmaron :  Some progress here:

I create a equivalent mapcss validator in JavaScript

e.g : mapcss --> Javascrpit
I've added feature_type: , match:  throw: as values  and a  assess  function which is  going to filter the objects. acording the values.
the equivalent for filter the objects are:
e.g :
*[religion =~ /^(christian|jewish|muslim)$/][!denomination]  = this.feature_type && this.match[val.properties.religion] && !val.properties.denomination
e.g :
*[religion=christian][denomination][denomination !~ /^(anglican|apostolic|...] = this.feature_type && this.match[val.properties.religion] && !this.nomatch[val.properties.denomination]
the validator is really faster, here the result.
I haven't used the file parser, because it made some illogical parser of mapcss, and I notice  the  parser file is not good to use in map.js
The code of religion validator  is in branch mapcss.


fix: update CSS overrides doc link

in demo app, update css overrides link to point to https://github.com/alchemyplatform/aa-sdk/blob/v4.x.x/account-kit/react/src/tailwind/types.ts#L6
will be helpful for alpha testers

PR-Codex overview
The focus of this PR is to update the link in the ExternalLink component to point to the specific line in a GitHub repository for configuring CSS.
Detailed summary

Updated the href attribute of the ExternalLink component to point to a specific GitHub repository line for CSS configuration.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

PR Title test continues to fail. abandoning and pushed fresh PR


Matrix broadcasting not working for 1x1 ∘ 1xn / nx1 matrices

Description:
When using the broadcast functionality with a 1x1 matrix and an arbitrary 1xn or nx1 matrix, we don't get a broadcasted matrix as a result but a 1x1 matrix which is the operation applied just to the first elements in the matrices.
Example:

Using the broadcast functionality with two matrices:X = [1];
Y = [1, 2, 3](1,);
print(X + Y);

Output:DenseMatrix(1x1, int64_t)
2

Expected Output:DenseMatrix(1x3, int64_t)
2 3 4

I recently came across the CUDA version of this problem. We just did not consider a 1x1 matrix as this is supposed to be a case for the EwBinaryObjSca kernel. Maybe a cast of that 1x1 to scalar is a quick fix for now?

Looking at the source code again it seems that we only support having the broadcast input on the right of the binary operation (see src/ir/daphneir/DaphneInferShapeOpInterface.cpp:710). Not changing this behavior for 0.3 anymore.


lipid-loaded macrophage

Note - please check that the term does not already exist (check OLS: https://www.ebi.ac.uk/ols/ontologies/cl)
**Preferred term label:**lipid-loaded macrophage
Synonyms
**Definition (free text, please give PubMed ID in format PMID:XXXXXX)**PMID: 16479605 - Enzymatically degraded low density lipoprotein (E-LDL) preferably binds to monocyte subsets, revealing a high expression of the LPS receptor (CD14), FcγRII (CD32), and FCγRIII (CD16a)
Parent cell type term (check the hierarchy here https://www.ebi.ac.uk/ols/ontologies/cl)::CL:0000235
What is the anatomical structure that the cell is a part of? Please check Uberon: https://www.ebi.ac.uk/ols/ontologies/uberon
Your nano-attribution (ORCID):0000-0003-2534-198X
Any additional notes or concerns

I think this would be equivalent to http://purl.obolibrary.org/obo/CL_0000517.  Maybe add lipid-loaded macrophage as a synonym


Added please alias

Taken from https://twitter.com/zzaaho/status/1160825118597292032
alias please='sudo $(fc -ln -1)'
~$ bash ./helloworld
bash: ./helloworld: permission denied
~$ please
Hello World!

Thanks for the suggestion, but I'm gonna pass on this one :)


entry.Log(logrus.FatalLevel, "fatal level") doesn't call logger.Exit(1)

I found a bug that entry.Log doesn't call logger.Exit(1).
If I call entry.Log with logrus.FatalLevel, system doesn't exit.

in entry.log only level <= PanicLevel will lead to panic

FatalLevel is bigger than PanicLevel

I mean System.Exit(1) not panic. As second picture that you attatched, FatalLevel should calls logger.Exit(1)

I mean System.Exit(1) not panic. As second picture that you attatched, FatalLevel should calls logger.Exit(1)

I have check the code，this is a demo，work as expect.

check this demo.
As I described in issue, I call entry.Log(log.FatalLevel, "fatal") but it didn't call System.Exit(1)

i read the code

call entry.Fatal this function will call entry.logger.Exit
call entry.Log, this function only panic when level <= PanicLevel,  so it with FatalLevel will not exit program.

Maybe this is by design @sirupsen
Anyway, if this is a bug, i can fix it

This is not a bug. It works as documented:
~/src/logrus$ go doc . Entry.Log
package logrus // import "github.com/sirupsen/logrus"

func (entry *Entry) Log(level Level, args ...interface{})
    Log will log a message at the level given as parameter. Warning: using Log
    at Panic or Fatal level will not respectively Panic nor Exit. For this
    behaviour Entry.Panic or Entry.Fatal should be used instead.


What is the point of the submodule android-metadata-generator?

The reason I ask is the Grunt file on line https://github.com/NativeScript/android-runtime/blob/master/gruntfile.js#L18 looks for the android-metadata-generator folder in the directory above it, not as a submodule.
So, why bother making it a submodule?   Or do we need to fix the grunt & gradle files to look in the submodule folder?
And yes, I realize we can set a env-variable; but I don't understand why the grunt file by default looks at the parent folder and not the installed sub-module.

Hello @NathanaelA ,
The grunt file is obsolete. To build the runtime, the binding generator and the metadata generator, we are using gradle. I will delete the grunt file and any old build files left over. Thank you :)

@Plamen5kov -- the Gradle file is also pointing to the parent folder:
https://github.com/NativeScript/android-runtime/blob/master/build.gradle#L4
https://github.com/NativeScript/android-runtime/blob/master/build.gradle#L23


Upgrade uuid

The new version migrated to named exports and provided more utilities.
See changelog https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md

Coverage remained the same at 94.882% when pulling 17ce3565fddcfc304424a2d76070ae37a3104352 on TrySound:upgrade-uuid into 3e4971027b2930be6843d999ed21bbd2fd3a0e9c on vpulim:master.


Linked Clone VM: disable Disk resize slider

Description
Resizing of Disks while deploying VMs that are based on Linked Clone images is technically not possible, but in Sunstone its possible to change the disk size in the "Create Virtual Machine" wizard.
Use case
Interface Changes
The "Create Virtual Machine" wizard should be changed that the disk resize slider doesn't appear or is greyed out for linked clone vms. If you do so, the vm deployment will fail.
Additional Context
I did a short screencapture to demonstrate the problem.
OpenNebula Sunstone_ Cloud Operations Center - Google Chrome 19.12.2018 09_20_39.mp4.zip

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

IMO it should be depending on the used MAD. I think that some sort of capability should be reported by the MADs and sunstone/cli should change the behaviour based on the reported capability.


Fixup OS mismatch in issue 28

Thank you! See also 93313d41e22d09536cea8471afd91e1eca6f7a64

Ooh didn't see that: https://github.com/arthuredelstein/privacytests.org/commit/69efc188131b3eb02243dc5b245e67da51e4d8c6
That would mean issue 27 is flipped too, just wasn't as obvious?


configure vscode workspace enviroment to follow the style guidelines

Fix #3
Signed-off-by: Karim Elghamry<EMAIL_ADDRESS>

I thought about it a little bit more and I agree with what you're saying. Committing the IDE workspace settings will introduce more harm than good. I will communication vscode's workspace settings locally with the team instead. Closing this PR and the corresponding issue #3. I will create an issue to add .vscode folder to the .gitignore file.


feat: refactor to use Guzzle

Obviously this doesn't have to be used, but I thought I'd create a quick example of what this package could look like using Guzzle. 👍🏻
And here's a test script you can use:
<?php

declare(strict_types=1);

use RetroAchievements\Api\RetroAchievements;

require __DIR__ . '/vendor/autoload.php';

$username = getenv('RA_API_USERNAME');
$token = getenv('RA_API_TOKEN');

$client = new RetroAchievements($username, $token);

dump($client->getGameInfo(23796));

I'd also be happy to implement PHPStan and Pint for static analysis and code style formatting (or some tests). 👍🏻

Another possibility would be to create classes representing each resource, and then we would be able to map the values into these.
This would be similar to how the JS package uses it's model interfaces.

Hi @owenvoke!
I believe @luchaos may be otherwise engaged at the moment.
My perception is all of our API packages are intended to be reference wrappers around RAWeb's endpoints, similar to api-js. I'm sure you've already looked through api-js's source code, but if not it can be found here: https://github.com/RetroAchievements/api-js

Hi @wescopeland, thanks for the details. I modelled this off of the API (and looked into the JS package previously). The changes in this PR should cover the expectations. 👍🏻
I've got no issues with waiting for feedback, I was more adding that comment as a note for myself. 👍🏻