Illegal Offset type

Hello Dennis,
I would like to use your filament package, but have some troubles to get it running.
I get always a illegal offset type from the table action and i tried so much different things. Maybe you can give me a hint.
I created a page inside my filament resource folder called "ListStopActivities.php"
<?php

namespace App\Filament\Resources\StopResource\Pages;

use App\Filament\Resources\StopResource;
use pxlrbt\FilamentActivityLog\Pages\ListActivities;

class ListStopActivities extends ListActivities
{
    protected static string $resource = StopResource::class;

}

Afterwards i added the page to the getPages method:
public static function getPages(): array
    {
        return [
            'index' => Pages\ListStops::route('/'),
            'create' => Pages\CreateStop::route('/create'),
            'edit' => Pages\EditStop::route('/{record}/edit'),
            'activities' => Pages\ListStopActivities::route('/{record}/activities'),
        ];
    }

And last i added the action to the table action array.
->actions([
                Tables\Actions\EditAction::make(),
                Tables\Actions\DeleteAction::make(),
                Tables\Actions\Action::make('activities')->url(fn ($record) => StopResource::getUrl('activities', [$record => $record])),
            ])

Maybe you have a hint?
Thanks, Armin

I get always a illegal offset type from the table action

Sounds like an issue when rendering the actual changes. Can you share the Flare url of the rror so I can have a look at it?

This is an error in the Table Action array:
WRONG:
                Tables\Actions\Action::make('activities')->url(fn ($record) => StopResource::getUrl('activities', [$record => $record])),

CORRECT:
                Tables\Actions\Action::make('activities')->url(fn ($record) => StopResource::getUrl('activities', ['record' => $record])),

It's a typo in the docs :)
All the best,
Sebastian

Thanks @skurfuerst. Took me some time to see the difference, but fixes the readme 😅 @goldjunge4 Does that fix it for you?

Closing due to inactivity


ci: Fix error in nuget package restore

Fix action error on nuget package restore step.
PR Type
What kind of change does this PR introduce?

CI/CD pipeline changes

@JasonStein Restoring via nuget.exe succeeds while msbuild fails. Looks like MS screwed up something in latest msbuild release. I have reported this issue.


Help me

Hello I need a cheapest website to buy phonenumber to create bulk accounts for hq lives can anyone give

https://hottelecom.biz/sms-number-of-canada.html

Not an issue concerning HackQ-Trivia.


remove unused code

What does this PR do?
Removes code that was supposed to be removed previously when we changed allergy clinical status mapping logic. It was either forgotten or reintroduced during merging.
Related JIRA tickets:
UPMCFHIR-343
How should this be manually tested?
Check if removal makes sense.
Background/Context:
NA
New JIRA tickets for clinical review required?
NA

So just to confirm you want to remove the effectiveTime.high based logic and put what I removed back in?


Stage1 named apps

last commit is the interesting one
https://github.com/coreos/rocket/commit/5ff80210305aa58eb126400ca0c7abdad465bcf1 this depends on was met with some resistance/criticism, but I imagine the overall spirit of the change is the general direction we're headed.  We need to use these unique app identifiers in stage1 instead of the image identifiers, particularly when we can instantiate the same image multiple times in a single container.  The naming of things may need change depending on what happens with --mounts, but I think the overall direction is correct-ish.  It seems like it was a mistake to ever allow such a tight coupling of app:image.
Travis will fail due to dependency on https://github.com/appc/spec/pull/247 for escaping type.ACName

Agree completely on the spirit of the change (and flawed nature of the coupling), but I would really really like to resolve this in upstream spec before merging in Rocket. Pods should land O(tomorrow) (and I encourage everyone to hold me to that)

https://github.com/appc/spec/pull/251

closing this in favor of the #668 positional approach, --mount can be added once #668 lands


Repo description has typo

It reads, "AirMozilla is a the video broadcasting site for the Mozilla project".
It should read, "AirMozilla is the video broadcasting site for the Mozilla project."
So, remove either the "a" or the "the". Personally, I prefer removal of the "a", so that it reads "..is the video...".

Thanks! Fixed now.


Handle neighborhood with closeopen action

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
pairs
Description
The Problem
In the documentation, it is stated that neigh_pattern is for action. With closeopen I expect it to work with closing and opening, but it only works with the latter. With symmetrical „brackets”, it is not possible to register them twice, as the second would overwrite the first.
The Context
I would like to register $ for LaTeX/Markdown, and also be able to pair it twice in the row for exposed math ($$ math $$). Therefore, I need to prevent inserting the closing pair, when the character before the cursor is $, but the pattern [^$]. is respected only while opening the first bracket. Having $|$ where | is the cursor and pressing $ results in $$| instead of $$|$$.

What I tend to suggest for this kind of scenarios is that it is more suitable for snippet engine: type $, then type $ again leading to $$ and this should be a prefix for snippet.
I don't think that behavior of neigh_pattern in closeopen() will change. I vaguely remember that the reasoning behind this design was that it can be used either for the whole closeopen() (your suggestion) or only for possible open() (current behavior). The second one proved to be more useful after a bit of testing.
I'll revisit it and see if something can be done here.

I agree that with regard to checking neigh_pattern, the current behavior may be more useful, than checking with both opening, and closing. I described expected behavior after reading the documentation, but what I would actually expect is to be able to specify different patterns for different actions, whether the brackets are symmetric or not. That is, be able to specify open action and close action separately for symmetric brackets, as it is currently possible for asymmetric ones.
When it comes to whether this is a task for paring plugin or a snippet engine, at first I thought that the difference is more subtle. Expressions as \(, \) and \{, \} in LaTeX really feel like brackets, and that is actually their purpose. On the other hand, it seems as a bracket should be just one symbol, not words or even worse, sentences. But this is the peculiarity of brackets in programming languages, perhaps because we use the fixed set of symbols.
I used to think, for a brief moment, that a snippet engine could replace pairing plugin entirely, but the functionality of just moving the cursor after typing the closing bracket proved indispensable. I believe that the difference in case for each of the technologies is whether moving the cursor after typing the closing bracket is better, i.e. more natural or faster, than jumping after it using normal mode or some special key map. In the case of ( or " it really is. Typing $$ seemed quite this way also, but perhaps you're right and this is a stretch.
Anyway, the solution as you described it would work, but the problem is with the triggering of a snippet. When the cursor is moved after typing the closing bracket, i.e. we are in the state $$|, at least my current snippet engine (LuaSnip) can't trigger the snipped. I believe it may listen for some event with regard to buffer change, but with a simple move right, nothing actually changes. Listening for events with regard to cursor moves would be expensive.
So assuming that this is a task for a snippet engine, the problem comes down to making it possible for a snippet engine to trigger a snippet after the cursor move.

... but the functionality of just moving the cursor after typing the closing bracket proved indispensable. I believe that the difference in case for each of the technologies is whether moving the cursor after typing the closing bracket is better, i.e. more natural or faster, than jumping after it using normal mode or some special key map.

I mapped <M-hjkl> in Insert mode to be identical to arrow keys and it proved really useful to get out of the auto-paired brackets. Mostly because I don't have to think which key I have to type to get out of it.

Anyway, the solution as you described it would work, but the problem is with the triggering of a snippet. When the cursor is moved after typing the closing bracket, i.e. we are in the state $$|, at least my current snippet engine (LuaSnip) can't trigger the snipped. I believe it may listen for some event with regard to buffer change, but with a simple move right, nothing actually changes. Listening for events with regard to cursor moves would be expensive.

So assuming that this is a task for a snippet engine, the problem comes down to making it possible for a snippet engine to trigger a snippet after the cursor move.

There are two things needed to make it work:

A snippet for $$ should be defined. With Lua snippets, it is defined in VSCode-like json format. Here is an entry which adds it:"math": {
  "prefix": "$$",
  "body": "$$ $0 $$",
  "description": "Insert math"
}

This should be put in some '.json' file and read by 'LuaSnip'. You can check out how I do it: there is separate directory with filetype-specific snippets which then should be loaded by 'LuaSnip' (something like this).
When you type prefix of a snippet ($$ in this case), you need to tell LuaSnip to expand it. Make a mapping for that (I use <C-l> for a slightly more complex behavior).

I've just recreated these steps and got working $$| expansion into $$ | $$.

I mapped <M-hjkl> in Insert mode to be identical to arrow keys and it proved really useful to get out of the auto-paired brackets. Mostly because I don't have to think which key I have to type to get out of it.

Thanks for the suggestion. For now, I use <C-n> for next stop in snippets and next item in auto-completion.

There are two things needed to make it work:
* A snippet for `$$` should be defined. With Lua snippets, it is defined in VSCode-like json format. Here is an entry which adds it:
  ```
  "math": {
    "prefix": "$$",
    "body": "$$ $0 $$",
    "description": "Insert math"
  }
  ```

  This should be put in some '.json' file and read by 'LuaSnip'. You can check out how I do it: there is [separate directory](https://github.com/echasnovski/nvim/tree/master/misc/snippets) with filetype-specific snippets which then should be loaded by 'LuaSnip' (something [like this](https://github.com/echasnovski/nvim/blob/master/lua/ec/configs/luasnip.lua#L5)).

* When you type prefix of a snippet (`$$` in this case), you need to tell LuaSnip to expand it. Make a mapping for that (I use [`<C-l>` for a slightly more complex behavior](https://github.com/echasnovski/nvim/blob/master/lua/ec/configs/luasnip.lua#L16)).

I've just recreated these steps and got working $$| expansion into $$ | $$.

Oh, I thought you meant auto-trigger as it would provide similar feel to pairing, almost equivalent, therefore it is kind of solution. Manual expansion loses it. Automatic expansion is much faster and comfortable. I have the following snippet, but it can't trigger automatically after move, as mentioned.
    s(
        "$$",
        fmta(
            [[
            $$
                <>
            $$
            <>
            ]],
            {
                i(1),
                i(0),
            }
        )
    ),

The first argument to s is a trigger string.
As you can see the snippet solution also lack easy choice between inline $$|$$ and block-like
$$
  |
$$

with <CR>, but that's on the side note.

Well, I still think that managing anything beyond two characters is outside of scope for 'mini.pairs'.
I'll ponder a bit about closeopen() and neigh_pattern and get back to you.

Yeah, I remembered now the reasoning behind the design of how neigh_pattern is used in closeopen(). If it is used to decided whether to do "closeopen" action at all, it will not work for situations like \|": now it moves cursor after " but if neigh_pattern is used for whole action, it will result into \"|".
Making it work with both close and open will not solve your initial problem of $|$ -> $$|$$ because closeopen() still needs some logic to decide if it should apply close or open, which will always result in jumping over $ at this open.
So I don't think the behavior of closeopen() will change. For your particular use case, manually expanded snippets seems the best choice here.

I don't think I understand the example in the first paragraph. When it comes to the second, right, that would need an additional method of deciding whether to apply opening or closing action that I didn't consider. I thought in terms of patterns behaving like exclusive disjunction, but not every pattern pair has to be this way, so it would need to be handled. Perhaps it would be as simple as defining the closing action as simply having a higher precedence, so it would somehow be backward compatible, as it appears this is the current behavior. Then I think it would solve the problem, having [^$.] for closing pattern. It wouldn't trigger in the state $|$, so the opening action would trigger, if its pattern was ...
I understand that perhaps the plugin is created under the assumption that a bracket is one character and in my opinion it is a valid assumption, but I also think that handling opening and closing characters for symmetric brackets falls in the scope. Let us assume that opening $ and closing $ is a symmetric pair in some language. The one could want to write $$This$ is an example.$|. That would start with $$|$$, went through $$This|$$ and this $$This$|$. I don't know use such a language, therefore not handling this case, justifying by assumption that a bracket is a single character, convinces me.
Either way, thank you for discussion. It was nice to consider whether the bracket should be one or more characters. 😉 But perhaps you have an idea, how I could automatically hint the snippet engine to check for a pattern after the closing move, as stated before? Listening for events related to cursor move would be expensive. I'm not sure if it is possible without modifying the plugin.

But perhaps you have an idea, how I could automatically hint the snippet engine to check for a pattern after the closing move, as stated before? Listening for events related to cursor move would be expensive. I'm not sure if it is possible without modifying the plugin.

I use this custom code to show ! as notification that I can expand some snippet. Yes, it does get called on events tracking cursor or text state, but it should be done either way if you want it to be up to date. It seems similar in spirit to what you want to do, but instead of notification you want conditional expansion.
I guess besides require('luasnip').expandable() there should be some other exported function that tells you which snippet can now be expanded. You can check if it is the one you want expanded automatically and expand.

Thanks! It directed my thoughts to the solution I think I will be happy with. 😉


⚠ Fortnite has degraded performance

In 9d4b428, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1592 ms

Resolved: Fortnite performance has improved in 0de42f4.


update related_website_sets.JSON to include new homepage www.zoom.com

sijiaZoom:sijia-zhang-Sep9

changes

f75a9c9111ae52f91e835e471ad688dc27cccf58

Hello @ratchanonsuttawas  all the above issues are resolved, do you mind help merge this change. Thanks 🙏🙏🙏

@Airborn22  do you know when this change will be deploy to the chrome browser? Thanks

It'll take up to 2 weeks for an individual Chrome installation to receive this update (reference).


Wallet is not respecting anchor mode

I'm sending a Testnet transaction to the wallet with anchorMode: 2, ie off-chain transactions/using microblocks
When I request the transaction from the API, it has anchorMode: any
In practice this transaction does not get a result until it's in an anchor block, so the API seems to be reflecting the state it is being broadcast from the wallet in
It's a bit difficult to know exactly where in the ecosystem this is breaking, but my best guess is the wallet because I can see the anchorMode option being sent by stacks.js is correct, and I can see it's incorrect as soon as I make a request to the API, and I can see that the transaction does not appear in a microblock

I have a repro here on the public testnet: https://microblocks-test.vercel.app/

Connect wallet

Click the 'Mint Tokens' button

At this point transaction options will be displayed, notice anchorMode: 2 is included:

{
  "contractAddress": "ST1RF441MG7VMFPN73DNHEH341DH7GDZW0MYD0GDY",
  ...
  "anchorMode": 2
}

Confirm the transaction

At this point the transaction ID is shown, and a request is made to the /extended/v1/tx/${transactionId} route. The response of this is shown, and will include anchorMode: any:

{
  "tx_id": "0x6e80847d6800a061a377a3a5a6e695e8293dce740bad971a5ec2f1299bee835e",
  ...,
  "anchor_mode": "any",
  "tx_status": "pending",
  ...
}

Source code is here: https://github.com/mcintyre94/microstacks-test/blob/main/src/pages/index.tsx

The fix for this has been merged into the new release branch so I'm going to close this issue and add it to the content list there.
PR: https://github.com/hirosystems/stacks-wallet-web/pull/2473


Get build number and Status

Hi,
I am using jenkins API to trigger build, I may trigger multiple build and job will be in Queue
After start job, i want to check each jobs build number and status  from jenkin object?  currently build job API not returing anything to get this info, any idea how to resolve this ?
def build_job(self, jobname, params=None):
"""
Invoke a build by job name
:param jobname: name of exist job, str
:param params: the job params, dict
:return: none
"""
self[jobname].invoke(build_params=params or {})

You can get all patterns either from examples or from tests.
Here is what you need to do:
        job_name = 'foo'
        job = self.jenkins[job_name]
        q_item = job.invoke()
        q_item.block_until_building()
        # Simple build number
        number = qq.get_build_number()
        # Build object
        build = qq.get_build()


Cockroachcloud FAQs update : add question on backup

One question we've been asked a few times is:
I have a self hosted CRDB cluster, can you please restore this to CC?
A user can do this themselves today and don't need any CC specific help. But this seems to trip up our users. We should add this to the FAQs and specify that they need a cloud bucket such as s3.
cc @rolandcrosby

@Amruta-Ranade Not sure if this is FAQ only or requires a separate section but we really should provide guidance around how to restore CC. See thread here for soe relevant convo https://cockroachlabs.slack.com/archives/C21PV4PD1/p1573057086002600

also @mberhault has opinions on what we should guide / document, so I'd get his input too.

Yep..I realized that the FAQ isn't enough and opened an issue to add a separate section: https://github.com/cockroachdb/docs/issues/5788

Addressed in https://github.com/cockroachdb/docs/pull/5824


MockDirectoryInfo.ToString() should return directory name.

I came across a weird exception message:

Could not find a part of the path 'System.IO.Abstractions.TestingHelpers.MockDirectoryInfo'.
at System.IO.Abstractions.TestingHelpers.MockFile.VerifyDirectoryExists(String path)
[...]

This is because the exception message implicitly uses MockDirectoryInfo.ToString() which isn't overriden and defaults to the type name. System.IO.DirectoryInfo.ToString() returns the directory name.
Minimal example:
const string path = "C:\\Users";

var realDirectory = new DirectoryInfo(path);
var mockDirectory = new MockDirectoryInfo(new MockFileSystem(), path);

Debug.Assert(realDirectory.ToString() == mockDirectory.ToString()); // fail

Thanks for the report! Do you think you could submit a small pull request which adds a test and fix for this?

I haven't done this before but I'll give it a try.

I think that's it. Was this the correct procedure?


Downloading miflora with Python 3

Getting an error when trying to install with python 3. The default python version on my raspberry pi was 2.7 but I changed it to 3.6 when I downloaded miflora and got an error saying you need to have python 3. However, in a python 3 environment when I try to import miflora it says 'no module miflora found' and when trying to install with pip3 which I just aliased as 'pip' I am getting the following error: Any help appreciated!

pip install miflora
Collecting miflora
Exception:
Traceback (most recent call last):
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 594, in urlopen
    chunked=chunked)
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 391, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 387, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.5/http/client.py", line 1198, in getresponse
    response.begin()
  File "/usr/lib/python3.5/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.5/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 620, in _prepare_file
    session=self.session, hashes=hashes)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 821, in unpack_url
    hashes=hashes
  File "/usr/lib/python3/dist-packages/pip/download.py", line 659, in unpack_http_url
    hashes)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 853, in _download_http_url
    stream=True,
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 386, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'

Oops I just had to rm -rf the miflora packages from /home/pi/.local/lib/python2.7/site-packages/
and install in python3.6


Automate pull request labels

This PR uses the GitHub actions/labeler to automate the process of labelling pull-requests.
For further information and reference material, also see:

actions/labeler example
GitHub Configuring and managing workflows
A curated list of awesome things related to GitHub Actions

This looks good @bjlittle   We could iterate in future to include other useful github actions.  😀


Pluralize validation errors lede

Summary
Pluralize validation errors lede

Nice! Although given this might break a bunch of test assertions, should the version bump be higher?

Not sure. Good point.
Gut feeling says that we shouldn't make it a major version bump if it is just breaking things on the dev side (i.e. tests).
Open to a good reason to the contrary though.

Did this come from a content person?  I think the existing message was designed to work for multiple errors and we were happy with that.

@TheDoubleK No, it hasn't come through content. The content already existed on whichever PR it was you were just working on, so didn't think it needed it. It's also just more grammatically correct.
Happy to get input though?

I think the pre-existing message is really old content that had been superseded by the one in the template everywhere except admin, so I'm not sure we want it any more.  I think it's fine to have the singular-style message here followed by a list, and the current message was content designed to work for one or more errors on the page.
But I might be wrong, so could be worth running by a content person.  I'm sure we're not particularly attached to the old admin message though.

Maybe I'm over thinking this and we should just do it though.

@karlchillmaid @constancecerf Do you want to give input or whether this should be pluralised or not, when we are listing multiple errors?
Example of when this might be relevant would be in the 'After' image here: https://github.com/alphagov/digitalmarketplace-admin-frontend/pull/303

No real pull from content that we should do this, so going to just close it.


Add embeddings

Add possibility to load embeddings (.bin or .pt) files to fine-tune the used model slightly without changing it.
I tried your tool with SD1.5 so far and it is really doing its job. The AUTOMATIC1111 project on github is already supporting embeddings. Maybe you could get some inspiration from it.
You already know the repo, but anyway: https://github.com/AUTOMATIC1111/stable-diffusion-webui
Keep it up!

I'll pile on to this one.  Hands down I get the best results using your solution, would love to see what textual inversion embeddings would do to already great output!

I assume this isn't that hard to do but I have not looked at it yet.   Seems like LORA might be more useful? I haven't used either.

+1 on embedding being really cool feature

Yes, provide Lora in an update. Would be a step forward !
--model-lora-path
And even 'merge' checkpoints?


WIP: Proposal for PR changes on ClusterCloudEventSource

https://github.com/kedacore/keda/pull/5816 is in the process of introducing cluster scoped version of CloudEventSource. For simpler PR review, I would like to use this to communicate better some of my ideas for potential improvements
Checklist

[ ] this is not intended to merge

Fixes #

Relates to #5816

I agree with this improvement to reduce code redundancy


Add Tokenary

Description
Tokenary Safari extension for iOS and macOS.
Checklist

[x] The version field in package.json is incremented following semantic versioning
[x] The box that allows repo maintainers to update this PR is checked
[x] I tested locally to make sure this feature/fix works
[x] This PR passes the Circle CI checks (if merging a fork run yarn with node version 12.22.7 to ensure no errors)

hey @taylorjdawson @Adamj1232, could you please take a look?

@grachyov Are you part of the Tokenary wallet team?
If so our BizDev team lead would love to connect! Feel free to shoot Shen an email at your earliest convenience<EMAIL_ADDRESS>

@Adamj1232 sure, thanks!


Processing seems to parse as resource key name ending with ".xml" [DOT 1.8.5]

Let's say in my DITA Map I have a topicref like:
 <topicref href="topics/introduction.dita" keys="process.xml"/>

The DITA OT processing shows an error message like:
[DOTX008E] File 'D:\projects\eXml\samples\dita\flowers\processing.xml' does not exist or cannot be loaded.

as if it attempted to parse the name of the key.

It's been 2.5 years since the comment that this can be closed if nobody comes forward with a fix -- given that time, and given that there is no real chance of shipping 1.8.6 at this point, I'm going to mark this one closed.


How to monitor the URL change in Custom Tabs?

Can you provide a piece of sample code of how to monitor url changes in custom tabs?
when the user init custom tab like this
 customTabsIntent.intent.setPackage(packageName);
 customTabsIntent.launchUrl(activity, uri);
launchUrl takes uri and fire the activity based on what we set up in intent.setData(uri). like this,
public void launchUrl(Activity context, Uri url) {
    intent.setData(url);
    if (startAnimationBundle != null){
        context.startActivity(intent, startAnimationBundle);
    } else {
        context.startActivity(intent);
    }
}

But how can we monitor the url changes in custom tabs?

You need to add a CustomTabsCallback when creating a new session.
Modify the CustomTabActivityHelper class to add a CustomTabsCallback
private CustomTabsCallback mCustomTabsCallback;

public void setCustomTabsCallback(CustomTabsCallback customTabsCallback) {
    mCustomTabsCallback = customTabsCallback;
}

Now, update the getSession method to pass the callback when creating a navigation session.
public CustomTabsSession getSession() {
    if (mClient == null) {
        mCustomTabsSession = null;
    } else if (mCustomTabsSession == null) {
        mCustomTabsSession = mClient.newSession(mCustomTabsCallback);
    }
    return mCustomTabsSession;
}

You will then get callbacks that will report the user navigation. Note that you will not receive the Url the user navigated to, for privacy reasons.

Thanks for the reply @andreban, If we cannot check the url changes in custom tabs, then how can we make sure we redirect user back to our native app once user finishes a certain event such a log in, checkout, transaction payment?
I have try to use OnNavigationEvent to monitor event, i only obtain some static int back indicating as "finish loaded", "start loading"..such a generic event only, which cannot help me distinguish user's behavior.

If you control the server side, you can create a custom scheme, such as myapp://path/to/callback, in your Android application, adding it as with an Intent Filter to the Activity the will handle the user after the transaction, and them have the server redirect the user to that custom scheme when the transaction is finished. Chrome will start the activity that responds to that scheme when the user is redirected.

@andreban I dont have the ability to control server. In this case all i know is once they finish the transaction, the page's url will be changed to a certain format, that is the main reason i want to detect the url change only.

In olden times the custom scheme would redirect from Chrome back to the app (assuming it was registered to the scheme) but new changes in Chromium appear to prevent this from happening without a user gesture. Are there plans for this Custom Tab implementation to allow or disallow for this sort of communication with the host app? User gesture appears to be required for now.
https://paul.kinlan.me/deep-app-linking-on-android-and-chrome/

closing, please continue at: https://code.google.com/p/chromium/issues/detail?id=543542


docs: add grpc max size to troubleshooting

Closes #1755

Can you also add a note to the methods that are the most common source of the error as well, i.e. at least insert()?

@stephenplusplus PTAL

Looks good, but I was hoping you could add a line to the actual method's JSDocs so they don't have to wait til an error to know the best practice.

Sure, I can. Do you have any other methods you'd like to add that to?

Probably just any Bigtable ones that can commonly see a lot of data. Off
hand I'm not sure of other gRPC APIs that could suffer from this, so we can
wait to see if we get reports from users who are hitting this error.
On Thu, Nov 3, 2016 at 3:16 PM Dave Gramlich<EMAIL_ADDRESS>wrote:

Sure, I can. Do you have any other methods you'd like to add that to?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1767#issuecomment-258245987,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAsIaHSO4RU0-Ga-Erk_ikfSVqhlIlTIks5q6jMhgaJpZM4KoF0k
.

Changes Unknown when pulling c537daa6775781311dac2686b5b71e74258ca7b2 on callmehiphop:grpc-max-size into ** on GoogleCloudPlatform:master**.

Changes Unknown when pulling c537daa6775781311dac2686b5b71e74258ca7b2 on callmehiphop:grpc-max-size into ** on GoogleCloudPlatform:master**.


Write parser tests

Make sure every grammar gets parsed down into the proper AST object.

Need to rewrite parser to make it testable, shouldn't take very long.

I believe we now return AST objects and should be testable. Do work on codegen branch since work needs to be done to lexer tests.

Parser tests written, this is to be the new style of mocking and testing. This exposed new bugs, fix them and change the tests for everything else to match this style.

Creating new issue, majority of tests have been re-written.


add parameter --max-epoch

This PR adds the parameter --max-epoch which override the default value and disable Early stop.
I've implemented only for sequence labelling

Hi Luca !
It seems in this PR that you consider that if max-epoch is defined, then the training must run without early stop?
However, it's not the case normally, we want to train with early stop until we reach a max epoch. I usually use it as max epoch threshold in early stop training too (to avoid training for too long). The training method for the different models implementation actually use early stop with max-epoch combined.

Yes, I though that currently, the default values with earlyStop=True are good enough because it's going to stop anyway after 20-30 iterations.
On the other hand, setting max_epoch, might indicate a clear intention on disabling the earlyStop.
I can change it that it won't set earlyStop=False but then I will have to add an additional parameter to disable the earlyStop.
What do you think?

the default values with earlyStop=True are good enough because it's going to stop anyway after 20-30 iterations.

Well not necessarily, especially if patience is set higher.

On the other hand, setting max_epoch, might indicate a clear intention on disabling the earlyStop.

Personally I rely on max-epoch with early stop to avoid training too long.

I can change it that it won't set earlyStop=False but then I will have to add an additional parameter to disable the earlyStop.

Personally I am not a fan of all these command line parameters (I prefer a config file or simply a dict somewhere, more readable), but yes that would be consistent with the training implementation.

OK, then I will decouple early stop and max_epoch.
To avoid misunderstanding I will add --early-stop true / --early-stop false to simply override the default (which depends on the model)
I agree that the number of parameters are getting a bit hard to follow.

So far I've implemented number 1, because it seems less confusing, I can change it if requested


Add stream custom filter, without using track filter.

Currently, filter stream always has the track filter set.
I just add a :filter option to use any filter and update the @spec

Thank you for your contribution ❤ ❤ ❤ .


Unexpected behavior and style on TextInput automatic focus

Description
When trying to use any type of automatic focus in the TextInput, the component has an unexpected style and behaviour.
React Native version:
System:
    OS: macOS 11.2.1
    CPU: (4) x64 Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz
    Memory: 2.59 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.19.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.8 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 12.4/12D4e - /usr/bin/xcodebuild
  Languages:
    Java: 12.0.2 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: Not Found
    react-native-macos: Not Found
    react-native-tvos:  0.63.4-0
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Launch App
Insert any text on the username TextInput
Press next button

Watch that:

The insert text does not show in the input because the colour and size of it is not correct. It should be like the attached screenshot. [1]
After pressing next the password TextInput should be focused. Instead, the username TextInput is closed and the screen is presented. [2]

Expected Results

User launches the app;
Username TextInput is automatically focused;
The user inserts the text in the input;
The inserted text shows with the correct TextInput style;
The user presses the next button;
The password TextInput is automatically focused;

Actual Results

User launches the app;
Username TextInput is automatically focused;
The user inserts the text in the input;
The inserted text does not show with the correct TextInput style; [1]
The user presses the next button;
The Username TextInput is closed and the app screen is presented; [2]

Adicional information

I tried different methods of automatic focus in the TextInput. I tried with the autoFocus flag on the TextInput component and tried to use the setNativeProps. The result is the same.
If I disabled the automatic focus on the username TextInput the style is correct and the expected behaviour accours.
If after step 6 in the current result flow, select the username TextInput again, the text style will be correct and the expected behaviour will occur. [3]

Snack, code example, screenshot, or link to a repository:
https://github.com/kech37/react-native-tvos-auto-focus-test
Attachements
[1]

[2]

[3]

I looked into this today, and found the following:

The autofocus does not work on tvOS -- very likely it is interfering with the tvOS focus engine.  I tried a hack to use the code that implements hasTVPreferredFocus on regular focusable views, but that does not work.  My advice would be to not use autofocus on tvOS for now.
The TextInput styling issues are discussed in #22

I looked into this today, and found the following:

The autofocus does not work on tvOS -- very likely it is interfering with the tvOS focus engine.  I tried a hack to use the code that implements hasTVPreferredFocus on regular focusable views, but that does not work.  My advice would be to not use autofocus on tvOS for now.
The TextInput styling issues are discussed in #22

Thank you for the feedback


Scrolling doesn't work

After enabling the theme, I can't scroll in my notes anymore.
I am running the newest version of Obsidian on macOS.

Do you have native scrollbars enabled on your system?

I don't know if that's what you mean, but I've tried all those settings in the macOS preferences application if you mean that, but they don't seem to have an influence on the problem.
Interestingly, I am able to "fix" this problem and restore my ability to scroll by disabling "WYSIWYG Effect" in the theme's settings. I don't really care about this setting anyway, so I will just keep it disabled, but that seems to be where the culprit is.

Hmmm, but I just noticed that if I turn off WYSIWYG Effect, empty lines are not shown, which is pretty weird.
The screenshots below show the same note.
WYSIWYG Effect off:
WYSIWYG Effect on:
(the off version is how I would expect it to show the note, and how other themes show it)

Hello,
have you any updates about this?
your theme is the best that I found according to my requirements  but this issue is very annoying  :(
greetings!

I just updated the theme a few minutes ago, and the scrolling should now be fixed. Sorry about the wait! At this point, I have like, five different themes, so it's getting kind of hard to keep track of all of them.
Anyway, enjoy the update 🙂


[refactor] Convert unittests to pytest syntax

Use pytest syntax and pytest functions for skipping/failing.

Small fix in ScopedDict tests.

Fixes #1149

@teojgo Why addresses and not fixes the issue?

Codecov Report

Merging #1188 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1188      +/-   ##
==========================================
+ Coverage   92.14%   92.14%   +<.01%
==========================================
  Files          81       81
  Lines       11930    11933       +3
==========================================
+ Hits        10993    10996       +3
  Misses        937      937

Impacted Files
Coverage Δ

unittests/test_buildsystems.py
99.16% <ø> (ø)
:arrow_up:

reframe/core/runtime.py
89.69% <ø> (ø)
:arrow_up:

unittests/resources/checks/frontend_checks.py
99.21% <ø> (ø)
:arrow_up:

reframe/core/launchers/registry.py
85% <ø> (ø)
:arrow_up:

unittests/resources/checks/bad/noentry.py
80% <ø> (ø)
:arrow_up:

reframe/core/fields.py
98.94% <ø> (ø)
:arrow_up:

reframe/utility/os_ext.py
91% <ø> (ø)
:arrow_up:

reframe/frontend/dependency.py
96.77% <ø> (ø)
:arrow_up:

unittests/resources/settings.py
100% <ø> (ø)
:arrow_up:

reframe/core/meta.py
100% <ø> (ø)
:arrow_up:

... and 71 more

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 5979c83...7431e26. Read the comment docs.

@teojgo Please also fix the conflicts with the current master.

Hello @teojgo, Thank you for updating!

In the file unittests/test_fields.py:

Line 122:1: W293 blank line contains whitespace
Line 128:1: W293 blank line contains whitespace
Line 134:1: W293 blank line contains whitespace
Line 137:1: W293 blank line contains whitespace

In the file unittests/test_versioning.py:

Line 20:39: E701 multiple statements on one line (colon)
Line 22:39: E701 multiple statements on one line (colon)
Line 24:39: E701 multiple statements on one line (colon)
Line 26:39: E701 multiple statements on one line (colon)
Line 28:39: E701 multiple statements on one line (colon)
Line 30:39: E701 multiple statements on one line (colon)
Line 54:39: E701 multiple statements on one line (colon)
Line 56:39: E701 multiple statements on one line (colon)
Line 58:39: E701 multiple statements on one line (colon)
Line 60:39: E701 multiple statements on one line (colon)
Line 62:39: E701 multiple statements on one line (colon)
Line 64:39: E701 multiple statements on one line (colon)
Line 66:39: E701 multiple statements on one line (colon)
Line 68:39: E701 multiple statements on one line (colon)

Do see the ReFrame Coding Style Guide

@teojgo Apparently, PEP8 does not like the with Foo: do_sth() syntax. So let's revert back. Sorry for that.

@teojgo There are still some PEP8 issues. As soon as you fix them, we can merge this PR.

@teojgo There are still some PEP8 issues. As soon as you fix them, we can merge this PR.

@varak they are fixed but it seems pep8speaks has not taken the update into account


www: fix debian postinst script

The regexp that extracts the username assumed that the username always
contain a '@' character, like web-user@local. It would fail hard if it
didn't.
Fixes #775.

:+1:


Issues/615 cwl secondary files

Fix bugs to get back to baseline functionality.  Passes cwl tests running in in local execution mode.

Jenkins, test this please.

Tests pass but branch needs rebasing?

Rebased


Ready replicates jobs status

What would you like to be added:
ReplicatedJobsStatus.ReadyJobs should be added and updated in JobSet statu..
Why is this needed:
We need to store and update numbers of JobsReady for each ReplicatedJob in Jobset status to operate with them in Kueue.
Issue Number:
https://github.com/kubernetes-sigs/jobset/issues/134

/ok-to-test

/retest

/label tide/merge-method-squash
/approve
/lgtm


Provide configuration option for inviting guests from guest tenancy

ESUP has reported that they would like to prevent users on the guests tenancy from inviting new guests.

Is this just for the guests tenancy or would specific tenants also like to disable inviting guests?

I think this still needs a bit more analysis. They probably also want the network tenant to be invitiation-only, then. Right?

Also, why shouldn't someone from the guest tenant be able to share with an email that is associated with a tenant they are collaborating with?

@dooremont : there are a number of questions around this feature:

Do you want people to be able to sign up to the guest tenant themselves or should it be invitation only?
Why shouldn't a user from the guest tenant be able to share with an email addresses associated with a proper tenant?

Do you want people to be able to sign up to the guest tenant themselves
or should it be invitation only?
I prefer that people can not sign up to the guest to taking Themselves
Why shouldn't a user from the guest tenant be able to share with an email addresses associated with a proper tenant?
I think there is a security problem, I do not prefer that people of the guest tenant can launch an invitation. For not to have the whole world belongs "to the guest tenant" ;-)

Why shouldn't a user from the guest tenant be able to share with an email addresses associated with a proper tenant?
Not sure it is necessary but I would add to Fred's answer that people of the guest tenant should still be able to invite existing people or people (even if they don't exist yet) from "real" tenants (by checking the e-mail domain)... But they should be not able to invite other "guests" on the "guest tenant" otherwise, like Fred said, everyone with a valid e-mail will be able to have an account on the guest tenant (as long as they know someone with one) and this is something we definitely don't want.

@matguerin
thanks for the add ;-)

Assigning to @mrvisser for fix

Hi Nicolaas
Great News
Thank a lot
Kind regards
Frédéric Dooremont

Le 27 oct. 2015 à 03:17, Nicolaas Matthijs<EMAIL_ADDRESS>a écrit :
Assigning to @mrvisser for fix
—
Reply to this email directly or view it on GitHub.

This was implemented at https://github.com/oaeproject/Hilary/pull/1277


[libxslt] Fixed macos build

Fixed missing libiconv library on osx build
Describe the pull request

What does your PR fix? Fixes # https://github.com/microsoft/vcpkg/issues/15795

Which triplets are supported/not supported? Have you updated the CI baseline? I updated only portfile.cmake

Does your PR follow the maintainer guide? yes

Thanks!

Thanks!

Although I fixed the uwp build (by adding library Kernel32.lib and runtimeobject.lib to the LIBS in win32/Makefile.msvc), but libxslt still have some other issues:
-- Performing post-build validation
The following DLLs do not have the App Container bit set:

    F:/vcpkg/packages/libxslt_x64-uwp/debug/bin/libexslt.dll
    F:/vcpkg/packages/libxslt_x64-uwp/debug/bin/libxslt.dll
    F:/vcpkg/packages/libxslt_x64-uwp/bin/libexslt.dll
    F:/vcpkg/packages/libxslt_x64-uwp/bin/libxslt.dll

This bit is required for Windows Store apps.

So I think the upstream doesn't support uwp.

Although I fixed the uwp build (by adding library Kernel32.lib and runtimeobject.lib to the LIBS in win32/Makefile.msvc), but libxslt still have some other issues:
-- Performing post-build validation
The following DLLs do not have the App Container bit set:

    F:/vcpkg/packages/libxslt_x64-uwp/debug/bin/libexslt.dll
    F:/vcpkg/packages/libxslt_x64-uwp/debug/bin/libxslt.dll
    F:/vcpkg/packages/libxslt_x64-uwp/bin/libexslt.dll
    F:/vcpkg/packages/libxslt_x64-uwp/bin/libxslt.dll

This bit is required for Windows Store apps.

So I think the upstream doesn't support uwp.

Nice! Thank you for this!

Nice! Thank you for this!


feat: merge compliance and security dashboard + added ARW fields

These Tasks would be covered here:

[x] Merge Compliance dashboard to Security dashboard
[x] Add Info details in Compliance dashboard regarding this change
[x] Add snapshot policy field
[x] Add snapshot autodelete field
[x] Add SVM configured for ARW
[x] Add Volumes monitored by ARW
[x] Add Column as Learning mode completed and switch to Active mode
[x]  Add cluster notification/Auto update REST call
[x] Add cluster notification/Auto update ZAPI call
[ ] UI enhancement

Security dashboard:

Compliance dashboard:

Good to add panel column descriptions where applicable for this dashboard.

It's about 20 columns now in this panel, trying to accommodate them with less wording. Update it in next commit.


Fields wont move below shipping details

Hi again,
Thank you for your help last time (punch creative).
I can't seem to get the form to move below the shipping details, even after trying the position reference you helped someone with previously.

Ignore this issue please, it works on everything apart from the custom one page checkout included in a purchased theme. Thanks though


StrimziKafkaCluster builder

This PR adds flexibility to StrimziKafkaCluster by adapting the Builder pattern. With such change we will easily extend such class adding more parameters. Solves #84.

I think the builder pattern is useful. But by removing the original constructors, you are breaking the compatibility. Is that wise / intended? Should we keep them in some way?

Hmmm, I was thinking about it but adding more and more constructors would end up with a lot of constructors. Maybe a less aggressive way would be having both (but @Deprecate constructors)?

I think deprecating them would be fine. The question is if you can combine both the deprecated constructors and the builders to allow users to transition smoothly.

I think deprecating them would be fine. The question is if you can combine both the deprecated constructors and the builders to allow users to transition smoothly.

Yeah, it would be okay I think. It would be a matter of extracting the same code into methods so we don't end up with repetitive code. I will update this PR ten :)


[Feature Request]: Keycloak Support

Description
Hello,
Lucia looks like a great auth Framework and I would like to use it in our projects.
I am requesting Keycloak Support. I would love to see it in Lucia 👍.
What it also needs:

Support for extracting Roles and caching them in Database
Possibility to use refresh_tokens and retrieve new pair of tokens

One possible Flow for this could look like this:

If it helps I could provide an Keycloak Instance or an ready to go docker-compose.yml for quick installation for testing purposes.
Btw.: supporting these would make it a minor step to support other providers like Authentik and Authelia

#1165

Resolved with #1165

Btw.: supporting these would make it a minor step to support other providers like Authentik and Authelia
Authentik support would be great!


[Rule Idea] Add a rule which remove automatically unneeded postgresql schema migrations

There is an issue in doctrine migration which add some unexpected schema migrations in the down migration: https://github.com/doctrine/dbal/issues/1110:
In my project it did contain the follwing:

        $this->addSql('CREATE SCHEMA metric_helpers');
        $this->addSql('CREATE SCHEMA user_management');
        $this->addSql('CREATE SCHEMA public');

Think rector could be used to make sure this addSql never exists.

This sounds like a valid idea! Feel free to send PR with such a rule :+1:
Closing as accepted to avoid keep issue tracker focus on unclear issues that needs our attention.


List the PackageIdentifier of the package to be added to automation
Alibaba.aDrive
Details about the application

Get the prefix from https://stg.aliyundrive.com/desktop/version/update.json https://www.aliyundrive.com/desktop/version/update.json.
Bind the prefix with /win32/ia32/latest.yml to get the update file. e.g. https://g.alicdn.com/aliyun-drive-fe/aliyun-drive-desktop-version/0.0.21/win32/ia32/latest.yml

Although there is a URL inside, I still recommend you to use https://yunpan.aliyun.com/downloads/apps/desktop/aDrive-$($version).exe as InstallerUrl.

https://stg.aliyundrive.com/desktop/version/update.json is also not updated.
https://g.alicdn.com/aliyun-drive-fe/aliyun-drive-desktop-version/$($x)/win32/ia32/latest.yml where $x can be upto 0.0.18. Prefix URL still shows 0.0.14.

No idea. That is how their code for updating works.
Besides, although the latest version on their homepage is 2.2.8, 2.2.9 is also available for download. Maybe it is a beta version and hasn't been published yet.

https://www.aliyundrive.com/desktop/version/update.json
Use this for prefix instead.

This seems to be updated👍🏻

It is now suggested to use the url given by the source for InstallerUrl instead of the present one.
Start from 3.0.0, the publisher sometimes release a 'repack' version like 3.0.0-repack.2, which can be seen in the prefix url. While the installer from the given url (e.g. https://tongyongxiezuo.oss-cn-zhangjiakou.aliyuncs.com/desktop/aDrive-desktop/3.0.0/update/win32/ia32/aDrive-3.0.0.exe) got updated, the one we are using now didn't.

I don't understand what you mean to say 🤷♂

Use the original one
https://tongyongxiezuo.oss-cn-zhangjiakou.aliyuncs.com/desktop/aDrive-desktop/3.0.0/update/win32/ia32/aDrive-3.0.0.exe
instead of
https://yunpan.aliyun.com/downloads/apps/desktop/aDrive-3.0.0.exe
bacause the publisher doesn't push same-version updates to the latter one.

OK here. Maybe it is a temporary network issue.

Can you please clone the repository and run the command from tools directory?
.\Test-Package.ps1 Alibaba.aDrive

Weird, the script doesn't print anything before I enter y/n.

No, I can view the website but PowerShell has issues with it.


Removed configuration with AWS credentials section

Removed section "Configure containers to use AWS credentials" on AWS Kubeflow Pipelines page as per dev team request.

/lgtm


Disabled context menu items for unsaved files

Fixes #11763

Have you checked what other editors do in these cases?
In general you need some jsdocs.
@petetnt @zaggino could someone of you review?

Thanks for this great PR @mansimarkaur! Tested against latest master and it works great.
Could you add few small pieces of JSDoc for the new methods and maybe simple unit test for the functionality? (it should disable context menu items when not present and it should not disable context menu items when present)
👍

@petetnt  sure, I'll add the required changes.

@petetnt Could you please help me with the tests? I was thinking of adding tests in the test/Menu-test.js file. Please let me know if it's right?

@mansimarkaur test/Menu-test.js sounds like a good place.
Any specific things you need help with the tests? The structure should could be something like:
it("it should disable context menu items when file doesn't exist ", function () {
  // runs create a new file
  // opens context menu
  // checks that all the items are disabled
})

it("it should disable context menu items when file doesn't exist ", function () {
  // runs create a new file
  // opens context menu
  // checks that all the items are disabled
})

it("it should enable context menu items when file does exist ", function () {
  // runs create a new file and saves it
  // opens context menu
  // checks that all the items are enabled
})

For example check DocumentCommandHandlers tests to see how the working set can be manipulated.

+1 big idea!

This needs more work. Closing for now.

LGTM sans tests, merging this and will open another issue for the tests as per https://github.com/adobe/brackets/issues/11763#issuecomment-283425634
Thanks for this great contribution @mansimarkaur and sorry for taking so long!
PS: did this test totally flake? https://travis-ci.org/adobe/brackets/builds/206719157 CLA checked manually just in case.


Quick question about pattern detection training

I'm looking to train a few models using Tensorflow, let's say (I'm not sure yet) for more candlestick patterns. Could you please let me know from your experience, how many examples of each chart pattern I would need for the model to work accurate enough? 10? 100? 1000? 10000? You see where this is going 😆

Candlestick patterns has clear logic to identify, so it would be better to find candlestick patterns in traditional programming. I am assuming you are trying to identify chart patterns which is complicated, I used to get good results with tens of thousands of patterns, I mostly used a combination of synthetic and organic data. Getting the organic data is the key for accurate prediction which is very difficult


Makes PCF an uniform instead of a Define

Allow dynamic changes without recompilation

I confirm it's tested.
but needs the corresponding PR to be taken advantage of.


Where to add to GraphQL Yoga ?

Hi,
I recently moved over to Graphql yoga and I am using typescript.
Currently starting my server like so
const server = new GraphQLServer({
  typeDefs: this.typeDefs,
  resolvers: shieldedResolvers as any
});

which works great. So now I want to add the formatErros into the mix. Although I am unsure what it is..
These are the props that I have that are taken from the contructor.
    constructor(props: Props);
export interface Props {
    directiveResolvers?: IDirectiveResolvers<any, any>;
    schemaDirectives?: {
        [name: string]: typeof SchemaDirectiveVisitor;
    };
    typeDefs?: ITypeDefinitions;
    resolvers?: IResolvers;
    resolverValidationOptions?: IResolverValidationOptions;
    schema?: GraphQLSchema;
    context?: Context | ContextCallback;
    mocks?: IMocks;
    middlewares?: IFieldMiddleware[];
}

Of course its not typeDefs, Resolvers, I did try middleware but it didn't work.
Anyone have any ideas ?

sorry added to wrong repo


feat: implemented trade success ui for multi-hop trades

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #5639   👈

This stack of pull requests is managed by Graphite.


Revert "print peer port in http log"

Overview
This reverts commit 139ac9c05148b4c97c848bbe8d4d5abdf8e7fff5.
I, very belatedly, realised this breaks the X-Forwarded-For feature from mochiweb. That's more important than the port number. Reverting for now but will attempt again later (but without altering peer value).
Testing recommendations
N/A
Related Issues or Pull Requests

Checklist

[x] Code is written and works correctly
[ ] Changes are covered by tests
[ ] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[ ] Documentation changes were made in the src/docs folder
[ ] Documentation changes were backported (separated PR) to affected branches

(this was part of the squashed "import nouveau" pull request)

One aspect is that the previously we handled the IPv6 address format {O1, O2, O3, O4, O5, O6, O7, O8} and we'd be losing that.
At some point in the future that might make a nice addition to upstream Mochiweb perhaps:
https://github.com/mochi/mochiweb/blob/main/src/mochiweb_request.erl#L165-L207

{ok, {Addr, _Port}} -> inet_parse:ntoa(Addr); handles the ipv6 path, though it obviously doesn't handle x-forwarded-for for that case.


[scripts-audit] vcpkg_from_*

This PR goes through the vcpkg_from_* functions and brings them in line with the script audit (while also making them far easier to read and much DRY-er, imo)
See issue #17691
This PR should likely be reviewed a commit at a time; or at least the first commit alone, the next three commits together, and then the latter two separately.


fixing project template bug

Bug
In the New Project dialog, select a template, and then click on the template name again. It’ll select the ActionBar template.
Status
Fixed.
Enhancement
Double_tap on the template name to open it.

@kiok46 thanks, great work :+1:

@aron-bordin  :)


docs: fix contributing guide

Remove missing docs link in contributing guide.
A more detailed build doc will be added at a later time.
Description

Motivation and Context

Regression

How Has This Been Tested?

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added unit tests to cover my changes.

bors merge

bors merge


Fix the loop call onChange

@piecyk Because the PR span is very long, I forgot some details.

Since core is also beta at present, changes are relatively frequent, and I will not add tests in the near future.

Since core is also beta at present, changes are relatively frequent, and I will not add tests in the near future.

I think we are pretty close to stable release, also without test we don't know if changes in core broke something in svelte adapter 🤷♂ Was thinking on something simple, like test that the list is rendered.

Since core is also beta at present, changes are relatively frequent, and I will not add tests in the near future.

I think we are pretty close to stable release, also without test we don't know if changes in core broke something in svelte adapter 🤷♂ Was thinking on something simple, like test that the list is rendered.

Actually the svelte, react, vue version is very simple, if the core code already has test code to ensure stability, most of the time is stable, if the core code is already a stable version, I will consider add test code to the svelte code.


X64 Mac users are getting "Error: Cannot find module '@libsql/darwin-x64'"

Hi folks,
I'm bundling LibSQL inside Beekeeper Studio. It works fine on Mac M1, Linux, Windows, but does NOT seem to work on Intel Macs. Here's my user report
All my other native modules work, but for some reason @libsql/darwin-x64 is not getting bundled.
Seems like someone else had this issue in the past but it was not officially resolved.
Hoping you can direct me to the right way to fix this? I don't really know what else to do tbh.

@rathboma The package does exist and is up-to-date: https://www.npmjs.com/package/@libsql/darwin-x64?activeTab=versions There's nothing specific about the Darwin/x64 build either... 🤔

Hey, I did some tests and it might be an electron-builder quirk, not sure. This is the deal:

We build Mac packages on a ARM64 M1 machine, we build for both architectures simultaneously.

Builds made in this way are not working on x86_64 machines with libsql.

SQLite, Oracle, and other libs with native dependencies do package themselves just fine with this set-up. So there's potentially something a little different about how y'all are handling native deps for Mac.

If I build directly on a x86_64 mac, the build works fine.

Could it be that darwin-x64 is only installed when running on an intel mac, vs any mac?

Did you build the previous version differently? That was working fine..

@HameArm the previous version didn't include LibSQL. This is a new problem exclusively on LibSQL.
@penberg Can you point me to where @libsql/darwin-x64 gets used? Maybe I need to explicitly include it or something?

It's August 12 and still getting this error, had to revert to v0.3.4.
Any updates?


Parallelize execution of rolling updates

Have a thread pool of 5 threads which we use to run the rolling update step
for each deployment group. Hopefully this speeds things up a bit.

assuming tests pass, :+1:

@gimaker Want to take a look as well? I think you know Java stuff better than either of us.


Use mkdocs and GitHub actions to generate a GH-Pages

Hey @eladb, I loved the approach here. I create the Awesome AWS workshops and use it with Mkdocs to generate the site after each PR. Would you like me to create a PR for that?

Yes please!


Generate a class containing the current OTel version at build time

Hello, good day. I stormed on the project via MLHhackathon. I noticed the label Target Spring Monitor. please throw more light on that, and correct me if I am wrong, is it a class which we use spring boot monitor tools like Spring Boot Actuator to monitor the current OTEL version?


Documentation re localhost port

I tried port 3000, but the app would not work at all. I then tried 3010, and it would do almost everything...except it would fail with a 403 error when trying to get the model derivative to view.
After much pottering, I tried a different port. Voila.
Please add something like this to the troubleshooting documentation:
If you get a 403 error, consider changing your port.
In this app, you need to change it in 4 places:

In the callback path of your Forge app.
In the 'cloud' project, right-click, Properties, Web tab, Project Url.
Your Web.Keys.config file.
app.config in the 'desktop' project.

Oh, and maybe mention that MongoDB requires port 27017 to be open (in company firewall etc).


Returning versions temporarily as equal value to originator

Hello,
Just thought i'd post this here to see if anyone had any ideas on how I could solve the issue posted here: http://community.sitepoint.com/t/papertrail-and-its-versions/113200/4

Just wondering if anyone was able to help with this issue?  I know it's kind of an odd use case but it would be excellent if this was possible.

Ok took a look through your thread there. Had a couple ideas.

Unfortunatley I can't use what you posted as I need to be able to chain further query commands onto it in order to sort or limit the returned results

If you wanted to compose a collection of the current version AND the associated versions, you could always put them in a Ruby collection and run ruby sorts and limits.  Depending on how much data you are dealing with this may or may not work for you (probably not for very large data sets).  Ruby has the Enumerable#sort, Enumerable#select, Enumerable#grep and loads of other methods for sorting and limiting / reducing scope for collections that you could probably employ to massage data into sorts you want.
If your data sets are too large and you don't feel that is feasible, you could always look into doing some sort of a mechanism where after every update to a model you are tracking, you have it automatically generate a new version (even though this kind of goes against the idea of the PaperTrail core attitude of "we don't need to store the current version since it already exists on the source model itself", but it would cause all of the data to be in the versions association you're looking for.
Alternatively you could do the sorting and limiting queries you need to against the model's versions association and then after doing that just use a couple of conditionals to figure out whether the source model (current version) should be attached to the existing collection you have. This seems like the ideal middle ground IMO since you get the optimization of querying against your database and then only need to use ruby logic to make a few checks at the end to determine if the source model matches the criteria of your collection? (although maybe that doesn't solve the sorting issue..)
Lastly you might consider that perhaps PaperTrail is not the tool for the job.  I'm not an expert but I know there are plenty of other ActiveRecord versioning libraries out there in the Ruby community.  And if you can't find one that works to your liking / suits your needs you can always roll your own solution and just manually handle data tracking by storing all the versioned data / old state for models in the same table that can be queried and joined together by matching all of the data sets that apply to the same object to a key of sorts on one of the columns or something like that?
Hope this is helpful, if you have any questions I'm happy to try to answer.  Good luck!

Hey, Thanks for your comments. I'll give each of those some thought.
I'm thinking that building a temporary collection including the normal Model's and Versions may do the trick.
I basically have an index page and want to add a filter that allows a user to include Versions or not. At the moment I have around 1-15 versions so it's not that many and this number will increase very rarely anyway.
I'll have a play around and see what I can come up with. I'll post back my solution here but unsure when that will be as this is only a side project.

@batter Would you please be able to expand on this comment:
"Alternatively you could do the sorting and limiting queries you need to against the model's versions association and then after doing that just use a couple of conditionals to figure out whether the source model (current version) should be attached to the existing collection you have. This seems like the ideal middle ground IMO since you get the optimization of querying against your database and then only need to use ruby logic to make a few checks at the end to determine if the source model matches the criteria of your collection? (although maybe that doesn't solve the sorting issue..)"
I'm not quite sure what you mean?
Thanks


Microsoft.Azure.Functions.Worker.Extensions.SignalRService : Value cannot be null. (Parameter 'item')

Hi,
I have a .net 6 isolated process Azure function running on V4. When attempting to use the SignalR output binding i get theerror below.

System.Private.CoreLib: Exception while executing function: Functions.graphql. Microsoft.Azure.WebJobs.Extensions.SignalRService: Value cannot be null. (Parameter 'item').

The only code i've added was decorating my function like below.

Am i doing something wrong?
My full package versions:

@Y-Sindo Could you please take a look at this?

Thanks @kshyju , @Y-Sindo let me know if you need anything from me.

Seems you don't return a valid object in your function. Please see https://github.com/Azure/azure-functions-dotnet-worker/blob/main/samples/Extensions/SignalR/SignalROutputBindingFunctions.cs for example.

hmmm. My code looks very similar. is it something to do with how i use the multiple bindings? I'm trying to return an http response but also a signalR message.
I return

Which is made up of these classes

If you're using multiple output binding in a function, please remove the SignalROutput attribute targeting the function and only leave the one targeting the property in the return object.

@Y-Sindo  that was the solution!! yes so i removed the SignalR Attribute from the function declaration and only to the return object.


feat: Enable Ctrl+Enter form submission (#60)

I've implemented a function that makes my job a bit more convenient.

@theotheo is your fork up to date with the master? I recently added type checking on CI that should run for every PR, but it is not running on yours

Forget what i said, is not yet on master

Fixes #60


Upgrade Apache Commons Collections to v3.2.2

Version 3.2.1 has a CVSS 10.0 vulnerability. That's the worst kind of
vulnerability that exists. By merely existing on the classpath, this
library causes the Java serialization parser for the entire JVM process
to go from being a state machine to a turing machine. A turing machine
with an exec() function!
https://commons.apache.org/proper/commons-collections/security-reports.html
http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/
Also, do consider using Guava in the future.

@jart thanks for the PR! This codebase is EOL'd, but the available committers are discussing the issue. Can I ask whether you identified the project based on the dependency alone, a combination of dependencies, or a demonstration exploit? I don't see any active uses of ObjectInputStream (though there is an instance in a dead method), but maybe the SOAP bindings?

I identified this project by searching for pom.xml files with the insecure version. I've submitted the same pull request to twenty-two other projects.


fix(dart): remove description from enum

🧭 What and Why
There is no specific description for enum variant, so the description was copied multiple time in each enum, was that the expected behavior @aallam ?

🧭 What and Why
There is no specific description for enum variant, so the description was copied multiple time in each enum, was that the expected behavior @aallam ?

No it shouldn't be there indeed! nice catch!


Cherry-picks

roll ios-deploy version to 2fbbee77ea2b3212959b9dddda816f59094cd7cd (#40398)

I'm guessing the CocoaPods failures are the issue @digiter mentioned in infra discord about our VMs installing tip of tree cocoapods?

@tvolkert do we also hotfix the cirrus change, or do we just leave the tests failing? https://github.com/flutter/flutter/pull/41145

Yeah, all cherry-picks to this branch have seen these failures - I've been ignoring them.


react router browser history doesn't work

Hi,
When I change this line <Router history={hashHistory}> to <Router history={browserHistory}>,  in
    <Router history={hashHistory}>           <Route path="/" component={M}/>           <Route path="/a" component={A}/>           <Route path="/b" component={B}/>           <Route path="/c" component={C}/>           <Route path="/d" component={D}/>         </Router>,
my paged stop loading. I get this error Warning: [react-router] Location "/dist/index.html#/b?_k=xm0tin" did not match any routes.
Please help me to fix this problem.

It's literally what the error message says.

Thanks for the reply. What changes should I make to my route config if I am switching from hashHistory to browserHistory?

Some more info: when I use hashHistory and visit http://localhost:3000/dist/index.html the url changes to http://localhost:3000/dist/index.html#/?_k=6w1qlo and the page is loaded and all is well. But when I use browserHistory and visit http://localhost:3000/dist/index.html, I get the error "did not match any routes"


Compilation of frob34.cc fails with Python.h not found

I am on a fully updated Ubuntu 16.04 system. For some reason the compilation process does not set the right include flags (which should be /usr/include/python3.5m).
./configure
checking for PY26... yes
checking for PY34... no
checking for PY35... yes
checking for PY36... no
configure: WARNING: Building without Python 3.6 support

make
libtool: link: ranlib .libs/libfrob26.a
libtool: link: ( cd ".libs" && rm -f "libfrob26.la" && ln -s "../libfrob26.la" "libfrob26.la" )
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.     -g -O2 -std=c++11 -Wall -MT libfrob34_la-frob34.lo -MD -MP -MF .deps/libfrob34_la-frob34.Tpo -c -o libfrob34_la-frob34.lo `test -f 'frob34.cc' || echo './'`frob34.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -g -O2 -std=c++11 -Wall -MT libfrob34_la-frob34.lo -MD -MP -MF .deps/libfrob34_la-frob34.Tpo -c frob34.cc  -fPIC -DPIC -o .libs/libfrob34_la-frob34.o
In file included from frob34.cc:18:0:
./frob.cc:28:20: fatal error: Python.h: No such file or directory
compilation terminated.

i'm able to reproduce your issue, working on patching.

@jmphilli I believe #89 has the fix, would like someone to confirm it though.

I tested this on a 16.04 VM, should work now.


created gruntfile creating incorrect directory on windows

after running 'yo apigee-deploy-grunt-api', the created Gruntfile.js has a shell task with the following code
apigee_npm_node_modules : {
command: "npm install --prefix './node'",
}
this is throwing the following warning when buildApiBundle is called on a windows machine
_Warning: Command failed: C:\windows\system32\cmd.exe /s /c "npm install --prefix './node'"_

this also creates a directory call '. in the root

Thanks @barrytam20 for reporting this issue. I'll look into this issue and fix it. In the meantime, to unblock you, if you don't have a Linux box, I'd encourage you to leverage a Linux box cloud for on Cloud9 or a Vagrant Linux box. Hope it helps.


ImportError: cannot import name 'format_int_alpha' from 'pdfminer.utils'

While importing camelot-py internally uses pdfminer.six and there is the following error:
ImportError: cannot import name 'format_int_alpha' from 'pdfminer.utils' (/databricks/python/lib/python3.8/site-packages/pdfminer/utils.py)
Please include this bug in the feature release and try to make the import of this PyPi successful.

Cannot reproduce.
The format_int_alpha function has not changed in the last 2 years.
Also this works with the latest version.
python
Python 3.10.0 (default, Mar 15 2023, 16:24:21) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pdfminer.utils import format_int_alpha
>>>

Perhaps you have pdfminer and pdfminer.six installed on your system?


"npm start" causing error

ENV: Mac OSX
every commands run without error.
while run "npm start"
macbook:pogo-optimizer Mike$ npm start

<EMAIL_ADDRESS>start /Users/Mike/Documents/node/pogo-optimizer
gulp && node index

module.js:327
throw err;
^
Error: Cannot find module 'source-map'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/Users/Mike/Documents/node/pogo-optimizer/node_modules/gulp-jade/node_modules/jade/node_modules/clean-css/lib/stringifier/source-maps.js:1:88)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)

What version of node are you running? Was this working before v1.0.0?

Am experiencing a similar but non-identical issue in Ubuntu LTS 16.04 with a pull from master.  First attempt to use the program, so have no basis for comparison with behavior vs prior versions such as v1.0.0:

<EMAIL_ADDRESS>start /pogo-optimizer
gulp && node index

//pogo-optimizer/gulpfile.js:13
gulp.task('clean', function (cb) {
TypeError: gulp.task is not a function
at Object. ( gulpfile
...

@NWinocur Mind making a separate issue since it's not identical?

Will do

thanks for reply
macbook:pogo-optimizer Mike$ node -v
v4.4.4
macbook:pogo-optimizer Mike$ npm -v
2.15.1

Mind upgrading to the newest version of node/npm, deleting the node_modules folder, and doing a fresh npm install?

Upgrading node to v6.3.1 solves my problem


Question: Does the terraform script create a new VPC?

Are all the resources put under a VPC or are they just EC2 instances?
Thanks,
--ajay

Hi @akoranne
I creates all instances in a new VPC.
You can look at https://github.com/EngineerBetter/concourse-up#what-it-does for a list of exactly what AWS infrastructure is created
cheers,
Pete


feat: files and changes for another spar service

What
Get the second SPAR Java REST api logs into OpenSearch
Why
Consistency. To be able to extract detailed information from requests. Have a better place to look for errors.

cc: @mgaseta


📦 NEW: Respond with ack to Heartbeat

As per heartbeating Discord may send the client a heartbeat, and the client should respond with a heartbeat ack.

Fixed in #26


readthedocs reference doesn't seem to work

README.rst refers to Read the Docs (http://sqlalchemy-datatables.readthedocs.org/en/latest/) which does not seem to have been created.
version d1e686ae400cec1d5899ab9377335b21d88e0e16

Removed in #110


Checkmarx resilience for delta scan fallback not working

Situation
Explanation how it shall work
With #507 we introduced a fallback implementation when checkmarx complains about too much delta and do a restart.
To do this we were forced to reset the scan ID, so the former scan was not reused any longer and we were able to start a fresh scan (with delta scanning disabled)
Current situation
Unfortunately there seems to be a problem at the moment:
All in same thread:

ResilientActionExecutor: Retry 1/1:checkmarx too many changes - retry fullscan
CheckmarxScanSupport: Trigger new scan entry in checkmarx queue
CheckmarxScanSupport: Start new checkmarx scan for:
CheckmarxScanReportSupport: Trigger new report in queue
AbstractProductExecutionService: Start executor CHECKMARX and wait for result
CheckmarxScanSupport: Reuse existing scanId:${scanId}
CheckmarxScanSupport: Start new checkmarx scan for:
CheckmarxAdapterV1: Reuse existing upload for
9.CheckmarxAdapterV1: => Throws exception :The queuing has never been run ?!!?

Problem analysis
At 1. Resilient retry is triggered which starts a new scan - but at 6. an existing scanId is reused, and waiting for the queue fails, because the old scan has been already removed from queue.
**The problem is probably ** not the missing queue entry, but the reuse of the former scanId!- this may not happen:
The resilience callback does set the former scanId to null in case of delta scan issues, see
https://github.com/Daimler/sechub/pull/508/commits/80e2b43676c39ca9a23eebe0dcf22d533a5adde2#diff-1e92582ef531b3d29cc0e4c78ecb8c1a1fe77656dfe93b2dc881857cc7424059L178
It seems the reset is not really done.
Solution
further analysis ongoing...
 com.daimler.sechub.adapter.AdapterException: __[SECHUB-UID:00d7fa94-83fd-4755-87dc-7e7523e3f91a]__ CheckmarxAdapterV1:The queuing has never been run ?!!?
    at com.daimler.sechub.adapter.AdapterException.asAdapterException(AdapterException.java:47)
    at com.daimler.sechub.adapter.AbstractAdapter.asAdapterException(AbstractAdapter.java:32)
    at com.daimler.sechub.adapter.AbstractAdapterContext.asAdapterException(AbstractAdapterContext.java:54)
    at com.daimler.sechub.adapter.checkmarx.support.CheckmarxScanSupport.waitForQueingDone(CheckmarxScanSupport.java:62)
    at com.daimler.sechub.adapter.checkmarx.support.CheckmarxScanSupport.startNewScan(CheckmarxScanSupport.java:45)
    at com.daimler.sechub.adapter.checkmarx.CheckmarxAdapterV1.uploadSourceCodeAndStartScan(CheckmarxAdapterV1.java:96)
    at com.daimler.sechub.adapter.checkmarx.CheckmarxAdapterV1.handleUploadSourceCodeAndStartScan(CheckmarxAdapterV1.java:72)
    at com.daimler.sechub.adapter.checkmarx.CheckmarxAdapterV1.execute(CheckmarxAdapterV1.java:52)
    at com.daimler.sechub.adapter.checkmarx.CheckmarxAdapterV1.execute(CheckmarxAdapterV1.java:30)
    at com.daimler.sechub.adapter.AbstractAdapter.start(AbstractAdapter.java:71)
    at com.daimler.sechub.domain.scan.product.checkmarx.CheckmarxProductExecutor.lambda$executeWithAdapter$0(CheckmarxProductExecutor.java:137)
    at com.daimler.sechub.sharedkernel.resilience.ResilientActionExecutor.executeResilient(ResilientActionExecutor.java:53)
    at com.daimler.sechub.domain.scan.product.checkmarx.CheckmarxProductExecutor.executeWithAdapter(CheckmarxProductExecutor.java:98)
    at com.daimler.sechub.domain.scan.product.checkmarx.CheckmarxProductExecutor.executeWithAdapter(CheckmarxProductExecutor.java:38)
    at com.daimler.sechub.domain.scan.product.AbstractInstallSetupProductExecutor.executeAdapterWhenTargetTypeSupported(AbstractInstallSetupProductExecutor.java:191)
    at com.daimler.sechub.domain.scan.product.AbstractInstallSetupProductExecutor.execute(AbstractInstallSetupProductExecutor.java:165)
    at com.daimler.sechub.domain.scan.product.AbstractInstallSetupProductExecutor.execute(AbstractInstallSetupProductExecutor.java:77)
    at com.daimler.sechub.domain.scan.product.AbstractProductExecutionService.execute(AbstractProductExecutionService.java:90)
    at com.daimler.sechub.domain.scan.product.AbstractProductExecutionService.runOnExecutorWithOneConfiguration(AbstractProductExecutionService.java:177)
    at com.daimler.sechub.domain.scan.product.AbstractProductExecutionService.runOnAllAvailableExecutors(AbstractProductExecutionService.java:150)
    at com.daimler.sechub.domain.scan.product.AbstractProductExecutionService.executeProductsAndStoreResults(AbstractProductExecutionService.java:67)
    at com.daimler.sechub.domain.scan.ScanJobExecutor$CanceableScanJobRunnable.run(ScanJobExecutor.java:145)
    at java.base/java.lang.Thread.run(Unknown Source)

Was a misconfiguration - two profiles were assigned containing different checkmarx configurations, so it came to race conditions when meta data was shared between.
Solution was, to assign only one profile for code scanning.
So I will close this issue but create another one to handle the problem (we must be able to define multiple PDS configurations/profiles to a project, so this must be solved).


The & has a wrong scope name

& is a keyword so it should get a scope like keyword.control.parent-ref.css.sass.
It currently gets entity.name.tag.css.sass.symbol

I rewrote this package and updated lots of scope names. But sorry, when I was rewriting this package I forget this issues, and I named the & scope to keyword.other.parent-selector.sass. Do you think that is ok, or keyword.control.parent-ref.css.sass is better? Thanks


[ADD] Add contrib - Edinburgh Umbraco Meetup

Adding meetup details since it was a Hacktoberfest special.

Hi @OwainWilliams ,
Thanks for organizing this special Hacktoberfest meetup 🎉👍
Hopefully this resulted/will result in code contributions as well 😁


cleanup: [WIP] address golangci warnings

Package name should be util_test instead of
util. util package needs to be imported
seperately.
Issue Reported:
internal/util/csiconfig_test.go:17:9: package should be util_test instead of util (testpackage)
package util
Updates: #1184
Signed-off-by: Yug Gupta<EMAIL_ADDRESS>

Note that we can not change the package name for all packages. See #1185 for a description. As an alternative to that PR, it is also possible to mark a package util file with // nolint:testpackage // we're testing internals of the package. More tests are valuable, and dropping them or reworking them in awkward ways would not be beneficial.

Note that we can not change the package name for all packages. See #1185 for a description. As an alternative to that PR, it is also possible to mark a package util file with // nolint:testpackage // we're testing internals of the package. More tests are valuable, and dropping them or reworking them in awkward ways would not be beneficial.
Oh my bad, I tried to directly resolve the warnings. Should we then no lint on all test packages?

Should we then no lint on all test packages?

If there are *_test.go files where it works without too much re-working, then you can rename the package. For tests that use internals of the package, you can add the // nolint:.... comment. I opted for disabling the testpackage linter completely, but that might not be the best approach (I did not try anything else).

Should we then no lint on all test packages?

If there are *_test.go files where it works without too much re-working, then you can rename the package. For tests that use internals of the package, you can add the // nolint:.... comment. I opted for disabling the testpackage linter completely, but that might not be the best approach (I did not try anything else).

Thanks, I'll try to rectify the issues wherever feasible, and nolint otherwise.

@humblec , these commits can be used now to reduce some of the warnings.

/test ci/centos/containerized-test

/test ci/centos/containerized-test

@Yuggupta27 this can be closed right ?

@Yuggupta27 this can be closed right ?

Yes Humble. I'll close it.

Closing as changes are included in #1157 .


[Feature Request]: Query max distance in addition to n_results

Describe the problem
query take an argument for max distance in addition to n_results
I want to get all "relevant" documents instead of a specific number. Can do filtering afterward but it's seems inefficient.
Describe the proposed solution
collection.query(max_dist=0.5)
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

This would be so useful. I hope it gets approved


Enable command-line functionality

Enable command-line functionality, similar to Python pylint or black.

Addressed via #11


Getting a latest version can be difficult

Describe the bug
The LLM sometimes does OK giving me the latest (angular 18 in my case), but then restructures and reverts to earlier version and may fight me on whether or not 18 exists. Not sure how this could be managed, but it is frustrating to see problems fixed often by reverting to earlier versions.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-dl9fzg
Steps to reproduce
Create an angular app. If it has errors, let it fix them, and often it will go from 18 to 16, and with some coaxing possibly up to 17.
Expected behavior
Start with a version and stick with it.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 58301454,
  "usedJSHeapSize": 52958518,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = TheTiGuR
Chat ID = 3ea4e2f51dae

Additional context
No response

That's an excellent idea! I've been thinking that instead of relying on AI generated version, we could always set them to versions known to work or something.

Thinking about optimizations, particularly in relation to this, would it be possible to 'pin' a file for no further changes? Particularly for like the package.json or say an environment file, getting those locked in place so that only "correct" files get updated might be helpful.


omnisharp-roslyn fails to pass unit tests on windows

The OmniSharp.Roslyn.CSharp.Tests are failing to complete on Windows 10.
The log can be found in here

Thanks for the report, we've got this fixed now with the latest release!


2nd Easee charger gives TypeError on custom command for dynamicCurrent setting

I've got 2 Easee chargers and use the node-red-contrib-easee (v0.6.2) with node-red (v3.1.5).
Charger 1 can handle custom commands fine for dynamicCurrent setting. But when sending the message to the second charger, I get a TypeError: Cannot convert undefined or null to object.
Initially my message looks like this:
msg.payload = {"path":"/sites/321/circuits/321/dynamicCurrent","body":{"phase1":0,"phase2":16,"phase3":0}}
But I've also tried with the "method":"POST" option:
msg.payload = {"method":"POST","path":"/sites/321/circuits/321/dynamicCurrent","body":{"phase1":0,"phase2":16,"phase3":0}}
Any idea on how to get my second charger functioning with custom commands? The other commands like login, refresh_token, charger_state work fine on both first and second charger.

Hi,
Are you able to post the full stack trace of the error? I might have to add some error catching if there are some limitations. Do you have the same access level on both chargers? I have access to two myself, and one of them i am only a user and I'm not allowed to change current settings. It is currently offline so I cannot test/reproduse, but I will try when available.
Jon

Hi Jon,
My trace log shows the following:
Error: REST Command failed (404: Not Found) {"errorCode":230,"errorCodeName":"CircuitDoesNotBelongToSite","type":null,"title":"Circuit does not belong to site","status":404,"detail":"[Empty in production]","instance":null,"extensions":{}}
at EaseeConfiguration.node.doAuthRestCall (/data/home/nodered/.node-red/node_modules/@runnane/node-red-contrib-easee/easee-client/easee-configuration.js:123:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
So I checked if my circuit id is correct, using the easee site command (see below). I see the same for both charger id's. So I have a single site, a single circuit and 2 backplates / chargers on a single circuit. My left charger is the master / leader. Could your code work with this or is there a possibility to create either 2 sites or 2 circuits with each a single charger?
{
"uuid": "ad...",
"id": ###944,
"siteKey": "T4JG-####",
"name": "PC Laadlocatie (Links)",
"accessMode": 2,
"levelOfAccess": 1,
"address": {
},
"latitude": null,
"longitude": null,
"altitude": null

},
"contactInfo": {
"installerName": null,
"installerPhoneNumber": null,
"ownerName": "##",
"ownerPhoneNumber": "+##",
"company": null
},
"costModel": "fixedprice",
"costModelVariant": null,
"costPerKWh": 0.23,
"costPerKwhExcludeVat": 0.23,
"currencyId": "EUR",
"siteType": 1,
"siteCategory": 0,
"ratedCurrent": 25,
"vat": 0,
"partnerId": 20,
"installerId": null,
"installerUserId": null,
"supportId": null,
"installerAlias": "",
"useDynamicMaster": false,
"circuits": [
{
"id": 690###,
"uuid": "b5a369a3##",
"siteId": ###944,
"circuitPanelId": 1,
"panelName": "EV groep",
"ratedCurrent": 16,
"fuse": null,
"chargers": [
{
"id": "EH2G####",
"name": "EV lader Pulsar (Rechts)",
"color": 1,
"createdOn": "2022-12-23T07:30:06.475256",
"updatedOn": "2023-12-30T08:55:37.913407",
"backPlate": {
"id": "8172B##",
"masterBackPlateId": "8072B##",
"name": "EV laadlocatie (Rechts)",
"backplateType": 0,
"features": []
},
"levelOfAccess": null,
"productCode": 2,
"userRole": 1,
"isTemporary": false
},
{
"id": "EH6Q####",
"name": "EV lader Leaf (Links)",
"color": 1,
"createdOn": "2022-12-23T05:50:02.938067",
"updatedOn": "2023-12-30T08:53:35.277587",
"backPlate": {
"id": "8072B5##",
"masterBackPlateId": "8072B5##",
"name": "EV laadlocatie (Links)",
"backplateType": 0,
"features": []
},
"levelOfAccess": null,
"productCode": 2,
"userRole": 1,
"isTemporary": false
}
],
"masterBackplate": null,
"useDynamicMaster": false,
"parentCircuitId": null
}
],
"equalizers": [],
"createdOn": "2023-12-30T08:34:02.890327",
"updatedOn": "2024-11-30T16:01:14.911397",
"userRole": 1,
"allowedSiteActions": [
"AllowToConfigureLevelOfAccess"
],
"support": null,
"regulations": []
}

I've also tested if I would get the error on the easee api page:
https://developer.easee.com/reference/post_api-sites-siteid-circuits-circuitid-dynamiccurrent
I've got the same error. So I used the installer app to add a circuit on the second charger. Now each site has it's own circuit and each charger is master within it's own circuit.
Now the payload for setting the dynamic currents works fine!
msg.payload = {"path":"/sites/###943/circuits/817###/dynamicCurrent","body":{"phase1":0,"phase2":16,"phase3":0}}
Thanks for the hint to look at the trace log file!


One Page scroll effect

Hello,
thx for your useful framework. But I have a problem:
When I have only one page the user can overscroll (grey bg).
I used a jquery code to prevent. It works great but I miss this bounce effect on a single page. How can I activate this? thx and sry for my bad english 😁

This works well with current Framework7 version to eliminate the bounce effect:

Download https://github.com/lazd/iNoBounce/blob/master/inobounce.min.js

Include script <script type="text/javascript" src="js/inobounce.min.js"></script>

Add css to .views container

.views {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}


Simplify core/array.h and core/array.cpp

Changes:

Update and add more descriptive comments,
Format spacing for readability,
Change variable names to be more explicit,
Performance improvements in for and while loops.

Moving local variables out of loops is not an optimisation

I thought that taking a variable outside a loop would mean less memory allocations, initialisations and destructors being called. So a minimal performance increase.

I thought that taking a variable outside a loop would mean less memory allocations, initialisations and destructors being called. So a minimal performance increase.

The short answer is: no
It does depend on the type you're dealing with, but like the vast majority of optimisation, without a concrete example and measurements, it's not a good idea.
Generally a variable should be declared in the scope that uses it, making code clearer and less open to mistakes,

I've reverted those particular changes, as they were based on untested assumptions.

As mentioned in https://github.com/godotengine/godot/pull/22997#issuecomment-494148821, we decided in today's PR review meeting (logs) not to merge those changes in their current form for the time being. Thanks for the contribution nevertheless!


can't install on a new domino designer client 9.0.1 FP3

We have recently updated our domino server to 9 and I'am having problems with installing the plugin on my client. I've tried installing via updateSite nsf and by installing as a new feature in D.Designer via Application\Install action. I have installed the new Extension Library with success.

When installing via update site I get folowing errors(see printscreen):

And when installing via Application\Install I get "No acceptable features found" message.

The error message on your printscreen is related to FP3. See the following discussion related to this issue: https://www.openntf.org/main.nsf/project.xsp?r=project/XPages Extension Library/discussions/586418F6A18C7A0B86257DDC004CD309
I'm suprised tht the other way didn't work.

Thank you! It has done the trick. I've installed FP4 with interim fixes and then a JVM patch and it worked.


77 update historical atmosphere outputs

Closes the historical portion of #77.
This pull request removes field s03i229EVAP FROM SOIL SURF -AMOUNT KG/M2/T from the detailed and standard presets, which is just a rescaled version of field s03i296.
It also adds the following useful surface variables to the daily output in both presets:

s03i217 SURFACE SENSIBLE HEAT FLUX
s03i223 SURFACE TOTAL MOISTURE FLUX
s03i234 SURFACE LATENT HEAT FLUX
s08i234 SURFACE RUNOFF RATE
s08i235 SUB-SURFACE RUNOFF RATE

I have some month long simulations running to check it's working, and will wait until they are done to merge.

Changes appear to be working for both presets