SVGO location

Hello,
Nice library!
Currently SVGO needs to be installed globally in order to be used. The change I made makes use of the svgo parameter, which can now be used to specify the path where svgo is found. The SVGO to be used is chosen in order of precedence:

The specified SVGO parameter, if it is an absolute or relative path
The SVGO under ./node_modules/svgo/bin
The globally installed SVGO (current)

I have added (locally) the following tests, but did not commit them as they require svgo.
  describe '#build_destination_file_contents_with_svgo_set_to_true' do
    let :sprite_builder do
      Svgeez::SpriteBuilder.new(
        'source' => './spec/fixtures/icons',
        'destination' => './spec/fixtures/icons.svg',
        'svgo' => 'true',
      )
    end

    it 'returns a string representation of combined SVG files.' do
      expect(sprite_builder.send(:build_destination_file_contents)).to eq IO.read('./spec/fixtures/icons_svgo.svg')
    end
  end

  describe '#build_destination_file_contents_with_svgo_absolute_path' do
    let :sprite_builder do
      Svgeez::SpriteBuilder.new(
        'source' => './spec/fixtures/icons',
        'destination' => './spec/fixtures/icons.svg',
        'svgo' => '/Users/fragkakis/Documents/workable/node_modules/svgo/bin',
      )
    end

    it 'returns a string representation of combined SVG files.' do
      expect(sprite_builder.send(:build_destination_file_contents)).to eq IO.read('./spec/fixtures/icons_svgo.svg')
    end
  end

  describe '#build_destination_file_contents_with_svgo_relative_path' do
    let :sprite_builder do
      Svgeez::SpriteBuilder.new(
        'source' => './spec/fixtures/icons',
        'destination' => './spec/fixtures/icons.svg',
        'svgo' => '../workable/node_modules/svgo/bin',
      )
    end

    it 'returns a string representation of combined SVG files.' do
      expect(sprite_builder.send(:build_destination_file_contents)).to eq IO.read('./spec/fixtures/icons_svgo.svg')
    end
  end

Thanks for the PR, @fragkakis! I'm in the midst of some travel, but will review your changes as soon as possible.

@fragkakis So that I can more easily review your code locally, could you implement these changes in a branch other than master? That may or may not require a new PR. Thanks!

Actually… I think we could avoid a lot of SVGO-related code by using the svgo_wrapper gem. It includes a check for SVGO's presence that might handle cases where SVGO is installed at the project level in ./node_modules.
What do you think? I can create a branch with the svgo_wrapper and give it a shot.

Sounds good!
On Oct 9, 2016 17:35, "Jason Garber"<EMAIL_ADDRESS>wrote:

Actually… I think we could avoid a lot of SVGO-related code by using the
svgo_wrapper https://github.com/tribune/svgo_wrapper gem. It includes a
check for SVGO's presence
https://github.com/tribune/svgo_wrapper/blob/master/lib/svgo_wrapper/svgo_check.rb
that might handle cases where SVGO is installed at the project level in
./node_modules.
What do you think? I can create a branch with the svgo_wrapper and give it
a shot.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jgarber623/svgeez/pull/21#issuecomment-252489962, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AANmm065mSvgF2UrRR-yjSu1a6S1X7vQks5qyPu5gaJpZM4J-4It
.

Implemented svgo_wrapper locally and found one thing I'm not fond of: https://github.com/tribune/svgo_wrapper/blob/master/lib/svgo_wrapper/svgo_check.rb#L20-L29
The gem checks for SVGO when its required rather than when it's initialized with SvgoWrapper.new, ostensibly for performance reasons. That would make SVGO a "requirement" in order to silence warnings.
🤔
I'm gonna do a bit more thinking on this…

Looking to use a local version of SVGO instead as well. Do you still plan to go ahead with this?


add ut for operator/pkg/validate/common.go

Please provide a description of this PR:
add ut for operator/pkg/validate/common.go

Hi @yyzxw. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Can we parse TypeScript Repositories for getting function, docstring pair ?

I know, typescript is not supported, but can we pass language as javascript ?
would that help ?
Basically I need function, docstring pair for typescript repos for a research project, I am not sure if that is something similar to javascript parsing.

not entirely sure if that would work. My guess is that for most functions it would since function declarations are pretty similar between javascript and typescript, but there may be some edge cases where it fails. If you've tried it out and it worked please let me know, I'd be interested to know!


rage: fix hash

Description of changes

Upstream retagged v0.9.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 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

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 237480 run on x86_64-linux 1

1 package built:

rage

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

rage:

got build log for '/nix/store/irw3crvwiywy6czwzcb2r9lai1xkyaz6-rage-0.9.2' from 'daemon'
When evaluating attribute ‘rage’:
warning: environment-variables-go-to-env
Environment variable PKG_CONFIG_ALLOW_CROSS should be moved to env attribute rather than being passed directly to ‘stdenv.mkDerivation’.
Near pkgs/build-support/rust/build-rust-package/default.nix:141:3:
    |
141 |   PKG_CONFIG_ALLOW_CROSS =
    |   ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/environment-variables-go-to-env.md

Result of nixpkgs-review pr 237480 run on aarch64-darwin 1

1 package built:

rage


Updating property with key of empty string fails to trigger updates

let foo = new Variable({'': 'foo'})

foo.get('')
// -> 'foo'

foo.property('').subscribe((event) => {
  console.log(event.value())
})

foo.set('', 'wat')
foo.property('').put('does it blend?')
// nothing happens, the subscribed event handler never fires.

This issue came up when using variables to represent selection state hashes, and some (selectable) values come up as empty string.
This works but it also triggers updaters for the entire object, rather than just that 1 property:
foo.set('', 'wat') && foo.property('').updated()

It could possibly happen with any false-y key:
foo.set(false, 'wat')
foo.set(0, 'wat')

I think the problematic line is https://github.com/kriszyp/alkali/blob/0fff5ff30e5d722c0437b304fab40929f9fab24b/Variable.js#L159
var property = propertyName && this._properties && this._properties[propertyName]
if (property && !(type instanceof PropertyChange) && object === this.valueOf()) {
	property.parentUpdated(ToChild, context)
}

propertyName is falsey in this case.  Changing the test to this instead appears to fix this specific case (I only tested in console):
var property = propertyName != null && this._properties && this._properties[propertyName]
If I have time this week I can write a test case and fix.


Inconsistency in the description of the command in the plural / singular second person form is shown on the login page

Steps to reproduce:

Go to the https://ita-social-projects.github.io/GreenCityClient/#/auth
Change language into Ukrainian
Pay attention to the commands: внеси, забули, зареєструватись, заходь
Expected Result:
All commands are described in one form - singular or plural
Actual Result:
The mixed form of the person is used while describing actions on the login page
Environment: Chrome Версія 80.0.3987.122 (Розробка) (64-розрядна версія) Windows7 Ultimat
#66

Not relevant


Do all routes need to be passed for bootstraping?

Do all routes need to be gathered in one place or it can be distributed like with angular2 router?

You can use the the optional loadChildren property of a route definition to lazy-load child route definitions from within any route configuration. The function should return a promise of an array of routes.
https://github.com/ngrx/router/blob/master/docs/overview/code-splitting.md (loadChildren doesn't get much press)

Okay. But are those exported consts passed somewhere further, like to provider for registration?

I don't know if I really understand what you're asking about, but whatever you pass to the provideRouter function becomes your routes. If some of them and/or some of their components are loaded lazily, that's fine, but it all stems from the object you pass as the routes to the provideRouter function.


Guard rails around collect/parallelize

Is your feature request related to a problem? Please describe.
There are a few edge cases that aren't handled in the code:

One tries to query for a node within a block between Parallelizable[]/Collect
One passes or overrides nodes for ^^^
A Parallelizable directly preceeding a Collect
A Parallelizable with no Collect coming afterwards
A Parallelizable with multiple Collects -- this should be allow eventually but its not feasible now. See https://github.com/DAGWorks-Inc/hamilton/issues/742.
Multiple Collect in a node

And probably a few more.
Describe the solution you'd like
Clean errors as early as possible. Currently this does nothing.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Follow up from this: https://github.com/DAGWorks-Inc/hamilton/pull/299.

Another one -- if you call to output a node within a Parallelizable statement, it will treat it as a list, rather than individuals. See this as repro:
import hamilton.ad_hoc_utils
from hamilton.htypes import Parallelizable, Collect

def url() -> Parallelizable[str]:
    for url_ in ['url_a', 'url_b']:
        print(url)
        yield url_

def url_loaded(url: str) -> str:
    print(url)
    return url

def counts(url_loaded: str) -> int:
    print(url_loaded)
    print(type(url_loaded)) # url_loaded seems to be a list not a string???
    return len(url_loaded.split("_"))

def total_words(counts: Collect[int]) -> int:
    return sum(counts)

my_hamilton_nodes = hamilton.ad_hoc_utils.create_temporary_module(
    url,url_loaded, counts, total_words
)
if __name__ == '__main__':
    from hamilton import driver, base, telemetry
    from hamilton.execution import executors

    telemetry.disable_telemetry()

    config = {}

    dr = (
        driver.Builder()
        .with_modules(my_hamilton_nodes)
        .enable_dynamic_execution(allow_experimental_mode=True)
        .with_local_executor(executors.SynchronousLocalTaskExecutor())
        .with_config(config)
        .build()
    )

    output_columns = [
        'counts'
    ]
    out = dr.execute(output_columns)
    print(out)

One other thing to get a better error for - regular driver used to try to execute a graph with parallelize.

Documented here: https://github.com/DAGWorks-Inc/hamilton/pull/745

Users filing issues for this - https://github.com/DAGWorks-Inc/hamilton/issues/1030
&
https://github.com/DAGWorks-Inc/hamilton/issues/1029

@elijahbenizzy I ran into https://github.com/DAGWorks-Inc/hamilton/issues/301#issuecomment-1817725573 too, in the context of a dataloader under parallelizable. This is quite a blocker for me.


Symbol not shown up

Hi,
If I'm not mistaken. Atom Language plugin should define keywords for method/functions show that when I use plugin Symbol View with command "cmd+r", it will show the list of Rust symbols.
Thanks

Unfortunately I don't know how the symbol extraction works in Atom. How does Atom get the list of symbols? Our grammar rules do apply entity.name.function.rust to function names (like other grammars)

I wish I could help but I'm busy at the moment. 😔

@chrisduong,
Symbols are available in VSCode.
@zargony,
Since you and I use VSCode, I can advocate VSCode, can't I?

@KalitaAlexey Sure, I'm a big fan of VSCode myself. Afaik VSCode's Rust extension uses this syntax rules, but only for highlighting. Symbol extraction works via rls I guess?
I'm not sure how Atom gets symbols for Cmd-R. It could be possible that Atom just looks at text marked with some scope, in which case we'd do something wrong since it doesn't seem to work with Rust. But I think more likely there need to be something else that extracts symbols from the editor content (like some interfacing with rls)

@zargony,
The extension supports two modes: Legacy Mode and RLS Mode.
Symbols in Legacy Mode are get with rustsym.


Update packages.json (Username change thus changed the git repos of the packages)

Rename git repos due to a username change on github.

This one requires urgent attention

This one requires urgent attention

It doesn't. Github redirects it automatically to the new name.
Having said that.... it's merged now.


Gene ideas pt 1

[ ] Llama spit gene
[ ] Undead gene
[ ] Colour genes (a la Quark berries)
[ ] Fortune gene (from rabbits?)
[ ] Uhh

:doubt:

Knockback - Goats, maybe donkeys? Maybe something related to storing items

Double jump from something?

Double jump from something?

Rabbits?


What if the CSP directive is dictated from within an iframe? How should we behave?

IMO the directive should only apply where current CSP directives apply, aka same origin realms covered by the same policy containers: about:blank and co, but not same origin iframes covered by their own CSP.

After discussing with @yoavweiss , not allowing RIC set from non top realms is fine (as the explainer already states)

I sympathize with the concerns suggested by your question, we are currently doing some homework regarding whether that's the case and if that changes how well CSP is positioned to accomplish our goal.
I'm leaving this as closed because the wondering around CSP is being worked on at #10.


ci: check dead link and test quickstart

What this PR does:
The CI pipeline will:

check dead links in all the documents
test quickstart document
run tests concurrently and faster

Todo:

[x] start docsify server in the workflow
[x] make it faster
[x] fix all dead links
[x] make wasm/integrate-test run concurrently
[ ] all tests reuse same dependency cache so that they don't have to download dep themselves
[x] run quickstart document in the workflow
[x] delete test.sh

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Hi guys, finally it's ready for review :)


Re add names to documented rules that were previously autonamed.

Related to #1493

Looks to me like a bug with stitch's name inference?


ci: verify our boilerplate

This is a non-standard invocation as we don't want to pull in Bazel
right now.
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>

Another option that Knative uses: https://github.com/mattmoor/boilerplate-check

I think this needs? https://github.com/kubernetes/repo-infra/pull/246

generally rh legal allows license file at the top for apache projects and no boilerplate

That would certainly make things easier (less process). Does that work for you @stevekuznetsov (I know I was the one yesterday asking about missing boilerplate in one of your PRs, but ... 😄 )

but!  we want to remain generally aligned to kube specifically and cncf convention generally - to continue with existing codebase as a kube sub project will require us to establish ownership and some of what we’re doing might have to get rewritten.  i think it’s likely anything minimal api server “like” needs to be very much associated with the kube fork (at the point we suggest merges based on that is when ownership is transferred to kube and cncf)


Bump snoretoast to fix activation response with appID

I've rebuilt the snoretoast binaries to include this change I've submitted upstream: https://github.com/KDE/snoretoast/pull/15
This fixes https://github.com/mikaelbr/node-notifier/issues/332 https://github.com/mikaelbr/node-notifier/issues/326 and possibly others.
TL;DR: The pipe never got written to when the notification is activated (i.e. clicked the body or clicked an action button), so a blank response and metadata would be received in the notifier callback. This only happens when passing a custom appID, because the default snoretoast behaviour is to install a shortcut to itself and register a background callback in the Windows registry, which uses a different mechanism which did actually write to the pipe.
Action buttons on Windows are really the only advantage this library has over the built-in Electron notifications, so this is a pretty important fix for us Electron users.

Thanks for this! To just be on the safe side, I think I'll wait for KDE/snoretoast#15 and use binaries from that/build myself.

Starting to lose hope that this will ever get merged... 😢

@mikaelbr
changes were made to snoretoast which should fix the issues, see:
https://github.com/KDE/snoretoast/commit/8502ef06167b3741c072cf65ba74d4f501600408
https://invent.kde.org/libraries/snoretoast/-/commit/8502ef06167b3741c072cf65ba74d4f501600408
(this is pretty much what the patch by @DuBistKomisch does)
https://binary-factory.kde.org/job/SnoreToast_Release_win64/
https://binary-factory.kde.org/job/SnoreToast_Nightly_win64/

please update snoretoast vendor
https://download.kde.org/stable/snoretoast/0.9.0/

1.5 Years later I realized that there's actually a pretty easy way to fix this, we just didn't implement SnoreToast well enough:
Here's a guide: https://github.com/mikaelbr/node-notifier/issues/424
this PR can be closed (as well as https://github.com/KDE/snoretoast/pull/15 @DuBistKomisch)


Add exception mapping for Jackson object mapping exceptions

A partial vm json for example should not create an uggly 500, but some meaningful error.

Added some instability in the build.

tests stabilized


jenkins

while start up jenkins,i am going to jenkins repository open terrminal at that location and apply command java -jar jenkins.war.but this command not working to start jenkins

your log is displaying address already used means your system is running any other application on port 8080 please check it

Hi Ramakrishna,
Please execute below command
where --httpPort should not be 8080 port
java -jar jenkins.war --httpPort=XXXX
Thanks
Ravi


Problem with literal with a language tag

For example we import data with language tags:
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix show: <http://example.org/vocab/show/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

show:218 show:localName "That Seventies Show"@en .                 # literal with a language tag
show:218 show:localName 'Cette Série des Années Soixante-dix'@fr . # literal delimited by single quote
show:218 show:localName "Cette Série des Années Septante"@fr-be .  # literal with a region subtag

https://www.w3.org/TR/turtle/#turtle-literals
The result of semantics.importRDF:

terminationStatus: OK
triplesLoaded: 3

But MATCH (P:Resource) RETURN P return only one node with lost of information about language labels:
{
    "http://example.org/vocab/show/localName":"Cette Série des Années Septante",
    "uri":"http://example.org/vocab/show/218"
}

Hey, thanks for bringing that up. It's a known issue :) I mean, dealing with multivalued properties in general. See the open points section at the end of https://jesusbarrasa.wordpress.com/2016/06/07/importing-rdf-data-into-neo4j/
I tried to stay away from it in the first version to make things simpler. The thing is multivalued properties are either not used at all or used in anger. I mean, there are datasets where there is not a single case and others where multilinguality (as your example suggest) is central.
The way you would typically model this in a Property Graph would be by using arrays. Although in the case of language tagged values maybe prefixing property names could also be an option -that I don't particularly like by the way-.  Here's what I mean:
(:Resource { uri: 'ns0_218',
ns0_en_localName: 'That Seventies Show',
ns0_fr_localName: 'Cette Série des Années Soixante-dix',
ns0_fr_be_localName: 'Cette Série des Années Septante'})
Back to multivalued properties in general:
Option 1: all properties have array values. This means every time you want to get the value of a property you have to deal with the fact it's an array.
Option 2: Only multivalued properties are arrays, single valued ones are atomic values. I'd discard this option straight away since there would not be a standard way to access property values. You'd need to check if it's an array or not and depending on the case access in one way or another.
Option 3: keep a preferred value that you can default to and the complete list (including the default one) in an array. Something like this:
(:Resource { uri: 'ns0_218',
ns0_localName: 'That Seventies Show',
ns0_localName_all: [ 'That Seventies Show@en', 'Cette Série des Années Soixante-dix@fr', 'Cette Série des Années Septante@fr-be']})
I think probably 1 is the more reasonable, but would love to hear your thoughts on this.
I think it would make sense to make this a data load option so if your dataset does not use multivalued properties you can stick to the current approach and benefit from the simplicity. I suspect many cases will fall in this category.
I've started to play with this but before I commit code to the project I'd like to hear opinions.
Is Option 1 the right approach?
Cheers,
JB.

@jbarrasa Hi!
I think that the first option is quite suitable.
But what do you think if you take the multilingual properties to a separate node? Something like that:
(:Resource { uri: 'ns0_218' }) - [:hasProperty] -> (:Property {
    uri:        'http://example.org/vocab/show/',
    name:       'localName',
    'en':       'That Seventies Show',
    'fr':       'Cette Série des Années Soixante-dix',
    'fr-be':    'Cette Série des Années Septante})

Thanks stdob!
Yes, I guess that's an option too but that kind of defeats the purpose of the property graph model where you can set properties to nodes. This approach would create a node for every value of every property which is the atomic decomposition the RDF imposes.
Definitely a possibility but not my favourite.
Also if you think of the syntax for querying this graph...
MATCH (:Resource { uri: 'ns0_218' }) - [:hasProperty] -> (p:Property { name: 'aproperty', uri: 'xxx'})
RETURN p.en AS value

As opposed to something a lot more compact like
MATCH (r:Resource { uri: 'ns0_218' })
RETURN r.nsx_aproperty_en AS value

But in some cases it may be the best option... let's think about it.
JB.

Good discussion.  @jbarrasa I agree with you that wherever possible we should leverage the property graph model fully.  That is why we, at least I, am here.
The question on multivalued properties comes down to the use case.  Is there ever a case where having a separate node is beneficial, will the node carry additional information beyond the name?  In my own examples option 3 would work most of the time and allows the preferred term to be easily indexed, option 1 provides a more consistent interface but takes away the option of an index for performance.
Of course you could always allow a choice configurable, defaulted to leverage the property graph but with the option for separate nodes.  This type of option would be model driven, no field by field choice, to avoid complexity.
This should also support property graph to RDF in consistent manner too.

Hi, @jbarrasa!
I tend to choose when all properties are arrays. Only it seems to me, that it is necessary to wrap multilanguage-string in double quotes:
(:Resource {
    uri: 'ns0_218',
    ns0_localName: [ '"That Seventies Show"@en',
                     '"Cette Série des Années Soixante-dix"@fr',
                     '"Cette Série des Années Septante"@fr-be'
    ]
})

Hi @jbarrasa. I try importing data from a multi-language source (i.e. wikidata) and encountered this issue :(.
As I currently see the plugin saves a value of the last encountered language.
Do you have any progress on this issue?

Hi Kirill, I’m working on the next release where I plan to solve this problem. It would be extremely useful though to know what your dataset and some of your multilingual queries look like.
Would that be possible?
Thanks!
JB

From: Kirill Yankov<EMAIL_ADDRESS>Sent: Friday, April 19, 2019 1:19:32 AM
To: jbarrasa/neosemantics
Cc: J. Barrasa; Mention
Subject: Re: [jbarrasa/neosemantics] Problem with literal with a language tag (#18)
Hi @jbarrasahttps://github.com/jbarrasa. I try importing data from a multi-language source (i.e. wikidata) and encountered this issue :(.
As I currently see the plugin saves a value of the last encountered language.
Do you have any progress on this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/jbarrasa/neosemantics/issues/18#issuecomment-484729975, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACMGYF62GW3EE6MPKUYRPM3PREFZJANCNFSM4DCKSIBQ.

Thanks for good news )!
I work with knowledge bases. I research on neo4j performance and try to import the full (or at least some part) of wikidata in it. Wikidata is in many languages, so the queries look like: return all scientists from Germany (in english or any other language, in most cases you do not want to mix the languages).

Quick announcement: Changes for the first version of neo4j with multivalued properties + language info handling have been committed to the 3.5 branch.
New release to follow in the next few days.

Great news!

Hey @jbarrasa! How is your progress on the release? Are you still planning to issue it?

Just pushed it. Still working on the doc for new features though... should be up in the next 48h. In the meantime you can have a look at the unit tests :)

Great! Thank you for the work and support of this project!


feat(replica): add command to get rebuild estimation

This commit adds code to get rebuild estimation through jivactl command.
A new command syncinfo is added to jivactl.
Exp:
infinity:jiva(sync-progress)$ ./jiva syncinfo
FATA[0000] Error running ls command: Bad response: 500 500 Internal Server Error: {"actions":{},"code":"Server Error","detail":"","links":{"self":"http://<IP_ADDRESS>:9502/v1/rebuildinfo"},"message":"Failed to get rebuild info, rebuild is either skipped or not started yet","status":500,"type":"error"}
infinity:jiva(sync-progress)$ ./jiva syncinfo
ActualLocalUsedSize   0
ActualHealthyUsedSize 0
=========================================================================
Snapshot                                 Status     LocalSize HealthySize
4cf6bdd3-15bb-43e9-9d5b-51a5869cf0a3.img Pending    NA        0
6ec1ba18-7dc5-4122-a809-be2b87c9fbc3.img Pending    NA        0
90cb2dcb-87cd-470d-9dd3-08d6775d214e.img Pending    NA        0
09623a5d-a4e1-4118-96d7-96358638c75f.img Pending    0         0
558ce11e-eb52-4a5a-9cbc-d5c69683ff2b.img Pending    0         0
73716b98-4822-4a9d-a419-276cdbcd11e9.img Pending    0         0
8c41de8a-93a7-4253-aa67-33b58a337b73.img Pending    NA        0
bed8e094-c3f3-46d2-a458-eb53cc9afcb4.img Pending    NA        0
476b3cc8-0e6f-4e20-b977-6291b427cc02.img Pending    NA        0
83f1a169-4ea9-4c2d-ac84-e1a651e4cfc4.img Pending    NA        0
aa7fbbb2-590e-40cb-9665-745de3d3e941.img Pending    NA        0
b209e16e-55f5-48ac-8b4d-4e311150476a.img InProgress 0         0
b8515c7e-ddfe-4de3-b822-afe1a7b04b80.img Pending    NA        0
13740213-0213-4742-a598-564db0f417e3.img Completed  0         0
af096698-b2bb-400f-834e-2ad744fc64c0.img Pending    0         0
b2162e96-2b2e-47b3-b2af-2e00789fdc34.img Pending    NA        0
bb0c5c8b-93aa-4218-ae89-0fd94afe290a.img Pending    NA        0
be3b2135-8e3b-4816-ba3e-4c0a5966a1d1.img Pending    0         0
c87ca6f8-5d86-4291-aaa4-2eff449bf1d6.img Pending    NA        0

Signed-off-by: Utkarsh Mani Tripathi<EMAIL_ADDRESS>

@vishnuitta since rebuilding is skipped in healthy replica and also in WO replica in case revision count and chain is same as of healthy replica. So in this scenario i'm returning error. What's your opinion?
in other words what would be better approach?

@vishnuitta since rebuilding is skipped in healthy replica and also in WO replica in case revision count and chain is same as of healthy replica. So in this scenario i'm returning error. What's your opinion?
in other words what would be better approach?

If sync is in progress (irrespective of whether chain is same or revisioncounter is same), put the details as mentioned in the table.
If sync is not in progress, put the message that 'no sync in progress' (not exact message).


Fix typo and missing colorization of PowerShell

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


added event emitters + fixed some bugs on the checkbox component

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
title says it all

📦 Published PR as canary version: 18.2.1--canary.174.912d10c3b98262b52504e2c094e01bb038e31e0d.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

I'll close this as we did checkbox fixes in another branch.


[Questions]: Weighting characters to handle acronyms / fixed numbers

Hi - thanks for all your work on this library, it works very nicely.
I have a question about applying weights to certain characters in order to cater for things like acronyms and numbers that should remain the same:
For example, if I had a test string Guide V16 LDV and an array of strings which included the 'true' version: Guide V16 Laker Deep V, I might want to upweight the capital letters and numerical characters in the test string (I don't want the numbers to change) so that a match to Guide V16 Laker Deep V is more likely than a match to Guide V18 SD for example.
I have noticed that token_set_ratio gives more accurate results than token_sort_ratio when acronyms are involved, but when the 'true' version is longer than the test string, the 100% match from token_set_ratio causes it to match to the wrong thing: There are instances where Guide V16 LDV should match to Guide V16 Laker Deep V and not Guide V16 Laker Deep V Hidden Pro for example
For context, I'm dealing with a large dataset consisting of product makes & models entered by users. I also have a list of 'ground truth' make & models provided by the product manufacturers. My goal is to try and match up the user entered models with the manufacturer's model name. Is the inclusion of a custom weighting complex, or is it incorporated in some other method I've overlooked?

So far, this is not possible. All scorers in fuzz.* use the Levenshtein distance with the following weights:

substitution = 2
insertion = 1
deletion = 1
and normalize the edit distance using 100 - 100 * edit_dist / (len1 + len2)

There is also rapidfuzz.string_metric.levenshtein, which accepts custom weights for substitution/insertion/deletion. However, only the normal Levenshtein distance and the weighted Levenshtein distance used in fuzz.* have very optimised implementations. I calculate the Levenshtein distance for all other weights using Wagner Fischer, which is slower.
It would be possible to add custom weights on a character basis similar to the implementation here: https://github.com/infoscout/weighted-levenshtein/blob/ff739559d0a8ca52a21ff9cac29e361ddb7d86d5/weighted_levenshtein/clev.pyx#L425
However, to support the whole Unicode range, this would require hashmaps, which would most likely make it relatively slow. I implemented a very quick proof of concept which took around 20 times as long as the current generic implementation, which is already slower than the bitparallel implementation.

I see, thanks for the detailed explanation.
For my specific application I have many hundreds of thousands of strings to check so an unoptimised approach would probably be far too slow. I'll have to look into alternate string clustering methods instead.
Thanks again

I looked into it a bit more yesterday evening and at least in C++ was able to get it down to around 4x of the bitparallel implementation or 1.5x the runtime of the current generic implementation.
For extended ascii strings it would be possible to store the mapping in 3 arrays:

delete/insert is a 256 element array
substitution is a 256*256 matrix
In my test this took 1.1 times as long as the current generic implementation / 3.1x the bitparallel implementation
As a important note, this is benchmarked directly in C++, so the integration with Python still has a couple of unknown factors:
when calling a single function argument parsing takes a considerate amount of time
-> The runtime difference might not be as big
-> depending on the way the arguments are passed numpy array / dict this might introduce new overhead to get elements from the dict vs a hashmap optimised for the element types I am using. Numpy arrays would probably be relatively cheap, since they should allow me direct access to their memory
when calling through process.* a big part of the performance improvement of fuzz.ratio is achieved by precalculating a bitvector of the query (about 2x improvement) which can not be done for the generic implementation

So I guess it should be possible to achieve something around 10x the runtime of fuzz.ratio. However e.g. fuzz.token_set_ratio is a lot slower than fuzz.ratio as well, so this might not be so bad.
Todos:

How to pass the mapping

I guess numpy arrays would be performant and could be used
additionally dicts should probably be accepted especially for substitutions, since 0x10FFFF ^ 2 Bytes is definetly to much to fit into memory

process.* needs to accept additional kwargs so no calls to a python function are required when matching whole lists


Improve workspace defaults handling

Rework the way default workspace paths for sdks is being handled. Right now we're using  to detect if the path is left default or not

@pauliusguzas @GabrieleKaceviciute I can no longer reproduce this issue when testing on 1.0. This needs to be checked if it's still an issue or am I missing something


feat(type-safe-api): add s3 integration

As discussed here https://github.com/aws/aws-pdk/discussions/539, this is a proposition to add an s3 integration to type-safe-api

@valebedu just wondered if you're still working on this? Would be an awesome addition but no worries if you don't have the time! :)

Hi @cogwirrel, yes it's just a bit difficult to find time 😅 I'll try to work on it this weekend

Hi @cogwirrel, yes it's just a bit difficult to find time 😅 I'll try to work on it this weekend

All good, no rush! :) Will keep this PR alive 😄

When viewing your example in docs I was thinking about the fixed status code with a DELETE and 200 is sometimes not what user wants.
So I added a prop to override it if needed

So I added a prop to override it if needed

Thanks for this! 😄  It made me start thinking that users may even wish to customise other parts of the default/successful response, so I decided to generify your ErrorIntegrationResponse- Hope you don't mind! 😄
I was also playing around with a test project using your branch - it's so awesome! Love how path parameters just work and I can change the path/method easily :)
One slightly less intuitive thing I found was the default catchAll behaviour returning S3's xml errors in the response body, as the default model we vend for Type Safe API includes 400/403/404/500 error responses as a simple json object with a message property:
https://github.com/aws/aws-pdk/blob/09335a2af5607a299608604b2870a076bb9fa55a/packages/type-safe-api/src/project/model/smithy/smithy-definition.ts#L169-L176
Some kind of automatic coercion of the s3 xml error into the corresponding error response in the model would be the ideal way to handle it but I'd have thought that would be super complicated to build! As a compromise, I decided to make the default error behaviour IntegrationResponseSet.s3JsonErrorMessage() which extracts the S3 error message and returns it in a way which conforms to the default vended error models :)

Awesome! Thank you so much :)
Yes, once you try S3 you find it really useful, I use it mostly in combinations with cron lambdas that run each hour to get a specific result from a DB, writing it to a bucket an serving it through API Gateway, this is much cheaper and offers less pressure over DB for a result that doesn't change often.
And yes handling all S3 errors could be quite difficult to do. Maybe if this integration became popular with developers we will improve it :)


14 update basic documentation

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

Comparison is base (4632f6e) 74.22% compared to head (cd4ae5c) 77.92%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

...vn/logic/engines/ansiConsole/AnsiConsoleAdapter.kt
75.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #15      +/-   ##
============================================
+ Coverage     74.22%   77.92%   +3.70%
- Complexity      373      449      +76
============================================
  Files           101      103       +2
  Lines          1482     1631     +149
  Branches        171      182      +11
============================================
+ Hits           1100     1271     +171
+ Misses          318      278      -40
- Partials         64       82      +18

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


Add max recv size call option so that gNOI responses can have up to 40MB data per recv call.

MaxCallRecvMsgSize has a default value of 4MB. However, some devices send more than 4MB data per Recv.
This change would allow setting the MaxRecvMsgSize for all gRPC connections or for individial g* APIs

Pull Request Functional Test Report for #1703 / f06e33156495619b5b0739accb12136916cd3eea
No tests identified for validation.
Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 47.896%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

topologies/binding/options.go
0
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
1320

Relevant Lines:
2756

💛  - Coveralls


Optionally enforce exact distances

Since the threshold of 4096 for deciding the distance algorithm is a bit arbitrary and depends on machine speed, this pull request introduces another argument force_exact_distancesas an opposite to the existing force_approximation_algorithm.

@lmcinnes , this sounds plausible, but I won't do it now. Feel free to close this request.


Use protocol for collections management rather than in-memory collection.

Hi,
I was thinking it would be nice to remove the in-memory collection storage and replace it will a protocol so it can easily be replaced with CoreData, SQLite, Plist, whatever. If this seems like a change you're interested in perhaps I can scrounge up the time to help implement it; I'd like like to know it would be integrated into master at some point.
The default implementation for a data manager can be the current in-memory collection.

Hi @jleach Yes I would be interested in this, I've been meaning to find time to do a few things to this project but kids keep me busy so any help from you would be greatly appreciated!

I'm interested in this as well. I am using core data and just using the [publication]_added,[publication]_changed, etc. notifications to subscribe to the data. I have some large collections, and storing them all in-memory is not feasible. At the very least, the in-memory storage should be optional. I can help with design and implementation on this as well.

I'd be interested in this as well. I have a hacked up version of the meteorClient that removed the in-memory storage and uses a protocol to pump the changes to the delegate.

I'll take a look this weekend to see how much effort is required to refactor. When I have a plan I'll (a) propose the protocol here for comments and (b) fork for the work that can be merged back into the main repo.

@jleach sounds great!

@mikey0000 I was thinking that for the initial implementation I can just implement it so that if a delegate exists it uses it, otherwise it uses the default behaviour (in-memory collections). Here is a protocol to start the discussion: https://gist.github.com/jleach/03053aa74f519c936bd1
After this is done and out in the wild the next step can build an in-memory class that implements the current collection mechanics but is not part of the meteor client.

One thing to keep in mind is that, without the in-memory collections, ObjectiveDDP won't be able to generate a complete object for a changed message like it is currently doing (see _parseObjectAndUpdateCollection). This means that the clients of ObjectiveDDP will need to explicitly handle the "fields" and "cleared" hashes (described in the spec: https://github.com/meteor/meteor/blob/devel/packages/ddp/DDP.md). Thus, a protocol for a cleared message probably might want to have explicit fields and cleared objects, or at least make it clear (no pun intended) that the dictionary you're getting for a changed message has nested fields and cleared dictionaries.
I have an ObjectiveDDP branch here that optionally disables in-memory collections: https://github.com/emmerge/ObjectiveDDP/compare/upstream_shadow...optional_inmemory_collections Note that I took the approach of having a changed message return an object of a different structure than the added message. Specifically, the changed object has no actual fields at the top-level other than _id Instead it has top-level hashes called "fields" and "cleared".
This turns out to be somewhat annoying to handle in the client, but the trade-off is worth it in my opinion to avoid the memory overhead of the in-memory collections.

@jleach - I think the protocol looks good and is pretty similar to what I implemented.
Regarding @nsolter's note on updates, I think you could either do as Nick suggests and have two sets of fields, so your protocol method becomes something like:
- (void)meteorClient:(MeteorClient *)client didChangeObjectWithId:(NSString *)objectId collectionName:(NSString *)name fields:(NSDictionary *)fields removedFields:(NSArray)removedFields;
or simply keep one dictionary of fields that merges the two sets together, and use an NSNull as the value for the removed fields. You'd obviously have to then know in the delegate to handle the NSNull, but might be cleaner?

I'd lean toward two explicit sets of fields, but I'm fine with either approach.


[Bug] ES外表目前不能支持wildcard类型字段识别.

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
Doris2.0.4
What's Wrong?
使用以下语句创建的es外表
CREATE EXTERNAL TABLE TEST_OS_ES ENGINE=ELASTICSEARCH PROPERTIES ( "hosts" = "http://<IP_ADDRESS>:9200", "index" = "test_index", "enable_keyword_sniff" = "true" );
当字段含有wildcard时查询报错，需要手工指定类型，否则查询报错：
[HY000][1105] errCode = 2, detailMessage = Unsupported type 'UNSUPPORTED_TYPE' in 'test_filed'.
What You Expected?
可以正确识别Wildcard类型的字段
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

let me see


Fe assignment 2

Metric
Value

alert_status
:white_check_mark: OK

bugs
6

code_smells
11

reliability_rating
C (at least 1 Major Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


Tracking: Support Termination Policy

Databases:

[x] Elasticsearch
[x] MySQL
[ ] MongoDB
[ ] PostgreSQL
[ ] Redis
[ ] Memcached

xref: kubedb/project#182


dialog imports and exports dialogconfig

I looks like dialog.ts both imports and then reexports MdDialogConfig and MdDialogRef.  For me this is causing an error when I try to build with webpack 2 due to it trying to re-add the module. The error is:
Uncaught TypeError: Cannot redefine property: MdDialogRef
I'm pretty new to modules in typescript but it seems weird to me that a component would import and then export something

This is known as a "re-export" and is pretty common. AFAIK it hasn't been a problem with any Webpack and this in the past. All of our angular-cli based projects, such as this sample use webpack without this problem.
Going to close this for now as I suspect the issue lies in your environment.

actually looks like it might be related to this:
https://github.com/webpack/webpack/issues/2850
it wouldn't happen in the example you linked because you are importing individual components i.e. import { MdSomething } from "angular/material" whereas I import the entire thing i.e. import "@angular/material"  which causes the index.d.ts to be used in the dialog folder (I do this because I'm building a webpack dll and want the entire thing recompiled instead of adding each piece individually"


Expose UIManager from Scheduler

Differential Revision: D35314058

@ShikaSD We have just tried out this PR in Fabric version of react-native-reanimated. The good news is that we managed to implement and install custom event listener on iOS (although we had some difficulties with obtaining a reference to RCTScheduler due to the fact that bridge.surfacePresenter was not initialized at the time we initialize Reanimated, but it looks like enabling requiresMainQueueSetup resolves this issue).
The bad news is that unfortunately I've overlooked the fact that the proposed event listeners are called on the JS thread, after the events are flushed from EventQueue. However, in Reanimated we need to intercept and handle events while still on the UI thread.
Can you please let us know if it would be possible to tweak this PR so we can handle the events still on the UI thread?


Sound not working

Hi, I'm using Dascr Scorenoard in a docker container (hosted on unraid behind traefik), everything works really well, except sound.
I'm not able to get sound working. even without reverse proxy i cannot get sound working. There are no error messages in the browser console. Should the sounds be played through frontend or backend?
this is my Compose File:
version: '3.9'
services:
  backend:
    hostname: dart-backend
    image: ghcr.io/dascr/dascr-board/dascr-board-svc:main
    environment:
      - API_IP=<IP_ADDRESS>
      - API_PORT=8000
    networks:
      - traefik
    volumes:
      - /mnt/user/appdata/Dartboard/dascr.db:/dascr.db
      - /mnt/user/appdata/Dartboard/uploads:/uploads
  frontend:
    hostname: dart-frontend
    image: ghcr.io/dascr/dascr-board/dascr-board-ui:main
    environment:
      - VITE_API_BASE=http://<IP_ADDRESS>:5051/
      - VITE_API_URL=http://<IP_ADDRESS>:5051/api
      - VITE_WS_URL=ws://<IP_ADDRESS>:5051/ws
    networks:
      - traefik

networks:
  traefik:
    name: traefik
    external: true

btw, found a typo (label autoswitch):
frontend/src/routes/[gameid]/game/GameForm.svelte:218:          <label for="autoswtich" class="flex justify-start items-start">
should be:
frontend/src/routes/[gameid]/game/GameForm.svelte:218:          <label for="autoswitch" class="flex justify-start items-start">

Sound unfortunately is only partially implemented and known as not working for now.


Fix anomalous backslash in string.

This change feels like it's adding a lot of unnecessary syntax. I'm also unsure that the change to the PYPI regex won't break it, as making it a raw string affects the meaning:
>>> r'\\'
'\\\\'
>>> '\\'
'\\'

I've added a test to the suite that likely would have captured this expectation, but I don't see any way to ask Travis to re-run the pull request against the latest master.
In any case, overall, I feel this change detracts more than it adds.


Implement UNION set operation as UnionDAO

Chose to do this one as a DAO instead of a sink because the secondary introduces new data that are not backed by the primary. I.e., it feels wrong to implement something that supports:
foo.select(UNION(bar))

where the data put() to the sink would include items that are not contained in foo.

Codecov Report

Merging #55 into master will increase coverage by 0.45%.
The diff coverage is 61.03%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
+ Coverage   51.94%   52.39%   +0.45%
==========================================
  Files          31       31
  Lines        1340     1418      +78
  Branches      100      108       +8
==========================================
+ Hits          696      743      +47
- Misses        644      675      +31

Impacted Files
Coverage Δ

lib/confluence/set_ops.es6.js
76.47% <61.03%> (-21.81%)
:arrow_down:

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 92f4d68...22eb9f1. Read the comment docs.


Cannot feed value of shape (112, 112, 3) for Tensor 'input:0', which has shape '(?, 112, 112, 3)'

When I train the model by "python3 train_nets.py --class_number=85742", I got the errors:
File "train_nets.py", line 235, in <module>     feed_dict=feed_dict) ValueError: Cannot feed value of shape (112, 112, 3) for Tensor 'input:0', which has shape '(?, 112, 112, 3)'
Is any one encounter the same error? Any suggestions? Thanks.
My env:
tensorflow             1.5.0
tensorflow-estimator   2.2.0
tensorflow-tensorboard 1.5.1
opencv-python          <IP_ADDRESS>
python                 3.5
scipy                  1.4.1
sklearn                0.0
mxnet                  1.6.0
numpy                  1.16.4
pickle5                0.0.11

@JionBin  hello， i meet the same problem like u，i wonder how u solved it，many thx。
Tensor("img_inputs:0", shape=(?, 112, 112, 3), dtype=float32)


Use ENV.deparallelize.

Fixes #271.

I think stuff like this creates more work for ourselves than is necessary. I appreciate the PR but it's annoying that we even get incoming PRs about this stuff. I think it may be worth considering not doing migrations to the boneyard at all, let people get formulae out of Git history instead and no longer do tap_migrations to this tap and instead ensure that people with the formula currently installed don't get a 💥 (most of which I think should have been addressed by https://github.com/Homebrew/brew/pull/1812). Thoughts?

I think as long as this tap exists, and as long as it throws deprecation exceptions/errors/warnings/whatever in the same way other taps do, then it needs to be updated just like everything else when a deprecation occurs. That to me is distinct from "maintaining the formulae" in terms of making sure they build or function properly, or get updated to their latest versions, etc.
If the tap ceases to exist, or if brew is modified to suppress deprecation exceptions/errors/warnings/whatever when they "originate" in the boneyard, then there would be no need for a PR like this.
I think one risk in eliminating the tap is that we'll end up inadvertently re-admitting things to core that were removed for very good reason just because no one remembers that they were previously in core, or whoever does remember doesn't notice the incoming PRs.

I think one risk in eliminating the tap is that we'll end up inadvertently re-admitting things to core that were removed for very good reason just because no one remembers that they were previously in core, or whoever does remember doesn't notice the incoming PRs.

I think we could make brew audit --new-formula check for whether a formula with the same name was ever previously in Homebrew and fail so it requires manual intervention. Thoughts?
We're also seeing issues like https://github.com/Homebrew/brew/issues/1654 that result from other taps adopting formulae from the boneyard.

I think we could make brew audit --new-formula check for whether a formula with the same name was ever previously in Homebrew and fail so it requires manual intervention. Thoughts?

Right. The tap is implicitly doing that for us right now, but it could be handled with code. Even a basic blacklist would serve the same function.

let people get formulae out of Git history

That will raise the technical bar, unless there's some tooling to assist. It's arguably a "feature" to raise the bar, but it may be unfair when our reason for dropping the formula is particular to Homebrew ideology, not a security issue (e.g., "everything must build with clang or else" is not an especially good reason to play keep away with the old formula file if it still builds and works with the relevant gcc).

Right. The tap is implicitly doing that for us right now, but it could be handled with code. Even a basic blacklist would serve the same function.

👍

That will raise the technical bar, unless there's some tooling to assist. It's arguably a "feature" to raise the bar, but it may be unfair when our reason for dropping the formula is particular to Homebrew ideology, not a security issue (e.g., "everything must build with clang or else" is not an especially good reason to play keep away with the old formula file if it still builds and works with the relevant gcc).

Yes, that's fair. brew log could probably be trivially extended to do this nicely.

Another approach here might be to have an expiration for things in the boneyard. So like 90 days, and then poof, deleted, rather than eliminating the tap altogether.


refac(cross): #0 bump to 21.13

21.12 now becomes the stable version
21.13 becomes the unstable release.

@jpverde According to the Versioning  scheme, this version should not exist. We should jump to 22.01 instead.


making torrefy more like a shotgun and giving it a new sound effect if you have the files

these are the files
Plasma-shoot.mp3
shoot-heavy.mp3
shoot-laser.mp3

Oh I've already done this so I will close


revert

Coverage remained the same at 79.634% when pulling c341cf51a046f24c927da5a762beafdbad131ac6 on chubbsnes65:master into d7435c539e6b257bbcc8dff68b18636bd6b418f0 on unosquare:master.


Custom encapsulation interface

Is there an API interface documents for the project?

I don't know what do you mean about this.


Create encrypted data bag items from API REST

Hi all,
I am currently at the point of creating encrypted data bag items using the API Rest endpoint:
PUT /organizations/{organization}/data/{data_bag}/{data_bag_item}
I have been shuffling all around the available documentacion but I had no luck to find anyone doing a similar task. Is this possible at all?
I do create data bags and data items into them using the API Rest, but unfortunately not able to create them encrypted (by using a "secret"). Although, I have done it using Knife as follows:

Many thanks in advance.

Hi again,
Is there anyone who managed to do this at all??? How could we possible pass the 'secret' to create/get encrypted dataitems using the endpoint:  /organizations/{organization}/data/{data_bag}/{data_bag_item}?
Many thanks!!

Hi,
the encryption happens at the client, not the server - you need to send the bag item pre-encrypted.
In general, you should ask questions like this on our mailing lists at https://discourse.chef.io , where more people will see your question and be able to help you.
Please post your question there, and I'll be closing this ticket.
Thanks,
-Thom

Many thanks @thommay


MINOR:Avoid slow Set.removeAll(List) in MirrorSourceConnector

similar to https://github.com/apache/kafka/pull/13946. The refreshTopicPartitions method is called periodically. When the number of partitions involved in replication is large, performance problems may occur.

Thanks for the fix @hudeqi ! I was wondering if you had plans to address this problem/warning elsewhere in the codebase?

Thanks for the fix @hudeqi ! I was wondering if you had plans to address this problem/warning elsewhere in the codebase?

I did a global search for the removeAll method of set in the codebase. There are indeed many set.removeAll(list), but this usage may have performance problems only when there are many collection elements. At least in the connect module there is nothing extra except that mentioned in this PR.
In other modules, there may be this one that needs to be optimized to meet these conditions, which may not be suitable for mentioning in this PR (belonging to the MM2 tag). @gharris1727

The flaky CI failures look unrelated and the mirror unit tests pass locally.


some ipv6 address base64 code in "public-resolvers.md" don't contain the port info.

for example:
cisco-ipv6
Cisco OpenDNS IPv6 sandbox
sdns://AQAAAAAAAAAAD1syNjIwOjA6Y2NjOjoyXSC3NRFAIG8iXT4r2CLX_WkeocM8yNZmjQy-BL-rykP7eRsyLmRuc2NyeXB0LWNlcnQub3BlbmRucy5jb20
it don't contain  port ":443" in the serveraddress

It should be "sdns://AQAAAAAAAAAAE1syNjIwOjA6Y2NjOjoyXTo0NDMgtzURQCBvIl0-K9gi1_1pHqHDPMjWZo0MvgS_q8pD-3kbMi5kbnNjcnlwdC1jZXJ0Lm9wZW5kbnMuY29t"
Anyway thank you so much for your effort! I can finally run dnscrypt on my mipsle router!

The port is not required if this is the default port...

Sorry about the default port.  With all due respect still the stamp won't work on my ipv6 link. So I digged it a little bit.
the 102-104 lines in the file "stamps.go“ are as follow
	if net.ParseIP(stamp.serverAddrStr) != nil { 		stamp.serverAddrStr = fmt.Sprintf("%s:%d", stamp.serverAddrStr, DefaultPort) 	}
these lines mean to attach defaultport(443) to the bare address, however the "stamp.serverAddrStr" is given as a form of “[2001::1]” while the function "net.ParseIP()" only recognize ipv6 address form as “2001::1” (without the Square brackets) .
So the dafaultport(443) never attached to any bare ipv6 address.


fix: description added

Description

Started the initial commit, starting first PR
Updated the readme file

How this is tested

[x] Tested

Frontend Features
Backend Features

LGTM


UnicodeEncodeError: 'latin-1' codec can't encode character u'\u25d0' in position 0: ordinal not in range(256)

Winpayloads always breaks with this error. I've tried it on different systems like the lastest kali and ubuntu but still getting the same error.
Traceback (most recent call last):
  File "WinPayloads.py", line 44, in <module>
    getAndRunMainMenu()
  File "/root/dev/Winpayloads/lib/menu.py", line 67, in getAndRunMainMenu
    mainMenu.runmenu()
  File "/root/dev/Winpayloads/lib/menu.py", line 171, in runmenu
    result = extrawork(payloadchoice,payload)
  File "/root/dev/Winpayloads/lib/preparepayload.py", line 26, in reversePayloadGeneration
    shellcode = payloadchoice(ipaddr, portnum)
  File "/root/dev/Winpayloads/lib/main.py", line 161, in windows_met_rev_shell
    return msfvenomGeneration('windows/meterpreter/reverse_tcp', ip, port)
  File "/root/dev/Winpayloads/lib/main.py", line 78, in msfvenomGeneration
    LOADING.Update()
  File "/root/dev/Winpayloads/lib/main.py", line 311, in Update
    self.loading[0: (self.spin_2mod)]) + (" " * (self.spin_2 - self.spin_2mod)))
  File "/root/dev/Winpayloads/lib/main.py", line 304, in Looper
    sys.stdout.write(text)
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u25d0' in position 0: ordinal not in range(256)

I will look into this.
but for now, you can use Winpayloads in docker


Handle KafkaAdminClient unavailability during setup

Closing this issue as it is moved to https://github.com/minos-framework/minos-python/issues/88


Issue23

feat: tpl-react integrate mock server and webpack dev server

Codecov Report

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

@@          Coverage Diff           @@
##           master     #26   +/-   ##
======================================
  Coverage    58.5%   58.5%
======================================
  Files          18      18
  Lines         147     147
  Branches       19      19
======================================
  Hits           86      86
  Misses         56      56
  Partials        5       5

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 88b5c3d...72e9ca9. Read the comment docs.


HDFS-16158. Discover datanodes with unbalanced volume usage by the st…

JIRA: HDFS-16158
Discover datanodes with unbalanced volume usage by the standard deviation
In some scenarios, we may cause unbalanced datanode disk usage:

Repair the damaged disk and make it online again.
Add disks to some Datanodes.
Some disks are damaged, resulting in slow data writing.
Use some custom volume choosing policies.

In the case of unbalanced disk usage, a sudden increase in datanode write traffic may result in busy disk I/O with low volume usage, resulting in decreased throughput across datanodes.
In this case, we need to find these nodes in time to do diskBalance, or other processing. Based on the volume usage of each datanode, we can calculate the standard deviation of the volume usage. The more unbalanced the volume, the higher the standard deviation.
To prevent the namenode from being too busy, we can calculate the standard variance on the datanode side, transmit it to the namenode through heartbeat, and display the result on the Web of namenode. We can then sort directly to find the nodes on the Web where the volumes usages are unbalanced.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 51s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
buf
0m  1s

buf was not available.

+0 :ok:
jshint
0m  1s

jshint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 27 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 57s

trunk passed

+1 :green_heart:
compile
1m 23s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 14s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  2s

trunk passed

+1 :green_heart:
mvnsite
1m 21s

trunk passed

+1 :green_heart:
javadoc
0m 55s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 25s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 23s

trunk passed

+1 :green_heart:
shadedclient
18m 49s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 14s

the patch passed

+1 :green_heart:
compile
1m 18s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
cc
1m 18s

the patch passed

-1 :x:
javac
1m 18s
/results-compile-javac-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 generated 1 new + 468 unchanged - 1 fixed = 469 total (was 469)

+1 :green_heart:
compile
1m 12s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
cc
1m 12s

the patch passed

-1 :x:
javac
1m 12s
/results-compile-javac-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 generated 1 new + 452 unchanged - 1 fixed = 453 total (was 453)

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 56s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 22 new + 869 unchanged - 5 fixed = 891 total (was 874)

+1 :green_heart:
mvnsite
1m 16s

the patch passed

+1 :green_heart:
javadoc
0m 48s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 20s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 20s

the patch passed

+1 :green_heart:
shadedclient
18m 41s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
508m 30s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 49s

The patch does not generate ASF License warnings.

599m 53s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.balancer.TestBalancerService

hadoop.hdfs.server.balancer.TestBalancerWithNodeGroup

hadoop.hdfs.server.datanode.TestBPOfferService

hadoop.hdfs.TestRead

hadoop.hdfs.TestSetrepIncreasing

hadoop.hdfs.server.datanode.TestDataNodeInitStorage

hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.server.namenode.TestDecommissioningStatus

hadoop.hdfs.server.balancer.TestBalancerWithEncryptedTransfer

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3288

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat jshint

uname
Linux 3b85f42d97e4 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 3ea8382dc9b52cee0656a3e965196fca0fe9ee31

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/1/testReport/

Max. process+thread count
3126 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 55s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
buf
0m  0s

buf was not available.

+0 :ok:
jshint
0m  0s

jshint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 27 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
35m 49s

trunk passed

+1 :green_heart:
compile
1m 40s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 30s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m 13s

trunk passed

+1 :green_heart:
mvnsite
1m 38s

trunk passed

+1 :green_heart:
javadoc
1m  7s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 38s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 44s

trunk passed

+1 :green_heart:
shadedclient
21m 21s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 21s

the patch passed

+1 :green_heart:
compile
1m 23s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
cc
1m 23s

the patch passed

+1 :green_heart:
javac
1m 23s

the patch passed

+1 :green_heart:
compile
1m 13s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
cc
1m 13s

the patch passed

+1 :green_heart:
javac
1m 13s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 56s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 13 new + 869 unchanged - 5 fixed = 882 total (was 874)

+1 :green_heart:
mvnsite
1m 20s

the patch passed

+1 :green_heart:
javadoc
0m 56s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 25s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 43s

the patch passed

+1 :green_heart:
shadedclient
20m 52s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
380m 24s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 46s

The patch does not generate ASF License warnings.

482m  8s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.server.namenode.TestDecommissioningStatus

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3288

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat jshint

uname
Linux 2bb7c9938eab 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / f50fd260bccab1184abeb5fd6824442fcae8c887

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/3/testReport/

Max. process+thread count
2028 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  6s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
buf
0m  1s

buf was not available.

+0 :ok:
jshint
0m  1s

jshint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 27 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
35m 25s

trunk passed

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 14s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  3s

trunk passed

+1 :green_heart:
mvnsite
1m 22s

trunk passed

+1 :green_heart:
javadoc
0m 55s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 28s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 18s

trunk passed

+1 :green_heart:
shadedclient
18m 44s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 15s

the patch passed

+1 :green_heart:
compile
1m 18s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
cc
1m 18s

the patch passed

+1 :green_heart:
javac
1m 18s

the patch passed

+1 :green_heart:
compile
1m  7s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
cc
1m  7s

the patch passed

+1 :green_heart:
javac
1m  7s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 57s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 22 new + 869 unchanged - 5 fixed = 891 total (was 874)

+1 :green_heart:
mvnsite
1m 19s

the patch passed

+1 :green_heart:
javadoc
0m 50s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 23s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 30s

the patch passed

+1 :green_heart:
shadedclient
19m 44s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
523m 39s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 44s

The patch does not generate ASF License warnings.

619m 19s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.balancer.TestBalancerService

hadoop.hdfs.server.balancer.TestBalancerWithNodeGroup

hadoop.hdfs.server.datanode.TestBPOfferService

hadoop.hdfs.TestRead

hadoop.hdfs.TestSetrepIncreasing

hadoop.hdfs.server.datanode.TestDataNodeInitStorage

hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.server.namenode.TestDecommissioningStatus

hadoop.hdfs.server.balancer.TestBalancerWithEncryptedTransfer

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3288

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat jshint

uname
Linux eefc94db475c 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 486082c014efefdfc62ed36b1fb44d1d67ee81e6

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/2/testReport/

Max. process+thread count
3126 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
buf
0m  0s

buf was not available.

+0 :ok:
jshint
0m  0s

jshint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 27 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m  2s

trunk passed

+1 :green_heart:
compile
1m 23s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 14s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  3s

trunk passed

+1 :green_heart:
mvnsite
1m 21s

trunk passed

+1 :green_heart:
javadoc
0m 58s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 29s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 15s

trunk passed

+1 :green_heart:
shadedclient
19m  8s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 14s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
cc
1m 17s

the patch passed

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
compile
1m 10s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
cc
1m 10s

the patch passed

+1 :green_heart:
javac
1m 10s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 58s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 9 new + 869 unchanged - 5 fixed = 878 total (was 874)

+1 :green_heart:
mvnsite
1m 17s

the patch passed

+1 :green_heart:
javadoc
0m 48s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 23s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 19s

the patch passed

+1 :green_heart:
shadedclient
18m 50s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
329m 12s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

421m 22s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.mover.TestMover

hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.server.namenode.TestDecommissioningStatus

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3288

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell cc buflint bufcompat jshint

uname
Linux 6cdb7ecd09b9 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 346b8071f7e524bb72073b7fa639ee6f31c7de84

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/4/testReport/

Max. process+thread count
2003 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3288/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

These failed unit tests work fine locally.
Hi @tasanuma @jojochuang @Hexiaoqiao @ayushtkn , Could you please help review the code. Thanks.

Hi @aajisaka , could you please help review the code. Thanks a lot.

Thanks @jojochuang for your review, I will fix these problems ASAP.

Hi @jojochuang , this PR has a lot of changes, which can make rolling updates difficult. I re-implemented this feature and will submit another PR later. Thank you for your review.


Investigate the Enron dataset

See if it has sentences containing addresses (https://www.cs.cmu.edu/~enron/)

@Shima84 I started looking into this , will update on the progress soon.


fix: add error message when no BT device

Issue

Link: https://github.com/NebraLtd/hm-config/issues/153
Summary:
As a developer, I should immediately be able to identify when BT is missing and the root cause from glancing at the logs.

How
In cputemp library's service and advertisement, check if there is a bluetooth adapter.
If there is no bluetooth adapter, a helpful error message should be displayed in the logger and the initialization should continue without raising an exception.
Screenshots

References

Checklist

[x] Tests added
[x] Cleaned up commit history (rebase!)
[ ] Documentation added
[x] Thought about variable and method names

Can you make sure you've addressed all the acceptance criteria from #153:
Acceptance criteria

hm-diag should detect no bluetooth and provide helpful error message
hm-config should check BT via diagnostics before initializing BT
If no BT, hm-config should log helpful message and startup normally without BT
Tested on Raspberry Pi and ROCK Pi
Create follow-up ticket for on-screen error message and recovering when BT breaks after initial startup

Follow up ticket: https://github.com/NebraLtd/hm-config/issues/161


Update README.md

@schickling ... any chance of getting this merged? 🙏😅

Sorry for the delay @jahirfiquitiva 🙈


plot_timeseries: wide-format plotting.

I'm tinkering with the idea of allowing users to add more than one value column as a list value_column = ["col1", "col2", ...].

Yup this makes sense. pandas + matplotlib users will be expecting this kind of functionality from a wide dataframe.


i not can pickup money on full eq

i not can pickup money on full eq

You can try enabling schedule mode in config.yml. The default mode cant pick up the money when full because the pick up event is not triggered.

you can remowe this options and add deafult to?

You just have to set it to true. Because that option can cause tps drop (in theory), so I don't make it by default.


Solved #issue 3 Fix Text Wrapping in Home Page Card Section [GSSOC'23]

[fix] Fix wrapping Instagram Caption in Card Section.
Fixed the Text Wrapping bug in Card Section that occurs on resizing the browser window.
@GSSOC'23

Thank you for accepting my contribution. One doubt I am fairly new to open source should we close the issue now ? Thanks in advance 😅

I think we should check if any one also want to contribute they can improve. For closing issue I have to discuss with mentor so first I discuss with mentor then I will tell you.


Workspaces Issue with some apps

Microsoft PowerToys version
0.84.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Workspaces
Steps to reproduce
Two issues with the new Workspaces tool
Issue #1 Discord App won't be captured to be opened automatically.
Issue #2 chrome page  webapp pinned on the taskbar won't be opened as it is being recognized as just a blank chrome page.
✔ Expected Behavior
Discord should be captured and specific webapps also.
❌ Actual Behavior
Discord won't be captured and and pinned webpages are being opened as blank chrome pages.
Other Software
Discord and Chrome

It seems workspaces is unable to execute applications from a network UNC path.  Workspaces works great for local apps.
Renamed the paths and program to stay generic.  "A" is the same on both lines, and so forth.
Target: "\A\B\C\App.exe"
Start in: "\A\B\D"

This issue references two known issues, #34558 and #34572.
Closing as /dup #34558


Inconsistent Dot Spacing in Text Files Edited with Vim

Config:
window-width=180
window-height=50

MacOS Version 15.1.1
Steps to reproduce:

Open Ghostty
Open a txt file using vim
Type 3 dots, delete all and type back 4 dots

Expected Behavior:
Consistent spacing between dots.
Actual Behavior:
Spacing varies as the number of dots increases from 1 to 4.
https://github.com/user-attachments/assets/d6e697ad-8ade-4ff3-bc00-df1dd06fe43d

These are ligatures. Use help to learn more. Issues are not support

@adamsoliev Here's what you need to add to your config file to disable ligatures:
font-feature = -calt
font-feature = -liga
font-feature = -dlig

There's some ongoing discussion about this topic; hth future web searchers.