Fix CNDB GH Action for updating Stargate v2.1.x version (stargate-update-version.yaml)

When a new Stargate version (v2.0 only for now) gets published, a Github repository_dispatch event is sent to CNDB, to update pom.xml to use newly released Stargate version.
This used to be done both for Stargate v2.0 and v2.1 publish workflows, but due to CNDB changes to active branches, it only works for v2.0 currently. GH Action is defined in:
https://github.com/riptano/cndb/actions/workflows/stargate-update-version.yaml
We should fix things to work on Stargate v2.1 as well, but since things are in-flux wrt CNDB branches/versions, we may want to wait for a bit and do this only after things settle.
FWTW currently CNDB has mapping so that:

main (renamed from vsearch; CNDB 0.2.0-SNAPSHOT) uses Stargate v2.1.x
legacy-cndb-with-dse (renamed from master, CNDB 0.1.0-SNAPSHOT)  uses Stargate v2.0.x

and GH action has:
on:
  repository_dispatch:
    types: [ c2-v2-release ]
    # ....
      - name: Create pull-request
        uses: peter-evans/create-pull-request@v4
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          commit-message: Use Stargate ${{ steps.update.outputs.version }}
          branch: update-stargate-version
          branch-suffix: short-commit-hash
          base: master

meaning:

Workflow is started on Stargate v2.0 release (and uses 2.0.x version)
PR is created against master, which seems to be translates into legacy-cndb-with-dse by action.

@tatu-at-datastax Wondering why the issue was created here? Is there a change required to code in this repo?

I don't know; as far as I know, all of our builds work. But if something needs to be changed, should be stargate/stargate, not Data API.
Still no idea what might be the problem, wrt actual CNDB CI problem.

Ugh. Wrong repo, will try to move to Stargate. But the issue filed for one of our projects since even if change needed on CNDB side, we won't typically go over cndb issues when looking for things to work on.


Code cells with language "markdown"

I keep seeing this happen in the keyboard smashing test, but have no clue how it happens. The test just runs "insertCodeCellBelow" and the cell ends up with a language of "markdown". That is actually the value in the model, since it gets saved by the extension.

I stopped seeing this, I don't know what happened but it could be some test issue too.


Multiple build updates:

Use cibuildwheel recommended CI workflow
Remove usage of abandoned rust GH actions
Drop Python 3.7 (EOL, does not support universal2 wheels for macOS)

This is too far out of my wheelhouse so I will not be reviewing.
Pun intended.

Dropped the arm64 macOS stuff because randomprime doesn't build anyway


performance improvement suggestion

umya-spreadsheet is so far the only crate I can find with both read and write feature I need. I do hope my suggestion could make this library better.
below is comparison from my little program.
excel file size, about 1M, 3 sheets, the biggest sheet has about 1000 lines and 110 columns
calamine + rust_xlsxwriter, less than 1s,  about 100M memory
umya-spreadsheet:  more than 6s, more than 1G memory.
My program only process data and format, no chart, image etc.
So here's my suggestion for performance improvement.
For memory, I saw every Cell has a Style instance. It should be possible that a Cell only hold a reference of Style like the real excel did, this should reduce the memory usage a lot.
For speed, I see you use HashMap for cell collection, consider the cell row number and column number are just integer, you may use nohash hasher instead.
Regards

I think #158 may be a suitable starting point for the issue.


JS Bootcamp Repository

My Introduction

Name
Nathan Neelis
Class
Tech - 4
About me
Hard-working student
Skill level
Beginner @ JS
GitHub username
/NathanNeelis
GitHub repository
Bootcamp repository

👋 Nathan
I see a ton of exercises, good! You might want to expand on your notes a bit while you continue working on front-end. You can also write these notes in markdown format in your wiki.


Indonesian provinces not required

It appears that "Province" in Indonesia is either not required, or not used at all.

Google address data reference: https://chromium-i18n.appspot.com/ssl-address/data/ID
Also refer to issue #60

Wikipedia says province is optional in Indonesia.
UPU for Indonesia says Province is "[n]ot used in address".

And according to PitneyBowes Indonesian geocoding software specs (page 13), "State/Province ... is not used for this country."
Graham Rhind's Global Sourcebook for International Data Management states that in Indonesia, "Administrative districts ... provinces ... are not used in addresses."
When searching trough ALL the example addresses submitted by the Indonesian Postal Authority to UPU, not one of them includes a province.
Indonesia S42 Standardized Address Format Description as submitted to UPU: idn.pdf. Note "Region" (or Province) is missing in the list of S42 elements used.
But, the Google libaddressinput metadata shows not only is province included, but it's required:
{
    ...
    "zip": "\\d{5}",
    "require": "AS",
    "name": "INDONESIA",
    "lang": "id",
    "fmt": "%N%n%O%n%A%n%C%n%S %Z",
    ...
}

perhaps the metadata should be changed to the following?
{
    ...
    "zip": "\\d{5}",
    "require": "A",
    "name": "INDONESIA",
    "lang": "id",
    "fmt": "%N%n%O%n%A%n%C %Z",
    ...
}

Cheers,
Mike McKenna

Hi. My understanding is that the province is written if the person searching or writing the address is in another province. Since the metadata (and widget) isn't aware of this context, we always include it (as required).
In addition, since we have the defined listed of provinces, having the field required should hopefully be problematic,


Add support for custom HTTP headers in API calls

This commit adds a map of custom HTTP headers to UnleashConfig, and
includes these headers in calls to the Unleash server. This may be used
to, e.g., add an Authorization field if the server is behind a wrapper
or proxy which requires authentication.
See Unleash/unleash#222 on GitHub for background discussion.

Coverage increased (+0.06%) to 95.335% when pulling 1b2c340ab6a7787dccca4cb6939ba24c5b3ce57e on andereld:feature/custom-http-headers into 3b71181953d4aa2d382c85b0960539d70e994e10 on Unleash:master.

Coverage increased (+0.07%) to 95.344% when pulling 35e3c609ed55e6f43116672733d7c5610dcee43d on andereld:feature/custom-http-headers into 3b71181953d4aa2d382c85b0960539d70e994e10 on Unleash:master.

Nice job, even got tests! Thanks =)

Will release this next week (traveling this weekend, and do not have correct keys set up on my laptop).

Released as 2.1.2!

Nice, thanks!

config.getCustomHttpHeaders().forEach(connection::setRequestProperty);

😄


Add allocationUUID to westDaat to match WaDE changes

Use allocationID instead of AllocationAmountID where needed
Changes to data contracts and tests

The backend tests will not pass until the WaDE PR in the other github is merged. We are not merging either of these PRs in until Thursday


sierra-gtk-theme: 2019-12-16 -> unstable-2021-05-24

Motivation for this change

sierra-gtk-theme: 2019-12-16 -> unstable-2021-05-24
sierra-gtk-theme: reformat
sierra-gtk-theme: run hooks in installPhase
sierra-gtk-theme: replace duplicate files with hardlinks
sierra-gtk-theme: add optional arguments

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/690


Highlight open source models

refs #58

Job VTB Documentation on f072dae wanted to post the following:
View the site here
This comment will be updated on new commits.


Palette panel can not be displayed

When I load this library, Palette panel can not be displayed, you can display removed

closing as not related to nucleus, or description is not informative


Implement display character limit counter and hint on TextInput

We should implement a character counter and hint to TextInput:

Add a maxLength={Int} prop. Defaults to null. Make sure this is passed down to RN's TextInput component.
Add a hint="string" prop. Defaults to an empty string.
Display the character counter and hint under the input.

Notes:

Inline errors should always replace the hints.
Hint copy should be padded on the left to align with input value and label.
Character counter should have the same padding on the left.

Triggered auto assignment to @puneetlath (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Actually, we might use Applause to do this audit for us. Removing the External label.

Oops, this one is still external! My bad!

Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new.

@luacmartins currently we have inlineErrors formatted this way:

You think we should also change the behavior of inlineError styles to fit the provided images you gave us?(padding left)

@mateusbra inline errors aligning with labels and input value is the design going forward.

@luacmartins just to clarify, we just want a contributor to go ahead and implement these changes to our TextInput component right? I'm not quite sure I follow how Applause would be involved here.

Yes, correct. That comment was meant for another issue, sorry about the confusion!

Cool, no worries!

Since @parasharrajat is doing a bunch of work on consolidating our various TextInput components, it might make sense for him to include this. That seems like the least risky approach to me. @parasharrajat what do you think?

Yeah, I can take it. And move this milestone to the top of the list so that it can be done early.

Ok sounds good. I'll add it as a milestone to our existing Upwork job for the TextInput refactor.

Current assignee @parasharrajat is eligible for the Exported assigner, not assigning anyone new.

Not overdue! PR was merged, but not deployed yet.

Awaiting production deploy.

Paid!


balancing between services hosted on differente namaspaces

Is your feature request related to a problem? Please describe.
I'd like to load balancing traffic between two services (v1, v2) running on two different namespaces.
Additional context
Guess service:v1 is running on ns1, and service:v2 on ns2.
Up to now, I've been able to create a virtual service and a destination rule, but both services running inside the same namespace.
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  creationTimestamp: null
  name: recommendation
  namespace: istio-project
spec:
  host: recommendation
  subsets:
  - labels:
      version: v1
    name: version-v1
  - labels:
      version: v2
    name: version-v2

And a VirtualService:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  creationTimestamp: null
  name: recommendation
  namespace: istio-project
spec:
  hosts:
  - recommendation
  http:
  - route:
    - destination:
        host: recommendation
        subset: version-v1
      weight: 75
    - destination:
        host: recommendation
        subset: version-v2
      weight: 25

This configuration is balancing between both services.
How can I change that in order to get my goal?

Hey @jeusdi,  I'm not sure if you've tried using fully qualified domain names for services?
In your VirtualService you would use recommendation.ns1.svc.cluster.local for v1 and recommendation.ns2.svc.cluster.local for v2 similar for DestinationRule you would use full host name instead of short. You would need two DestinationRules one per service in the different namespace. I haven't tested it but by the look at the documentation it should work: https://istio.io/docs/reference/config/istio.networking.v1alpha3/#Destination


cant move blue 8 to red 9

just startet this new game from f-droid on my pixel 2 .
Nice game, by the way. Thanks for making it!

Hello ! Thank you for your detailed gif, the blue 8 should definitely snap to the 9 red. Does this bug carry over new games or did it just happen once ?


TypeError: %d format: a number is required, not NoneType

Sorry I don't have a smaller test case but with:
 CodeChecker store $(pwd)/codechecker-results/ -n firefox_$(date "+%Y%m%d%H%M") --url firefox
fails with some files with:
TypeError: %d format: a number is required, not NoneType
Call stack:
  File "/var/lib/jenkins/workspace/update-codechecker/build/CodeChecker/lib/python3/codechecker_common/cli.py", line 233, in <module>
    main()
  File "/var/lib/jenkins/workspace/update-codechecker/build/CodeChecker/lib/python3/codechecker_common/cli.py", line 209, in main
    sys.exit(args.func(args))
  File "/var/lib/jenkins/workspace/update-codechecker/build/CodeChecker/lib/python3/codechecker_server/cmd/server.py", line 425, in __handle
    main(args)
  File "/var/lib/jenkins/workspace/update-codechecker/build/CodeChecker/lib/python3/codechecker_server/cmd/server.py", line 1009, in main
    server_init_start(args)
  File "/var/lib/jenkins/workspace/update-codechecker/build/CodeChecker/lib/python3/codechecker_server/cmd/server.py", line 972, in server_init_start
    environ)
  File "/var/lib/jenkins/workspace/update-codechecker/build/CodeChecker/lib/python3/codechecker_server/server.py", line 1121, in start_server
    p.start()
  File "/usr/lib/python3.7/multiprocessing/process.py", line 112, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.7/multiprocessing/context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/usr/lib/python3.7/multiprocessing/context.py", line 277, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.7/multiprocessing/popen_fork.py", line 20, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.7/multiprocessing/popen_fork.py", line 74, in _launch
    code = process_obj._bootstrap()
  File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.7/socketserver.py", line 237, in serve_forever
    self._handle_request_noblock()
  File "/usr/lib/python3.7/socketserver.py", line 316, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python3.7/socketserver.py", line 347, in process_request
    self.finish_request(request, client_address)

Version:

[INFO 2023-07-12 11:28] - CodeChecker analyzer version:
---------------------------------------------------------------
Kind                 | Version
---------------------------------------------------------------
Base package version | 6.23.0
Package build date   | 2023-07-10T22:29
Git commit ID (hash) | 78f686380be330dfb5af2abe8052ac127f2be10b
Git tag information  | 6.23
---------------------------------------------------------------

[INFO 2023-07-12 11:28] - CodeChecker web version:
------------------------------------------------------------------------------
Kind                                | Version
------------------------------------------------------------------------------
Base package version                | 6.23.0
Package build date                  | 2023-07-10T22:29
Git commit ID (hash)                | 78f686380be330dfb5af2abe8052ac127f2be10b
Git tag information                 | 6.23
Server supported Thrift API version | 6.53
Client Thrift API version           | 6.53
------------------------------------------------------------------------------

I have a bunch of results:
---------------------------------------------------------
Number of processed analyzer result files        | 8275
Number of analyzer reports                       | 581322
Number of source files                           | 1358
Number of source files with source code comments | 0
Number of blame information files                | 0
---------------------------------------------------------

Hi,
Unfortunately I can't reproduce this bug. Are there some further error logs? I mean this stack trace contains no information about which %d gets a None value. Could you, please, check the logs both on client and server side?
Thank you!

Hi,
I close this ticket for now. But in case the problem persists, please, feel free to reopen it.
Thank you!


Deleting route

Feature description
It should erase a route previously stored in the users POD.

Closing issue with issue #98


im getting a make error with persistence.hpp

I had an issue during make as well.
here is the error
"/usr/local/include/opencv2/core/persistence.hpp:793:17: error: no matching
function for call to 'read'
read(**it, vec[i], _Tp());"

.....

"1 error generated.
make[2]: *** [CMakeFiles/NER.dir/src/weights_IO.cc.o] Error 1
make[1]: *** [CMakeFiles/NER.dir/all] Error 2
make: *** [all] Error 2"

did anyone else have a similar issue or know what is going on?

Please, add more information about your OpenCV version and cmake parameters.

Ok, indeed with opencv ver 3.  the file persistence.hpp does not include a version of  function
for some parameter types.
through a some operator >> call you end up calling
read( const FileNode& node, std::vector<_Tp>& vec, const std::vector<_Tp>& default_value = std::vector<_Tp>() )
In my case I get :
usr/local/include/opencv2/core/persistence.hpp:1107:27:   required from 'cv::FileNodeIterator& cv::operator>>(cv::FileNodeIterator&, std::vector<_RealType>&) [with _Tp = std::basic_string<char>]'
/usr/local/include/opencv2/core/persistence.hpp:1130:8:   required from 'void cv::operator>>(const cv::FileNode&, std::vector<_RealType>&) [with _Tp = std::basic_string<char>]'
../Control/InputGenerator.cpp:62:27:   required from here
/usr/local/include/opencv2/core/persistence.hpp:793:41: error: no matching function for call to 'read(cv::FileNode, __gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type&, std::basic_string<char>)'
                 read(**it, vec[i], _Tp());

thus call it with  _Tp being std:string,  then a required version of a read function such
static inline
void read(const FileNode& node, uchar& value, uchar default_value)

exists for a few types like uchar above, but not for std:string.
Yet if you look in opencv 2.4.12
this function existed in core/operations.hpp and it had an std:string overload.
Thus I believe there is a bug, where an overload of read() function for std:string has been missed.


Mazda: Fix OP steer warning in cars with lockout

It turned out cars with lockout don't have LKAS_BLOCK at the same time when HANDS_OFF signal is set. Once LKAS_BLOCK is set the other is unset causing OP warning to not show. Restore the old logic, but limit it to cars with lockout since it is only applicable to those, and it causes disengage in cars without lockout.
Signed-off-by: Jafar Al-Gharaibeh<EMAIL_ADDRESS>

Is HANDS_OFF_5_SECONDS ever set on cars without a lockout? If not, I'd prefer to use that instead of using the hardcoded list.

Is HANDS_OFF_5_SECONDS ever set on cars without a lockout? If not, I'd prefer to use that instead of using the hardcoded list.

It is. The behavior is a bit different though. Cars with lockout, the signal timeouts after a few seconds, LKAS_BLOCK gets set, HANDS_OFF_5_SECONDS gets unset. Whereas in cars with NO lockout, the signal continues for as long as there is no torque and LKAS_BLOCK doesn't get set.
Thinking about this more, I don't think we care about hands off really, what actually care about is  wether LKAS is disabled (lockout) or not. I think I have a better solution for that:
ret.steerWarning = self.lkas_allowed  and (cp.vl["STEER_RATE"]["LKAS_BLOCK"] == 1))

T


Added new API to editor with focus/blur

Description
editor now supports three new API methods:

editor.isFocused()
editor.blur()
editor.focus()

Fixes # (issue)
https://github.com/Darginec05/Yoopta-Editor/issues/152
Type of change
Please tick the relevant option.

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

Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented on my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have checked my code and corrected any misspellings

add docs


Beta - Waypoint: Override All Other Styles by using Important -Typos

Challenge http://beta.freecodecamp.com/challenges/waypoint-override-all-other-styles-by-using-important has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
In the first sentance: "Yay! we just proved that in-line styles will override all the CSS declarations in your style element."  The W in we should be capitalized.
In the 5th paragraph, "Let's add the keyword !important to your body' element's color declaration to make 100% sure that your h1 element will be pink." The word body' should be pink-text

I'll fix it, should be some good practice with git :smile:


perlPackages.Zonemaster*: update

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Tested by running zonemaster-cli against example.com

@GrahamcOfBorg build perlPackages.IPXS perlPackages.ZonemasterLDNS perlPackages.ZonemasterEngine perlPackages.ZonemasterCLI

Result of nixpkgs-review pr 214925 run on x86_64-linux 1

8 packages built:

perl534Packages.NetIPXS
perl534Packages.ZonemasterCLI
perl534Packages.ZonemasterEngine
perl534Packages.ZonemasterLDNS
perl536Packages.NetIPXS
perl536Packages.ZonemasterCLI
perl536Packages.ZonemasterEngine
perl536Packages.ZonemasterLDNS

@GrahamcOfBorg build perlPackages.NetIPXS perlPackages.ZonemasterCLI perlPackages.ZonemasterEngine perlPackages.ZonemasterLDNS


[main] Upgrade to latest dependencies

drop toolchain directive -dprotaso
/cc knative/operations-wg-leads
/assign knative/operations-wg-leads
Produced by: knative-extensions/knobots/actions/update-deps

/test integration-tests


Crappy scratch notes magic function?

Could be useful to take a note of what one was working on in the shell before giving up to drink tea?


A proper way to read scope and expiresAt

I'd like to read scope value from access token and value of expiresAt.
First I tried to get accessTokenPayload using useOidcAccessToken() like this
const { accessToken, accessTokenPayload } = useOidcAccessToken();

but accessTokenPayload was undefined all the time while accessToken had a value.
With version 5.x I used
    const tokens = Oidc.get().tokens;
    const scope = (tokens?.accessTokenPayload?.scope ?? '').split(' ');
    const expiresAt = tokens?.expiresAt ?? undefined;

This worked, until version 6.x where Oidc.get() started to throw an exception. And it isn't mentioned the in breaking changes.
I changed code to use OidcClient.get() instead
    const tokens = OidcClient.get().tokens;
    const scope = (tokens?.accessTokenPayload?.scope ?? '').split(' ');
    const expiresAt = tokens?.expiresAt ?? undefined;

but still wondering if this is a correct way if we have hooks and actually why useOidcAccessToken() returns accessTokenPayload with undefined value.
Is this a proper way how to do that?

Installed packages:
"@axa-fr/react-oidc": "7.15.4",

hi @pavdev64 , Thank you for you issue.
undefined is not a normal behavior.
Do you have an error in your console?

What happen if you set up your configuration on this repository demo @pavdev64 ?

I tested that. The accessTokenPayload is null. It seems to be correct. The scope is actually a property of tokens. However the scope is missing in the tokens type.
export type Tokens = {
    refreshToken: string;
    idTokenPayload:any;
    idToken:string;
    accessTokenPayload:any;
    accessToken:string;
    expiresAt: number;
    issuedAt: number;
};

so I had to retype it to any. This works for me:
    const tokens = OidcClient.get().tokens;
    const scope = ((tokens as any)?.scope ?? '').split(' ');
    const expiresAt = tokens?.expiresAt ?? undefined;

The scope is present here.


root directory looks like an absolute mess

20 directories
Just the number is a lot to browse.
Most of them containing a single config file, a few just are empty (with a nice .gitignore file).
Just pack all the config files into a single etc folder.
Duplicate directory name (I mean, bin and js/bin, and scripts ... manual test and testsuite)
src/site ??? src is usually where i would expect sources ...
Marmotinni, mustella ???
In my opinion, this is repulsive to any contributor.
It doesn't look like an open source project, more like a student pet project.

Hi @Incubatio ,
All contributors in this project are volunteers. Some of them have more time to work on it, the others very little one. I encourage you to join us and try to clean up like you call it "absolute mess". It would be great to have additional help!

As i said, this is repulsive to any contributor, including myself.
I don't think cleaning other people mess has any appeal.
And even if I was willing to clean other people mess,
your actual policy might allow previous or new "volunteers" to create more file and folders.
My belief is when you start a project, you try to create a comprehensive structure, so anyone (including your future self) can work with, without any harsh time.
That also involve that you ensure that you or someone validates any update by accepting or rejecting pull-requests.
I don't think saying to someone, "please re-shape your pull request so your tests goes into tests, your scripts and binaries goes to bin, your sources goes to src" before accepting a pull request is a lot of work. I mean you have at least to ensure it compiles before accepting the contribution, right ?

Anyway, I'm sorry if I'm being unpleasant with my saying, and I assure you I'd rather prefer spend my time doing something else ... like contributing, but as it is right now, I think i'm done with apache-asjs.

A lot of the structure is artifacts from the fact that this broke off from Flex. If you know the history of Flex, many of these folders will make more sense.
If you're interested in digging into the framework and the source code, the two directories of interest are frameworks/projects and examples (especially examples/royale)
There's probably some cleaning up which can be done, but that's lower priority (at least for me) than adding functionality, better testing frameworks, etc.


README: fix typo in extension line

Coverage remained the same at 100.0% when pulling 70b954452cc216959f09c21276fc2ee97b3d1256 on chriskuehl:patch-1 into d9f46eeecf40ea5082871d7c925eb4b40ccfbe76 on asottile:master.


When files are deleted cache tries to reload editors

Loving this extension!
I'm not 100% sure if this bug is related to your extension or VSCode itself but I hadn't noticed it before installing Working Sets.
To reproduce:

Delete project files but keep project folder
Open now empty project folder in VSCode
VSCode and/or Working Sets tries to reopen all of the previous editors from the last Working Set
This throws errors as the files are no longer there

Expected behavior:

Open blank project folder
No editor tabs open

Previously, if you open a blank folder in VSCode it would open as a blank folder — even if that folder used to be populated with project files.
Don't know if Working Sets is employing some kind of caching or not but if so, that might be the cause.

@joshuaiz thanks! I'm glad it's useful for you too 😃
I will look into this. It does sound like it could be something the extension is doing. Are you using the VS Code's stable release? Or insiders?

@bernardop stable release. Thanks!

Hey @joshuaiz, I couldn't reproduce the bug. Can you give more specific steps to reproduce this? Where do you delete the files from? Is VS Code open while you delete the files? Are the files in question part of a working set? Or does it happen even if they're not?
VS Code's extension api offers a workspace state and, at activation time, that's where it looks for file paths that are part of the working set, but if the file does not exist in the file system it doesn't even trying to display it in the UI.


make sure test_make_parent_mount_private() passes even when root is not a slave.

for wsl

Codecov Report

Merging #682 (3b5e83b) into main (1afa993) will increase coverage by 0.00%.
The diff coverage is 92.00%.

@@           Coverage Diff           @@
##             main     #682   +/-   ##
=======================================
  Coverage   69.64%   69.65%
=======================================
  Files          84       84
  Lines       10990    10993    +3
=======================================
+ Hits         7654     7657    +3
  Misses       3336     3336


Duplicate test?

@jfryman Can I ask what this line is for exactly?
https://github.com/jfryman/puppet-selinux/blob/master/spec/classes/selinux_package_spec.rb#L32
30 seems to do similar test.. so I'm trying to figure out the context it's run in.

@cdenneen Nope, no reason. I think this was a merge gone wrong. Thanks!


Issue: there is no .gitignore file

.gitignore file is missing from the repository

can i fix this issue myself, assign me


Enable multiple rectangle selection

There are two features that should work wonders together, but currently they don't.
The 1st: rectangle selection. By dragging the cursor with the middle mouse button, multiple selections are created in a rectangle shape;
The 2nd: Multiple Cursor. By holding Alt and clicking on the text, additional cursors are created.
As of now, if I try to use both at the same time (Alt + Middle mouse drag), the Multiple Cursor feature doesn't work, and the old rectangle selection is not kept.
The desired result can still be obtained by manually making a rectangle using only the Multiple Cursor feature, but this defeats the purpose.
Here is an example of the desired behavior:

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Internal feature to update blocklist

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #2112   👈

This comment was auto-generated by Graphite.


feat!: ga new tree commands

What does this PR do?
GA the new tree commands
See the plan at https://github.com/salesforcecli/plugin-data/blob/main/NewTreeCommandsPlan.md

update the plan
do the steps on the plan

unrelated

the data resume command was incorrectly marked deprecated, pointing people to use the old force: command.  🤷🏻♂

why aren't there UT for the new commands?

they're simple (the functions they call have the UT)
NUTs are better for org import/export with an org, fs, and os issues

What issues does this PR fix or reference?
https://github.com/forcedotcom/cli/issues/2738
@W-16113657@

FYI, I created a separate PR with my messages updates. I thought I was gonna have more comments, which is why I separated it out, but it turned out to be rather small: https://github.com/salesforcecli/plugin-data/pull/976

QA Notes

✅ : warning on legacy
✅ : no message on 'data export tree'
✅ : deprecation on 'beta' command
✅ : --json

💡 : could improve, ok since it matches current behavior -  I didn't have required information in the Account.json file
 ➜  ../../oss/plugin-data/bin/run.js data import tree --files Account.json -o<EMAIL_ADDRESS>Error (ERROR_HTTP_400): {"hasErrors":true,"results":[{"referenceId":"AccountRef1","errors":[{"statusCode":"REQUIRED_FIELD_MISSING","message":"Required fields are missing: [Name]","fields":["Name"]}]}]}

✅ : no note to try beta on standard command
✅ : beta is deprecated
✅ : legacy mentions deprecation day
✅ : --json consistent (for my use case)


coa-2.1.3 dependency

Hi Contentful-team,
I tried to use this package thru the npx command, but I ended with a non-installed application because of a coa-2.1.3 dependency. Did anyone noticed it as well and is there a fix for this, because this package contains vulnerabilities?
Kind regards,
Jasper

Hi @jasperkuipers, I tried fresh installation using npx @contentful/create-contentful-app init my-app and my coa version defaulted to 2.0.2. Could you verify that you're also getting this?

I tried it with the default registry and it worked. Apparently it had something to do with our package manager.
Thansk!


Add Kafka payload processor

Motivation
It's recommended to configure entryFormat=kafka for better performance among Kafka clients in KoP. However, since it writes the original messages of Kafka format to BK, Pulsar consumer cannot consume these messages.
PIP-96, which will be included in Pulsar 2.9.0, introduced a payload processor for Pulsar consumer. Based on PIP-96, this PR intends to add a payload processor for messages of Kafka format.
Modifications

Add a kafka-payload-processor module that contains the implementation of KafkaPayloadProcessor.
Add tests to cover null values, keys and headers.

There are something to be done in following PRs:

Document how Pulsar users should use KafkaPayloadProcessor.
More tests should be added to io.streamnative.pulsar.handlers.kop.compatibility package so that more versions of Kafka client can be verified.

Can we add a test to send the message by Kafka transaction and when producing over we use Pulser consumer to consume the message?

@Demogorgon314 There is a thing that I have asked before.

I also noticed AbstractEntryFormatter#decode also doesn't handle the case. Is it possible to cover the case in tests currently?

I tried to add the Pulsar consumer to TransactionTest, but when I debugged the code, no control batch record is found.
    @Test
    public void test() throws Exception {
        final String topic = "test";
        final Properties props = newKafkaProducerProperties();
        props.put(ProducerConfig.TRANSACTIONAL_ID_CONFIG, "txn-10");
        final KafkaProducer<String, String> producer = new KafkaProducer<>(props);
        producer.initTransactions();
        producer.beginTransaction();
        producer.send(new ProducerRecord<>(topic, "hello")).get();
        producer.commitTransaction();
        producer.close();

        final Consumer<byte[]> consumer = pulsarClient.newConsumer()
                .topic(topic)
                .subscriptionName("my-sub")
                .subscriptionInitialPosition(SubscriptionInitialPosition.Earliest)
                .messagePayloadProcessor(new KafkaPayloadProcessor())
                .subscribe();
        final Message<byte[]> message = consumer.receive();
        System.out.println(new String(message.getValue()));
        consumer.close();
    }

So the question is, how to send the control batch?

Oh, sorry, I forgot before. The current implementation of the control batch is “incorrect”, we might need to merge the  #912, before adding this test.
The reason why you can't see the control batch is current implementation is using pulsar format as the control batch.

Maybe you can manually build a control batch and use the pulsar producer save it to the topic just like this:
EndTransactionMarker marker = new EndTransactionMarker(ControlRecordType.COMMIT, 0);
MemoryRecords memoryRecords = MemoryRecords.withEndTransactionMarker(0, (short) 0, marker);

Maybe you can manually build a control batch and use the pulsar producer save it to the topic

I think it's better to add a real world test for the control record. If we cannot use Kafka producer to send a control batch currently, the test will be meaningless. Because we can use a Pulsar producer to send any message.
Therefore, the test should be added after #912 is merged.


Electron app says Sharp did not install correctly when calling methods

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
Version being used is the most recent one (both above commands match in version output): V0.28.3
What are the steps to reproduce?
In a new electron project:

Install Sharp with npm install sharp
Place provided code sample index.html
Create a new folder called images and place a JPEG file into it
Run npm start
Press the "Click to run Sharp test" button and check the Electron console log

What is the expected behaviour?
Image should be modified and a new output file generated. Instead, the Electron console throws an error saying that sharp did not install correctly, though the app does compile. Error message is only thrown when the button is pressed calling the Sharp methods.
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
index.html:

Sharp Test

💖
Click to run Sharp test

<script>
  const fetch = require("node-fetch");
  const { v4: uuidv4 } = require('uuid');
  // https://chrisfrew.in/blog/saving-images-in-node-js-using-fetch-with-array-buffer-and-buffer/
  async function savePhotoFromURL(photo_url) {
    const response = await fetch(photo_url);
    const arrayBuffer = await response.arrayBuffer();
    const buffer = Buffer.from(arrayBuffer);
    return buffer;
  }

  var filename = "bigger.jpg";
  var image_path = `images/${filename}`;
  const homeDir = require('os').homedir();
  const desktopDir = `${homeDir}/Desktop`;
  async function runSharpTest() {
    console.log('(running sharp)');
    const Sharp = require('../node_modules/sharp');
    const fs = require('fs');

    //get the original image path
    var width = 6000;
    var height = 4000;

    // cover: (default) Preserving aspect ratio, ensure the image covers both provided dimensions by cropping/clipping to fit.
    //         contain: Preserving aspect ratio, contain within both provided dimensions using "letterboxing" where necessary.
    //         fill: Ignore the aspect ratio of the input and stretch to both provided dimensions.
    //         inside: Preserving aspect ratio, resize the image to be as large as possible while ensuring its dimensions are less than or equal to both those specified.
    //         outside: Preserving aspect ratio, resize the image to be as small as possible while ensuring its dimensions are greater than or equal to both those specified.
    var crop = "cover";
    var quality = 60;
    var format = "webp";
    var photo_url = "https://picsum.photos/200/300"
    var random_uuid = uuidv4();

    var obj = await savePhotoFromURL(photo_url);
    var out_file = Sharp(obj)
            // .resize(width, height, {
            //   fit: crop,
            //   position: 'right top',
            //   background: { r: 255, g: 0, b: 255, alpha: 0.5 }
            // })

            .toFormat(format, {
              quality: parseInt(quality)
            })

            //srgb, rgb, cmyk, lab, b-w, rgb16
            // .toColourspace('b-w')

            // .raw()

            // .tile({
            //   size: 512
            // })

            .toBuffer()

            .then(data => {
              fs.writeFileSync(`${desktopDir}/${random_uuid}.${format}`, data);
              document.getElementById("main-img").src = `${desktopDir}/${random_uuid}.${format}`;
            })
            .catch(err => { console.log(err)});

    //   //create the stream — so basically read the path
  //   // const stream = fs.createReadStream(image_path);
  //   //transform the image based on our variable, then output using the quality
  //   const transform = Sharp().resize(width, height, {
  //     fit: crop
  //   }).toFormat(format, {
  //     quality: parseInt(quality)
  //   });
  };
  document.getElementById("main-img").src = image_path;

  var sharp_test_button = document.getElementById('sharp-test-button');
  sharp_test_button.addEventListener('click', runSharpTest);

  // const { ipcRenderer } = require('electron');
  //
  // // Some data that will be sent to the main process
  // let Data = {
  //   message: "Hi",
  //   someData: "Let's go"
  // };
  //
  // // Send information to the main process
  // // if a listener has been set, then the main process
  // // will react to the request !
  // ipcRenderer.send('request-mainprocess-action', Data);

</script>

Are you able to provide a sample image that helps explain the problem?

What is the output of running npx envinfo --binaries --system?
System:
OS: Windows 10 10.0.19042
CPU: (4) x64 AMD Ryzen 3 3250U with Radeon Graphics
Memory: 1.06 GB / 5.95 GB
Binaries:
Node: 14.17.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.13 - C:\Program Files\nodejs\npm.CMD
I am working on a desktop application on Windows using Electron and Sharp. The program compiles and works correctly on OS X, but always halts operations when used on Windows after one clicks the button to alter the image. The app does appear to initially compile correctly, the only time the error message is thrown is when running the test on an image. Any assistance you can provide regarding why the program throws this error when calling Sharp would be greatly appreciated.
Error message when button is clicked to run test:
index.html:32 (running sharp)
C:\Users\Eric\Electr…b\constructor.js:32 Uncaught (in promise) Error:
Something went wrong installing the "sharp" module
\?\C:\Users\Eric\Electron_Projects\mysharptest\node_modules\sharp\build\Release\sharp.node is not a valid Win32 application.
\?\C:\Users\Eric\Electron_Projects\mysharptest\node_modules\sharp\build\Release\sharp.node

Remove the "node_modules/sharp" directory then run
"npm install --ignore-scripts=false --verbose sharp" and look for errors

Consult the installation documentation at https://sharp.pixelplumbing.com/install

Search for this error at https://github.com/lovell/sharp/issues
at Object. (C:\Users\Eric\Electr…b\constructor.js:32)
at Object. (C:\Users\Eric\Electr…\constructor.js:394)
at Module._compile (internal/modules/cjs/loader.js:1078)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108)
at Module.load (internal/modules/cjs/loader.js:935)
at Module._load (internal/modules/cjs/loader.js:776)
at Function.f._load (electron/js2c/asar_bundle.js:5)
at Function.o._load (electron/js2c/renderer_init.js:33)
at Module.require (internal/modules/cjs/loader.js:959)
at require (internal/modules/cjs/helpers.js:88)
(anonymous)	@	C:\Users\Eric\Electr…b\constructor.js:32
(anonymous)	@	C:\Users\Eric\Electr…\constructor.js:394
Module._compile	@	internal/modules/cjs/loader.js:1078
Module._extensions..js	@	internal/modules/cjs/loader.js:1108
Module.load	@	internal/modules/cjs/loader.js:935
Module._load	@	internal/modules/cjs/loader.js:776
f._load	@	electron/js2c/asar_bundle.js:5
o._load	@	electron/js2c/renderer_init.js:33
Module.require	@	internal/modules/cjs/loader.js:959
require	@	internal/modules/cjs/helpers.js:88
(anonymous)	@	C:\Users\Eric\Electr…harp\lib\index.js:3
(anonymous)	@	C:\Users\Eric\Electr…arp\lib\index.js:15
Module._compile	@	internal/modules/cjs/loader.js:1078
Module._extensions..js	@	internal/modules/cjs/loader.js:1108
Module.load	@	internal/modules/cjs/loader.js:935
Module._load	@	internal/modules/cjs/loader.js:776
f._load	@	electron/js2c/asar_bundle.js:5
o._load	@	electron/js2c/renderer_init.js:33
Module.require	@	internal/modules/cjs/loader.js:959
require	@	internal/modules/cjs/helpers.js:88
runSharpTest	@	index.html:33

Output of npm install --verbose sharp:
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   'C:\Program Files\nodejs\node.exe',
npm verb cli   'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   'sharp'
npm verb cli ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm verb npm-session cb5268d38db96044
npm http fetch GET 304 https://registry.npmjs.org/sharp 708ms (from cache)
npm timing stage:loadCurrentTree Completed in 2608ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 12ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 742ms
npm http fetch GET 304 https://registry.npmjs.org/prebuild-install 230ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-get 378ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color 391ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-fs 392ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/node-addon-api 421ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-convert 70ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-string 99ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-name 63ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-swizzle 63ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-arrayish 65ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mkdirp-classic 81ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/napi-build-utils 84ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/github-from-package 129ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/expand-template 138ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-concat 71ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/decompress-response 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mimic-response 171ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-stream 184ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fs-constants 209ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/readable-stream 213ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 3103ms
npm timing stage:loadIdealTree Completed in 4137ms
npm timing stage:generateActionsToTake Completed in 111ms
npm verb correctMkdir C:\Users\Eric\AppData\Roaming\npm-cache_locks correctMkdir not in flight; initializing
npm verb makeCacheDir UID & GID are irrelevant on win32
npm verb lock using C:\Users\Eric\AppData\Roaming\npm-cache_locks\staging-0f29acb211732c9f.lock for C:\Users\Eric\Electron_Projects\mysharptest\node_modules.staging
npm timing audit submit Completed in 445ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 448ms
npm timing audit body Completed in 18ms
npm timing action:extract Completed in 770ms
npm info lifecycle undefined~preuninstall: undefined
npm info lifecycle undefined~uninstall: undefined
npm verb unbuild rmStuff undefined from C:\Users\Eric\Electron_Projects\mysharptest\node_modules
npm verb unbuild rmStuff in C:\Users\Eric\Electron_Projects\mysharptest\node_modules@malept\cross-spawn-promise\node_modules
npm info lifecycle undefined~postuninstall: undefined
npm timing action:unbuild Completed in 41ms
npm timing action:remove Completed in 29ms
npm timing action:finalize Completed in 249ms
npm timing action:refresh-package-json Completed in 217ms
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm timing action:preinstall Completed in 53ms
npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm verb linkBins [
npm verb linkBins   { 'prebuild-install': 'bin.js' },
npm verb linkBins   'C:\Users\Eric\Electron_Projects\mysharptest\node_modules\.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff<EMAIL_ADDRESS>npm info linkStuff<EMAIL_ADDRESS>npm timing action:build Completed in 91ms
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>install C:\Users\Eric\Electron_Projects\mysharptest\node_modules\sharp
(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Using cached C:\Users\Eric\AppData\Roaming\npm-cache_libvips\libvips-8.10.6-win32-x64.tar.br
sharp: Creating C:\Users\Eric\Electron_Projects\mysharptest\node_modules\sharp\build\Release
sharp: Copying DLLs from C:\Users\Eric\Electron_Projects\mysharptest\node_modules\sharp\vendor\8.10.6\lib to C:\Users\Eric\Electron_Projects\mysharptest\node_modules\sharp\build\Release
prebuild-install info begin Prebuild-install version 6.1.3
prebuild-install info looking for local prebuild @ prebuilds\sharp-v0.28.3-napi-v3-win32-x64.tar.gz
prebuild-install info looking for cached prebuild @ C:\Users\Eric\AppData\Roaming\npm-cache_prebuilds\da1c59-sharp-v0.28.3-napi-v3-win32-x64.tar.gz
prebuild-install info found cached prebuild
prebuild-install info unpacking @ C:\Users\Eric\AppData\Roaming\npm-cache_prebuilds\da1c59-sharp-v0.28.3-napi-v3-win32-x64.tar.gz
prebuild-install info unpack resolved to C:\Users\Eric\Electron_Projects\mysharptest\node_modules\sharp\build\Release\sharp.node
prebuild-install info install Successfully installed prebuilt binary!
npm verb lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
npm verb lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Eric\Electron_Projects\mysharptest\node_modules\sharp\node_modules.bin;C:\Users\Eric\Electron_Projects\mysharptest\node_modules.bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\ImageMagick-7.0.11-Q16-HDRI;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\HashiCorp\Vagrant\bin;C:\Program Files\Git\cmd;C:\Program Files\dotnet;C:\Program Files (x86)\dotnet;C:\Users\Eric\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Users\Eric\Downloads\mongodb-shell-windows-x86_64-4.4.5\mongodb-win32-x86_64-windows-4.4.5\bin;C:\Program Files\nodejs;C:\Users\Eric\AppData\Local\Microsoft\WindowsApps;C:\Users\Eric\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Eric\AppData\Local\atom\bin;C:\Users\Eric\AppData\Local\Microsoft\WindowsApps;C:\Users\Eric.dotnet\tools;C:\Users\Eric\AppData\Local\GitHubDesktop\bin;C:\Program Files\heroku\bin;C:\Program Files\PostgreSQL\13\bin;C:\Users\Eric\AppData\Local\gitkraken\bin;C:\Users\Eric\AppData\Roaming\Composer\vendor\bin;C:\Users\Eric\AppData\Roaming\npm
npm verb lifecycle<EMAIL_ADDRESS>CWD: C:\Users\Eric\Electron_Projects\mysharptest\node_modules\sharp
npm timing action:install Completed in 7158ms
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm timing action:postinstall Completed in 52ms
npm verb unlock done using C:\Users\Eric\AppData\Roaming\npm-cache_locks\staging-0f29acb211732c9f.lock for C:\Users\Eric\Electron_Projects\mysharptest\node_modules.staging
npm timing stage:executeActions Completed in 8739ms
npm timing stage:rollbackFailedOptional Completed in 27ms
npm timing stage:runTopLevelLifecycles Completed in 15953ms
npm verb saving [ { name: 'sharp', spec: '^0.28.3', save: 'dependencies' } ]
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\electron-installer-debian):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin,linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin,linux
npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   win32
npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\electron-installer-redhat):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin,linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin,linux
npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   win32
npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64

<EMAIL_ADDRESS>added 21 packages from 171 contributors, removed 1 package and audited 532 packages in 16.697s

51 packages are looking for funding
run npm fund for details
found 1 high severity vulnerability
run npm audit fix to fix them, or npm audit for details
npm verb exit [ 0, true ]
npm timing npm Completed in 18202ms
npm info ok

is not a valid Win32 application

Are you using the x64 Electron binaries (to match the x64 Node.js used at installation time)?

I tried uninstalling and reinstalling Electron to specify that it was the x64 binaries. I ran npm install --arch=x64 electron --save-dev
Would this be correct? Or would it be a different command to ensure that the binaries are properly installed to match Sharp?
Upon reinstalling, the error message changed and no longer said that sharp was not a valid win32 application, but instead just said that the path to the Electron installation was not recognized.

The use of npm install --arch=x64 electron is correct according to https://www.electronjs.org/docs/tutorial/installation#customization

I tried uninstalling and running npm install --arch=x64 electron, but I get an error message and Electron won't compile. Only npm install --arch=x64 electron --save-dev seems to work, but then the system still crashes when pressing the button.
Here is the error message when trying to run npm start after npm install --arch=x64 electron:
C:\Users\Eric\Electron_Projects\mysharptest>npm start

<EMAIL_ADDRESS>start C:\Users\Eric\Electron_Projects\mysharptest
electron-forge start

✔ Checking your system
✔ Locating Application
An unhandled rejection has occurred inside Forge:
Error: Could not find any Electron packages in devDependencies
at getElectronModuleName (C:\Users\Eric\Electron_Projects\mysharptest\node_modules@electron-forge\core\src\util\electron-version.ts:56:11)
at getElectronVersion (C:\Users\Eric\Electron_Projects\mysharptest\node_modules@electron-forge\core\src\util\electron-version.ts:92:23)
at _default (C:\Users\Eric\Electron_Projects\mysharptest\node_modules@electron-forge\core\src\api\start.ts:49:11)
at C:\Users\Eric\Electron_Projects\mysharptest\node_modules@electron-forge\cli\src\electron-forge-start.ts:58:19
Electron Forge was terminated. Location:
{}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: electron-forge start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\Eric\AppData\Roaming\npm-cache_logs\2021-07-11T04_05_12_938Z-debug.log

Any recommendations/updates on how to solve this issue?

A web search for "Could not find any Electron packages in devDependencies" reveals https://github.com/electron-userland/electron-forge/issues/1071

Closing due to inactivity but please feel free to reopen with more details if further help is required.


Add: remember

Codecov Report

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

@@          Coverage Diff          @@
##           master    #61   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          22     22
  Lines         252    252
=====================================
  Hits          252    252

Continue to review full report at Codecov.

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


[In-progress] invalid date error on windows_task with frequency :on_logon

Description
start_time and start_day are set as N/A for frequency :on_logon, which results into invalid date and invalid time error.
Issues Resolved
Fixes https://github.com/chef/chef/issues/6615
Check List

[ ] New functionality includes tests
[ ] All tests pass
[ ] RELEASE_NOTES.md, has been updated if required (not required for bugfixes, required for API changes)
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

@NimishaS This will need to get rebased for the logging fixes that were just merged in

@NimishaS Can we get tests added for this scenario?

@tas50 , yes I am working on those.

@tas50 , there are some travis failures related to windows_task too, but they don't look related to this PR.


greybeard theme for vim?

Thanks for accumulating all of this!
Don't you know if greybeard theme for vim exists? Didn't find it

Also, I would love this neongold.theme to be in Vim!
https://raw.githubusercontent.com/xero/dotfiles/master/previews/neongold.png

so, greybeard was actually the precursor to sourcerer. neongold is just an irssi theme that doesn't have it's own colors (it relies on your shell's). in this shot i'm actually also using sourcerer. here's the vim package ;D


Errors when i ran cifar-100 experiment

Hi its me again
Love all ur work and code :)
There were no problems when I ran clothing1m and cifar10. But when I ran experment on Cifar-100 using "python Train_cifar.py --data_path ./dataset/Cifar-100 --gpuid 0 --dataset cifar100", the error came out as following:
'''
Warmup Net1
THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1535491974311/work/aten/src/THC/generic/THCTensorMath.cu line=26 error=59 : device-side assert triggered
Traceback (most recent call last):
File "Train_cifar.py", line 256, in
warmup(epoch,net1,optimizer1,warmup_trainloader)
File "Train_cifar.py", line 137, in warmup
L.backward()
File "/home/zhuwang/anaconda2/envs/dividemix/lib/python3.6/site-packages/torch/tensor.py", line 93, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/zhuwang/anaconda2/envs/dividemix/lib/python3.6/site-packages/torch/autograd/init.py", line 90, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: cuda runtime error (59) : device-side assert triggered at /opt/conda/conda-bld/pytorch_1535491974311/work/aten/src/THC/generic/THCTensorMath.cu:26
'''
I googled and it says that the label is out of range or might contain -1. But i can't figure it out. Has this ever occurred to you? Thank you kindly.

It hasn't happened to me. Maybe you want to check if the labels are loaded correctly?


Added Fedora 33 as a builder and removed Fedora 27 as it is no longer supported

Fedora 27 was EOL in 2018. Now that I have a non-AWS builder I can keep up with the updates to the builder as new versions of Fedora roll out.

Job updated, issue connecting with the server.
Email sent with more info.

Node: https://ci-external.swift.org/computer/fedora-33/
Job: https://ci-external.swift.org/job/oss-swift-RA-linux-fedora-33/


Weird automatic Dark Mode on some Samsung devices

Hey, I'm using this theme and got this weird situation, a friend uses Samsung and in their native browser this is how the site loads:

Any ideas on how to prevent or to adapt to a dark theme?

Hey @jeanlucaslima,
The theme does not currently support a dark mode. Judging from the screenshot, it appears that your friend has some sort of “invert colours” setting turned on in their phone's settings.
Can you please have them load https://patdryburgh.github.io/hitchens/ and publish a screenshot of what comes up? Thanks!
—Pat


Allow disabling check_for_updates

What is missing?
Right now grafana is always checking for updates, and it would be prefereable if this could be disabled.
Why do we need it?
In some environments the host that runs grafana isn't allowed to connect to the outside world, and the update checks, only lead to errors.
Environment

Role version: 0.18.0

Ansible version information: irrelevant

Anything else we need to know?:

This role has been deprecated in favor of a the grafana-ansible-collection collection.


SSL for multiclass change detection tasks

Hi, this is a nice work!   But  there is no  implementation of SSL for multiclass change detection. Could you provide it in this repo？
Thank you！

Sure. I will update the loss function for semantic CD tasks recently.


ENH: copy method

A nice feature that was present in h5py that would be quite nice in Zarr is a copy method. This would allow one to copy individual datasets. It could be extended to handle recursive copying. The copying could be within the same group or different groups. Various other features could be added over time.

[ ] Copy Array to new location

[ ] Copy attributes, array metadata, and data
[ ] Handle Groups already exist
[ ] Handle Groups need to be created during copy
[ ] Raise if destination is occupied
[ ] Make operation appear atomic (using temp directory)

[ ] Copy Group to new location

[ ] Copy group metadata and attributes
[ ] Need to handle recursively copying contents
[ ] Handle Groups already exist
[ ] Handle Groups need to be created during copy
[ ] Raise if destination is occupied (roll back changes)
[ ] Make operation appear atomic (using temp directory)

ref: http://docs.h5py.org/en/latest/high/group.html?#Group.copy

Yes this would be nice. I was planning to implement this as part of the 2.0 release but didn't in the end as there are some complexities around the h5py behaviour that weren't immediately obvious and I ran out of time. However I'm sure a manageable subset of the h5py copy behaviour could be implemented in Zarr.

It would be nice to break this down a bit at some point, i.e., try to enumerate the set of copy scenarios that we would want to support in Zarr

Would also note that this could build off of the visitor patterns proposed in PR ( https://github.com/alimanfoo/zarr/pull/122 ).

Tried to add a list of things to consider in the OP. Feel free to modify as needed. Have not verified h5pys behavior for all of these cases yet.


Readme update to include Fargate specific testing

What does this PR do?
Update the README.md content with Fargate profile specific testings
Motivation
More

[x] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
[ ] Yes, I have added a new example under examples to support my PR
[ ] Yes, I have created another PR for add-ons under add-ons repo (if applicable)
[ ] Yes, I have updated the docs for this feature
[ ] Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs required examples and docs except a new pattern or add-on added.
For Moderators

[ ] E2E Test successfully complete before merge? Yes

Additional Notes
NA

@shyam-amazon Could you please update the PR with @askulkarni2  comments? We can merge it once its updated

@shyam-amazon please resolve merge conflicts and we can merge this then.


Unable to authenticate with Docker Hub API v2

What happened?
Trying to run a sample integration fails with: 'unexpected status code 401 Unauthorized `.
The workaround is to create a secret that has  https://index.docker.io/v1/ as the docker server
I tried to set that value during the Camel-K installation to avoid changing all secrets, but that resulted in an error during the sample integration build:
Build kit-cmavqirma4hs738o9el0 failed: Get \"https://https/v2/\": dial tcp: lookup https on <IP_ADDRESS>:53: no such host/).
Steps to reproduce

Install Camel-K specifying the registry as --registry=docker.io in kamel install;
Create a secret with --docker-server=docker.io with the credentials of a Docker Hub user;
Run  a sample integration:

curl -XGET\
         "https://raw.githubusercontent.com/apache/camel-k-examples/main/generic-examples/languages/simple.js"\
         -o /tmp/simple.js
    kamel run \
      /tmp/simple.js \
      --name=sample \
      --dev

Relevant log output
"level":"info","ts":"2024-01-04T01:52:15Z","logger":"camel-k.controller.build","msg":"Build duration 17.776347732s","request-namespace":"api","request-name":"sample","build-attempt":1,"build-result":"Failed","build-duration":17.776347732,"api-version":"camel.apache.org/v1","kind":"Build","ns":"api","name":"kit-cmb0u7omgm9c738e10j0"}
{"level":"error","ts":"2024-01-04T01:52:15Z","logger":"camel-k.controller.build","msg":"Build kit-cmb0u7omgm9c738e10j0 failed: HEAD https://index.docker.io/v2/lmorandini/camel-k-kit-cmb0u7omgm9c738e10j0/manifests/11426772: unexpected status code 401 Unauthorized (HEAD responses have no body, use GET for details)","request-namespace":"api","request-name":"kit-cmb0u7omgm9c738e10j0","api-version":"camel.apache.org/v1","kind":"Build","ns":"api","name":"kit-cmb0u7omgm9c738e10j0","stacktrace":"github.com/apache/camel-k/v2/pkg/util/log.Logger.Errorf\n\tgithub.com/apache/camel-k/v2/pkg/util/log/log.go:60\ngithub.com/apache/camel-k/v2/pkg/controller/build.(*monitorRoutineAction).updateBuildStatus\n\tgithub.com/apache/camel-k/v2/pkg/controller/build/monitor_routine.go:216\ngithub.com/apache/camel-k/v2/pkg/controller/build.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/v2/pkg/controller/build/monitor_routine.go:200"}
{"level":"info","ts":"2024-01-04T01:52:15Z","logger":"camel-k.controller.build","msg":"State transition","request-namespace":"api","request-name":"kit-cmb0u7omgm9c738e10j0","api-version":"camel.apache.org/v1","kind":"Build","ns":"api","name":"kit-cmb0u7omgm9c738e10j0","phase-from":"Running","phase-to":"Failed"}
{"level":"info","ts":"2024-01-04T01:52:15Z","logger":"camel-k.controller.build","msg":"Recovery attempt (2/5)","request-namespace":"api","request-name":"kit-cmb0u7omgm9c738e10j0","api-version":"camel.apache.org/v1","kind":"Build","ns":"api","name":"kit-cmb0u7omgm9c738e10j0"}

### Camel K version

2.1.0

I think the best way to solve this is to leverage directly the creation of the secret via kubectl and later using it in the installation procedure. In this way you can specify the server on your own via --docker-server parameter as we discussed in the zulip chat thread [1].
[1] https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/Docker.20Hub.20authorisation.20error

You sure can... still, it is a bit confusing to install with a v2 registry and then have to use a v1 registry.
By the way, is Docker API v2 supported at all?

You sure can... still, it is a bit confusing to install with a v2 registry and then have to use a v1 registry. By the way, is Docker API v2 supported at all?

No, what I meant is to create the secret with the v2 endpoint and use it ootb. Is it working correctly in that case? In theory, the operator is agnostic of the registry API used.

No, it is not working correctly when the secret is created with the v2 endpoint (i.e. --docker-server=docker.io).

@squakez I can look into it.

@lmorandini There is a limitation from spectrum that only allows https://index.docker.io/v1/ as server auth for the docker.io reference to the docker hub registry. The only way I found that could work with spectrum is the default DNS name for the Docker Hub registry: registry-1.docker.io. That is also the DNS name used by default by the Jib publish strategy (the alternative to spectrum) push the new images.
With any other registry declared, the API used is V2 by default, so I am not sure it is really using V1 API by default even with  https://index.docker.io/v1/ as server auth. But to be honest I can't be sure. The references online on docker hub registry URLs are not clear and there has been changes in them in the previous year. The result is that there is legacy code in libraries kept to avoid breaking old code.
I will update Camel K documentation on the docker hub registry.

@gansheer does #5045 also close this one?

Yes.


Port in use detection on Windows

/kind bug
What versions of software are you using?
Operating System:
Windows 10
Output of odo version:
How did you run odo exactly?
Running 2 sessions of odo dev, one on podman and one on cluster:
odo dev --platform podman
[...]
- Forwarding from <IP_ADDRESS>:20001 -> 8080

odo dev
[...]
Unable to listen on port 20001: [...] bind: Only one usage of each socket address is normally permitted [...]

Actual behavior
The second session tries to reuse the port 20001, wh it is already in use.
Expected behavior
The second session should detect the port 20001 is already in use, and use the next one (20002)
Any logs, error output, etc?

/assign @rm3l
Taking a look at this issue, as I currently have a Windows VM at hand..

After trying to reproduce this issue on Windows, I noticed that detection of ports in use for port-forwarding is actually already fixed by #6479 (introduction of custom addresses for port forwarding).
However, we still have an issue when starting the recent API Server on Windows, where the default port (20000) would still be considered available on Windows:

Logs
The first session would start successfully:
PS W:\tmp\6721-port-in-use-detection-on-windows> odo dev --platform podman
  __
 /  \__     Developing using the "port-in-use-detection-on-windows" Devfile
 \__/  \    Platform: podman
 /  \__/    odo version: v3.14.0
 \__/

- Running on podman in Dev mode
 V  Web console accessible at http://localhost:20000/
 V  API Server started at http://localhost:20000/api/v1
 V  API documentation accessible at http://localhost:20000/swagger-ui/
 V  Deploying pod [4s]
 V  Syncing files into the container [810ms]
 V  Building your application in container (command: install) [4s]
 -  Executing the application (command: run)  ...
 V  Waiting for the application to be ready [1s]
 -  Forwarding from <IP_ADDRESS>:20001 -> 3000

- Dev mode
 Status:
 Watching for changes in the current directory W:\tmp\6721-port-in-use-detection-on-windows

Web console accessible at http://localhost:20000/

Keyboard Commands:
[Ctrl+c] - Exit and delete resources from podman
     [p] - Manually apply local changes to the application on podman

But from now on, it would be impossible to start any other Dev session:
PS W:\tmp\6721-port-in-use-detection-on-windows> odo dev
  __
 /  \__     Developing using the "port-in-use-detection-on-windows" Devfile
 \__/  \    Namespace: default
 /  \__/    odo version: v3.14.0
 \__/

 !  You are using "default" namespace, odo may not work as expected in the default namespace.
 !  You may set a new namespace by running `odo create namespace <name>`, or set an existing one by running `odo set namespace <name>`

- Running on the cluster in Dev mode
Cleaning resources, please wait
 X  unable to start API Server listener on port 20000: listen tcp :20000: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

#7041 fixes the port detection issue n Windows when trying to start the API Server.


[WIP] fixed filegroup id using bucket index

Change Logs
Describe context and summary for this change. Highlight if any code was copied.
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level: none | low | medium | high
Choose one. If medium or high, explain what verification was done to mitigate the risks.
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@minihippo : Can you add description to this PR along with jira to understand the context and priority better.

@minihippo : Can you please look at the above questions we raised about this PR ?


UITextView Placeholder

We need to add UITextView Placeholder can you please guild me how we can add

use IQKeyboardManager Pod


1.11.0 Integration Train for UI Changes and Version Update.

High-level description

chore(dcos-ui): update package to v1.11.0-rc.16 #2574
update version to 1.11.0 #2581

@mesosphere-mergebot label ready for review

@mesosphere-mergebot bump-ee

I am going to retrigger the upgrade failure. The failure is captured here: https://jira.mesosphere.com/browse/DCOS_OSS-2240

@mesosphere-mergebot merge-it


Change antibiotic denominator to "all oral antibiotics"

Some of the abx measures have a very specific subset of antibiotics as denominator.  It is proposed that these markers are changed to reflect all oral abx in both numerator and denominator, using dm+d coding.

https://github.com/ebmdatalab/openprescribing/pull/4603
https://github.com/ebmdatalab/openprescribing/pull/4604
https://github.com/ebmdatalab/openprescribing/pull/4605

Ready to merge.
To discuss before merging:
https://github.com/ebmdatalab/openprescribing/pull/4604 - should the denominator change STAR-PU to list_size?
Do spot the difference blogs need to change?

https://github.com/ebmdatalab/openprescribing/pull/4603 - Updated - needs decision on denominator - STAR-PU vs list size.
https://github.com/ebmdatalab/openprescribing/pull/4604 - Updated - needs decision on denominator - STAR-PU vs list size.
https://github.com/ebmdatalab/openprescribing/pull/4605 - Updated

@richiecroker - remove STAR-PUs from analyse page

[ } Add proposal to summer newsletter
[ ] Action with June data import, if no noise.

Measures have been updated.
Outstanding:

[ ] Remove STAR-PU from analyse page
[ ] Remove STAR-PU from FAQs (or better yet - explain why we stopped using them)

Final actions covered in separate issue -https://github.com/ebmdatalab/clinical_info_projects/issues/81


Remove okhttp internal util usage

Summary:

Remove okhttp internal Util usage so it can be compatible with okhttp 5.0.0 alpha.
Changelog:

[ANDROID] [CHANGED] - Remove okhttp3 internal util usage
Test Plan:

None, the implementation is based on okhttp internal util

Do we know if this has the same behaviour as before, where checked exceptions are ignored? https://github.com/square/okhttp/blob/8c8c3dbcfa91e28de2e13975ec414e07f153fde4/okhttp/src/commonMain/kotlin/okhttp3/internal/-UtilCommon.kt#LL282C1-L288C2

just added the IOException catch block here, I think it should be enough to silence the exception as Source only throws IOException. Any thoughts @javache @cortinico?

just added the IOException catch block here, I think it should be enough to silence the exception as Source only throws IOException. Any thoughts @javache @cortinico?

I would suggest you just copy over the same code as closeQuietly (I would also add a comment to where the code was vendored from).
You're right that close only fires IOException but, as users might swap different Java & OkHTTP version, the exception types could differ in the future.

/rebase

thank you for reviewing @cortinico, any actionables from my side?

Not for now, we'll be merging this internally. It can take up to a couple of days


Which ResNet50 did you use?

Hi, I want to run your code for ImageNet, but it seems the ResNet-50 implementation is missing.
In fast-autoaugment/FastAutoAugment/networks/__init__.py,
from pretrainedmodels import models
...
model = models.resnet50(num_classes=num_class, pretrained=None)

but pretrainedmodels is not uploaded yet. Is this ResNet50 from torchvision or your original implementation?

Install pretrainedmodels with "pip install pretrainedmodels"

Thanks. It uses torchvision’s ResNet50


#261 Updating cert/key options type to support Buffer

:tada: This PR is included in version 1.11.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


opencv headless missing librairy on Rpi zero w

Expected behaviour
When I import cv2 it should initialize
Actual behaviour
When I import cv2 I have Traceback (most recent call last):   File "<string>", line 1, in <module>   File "/home/pi/.local/lib/python3.7/site-packages/cv2/__init__.py", line 8, in <module>     from .cv2 import * ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory
I tried to install the libopenjp2.so.7 librairy via sudo apt-get install libopenjp2-7-dev but in the end I have other librairies that are missing. I only need the core librairies of Opencv and with the limited cpu power of the Rpi zero I don't want to overload it with unused librairies that I don't use. So I don' tknow if it might be an issue of the opencv headless install or an issue of the Rpi. A thing to know is I that before trying with the headless version I got Opencv via sudo apt install python3-opencv but decided to remove it because of the CPU usage when loading the full module.  Might be an issue in that side also.
Steps to reproduce

Run   python3 -c 'import cv2; print(cv2.__version__)'
I am running the latest Debian Buster version available for the Rpi zero w
opencv is opencv-python-headless version  <IP_ADDRESS>
I have python  version 3.7.3

Issue submission checklist

[X] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)

[X] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)

[X] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")

[X] I'm using the latest version of opencv-python

Hello @lucapatanella. Thanks for the issue report.

python3-opencv package is built by Debian/Pi maintainers and is not maintained by OpenCV team.
Pypi provides different binaries for different ARM systems (or even build from source code, if suitable binary is not available). So I need more information about your setup to help: Pi version or m.b. cat /proc/cpuinfo output. Also I need to know, if you run 64-bit or 32-bit version of OS and python.

@lucapatanella do you have any updates on the issue?

@lucapatanella Friendly reminder.


Load player skins in Manipulator from URL fragment

When opening the Manipulator via the in-game options button, Ears puts the player's UUID into the URL fragment. The intent was to download the player's skin and pre-load it into the Manipulator.

No. Opening the Ears "options" in ModMenu or Forge just opens the Manipulator in your browser.


Improve ws error handling

WS error handling should now be more intuitive and give the client more control. Also simplified client state management

LGTM - approved.


First-class object support

With this patch you can now do
const Component = styled.div({
  color: 'blue'
})

This is in response to https://mobile.twitter.com/kentcdodds/status/994254700651339776, /cc @kentcdodds

Now my life is complete. Thank you!

Can you also do this?
const Component = styled.div({
  color: 'blue'
}, {
  width: 100
}, props => ({
  background: props.bg
}))

A contrived example but the idea is to have multiple style objects stacked on top of each other, done even being the callback style.


⚠ Bofrost.de has degraded performance

In d45b25b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1473 ms

Resolved: Bofrost.de performance has improved in e2a8d74 after 35 minutes.


No suggestions within [] for member access

Description:
$title.

Steps to reproduce:
Incomplete code to reproduce
import ballerina/io;

type Foo record {
    string st;
};

map<Foo> m = {};

public function main(string... args) {
    Foo fv = { st: "string value" };
    m[f]
}

This Issue has been resolved with the latest revamp. Hence closing the issue


Update play-docs-sbt-plugin to 2.7.1

Updates com.typesafe.play:play-docs-sbt-plugin from 2.7.0 to 2.7.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "com.typesafe.play", artifactId = "play-docs-sbt-plugin" }]

This needs attention. Validate docs job is failing when building with Play 2.7.1


Fix node cloner not cloning the const-pattern expression

Purpose

$title

Fixes #39420
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

2. send the same change to the update 4 stage branch and patch branch

actually stage and master should be enough IINM.


Switch on variable doesn't include [value]

In response section switch on value should include option for value

actually it has a variable selector:

or do i missed something?

Yes. But I don't see an option in the list though for the default response
system variable "value"
Tim Ogletree
Systems Engineering
MediaMerge, Inc.
205.678.0588
www.mediamerge.com
On Sun, May 29, 2016 at 10:32 AM, gbaumgart<EMAIL_ADDRESS>wrote:

actually it has a variable selector:
[image: image]
https://cloud.githubusercontent.com/assets/1205100/15634417/4795abec-25c3-11e6-8b69-aea9b4d5c8d8.png
or do i missed something?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/net-commander/windows-dist/issues/3#issuecomment-222366656,
or mute the thread
https://github.com/notifications/unsubscribe/AJxHmBCJehEJ3J0TyiuYd_FNe1ENqt19ks5qGbGjgaJpZM4IpNOb
.

ah, sorry. yes. i will make value visible then, np; next release.


Move test to another file to ensure setting the TAGS env correctly

:tada: This PR is included in version 1.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Untracked MODULE.bazel.lock files

bzlmod will automatically generate MODULE.bazel.lock files, but this file is neither tracked by git nor placed in .gitignore file, causing every time git to alert MODULE.bazel.lock not being tracked, and adds to chance that this file is committed inadvertently. IMO it could be a quite simple fix by choosing either of the options:

Option 1: check in MODULE.bazel.lock files, if we are sure that this file is consistent across different machines (theoretically the lock file should maintain consistent on different machines, but I am not sure if there are any non-hermetic factors would cause environment-dependent contents).
Option 2: add MODULE.bazel.lock file into .gitignore, if we are unsure if the lock file would be consistent.

I would be happy to provide PR if either of the above options is a way to move forward.

Let's opt for ignore the files.
IIRC, I read through an github issue or discussion that mention it but cannot find it again. It mentions that the lock file is not quite stable at the moment, and needs some refine on it. So lets ignore it for now and keep an eye on it.

Sounds good to me. Created #224
BTW, I saw github issue in bazel repo https://github.com/bazelbuild/bazel/issues/20369, not sure if that was what you saw.


Indexes in sub-document for mongodb

Describe the bug
It seems that mikro-orm mondodb driver doesn't support sub-document indexing. That makes sense for SQL but it's common practice in mongodb. It looks like it's not possible to create an index like myField.mySubField.
Now it could be because of how i've written the embedding that's it's not working.
Stack trace
[Nest] 79737   - 08/16/2021, 11:19:23 AM   [ExceptionHandler] Entity Test has wrong index definition: 'testEmbedded.a' does not exist. You need to use property name, not column name. +47ms
MetadataError: Entity Test has wrong index definition: 'testEmbedded.a' does not exist. You need to use property name, not column name.
    at Function.unknownIndexProperty (/Users/antoinelaurent/virtual-event-service/node_modules/@mikro-orm/core/errors.js:126:16)
    at MetadataValidator.validateIndexes (/Users/antoinelaurent/virtual-event-service/node_modules/@mikro-orm/core/metadata/MetadataValidator.js:109:50)
    at MetadataValidator.validateEntityDefinition (/Users/antoinelaurent/virtual-event-service/node_modules/@mikro-orm/core/metadata/MetadataValidator.js:26:14)
    at MetadataDiscovery.processEntity (/Users/antoinelaurent/virtual-event-service/node_modules/@mikro-orm/core/metadata/MetadataDiscovery.js:297:24)
    at filtered.forEach.meta (/Users/antoinelaurent/virtual-event-service/node_modules/@mikro-orm/core/metadata/MetadataDiscovery.js:52:63)
    at Array.forEach (<anonymous>)
    at MetadataDiscovery.discover (/Users/antoinelaurent/virtual-event-service/node_modules/@mikro-orm/core/metadata/MetadataDiscovery.js:52:18)
    at process._tickCallback (internal/process/next_tick.js:68:7)

To Reproduce
Steps to reproduce the behavior:

@Embeddable()
export class TestEmbedded {
  @Property()
  a: number;
}

@Entity({ tableName: 'test' })
@Index({ properties: ['testEmbedded.a'] })
export class Test extends BaseEntity {
  @Embedded({
    entity: () => TestEmbedded,
    object: true,
  })
  testEmbedded: TestEmbedded;
}

Expected behavior
Should be able to use a . notation in mongodb indexes
Additional context
My original problem arises when i tried to create a compound index with a sub-field and a field of a document.
Versions

Dependency
Version

node
v10.22.0

typescript
v4.0.5

mikro-orm
v4.3.4

@mikro-orm/mongodb
v4.3.4

Indeed, this is not supported -> this is a feature request, not a bug report.

Hi, @B4nan
Any plans on it?
It works for @Index decorator :
@Index({ options: { 'embedded.property': 1 } })

But nothing works for @Unique.

Fastest way to see this happen by sending a PR 🤷

@andrey-hohlov This works for a unique index, also with a sparse index if needed...
@Property({ nullable: true, unique: true })

more #4495

Interesting, maybe this got fixed by some unrelated change over time. Will keep this open till we have some explicit tests for it so we can be sure it actually works (and it will remain working over time as well)

Okay, this apparently works as expected, not sure what fixed it. Added tests to ensure it really works, will mark it as a feature commit so it gets into the changelog, although it will just add the test.


Add error messages for preconditions in builders

TopicAliasUsageis an enum with 5 possible values. 3 for outgoing PUBLISH packets and 2 for incoming PUBLISH packets.
In Mqtt5PublishBuilderwe use Precondidions.checkArgument to restrict the values of TopicAliasUsage to the ones for outgoing PUBLISH packets. That's not very nice. I would prefer to have an Enum that only allows to supply the correct values. Splitting up the enum would also require to have an incoming and outgoing MqttPublish. Any thoughts or ideas?
The incoming ones are used by the Mqtt5PublishDecoder.

👎 for splitting MqttPublish
But I agree that the enum values are strange.
Maybe we should have 3 options: HAS_NOT, MAY and HAS (not sure about the naming yet) and treat HAS_NOT as a replacement for both HAS_NOT and MUST_NOT and HAS as a replacement for HAS and MAY_OVERWRITE

NO (MUST_NOT, HAS_NOT)
"Indicates that a PUBLISH packet (incoming or outgoing) does not use a topic alias."
YES (MAY_OVERRIDE, HAS)
"Indicates that a PUBLISH packet (incoming or outgoing) uses a topic alias. In case of an outgoing PUBLISH packet and if all topic aliases are in use, it will override an existing topic alias."
IF_AVAILABLE (MAY)
"Indicates that an outgoing PUBLISH packet uses a topic alias, if there are some unused topic aliases available."


Make JDK version built-in during the starting of the engine

Is your feature request related to a problem? Please describe.
Yes it will facilitate the starting of the engine without doing some extra configuration
Describe the solution you'd like
creating a bat file generated by shaft to start it at the terminal

Closed by #491


node tests: Enforce 100% coverage for markdown.js.

@showell should be an easy merge 😄

Going to include this in my other node test PR. Closing.


Playing MP3 ok, but volume issue

Hi,
When I play my .mp3 file with http://<IP_ADDRESS>:7654/play/Sunshine.mp3 it plays at 100% of volume on my Airport Express with speakers. But when I play the .mp3 a second time (and the same thereafter) the sound is only about 40% loud.
Even if I restart Homebridge the sound is still at 40%
Any idea?

Hi - this is strange, plugin just invokes command
atvremote --id ${homepodId} stream_file=${filePath}
w/o specifying volume level...
I could add some "default" volume setting, which would be used when playing files

Don't mind me, but if you could I'd be glad to test it out
Thx

Hi, try beta version of homebridge-homepod-radio-2.0.9 with audio switch accessory and volume control :)


Add methods to update nodes in GraphAPI

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (6718ee8) 82.13% compared to head (68eb05e) 82.21%.

Files
Patch %
Lines

onnx_array_api/graph_api/graph_builder.py
95.08%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
+ Coverage   82.13%   82.21%   +0.07%
==========================================
  Files          52       52
  Lines        7120     7180      +60
==========================================
+ Hits         5848     5903      +55
- Misses       1272     1277       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.