Use CUSTOM_ELEMENTS_SCHEMA with mockBuilder

Is there a way to use CUSTOM_ELEMENTS_SCHEMA when using mockBuilder, or do I need to revert to TestBed?

Hi @Tallyb,
Might you leverage your case a bit?
The idea of ng-mocks is to avoid usage of CUSTOM_ELEMENTS_SCHEMA, and to let tests to rely on exactly the same interfaces in mock declarations as their original ones have.
In theory, you could mix MockBuilder.build and TestBed, but I haven't tried it so far.
beforeEach(() => {
  const ngModule = MockBuilder(null, MyModule).build();

  return TestBed.configureTestingModule({
    ...ngModule,
    schemas: [CUSTOM_ELEMENTS_SCHEMA],
  });
});

Do you mean - avoid using [NO_ERRORS_SCHEMA]?
Here is a simplified example of my scenario.
I am building a directive (selector: my-directive).
We use web components and the directive is accessing a specific web component (my-component).
In order to test the directive, I want to have a test component that has the WC. something like:
<my-component>
   <div my-directive/>
</my-component>

Using mockBuilder alone throws an error that it does not recognize my-component.
Your example looks good, but it will be great to have mockBuilder catering for schemas as well, something like:

Ah, I see now. So it's only about using dashes in selectors.
Yep, it makes sense and I'll add its support with the next release.
However, I'm going on vacation and be back in the second part of October.

Hi again, I was thinking about it overnight, and didn't get it fully. All selectors are already app-*, so they support dashes without CUSTOM_ELEMENTS_SCHEMA.
Could you share how the directive is accessing the component?
In my understanding, it still should work like:
MockRender(MyDirective);

or
MockRender(`<div my-directive></div>`);

my-directive is an angular component, so when generating the module, Angular is aware of it.
CUSTOM_ELEMENTS_SCHEMA tells Angular that the code might have components which are not defined in the module, and are external web components. (in our case it is stenciljs, but could be angular elements, Vue web components, Svelte, whatever...).
When angular seems my-component which is a web component, compilation will fail with the message that it is an unknown element, and if it is an external web component you should use the CUSTOM_ELEMENTS_SCHEMA.
My directive is doing something like:
      const myEl = this.el.nativeElement.closest('my-component'); //this.el is the directive ElementRef
      // Do something with myEl, e.g. add or remove classes.

So in order to test, I need to do a
MockRender(`<my-component> <div my-directive></div> </my-component>`);

I hope this clarifies, but let me know if not, and I will be happy to elaborate.

Hi here too, I think the answer is similar to: https://github.com/ike18t/ng-mocks/issues/1642


Uninstallation seems to be done via Package Name

It looks like uninstallations are triggered using the Package Name.
This does not work when two installed packages have the same name.
Installations/uninstallations should be triggered using the Package ID.

I agree this should be implemented for installs, uninstalls and updates as well. Also, I believe it's better to use --id and -e, like suggested in Winget docs:

The best way to limit the selection to one file is to use the id of the application combined with the exact query option. For example:
winget install --id Git.Git -e

A quick look at the code I found this:
https://github.com/martinet101/WingetUI/blob/main/wingetui/storeEngine.py#L374
If uses ID and "-e" only if self.useif is set
if(self.store == "winget" or self.store.lower() == "local pc"):
            self.p = subprocess.Popen(self.adminstr + [wingetHelpers.winget, "uninstall", "-e"] + (["--id", self.packageId] if self.useId else ["--name", self.programName]) + wingetHelpers.common_params + self.cmdline_args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE, shell=True, cwd=sudoLocation, env=os.environ)

I found out this code useId=not("…" in id)
So, if it founds the "..." in the ID, code uses package name.
Question is: why package would have "..." ? Maybe too long string ?
Maybe @martinet101 can enlighten us

Question is: why ID would have "..." ? Maybe too long string ?

We should ask this to winget.
Whenever some package names/ids are too long, winget cuts them, ignoring if there's plenty of horixontal space in the console window. When so happens, it uses name.
However, this case shouldn't apply here and winget should be defaulting to ID uninstall

Do you have an example of package name/ID that this issue happens @martinet101 ?

Did you try the "Format-Table -AutoSize" parameter for Powershell / subprocess.Popen ?
https://learn.microsoft.com/en-GB/powershell/module/microsoft.powershell.utility/format-table

I used the mode command in cmd, and while it works, winget just ignores it. There's an issue where this was discussed, but it is just winget's fault

winget with Win11 beta (insider) has no issue.

PS C:\WINDOWS\system32> winget --version
v1.3.2691

the command winget search "" also shows the full names?

Look like it's showing f ull names

damn, truncated

That's the thing i was saying. it sometimes does work, it sometimes does not

I've tested it here on cmd and PShell. If the window is maximized I get the full results, if it's a regular window I get the ...

@ppvnf its not the console window. Its how winget print the results on screen when you run winget search " "

Opened an issue there: https://github.com/microsoft/winget-cli/issues/2603

The issue with the uninstall failing has been fixed


can't expose prometheus metrics from spring boot apps registered with spring cloud eureka server

Describe the bug
I am trying to implement prometheus monitoring for spring boot apps but my spring boot apps are registered with spring cloud eureka server so I don't have an option to configure static ports for the apps in prometheus config, I can only configure scrapping for eureka server like below but not for the apps registered with eureka. Can anyone please suggest?
Sample
static_configs:

targets: ["http://mycompany.eurekaserver.net:8761"]

There's no integration with Prometheus and eureka that I know of


@shopify\plugin-cloudflare error

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Other
Expected behavior
can download @shopify/cli and @shopify/app
Actual behavior
can download @shopify/cli and @shopify/app
cmd error
npm ERR! code 1
npm ERR! path C:\WINDOWS\system32\node_modules@shopify\plugin-cloudflare
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/postinstall.js
npm ERR! file:///C:/WINDOWS/system32/node_modules/node-fetch/src/index.js:108
npm ERR!                        reject(new FetchError(request to ${request.url} failed, reason: ${error.message}, 'system', error));
npm ERR!                               ^
npm ERR!
npm ERR! FetchError: request to https://github.com/cloudflare/cloudflared/releases/download/2023.5.1/cloudflared-windows-amd64.exe failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443
npm ERR!     at ClientRequest. (file:///C:/WINDOWS/system32/node_modules/node-fetch/src/index.js:108:11)
npm ERR!     at ClientRequest.emit (node:events:517:28)
npm ERR!     at TLSSocket.socketErrorListener (node:_http_client:501:9)
npm ERR!     at TLSSocket.emit (node:events:517:28)
npm ERR!     at emitErrorNT (node:internal/streams/destroy:151:8)
npm ERR!     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
npm ERR!   type: 'system',
npm ERR!   errno: 'ETIMEDOUT',
npm ERR!   code: 'ETIMEDOUT',
npm ERR!   erroredSysCall: 'connect'
npm ERR! }
error log is
Reproduction steps
1.npm i @shopify/cli @shopify/app
then error whats @shopify\plugin-cloudflare ?
Operating System
window 10
Shopify CLI version (check your project's package.json if you're not sure)
THE LASTEST
Shell
No response
Node version (run node -v if you're not sure)
18.18.2
What language and version are you using in your application?
No response

its seem like @shopify/app error

I also have this problem, how to solve it?


Add Split View with Viewer and Editor

Instead of having a single view at a time, a split view allows for both a view of the DRD and the DRG element that is being edited at all times. The DRD view on the left can be used to navigate between DRG elements. The DRD itself can also be edited.
Interaction:
Split View open ➡ Click DRG element in DRD view on the left ➡ Open DRG element in view on the right
Split View open ➡ Click Edit DRD ➡ Single View with DRD opens
Single View with DRD open ➡ Click DRG element overlay ➡ Open Split View
Prototype: https://dmn-prototypes.netlify.com/navigation-editing/

Details:

[x] collapsing:

[x] have a collapse / expand button for the DRD preview instead of (or in addition to) resize line
[x] "edit DRD" button always visible (also when preview is collapsed)

[x] DRD preview:

[x] DRD preview at 50% scaling and with same grey background color as property panel
[x] add decision type icons (in grey) to DRD preview (table vs lit. expr.)
[x] highlighting of selected decision in DRD preview does not work correctly for all decision tables when I open them from the DRD editor

[x] no property panel in decision table view
[x] remove ID from decision table
[x] hover effects:

[x] hover effect in DRD to show clickable elements
[x] remove dashed line on hover & select in DRD preview
[x] connectors and non-selectable nodes in the DRD preview should not have any hover effect

[x] colors:

[x] selected decision table should have background fill color (light blue) in DRD preview
[x] selected elements in DRD editor or cells in decision tables have blue outline => highlight color in DRD preview should be the same blue instead of green

[x] when opening a decision from DRD editor, the DRD preview should center this element / make sure the element is visible
(but when using the DRD preview to navigate, we should not re-center to the selected element. This way, people can quickly navigate between two decisions using the DRD preview)

Describe alternatives you've considered
Using diagram-js-minimap to improve navigation.

After implementing the split view and taking it for a test drive here are a few things that concern me:

distinction between read-only DRD on the left and editor on the right is not clear
transition between split view and editing DRD is weird, position of the diagram changes etc.
DRD on the left means I cannot maximize table anymore

Some proposals how to circumvent the issue

make the navigation panel optional, i.e. easily toggle-able via keyboard shortcut (and not-so-much space-taking UI control)

One alternative could be a modified version of the minimap that doesn't allow panning and zooming but clicking elements to open them.
The downside of using something similar to the minimap would be that the names of the elements wouldn't be readable and therefore navigation would be harder.

After further iteration this is the version we're going to build:
Overview open:

Overview closed:

🎉


Add ability to use glob for adding multiple directories

Adding lots of directories is cumbersome in the UI. It would be nice to be able to add directories by specifying a glob.

Worst of all is that trying to copy the list of all dirs that I want, and pasting it in, doesn't work.  It only registers the first one.


Fix SSH task collection folder removal upon failure

Close #1633
Checklist before merging

[x] I added an appropriate entry to CHANGELOG.md
[x] I merged main into the current branch.

Note that renaming a venv folder breaks its bin/activate script, even though the python interpreter remains valid.
Let's find a better way to proceed, and avoid this renaming.

For the record
$ python -m venv MYVENV

$ grep -n MYVENV MYVENV/bin/*
MYVENV/bin/activate:41:VIRTUAL_ENV="/tmp/MYVENV"
MYVENV/bin/activate:58:    PS1="(MYVENV) ${PS1:-}"
MYVENV/bin/activate:60:    VIRTUAL_ENV_PROMPT="(MYVENV) "
MYVENV/bin/activate.csh:11:setenv VIRTUAL_ENV "/tmp/MYVENV"
MYVENV/bin/activate.csh:20:    set prompt = "(MYVENV) $prompt"
MYVENV/bin/activate.csh:21:    setenv VIRTUAL_ENV_PROMPT "(MYVENV) "
MYVENV/bin/activate.fish:36:set -gx VIRTUAL_ENV "/tmp/MYVENV"
MYVENV/bin/activate.fish:59:        printf "%s%s%s" (set_color 4B8BBE) "(MYVENV) " (set_color normal)
MYVENV/bin/activate.fish:68:    set -gx VIRTUAL_ENV_PROMPT "(MYVENV) "
MYVENV/bin/pip:1:#!/tmp/MYVENV/bin/python3
MYVENV/bin/pip3:1:#!/tmp/MYVENV/bin/python3
MYVENV/bin/pip3.10:1:#!/tmp/MYVENV/bin/python3

Note that renaming a venv folder breaks its bin/activate script, even though the python interpreter remains valid. Let's find a better way to proceed, and avoid this renaming.

Fixed with https://github.com/fractal-analytics-platform/fractal-server/pull/1649/commits/2acff137fd90d5149f0ec1db9995a86f4bd9cf87, by moving to a more explicit strategy


Default methods in javascript wrapper interfaces are not supported

When defining an javascript wrapper interface one cannot use default methods.
e.g., The program:
public Interface IfcWithDefaultMethod extends JSObject {
  default void printHello(){
    System.out.println("Hello");
  }
}

public class Main {
  public static void main(String[] args){
    IfcWithDefaultMethod i = ... // get an instance from the global environment
    i.printHello();
  }
}

is resulting with an exception at run time:
"bwt_Main97.window99.test.hello is not a function"
where "test" is the name of the wrapped instance extracted from the global environment.
"test" did not contain the function printHello which therefore should have been resulted in the invocation of the default method.

The stable version of TeaVM does not support Java 8 default interfaces for wrapping JavaScript. The recent version of TeaVM does, but there's no documentation yet (as it is not stable), and several restriction. One restriction (one that you violate here) is that default methods (as well as non-abstract methods of abstract classes) must be final and must not override methods of parent classes/interfaces. Sorry, but it's not possible to remove this restriction. I'll update documentation and improve TeaVM to report about violations before releasing 0.3.0

I see,
for abstract classes it make sense, but how can you define final default method in an interface?

You are right, there is no way. So you should either refuse from interfaces or from default methods.

Here is my proposal. I can invent my own @Final annotation and check it with TeaVM compiler. So you could just add this annotation to your default methods.

Yes, I actually just working my way up TeaVM JavaScriptNativeProcessor code, and trying to add a support for a @Default annotation that I hope to translate to javascript by doing something along the following pseudo code:
Java: obj.method(params)
Javascript: $obj.$method? $obj.$method($params): $static_$method($obj, $params)
I still trying to grasp the concepts there (some documentation might help ;) ) , so it may take sometime..

You should not do this way. I'll write some thoughs, may be privately. Of course, I can implement this feature myself.

OK, Not a problem.


Winston test issue with Jest framework

Please tell us about your environment:

winston version?

[ ] winston@2
[ ] winston@3

node -v outputs:
Operating System? (Windows, macOS, or Linux)
Language? (all | TypeScript X.X | ES6/7 | ES5 | Dart)

What is the problem?
THERE IS NO WORKING EXAMPLES OF WINSTON TEST IN JEST framework
What do you expect to happen instead?

Other information

StackOverflow would be a better place to request usage examples (there is a winston tag there).  In either case, you should provide examples of what you've tried and what specifically you are trying to achieve.  Since there is no indication that there's a bug in winston here, I'm going to close this issue.  Thanks for understanding.


Fix: Grammar error in line #4

In sentence "Before you proceed, please take a quick 2 minutes to read our"
Here article "a" and "to read" doesn't sit right.
So, I corrected the sentence by changing "to read" to "read to".
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Hello there,
Thank you, for taking the time to open this. However, I do not see an issue here. The grammar looks correct, as is. As such, I am going to close this PR.
If you feel this has been incorrectly closed, please reply with a reason it should be re-opened.


Don't try to do a rolling update

We're mounting a PVC, so a new instance can't be ready before killing the old one.

Nonono, it's unacceptable that we've any downtime!

I don't see any value towards the customer.

This has been an explicit customer request

I am the customer

I am the customer

Seems fishy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

This issue was closed because it has been stalled for too long with no activity.


bump version

jenkins slack plugin from 1.7 to 1.8
jenkins-jobs-slack version bump to make new pypi package

@asmundg I'm sorry to disturb you. jenkins-jobs-slack 0.3.0 at pypi is different from HEAD of this repo and does not work any more.

Cool, thanks!


[VersionsFile] Dont sort versions on create

\c @indirect @dwradcliffe

@homu r+

:pushpin: Commit 6318775 has been approved by indirect

:zap: Test exempted - status

Can we please have version release?


Register .chain name

Hello team!
I tried to register a new .chain name but something went wrong. I sent a report via SH wallet (Superhero 2f652fc / v.0.2.4. extension for Chrome). Here is a screenshot:

Thank you in advance!

@mradkov how can I check these reports?

Current version of wallet doesn't have such problem. Feel free to reopen this issue, if it will pop up in next versions.


Could not read project.json, please try again.

From @wellrootedmedia on December 23, 2016 20:8

VSCode Version: 1.8.1 (1.8.1)
OS Version: 10.12.2

Steps to Reproduce (on mac):

cmd + p
> nuget: add new package
type "mongo" and select "mongocsharpdriver"
select the version
error displays "Could not read project.json, please try again."

I do have a "project.json" file in the project too.
screenshots:
project.json - https://imgur.com/a/QC5P9
video of error - https://youtu.be/f2MtbW0GySo
Copied from original issue: Microsoft/vscode#17783

The issue is related to the C# extension, moving the issue to this repository.

From @wellrootedmedia on December 23, 2016 20:19
I found this solution, http://stackoverflow.com/questions/40558718/how-to-access-nuget-repository-from-net-core-using-visual-studio-code/40558979#answer-40558979 but doesn't seem complete...

It looks like the error is coming from this extension: https://marketplace.visualstudio.com/items?itemName=ksubedi.net-core-project-manager

FWIW, it looks like this extension expects your project.json file to be in the root folder that is open in VS Code:
jsonFilePath = path.join(vscode.workspace.rootPath, "/project.json");

Be sure to open VS Code on the folder containing your project.json and I expect it will work.


fix: friendrequest

Related User Stories
_Duplicate friend request
Check list

[x] My branch is up to date with master. How?
[x] I passed all integration tests in Travis CI.
[x] Now it is a good time to ask for review.

Note
不知道为啥我pycharm改了很多括号格式，
主要我改的地方

add FriendAlreadyExist exception
modified Friend.send_friend_request
check request.user.id and firend.id

@Raymundo1 没事，我加了个自动format python代码的东西，每次commit的时候都会自动跑


LaunchConfiguration Documentation for join is not correct or misleading

Summary
When following the documentation on how to join node via LaunchConfiguration, it's not clear how exactly the configuration must look like.
On the master node I have
persistentClusterToken: "32-char-token"

and on the worker nodes
join:
  url: "<IP_ADDRESS>:25000/32-char-token"
  worker: true

When joining the worker responds
$ sudo microk8s join <IP_ADDRESS>:25000/32-char-token --worker
Contacting cluster at <IP_ADDRESS>
Connection failed. Invalid token (500).

Here https://microk8s.io/docs/ref-launch-config is nothing written about a hash at the end of the URL, here https://github.com/canonical/microk8s-cluster-agent/blob/main/pkg/k8sinit/testdata/schema/full.yaml it is. What is the hash? How can I auto generate the Launch Configuration to allow joins?
What Should Happen Instead?

Reproduction Steps

Introspection Report

Can you suggest a fix?

Are you interested in contributing with a fix?

Hi @benkeil,
The hash at the end of the token is used to verify the identity of the joining node. It's optional and if it's absent, no verification is done. You can also specify it and not perform verification with the --skip-verify flag. I agree with you the documentation could be updated.
I think what happened in your case is that your persistent token was not correctly registered on the master node so any joins using this token result in a 500 error.
Could you please try the steps here? https://microk8s.io/docs/add-launch-config#h-1-when-deploying-a-cluster. You can either override the default configuration or use snap set.


Only JVM is published?

Hello, I wanted to use your library on JS but it looks like it is not yet published
Is it planned?

Hi @jonathanoff2022, yes Klogging is only published on JVM at this time. I plan to make it available on JS but no timeline.
Are you able to help implement some of the JS actual functions?


RHMAP-7679 - Add support for HTTP based post receive as part of removing AMQP

Pull Request Quality Guidelines
As we continue to focus on quality, here are a few things to keep in mind:

The code changes conform to the contributing & code style guides for this component (if they exist)
A component owner should review your change (we've tagged these above)
Automated testing has been added or updated for this change (e.g. UART, Unit/Acceptance tests)
If updating server component this PR should be deployed to a grid somewhere (via fhcap-cli) - please provide a link to this
Ensure JIRA is up to date before & after merge (e.g. deployment notes, tester notes, release notes, fix version)
Any SonarQube issues should be addressed where applicable (use your own judgement)

Please ping a component owner (see fh contrib) when your builds are complete, changes are deployed and you're ready for a review.
Fhcap PR will be generated automatically.
To deploy your changes to a cluster place comment in this PR with pattern [x][y] where x=deploy and y=clustername you wish to deploy.
You can also deploy your change manually using fhcap-cli

https://github.com/feedhenry/gitlab-shell/pull/12


Shape compatibility

Feature Request: Shape module
Semantic Documentation link: http://semantic-ui.com/modules/shape.html#shape
The shape module is really cool and would be a nice addition. Do you have any guides, other than the code, on how to bring a semantic component or module into this library? If you do then I would likely contribute a PR with the shape module implementation

Apologies for the delay getting back to you on this. The shape component is a tricky one, as it doesn't seem to leverage the Transition component, so can't be easily ported with existing code. In terms of bringing things across, I essentially try to mirror as much of the essential functionality as possible, but only at an interface level - none of the implementation details are taken from the original project.
If you're able to take a look at some of the current implementation of components, and suggest a way that the shape component could be done that fits with how the others are done, I'd be happy to work with you on that - but won't be able to add any more full components myself until at least July I'm afraid.


Fix terminology of agents and agent/pubkey pairs

Now what is called "agents" are actually "agent/pubkey" pairs.

With 09749393e4694c71c5633486abd2335b3925bcd4, agents is now called agent-accounts.


Document about using custom op to build graph in C++

System information

TensorFlow version: ALL
Doc Link:
Custom op: https://www.tensorflow.org/guide/extend/op
Build graph in c++: https://www.tensorflow.org/guide/extend/cc

Describe the documentation issue
Please provide documentation about how to build graph using custom OP.
Related StackOverflow question: https://stackoverflow.com/questions/53384454/how-to-use-custom-op-to-build-tensorflow-graph-in-c

Borrowing from the StackOverflow post linked above...
Taking ZeroOut from here as an example, you have to do the following:
    class ZeroOut {
     public:
      ZeroOut(const ::tensorflow::Scope& scope, ::tensorflow::Input x);
      operator ::tensorflow::Output() const { return y; }
      operator ::tensorflow::Input() const { return y; }
      ::tensorflow::Node* node() const { return y.node(); }

      ::tensorflow::Output y;
    };

    ZeroOut::ZeroOut(const ::tensorflow::Scope& scope, ::tensorflow::Input x) {
      if (!scope.ok()) return;
      auto _x = ::tensorflow::ops::AsNodeOut(scope, x);
      if (!scope.ok()) return;
      ::tensorflow::Node* ret;
      const auto unique_name = scope.GetUniqueNameForOp("ZeroOut");
      auto builder = ::tensorflow::NodeBuilder(unique_name, "ZeroOut")
                         .Input(_x)
      ;
      scope.UpdateBuilder(&builder);
      scope.UpdateStatus(builder.Finalize(scope.graph(), &ret));
      if (!scope.ok()) return;
      scope.UpdateStatus(scope.DoShapeInference(ret));
      this -> y = Output(ret, 0);
    }

Then you can use it to build a graph:
    Scope root = Scope::NewRootScope();

    // Matrix A = [3 2; -1 0]
    auto A = Const(root, { {3, 2}, {-1, 0} });
    auto v = ZeroOut(root.WithOpName("v"), A);
    std::vector<Tensor> outputs;
    ClientSession session(root);

    // Run and fetch v
    TF_CHECK_OK(session.Run({v}, &outputs));
    LOG(INFO) << outputs[0].matrix<int>();

Note: For TensorFlow inherent ops, code like ZeroOut class is autogenerated by a bazel rule. You can imitate that code (e.g. tensorflow/cc/ops/math_ops.h) to hand write your own classes, if you only have a few custom ops.


<IP_ADDRESS>.0

Mintegral adapter <IP_ADDRESS>.0.
Do not merge / Can not merge.

Released: https://github.com/ChartBoost/chartboost-mediation-android-adapter-mintegral/releases/tag/v<IP_ADDRESS>.0


Select: Scroll to selected item on open

Description
This PR provides an automatically scroll to the active item when select's dropdown is open. And this complete the arrow key navigation scrolling.
Also added OnOpen and OnClose events to allow user made methods.
https://user-images.githubusercontent.com/78308169/150600554-9e0b4580-31fa-47f7-9f7d-fca94aabf582.mp4
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 not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

Thanks @mckaragoz !

I really would love this feature, but it just does not seem to work.
Please check the following snippet (https://try.mudblazor.com/snippet/cEmGuwQaIGMSDSpz
). I was expecting that the popover auto scrolls to the current item (here Uli). But that does not work.
Am I doing something wrong?
@using Microsoft.AspNetCore.Components
@using System.Globalization;

<MudSelect @bind-Value="enumValue" Label="Select drink" HelperText="Scroll to Value does not work!">
    @foreach (Drink item in Enum.GetValues(typeof(Drink)))
    {
        <MudSelectItem Value="@item">@item</MudSelectItem>
    }
</MudSelect>

@code {
    private Drink enumValue { get; set; } = Drink.Uli;
    public enum Drink {
        Tee, SparklingWater, SoftDrink, Cider, Beer, Wine, Moonshine,
        OJus, sdfsdf, Hell, gffgd, dfgdf, sdfsg, fsdsf, BBBBa, fsdsdf,
        Menno, Juno, Uli, Eli, Getrald,
     }
}

Yes, I just tested. Looks like that the fix doesn't work if the list is longer. Strange. I'll reopen issue #3847


URI Signing doesn't assign parameters to profiles

Once you create the URI Signing Keys for a delivery service, ORT will complain about not being able to create the configuration on disk and also Traffic Server will complain about not being able to load the plugin.
The current workaround seems to be creating link a parameter in each Edge profile that requires the URI Signing config for that specific delivery service. Prone to errors.
Traffic Ops was usually dealing with creating parameters before, but URI signing is only configurable by Traffic Portal.

@alficles @PSUdaemon @jrushford thoughts?

This is really a regression, from a user point of view. The new feature, URI Signing, is replacing the old one and should really have the same behaviour. The existing workflow is really bad and we should port that behaviour forward.

@smalenfant - can you put a "severity" label on this?


Singular  elements under , , and friends

A recent document that went through AUTH48 originally had a single <t> element as a child of a <dd> element.  The RFC editor decided that this wasn't nice and removed the <t>.  I couldn't work out how to massage the input to effect the same change, but maybe a little streamlining is possible from this end.
Right now, I've told the RFC editor that I won't accept the change.  Write XML tags directly is best avoided and the extra tags aren't doing any harm.  You might argue even that consistency argues for them staying.  But if the optimization were automated, that could be different.

The current convert_dd lets the xml2rfc v2v3 conversion handle the complexity.
Of course, it could check whether grammar alternative 1 holds and leave out the <t>.
But I don't really know why.

I'm going to close this one; I think that your response is entirely appropriate (it was the same as my own).


AU3 Scripts Generated via Interactive-mode Incomplete

When running python3 sheepl.py --interactive and creating a new .au3 file, the AutoIT3 script appears to be incomplete.
Download script: test.au3.txt
The script generated by sheepl is as below:

#include <Word.au3>
#include <IE.au3>
#include <Array.au3>
Opt("SendKeyDelay", 70)
; define global task list
Global $aTasks[5] = ['IE_4', 'TeaBreak_1', 'CMD_2', '0_Teabreak', 'Powershell_0']
; creates Sleep Times array
Global $aSleepTimes[5] = ['106323', '104532', '52805', '24750', '11590']
; copies original array just encase the task list borks
$aRandTasks = $aTasks
; < ----------------------------------- >
; <          IE Interaction
; < ----------------------------------- >
Func IE_4()
Local $oIE = _IECreate("google.com",1,1,1)
Sleep(2000)
;WinWaitActive("Windows Internet Explorer")
;SendKeepActive("Windows Internet Explorer")
;WinSetState("Windows Internet Explorer","",@SW_MAXIMIZE)
; hardcoded sleep for now
; will convert to AutoIT random
; this is also where the IE interaction such as logging in etc will happen,
; spawning new tabs etc
; prob need a call out function to trigger a subroutine
Sleep(20000)
Send("!{F4}")
SendKeepActive("")
_IEQuit($oIE)
EndFunc
; < ----------------------------------- >
; <             Tea Break
; < ----------------------------------- >
; Nothing to do here but have a cuppa, it's a placeholder for a tea break
; creates an entry in the task list to then take a random slice of the
; timeslot which results in a random sleep action
; < ----------------------------------- >
; <          CMD Interaction
; < ----------------------------------- >
Func CMD_2()
Send("#r")
; Wait 10 seconds for the Run dialogue window to appear.
WinWaitActive("Run", "", 10)
Send("cmd{ENTER}")
WinWaitActive("[CLASS:ConsoleWindowClass]", "", 10)
SendKeepActive("[CLASS:ConsoleWindowClass]")
Send("hostname{ENTER}")
sleep(10324)
Send("whoami{ENTER}")
sleep(18192)
Send("ping <IP_ADDRESS>{ENTER}")
sleep(2742)
Send('exit{ENTER}')
SendKeepActive("")
EndFunc
; < ----------------------------------- >
; <             Tea Break
; < ----------------------------------- >
; Nothing to do here but have a cuppa, it's a placeholder for a tea break
; creates an entry in the task list to then take a random slice of the
; timeslot which results in a random sleep action
; < ----------------------------------- >
; <       PowerShell Interaction
; < ----------------------------------- >
Func PowerShell_0()
Send("#r")
; Wait 10 seconds for the Run dialogue window to appear.
WinWaitActive("Run", "", 10)
Send("powershell{ENTER}")
WinWaitActive("Windows PowerShell", "", 10)
SendKeepActive("Windows PowerShell")
Send("gwmi win32_service{ENTER}")
sleep(6995)
Send("$psversiontable{ENTER}")
sleep(5058)
Send("exit{ENTER}")
sleep(4298)
sleep(2000)
Send("exit{ENTER}")
EndFunc

As you can see from the above, an array is created of all the functions that Sheepl has generated and a second array of sleep times however, these do not appear to be used or called anywhere (except for the case of the backup variable for the $aTasks array...)
When passing this script to Au3Check, it passes with no errors or warnings however, when trying to execute the script with AutoIT3, it appears to process the script but, as none of the functions within it are ever actually called, nothing happens.
Additionally, within the $aTasks array there are values for teabreak functions which do not appear to exist within the script.

First of all, thank you for taking the time to raise an issue as you are the first.
So looking at your code, the while part is missing and after a quick test this is down to the loop being set to 'no' in the interactive console.
I always set mine to loop and it looks like i have omitted the logic for when someone selects no looping.
The issue is at line 255 inside the sheepl object
if self.loop == True:
but there is no condition for no loop. I will fix this and push a new code base tomorrow.
Below is my output when looping is set to true, and as you can see, the arrays are indeed used. Probably don't really need to close the array to be honest, and I have been working on a major rewrite for 0.3 so I will catch the redundant AutoIT arrays in that version.
#include <Word.au3>
#include <IE.au3>
#include <Array.au3>
Opt("SendKeyDelay", 40)

; define global task list
Global $aTasks[6] = ['0_Teabreak', 'TeaBreak_0', 'CMD_1', 'Powershell_2', 'TeaBreak_3', 'IE_5']
; creates Sleep Times array
Global $aSleepTimes[6] = ['13492', '156577', '111726', '124016', '139431', '54758']
; copies original array just encase the task list borks
$aRandTasks = $aTasks

; this is the loop that works if they have loop switch in sheepl set
; this is the master loop - will got forever
While 1
   ; this needs to grab the last shuffled sleep entry from tasks
    _ArrayShuffle($aRandTasks)
        ; clone the sleep array into this while loop
        $aRandSleepTimes = $aSleepTimes
        ; shuffle this array so it's unique everytime
        _ArrayShuffle($aRandSleepTimes)

   ConsoleWrite("[!] Going round the loop" & @CRLF)
   For $i In $aRandTasks
      ; start with a sleep Value
      ; pops the last shuffled value from the sleep array and assigns
      Local $vSleepTime =_ArrayPop($aRandSleepTimes)
      ConsoleWrite("[!] I will now sleep for : " & $vSleepTime & @CRLF)
      ; Sets the sleep time
      Sleep($vSleepTime)
          ;ConsoleWrite($i & @CRLF)
          ; gets the current function from the shuffled array
          $curfunc = ($i & @CRLF)
          ConsoleWrite($curfunc)
          ; call the function from the shuffled array
          ; the magic call
          Call($i)

   Next

WEnd

; < ----------------------------------- >
; <             Tea Break
; < ----------------------------------- >

; Nothing to do here but have a cuppa, it's a placeholder for a tea break
; creates an entry in the task list to then take a random slice of the
; timeslot which results in a random sleep action

; < ----------------------------------- >
; <             Tea Break
; < ----------------------------------- >

; Nothing to do here but have a cuppa, it's a placeholder for a tea break
; creates an entry in the task list to then take a random slice of the
; timeslot which results in a random sleep action

; < ----------------------------------- >
; <          CMD Interaction
; < ----------------------------------- >

Func CMD_1()

    Send("#r")
    ; Wait 10 seconds for the Run dialogue window to appear.
    WinWaitActive("Run", "", 10)
    Send("cmd{ENTER}")
    WinWaitActive("[CLASS:ConsoleWindowClass]", "", 10)
    SendKeepActive("[CLASS:ConsoleWindowClass]")

    Send("hostname{ENTER}")
    sleep(4617)
    Send("ping <IP_ADDRESS>{ENTER}")
    sleep(6303)
    Send("whoami{ENTER}")
    sleep(11425)

    Send('exit{ENTER}')
    SendKeepActive("")

    EndFunc

    ; < ----------------------------------- >
    ; <       PowerShell Interaction
    ; < ----------------------------------- >

Func PowerShell_2()
        Send("#r")
        ; Wait 10 seconds for the Run dialogue window to appear.
        WinWaitActive("Run", "", 10)
        Send("powershell{ENTER}")
        WinWaitActive("Windows PowerShell", "", 10)
        SendKeepActive("Windows PowerShell")

    Send("gwmi win32_service{ENTER}")
    sleep(10964)
    Send("$psversiontable{ENTER}")
    sleep(6949)

        sleep(2000)
        Send("exit{ENTER}")
        EndFunc

; < ----------------------------------- >
; <             Tea Break
; < ----------------------------------- >

; Nothing to do here but have a cuppa, it's a placeholder for a tea break
; creates an entry in the task list to then take a random slice of the
; timeslot which results in a random sleep action

; < ----------------------------------- >
; <          IE Interaction
; < ----------------------------------- >

Func IE_5()

    Local $oIE = _IECreate("http://www.google.com",1,1,1)
    Sleep(2000)
    ;WinWaitActive("Windows Internet Explorer")
    ;SendKeepActive("Windows Internet Explorer")
    ;WinSetState("Windows Internet Explorer","",@SW_MAXIMIZE)
    ; hardcoded sleep for now
    ; will convert to AutoIT random
    ; this is also where the IE interaction such as logging in etc will happen,
    ; spawning new tabs etc
    ; prob need a call out function to trigger a subroutine
    Sleep(20000)
    Send("!{F4}")

    SendKeepActive("")
    _IEQuit($oIE)

    EndFunc```

Regarding the teabreak functions, that is the correct behaviour, they only serve to assign what is essentially a 'null' task, but the benefit is that they take a portion of time relative to the amount of tasks. As an example you could have one cmd task and 4 teabreaks, the total length is 5 tasks, so the time gets split up according to this total task length which is useful, especially when looping as each time through the loop will shuffle the task list and then sleep times.
Without looping, they get baked in the order you supplied them and exit when the total time is completed.


import material-icons in ContentScript is failed

import 'material-icons/iconfont/material-icons.scss';
Error:
Failed to decode downloaded font: http://***/node_modules/material-icons/iconfont/material-icons.woff2
How to fix it?

@ajaxjs
https://github.com/vitejs/vite/issues/395
https://github.com/vitejs/vite/pull/398


Changine one slider makes the other sliders repaint, too

That kinda feels like a Chrome bug. Will see if I can reduce it.
On Sat, 20 Oct 2018, 16:11 Surma<EMAIL_ADDRESS>wrote:

[image: screen shot 2018-10-20 at 4 09 14 pm]
https://user-images.githubusercontent.com/234957/47257195-a1c9e400-d482-11e8-955b-e29e8429f33d.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChromeLabs/squoosh/issues/225, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAFtmuXsERHG5Mp7cEKvTDvhw5xuH7ztks5umz0fgaJpZM4Xx-Uq
.

This one still exists ... did we ever find out if this was browser bug or our bug?


Adding more dataframe example to read csv files

Which issue does this PR close?
Not related to pr but to improve document
Closes #.
Rationale for this change
Did not proposed any change just added example
What changes are included in this PR?
change in the dataframe example file
Are these changes tested?
Current implementation does not have any test to run
Are there any user-facing changes?
No
No Breaking change in public API.

Thanks again @DataPsycho !


Add support for LaTeX format in output

Closes #255

PR-Codex overview
This PR updates the eo-phi-normalizer project to include LaTeX output support in the transform and dataize commands.
Detailed summary

Added --tex option for LaTeX output in transform and dataize commands
Added Language.EO.Phi.ToLaTeX module for LaTeX conversion
Updated app/Main.hs to handle LaTeX output in the CLI commands

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

I made several suggestions in https://github.com/objectionary/normalizer/pull/314.
Additional suggestions:

[ ] Use consistent naming: either LaTeX or Latex
[ ] Update docs

[ ] Add a section about the --latex option. Provide examples there.

actions/checkout merged latex-option into master (link). That's why we get a weird error about MetaSubstThis (link) despite having no MetaSubstThis on latex-option. I suggest we merge master into latex-option and then fix the errors.


Suggestion: show makefile directory in task list

This provider seems to discover targets from multiple makefiles just fine, but it would be really nice if it was possible to show the makefile directory name next to the task in the task list, if possible.

Hey @ilkka, that is really a very important feature!!!
I'm currently struggling to decide on the right UX and how "readable" it is going to be.
I do use the "NPM" extension and they do a good job of showing from which file the target is.
NPM does have something like:

1 Target Name - 2 origin folder (3 VSCode puts workspace automatically)
4 npm run xxxxxx

I don't have item 4, which is a preview of the shell code to be executed, especially because Make can have multiline recipes, and the first line might not make sense 🤷🏻♂
So I think it is going to be a "compact" list without proper spacing, and become difficult to read.
NPM example:

I will be working on this, and if you have any suggestions, please feel free to write them here.

Which one do you think looks better?
A
The path on the second line

B
The path on the right side, no second line

:tada: This issue has been resolved in version 2.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove website-related files

The website can now be found under https://github.com/kit-parco/networkit-website.
All related files are thus no longer necessary and should be removed in order to ensure that changes are made to the website repository.

What is the progress on that? I guess most of this work is done, although there are a few files in Doc that are linked from the website. Do we want to move/remove them?

Commits 108a9e087c67d1aab22c96c997e7f3990bec1d59 2990a31e00bc67470aa724f6bdf35a38c2df9502 5802066fb1128e7107c7e19dd7928a8f9e9f6643 edab0afce5daee070ff6f2176b040ab26b8f5026 clean up the Doc/ directory and remove the website-related files.

When trying to access the website repository, I only get a 404 error - I guess this repository is private? Is this intentional? Basically this would mean that there is no more possibility for outsiders to contribute to the DevGuide or the getting started guide once they are really removed from the repository and the only way to access them is through the website.

Yes, the current website source (containing .rst sources for non-documentation .html) is private.
The plan is as follows: The documentation .rst files stay in this repository; the output files will of course not be part of any repository. Eventually we will migrate to readthedocs.io, which will automatically build the docs from this repository.
The website will migrate to GitHub pages (in the next few days); this will be a public repository. Eventually, we want to migrate it from .rst to markdown and use GitHub's Jekyll to build it. At that point, contributors will be able to easily submit PRs against the website.


[Metadata] Apply visibility in cadl-autorest emit and share code with openapi3

Currently, only the openapi3 emitter applies visibility during emit. We should move some code to shared openapi library and implement the same visibility handling in cadl-autorest as openapi3.

pri: 2
est: 5


[Bugfix] Support Rank Stabilized LoRA (RSLoRA)

vLLM will produce slightly incorrect outputs if a user provides a LoRA adapter trained with Rank Stabilized LoRA. I think the only change needed is to detect when a LoRA adapter has set use_rslora and then scale the lora_alpha accordingly, i.e.
lora_alpha = config["lora_alpha"] * math.sqrt(rank) if config["use_rslora"] else config["lora_alpha"]
This one-line PR does exactly that!
I confirmed for my own problem, where adapters are trained with RS-LoRA, this change leads to parity in model outputs between vanilla HuggingFace and vLLM, and without it, the outputs from vLLM are significantly different (and in my estimation, worse). Unfortunately I can't share this model but I could find or create a public example if need be. However, given that all RS LoRA does is scale alpha by sqrt(r) I think this change is de-risked.
I'd be happy to add a unit test with a little guidance!
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

This fix works for my setup, but on second inspection it's a little awkward:

It will only work when LoRA checkpoints are loaded with LoRAModel.from_local_checkpoint (not LoRAModel.from_lora_tensors)
It is technically performing (alpha * sqrt(r)) / r, instead of simply alpha / sqrt(r),  because it applies the * in LoRAModel.from_local_checkpoint here:

https://github.com/vllm-project/vllm/blob/c66c7f86aca956014d9ec6cc7a3e6001037e4655/vllm/lora/models.py#L371
and the / in LoRALayerWeights here:
https://github.com/vllm-project/vllm/blob/c66c7f86aca956014d9ec6cc7a3e6001037e4655/vllm/lora/lora.py#L30-L33
I think the solution to both problems is to apply the RS LoRA scaling once, in LoRALayerWeights.__init__. However this class currently has no way of knowing if use_rslora=True. It would be straightforward to provide that from LoRAModel.from_local_checkpoint, but I am not sure how to pass it from LoRAModel.from_lora_tensors

Ping

Is there anyone who could take a look at this? AFAICT models fine-tuned with RSLoRA still aren't working correctly in vLLM due to this bug (cc @Yard1)

Thanks  for your contribution.
Sorry for the delayed response. Would you still be interested in completing this feature? If so, please let me know.

Is there anyone who could take a look at this? AFAICT models fine-tuned with RSLoRA still aren't working correctly in vLLM due to this bug (cc @Yard1)

Thanks for your contribution. Sorry for the delayed response. Would you still be interested in completing this feature? If so, please let me know.

Yes! Happy to help get this over the finish line, just had a couple of concerns I listed above, mainly:

Solution will only work when LoRA checkpoints are loaded with LoRAModel.from_local_checkpoint (not LoRAModel.from_lora_tensors) --> Is this okay?
It is technically performing (alpha * sqrt(r)) / r, instead of simply alpha / sqrt(r) (both give you the same answer)

I really appreciate your response.
For RSLoRA specifically, your concerns are all okay . However, considering our future plans to support DoRA(see: https://github.com/vllm-project/vllm/issues/10849), I think we need to give this more thought. I suggest we could implement a class that stores some lora information(e.g. rank, use_rslora,lora_alpha and so on) and pass it to from_lora_tensors. This might be a more suitable approach

Is it a valid fix to change the alpha value on the saved Lora to
alpha_new = alpha * sqrt(r)
Should be mathematically equivalent when the Lora is loaded then right?

Is it a valid fix to change the alpha value on the saved Lora to
alpha_new = alpha * sqrt(r)
Should be mathematically equivalent when the Lora is loaded then right?
[Perhaps I am wrong but it seems an odd convention for the alpha or r to be applied at inference time. They are really learning rate hyperparameters, so the convention of rescaling delta W instead of just rescaling the adapter learning rate seems cumbersome. Not that this library has any say on this.]

THB, I haven't looked into this  implementation yet. We don't have control over how the LoRA weights are saved. What we can do is to align with PEFT.

Confirming that a hacky fix is to update the alpha in the adapter config as I described above:
alpha_new = sqrt(rank) * alpha_old
This will result in the same generation as peft.
The better fix would indeed to read in the rank and do that scaling if use_rslora is true.

@JohnGiorgi  FYI: https://github.com/vllm-project/vllm/pull/11003 has been merged. I think  we can modify some code based on this to complete this PR

Thanks @jeejeelee, hoping to dig into this tomorrow!

Would be really cool if this gets merged soon! :)

@jeejeelee Whoops, sorry got pulled away on something else. Will do this today! Is the fix just modifying my one-line change to reference peft_helper.use_rslora?

But v.0.6.5 is not supported anymore
error_msg:
ValueError: vLLM does not yet support RSLoRA.

@JohnGiorgi Thank you for your contribution and patience.

Woohoo! Thanks for all the guidance


Suggestion: you can export to phaser- UI -comps from adobe animation as a 2d game editor

As the title

That's exactly for what this framework was written. Or do you mean something else but UI?


Spack: "not processed by tsc resolver because base module is in node_modules"

Describe the bug
spack cannot finish compiling with the following error:
(node:55412) UnhandledPromiseRejectionWarning: Error: load_transformed failed

Caused by:
    0: failed to analyze module
    1: failed to resolve @nestjs/websockets/socket-module from<EMAIL_ADDRESS>    2: not processed by tsc resolver because base module is in node_modules
    3: index not found

Input code
reproduce repo: https://github.com/nartc/nest-swc-reproduce

Run yarn
Execute spack with --config pointing to spack.config.js

Config
{
  "jsc": {
    "target": "es2017",
    "parser": {
      "syntax": "typescript",
      "decorators": true,
      "dynamicImport": true
    },
    "transform": {
      "decoratorMetadata": true,
      "legacyDecorator": true
    },
    "keepClassNames": true,
    "externalHelpers": true,
    "loose": true
  },
  "module": {
    "type": "commonjs",
    "strict": true,
    "noInterop": true
  }
}

Expected behavior
Spack should finish successfully
Version
The version of @swc/core: 1.2.105
Additional Context
Running swc src -d dist works. So I'm not sure what's going on here. I expect spack to behave somewhat similar to swc given similar configurations

I am running into this same issue, can you suggest a workaround?

I have a similar issue:
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: load_transformed failed

Caused by:
    0: failed to analyze module
    1: failed to resolve stream from <PATH_TO_PROJECT>/node_modules/styled-components/dist/styled-components.esm.js
    2: not processed by tsc resolver because base module is in node_modules
    3: index not found] {
  code: 'GenericFailure'
}

This is a package inside a yarn monorepo. Running swc on an individual package works perfectly.

+1 Same issue when I want to use spack packing nestjs

Because of the esm/cjs and the trend that the packages are moving to esm. Providing a commonjs version of a module or library that import an esm only module. Require to transpile to commonjs the imported module from node_modules. esbuild by default transpile and bundle node_modules modules. And u opt out through --externals flag or option. And they allow using globs as well. swc should be capable of allowing the transpilation of node_modules packages.
Same error and issue.

Having the same issue. No response to this issue in nearly a year. 😞

I still have this issue. Is there any known solution?


Test basic tensor functions

bugfixes

due to dtype related bugs:

move dtypes to own module

only allow bool, int32 and float32

ingetration test for mnist test acc > 93 %

unit tests for backward pass and initialization related functions and some other stuff to be categorized a bit better.

TODO:

Perhaps split test_tensor.py across multiple modules according to repo structure
Figure out how to adjust tests to restricted dtypes


Remove MSStreamReader/WebKitFileSystem related types

prune() now filters based on common simple rule: propertyname: null means remove propertyname. This enables removing interface declarations. (was a part of #445)

@saschanaz are you planning on updating this PR?

thanks!

@saschanaz are you planning on adding more specs?

I've been busy for some other works but yes.


Add concrete values for environment variables (from Search repo)

To avoid duplicates for instructions between Search-Graph-Examples repo and Search repo, we decided to put concrete examples of values for the environment variables in this README.md file (see comment from PR-238).

Should we merge this one? 😅


Fmovies extension already change their domain

Source name
FMovies
Source language
English
Source link
https://fmovies24.to/
Other details
Fmovies extension not working, because they change their domain to https://fmovies24.to/. please update. thanks
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source website is down.
[X] I will fill out all of the requested information in this form.

Has it been fixed yet?

Its still not working

The merge request still awaits testing before they agree to change. It's understandable though, the change is just a simple link but it might have conflict with the other parts of the code. I guess we just have to wait.


Request: Add events to OutputChannel such as onHide and onShow

I am currently in the process of writing an extension that uses an output channel that is outputting live logs from an Azure Website from their Kudu APIs.
Currently the only way that the HTTP request will end is when the logstream API service times out after 20 minutes, I would much prefer to have the outputChannel have an event for onHide so that when the user hides/closes the outputChannel that the request stops processing, rather than further messages being pushed into it when it is not visible & that the user will need to re-invoke the extension to get new log messages

related to #6192


[jvm-packages] Train Booster from an existing model

What's in this PR
This PR expose a Java API to start the training from an existing Booster instead of from scratch.
Why do we need this change
Training from existing Booster could be helpful when the only parameter changed is the number of rounds, or we can implement disk-level checkpoint to recover from the previous training job.
How is this PR tested
The change is tested on agaricus dataset inside the demo, which is also illustrated in the unit test.

will look into this, @Yunni

@CodingCat Thank you!

Codecov Report

Merging #2964 into master will increase coverage by 0.44%.
The diff coverage is 93.75%.

@@             Coverage Diff              @@
##             master    #2964      +/-   ##
============================================
+ Coverage     43.19%   43.64%   +0.44%
- Complexity      207      210       +3
============================================
  Files           155      155
  Lines         11614    12196     +582
  Branches       1161      451     -710
============================================
+ Hits           5017     5323     +306
- Misses         6267     6687     +420
+ Partials        330      186     -144

Impacted Files
Coverage Δ
Complexity Δ

.../src/main/java/ml/dmlc/xgboost4j/java/Booster.java
54.69% <100%> (+1.02%)
33 <1> (+1)
:arrow_up:

...c/main/scala/ml/dmlc/xgboost4j/scala/XGBoost.scala
84% <100%> (+0.66%)
0 <0> (ø)
:arrow_down:

.../src/main/java/ml/dmlc/xgboost4j/java/XGBoost.java
83.84% <88.88%> (+0.38%)
32 <1> (+2)
:arrow_up:

src/tree/param.h
59.45% <0%> (-4.05%)
0% <0%> (ø)

include/xgboost/objective.h
36.36% <0%> (-3.64%)
0% <0%> (ø)

src/common/math.h
60.71% <0%> (-2.25%)
0% <0%> (ø)

include/xgboost/gbm.h
12.5% <0%> (-1.79%)
0% <0%> (ø)

src/gbm/gbtree.cc
19% <0%> (-1.13%)
0% <0%> (ø)

include/xgboost/tree_model.h
31.98% <0%> (-0.85%)
0% <0%> (ø)

tests/cpp/tree/test_param.cc
100% <0%> (ø)
0% <0%> (ø)
:arrow_down:

... and 63 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 7c6673c...8d62645. Read the comment docs.

would you extend the changes to Spark part, e.g. use a broadcast variable to pass models to executors and train based on that?

Will extend the changes to Spark and test it on larger dataset

I did some AWS load testing with a larger dataset and put it in gDoc. I need to update it after this round of CR comments. Will put it in the PR description shortly.

@Yunni test failed...

@CodingCat @superbobry I have pasted the gDoc link in the description. Feel free to comment.
@CodingCat That might be a transient error. Let's see if it fails again.

@CodingCat I understand the previous code is confusing. As a result, I moved all helper methods to a new class TmpBoosterManager along with documentations and unit tests. Let me know if it helps.

Looks like something similar to the last time failed again
left some comments

LGTM, merged thanks


unnecessary_null_comparison warning doesn't show consistently (if it should at all; and it shows an incorrect message...?)

Issue
I ran into an issue with the analyzer that doesn't seem to consider the value of variables implicitly initialized to null. You can reproduce this issue on dartpad.dev with a very simple example:
void main() {
  int? nullableInt;
  // displays the warning
  // "The operand can't be null, so the condition is always 'true'. Remove the condition."
  if (nullableInt == null) {
    // ...
  }
  // "The operand can't be null, so the condition is always 'false'. ...
  if (nullableInt != null) {
    // ...
  }

  int? nullableIntInitialized = null;
  // does not display the warning
  if (nullableIntInitialized == null) {
    // ...
  }
  // does not display the warning
  if (nullableIntInitialized != null) {
    // ...
  }
}

There are two issues I want to bring up with the above example:

The first if (...) statements are highlighted as an "unnecessary check", whereas the second ones aren't. This should probably be consistent, since adding ... = null to the initialization doesn't seem like it should remove these warnings (if the warnings should even be present at all)
The first warning says "The operand can't be null, so the condition is always 'true'. Remove the condition." -- If the condition is 'true', the operand must be null, so why is it saying it "can't be null"? This especially feels like a bug, since you could instead initialize int? nullableInt = 5; and get a warning that (imo correctly) says "The operand can't be null, so the condition is always 'false'." (This also applies to the second warning.)

Both of the above issues would be resolved if the warnings just never showed up. However, if it is expected the warnings should show up, both problems I mentioned above would need to be addressed.
Info
Results of dart info:
General info

Dart 3.1.2 (stable) (Tue Sep 12 16:26:23 2023 +0000) on "macos_arm64"
on macos / Version 14.0 (Build 23A344)
locale is en-US

Project info

sdk constraint: '^3.1.0'
dependencies:
dev_dependencies: test

dartpad.dev version (as of posting):
Dart 3.3.0
P.S. Thanks for designing/making such an awesome language; I use it for everything I can :)

FYI, this was implemented intentionally in https://github.com/dart-lang/sdk/issues/51093.

I suspect that consistency between "no initializer" and "initialized with null" cannot be easily implemented. We have a long term experiment that might help with this, but I don't think we have immediate plans when it will be ready. Theoretically we could have "is the variable ever assigned not null value" flag, but it seems that the value of this feature is quite low. Prove me wrong, of course, I might undervalue it.
I agree that the error message is confusing.

That's good insight. I agree with you, I think seeing that inconsistency would lead to at worst a "huh, that's weird" kind of scenario -- I mostly brought that up for the sake of recording it somewhere. I do hope to see changes to the error message, though, assuming that's a quick-and-easy fix. That message is what led me to digging in and making sure I understood variable initialization correctly (ie is a nullable variable initialized to null, or left uninitialized like non-nullable variables, when it isn't explicitly given an initialization expression).


Fix: Add missing rules

This will fix 404 responses for links that point to max-classes-per-file and prefer-object-spread rules.
Root cause is eslint/eslint-release#22. Hopefully we can fix that before next release!

Since the files are being added manually, should we include a note at the top of the files that the rules are only available on an alpha release? It seems like someone could be surprised if they do npm install eslint@latest and some of the listed rules aren't present (although they could also check the bottom of the page to see when the rule was added, if necessary).

@not-an-aardvark Agreed, but I would prefer to solve that problem separately/long term. This is just to fix broken links people are already reporting.
I created an issue on ESLint to discuss one possible approach: https://github.com/eslint/eslint/issues/10412


Shadow looks little weird on Bright texture.

Tested versions
v4.4.dev5.official [9e6098432]
System information
Godot v4.4.dev5 - Android - Single-window, 1 monitor - OpenGL ES 3 (Compatibility) - Adreno (TM) 610 -  (8 threads)
Issue description
I don't have idea how I should write it. Shadow looks like glowing on Bright Texture. Here is the preview:

Steps to reproduce
n/a
Minimal reproduction project (MRP)
n/a

I suspect that this is just a problem from blending in gamma-corrected sRGB space. To validate, we could compare the same scene in Godot 3 using the GLES2 renderer which also renders in Gamma-corrected sRGB space.


feat: adding in windows dropgz to pre-cache list

What type of PR is this?
/kind feature
What this PR does / why we need it:
This pre-cache's Windows dropgz for AKS nodes
This Windows dropgz is only used in Overlay nodes in AKS for now, but asked by Abel to start caching it

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2285

Relevant Lines:
2881

💛  - Coveralls


vignettes causing errors in GHA (but not locally)

Might be related to "print" issues:
https://github.com/r-lib/actions/issues/319#issuecomment-863992073
https://github.com/r-lib/devtools/issues/2407

Even using the "--no-vignettes" flag during R checks produces the errors:
Loading required package: rcmdcheck
── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file 'D:\a\echolocatoR\echolocatoR/DESCRIPTION' ... OK
* preparing 'echolocatoR':
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
Error: --- re-building 'QTLs.Rmd' using rmarkdown
Quitting from lines 74-83 (QTLs.Rmd)
Error: Error: processing vignette 'QTLs.Rmd' failed with diagnostics:
'CreateProcess' failed to run 'C:\Users\RUNNER~1\AppData\Local\R\cache\R\ECHOFI~1\FINEMAP\FINEMA~1.1_X\FINEMA~1.1_X -h'
--- failed re-building 'QTLs.Rmd'
--- re-building 'docker.Rmd' using rmarkdown
--- finished re-building 'docker.Rmd'
--- re-building 'echolocatoR.Rmd' using rmarkdown
Quitting from lines 85-95 (echolocatoR.Rmd)
Error: Error: processing vignette 'echolocatoR.Rmd' failed with diagnostics:
Must provide a valid target_path.
--- failed re-building 'echolocatoR.Rmd'
--- re-building 'finemapping_portal.Rmd' using rmarkdown
Downloading: https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/ASXL3/multi_finemap/ASXL3.UKB.multi_finemap.csv.gz
trying URL 'https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/ASXL3/multi_finemap/ASXL3.UKB.multi_finemap.csv.gz'
Content type 'application/octet-stream' length 157348 bytes (153 KB)
==================================================
downloaded 153 KB
Downloading: https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/BIN3/multi_finemap/BIN3.UKB.multi_finemap.csv.gz
trying URL 'https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/BIN3/multi_finemap/BIN3.UKB.multi_finemap.csv.gz'
Content type 'application/octet-stream' length 230370 bytes (224 KB)
==================================================
downloaded 224 KB
Downloading: https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/ASXL3/LD/ASXL3.UKB.LD.csv.gz
trying URL 'https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/ASXL3/LD/ASXL3.UKB.LD.csv.gz'
Content type 'application/octet-stream' length 66098 bytes (64 KB)
==================================================
downloaded 64 KB
Downloading: https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/BIN3/LD/BIN3.UKB.LD.csv.gz
trying URL 'https://github.com/RajLabMSSM/Fine_Mapping_Shiny/raw/master/www/data/GWAS/Nalls23andMe_2019/BIN3/LD/BIN3.UKB.LD.csv.gz'
Content type 'application/octet-stream' length 100237 bytes (97 KB)
==================================================
downloaded 97 KB
--- finished re-building 'finemapping_portal.Rmd'
--- re-building 'summarise.Rmd' using rmarkdown
The magick package is required to crop "C:/Users/runneradmin/AppData/Local/Temp/RtmpAbYNk3/Rbuild5e81f88ea1/echolocatoR/vignettes/summarise_files/figure-html/super_summary_plot()-1.png" but not available.
--- finished re-building 'summarise.Rmd'
SUMMARY: processing the following files failed:
  'QTLs.Rmd' 'echolocatoR.Rmd'
Error: Error: Vignette re-building failed.
Execution halted
Error: Error in proc$get_built_file() : Build process failed
Calls: <Anonymous> ... build_package -> with_envvar -> force -> <Anonymous>
Execution halted
Error: Process completed with exit code 1.
Run actions/upload-artifact@v2
Warning: No files were found with the provided path: check. No artifacts will be uploaded.

Thought it might be related to this, but setting this var in the global env and then passing it to the R CMD step didnt seem to help:
https://github.com/r-lib/remotes/issues/332

Looks like theres two main issues here.
QTL.Rmd
Error: --- re-building 'QTLs.Rmd' using rmarkdown
Quitting from lines 74-83 (QTLs.Rmd)
Error: Error: processing vignette 'QTLs.Rmd' failed with diagnostics:
'CreateProcess' failed to run 'C:\Users\RUNNER~1\AppData\Local\R\cache\R\ECHOFI~1\FINEMAP\FINEMA~1.1_X\FINEMA~1.1_X -h'

echolocatoR.Rmd
Quitting from lines 85-95 (echolocatoR.Rmd)
Error: Error: processing vignette 'echolocatoR.Rmd' failed with diagnostics:
Must provide a valid target_path.

Another error coming up in Linux Docker checks (but not when running in R console on Linux, nor when i run checks in Rstudio on my Mac):
Error in `grid.newpage()`: could not open file '/tmp/RtmpR72AYX/working_dir/Rtmpz2f6Oo/results/GWAS/Nalls23andMe_2019/BST1/multiview.BST1./usr/local/lib/R/site-library/echodata/extdata/BST1.1KGphase3.vcf.bgz.1x.png'
Backtrace:
    ▆
 1. └─echolocatoR::finemap_loci(...) at test-finemap_loci.R:77:2
 2.   └─base::lapply(...)
 3.     └─echolocatoR (local) FUN(X[[i]], ...)
 4.       └─base::tryCatch(...)
 5.         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
 6.           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 7.             └─value[[3L]](cond)

[ FAIL 1 | WARN 28 | SKIP 1 | PASS 28 ]
Error: Test failures
Execution halted


Update to MAPL 2.35.3

This PR updates GEOSgcm to use MAPL 2.35.3. This has a bug fix for an ExtData2G bug found by @sdrabenh and @Jcampbell-8
All my testing shows this to be zero-diff, but I also don't know how to trigger the bug.

Closing. Superseded by #544


Add prettierrc file

@anuragverma108 Please review and merge for #131  this issue

@anuragverma108 review and merge #389

Great contribution to Hacktoberfest'24! 🎉


Fix leaking of Mesh version and lod memory when freeing mesh in GLES3

Should fix: https://github.com/godotengine/godot/issues/65483
I can't quite tell as I haven't got asan running yet

Thanks!


Use command without select multiple-words dates

The plugin's description says that "for single-word dates (e.g. today, tomorrow, friday, etc.), it's possible to use the command without selecting the word first."
Could you extend this feature to include also the other multiple-words date?

This would be quite hard to do! The reason why you need to select multi-word dates is that the parser needs to know where in your document to find them. On a particular note, how would you identify multi-word dates? How many words should the parser try to include?

Let me explain. I write the date, as in the demo, then, without selecting anything, I press Ctrl+Y and the parser search for multi-word dates in the words before the cursor position. How many words? According to the demo, the recognized expressions are at most 3 words long (e.g. in 3 weeks, in one year etc.), so the parser should search in the 3 words before the cursor position.
I don't mean that the parser should search the whole document.

That could be doable but I am not sure that commands are always at most 3 words long. It probably also needs first to check the two prior words, and if it doesn't return a valid date try with three. Since I can't really promise I'll have time to look into this in the near future, I'm willing to accept PRs for this.

What if this just looked back to the beginning of the current line (or to the end of the current line) rather than searching throughout the document? That way it wouldn't have to be specifically three words.
But that's still not a trivial kind of parsing to do.

I honestly thought to parse 3 words is easier than a whole line.
I am not a programmer, but I would like to make an observation. Currently the plugin does the selected text.
To get the desired behavior, the plugin should automatically select the 3 words before the cursor, then do them; if it doesn't find a date, try the last 2 words; if it still doesn't find anything, try the last word.
I'll give an example.
Suppose I write
"in 2 months" and I have the cursor after the s. I press Ctrl+Y. The plugin selects the 3 words before the cursor, recognizes the date and replaces it.
Other example
Suppose I write
"I will go to the park today" and I have the cursor after y. I press Ctrl+Y. The plugin selects the 3 words before the cursor, it doesn't recognize any date. Then try with the last 2 words, it doesn't recognize any date. Then try with the last word, it recognizes the date and replaces it.

Not exactly the way it was requested in this issue, but I consider the auto-suggest in v0.5.0 to fix this.


Iterate on API sketch

Refine a few aspects of the API sketch started this afternoon.
@arschles @slack @duglin @MHBauer @vaikas-google  @pwittrock @bmelville

Before we go much further I'd like to understand how we can have the service controller be generic. Pulling in K8s imports doesn't feel generic :-)

LGTM assuming we'll continue iterating after this

@arschles @duglin
I would prefer strongly to avoid thinking about this for now to keep the water clear.  I think there are a number of elegant options that can eliminate the surfacing of k8s concepts to users of other platforms, but I would prefer to discuss that in inning 5 or 6 of the v1 series, and we are in inning 2 now.

Also, @duglin do you believe it would be good enough to replace the k8s-imported data types with our own copies? for example, instead of using kapi.ObjectMeta, we copy the relevant bits into our own type and use it herein

all sounds fine to me :+1:


[Feature] Scripting function to implement alternate command execution function

Using Script, I found that it is not possible to alternate between two commands, for example, on and off. Need to keep sending alternate commands to test stability

Hello, thank you for your feedback and use, could you please provide your specific test scenarios and data? I'll see if I can help you to finish editing a script.

@ysfscream {"command":"raise"}  and {"command":"putdown"}

I originally wanted to use the parity num++ method to implement this judgment condition, but there was a syntax error

Sorry, I found that there is really no way to implement this function, maybe I should bring index information for each payload so that the index can be used to publish out different data each time.

有结果了吗？@ysfscream

@DreamPWJ Sorry about that. Not currently implemented on the MQTT X desktop, perhaps you could start by using the MQTT X CLI and editing an automation script to change your content.

@DreamPWJ Hi, I just added message type and index to the script function, which should do what you need. We will include it in the new release, please look forward to!
function handlePayload(value, msgType, index) {
  if (index % 2 === 0) {
    value.command = 'putdown'
  } else {
    value.command = 'raise'
  }
  return JSON.stringify(value, null, 2)
}

execute(handlePayload)

Hi, thanks. This now available on https://github.com/emqx/MQTTX/releases/tag/v1.9.0. I will close this issue. You can copy the above codes to test.

@ysfscream
Can it support scheduled sending?

YES of course. From the menu in the upper right corner, select Timed Messages.

@ysfscream  run script  Can it support scheduled sending?

YES, run the script first and then use the timed message.


Make sure you ran modal.setup() on the main process before calling this function

Following the basic example for this on my project I am running into the following error:
 Make sure you ran modal.setup() on the main process before calling this function
Currently running Electron 1.7.12 on Ubuntu x64
Good day

Same problem here


[Feature request] Option to dumps all ldap attributes from root ldap

From a pentest I have found that a owned user was able to read an LAPS entry (new one msLAPS-Password) but not LAPS Legacy.
But Rusthound like Bloodhound doesn't dump all attributes and associated ACE, so this path was not visible, I was blind...
The targeted user also had unusual ACLs in non-standard LDAP paths linked to SCCM in CN=Services,CN=Configuration.
Feature:

Add an option to dump all attributes wite ACE --dump-ldap-fields=all
Add a feature to dump only custom fields --dump-ldap-fields=default,msLAPS-Password,msLAPS-EncryptedPassword,msLAPS-EncryptedDSRMPassword
Add a feature to recursively dump all objects in an LDAP path --dump-ldap-path-recurssiv=CN=Services,CN=Configuration

Hi @1mm0rt41PC,
I'm going to add the LAPS attributes relating to the encrypted version. This will warn the auditor whether or not if the user used can read the LAPS passwords stored for a computer object.
https://learn.microsoft.com/fr-fr/windows-server/identity/laps/laps-technical-reference
As far as the non-standard "Configuration" part is concerned, version 2 of RustHound will automatically retrieve the namingContext in order to retrieve the objects associed (Container,Group,User,etc).
For example, if the domain has the following naming context CN=Configuration,DC=DOMAIN,DC=LOCAL then RustHound will automatically fetch the stored objects (useful for ADCS and SCCM for example) and the associated ACE.
For information, version 2 of RustHound is almost complete. It will feature a complete restructuring of the Rust code and compatibility with BloodHound-CE.
Version 2 of RustHound will also automatically generate the following ADCS-related files:

[x] aiacas.json
[x] rootcas.json
[x] enterprisecas.json
[x] certtemplates.json
[x] ntauthstores.json

Thanks for your suggestion, I'll take it into account and incorporate it into version 2. :smiley:

Hi there!
Great news! I can't wait to see version 2.0, is there a channel/tag/branch alpha 2.0?
To avoid multiple modifications of the code what do you think about managing the dump of attributes via a yaml conf file with why not an embedded version in the code.
With the format:
dump:
    objectClass:
        ? attribute_A // Dump attribute_A and ACE write only
        secretAttribute: read // Dump only ACE ref to read

We can imagine:
version: 2

defaults: &commonAttrib
    ? name
    ? canonicalName
    ? objectSid
    ? objectGUID
    ? objectCategory
    ? displayName

dump:
    user:
        <<: *commonAttrib
        ? accountExpires
        ? adminCount
        ? badPasswordTime
        ? badPwdCount
        ? cn
        ? description
        ? distinguishedName
        ? isCriticalSystemObject
        ? lastLogoff
        ? lastLogon
        ? lastLogonTimestamp
        ? logonCount
        ? logonHours
        ? memberOf
        ? msDS-parentdistname
        ? msDS-PrincipalName
        ? primaryGroupID
        ? pwdLastSet
        ? sAMAccountName
        userAccountControl: {"parser": func_pimpMyParser}
        ? userPassword
        ? whenChanged
        ? whenCreated
        ? serviceprincipalname

    computers:
        <<: *commonAttrib
        msLAPS-Password: {"parser": "func_pimpMyPassword", "ACE":"read"}
        msLAPS-EncryptedPassword: read
        msLAPS-EncryptedDSRMPassword: read
        ? serviceprincipalname

    group:
        <<: *commonAttrib
        ? groupType

    dns:
        <<: *commonAttrib

    pKICertificateTemplate:
        <<: *commonAttrib
        ? msPKI-Cert-Template-OID
        ? msPKI-Enrollment-Flag
        ? msPKI-Minimal-Key-Size
        ? msPKI-Private-Key-Flag
        ? msPKI-RA-Application-Policies
        ? msPKI-RA-Signature
        ? msPKI-Template-Minor-Revision
        ? msPKI-Template-Schema-Version
        ? pKICriticalExtensions
        ? pKIDefaultCSPs
        ? pKIDefaultKeySpec
        ? pKIExpirationPeriod
        ? pKIKeyUsage
        ? pKIMaxIssuingDepth
        ? pKIOverlapPeriod

    certificationAuthority:
        <<: *commonAttrib

    dnsNode:
        <<: *commonAttrib

    domainDns:
        <<: *commonAttrib
        ? gPLink
        ? fSMORoleOwner
        ? maxPwdAge
        ? minPwdAge
        ? minPwdLength
        ? ms-DS-MachineAccountQuota
        ? pwdHistoryLength
        ? pwdProperties

    groupPolicyContainer:
        <<: *commonAttrib
        ? gPCFileSysPath
        ? gPCFunctionalityVersion
        ? gPCMachineExtensionNames

    organizationalUnit:
        <<: *commonAttrib
        ? gPLink

It's a good idea, but it would make version 2, which is almost finished, unusable.
I've changed everything to use structures dedicated to each object in the directory in order to optimise the execution of RustHound.

Each object is now structured as follows:
/// User structure
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
pub struct User {
   #[serde(rename = "ObjectIdentifier")]
   object_identifier: String,
   #[serde(rename = "IsDeleted")]
   is_deleted: bool,
   #[serde(rename = "IsACLProtected")]
   is_acl_protected: bool,
   #[serde(rename = "Properties")]
   properties: UserProperties,
   #[serde(rename = "PrimaryGroupSID")]
   primary_group_sid: String,
   #[serde(rename = "SPNTargets")]
   spn_targets: Vec<SPNTarget>,
   #[serde(rename = "Aces")]
   aces: Vec<AceTemplate>,
   #[serde(rename = "AllowedToDelegate")]
   allowed_to_delegate: Vec<Member>,
   #[serde(rename = "HasSIDHistory")]
   has_sid_history: Vec<String>,
   #[serde(rename = "ContainedBy")]
   contained_by: Option<Member>,
}

impl User {
   /// New User
   pub fn new() -> Self {
      Self { ..Default::default() }
   }

   /// Function to parse and replace value for user object.
   pub fn parse(
      &mut self,
      result: SearchEntry,
      domain: &String,
   ) {
      // parse all ldap attribut and change value in User struct
   }
  }

RustHound version 2.0 is out and the output is now compatible with BloodHound-CE
Changes can be find in v2 branch. :rocket:
https://github.com/NH-RED-TEAM/RustHound/commit/b445723c0330c5b3e5c237d5632625379bf48fbf
LAPS arguments: https://github.com/NH-RED-TEAM/RustHound/blob/v2/src/objects/computer.rs#L266

OMG ! Nice job ! Super-fast development speed 🤯

I'm closing the issue.
In version 2, all the attributes are retrieved and can be analysed in debug mode rusthound ....... -vv to trace all the LDAP attributes of the retrieved object.


Fix Job.prototype.poll_

#2745
Error was not being instantiated and thus never triggering the errback.

Coverage remained the same at 100.0% when pulling e06cccb3e3d7c66cb848f296819613b660a8722c on ziplokk1:master into 25af76e2f79ad3a1da9e859aefd9a6db942c2aea on GoogleCloudPlatform:master.

I signed it!

Closing as explained in: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2745#issuecomment-344752615


Fix Apple Universal 2 (arm64/x86_64) builds

The earlier change https://github.com/AcademySoftwareFoundation/openexr/pull/772 is no longer required on recent betas od Xcode (I used Xcode 12.2 beta2), so that is reverted. Also this reconfigures how the config define for AVX works so that ARM64 and x86_64 can be built with the same config header (as required by cmake universal builds).

I have fixed the sign-off. Cheers.

@kdt3rd Kimball, would you mind giving this a once over? A second set of eyes would be great, I want to make sure there isn't some weird platform permutation that I haven't thought.

Perhaps a new point release soon with this? This fixes universal build support for the macOS platform, which is a quite significant change.

We'll discuss this at the next steering committee meeting.
Thanks,

Cary

On Fri, Nov 27, 2020 at 2:07 PM Greg Cotten<EMAIL_ADDRESS>wrote:

Perhaps a new point release soon with this? This fixes universal build
support for the macOS platform, which is a quite significant change.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AcademySoftwareFoundation/openexr/pull/854#issuecomment-734999723,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFC3DGMJVWYCMFZTVNCA6OTSSAPI5ANCNFSM4STFWALQ
.

--
Cary Phillips | R&D Supervisor | ILM | San Francisco

We'll plan a 2.5.4 release with this and some other fixes, but won't likely be able to make it before early January. The 3.0 release will likely come later in January.

Makes sense hopefully it will be "re-fixed" for the 3.0 release, as well. Re-opened the issue here.

@cary-ilm Did this make it into 2.5.4?

@cary-ilm Did this make it into 2.5.4?

Unfortunately, this did not make it into 2.5.4, my apologies, that was my
oversight.  We'll put out a 2.5.5 release within a few days that includes
this and some other minor fixes. There is one outstanding issue #890 that
we'd like to resolve first.
On Fri, Jan 29, 2021 at 12:14 PM Greg Cotten<EMAIL_ADDRESS>wrote:

@cary-ilm https://github.com/cary-ilm Did this make it into 2.5.4?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AcademySoftwareFoundation/openexr/pull/854#issuecomment-770025785,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFC3DGK734F3MLNJJOQTRTLS4MJKDANCNFSM4STFWALQ
.

--
Cary Phillips | R&D Supervisor | ILM | San Francisco


is there any way save history item to the snippet folder?

in Paste for mac app, there is a feature: pin a copied item to other folder. it is very convenient to save some history permanently. is there any similar feature?

This seems an obvious feature to look at adding. Even as simple as saving them with a modifier key to a default staging location where you could rearrange them later in Snippet editor.


Handle OPTIONS requests correctly

The only thing you can make is a GET request. But hey, it's a source of 405 errors on the site (User-Agent says some version of Firefox), so might be nice to fix.

Related: #113.

Closing as “I don’t care enough to fix this properly”.


[Bug] - AgentCommandService throws "Read timed out" exception after agent commands have been disabled

Describe the bug
When I enable the agent commands (and/or log-preloading) in the configuration server and then later disable them, I receive the following exception:
2022-11-15 11:40:51,139 ERROR 382527 --- [inspectIT] [pectit-thread-1] r.i.o.core.command.HttpCommandFetcher    : An error occurred while fetching an agent command.
java.net.SocketTimeoutException: Read timed out
	at java.base/java.net.SocketInputStream.socketRead0(Native Method)
	at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
	at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
	at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
	at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280)
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
	at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
	at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
	at rocks.inspectit.ocelot.core.command.HttpCommandFetcher.fetchCommand(HttpCommandFetcher.java:129)
	at rocks.inspectit.ocelot.core.command.CommandHandler.nextCommand(CommandHandler.java:72)
	at rocks.inspectit.ocelot.core.command.CommandHandler.nextCommand(CommandHandler.java:57)
	at rocks.inspectit.ocelot.core.command.AgentCommandService.run(AgentCommandService.java:93)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

The exceptions are also thrown for a while, even if I re-enable the agent commands.
To Reproduce
Steps to reproduce the behavior:

enable the agent commands
wait until the agent commands are enabled (e.g., wait until you can get the logs from the Agent Status Table)
disable the agent commands
See error

Expected behavior
I would not expect exceptions to be thrown if I disable agent commands

While trying to find the cause of the problem, I figured out that the problem lays most likely at the "Show Logs" button.
It is possible for me to switch the agent commands on/off without any error message.
Then I noticed that the above error message always gets thrown approximately 30 seconds after pushing the "Show Logs" button.


Support training-only components in ComponentGraph

Right now, we support samplers as training-only components by checking if the component is a sampler component and not taking any action if so: https://github.com/alteryx/evalml/blob/4afe6dde123c59386d792f17c07664f1c836bcfd/evalml/pipelines/component_graph.py#L323
Once we add other components that are train-only (ex: drop rows), we should verify our behavior holds for other components by updating this line to be more general.

One idea: tagging. All training-only components get static attribute TRAINING_ONLY, and we update this elif to check that static tag.


chore: upgrade charts

updated chart jx3/jxboot-helmfile-resources from 1.0.41 to 1.0.42
updated chart jx3/lighthouse from 1.0.3 to 1.0.6

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign macox
You can assign the PR to them by writing /assign @macox in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test gsm

kube
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test gsm

kube
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test kube

vault
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test gsm

kube
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test kube

vault
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test vault

gsm-kapp
4e2cd5903c6096205c8893e70f145cabe4b360d5
link
/test gsm-kapp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


issue in resolving dependencies... Because test_coverage

[contentstack_utils] dart pub get
Resolving dependencies...
charcode 1.2.0 (1.3.1 available)
meta 1.3.0 (1.4.0 available)
Got dependencies!
exit code 0
--
[tensify] dart pub get
Resolving dependencies...
Because test_coverage >=0.3.0 depends on glob ^1.1.7 and dartdoc 0.45.0 depends on glob ^2.0.0, test_coverage >=0.3.0 is incompatible with dartdoc 0.45.0.
And because no versions of dartdoc match >0.45.0 <0.46.0, test_coverage >=0.3.0 is incompatible with dartdoc ^0.45.0.
So, because tensify depends on both dartdoc ^0.45.0 and test_coverage ^0.5.0, version solving failed.
exit code 1

when test_coverage is about to support null-safety?

@ishaileshmishra is this package reliable?
do you know any alternatives?

Checking back after a year. Is this repository maintained anymore @pulyaevskiy


Error: Invalid JSON Body passed

Seems like there's a WP Core issue with v4.7 where a "invalid_json_body" error is returned by the API if the request has no body, which is the case with WooCommerce.get requests.
See the core issue here.
Same thing on the WC API PHP Wrapper and apparently removing the Content-Type header works as a temporary fix - any chance the same can be done here, while WP 4.7.1 isn't released? Or is there another workaround? Thanks!

@HelloTiago you'd have to do the same as my suggestion in there and remove the content type header as a temporary solution.

Fix included into 1.4.2.
Thanks for report it.