Cloud run serving requirements

enable https
gzip the file
explicitly set cache headers (probably want to just set these to 0). Also vary: Accept-Encoding. We should just glance at the netlify headers and make sure ours are similar.

Took a look at the headers Netlify is using vs GCP, looks like they're mostly the same, and all our headers look good. We're not explicitly setting cache control headers but it seems that GCP defaults to max-age 0 so I think it's safe to leave it.
The only thing remaining here is to enable gzip for better initial load performance. For that we'd want to set these two headers:
Content-Encoding: gzip
vary: Accept-Encoding

I'll split out a separate bug and add to the backlog for this.


get_args gives incorrect with Python 3.6 in case of nested generics

The following example illustrates the issue:
from typing import Collection, List, TypeVar
import typingx

T = TypeVar("T")

print(typingx.get_args(List[Collection[T]][int]))  # should be (typing.Collection[int],)
#> (typing.Collection[~T],)

Hi @wyfo and thanks a lot for reporting!
Generics on python 3.6 are not supported at all by default so there may still be some hidden bugs. But your usecase should be solved 👍 Will do a v0.5.2


Error messages in API calls should be formatted

Describe the bug
Error messages returned from Frappe API calls are not formatted properly. This needs to be fixed.

Will probably not need this after v15. Refer: https://github.com/frappe/frappe/pull/22300


Increase resolution on elapsed time to milliseconds

For tasks that take less than 1 second, etime and rtime will now show milliseconds. For example: 123ms. This is much better than the 0s or 1s I'm seeing now.

Thank you! v3.0.7 created


[OpenStack] Reuse connections to same host/port

Fixes #1885 1885.
If the connection host/port/secure hasn't changed then the current connection can be reused.
This greatly reduces overhead when doing bulk actions such as storage object downloads.
In testing with bulk downloading storage objects, this resulted in an overall 2x throughput increase.
Enables OpenStack connection reuse
Description
The underlying common.base.Connection object reuses connections (via LibcloudConnection -> Requests Session -> urllib3 connection pool) but the OpenStack's driver discards this every time it makes a new request.  This results in a large amount of time spent opening connections and verifying SSL certificates.  The proposed change only creates a new connection if any of the host/port/secure settings have changed.
In theory, for HTTP-based providers there is never a need to explicitly create a new connection because the underlying Requests/urllib3 libraries will create new connections as needed.  However, the underlying LibcloudConnection class treats host an immutable, so the session it creates will only ever be used for a single host/port.  For this reason, we only need to re-connect() when the host/port changes.
Status
Done, ready for review.
Checklist (tick everything that applies)

[X] Code linting (required, can be done after the PR checks)
[ ] Documentation
[ ] Tests
[ ] ICLA (required for bigger changes)

@llamasoft Can you please sign an ICLA - http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes? Thanks.

I've added a basic unit test in ebecb9af9593ab639298b3f17373efa3056fb765.
This test is not the most ideal since it only exercises the logic of _set_up_connection_info() method, but it doesn't actually verify it end to end to make sure the underlying HTTP connection is actually re-used. That would require an integration test / similar. It's still better to have this unit test than having no test though.
Change has now been merged into trunk. Thanks


A due release of<EMAIL_ADDRESS>

Would be nice to get some release out to shut out snyk security scan:
➜ snyk test --severity=medium

Issues with no direct upgrade or patch:
  ✗ Information Exposure [Medium Severity][https://security.snyk.io/vuln/SNYK-JS-NODEFETCH-2342118] in<EMAIL_ADDRESS>    introduced by<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>  This issue was fixed in versions: 2.6.7, 3.1.1
  ✗ Denial of Service [Medium Severity][https://security.snyk.io/vuln/SNYK-JS-NODEFETCH-674311] in<EMAIL_ADDRESS>    introduced by<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>  This issue was fixed in versions: 2.6.1, 3.0.0-beta.9
  ✗ Regular Expression Denial of Service (ReDoS) [Medium Severity][https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450] in<EMAIL_ADDRESS>    introduced by<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>  This issue was fixed in versions: 0.7.33, 1.0.33

ps<EMAIL_ADDRESS>tag is missing from github:

https://github.com/IvanGoncharov/graphql-voyager/tags

@glensc Thanks for reporting 👍
I pushed the missing tag and released v1.0.0 since it was long overdue.


feat(login): possibility to switch between instances

closes #53
Signed-off-by: Lukas Mertens<EMAIL_ADDRESS>
Stack:

#86
#83
#78
#70
#68
#67 ⬅
#64
#63
#62
#61
#60
#58

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

✓ Commit merged in pull request #70


NEXT.Js14 Module Not Found Error

I am on latest version of Nextjs14, using pnpm as node manager

Hey. Thanks for reporting, this is fixed in<EMAIL_ADDRESS>now. Can you please try this version?
There have been two issues:

I accidentally broke the npm package by switching from the main field to the browser one in package.json: https://github.com/grubersjoe/react-activity-calendar/commit/963985b3d7ef48b892b09d2eabbef2b5dbf92751
React Server Components were not supported yet, because the 'use client' directive was missing


Added table of contents

@ThibaultKlein @paulmiard
This is my 2 TODOs: Table of Contents as well as a general overview and guide for contributing.

:+1:

:+1:


restricting dashstyle function to the home page

coverage: 83.948%. remained the same
when pulling 15563d720d1d9725afc55c0fa23434f1cd4c7d4d on dashtab-bug
into bc0cbaa5101fdbb5641a0b828b00e7a8c333ecd8 on main.


Metro-UI TypeScript type definitions

I am using MetroUI script files in TypeScript code and I am missing type definitions (.d.ts files).
I think it would be beneficial to create them and submit to TypeScript definition repository: https://github.com/borisyankov/DefinitelyTyped/
For people who are unaware what they are used for, it's to allow TypeScript Language Service (TLS) inside Visual Studio to provide intellisense and and to enforce type safety.
I have declared an interface for my personal use for metro-dialog.js like so:
interface DialogOptions {
    icon?: any; // false or html tag
    title?: string;
    content?: string;
    flat?: boolean;
    shadow?: boolean;
    overlay?: boolean;
    draggable?: boolean;
    width?: any; // number or string
    height?: any; // number or string
    padding?: number;
    position?: any; // 'default' or object { offsetX, offsetY }
    sysButtons?: any; // false or object { btnClose, btnMax, btnMin }
}

interface JQueryStatic {
    Dialog(params: DialogOptions): JQuery;
}

I'll probably end up creating the definitions for the whole MetroUI, but contribution is welcome.

To use with TypeScript this is how I did:
First: added a custom TypeScript definition file in node_modules/metro4-dist/js/ directory (I know it is not the proper way since npm manager will blow up all changes on update), since it is not available on DefinitelyTyped library, which could be npm install -D @types/metro4-dist but there is none, so this will contain that new custom file:

metro4-dist/js/metro.d.ts

declare module "*";
var Metro:any;
export = Metro;

Then we modify node_modules/metro4-dist/package.json, adding these two lines:
"main": "./js/metro.js",
"typings": "./js/metro.d.ts",

Finally: just import JQuery and its TypeScript definition if not already:
I installed jquery type npm i -D @types/jquery
import * as JQuery from 'jquery';
import Metro from 'metro4-dist';
Metro

That'll do.
You can also use tsconfig.js options like noImplicitAny, typeRoots, etc.
More about jQuery plugins importing at: Import JQuery plugins in TypeScript


fix: ORA-01000: maximum open cursors exceeded

add get_max_cursors_number/0, set_max_cursors_number/1 allow the user set the max accumulated results before sending the reset message. Before this change, it is hard coded to 127.
refactor the code, store k-v values for the jamdb_oracle_conn via erlang process dictionary instead of small process. This is because get/set from/to processes is tricky, sometimes the process gets stuck on receive.

Root cause found. The open cursors are not cleared when the server returns an error that the table exceeded the max disk space.

Some discussions with the author here: https://github.com/erlangbureau/jamdb_oracle/issues/126


Move search results scheme to components in OpenAPI spec

This PR depends on #14
Previously the search response was inlined to the route. It is not done like this for any other route in this spec file. Therefore I moved it to components/schemas.
Additionally, this is better for people using this spec, as this also introduces a name for the object.

Is the name SearchResults a good name for the root json object returned by the search route?

Is the name SearchResults a good name for the root json object returned by the search route?

Is the name SearchResults a good name for the root json object returned by the search route?

Yeah, it's the same as the Rust name, which is fine

Is the name SearchResults a good name for the root json object returned by the search route?

Yeah, it's the same as the Rust name, which is fine


Add Travis with flake8 style check

This PR makes Travis to perform builds on new PR's and on pushes to master. The "builds" currently only run flake8 to check the code style.
Furthermore I fixed some PEP8 issues to make flake8 happy and added a badge to the README indicating the status of the latest master-build.

Nice! Thank you @mammuth


CI: Split tests out into individual steps

Right now, the steps are:

Build .NET SDK
Build Template
Set up signing

Then -> Code signing -> Release
Need to change it so that it is
Build .NET -> Unit Tests -> Integration Tests -> Code Signing -> Release
Build .NET Template -> Release
Basically, a re-organization of each step.  This will allow better flow control (and repeatability of broken tests based on timing)

This is no longer valid.


Add test for early vs late binding of @Dependency.

While answering a question about @Dependency I started to wonder if there really is a difference between using @Dependency in an early binding vs a late binding.
For example, is there a difference between these two dependencies that each use a @Dependency:
struct ChildDependencyEarlyBinding: DependencyKey {
  var fetch: () -> Int
  static var liveValue: Self {
    @Dependency(\.someDependency) var someDependency
    return Self { someDependency.fetch() }
  }
}

struct ChildDependencyLateBinding: DependencyKey {
  var fetch: () -> Int
  static var liveValue: Self {
    return Self {
      @Dependency(\.someDependency) var someDependency
      return someDependency.fetch()
    }
  }
}

Because accessing someDependency goes through the @Dependency property wrapper, which then resolves the dependency, it doesn't actually matter if bind early or late.
This is a good thing and makes it that much easier to use @Dependency from within other dependencies.

Even escaping a dependency captured from the closure will produce coherent results. For example, the following very wrong code passes while preserving the behavior:
var childDependencyEarlyBindingEscaped: ChildDependencyEarlyBinding!
var childDependencyLateBindingEscaped: ChildDependencyLateBinding!

DependencyValues.withValue(\.someDependency.fetch, { 999 }) {
  @Dependency(\.childDependencyEarlyBinding) var childDependencyEarlyBinding;
  @Dependency(\.childDependencyLateBinding) var childDependencyLateBinding;

  childDependencyEarlyBindingEscaped = childDependencyEarlyBinding
  childDependencyLateBindingEscaped = childDependencyLateBinding

  XCTAssertEqual(childDependencyEarlyBindingEscaped.fetch(), 999)
  XCTAssertEqual(childDependencyLateBindingEscaped.fetch(), 999)
}

XCTAssertEqual(childDependencyEarlyBindingEscaped.fetch(), 42)
XCTAssertEqual(childDependencyLateBindingEscaped.fetch(), 42)

DependencyValues.withValue(\.someDependency.fetch, { 1000 }) {
  XCTAssertEqual(childDependencyEarlyBindingEscaped.fetch(), 1000)
  XCTAssertEqual(childDependencyLateBindingEscaped.fetch(), 1000)
}

This is a very good sign that the implementation is sound!

@tgrapperon Nice, thanks! Just added an escaped scenario to the test case.


ModuleNotFoundError: No module named 'turicreate'

I installed turicreate using virtualenv
MacBook-Pro-Martina:~ martina$ pip3 install virtualenv
MacBook-Pro-Martina:~ martina$ virtualenv venv
MacBook-Pro-Martina:~ martina$ source ~/venv/bin/activate
(venv) MacBook-Pro-Martina:~ martina$ pip install -U turicreate
MacBook-Pro-Martina:~ martina$ which pip3
/Users/martina/venv/bin/pip3
MacBook-Pro-Martina:~ martina$ which python3
/Users/martina/venv/bin/python3
Then I make project on PyCharm
And when I ran file this error occurred
File "/Users/martina/PycharmProjects/testing/venv/testing.py", line 1, in
import turicreate as tc
ModuleNotFoundError: No module named 'turicreate'
Do I make any wrong steps?

@MartinaRogach - It's not clear what you are trying to do. Are you trying to install an official release of TuriCreate and use it? Or our you trying to setup a dev environment for making changes to TuriCreate?
We have instructions for installing TuriCreate and  instructions for building TuriCreate.

@MartinaRogach I don't actively use PyCharm, is it possible it's not using the same venv you activated from the Terminal? This would explain Turi Create not being found.

Closing this issue. @MartinaRogach - feel free to reopen and clarify what you're trying to accomplish.


Improve validators graph

The core idea behind this library is to store all keywords as a tree similar to the original schema JSON object. However, the implementation is not as efficient as I'd like it to be. Primarily, it has the following disadvantages:

Each node's siblings are stored in a separate vector, which leads to a very fragmented graph that negatively affects cache locality;
It doesn't allow cycles. The primary use case is the  $ref keyword, where some compilation logic is happening during validation. These things are cached, though, but the cost of RWLock is visible in flame graphs. Also, when logically the same validator is called recursively -> some nodes are re-created, but theoretically, they can be re-used.

This issue is the starting point to rethink the implementation and maybe to implement something better.
Here are some thoughts I have in mind:

It might be possible to use an arena to allocate all boxed validators, then navigating could be done with indexes (maybe);
An interesting article on using indexes in graphs;
It might be nice to have some tool to display the validators graph.
More ideas

Later I'll draw the current implementation, so all the overhead is more visible.

At the moment, I think that the following layout will be a good step in this direction:

Store validators in a vector
Store metadata (relative_path / absolute_path) in a separate vector
Pass &[BoxedValidator] to each validator in is_valid / validate / apply so each validator can call dependent validators
Use indexes to access dependent validators/metadata (as a single one or a range)

This should improve cache locality as all validators will be in the same vector + remove costs for following references between the validation nodes (it will be array access by index) + is_valid won't have extra costs for loading larger SchemaNode as it will be just boxed validator


FancyZones custom layouts are slightly changed if created on one display, loaded on a display of a different resolution, and then loaded back on the original display.

ℹ Computer information

PowerToys version: 0.25.0
PowerToy Utility: FancyZones
Running PowerToys as Admin: Yes
Windows build number: 19041.630

📝 Provide detailed reproduction steps (if any)
(I believe the issue will be easier to replicate if you have two displays of significantly different resolution and aspect ratio. In my case, Display 1 is an Nvidia Surround layout with a total resolution of 7920x1440 and Display 2 is 1366x768.)

On Display 1, create a custom zone that is a specific size (I used 512x480. I create the zone by first opening a Notepad window and using DisplayFusion's tooltip which dynamically shows me the dimensions of a window as an overlay as I resize it to make it 512x480. I then create the zone using the notepad window as a guide to match up the borders exactly). You can create multiple zones if you want and stack them all next to each other to see the large scale impact of this bug on a more complex layout, but only 1 is required.

To confirm the zone is the correct size, you can save the layout, then snap a Notepad window to that zone, then check the resolution of the Notepad window again using the DF overlay or some other tool. After doing so, go back to the zone editor.

It appears that where on the screen the zone is placed can change how the zone is affected. The dimensions are always changed but the placement shifts by different amounts depending on where it was originally. In this example, snap the zone to the top left corner of the display. In this case, the zone shouldn't shift position at all but the dimensions will change. Moving it further to the right will cause it to shift position horizontally as well when the bug is triggered.

Save this zone, and then select a DIFFERENT layout and apply that layout to Display 1.

On Display 2, select the layout you previously created on Display 1 and apply it. I don't remember if this next part is necessary, but after doing so, select a different layout and apply that on Display 2 again.

Go back to Display 1 and apply the layout you initially created.

✔ Expected result
The layout is unchanged from the state it was in when you originally created it.
❌ Actual result
Most zones have been resized and many of them have been shifted horizontally as well. In this particular example, I believe the 512x480 zone is now 510x480. This can be confirmed by again dragging a Notepad window into this zone, and using a tool such as DF to verify the size of the window.
📷 Screenshots
Zones are shifted and resized. Think that speaks for itself. :P

Because of the changes implemented in .27 for multi-monitor support, it appears that this issue is "resolved". .27 does drastically change how a layout created on one monitor gets applied to another monitor however. .25 used to scale and stretch the layout to fit in the 2nd monitor. .27 applies no transformations at all and leaves the layout exactly as it was, even if it doesn't fit on the 2nd display. However, the overlay previewing the layout (before applying) on the 2nd display uses yet another method, scaling the layout only to best fit (without stretching), which is a bit misleading, as this isn't how the layout is actually applied.
Anyway, the actual issue here seems to be resolved (for now).

@pressRtowin
this is by design and we will enforce not to use the custom layouts on monitors that have a different resolution.

@enricogior
To clarify, do you mean at some point in the future, layouts will be locked such that they can only be used on displays that are the same resolution as the ones they were created on?
Assuming that's what you meant, that sufficiently resolves the original issue for me, as I never intended to use those layouts on the other display. I'd just load them accidentally while clicking around, and then find that my original layout is completely messed up.
I guess that also deals with the odd behavior I mentioned in this comment, as layouts simply won't be selectable for monitors of differing resolutions.

@pressRtowin

do you mean at some point in the future, layouts will be locked such that they can only be used on displays that are the same resolution as the ones they were created on?

Yes.


Use playwright ?

This modules looks amazing, with it we could have launchFirefox, launchEdge, launchSafari.
However I am a bit worried about the additional binaries to download.
Downloading chromium already takes time and will certainly be externalized to avoid it when not necessary https://github.com/jsenv/jsenv-core/issues/65.
Using playwright would instantly add two other binaries to download.

Done in https://github.com/jsenv/jsenv-core/pull/70


Improve issue, feature request and pull request templates

Closes #55
I have added a pull_request_template.md file which builds a basic pull request template when submitting PRs. I have also modified the issue and feature request templates to make the bold headings into proper sections and make the helper lines below them into comments.

@maxhumber can you please approve the changes?


Conversation display clean up

Conversation page needs some cleanup love:

everything breaks when there are more messages than page height, the flex layout isn't right.
Timestamps need to be display friendly.

New item: scroll down conversation pane when new messages are added

New item: fix loading of history for initially selected conversation


go get fails for detector/zoo

Running go get github.com/mesos/mesos-go/detector/zoo fails because of a change to https://github.com/samuel/go-zookeeper that removed zk.StateSyncConnected:
root@5fd256b1691e:/dev# go get github.com/mesos/mesos-go/detector/zoo
# github.com/mesos/mesos-go/detector/zoo
/go/src/github.com/mesos/mesos-go/detector/zoo/client.go:273: undefined: zk.StateSyncConnected
root@5fd256b1691e:/dev#

The offending commit is here: https://github.com/samuel/go-zookeeper/commit/9cffda5bbd55d2b6f9cd11ebec92a32a79699605)

Is anybody plans to fix this issue?

Confirming that this is breaking the recommended mesos-dns build method.

I'm seeing the same issue. Slightly annoying :-)

+1

PTAL everyone, /cc @spacejam @sttts

LGTM

Thanks everyone for raising awareness on this issue. In general, we'll have to give more love to mesos-go in the near future. There are very many things that need attention but haven't been priorities. We hope to change that :-)

Thanks for getting this resolved so quickly!

Thank you for quick resolution! :+1:


cmd+click skip typescript definition and go to source?

When I cmd+click on an entity it is supposed to go to the definition of that entity. When said entity is an npm installed module it will go to the source code of that module within node_modules iff the module does not have TypeScript definitions. I cannot read TS definitions and would really rather just go to the source code for the entity I need to learn about. How do I make it so that TS definitions are ignored and I am always taken to the source?

See https://code.visualstudio.com/docs/nodejs/working-with-javascript#_typings-and-automatic-type-acquisition for why we do this
In general, you cannot jump to the js implementation of a npm module

I'm sorry. What are you expecting me to learn at that link? I don't care about the typings. I want to see the source code when I try to view the definition.

It's not that TypeScript types are blocking you from jumping to the implementation, it's that there in general is not logic to examine the code of an arbitrary node module and figure out which external invocations map to which implementations in the module.

I fail to understand that. If I have:
const foo = require('foo')

console.log(
  foo.bar()
)

I can cmd+click on 'foo' and be taken to the source of the foo module. As soon as a .ts.d file is present that describes the foo module, by whatever mechanism, then cmd+clicking 'foo' takes me to that .ts.d file instead of the source code. I simply want to ignore that .ts.d file altogether.

I was just about to report this as a bug as well.
I'm unsure why we can CMD + click on code in JS files and it points us to the entity's assignment/definition within a file in the node_modules folder, however when coding in TS files, CMD + clicking on entities will point to the TS definition. It would be nice to have the difference between viewing the assignment and the type definition (CMD + ALT + click to view type definition?).
The extra problem that I have is when using external packages that don't have TS definitions. To get around the TS errors, I'd put in a declare module "package-name" into the globals.d.ts file. This means that CMD + clicking on any entity related to that module will point me to the declare module "package-name" line, and not the actual code in the node_modules folder. Which then means I need to manually search for the code in the node_modules folder, which is quite frustrating!

It's not that TypeScript types are blocking you from jumping to the implementation

As others have pointed: This is exactly what is happening though. Jumping to the implementation does work perfectly fine in vscode. Until type definition files enter the picture. Then the only thing that's possible is manually browsing the files and trying to find the implementation the old fashioned way because the type definition file intercepts any attempt to jump to definition using editor commands.


Dask quickstart

This quickstart has a basic dask example and links to our docs on how to use dask.

I feel like a "Dask" quickstart might need a bit more than this - is this meant to be "Getting started on Dask" or "Getting started with Dask on Saturn Cloud"? I've personally never used gather anywhere except what I've seen for the pytorch work we've done. There's also a lot of good Dask setting started content in the Dask tutorial so should we just tell people how to launch a cluster in Saturn then point people to that?

I feel like a "Dask" quickstart might need a bit more than this - is this meant to be "Getting started on Dask" or "Getting started with Dask on Saturn Cloud"? I've personally never used gather anywhere except what I've seen for the pytorch work we've done. There's also a lot of good Dask setting started content in the Dask tutorial so should we just tell people how to launch a cluster in Saturn then point people to that?

Good point - it was meant to be getting started with Dask on Saturn Cloud, so my expectation was people would come in with an understanding of Dask already. It felt a little light to me too.
I think the existing pytorch quickstart has a good "getting started with dask" notebook (that I think @skirmer made), What if we kept this ultra light notebook in to get started and added that getting started with dask one for people who want more detail?

Good point - it was meant to be getting started with Dask on Saturn Cloud, so my expectation was people would come in with an understanding of Dask already. It felt a little light to me too.
I think the existing pytorch quickstart has a good "getting started with dask" notebook (that I think @skirmer made), What if we kept this ultra light notebook in to get started and added that getting started with dask one for people who want more detail?

That would be good, and I know we want to balance with not throwing too much content into this but I think at the minimum it should include (or at the least mention and link out to other material):

connecting to cluster
delayed, persist, compute, etc
dataframes and/or arrays
ML (I'm on the fence with this one)

I just don't want people to see it and think Dask is only for these abstract low-level list manipulations and does in fact support higher-level work like dataframes and ML

Okay, after discussing it with @skirmer, we decided that a good first course of action is to leave the super simple example notebook as-is and have it directly link to the doc on Parallelization in Python. In the future we might want to make a more robust example that supercedes the Parallel and Python one. But it's just not clear yet how our customers will end up using these so let's not change too much around now (cc @rikturr )


Feature Request: getJoinedSquareChats

I had implemented the getJoinedSquareChats method. But the server response a CHRLINE.exceptions.LineServiceException: Code: -519, Message: NO XLT:Not yet implemented.
def getJoinedSquareChats(self, continuationToken: str = None, limit=100):
        METHOD_NAME = "getJoinedSquareChats"
        request = []
        if continuationToken is not None:
            request.append([11, 2, continuationToken])
        request.append([8, 3, limit])

        params = [
            [12, 1, request]
        ]

        sqrd = self.generateDummyProtocol(
            METHOD_NAME,
            params,
            self.SquareService_REQ_TYPE
        )

        return self.postPackDataAndGetUnpackRespData(
            self.SquareService_API_PATH,
            sqrd,
            self.SquareService_RES_TYPE,
            readWith=f"SquareService.{METHOD_NAME}",
            baseException=SquareService.SQUARE_EXCEPTION
        )

The error is as below:
[2022-06-27 13:45:33] can't use Line Cube
[2022-06-27 13:45:34] Loading Custom Data: aaf87505fdfb410f45b0461291bbf188
Traceback (most recent call last):
  File "/Users/ray/Documents/work/CHRLINE/examples/LineApi.py", line 162, in <module>
    api.getJoinedSquareChats()
  File "/Users/ray/Documents/work/CHRLINE/examples/LineApi.py", line 128, in getJoinedSquareChats
    chats = self.cl.getJoinedSquareChats()
  File "/Users/ray/Documents/work/CHRLINE/CHRLINE/services/SquareService.py", line 731, in getJoinedSquareChats
    return self.postPackDataAndGetUnpackRespData(
  File "/Users/ray/Documents/work/CHRLINE/CHRLINE/models.py", line 524, in postPackDataAndGetUnpackRespData
    res = self.serializeDummyProtocolToThrift(
  File "/Users/ray/Documents/work/CHRLINE/CHRLINE/models.py", line 801, in serializeDummyProtocolToThrift
    raise LineServiceException(
CHRLINE.exceptions.LineServiceException: Code: -519, Message: NO XLT:Not yet implemented

LineServiceException means the error came from the Line Service
If the server response the function is not implemented, that's it
If you know where it is used plz let me know 🍡

Thanks for the quick reply. I want to get all my joined square chats and found this method. I thought my request param is wrong or something so the server response error. If the response exception description is precise, then it should be as you said that the line service has not implemented it yet.
Anyway, do you know how can I get all my joined square chats?

At present chrline does not have good support for Square, the reason is that we do not implement fetchMyEvents correctly
I think you have to use fetchMyEvents to iterate through all events (for JoinSquareChat events) to record currently joined SquareChats
btw, I don't know how they handel with revisions, if you only join 1 Square and 3 SquareChats, there are many unnecessary chats makes 30000+ revisions, how to handel with it? (idk)

Hi @WEDeach, I have seen you have updated the Push-dev branch with fetchMyEvents. I want to know how you capture the  request of /PUSH/1/subs?m=20 endpoint. Because I can only hook the android app to get what's been request and response. I tried the Charlse Proxy, but it can't capture this endpoint. But with wireshark, i can't dump the ssl key log file. Do you have a solution about capture the wire data.
2022-06-30 10:56:43.936 2804-3206/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@7f9ebe1) fetchMyEvents, args: fetchMyEvents_args(request:FetchMyEventsRequest(subscriptionId:1656557801819, syncToken:6084, limit:100, continuationToken:null))
2022-06-30 10:56:44.540 2804-2901/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@7f9ebe1) fetchMyEvents, result: fetchMyEvents_result(success:FetchMyEventsResponse(subscription:SubscriptionState(subscriptionId:1656557801819, ttlMillis:3600000), events:[], syncToken:6084, continuationToken:null), e:null)
2022-06-30 10:56:50.775 2804-3234/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@fc270ac) fetchMyEvents, args: fetchMyEvents_args(request:FetchMyEventsRequest(subscriptionId:0, syncToken:6084, limit:100, continuationToken:null))
2022-06-30 10:56:51.311 2804-3234/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@fc270ac) fetchMyEvents, result: fetchMyEvents_result(success:FetchMyEventsResponse(events:[SquareEvent(createdTime:0, type:NOTIFICATION_MESSAGE, payload:<SquareEventPayload notificationMessage:SquareEventNotificationMessage(squareChatMid:m4abbc47d17d5d9a6b36dc2c47d7ff436, squareMessage:SquareMessage(message:Message(from:p727fecc6a800b83044e46177112fff30, to:m4abbc47d17d5d9a6b36dc2c47d7ff436, toType:SQUARE_CHAT, id:408905123247423493, createdTime:1656557750187, deliveredTime:1656557750187, hasText:false, contentType:STICKER, contentMetadata:{NOTIFICATION_DISABLED=null, app_extension_type=null, app_version_code=121010263, STKVER=1, STKID=378598815, STKPKGID=14431146}, sessionId:0, reactions:[]), fromType:SQUARE_MEMBER, squareMessageRevision:1, state:SENT), reqSeq:29479, senderDisplayName:ไลน์ดีๆก็มีคนรับ, unreadCount:1000, requiredToFetchChatEvents:false)>, syncToken:6085, eventStatus:NORMAL)], syncToken:6085, continuationToken:null), e:null)
2022-06-30 10:57:16.975 2804-3234/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@2e1fa4) fetchMyEvents, args: fetchMyEvents_args(request:FetchMyEventsRequest(subscriptionId:0, syncToken:6085, limit:100, continuationToken:null))
2022-06-30 10:57:17.589 2804-3234/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@2e1fa4) fetchMyEvents, result: fetchMyEvents_result(success:FetchMyEventsResponse(events:[SquareEvent(createdTime:0, type:NOTIFICATION_MESSAGE, payload:<SquareEventPayload notificationMessage:SquareEventNotificationMessage(squareChatMid:m0988193be4ef0e5f67e0fbafcc5d5bcb, squareMessage:SquareMessage(message:Message(from:p13ed47a7df68daba80b459858531323a, to:m0988193be4ef0e5f67e0fbafcc5d5bcb, toType:SQUARE_CHAT, id:408905164787810317, createdTime:1656557776246, deliveredTime:1656557776246, hasText:true, contentType:VIDEO, contentMetadata:{DURATION=224653, SRC_SVC_CODE=talk}, sessionId:0, chunks:[], reactions:[]), fromType:SQUARE_MEMBER, squareMessageRevision:1, state:SENT), reqSeq:65460, senderDisplayName:pum, unreadCount:579, requiredToFetchChatEvents:false)>, syncToken:6086, eventStatus:NORMAL)], syncToken:6086, continuationToken:null), e:null)
2022-06-30 10:57:19.944 2804-3234/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@58313cc) fetchMyEvents, args: fetchMyEvents_args(request:FetchMyEventsRequest(subscriptionId:0, syncToken:6086, limit:100, continuationToken:null))
2022-06-30 10:57:20.462 2804-3234/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@58313cc) fetchMyEvents, result: fetchMyEvents_result(success:FetchMyEventsResponse(events:[SquareEvent(createdTime:0, type:NOTIFICATION_MESSAGE, payload:<SquareEventPayload notificationMessage:SquareEventNotificationMessage(squareChatMid:m0988193be4ef0e5f67e0fbafcc5d5bcb, squareMessage:SquareMessage(message:Message(from:p13ed47a7df68daba80b459858531323a, to:m0988193be4ef0e5f67e0fbafcc5d5bcb, toType:SQUARE_CHAT, id:408905170173296642, createdTime:1656557779313, deliveredTime:1656557779313, hasText:true, contentType:VIDEO, contentMetadata:{SRC_SVC_CODE=talk}, sessionId:0, chunks:[], reactions:[]), fromType:SQUARE_MEMBER, squareMessageRevision:1, state:SENT), reqSeq:65462, senderDisplayName:pum, unreadCount:580, requiredToFetchChatEvents:false)>, syncToken:6087, eventStatus:NORMAL)], syncToken:6087, continuationToken:null), e:null)
2022-06-30 10:57:22.505 2804-3234/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@41d4e06) fetchMyEvents, args: fetchMyEvents_args(request:FetchMyEventsRequest(subscriptionId:0, syncToken:6087, limit:100, continuationToken:null))
2022-06-30 10:57:23.030 2804-3234/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@41d4e06) fetchMyEvents, result: fetchMyEvents_result(success:FetchMyEventsResponse(events:[SquareEvent(createdTime:0, type:NOTIFICATION_MESSAGE, payload:<SquareEventPayload notificationMessage:SquareEventNotificationMessage(squareChatMid:m0988193be4ef0e5f67e0fbafcc5d5bcb, squareMessage:SquareMessage(message:Message(from:p13ed47a7df68daba80b459858531323a, to:m0988193be4ef0e5f67e0fbafcc5d5bcb, toType:SQUARE_CHAT, id:408905172907982849, createdTime:1656557781842, deliveredTime:1656557781842, hasText:true, contentType:VIDEO, contentMetadata:{SRC_SVC_CODE=talk}, sessionId:0, chunks:[], reactions:[]), fromType:SQUARE_MEMBER, squareMessageRevision:1, state:SENT), reqSeq:65463, senderDisplayName:pum, unreadCount:581, requiredToFetchChatEvents:false)>, syncToken:6088, eventStatus:NORMAL)], syncToken:6088, continuationToken:null), e:null)
2022-06-30 10:57:23.963 2804-3234/? D/Line.ThriftHooks: TServiceClient(com.linecorp.square.protocol.thrift.SquareService$Client@f0ebda2) fetchMyEvents, args: fetchMyEvents_args(request:FetchMyEventsRequest(subscriptionId:0, syncToken:6088, limit:100, continuationToken:null))

I noticed that when the app cold start, the subscriptionId is is the timestamp, then it is 0. But i see you pass to it with 101.

Hi, @betteray
I've noticed the /PUSH endpoint since last year, but I haven't been able to do anything about it (yes, you can't get to it by capturing packets)
But I noticed in February of this year that it still has some pre-packages (StatusPacket), but then I was busy with other things and didn't delve into it.
The good news is that I received  LINE will close ID OpenChat (Square) a few weeks ago, which probably means I'm running out of time, so I immediately started researching/PUSH.
I just decompile and find the meaning of StatusPacket to understand it, no hooks needed

I noticed that when the app cold start, the subscriptionId is is the timestamp, then it is 0. But i see you pass to it with 101.

It seems to be customizable, just let the server know you're subscribing to it maybe
0 is mean no any subscription

Ok. I see. Thank you @WEDeach.


Specifically these lines would have been subject to change:
https://github.com/serengil/deepface/blob/fb8924e9849a943943ebac992eb5d3e175504981/deepface/DeepFace.py#L477C1-L484C49
I don't see a reason for why we should restrict users to only be able to provide png and/or jpeg. Or is there a good reason I am not aware of?

which file types you want to use?

I was thinking of a more generic solution for accepting different image types (e.g webp, avif).
Right now the image extensions are hard-coded and as mentioned only png and jpeg are allowed.
Ideally, we would move the logic for reading the image paths to an util function and the allowed image extensions to a constant - would be easier to maintain/extend/test.
I'd be willing to follow up with a PR.

for instance, opencv cannot read images with .heic extension. besides, someone can put a non image file there. that is why, we should restrict the extensions.

Yes, I'm aware we should restrict file extensions to image files.
You are right, the current OpenCV version (4.5.5) in DeepFace doesn't seem to support .heif or .avif images. This is not true for the current version of OpenCV though (which DeepFace might use one day).
This feature is still worth considering and should be re-opened for the following reasons:
Further details:

imdecode()
imread()

Supported image formats per OpenCV docs (without additional dependencies):
Windows & MacOS only

.png
.bmp, .dib
.hdr, .pic
.jpeg, .jpg, .jpe
.tiff
.pbm, .pgm, .ppm .pxm, .pnm

On Linux*, BSD flavors and other Unix-like open-source operating systems, OpenCV looks for codecs supplied with an OS image

As far as I understood:

Users that want to decode image formats other than those mentioned above need to install dedicated codecs for their OS. DeepFace won't need to provide those dependencies because an exception is raised by OpenCV itself when attempting to decode images whose codecs are missing for the image format.
Images are decoded by their content AND NOT by their extensions. Even if you provided a "non-image" file (that is purely determined by the file's extension) OpenCV would still be able to decode it if the contents of the file represents pixel values and/or if the encoding lib is installed.

The bottom-line is that it should be up to the user to decide what images they put in their db_path - of course based on the image formats supported by OpenCV version.
If a user is happy to only go with jpg | png images thats fine. If a user wants to throw in webp, for example, they may install libwebp or something like that.

Linux distros either provide these codecs already or they need to be installed any way - this is also true for jpg and png by the way.

The implication of the current solution is that users are required to either use png or jpg images. What if a tool they use outputs webp or tiff images? They would need to go through another step of converting the images to the required formats.
Hope this provides more context for the feature request.


Upgrade to Jackson 2.6

Attempted both version v2.6.3 and 2.5.3, currently seems to be an issue with jackson libs.
http://stackoverflow.com/questions/31452802/how-to-use-java-8-date-classes-and-jackson-with-spark
http://stackoverflow.com/questions/32334517/error-in-running-job-on-spark-1-4-0-with-jackson-module-with-scalaobjectmapper
Run into the following error.
An exception or error caused a run to abort: com.twitter.finatra.json.modules.FinatraJacksonModule$$anon$1.com$fasterxml$jackson$module$scala$experimental$ScalaObjectMapper$_setter_$com$fasterxml$jackson$module$scala$experimental$ScalaObjectMapper$$typeCache_$eq(Lcom/google/common/cache/LoadingCache;)V
java.lang.AbstractMethodError: com.twitter.finatra.json.modules.FinatraJacksonModule$$anon$1.com$fasterxml$jackson$module$scala$experimental$ScalaObjectMapper$_setter_$com$fasterxml$jackson$module$scala$experimental$ScalaObjectMapper$$typeCache_$eq(Lcom/google/common/cache/LoadingCache;)V

:+1:

It looks like Gauva also needs to be upgraded.
On Tuesday, April 12, 2016, James Phillips<EMAIL_ADDRESS>wrote:

[image: :+1:]
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/twitter/finatra/issues/276#issuecomment-208779577

--
-Steve
Sent from Gmail Mobile

We're updating this library internally and this upgrade will ideally make it into our next release.

Is 2.7 possible? On https://github.com/FasterXML/jackson-module-scala they mention

Please use versions 2.6.5, or 2.7.2; earlier released versions are known to contain significant bugs.

@jimdickinson 2.7 contains a regression in Option serialization (https://github.com/FasterXML/jackson-module-scala/issues/240).

merged in bb1288a84f8fc4d98919ceb35aab35f69200167c


Test: triggered breakpoints

Refs: #152428

[ ] anyOS @isidorn
[ ] anyOS @joyceerhl

Complexity: 4
Create Issue

This iteration, we've added the notion of "triggered breakpoints", which are breakpoints that are only activated when another breakpoint is hit. The basic flow is:

Have a program you can debug, in any language. Set one or more breakpoints in the program.
Right click in the glyph margin and "Add Triggered Breakpoint"
Select the breakpoint you want to wait for.
Debug and see that the triggered breakpoint can only be hit once the "wait for" breakpoint gets hit.

Do some explorations with this, such as...

Play with breakpoint widget opened with "Add Triggered Breakpoint" and make sure it works
Verify that removing the triggering breakpoint converts any triggered breakpoints into ordinary breakpoints
Verify that disabling the triggering breakpoint disable any triggered breakpoints, and enabling enables the triggered breakpoints
Try resuming very quickly after hitting the triggering breakpoint and make sure there are no races
Check that hovers are sensible and that the Breakpoints view works as you would expect

This is pretty polished and works well - nice job 👏

Great job - works seamlessly.


03-nzbget.sh feedback and or questions

Hey there,
I got home from work and tested out the nzbget.sh
Everything installed fine, which is great and I assume that it is running.
The issue is that it will not accept the nzbget default password nor did it make an account with the vars info.
So it pretty much just keeps deflecting me at the login prompt.
Any idea where I can find the config file that has the login / password info .... then I will just edit that file to contain the defaults login info so I can login.
Last question, does your script strip out the default account ? If so, can you consider a check to ensure that there is at least one account in the config file before it removes the default access?
If it does not remove default access then ignore my feedback and I must have broken something by accident.
Thanks

Hi,
the config file is at: /opt/nzbget/nzbget.conf
It (and all of the apps installed with these scripts) uses the username/password defined in the vars file, is that not working for you? For now that's how it's going to stay simply because this whole thing is somewhat complex and in order for it to work I expect a few things to be in order. This includes everything in the "setup" section as well as things defined in the vars file.
I hope I don't come across as mean about it, that's not my intent. I'm happy to make adjustments and fixes but I've working with limited free time and have to set some level of expectations. For now the expectation is that if you follow the guide then it should work. If that's incorrect then please let me know.
I'm always open to suggestions but that doesn't mean I'll always act on them.

Great stuff.
Thanks for the insight. Okay... here's what happened. For your bug testing interests.
I reviewed the /opt/nzbget/nzbget.conf
It added all of my settings from the VARS file (which is good).
It added my user name from VARS, no problems.... now this is where is went off the rails.
ControlPassword=lkjControlPassword=lkjControlPassword=lkj*ControlPassword=tegbzn6789^5
Then it added my VARS information seemly randomly a few times... to the same ControlPassword line
I logged into my remote site.... NANO'd the config file... and commented out the Control Password line. And then put in the single password from the VARS file... then restarted the service and was able to login just fine.
Thanks for pointing me in the direction of the config file and hope this bug testing assists you.
Onyx

Thanks for the info, I'll try to replicate soon. Sorry, but fixes are somewhat on hold for now while I work through the wiki (but I'm almost done!)

@Onyx369 - I tried on 2 previous installs and I just launched a brand new Ubuntu 16.04 instance on Linode, ran through the setup steps and ran the scripts up to this one and I can't replicate your issue.
Closing. I'll reopen if others can confirm the issue.


Add lint github action

Note that we don't know if this works yet, as I think actions aren't implemented for this repo.


Transactions for KafkaTemplate not working every time

version: 2.8.8 (inherited from spring-boot 2.7.3)
repo with an example that reproduces the bug: https://github.com/gstaykov/spring-kafka-transactional-bug
Description
Use case:
I have a rest request that persists something in DB and after that sends kafka message. I want this operation to be transactional. If something fails I want to rollback both the DB insert and the kafka message.
My code is this:
    @GetMapping("/test")
    @Transactional
    public void asd()
    {
        accountRepository.insert();

        kafkaTemplateTransactional.send(topicName, "example message");

        throw new RuntimeException("Ops");
    }

Configuration (I'm following this example from the docs: https://docs.spring.io/spring-kafka/reference/html/#ex-jdbc-sync):
@Configuration
public class Config
{
    // Create datasource transaction manager so it can chain with kafka transaction manager. Following this documentation: https://docs.spring.io/spring-kafka/reference/html/#ex-jdbc-sync
    @Bean
    @Primary
    public DataSourceTransactionManager dataSourceTransactionManager(DataSource dataSource)
    {
        return new DataSourceTransactionManager(dataSource);
    }

    @Bean
    public KafkaTemplate<String, String> kafkaTemplateTransactional(@Value("${kafka.bootstrap-servers}") String bootstrapServers)
    {
        Map<String, Object> props = new HashMap<>();
        props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);
        props.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, StringSerializer.class);
        props.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, StringSerializer.class);
        props.put(ProducerConfig.ACKS_CONFIG, "all");
        props.put(ProducerConfig.COMPRESSION_TYPE_CONFIG, "lz4");
        props.put(ProducerConfig.TRANSACTIONAL_ID_CONFIG, "transaction-id-example"); // enable transaction awareness

        ProducerFactory<String, String> producerFactory = new DefaultKafkaProducerFactory<>(props);

        return new KafkaTemplate<>(producerFactory);
    }

    @Bean
    public NewTopic createTopic(@Value("${kafka.topicName}") String topicName)
    {
        return TopicBuilder.name(topicName)
                           .build();
    }
}

If I call this method once every second everything works as expected - I can't see records in DB and Kafka. But if I put some load on this method (start calling it >10 times per second)  I'm starting to see some (not all) messages in Kafka (everything in the DB looks fine).
Expected behavior
I expect to see no messages in Kafka and no records in the DB.
Actual behavior
I can see some messages (not all) in Kafka and no records in the DB.
Sample
I have create a project that reproduce the problem for you: https://github.com/gstaykov/spring-kafka-transactional-bug
In the README you can find info for the setup. It is a super simple project. However, if you need help message me.

I will take a look next week.
Two things…

Is your consumer configured with read_committed isolation.level?
Unrelated, but the producer factory should itself be declared as a bean rather than in the template definition.

Also, you van see transaction activity using DEBUG logging for o.s.kafka and o.s.transaction

I don't have a consumer in this application. My use case is

Receive rest request
Persist in DB
Send Kafka message

I'm using kafka-ui (https://github.com/provectus/kafka-ui) to inspect the messages in the topic and I'm not sure what configuration they are using. I'm very confused because everything works as expected until I start stress testing it. I don't think that this inconsistent behavior is due to consumer config.

I'm sharing my local environment setup as I'm running kafka & kafka-ui in docker. This is the docker-compose that I'm using:
version: "3.1"
services:
  kafka:
    image: blacktop/kafka
    ports:
      - 2181:2181
      - 9092:9092
      - 9093:9093
    environment:
      - KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092,INTERNAL://kafka:9093
      - KAFKA_BROKER_ID=1
      - KAFKA_INTER_BROKER_LISTENER_NAME=INTERNAL
      - KAFKA_LISTENERS=PLAINTEXT://<IP_ADDRESS>:9092,INTERNAL://<IP_ADDRESS>:9093
      - KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=PLAINTEXT:PLAINTEXT,INTERNAL:PLAINTEXT
      - KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
  kafka-ui:
    image: provectuslabs/kafka-ui
    container_name: kafka-ui
    ports:
      - "9999:8080"
    restart: always
    environment:
      - KAFKA_CLUSTERS_0_NAME=local
      - KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9093
      - KAFKA_CLUSTERS_0_ZOOKEEPER=kafka:2181
    links:
      - kafka

I suggest you add a properly configured consumer to your app to see if you see the same behavior. I have never seen anything like this.

I see no records received by this, no matter how many times I hit the URL...
% kafka-console-consumer --bootstrap-server localhost:9092 --isolation-level=read_committed --topic example-topic

And with
    AtomicBoolean first = new AtomicBoolean(false);
    @GetMapping("/test")
    @Transactional
    public void asd()
    {
        accountRepository.insert();

        kafkaTemplateTransactional.send(topicName, "example message");

        if (first.getAndSet(true)) {
			throw new RuntimeException("Ops");
		}
    }

I just see the first record, as expected.

Closing due to inactivity; please let us know if you still believe there is a problem.


V 1.13.5 can't download JFROG cli behind a corporate proxy

Dear JFROG Team,
since the last update of the plugin we are facing issues in V.13.5 when the plugin tries to download the JFROG cli. The proxy settings aren't read from Azure DevOps as in other plugins. Please fix the code to use the proxy settings provided by the agent software.
Previous versions of the plugin could download the cli without any issues.
Maybe this link helps:
https://github.com/microsoft/azure-pipelines-task-lib/blob/master/node/docs/proxy.md
Log:
2022-02-15T09:19:19.3322535Z ##[section]Starting: Deploying to Artifactoy
2022-02-15T09:19:19.5697099Z ##[section]Starting: Initialize job
2022-02-15T09:19:19.5698457Z Agent name: 'WINDOWS-SERVER-NAME'
2022-02-15T09:19:19.5698792Z Agent machine name: 'WINDOWS-SERVER-NAME'
2022-02-15T09:19:19.5699004Z Current agent version: '2.193.1'
2022-02-15T09:19:19.5723698Z Agent running as: '***'
2022-02-15T09:19:19.5724054Z Agent is running behind proxy server: 'http://proxy.MYCORPORATE.de:8080'
2022-02-15T09:19:19.5757379Z Prepare build directory.
2022-02-15T09:19:19.6158348Z Set build variables.
2022-02-15T09:19:19.6184259Z Download all required tasks.
2022-02-15T09:19:19.6459799Z Checking job knob settings.
2022-02-15T09:19:19.6466831Z Finished checking job knob settings.
2022-02-15T09:19:19.6805024Z Start tracking orphan processes.

## Removed some logs here

2022-02-15T09:19:42.3635231Z ##[section]Starting: ArtifactoryGenericUpload
2022-02-15T09:19:42.3785724Z ==============================================================================
2022-02-15T09:19:42.3786045Z Task         : Artifactory Generic Upload
2022-02-15T09:19:42.3786477Z Description  : Upload build artifacts to Artifactory using FileSpecs while allowing to collect build-info. The collected build-info can be later published to Artifactory by the "Artifactory Publish Build Info" task.
2022-02-15T09:19:42.3786891Z Version      : 2.13.5
2022-02-15T09:19:42.3787082Z Author       : JFrog
2022-02-15T09:19:42.3787506Z Help         : [More Information](https://www.jfrog.com/confluence/display/JFROG/Artifactory+Azure+DevOps+Extension#ArtifactoryAzureDevOpsExtension-UploadingGenericArtifactstoArtifactory)
2022-02-15T09:19:42.3787934Z ==============================================================================
2022-02-15T09:19:43.4442819Z (node:1076) Warning: Use Cipheriv for counter mode of aes-256-ctr
2022-02-15T09:19:43.4450425Z Downloading: https://releases.jfrog.io/artifactory/jfrog-cli/v1/1.53.1/jfrog-cli-windows-amd64/jfrog.exe
2022-02-15T09:19:43.4483224Z ##[error]Error occurred while executing task:
Failed while attempting to download JFrog CLI from https://releases.jfrog.io/artifactory/jfrog-cli/v1/1.53.1/jfrog-cli-windows-amd64/jfrog.exe. If this build agent cannot access the internet, you may use the 'Artifactory Tools Installer' task, to download JFrog CLI through an Artifactory repository, which proxies https://releases.jfrog.io/artifactory/jfrog-cli/v1/1.53.1/jfrog-cli-windows-amd64/jfrog.exe. You may also manually download version 1.53.1 of JFrog CLI and place it on the agent in the following path: C:\AgentSoftware\_work\_tool\_jfrog\current\jfrog.exe
Error: tunneling socket could not be established, statusCode=407
2022-02-15T09:19:43.4497112Z ##[section]Finishing: ArtifactoryGenericUpload
2022-02-15T09:19:43.4642443Z ##[section]Starting: Finalize Job
2022-02-15T09:19:43.4671054Z Cleaning up task key
2022-02-15T09:19:43.4672905Z Start cleaning up orphan processes.
2022-02-15T09:19:43.4691803Z ##[section]Finishing: Finalize Job
2022-02-15T09:19:43.4728440Z ##[section]Finishing: Deploying to Artifactoy

Other versions:

Hi @Bjego ,
Thanks for reaching out.
Since the JFrog CLI version hasn't been updated since 1.13.2, it may have been downloaded and cached then so you didn't encounter the issue up until now.
We are not aware of any changes in the last patches that could cause this. The only change that might be relevant is the upgrade of azure-pipelines-task-lib as part of the Node10 migration, but I believe it's irrelevant since the download is done by azure-pipelines-tool-lib and it wasn't updated lately.
We weren't able to reproduce it on our side, but will continue looking into it.
Are you able to verify the proxy configuration is working in other extensions that download tools?
In the meantime as a workaround, you can try using the Artifactory Tools Installer task to configure the JFrog CLI version to 1.52.0 so the cached version will be used.
Thanks

@RobiNino I've "installed" the cli by downloading it and putting it into the currentfolder - from the error logs.
Failed while attempting to download JFrog CLI from https://releases.jfrog.io/artifactory/jfrog-cli/v1/1.53.1/jfrog-cli-windows-amd64/jfrog.exe. If this build agent cannot access the internet, you may use the 'Artifactory Tools Installer' task, to download JFrog CLI through an Artifactory repository, which proxies https://releases.jfrog.io/artifactory/jfrog-cli/v1/1.53.1/jfrog-cli-windows-amd64/jfrog.exe. You may also manually download version 1.53.1 of JFrog CLI and place it on the agent in the following path: C:\AgentSoftware\_work\_tool\_jfrog\current\jfrog.exe

Which version of the agent software did you use for your tests? And did you test with the new V2 plugin or the V1 plugin (which I use).
Is there any documentation of the V2 plugin compared to the V1 plugin?

Hi @Bjego ,
It is possible that you were also affected by the issue described at #316 , and your proxy masked the error.
Please try again with the latest version and let us know if it was resolved for you.
Thanks

No longer from interest - Thank you


Add custom tooltip for charts other than Calendar, Timeline, and Gantt

I am sooooo sorry for the delay. I just released v1.4.0. Thanks for your contribution.

@saadtazi Yay! Thank you so much :)


Update Java SE Version

Not sure if this is an intentional version number but there are no version 10s on the linked page. Maybe it should be 11?

@fernando-mc : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@fernando-mc : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@fernando-mc Thank you for this update to the tutorial. Your changes look right, but I'm double checking to make sure there isn't a reason we need people using version 10. I'll let you know once I get confirmation.

Sounds good, thanks @kgremban! It might also be useful if the page were updated to specify some of the other considerations when picking a JDK but at least a version update to one of the Azure-recommended LTS versions would be awesome, thanks!

Sounds good, thanks @kgremban! It might also be useful if the page were updated to specify some of the other considerations when picking a JDK but at least a version update to one of the Azure-recommended LTS versions would be awesome, thanks!

Merging in the repo is paused; this PR is in the queue to merge when merging resumes. Thanks.


fix: unclosed p-tag

Description :sparkles:
Close unclosed <p>-tag in factory that is used for testing decision proposals.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

API branch is deployed to platta: https://helsinkilisa-pr2852.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr2852.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-pr2852.dev.hel.ninja :laughing::tada::tada::tada:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2852.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-handler-pr2852.dev.hel.ninja :laughing::tada::tada::tada:


unknown shader format

I'm trying to load the vs_cubes.bin shader file when using c99 bindings like this:
`
std::string pathToVertexShader = "D:/user/hase/projects/ModelViewer/ModelViewer/vs_cubes.bin";

struct stat st;
stat(pathToVertexShader.c_str(),&st);

size_t fileSize = st.st_size;
std::vector<char> bufferVec(fileSize);

std::cout << "File size: " << st.st_size << std::endl;

std::ifstream fileTest;
fileTest.open(pathToVertexShader, std::ifstream::in | std::ifstream::binary);

for(unsigned int i = 0; i < fileSize; ++i)
{
    bufferVec[i] = fileTest.get();
}
fileTest.close();

shaderVertex = bgfx_create_shader(bgfx_make_ref(bufferVec.data(), fileSize));

`
I checked and bufferVec is indeed filled with the contents from the shader file.
When running an exception occurs in ShaderGL::create and this message pops up in the log:
......\src\bgfx.cpp (65): BGFX 0x00000001: Unknown shader format 2f5cecf8.
What is the right shader format?

It looks like when assigning memRef->mem.data = (uint8_t*)_data;  in the function 	const Memory* makeRef(const void* _data, uint32_t _size, ReleaseFn _releaseFn, void* _userData)  bufferVec gets truncated because of the '\0' in the shader file.

You can't use bgfx::makeRef for data, that's only available in function scope. Instead loading into temporary buffer, you shoud use bgfx::alloc and load data into that buffer, and then pass it to bgfx.

Thank you very much for clarifying!
Now I'm getting an reading error when creating the uniforms:
d:\user\hase\projects\bgfx-master\bx\include\bx\inline/readerwriter.inl (181): BGFX Error 33576786: MemoryReader: read truncated.`

d:\user\hase\projects\bgfx-master\bgfx\src\bgfx_p.h (4137): BGFX Creating uniform (handle   2)

d:\user\hase\projects\bgfx-master\bgfx\src\bgfx_p.h (4137): BGFX Creating uniform (handle   3) ute vec4 a_color0;
attribute vec3 a_position;
varying vec4 v_color0;
uniform mat4 u_modelViewProj;

d:\user\hase\projects\bgfx-master\bgfx\src\bgfx_p.h (4137): BGFX Creating uniform (handle   4) ain ()
{
  vec4 tmpvar_1;
  tmpvar_1.w = 1.0;
  tmpvar_1.xyz = a_position;
  gl_Position = (u_modelViewProj *

It looks like it reads the uniforms in the .bin file not correctly. So just to clarify the steps for creating and reading a shader:

Generate binary shader files from .sc files with the tool shaderc.
Read binary shader file into buffer.
Create const bgfx_memory_t* object with bgfx_alloc/bgfx_copy.
Pass that to bgfx_create_shader();

Did I miss something?

These are issues in your code (see examples), you're truncating binary shader somehow (not loading whole thing, or passing wrong size to bgfx::copy function).

I found my error: The null terminations ( '\0' ) in the binary files are crucial components and should be kept. Thanks again for helping!


Can I make "close/remove/clear" button?

For example, user chooses the picture, it appears, but he wants another one. When the picture appears also appears the "X" close button to remove it. He removes it. But when he clicks on label (which is for file input, and its on "cropit-image-preview" positioned as absolute ) the picture doesnt refreshes in IE, Chrome, but FF is fine.  I use this code:
$('.image-editor-cancel').click(function(){
if($('.cropit-image-preview').hasClass('cropit-image-loaded')){
$('.cropit-image-preview').removeClass('cropit-image-loaded').removeAttr('style');
}
})
So the question is why its not refreshing the picture?

hi there i have been solved this issue, please go Here give your vote there lah

$('.cropit-image-preview').css('background-image', ''); //remove preview-images
$('.cropit-image-background').removeAttr('src'); //remove background images

sidaurukfreddy, hello! Sorry for the late answer. You  idea doesnt solve my issue. See the code on link to codepen to see the issue itself.
According to this issue: after "Cancel button" have been pressed the background is removed but I cant select a new picture again. But this issue is ok in FF.

Hello you need to add   event.preventDefault();
please check this Out
and did you know how to handle multiple images with diffrent width and height ? this is the last hard issue for me,

I tried this out and it mostly works but it doesn't seem to allow the re-adding of an image once the initial image is deleted? If you go to the example that @sidaurukfreddy gave at CodePen, you can load an image and delete it, but if you click to load an image again, it does not load back into the cropit area; it just stays blank.
Any ideas on that?

Hi guys ,
I  am also facing this issue. I am removing image from editor at step 3, I have an image gallery and file upload function. Whenever user pick any pics from library  at that time I needs to clear image editor then it is not  work properly. May it's help full to you guys.below Mention code is  work  fine  with  me  :
**Step  1 Html Setup & CSS **

              <input type="file"  name="browseFile" id="browseFile" class="cropit-image-input">

Resize image

              <input type="range" name="range" class="cropit-image-zoom-input">
              <input type="hidden" name="image-data" class="hidden-image-data" />

              Browse Image

It must be an image file.
.png, .jpg, .jpeg, .gif, .bmp

CSS
`

`
Step 2 Cropit Initialization
//Sdet Image  Cropping Tool
$('.image-editor').cropit(
{
"smallImage":"reject",
"onImageErrorfunction": function (fileObj){
custom_message(fileObjError.message);
},
"onImageError":function(fileObjError) {
custom_message(fileObjError.message);
},
"onImageLoadedfunction":function(fileObject){
  console.log(fileObject);

},
"onOffsetChange":function(fileOffsetObj){
  console.log("offset Change "+fileOffsetObj);
  var imageUrl = $('.image-editor').cropit('export');
  $('.campFile1,#campFile').attr('src',imageUrl);

}

});
Step 3 : Clean uo  Image  Editor
$('input.cropit-image-input').val('');
$('.cropit-preview').removeClass('cropit-image-loaded');
$('.cropit-preview-image').removeAttr('style');
$('.cropit-preview-image').attr('src','');


bpi-r4: init

Thanks for this repository, it is a great reference!
I got the bpi-r4 booting here: https://github.com/newAM/nixos-bpi-r4
I hope to bring that code back into this repository.
Notes:

No wireless yet.  I do not have a wireless module to test with.
This PR is untested, it will take a while for my computer to compile this all natively.

Hah, funny. I was just about to start that task. Literally started a few hours ago. But I don't have the HW yet.

Do you need to use the custom kernel? Upstream should have support.

I'm glad I opened a draft then :)
An upstream kernel should work.  I'll investigate that.  Looking back at my notes it was failing to find the EXT4 root partition with an upstream kernel, but it is likely the underlying cause is a bug in the SD card boot device tree overlay, not anything to do with the kernel itself.

I tried out an upstream kernel and the SD card boot device tree overlay does not apply anymore.
linux-aarch64-unknown-linux-gnu-6.10.2-modules-shrunk> building '/nix/store/8yjqnwnrv1v6h0ic1vgvnxlg2zzxmsag-linux-aarch64-unknown-linux-gnu-6.10.2-modules-shrunk.drv'
device-tree-overlays> ./mediatek -> /nix/store/7gshz5sm2y35a4kmvj6cyhz6icb8z22z-device-tree-overlays/./mediatek
device-tree-overlays> './mediatek/mt7988a-bananapi-bpi-r4.dtb' -> '/nix/store/7gshz5sm2y35a4kmvj6cyhz6icb8z22z-device-tree-overlays/./mediatek/mt7988a-bananapi-bpi-r4.dtb'
device-tree-overlays> Applying overlay BananaPi BPiR4 Enable SD card interface to mt7988a-bananapi-bpi-r4.dtb...
device-tree-overlays> Failed to apply '/nix/store/rlg3kizk7z2pm692qlw9zvrab12bjl2c-BananaPi-BPiR4-Enable-SD-card-interface-dtbo-aarch64-unknown-linux-gnu': FDT_ERR_NOTFOUND

Any ideas?

I tried out an upstream kernel and the SD card boot device tree overlay does not apply anymore.
Any ideas?

The upstream device-tree for the device looks to be not much more than a placeholder.  You might be able to create a complete dts for the device similar to what I've done with the OrangePi 5B and use that with an upstream kernel provided the hardware is supported upstream, or more likely the R3 kernel with a few additional options set as I suspect the DSA driver is still buggy when built as a module rather than built in.  I would not be opposed to the R3 kernel supporting R3 and R4 if that were the case.
As much as I do not want non-upstream kernels in here, for now it does look like the only option as the device is in the early days and not everything has hit the mailing list yet, which would allow building upstream with the patches from lore/patchwork.

I have been tinkering with the kernel, I got it to boot an upstream kernel by building the DTB separately as you did for the OrangePi 5.
Sadly the upstream kernel panics.  Looking through Frank-W's changes I think there are modules needed that are not upstream, specifically the GPIO driver seems pretty important, and some clock changes.
I'm going to tinker with the kernel some more.  I'm not too keen on vendor kernels either.  I would prefer to have a set of patches ontop of a release.  I think this is doable with a dozen or so patches.

For uboot env, this could be a template https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1/blob/main/u-boot-mt/bananapi_bpi-r4_sdmmc_env

For uboot env, this could be a template https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1/blob/main/u-boot-mt/bananapi_bpi-r4_sdmmc_env

No, only the newer bootflow method is used in this repo.  This keeps boot consistent across boards and I keeps the u-boot builds maintainable by me.

I'm going to tinker with the kernel some more. I'm not too keen on vendor kernels either. I would prefer to have a set of patches ontop of a release. I think this is doable with a dozen or so patches.

I have been working on bringing down the kernel compile time to something reasonable without needing a beefy build box.  My goal is to get these building on ARM in CI and pushed into a cache (on my second pass at that now).
I just got around to testing the linuxPackages_6_9_bananaPiR3_minimal image I've been using in my CI tests on my R3 that I use as an AP and it works, so it should be good to go as a base if you want quicker builds of the kernel you're working on with patches.
I forgot to time the build, but I think it was under an hour on my OrangePi 5B (with the OPi5B being about 3x faster than a RPi4).
Though if you're rebuilding a lot, it's probably easier to work in a devshell and leverage incremental builds.  That's what I did when I was getting the first kernel ready for the R3 with a ton of patches pulled from the mailing lists.

Kernel
I tinkered with the kernel a lot, and in the end Frank W's is the most reasonable way forward.
Omitting some of Frank's commits that don't seem important often leads to subtle breakage.
I can just apply all ~20ish of Franks commits as patches, but not all the patches apply since the nixpkgs kernel is newer than Franks (for example Frank's 6.10 is based on 6.10.0, whereas nixpkgs is on 6.10.2).
Many patches Frank's commits are patches from the mailing list, but patches submitted in January & February have only just started making it into a release (6.11-rc).  By my estimate we will be able to use an upstream kernel hopefully around 6.13.
I updated the kernel to 6.10 for the BPi since it's less patched than Frank's 6.9.  Additionally 6.10 is still supported upstream.  This required a flake.lock update.  I can move the flake.lock update to a separate commit / pull-request if desired.

I just got around to testing the linuxPackages_6_9_bananaPiR3_minimal image I've been using in my CI tests on my R3 that I use as an AP and it works, so it should be good to go as a base if you want quicker builds of the kernel you're working on with patches.

That looks great!  I'll try that out later.
Testing
I have not tested this yet, which is why it's still a draft.
I'm building it all now, if it boots I'll mark this ready for review, but I don't expect any more code changes (apart from review feedback).
Other Notes
Often the mtk_soc module will fail to load during boot.  A simple sudo rmmod mtk_eth /  sudo modprobe mtk_eth will fix this.

Example logs...
```console
$ sudo rmmod mtk_eth
$ sudo modprobe mtk_eth
[   76.274207] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[   76.282419] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[   76.290680] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[   76.308182] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc083a00000, irq 112
[   76.318370] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc083a00000, irq 112
[   76.328851] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc083a00000, irq 112
[   76.473227] mt7530-mmio 15020000.switch: configuring for fixed/internal link mode
[   76.480876] mt7530-mmio 15020000.switch: Link is Up - 10Gbps/Full - flow control rx/tx
[   76.506101] mt7530-mmio 15020000.switch wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7988 PHY] (irq=POLL)
[   76.543193] mt7530-mmio 15020000.switch lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7988 PHY] (irq=POLL)
[   76.580563] mt7530-mmio 15020000.switch lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7988 PHY] (irq=POLL)
[   76.620298] mt7530-mmio 15020000.switch lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7988 PHY] (irq=POLL)
[   76.631916] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[   76.638727] DSA: tree 0 setup
[   76.683770] br-lan: port 1(lan2) entered blocking state
[   76.689012] br-lan: port 1(lan2) entered disabled state
[   76.694326] mt7530-mmio 15020000.switch lan2: entered allmulticast mode
[   76.700943] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[   76.707988] mt7530-mmio 15020000.switch lan2: entered promiscuous mode
[   76.721687] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[   76.729865] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[   76.730559] mt7530-mmio 15020000.switch wan: configuring for phy/internal link mode
[   76.748133] mt7530-mmio 15020000.switch wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   76.749271] br-lan: port 2(lan3) entered blocking state
[   76.761570] br-lan: port 2(lan3) entered disabled state
[   76.766855] mt7530-mmio 15020000.switch lan3: entered allmulticast mode
[   76.773722] mt7530-mmio 15020000.switch lan3: entered promiscuous mode
[   76.864853] mt7530-mmio 15020000.switch lan2: configuring for phy/internal link mode
[   76.874324] mt7530-mmio 15020000.switch lan3: configuring for phy/internal link mode
```

Sometimes the SD card wont resize itself.  I tried the script from this repository and the original script from nixpkgs, I had intermittent issues regardless of the script.  I don't think this is a code issue with the boot script.  I think this is a race condition with the order of modules in the BPi-R4 bootup.  Or maybe my SD card is just bad.  Still gathering data.  I haven't put any effort into debugging because it wont impact subsequent boots after it is fixed.
Worked around with e2fsck.

Example logs...
```console
$ sudo e2fsck -fy /dev/disk/by-uuid/0b5e3376-c7e9-4284-9514-9c3b51244f19
e2fsck 1.47.1 (20-May-2024)
Resize inode not valid.  Recreate? yes
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong for group #0<PHONE_NUMBER>, counted=0).
Fix? yes
Free blocks count wrong (20616, counted=20617).
Fix? yes
root: ***** FILE SYSTEM WAS MODIFIED *****
root: 138244/150784 files (0.1% non-contiguous), 601975/622592 blocks
$ sudo resize2fs /dev/disk/by-uuid/0b5e3376-c7e9-4284-9514-9c3b51244f19
resize2fs 1.47.1 (20-May-2024)
Resizing the filesystem on /dev/disk/by-uuid/0b5e3376-c7e9-4284-9514-9c3b51244f19 to 31291259 (4k) blocks.
The filesystem on /dev/disk/by-uuid/0b5e3376-c7e9-4284-9514-9c3b51244f19 is now 31291259 (4k) blocks long.
</details>

Alright everything boots now.  I did a few more changes, rebased onto the latest main, removed some dirty code that I didn't intend to commit, and fixed a typo in the environment file.

This commit has been merged as b157b70, github does not recognise this, so this is "close with comment".
I pulled out the flake.lock update as it's easier for me to bump them than audit hashes, though in this case they were identical, and also reworded the commit message as I like those to be very verbose.
I've open #11 to track next steps from here.


FCBF Feature Selection

Hi!
i have a question about your code and paper. In your code you use fcbf feature selection to your sample and you got 20 features. The question is,  did you use fcbf feature selection again in all your dataset when evaluation? Or you just use the same feature with sample? Because it takes so long when i run fcbf feature selection through all the dataset. Thanks!

Hi, I used the same 20 features for evaluation.

From: Hafizh Anjar Saputra @.>
Sent: Sunday, July 28, 2024 1:30:03 AM
To: Western-OC2-Lab/Intrusion-Detection-System-Using-Machine-Learning @.>
Cc: Subscribed @.***>
Subject: [Western-OC2-Lab/Intrusion-Detection-System-Using-Machine-Learning] FCBF Feature Selection (Issue #9)
Hi!
i have a question with your code and paper. In your code you use fcbf feature selection to your sample and you got 20 features. The question is, did you use fcbf feature selection again in all your dataset when evaluation? Or you just use the same feature with sample? Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Western-OC2-Lab/Intrusion-Detection-System-Using-Machine-Learning/issues/9, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF3T63X4SLWKA5T5HBUTSNTZOR6VXAVCNFSM6AAAAABLSPRY72VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTGNZWGAZDKNA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Alright Thanks!
And how about the hyperparameter? should we find the best parameter at the whole dataset? or we can use sample best parameters?


Disk crash after latest os upgrade?

Is this a random proxmox fail or could this have anything to do with this installation method?

I have the same error. I did update the OS and everything was working until a reboot of the host.
See also this issue: https://github.com/home-assistant/operating-system/issues/1092
Hopefully this can be fixed!?

Tried recreating the VM, but script failed, was running Proxmox 6.1, upgraded to 6.3-3 and that fixed the problem. Am now up and running again after loading a backup configuration .yaml

Same problem here, have the disk attached to an ubuntu VM and from what I can tell the EFI folder is corrupted after 5.9 update

@olibuijr Did you recreate the VM to get it working, or only updated proxmox and existing VM started working?

Same problem here, have the disk attached to an ubuntu VM and from what I can tell the EFI folder is corrupted after 5.9 update

@olibuijr Did you recreate the VM to get it working, or only updated proxmox and existing VM started working?
(I don't think this has anything to do with the installation method)

i recreated the whole thing.

i'll be holding off the upgrade until we get a hint of a solution

UPDATE : I have posted the procedure to manually recover corrupted EFI partition after 5.9 update
@olibuijr If you still have your VM disk, you can try this for full recovery if  EFI is corrupt
https://github.com/home-assistant/operating-system/issues/1125#issuecomment-750457231

Tired a clean install and got this failure:

It seems the script no longer works
instead you can create a VM, remove the disk that it created by default and then do :
cd /tmp
wget https://github.com/home-assistant/operating-system/releases/download/5.9/hassos_ova-5.9.qcow2.xz
xz -d -v hassos_ova-5.9.qcow2.xz
qm importdisk <vmid> hassos_ova-5.9.qcow2 <storage-name>
# example:
# qm importdisk 100 ./hassos_ova-5.9.qcow2 local-lvm

MJ thanks for what you do for the community..I will give it a try!

It seems the script no longer works
instead you can create a VM, remove the disk that it created by default and then do the following for a fresh install :
cd /tmp
wget https://github.com/home-assistant/operating-system/releases/download/5.9/hassos_ova-5.9.qcow2.xz
xz -d -v hassos_ova-5.9.qcow2.xz
qm importdisk <vmid> hassos_ova-5.9.qcow2 <storage-name>
# example:
# qm importdisk 100 ./hassos_ova-5.9.qcow2 local-lvm

then go in the web UI, attach the disk as scsi0 (hardware tab) and make sure it has a boot entry (settings tab)

The script worked for me. Just had to upgrade to latest version of proxmox.


deterministic policy or stochastic policy

In this repo, a deterministic policy is used, however, in the A3C paper, it is a stochastic policy (hope that I don't misunderstand), any reason for that?

This is not deterministic as action is sampled from distribution returned by network.

Yes, I just noticed that, and coming to close this issue...Anyway, thx!


Merge spring-cloud-azure_4.5.0 to main

As title.

API change check
API changes are not detected in this pull request.


Validate URI for the gRPC channel prior to connection

Today, if the worker is launched without a valid URI provided in configuration or command line argument, the failure is cryptic and not helpful. We should validate the URI and provide a clear error message if it isn't valid.

Looks like this is done now: https://github.com/Azure/azure-functions-dotnet-worker/blame/main/src/DotNetWorker.Grpc/GrpcWorkerClientFactory.cs#L110


pretty-print Controls format  made Pretty

Checklist before requesting a review

[x] My code follows the style guidelines of this project
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I have performed a self-review of my code
[x] If it is a core feature, I have added thorough tests.
[x] New and existing unit tests pass locally with my changes

Please open the PR against the dev branch (Unless the PR contains only documentation changes)

Nice. The URLs might be an issue.
@YiscahLevySilas1 Do we have a convention for the CIS controls?

@dwertent the doc controls naming conventions will be:
https://hub.armosec.io/docs/c-0001 - for none-cis control ids.
https://hub.armosec.io/docs/cis-1-1-3 - for cis control ids.
Will be fully active live within the next couple of days.

Hi @dwertent, Changed the link conventions for CIS controls as suggested by @kooomix

Hi @dwertent,
There is already a getControlLink function in core/pkg/resultshandling/printer/v2 . Shall I update it?

Hi All i am using the latest image but the link still doenst work is shows 5.1.1 istead of the right one

Hi @oakgul1 ,
What is the exact link you were trying?


VeBank defi protocol

Project Abstract

Please provide a brief description of your project here summarising key points (1-2 paragraphs).
If your application is a follow-up to a previous grant, please mention which one in the first line of the abstract and include a link to previous pull requests if applicable.

For which grant level are you applying?

[ ] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied, renamed ( project_name.md) and updated.
[ ] I have read and understood the FAQs, application guidelines and announcement guidelines.
[ ] A BTC, Ethereum (USDT/USDC/DAI) or Polkadot/Kusama (aUSD) address for the payment of the milestones is provided inside the application.
[ ] I have read and acknowledge the terms and conditions.
[ ] The software delivered for this grant will be released under an open-source license specified in the application.
[ ] The initial PR contains only one commit (squash and force-push if needed).
[ ] The grant will only be announced once the first milestone has been accepted.
[ ] I prefer the discussion of this application to be in a private Element/Matrix channel. My username is: @_______

How Did You Hear About our grants program?

[ ] Social Media
[ ] Hackathon
[ ] Personal Recommendation
[ ] Substrate Builders Program
[ ] Investor/VC
[ ] Online Search
[ ] Other: _______

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for information @Noc2 . We will apply for project on blockchain Polkadot, Kusama, Substrate later. Please close it.


Ability to open a webview

Hi, I would like to know if it is possible to open an external webview with a an external link. Like a browser window.

I have done this using a widget that has an  and infact in the scene I import this widget I have the webpage there, now I am trying to be able to control it with the remote. I am able to control it on my webOS witht the airmouse, but that is not the end goal, I am trying to use the control pad. Any sugestions ?


PlayerDimensionChangeEvent implementation

Description
Implemented PlayerDimensionChangeEvent, (hooking ServerPlayer::changeDimension).
It is triggered when a player changes dimension.
Cancelling this event will prevent the player from changing dimension (e.g : entering a nether portal).
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the code style of this project.
[x] I have tested my changes and confirmed that they are working

Thanks for your contribution


VPN causes network to report as metered

Hello, I think my email chain with support has bugged out as it has sent me a survey asking me to rate my support experience, but the problem has not been solved or even acknowledged thus far.
I develop software and in one of my programs, I noticed that my connection was reporting as metered. I debugged this issue and found that this only occurs when the PIA app is connected.
I did further googling and found that in Android 11 or Android 12, a change was made which causes this, and that VPN apps need to update in some way to avoid this effect. I would like for whoever makes the mobile app to resolve this issue, as some of your competitors have reportedly done already.
To help, I have produced an open-source reproduction project, which I already provided to PIA support: https://github.com/Liam2349/Android12MeteredVPNRepro
See the instructions inside, and conveniently access the built APK here for testing: https://github.com/Liam2349/Android12MeteredVPNRepro/releases/tag/Release
The reproduction is very simple and there are instructions over on github. When the PIA app is connected, the native Android.Net.ConnectivityManager.IsActiveNetworkMetered method reports metered, and when the PIA app is not connected, it reports unmetered as it should for my network.
I hope to see a resolution to this issue soon. Please note that this affects Android 12, perhaps Android 11 also, but not Android 10.
Also on reddit: https://www.reddit.com/r/PrivateInternetAccess/comments/tesnzi/androidbug_vpn_causes_network_to_report_as_metered/

hello @Liam2349 first of all, apologies for the very late reply. Is this something you can still reproduce with our latest version? I just did a quick test using Android 11 and IsActiveNetworkMetered returns false when the VPN is connected for both OpenVPN and Wireguard.


After should passthrough the errors

As titled.
Related: https://github.com/fastify/fastify/pull/454 https://github.com/fastify/fastify/issues/460

I think we should consider this as a minor/bugfix.
Take https://github.com/fastify/fastify/pull/454 for example, the issue were that we was not handling the error, and we failed silently.


Added ruby character support

Status
Type

:x: Hold
Feature

Description
In asian scripts like Japanese or Chinese there is a concept of Ruby Characters, annotative characters which accompany complex characters. In Japanese these are known as Furigana, and in Chinese as Bopomofo.
Vocascan could benefit from displaying these characters in the right way. Modern browsers all support  Ruby Characters, and if they don't there is a fallback available.
The Ruby Characters need to be entered in the database in a standard format. Use [] to enclose the base characters, and {} to encase the Ruby characters. This is then parsed to create the appropriate HTML tags.
[漢字]{かんじ} will become 漢字
Screenshots / GIFs (if appropriate):
I have made the functionality already for the Vocab Cards.

Entering the syntax in the edit vocab screen.

Checklist

[x] I have read the CONTRIBUTING document. (This is empty?)
[ ] I have considered the accessibility of my changes (i.e. did I add proper content descriptions to images, or run my changes with talkback enabled?)
[ ] I have documented my code if needed
[ ] Move parsing code to utility script (if this exists)
[ ] Add ruby support to other area's of the app.

Resolves
resolves #147

I have some questions related to the to do list.

Contributing document is empty?
Are there any accessibility changes I can make?
What are all the area's where this can be implemented? I'm thinking on the vocab overview screen, but are there any more?
Is there a generaly available utility script where we can put the parsing code? That way the code will not get repeated.

BTW, the link to your discord does not work.

Hi @ditmarvisser,
thanks for your pull request.
For the checkboxes, no worries just tick them, if there is anything missing we will let you know. Seems like don't have a proper contribution guideline, that's why the CONTRIBUTION file is empty. The only this you have to watch out are the translations, but as it seems you haven't changed anything there anyways.
this is the utility file, where you can outsource the function to make it available everywhere in the project
The following areas might need that implementation:

VocabCard (already done by you)
We have a library where you can see all your added vocabs, this might need the update too, otherwise you see the brackets in the preview

sorry for the broken Discord link, in the documentation they fall back to discord.vocascan.com, but as we made a provider change for the domain earlier, who doesn't support the routing to other domains, this is not working anymore. The links haven't been updated yet. Here is a new one: https://discord.gg/xUfwZnh6BW


New interface for interaction with API

Hey, thank you for your library.
I want to suggest some improvements:

change library type to .NET standard to support more .NET implementations,
cover existing API as possible as we can,
allow library users to retrieve the only data that they need.

I tried to make some changes:

removed files that appear during build and should not be in the repo,
changed interface and added models to let users to manipulate the data.

I'm sorry for the late comment but unfortunately I can't merge this pull request because I think that the interface will be slightly confusing for some, my initial idea was to make the code and the interface as simple as possible so even beginners can understand but thank you for the idea of porting the library to .NET standard 2.0. @all-contributors please add @Aleksey-Nikonov  for ideas


Added #steps _to_openSource

Just added some minor updates, which involves pointers to resources for Go environment setup and other additional  things, which might come handy for people looking for their first contribution in open source specially in Go. can we add it in @beorn7.
Signed-off-by: Transwert<EMAIL_ADDRESS>

@beorn7 i totally understand it, but let me include all the points which you mention, propose a new change, if it doesn't work out, fine by me. I thought that adding these changes will beneficial for new comers especially peeps who are both new to Go and Opensource.

I actually don't think that the CONTRIBUTING.md file of an individual open-source project is a good place for a general introduction to open source or programming in Go.
Does anybody else have an opinion on this?

I agree with @beorn7

Especially since we should then also point to how to start with react, javascript, markdown and many other things used in Prometheus.

@beorn7 @roidelapluie fine by me, it's just based on experience of mine that these docs can be improved a bit (or any other alternatives which can be thought about) as these might not be effective for people who are new with Go OpenSource Development, but if everybody agrees then, no problem i close this PR.


Help Me: I am trying aws and following steps provided in video and I couldn't set up hot wallet claim it show some error please help.

[Introduction:]

Installed Versions:
PM2 version: [PM2] Spawning PM2 daemon with pm2_home=/home/ubuntu/.pm2
[PM2] PM2 Successfully daemonized
5.4.2
Python version: Python 3.12.3
Node.js version: v23.0.0
npm version: 10.9.0
./install.sh: line 90: chromium-browser: command not found
./install.sh: line 90: google-chrome: command not found
Chromium/Chrome version:
Chromedriver version: ChromeDriver 130.0.6723.58 (3a50e012e4c9b8a410a4e2b12bf577e69ee8f755-refs/branch-heads/6723@{#1353})
Architecture: x86_64
Here some error chrome browser.
Before raising a help request, please ensure you've followed the necessary setup and troubleshooting steps. This will help us assist you more effectively and efficiently.
Which self-help guides have you tried to follow? (required):
Please list the guides or resources you've consulted so far.
Describe Your Issue (required):
Please provide a clear and concise description of the help you need.
Have you checked the FAQ (required):
Before submitting, please confirm that you've reviewed the FAQ linked above.
Steps Taken So Far (optional):
Describe what you have tried so far to resolve your issue.
Additional Information:
Include any other information that might help us assist you, such as screenshots, logs, or system details.

Follow the troubleshooting guide.

Final thought:
If you're having trouble setting up the dependencies and requirements to run this script, consider using Docker Desktop (on Windows or macOS) or Docker CLI (on a VPS). The Docker setup includes everything pre-built and tested, making it much easier to get up and running.
If the troubleshooting steps here don’t resolve your issue and you can’t find the answer in previously closed issues, feel free to open a support ticket. However, please note that vague posts like "doesn't work" without any detailed information may be closed, locked, or deleted.


fix 304 incorrectly set as 200

Fix #631

Would there be a way to add test?

Not with our current setup, as i said in a previous comment in the issue, this does not happen with the default cloudfront policy (which is what we use).
In order to test this properly we would have to run OpenNext locally without cloudfront ( which is probably what we should implement at some point so that we could run more e2e test more easily )

@vicb unless there is something you'd want changed, i'm gonna merge this one and make a release

Great, thanks!


Add availability to use parent proxy (http/socks) and make variables in config.py for it, please.

Thx for project.
Can you add availability for using some parent proxy (not proxy for Telegram, but proxy for Internet access)? For example, there is some proxy server in a LAN which is used for Internet access. And there is no NAT/Direct connection here. That why I ask for adding some additional functionality.
I think that it will be some new variables in config.py.

I can do this and its very simple!
Install PySocks module and add import socks to mtprotoproxy.py
I set up cascade through local Tor. And without config options. Simple code change:
after line:
def init_config():
insert additional 2 lines:
socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "localhost", 9050)
socket.socket = socks.socksocket

Replace localhost and 9050 with your SOCKS5 proxy address. Thats all!

Also you can set this in the config.py:
MASK_HOST = "your_socks_proxy"
MASK_PORT = 1234

Then connects as SOCKS5 proxy. And connections from mtprotoproxy.py itself made directly. Not proxified.

Done

Also you can set this in the config.py:
MASK_HOST = "your_socks_proxy"
MASK_PORT = 1234

Failed to connect to MASK_HOST socks5://<IP_ADDRESS>: [Errno -2] Name or service not known

The MASK_HOST <IP_ADDRESS> is not TLS 1.3 host, this is not recommended
Error getting server time [Errno 110] Connect call failed ('<IP_ADDRESS>', 443)
Error updating middle proxy list: [Errno 110] Connect call failed ('<IP_ADDRESS>', 443)\
<IP_ADDRESS>' is block redirection url

I don't speak English, so the following answer is machine translated:
The correct Socks5 configuration should be added in config.py
SOCKS5_HOST = "<IP_ADDRESS>" # your socks proxy address
SOCKS5_PORT = 1081 # your socks proxy port

Here is my original text:
正确的 Socks5 配置应该是在 config.py 中添加
SOCKS5_HOST = "<IP_ADDRESS>" # 你的 socks 代理地址
SOCKS5_PORT = 1081  # 你的 socks 代理端口


Pulsar qld gpu inventory updates and terraform definitions for VMs

We like to add the backends.tf so that the state file is uploaded and anyone can access it

backend swift was removed in Terraform v1.3, and I've been using v1.8.5.

apparently Openstack users are recommended to use a postgres backend hosted through a Trove instance. See https://lists.openstack.org/pipermail/openstack-discuss/2022-August/030043.html and https://docs.openstack.org/trove/latest/

I'll merge it as is. It's tech debt to have no saved state, can you please make an issue for this?


Unify e2e tests and pass all with Shared Kubernetes cluster

Motivation
Last tests (excluding excluded ones) that needed to pass on Shared local Kubernetes, plus unifying
Proposal
Unifying e2e tests, and making them pass on Shared local Kubernetes
Test Plan
CI

Current dependencies on/for this PR:

main

PR #1377

PR #1378

PR #1379

PR #1380

PR #1388   👈

This stack of pull requests is managed by Graphite.

Merge activity

Dec 14, 2:08 PM: @@andresilva91 started a stack merge that includes this pull request via Graphite.