WIP: update ugorji

Prerequisite for https://github.com/kubernetes/kubernetes/pull/37557.

Tests panic.

@xiang90 @hongchaodeng fyi.

Am not sure about the panics. Seeing the same issues when running locally on Mac.

@sttts Please format your commit message first.
vendor: update ...
client: update ...
I think travis fails due to malformed commit message.

@sttts It seems that travis passed.

Seeing the same issues when running locally on Mac.

What did you see?

Unit tests fail locally, with and without this PR. So probably not relevant.

Am 05.12.2016 um 19:47 schrieb Xiang Li<EMAIL_ADDRESS>@sttts It seems that travis passed.
Seeing the same issues when running locally on Mac.
What did you see?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Unit tests fail locally,

Do you have any logging?

Will look into it tomorrow. Am on the road right now.

Am 05.12.2016 um 20:46 schrieb Xiang Li<EMAIL_ADDRESS>Unit tests fail locally,
Do you have any logging?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@sttts OK. Thanks.

@xiang90 had to fix their GOPATH magic in the ./test script. Now it runs through:
$ ./test -v
...
Running unit tests...
ok  	github.com/coreos/etcd/auth	2.479s	coverage: 46.6% of statements
ok  	github.com/coreos/etcd/client	1.921s	coverage: 43.6% of statements
ok  	github.com/coreos/etcd/clientv3	8.252s	coverage: 24.3% of statements
ok  	github.com/coreos/etcd/clientv3/naming	4.001s	coverage: 78.3% of statements
ok  	github.com/coreos/etcd/compactor	3.730s	coverage: 89.7% of statements
ok  	github.com/coreos/etcd/discovery	1.438s	coverage: 65.7% of statements
ok  	github.com/coreos/etcd/embed	1.090s	coverage: 18.0% of statements
ok  	github.com/coreos/etcd/error	1.041s	coverage: 84.6% of statements
ok  	github.com/coreos/etcd/etcdctl/ctlv2/command	1.067s	coverage: 0.7% of statements
ok  	github.com/coreos/etcd/etcdmain	1.236s	coverage: 28.0% of statements
ok  	github.com/coreos/etcd/etcdserver	7.219s	coverage: 27.9% of statements
ok  	github.com/coreos/etcd/etcdserver/api/v2http	1.185s	coverage: 71.9% of statements
ok  	github.com/coreos/etcd/etcdserver/api/v2http/httptypes	1.067s	coverage: 76.2% of statements
ok  	github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes	1.051s	coverage: 75.0% of statements
ok  	github.com/coreos/etcd/etcdserver/auth	6.296s	coverage: 74.7% of statements
ok  	github.com/coreos/etcd/etcdserver/membership	1.090s	coverage: 59.5% of statements
ok  	github.com/coreos/etcd/lease	7.497s	coverage: 77.0% of statements
ok  	github.com/coreos/etcd/lease/leasehttp	1.075s	coverage: 60.0% of statements
ok  	github.com/coreos/etcd/mvcc	11.330s	coverage: 77.9% of statements
ok  	github.com/coreos/etcd/mvcc/backend	4.844s	coverage: 82.1% of statements
ok  	github.com/coreos/etcd/pkg/adt	1.866s	coverage: 87.0% of statements
ok  	github.com/coreos/etcd/pkg/cors	1.028s	coverage: 92.9% of statements
ok  	github.com/coreos/etcd/pkg/crc	1.025s	coverage: 100.0% of statements
ok  	github.com/coreos/etcd/pkg/expect	1.110s	coverage: 95.3% of statements
ok  	github.com/coreos/etcd/pkg/fileutil	1.505s	coverage: 73.6% of statements
ok  	github.com/coreos/etcd/pkg/flags	1.020s	coverage: 57.5% of statements
ok  	github.com/coreos/etcd/pkg/idutil	1.022s	coverage: 100.0% of statements
ok  	github.com/coreos/etcd/pkg/ioutil	1.197s	coverage: 74.6% of statements
ok  	github.com/coreos/etcd/pkg/logutil	7.188s	coverage: 58.5% of statements
ok  	github.com/coreos/etcd/pkg/monotime	1.021s	coverage: 50.0% of statements
ok  	github.com/coreos/etcd/pkg/netutil	1.027s	coverage: 75.0% of statements
ok  	github.com/coreos/etcd/pkg/osutil	1.023s	coverage: 87.1% of statements
ok  	github.com/coreos/etcd/pkg/pathutil	1.020s	coverage: 100.0% of statements
ok  	github.com/coreos/etcd/pkg/pbutil	1.022s	coverage: 76.9% of statements
ok  	github.com/coreos/etcd/pkg/report	1.016s	coverage: 20.9% of statements
ok  	github.com/coreos/etcd/pkg/schedule	1.022s	coverage: 85.7% of statements
ok  	github.com/coreos/etcd/pkg/testutil	1.139s	coverage: 20.2% of statements
ok  	github.com/coreos/etcd/pkg/transport	1.661s	coverage: 66.7% of statements
ok  	github.com/coreos/etcd/pkg/types	1.039s	coverage: 90.8% of statements
ok  	github.com/coreos/etcd/pkg/wait	1.301s	coverage: 92.9% of statements
ok  	github.com/coreos/etcd/proxy/grpcproxy	2.627s	coverage: 5.1% of statements
ok  	github.com/coreos/etcd/proxy/httpproxy	1.057s	coverage: 75.8% of statements
ok  	github.com/coreos/etcd/proxy/tcpproxy	1.041s	coverage: 64.2% of statements
ok  	github.com/coreos/etcd/raft	6.795s	coverage: 86.0% of statements
ok  	github.com/coreos/etcd/rafthttp	2.795s	coverage: 75.7% of statements
ok  	github.com/coreos/etcd/snap	1.157s	coverage: 54.2% of statements
ok  	github.com/coreos/etcd/store	1.199s	coverage: 90.1% of statements
ok  	github.com/coreos/etcd/wal	42.681s	coverage: 79.9% of statements
Success
293,89s user 78,85s system 202% cpu 3:04,03s total

So all looks green.

OK. LGTM. Defer to @heyitsanthony

shouldn't this have some updates to github.com/ugorji/go/codec?

Called scripts/updatedep.sh and pushed cmd/vendor.

@sttts squash the updated vendor files into the vendor: commit? CI is complaining about commit title formatting. Thanks!

@heyitsanthony squashed and all green

Dunno if we need a release to patch kube.  @sttts I didn't see anything in this PR that changed code that would be pulled in via godep.

Damn, the generated code changed...
We'll probably need a release to patch kube.

@timothysc why a release?

@sttts you'll need to rev etcd dependence in kube that includes the generated code.

Sure. I thought you meant a versioned etcd Github release for some reason.

Am 07.12.2016 um 17:40 schrieb Timothy St. Clair<EMAIL_ADDRESS>@sttts you'll need to rev etcd dependence in kube that includes the generated code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


jnitrace execution error

Hello
I am trying to execute jnitrace with python3.8 environment
it shows below
Traceback (most recent call last):
File "C:\Users\a\AppData\Local\Programs\Python\Python38\Scripts\jnitrace-script.py", line 11, in
load_entry_point('jnitrace==3.0.0', 'console_scripts', 'jnitrace')()
File "C:\Users\a\AppData\Local\Programs\Python\Python38\lib\site-packages\jnitrace-3.0.0-py3.8.egg\jnitrace\jnitrace.py", line 519, in main
File "C:\Users\a\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources_init_.py", line 1156, in resource_string
return get_provider(package_or_requirement).get_resource_string(
File "C:\Users\a\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources_init_.py", line 361, in get_provider
import(moduleOrReq)
ModuleNotFoundError: No module named 'jnitrace.build'
can you take this issue?

Hi,
Thanks for submitting an issue.
I have been unable to reproduce the same issue. I also tried running with a python38 environment and on Windows.
How are you installing jnitrace, is it through pip?
Thanks

Thanks for your quick response.
I removed jnitrace package and reinstalled. then it works.
Thanks for your reply :)

thanks mscgo  ,it works well
这玩意真是666啊


feat(llms): add missing params to huggingface text-generation

This small PR aims at supporting the following missing parameters in the HuggingfaceTextGen LLM:

return_full_text - sometimes useful for completion tasks
do_sample - quite handy to control the randomness of the model.
watermark

@hwchase17 @baskaryan

Thanks @mspronesti I came here to do the same. Here is the full list of what's accepted in TGI:
do_sample: bool = False,
max_new_tokens: int = 20,
best_of: Optional[int] = None,
repetition_penalty: Optional[float] = None,
return_full_text: bool = False,
seed: Optional[int] = None,
stop_sequences: Optional[List[str]] = None,
temperature: Optional[float] = None,
top_k: Optional[int] = None,
top_p: Optional[float] = None,
truncate: Optional[int] = None,
typical_p: Optional[float] = None,
watermark: bool = False,
decoder_input_details: bool = False,

@maziyarpanahi Hi, unfortunately not all of these parameters are compatibile with the streaming generation, e.g. decoder_input_details.
So adding them would break langchain's integration of tgi.
I only added the compatible missing ones :)

@maziyarpanahi Hi, unfortunately not all of these parameters are compatibile with the streaming generation, e.g. decoder_input_details.
So adding them would break langchain's integration of tgi.
I only added the compatible missing ones :)

Makes sense! Thanks a lot and looking forward to having do_sample 👍🏼

lgtm! i wonder if at some pt it might also make sense to add a model_kwargs: dict param to allow for arbitrary extra params to allow for more flexibility / future compatibility. something like this https://github.com/langchain-ai/langchain/blob/491089754d7467157857f170009969b58e7c8af4/libs/langchain/langchain/llms/openai.py#L164


Where should i add DocHead.loadScript?

Trying to add DocHead.loadScript but can't get it to work.  Could you please tell me where and how to add this in a Flowrouter-srr stack
var gaScript = 'https://www.google-analytics.com/analytics.js';
DocHead.loadScript(gaScript, function() {
    // Google Analytics loaded
    ga('create', 'UA-XXXX-Y', 'auto');
    ga('send', 'pageview');
});

Made a good effort myself to get it to work. Asked on Meteor forum, Stackoverflow, Tons of Google & and even searched through all github repos after some repo that used it in it's code, But nothing...
Putting up good examples would make the biggest difference, saving time for both users and on your part eliminating loads of questions.

I don't think it matters where you add it. But as far as I can tell, this only works on the client, meaning it will not be SSR'd. I might be wrong though.


LSP: Support go-to-definition in untyped files

Problem
When working in untyped files, Sorbet does not provide go-to-definition support.
Proposed solution
Either modify Sorbet to provide approximate go-to-definition in untyped files, or, in the VS Code extension, wrap an existing extension and use it for go-to-definition when working in untyped files.

Fixed in https://github.com/sorbet/sorbet/pull/1345


Docs: Outdated client.authenticate() Response in V2 Documentation

In the V2 docs, I believe the old response & type for client.authenticate() is being displayed while the playground uses the newer V2 response.
The authentication docs state the response should be:
{
  "credentialId": "3924HhJdJMy_svnUowT8eoXrOOO6NLP8SK85q2RPxdU",
  "authenticatorData": "SZYN5YgOjGh0NBcPZHZgW4_krrmihjLHmVzzuoMdl2MFAAAAAQ==",
  "clientData": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiNTY1MzViMTMtNWQ5My00MTk0LWEyODItZjIzNGMxYzI0NTAwIiwib3JpZ2luIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwIiwiY3Jvc3NPcmlnaW4iOmZhbHNlLCJvdGhlcl9rZXlzX2Nhbl9iZV9hZGRlZF9oZXJlIjoiZG8gbm90IGNvbXBhcmUgY2xpZW50RGF0YUpTT04gYWdhaW5zdCBhIHRlbXBsYXRlLiBTZWUgaHR0cHM6Ly9nb28uZ2wveWFiUGV4In0=",
  "signature": "MEUCIAqtFVRrn7q9HvJCAsOhE3oKJ-Hb4ISfjABu4lH70MKSAiEA666slmop_oCbmNZdc-QemTv2Rq4g_D7UvIhWT_vVp8M="
}

but the playground shows the new V2 correct response:
{
  "clientExtensionResults": {},
  "id": "XZg7VBiVGFZzHmC4OrTXNQ",
  "rawId": "XZg7VBiVGFZzHmC4OrTXNQ==",
  "type": "public-key",
  "authenticatorAttachment": "platform",
  "response": {
    "authenticatorData": "T7IIVvJKaufa_CeBCQrIR3rm4r0HJmAjbMYUxvt8LqAdAAAAAA==",
    "clientDataJSON": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiYmYxOWQ3ZjktZjk3ZS00NjEyLTg0MjYtNDYwZTExZmExOTBmIiwib3JpZ2luIjoiaHR0cHM6Ly93ZWJhdXRobi5wYXNzd29yZGxlc3MuaWQiLCJjcm9zc09yaWdpbiI6ZmFsc2V9",
    "signature": "MEYCIQC1FA7k7j7zf50ar9STzkanna16IkZdIYHwLNeWYWxCRwIhAITEOUcqnMC9_EHmjRxzoq3K-Titr3nWSZKY9n1yC_cL",
    "userHandle": "ZDUzMGYxMGQtZmI2ZS00ZjdkLTgzMTMtZWQ5N2QzYTU2ZDQ4"
  }
}

I discovered this because credentialId is changed to id from the response of client.authenticate() which was a breaking change
// obtained from database by looking up `authentication.credentialId`

interface AuthenticationResponseJSON {
    id: Base64URLString;
    rawId: Base64URLString;
    response: AuthenticatorAssertionResponseJSON;
    authenticatorAttachment?: AuthenticatorAttachment;
    clientExtensionResults: AuthenticationExtensionsClientOutputs;
    type: PublicKeyCredentialType;
}

I started a PR but I wasn't able to completely to update the docs and I wasn't confident that I correctly found an issue rather than making a mistake on my end.

Thanks for reporting, I updated the docs for that part. 👍  ...There might still be a few outdated docs paragraph lurking around. 😖


For canceling validations

if we one edittext validations are satisfied than skip other editexts validations,is it possible?
@Required(order = 1, message = "Please enter name")
private EditText et_name;
@Required(order = 1, message = "Please enter sirname")
private EditText et_sirname;
for example i need validation that either one of them feilds sholuld be validate
after that skip other feild for validations

@siddhpatil6 please track this issue on ticket https://github.com/ragunathjawahar/android-saripaar/issues/61


added percentageOuterCutout to Doughnut Chart Type

This adds the possibility to scale down a Doughnut Type Chart to a percentage

This appears to be a change for version 1, which is no longer in development.


return 404 for non-existing keys

Closing this PR because it hasn't had any activity for over a year. Please reopen if someone wants to continue looking at this.


python312Packages.inline-snapshot: init at 0.10.2, python311Packages.strawberry-graphql: 0.230.0 -> 0.235.0

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

8 packages built:

python311Packages.inline-snapshot
python311Packages.inline-snapshot.dist
python311Packages.strawberry-graphql
python311Packages.strawberry-graphql.dist
python312Packages.inline-snapshot
python312Packages.inline-snapshot.dist
python312Packages.strawberry-graphql
python312Packages.strawberry-graphql.dist


Review/Develop Benchmarking Framework

@areyesq89 made the great 💯  suggestion of creating a R/Bioconductor-based framework for tracking our analysis/results (SummarizedBenchmark?).

Existing Frameworks:

iCOBRA (interactive COmparative evaluation of Binary classification and RAnking methods)
DSC (Dynamic Statistical Comparisons)

@areyesq89, let me know if I can help with anything; validators, methods, etc.

It looks like the ASH paper uses something called "DSC"s (developed in the same group) for tracking comparisons:
https://github.com/stephens999/dscr

DSC looks interesting, I wonder if it also has limitations to keep track of parameters used, etc... With regards to the methods, etc, I was thinking that since anyway we will probably write this for our benchmark, we could implement these methods to receive as input the "SummarizedBenchmark" object?

It looks like DSC does track parameters (both simulation and method parameters).
Just reading through the code and vignette, it looks like the process is:

create a dsc object (essentially a new.env() - kind of like a list?)
add pieces of the analysis to the dsc object with add_* calls

add_scenario(dsc, ...): specify data simulator and parameters
add_method(dsc, ...): specify methods and parameters
add_score(dsc, ...): specify metric to compare methods against 'expected values'

run the analysis with run_dsc

I like the general idea and structure, but it doesn't seem as appropriate for real data comparisons, and doesn't fit the standard Bioconductor classes.

"we could implement these methods to receive as input the "SummarizedBenchmark" object?"

Do you mean writing a wrapper to (for example) IHW::ihw(...) that takes a SummarizedBenchmark as input and returns FDR estimates (or a SummarizedBenchmark object with a new column)? (I guess we could also just do the wrapper for the SummarizedExperiment class if you extend it with the SummarizedBenchmark class.) 🤔  ...or am I totally misunderstanding?

Yes exactly, I was thinking  more in "downstream" functions that are perhaps less specific to our benchmark, like plotROC, plotVennDiagram, etc

Closing since SummarizedBenchmark is already moving along in a separate repo:
https://github.com/areyesq89/SummarizedBenchmark


feat(backend): Add Icicle as a GPU backend

Add Icicle as a GPU backend
Description
This pr adds wrappers for conversion of lambaworks types -> Icicle types and adds methods to interface with the Icicle GPU backend. Upstreaming this conversion into the Icicle repo would remove much of the boilerplate. Closes #353
Type of change

[x] New feature

Checklist

[x] Linked to Github Issue
[ ] Unit tests added
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

[ ] This change is an Optimization

[ ] Benchmarks added/run

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (601ab67) 94.55% compared to head (038b5da) 94.55%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #800   +/-   ##
=======================================
  Coverage   94.55%   94.55%
=======================================
  Files         154      154
  Lines       34587    34587
=======================================
  Hits        32705    32705
  Misses       1882     1882

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

For some reason it's not compiling locally.
failed to select a version for rayon.
... required by package icicle-core v1.4.0 (https://github.com/ingonyama-zk/icicle.git?tag=v1.4.0#15a63cc5)
... which satisfies git dependency icicle-core of package lambdaworks-math v0.5.0 (/Users/maurofab/workspace/lambdaworks/math)
... which satisfies path dependency lambdaworks-math (locked to 0.5.0) of package arkworks_adapter v0.5.0 (/Users/maurofab/workspace/lambdaworks/provers/groth16/arkworks-adapter)
versions that meet the requirements ^1.8.1 are: 1.9.0, 1.8.1
I'll investigate this a bit


wasm: pad globals uniform also in 2d

Objective

Fix a panic in wasm when using globals in a shader

Solution

Similar to #6460

bors r+


[Distributed] DTensor Data Structure and Parser Support

cc: @tqchen @spectrometerHBH

will split into 2 separate pr

I can't separate global info into a separate PR because the test of global info and its parser relies on DeviceMesh.  Even if I'm going to add a dummy subclass of GlobalInfo, I need its parser/printer support to write test. It's not a good idea to add a dummy function in ir builder and parser just to support a single test.

Thanks @jinhongyii . In this case I think adding a TestGlobalInfo (in global_info.cc) is not a bad idea. Mainly to keep unity in sync with the same mechanism and storage format.


sql.Open returns *sql.DB not DBTX

Hi,
Thanks for the great tutorial.
In the following code, New function expects DBTX. However, sql.open returns *sql.DB and error type therefore the code fails
	conn, err := sql.Open(dbDriver, dbSource)
	if err != nil {
		log.Fatal("cannot connect to db: ", err)
	}

	testQueries = New(conn) // <<--- type fails here

The same issue will happen later
type Store struct {
	*Queries
	db *sql.DB
}

func NewStore(db *sql.DB) *Store {
	return &Store{
		db:      db,
		Queries: New(db), // <-- here
	}
}

cannot use db (variable of type *sql.DB) as DBTX value in argument to New: *sql.DB does not implement DBTX (wrong type for method Exec)
		have Exec(query string, args ...any) (sql.Result, error)
		want Exec(context.Context, string, ...interface{}) (pgconn.CommandTag,

Thanks!

Hi @KINGSABRI, is it still a valid issue on your side? - have you managed to fix it already?
In the line
_func NewStore(db *sql.DB) *Store {_
there is no need for a pointer for the Store interface. https://github.com/techschool/simplebank/blob/ead580874f5345dbf2d7941036a526e30d603d9e/db/sqlc/store.go#L23 I encourage you to use a static profiler - when I added '*', I immediately got an error, in my case in VSCode.

Hi @pawlobanano , thank you for your reply. I'm still having this issue.
I had a look at your code, if you removed the point, you can't reference it (&SQLStore)
https://github.com/techschool/simplebank/blob/ead580874f5345dbf2d7941036a526e30d603d9e/db/sqlc/store.go#L23-L28

@KINGSABRI You can still reference it, because Store is just an interface, while SQLStore is a struct that implements the interface. They're basically 2 separate entities.
It should be fine as long as SQLStore implements all methods required by the Store interface.
You can read more about interface here: https://gobyexample.com/interfaces
And play around with the interface here: https://go.dev/tour/methods/9

did you chose pgx/v5 in the sqlc.yaml? I have the same problem like you before
version: "2"
sql:
  - engine: "postgresql"            #使用的数据库引擎
    queries: "./db/query"           #sql查询文件路径
    schema: "./db/migration"        #包含数据库架构和迁移文件的路径
    gen:
      go:
        package: "db"               #生成的包名
        out: "./db/sqlc"            #指定生成文件路径
        sql_package: "pgx/v5"
        emit_json_tags: true        #是否将JSON标签添加到生成的结构中
        emit_prepared_queries: false #是否生成预处理查询
        emit_exact_table_names: false #是否使用精确的表名
        # 假设表名为accouts，若为true，则models中生成的结构名称为Account，否则为Accounts
```
then i change it into
```yaml
version: "1"
packages:
  - name: "db"
    path: "./db/sqlc"
    queries: "./db/query/"
    schema: "./db/migration/"
    engine: "postgresql"
    emit_db_tags: true
    emit_prepared_queries: false
    emit_interface: false
    emit_exact_table_names: false
```
and it just works, i think it may cause by the different sql_packge use between version 1 and version 2

change sql_package from pgx/v5 to database/sql
`
sql:

engine: "postgresql"
queries: "./db/query/"
schema: "./db/migration/"
name: "db"
database:

managed: false
  uri: "postgres://root:eva02@localhost:5432/simple_bank"
gen:
  go:
    package: "simplebank"
    out: "./db/sqlc"
    # sql_package: "pgx/v5"
    sql_package: "database/sql"
    emit_json_tags: true
    emit_prepared_queries: true
    emit_interface: false
    emit_exact_table_names: false`


Support providing certificates for self provisioned Elasticsearch

At the moment Jaeger operator creates certificates and secrets for secure communication between ES and Jaeger components (query, collector, index cleaner, rollover).
The cert creation is done by https://github.com/jaegertracing/jaeger-operator/blob/master/scripts/cert_generation.sh. The certs are stored on FS, in case of operator restart the certs are loaded back from secrets. The script also regenerates certs if they are expired.
Note that script sets CN which have to match searchguard configuration:
https://github.com/openshift/origin-aggregated-logging/blob/master/elasticsearch/sgconfig/sg_roles_mapping.yml#L15
https://github.com/jaegertracing/jaeger-operator/blob/master/scripts/cert_generation.sh#L260

Just to clarify - the previous work has been to create/manage certificates when using the ES cluster setup by the es-operator?
This PR is about enabling users to specify certificates when using an independently setup ES cluster? If so, can't that just be done by deploying the certificates/secrets and providing the relevant ES command line options?

@jpkrohling do you think users would provide all secrets or just CA with the key? To generate clients certs they have to know what CN, OU, O https://github.com/openshift/origin-aggregated-logging/blob/master/elasticsearch/sgconfig/sg_roles_mapping.yml#L26.

This PR is about enabling users to specify certificates when using an independently setup ES cluster? If so, can't that just be done by deploying the certificates/secrets and providing the relevant ES command line options?

This is all related to self-provisioned ES. you are correct is they use external ES instance it's up to them to configure certificates and authorization.

do you think users would provide all secrets or just CA with the key?

I assume secrets are self-sufficient, in that they contain the cert and the key to use, possibly a CA cert to used to verify the counterpart. In other words: a user cannot provide just the client cert or just the key: they have to provide the entire secret.
I do not expect people to provide the CA's key at all.

I meant secret with all necessary content:
	name: "master-certs",
	keyFileNameMap: map[string]string{
		"ca":     "ca.crt",
		"ca-key": "ca.key",
	},
}

If we do not expect people providing the CA key - then they would have to:

provide secrets for all components - es, jaeger, curator
generate the certs with appropriate settings so SG auhorizes access to resources e.g.  'CN=system.logging.curator,OU=OpenShift,O=Logging'
handle expiration

@ewolinetz do you allow users to provide secrets in CLO? (We pretty much do the same as in CLO.)

@pavolloffay no, we don't. We keep it a closed loop at this time.

@pavolloffay is this a documentation issue only, or would something be required in the operator's code?

No it's not a documentation issue.

What's the action then for this issue? Should it be closed as "won't fix", or do you still plan on working on this, despite ECL not directly supporting this?


WIP: Internal transfers

TODO:

Fix comments

https://github.com/openware/peatio/pull/2802#discussion_r563763726
https://github.com/openware/peatio/pull/2802#discussion_r563762951
https://github.com/openware/peatio/pull/2802#discussion_r563760222
https://github.com/openware/peatio/pull/2802#discussion_r561713400
https://github.com/openware/peatio/pull/2802#discussion_r561712791

Admin API + tests
Account API (specs)

[ ] add specs for changing user balance after the transfer
[ ] add specs for filtering
[ ] add new params (filtering) for admin api

[ ] add specs for changing user balance after the transfer
[ ] add specs for filtering
[ ] add new params (filtering) for admin api

Ready for review

Ready for review


SDK needs to support apps with multiple URL schemes

Presently the SDK incorrectly assumes that the Branch URL scheme is the first URL scheme in an app's Info.plist. Docs need to be updated to indicate this for apps adding Branch support that may likely already have one or more URL schemes already defined.

It might also be good to just allow applications to specify their scheme rather than just assuming that the presence of any scheme implies that it's a Branch scheme.

Thanks for the feedbacks @postmechanical @shortstuffsushi
I will make changes accordingly.

Hey @postmechanical. Sorry it's taken so long, but the pull request referencing this issue should address this. Can you take a look and see if it covers what you're looking for?

@shortstuffsushi that PR looks good from my perspective. Thanks!

Great! I'll close this now then, feel free to post back with any additional issues you come across, or contact<EMAIL_ADDRESS>for more help.

Hi @postmechanical. Just wanted to follow up and let you know that this change was reverted. Upon further discussion, it turns out that the URI Scheme is really only used once while the developer is configured the SDK in order to prefill the URI Scheme on the Branch Dashboard. With this in mind, we decided to remove the extra complexity added by the change in #73, and just leave it as is, with its "best guess" logic. Since we haven't had any issues reported with that, we think that it is sufficient for now. That said, I am updating the readme to better indicate how, where, and when that is used.

@shortstuffsushi As long as the behavior is documented that should be fine.


IDEX-3799. Reset terminal state when we can't restore this one

Reset terminal state when we can't restore this one
Fix incorrect working Ctrl+O, Ctrl+C operations

ok


Updated Webminer button status.

Updated Webminer button status. when we click the start mining button the text will change to " Restart Mining " and if we click stop mining "Restart Mining" change to "Start Mining"

restart mining is kind of odd u know if people want to stop mining how will they do it
they will think that there is only restart button and no stop button

stop mining option still there bro .. please run and test it


Support for PHP files

Currently the plugin supports only html files, right? Can you support php-files (used for wordpress theme template development) too?
Thanks

You're probably able to solve this by adding a classRegex option to the settings. I did this for .njk files and just inserted the same regex as is used for html files:
  "headwind.classRegex": {
    "njk": "\\bclass\\s*=\\s*[\\\"\\']([_a-zA-Z0-9\\s\\-\\:\\/]+)[\\\"\\']"
  }


Init with Hex String

Now BItn and BDouble can be initialized with hex strings:
BDouble.init("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", 16) will return<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935

Readme file was also updated

I would recommend adding test cases and not changing the tab layout. Additionally, it would make more sense with base: in the initializer?

radix was fine. I meant remove the _ before it.

I added test cases for non radix 16 number systems, but it came to my attention that a non-base-16 system can't be considered "hexadecimal" or "hex", so perhaps the name of the branch may seem a little misleading. For that reason I'll update comments to the functions referencing "mathematical numerical systems of base" instead of just "hex".

Looks good so far, but I don't want to merge yet, because the diff in SMP.swift is totally messed up. Maybe your IDE converted all tabs to spaces?

Yeah I saw that, but I'm using XCode so I'm not sure why this is happening, will try to fix during the weekend.

OK, I think the Diff issue in the test files ise fixed now.

Hm, I still see 2600+ lines changed in the file "SMP.swift". Sorry, but I can't merge that, it will mess up the diff

Yes, this is a tricky one because is not causing any conflicts so they're hard to see, I think I fixed most of them, can you please check on your side?

I would recommend using the project included with this project instead of using your own or manually adding SMP.swift to another project.

Well, nevermind dude, I think people will benefit for being able to use hex strings, but is up to you. Good luck!

Yes, this feature is definitely benefical, you're absolutely right. Thanks to @twodayslate for fixing the diff problem 👍

@bpolania Maybe your editor is configured to automatically convert tabs to spaces? You can turn that off in the settings


Framework post submit bots all appear to be Idle.

See https://ci.chromium.org/ui/p/flutter/builders/luci.flutter.prod/Linux_pixel_7pro native_assets_android  / https://ci.chromium.org/ui/p/flutter/builders/staging/Mac platform_channel_sample_test_macos
Looks like nothing is queuing up?

on https://ci.chromium.org/p/flutter/g/flutter_staging/console I don't see anything running.

on https://ci.chromium.org/p/flutter/g/flutter_staging/console I don't see anything running.

This is for staging.
Prod is this one: https://ci.chromium.org/p/flutter/g/flutter/console, which also has nothing running for the past 2/3 commits...

Here is the view for all of our prod bots. A few are doing work, but most of them are idle.

From spot checking a few, it looks like the last builds were started around 3:46pm PT today.

On the build dashboard, it looks like there was a dramatic reduction in builds per commit being scheduled starting from this commit: https://github.com/flutter/flutter/commit/49a16fccd1c24050cccd818c482e5822c0ae574c
Which merged November 5, ~8:48am PT. This could be explained by the morning 8am CRON deploying cocoon, going from commit 8bfa1f4 to c68f1a2

I just split traffic 100% to the previous version of cocoon app-dart: version-8bfa1f4
Now it looks like builds have been scheduled and we're utilizing our capacity in the botlist: https://chromium-swarm.appspot.com/botlist?c=id&c=task&c=os&c=status&d=asc&f=pool%3Aluci.flutter.prod&s=id

And I paused the cloudscheduler job the deploy cocoon app-dart. Once we find the bug in cocoon app-dart and fix it at HEAD, we should resume that CRON.

OK; the culprit is probably this:

Every time we call getCiYaml(Commit), we check to see if the commit is in a monorepo.
The backfiller in on a cron job of 5 minutes.
Every 5 minutes the backfiller walks over ALL the datastore checklists / tasks and calls "get the CI Yaml for this
For every task in the list, the backfiller was hitting github / gob urls
backfiler dies due to timeouts

Solution: cache the ref->bool calculation and call it a day.

flutter/cocoon#4014 should have fixed this. Following along in the morning.


Default some configs to protect against cluster settings in integration tests

Fixes #4893.
Sets up some configs to defaults in the integration tests to protect against cluster settings that could override the defaults and surprise tests that assume the defaults.

build


Fix the object detector

The object detector has some bias; the task is to eliminate it.

I'll work on this issue


Fix: Make Probe Requests Property Optional

Monika Pull Request (PR)
What feature/issue does this PR add
Make probe requests property optional
How did you implement / how did you fix it

Add some tests
Make probe requests property optional
Add typeguard for the probe requests property

How to test
How to test

Run local probe target. Run cd dev && docker compose up
Run Monika in verbose mode with the following configuration. Run npm start -- --verbose

probes:
  - id: Hyperjump
    requests:
      - url: https://example.com
      - url: https://hyperjump.tech
  - id: mariadb
    interval: 2
    incidentThreshold: 1
    recoveryThreshold: 1
    mariadb:
      - host: localhost
        port: 3306
        username: mariadb_user
        password: mariadb_password
        database:
  - id: mysql
    interval: 2
    incidentThreshold: 1
    recoveryThreshold: 1
    mysql:
      - host: localhost
        port: 3307
        username: mysql_user
        password: mysql_password
        database:
  - id: mongo
    interval: 2
    incidentThreshold: 1
    recoveryThreshold: 1
    mongo:
      - uri: mongodb://mongo_user:mongo_password@localhost:27017
  - id: postgres
    interval: 2
    incidentThreshold: 1
    recoveryThreshold: 1
    postgres:
      - uri: postgres://postgres_user:postgres_password@localhost:5432/postgres_db
  - id: redis
    interval: 2
    incidentThreshold: 1
    recoveryThreshold: 1
    redis:
      - uri: redis://:redis_password@localhost:6379

Video
https://github.com/hyperjumptech/monika/assets/15191978/57780444-516d-4a6a-af84-458f24cd69ad

Nicely done, but might need to update the docs.

No need to update the documentation. Only the Typescript type has been changed to better reflect the configuration.

LGTM but you might need to check the tests

Thank you for reviewing. I will work on making the test pass again.


Added possibility to pass conditions to searchDoc

This is in order to do a full text search in addition to filtering on e.g.
db.docs.searchDoc({    keys : ["title"],    term : "Document" }, {order: 'id desc'}, {is_good: true}, function(err, res){ .... })
The code is not beautiful, and i'm guessing there is a better way to reuse getWhereForDoc so that we don't have to do all that replacing, and I would be happy to implement that, if anyone could point me in the right direction.

I think the signature would be a bit nicer as db.docs.searchDoc({ keys: ['title'], term: 'Document', where: { is_good: true } }, { order: 'id desc' }, function (err, res) {...}); since that would let you omit the options entirely if you don't need them -- in your current version you have to include an options object if you have criteria no matter what.
As for the replacing, take a look at the use of offset in where.js -- if you supply an offset arg to getWhereForDoc you can set the placeholder ordinals properly the first time. If you refactor getWhereForDoc to use Where.generate instead of Where.forTable you can avoid replacing that first WHERE too.

@dmfay I implemented your suggestions. I ended up extending the forTable function to take a prefix, my initial take was to add a forSearch function, but that ended up duplicating a lot of code. So I landed on this approach.

oh that's a good call, nice work!


Add metadata to Cloudfile and populate the S3 version with tags.

Issue tracking number 🔗
Part of the solution for MD Pilot issue: https://www.pivotaltracker.com/story/show/187339289
Description of change ✍
This creates a new metadata field in the Cloudfile class.
It also adds metadata about tags to the S3 implementation of the S3CloudFileRepository.java
Priority 🥇
I would need this pretty quickly - w/in a few days maybe?
Effect on other applications using FFB 🌊
This should not break anything and should be invisible to any app that doesn't want extra metadata passed back about a file.
Testing

✅ Checklist before requesting a review

[x] Does the new code follow our preferred coding
style?
[ ] Does the code include javadocs, where necessary?
[ ] Have tests for this feature been added / updated?
[ ] Has the readme been updated?

I need to update the readme.

@bseeger, I'm not able to see the MD pivotal tracker board.

Hi @coltborg this is a screen shot of the ticket. Basically we need to check the tags associated with the file in S3. This adds that ability to share any metadata the implementation (in this case S3) deems worth to share via the "metadata" field.

Hi @coltborg this is a screen shot of the ticket. Basically we need to check the tags associated with the file in S3. This adds that ability to share any metadata the implementation (in this case S3) deems worth to share via the "metadata" field.

Thank you for the context!


Scene won't render and console error

While having Perfect Vision turned on no scene will load and getting an error.

Same here

If you can, disable libWrapper in the mean time. I'll fix it later.

Oh yeah no rush on my part. :) Love your module. Just wanted to report the issue.

Came here to report same thing :) Love the module!


ADDED: new podcast detail page

Made some changes how the url is built up for the podcast details page. Needs another approval thankies 😊


Install mechanical-markdown in dapr go-sdk test

Mechanical markdown is needed for the go-sdk validation tests.

/test-sdk-go


[GPU] Compilation fails with ELASTIX_USE_OPENCL: ON

Hi,
I am trying to compile elastix with ELASTIX_USE_OPENCL: ON to make use of the GPU. I followed the steps at [https://simpleelastix.readthedocs.io/GettingStarted.html#manually-building-on-linux] to build ITK with ITK_USE_GPU: OFF (like it was suggested here: https://github.com/SuperElastix/elastix/issues/15).
To build elastix I used the following variables:
ITK_DIR: /home/username/ITK/build
ELASTIX_INCLUDE_DIR: include
ELASTIX_USE_OPENCL: ON
OPENCL_INCLUDE_DIRS: /usr/local/cuda/include
OPENCL_LIBRARIES: /usr/local/cuda/lib64/libOpenCL.so
To configure the above variables I used "cmake-gui" followed by the "make -j64" command inside the /elastix/build directory. I used the default ITK branch "master" and default elastix branch "develop".
The "make -j64" command failed at multiple tests. But the first occuring error is the following:
[ 46%] Linking CXX executable ../bin/itkMevisDicomTiffImageIOTest
In file included from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.hxx:39,
                 from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.h:259,
                 from /home/username/elastix/Testing/itkGPUResampleImageFilterTest.cxx:25:
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedSimilarity3DTransform.h: In instantiation of ‘const CPUInverseMatrixType& itk::GPUAdvancedSimilarity3DTransform<TScalarType, TParentTransform>::GetCPUInverseMatrix() const [with TScalarType = float; TParentTransform = itk::AdvancedSimilarity3DTransform<float>; itk::GPUAdvancedSimilarity3DTransform<TScalarType, TParentTransform>::CPUInverseMatrixType = itk::Matrix<float, 3, 3>]’:
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedSimilarity3DTransform.h:70:3:   required from here
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedSimilarity3DTransform.h:72:35: error: ‘const InverseMatrixType& itk::AdvancedMatrixOffsetTransformBase<TScalarType, NInputDimensions, NOutputDimensions>::GetInverseMatrix() const [with TScalarType = float; unsigned int NInputDimensions = 3; unsigned int NOutputDimensions = 3; itk::AdvancedMatrixOffsetTransformBase<TScalarType, NInputDimensions, NOutputDimensions>::InverseMatrixType = itk::Matrix<float, 3, 3>]’ is private within this context
   72 |     return this->GetInverseMatrix();
      |                                   ^
In file included from /home/username/elastix/Common/Transforms/itkAdvancedMatrixOffsetTransformBase.h:453,
                 from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.hxx:24,
                 from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.h:259,
                 from /home/username/elastix/Testing/itkGPUResampleImageFilterTest.cxx:25:
/home/username/elastix/Common/Transforms/itkAdvancedMatrixOffsetTransformBase.hxx:226:1: note: declared private here
  226 | AdvancedMatrixOffsetTransformBase<TScalarType, NInputDimensions, NOutputDimensions>::GetInverseMatrix() const
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.hxx:39,
                 from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.h:259,
                 from /home/username/elastix/Testing/itkGPUResampleImageFilterTest.cxx:25:
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedSimilarity3DTransform.h: In instantiation of ‘const CPUOutputVectorType& itk::GPUAdvancedSimilarity3DTransform<TScalarType, TParentTransform>::GetCPUOffset() const [with TScalarType = float; TParentTransform = itk::AdvancedSimilarity3DTransform<float>; itk::GPUAdvancedSimilarity3DTransform<TScalarType, TParentTransform>::CPUOutputVectorType = itk::Vector<float, 3>]’:
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedSimilarity3DTransform.h:77:3:   required from here
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedSimilarity3DTransform.h:79:18: error: ‘const class itk::GPUAdvancedSimilarity3DTransform<float, itk::AdvancedSimilarity3DTransform<float> >’ has no member named ‘GetOffset’; did you mean ‘GetCPUOffset’?
   79 |     return this->GetOffset();
      |            ~~~~~~^~~~~~~~~
      |            GetCPUOffset
In file included from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.hxx:37,
                 from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.h:259,
                 from /home/username/elastix/Testing/itkGPUResampleImageFilterTest.cxx:25:
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedEuler3DTransform.h: In instantiation of ‘const CPUInverseMatrixType& itk::GPUAdvancedEuler3DTransform<TScalarType, TParentTransform>::GetCPUInverseMatrix() const [with TScalarType = float; TParentTransform = itk::AdvancedEuler3DTransform<float>; itk::GPUAdvancedEuler3DTransform<TScalarType, TParentTransform>::CPUInverseMatrixType = itk::Matrix<float, 3, 3>]’:
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedEuler3DTransform.h:70:3:   required from here
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedEuler3DTransform.h:72:35: error: ‘const InverseMatrixType& itk::AdvancedMatrixOffsetTransformBase<TScalarType, NInputDimensions, NOutputDimensions>::GetInverseMatrix() const [with TScalarType = float; unsigned int NInputDimensions = 3; unsigned int NOutputDimensions = 3; itk::AdvancedMatrixOffsetTransformBase<TScalarType, NInputDimensions, NOutputDimensions>::InverseMatrixType = itk::Matrix<float, 3, 3>]’ is private within this context
   72 |     return this->GetInverseMatrix();
      |                                   ^
In file included from /home/username/elastix/Common/Transforms/itkAdvancedMatrixOffsetTransformBase.h:453,
                 from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.hxx:24,
                 from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.h:259,
                 from /home/username/elastix/Testing/itkGPUResampleImageFilterTest.cxx:25:
/home/username/elastix/Common/Transforms/itkAdvancedMatrixOffsetTransformBase.hxx:226:1: note: declared private here
  226 | AdvancedMatrixOffsetTransformBase<TScalarType, NInputDimensions, NOutputDimensions>::GetInverseMatrix() const
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.hxx:37,
                 from /home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedCombinationTransformCopier.h:259,
                 from /home/username/elastix/Testing/itkGPUResampleImageFilterTest.cxx:25:
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedEuler3DTransform.h: In instantiation of ‘const CPUOutputVectorType& itk::GPUAdvancedEuler3DTransform<TScalarType, TParentTransform>::GetCPUOffset() const [with TScalarType = float; TParentTransform = itk::AdvancedEuler3DTransform<float>; itk::GPUAdvancedEuler3DTransform<TScalarType, TParentTransform>::CPUOutputVectorType = itk::Vector<float, 3>]’:
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedEuler3DTransform.h:77:3:   required from here
/home/username/elastix/Common/OpenCL/Filters/itkGPUAdvancedEuler3DTransform.h:79:18: error: ‘const class itk::GPUAdvancedEuler3DTransform<float, itk::AdvancedEuler3DTransform<float> >’ has no member named ‘GetOffset’; did you mean ‘GetCPUOffset’?
   79 |     return this->GetOffset();
      |            ~~~~~~^~~~~~~~~
      |            GetCPUOffset

Output of "nvidia-smi":

Thank you very much in advance for your help!
Kind regards.

@georg-walther Thanks for reporting this issue. Can you please confirm that it is solved by pull request https://github.com/SuperElastix/elastix/pull/653 commit b556886c26c0a9301d81325e6dbb9d4365c68a76 "COMP: Fix OPENCL errors GetInverseMatrix() and GetOffset() (issue 647)", which I have just merged to the develop branch?

@N-Dekker Yes PR #653 solved the issue. Thanks a lot!


Add ProBuilder dependency

I think ProBuilder should be a dependency in package.json.
"dependencies": {
	"com.unity.probuilder": "4.2.3"
}

I have used this for my package as well and it works without problems.

Ok yea, right, thanks, will add it!!

Ok yea, right, thanks, will add it!!

Btw saw your package on Reddit some time ago, also inspired me to start this one!

Btw saw your package on Reddit some time ago, also inspired me to start this one!

I've been working on a similar tool lately. I'm not as far as you are because I focused on a generic approach and I spent too much time on my rect editor :D I will take a better look at your code and decide if I it is easier to PR my code into your repo or integrate your code into my project. Anyway, great job and glad to see this feature coming to Unity!

I've been working on a similar tool lately. I'm not as far as you are because I focused on a generic approach and I spent too much time on my rect editor :D I will take a better look at your code and decide if I it is easier to PR my code into your repo or integrate your code into my project. Anyway, great job and glad to see this feature coming to Unity!

Oh yea, feel free man, for the rect editor, most zoom, pan stuff is from http://martinecker.com/martincodes/unity-editor-window-zooming/ , other than that is just grid-snapping and drawing extra GUI with Handles etc. took me sometimes to get the coords works right tho. I did think about having support for other modeling assets like umodeler, havnt really looked into their apis

Oh yea, feel free man, for the rect editor, most zoom, pan stuff is from http://martinecker.com/martincodes/unity-editor-window-zooming/ , other than that is just grid-snapping and drawing extra GUI with Handles etc. took me sometimes to get the coords works right tho. I did think about having support for other modeling assets like umodeler, havnt really looked into their apis


ShaderProgram: separate create and link stages

This modification does not change anything by default. The reason I did it is because I want to inject custom code between glCreateProgram() and glLinkProgram(). ShaderProgram.createProgram() is declared protected to allow @Override in subclasses.

Thanks!


Ingress rule in multi-function case

When deploying the todo example in GKE, several ingress rule get created.
Each one gets a public IP, that means that the frontend would need to use different targets, not a single one. So that's a bug :)
In the multi-function case we need a single ingress to be created with multiple rules in it.

@sebgoa I agree that we could deploy a multi-function scenario using just one Ingress rule but I am not able reproduce your issue having different public IPs:
$ kubectl get ingress
NAME               HOSTS                  ADDRESS         PORTS     AGE
ingress-create     <IP_ADDRESS>.nip.io   <IP_ADDRESS>   80        18s
ingress-delete     <IP_ADDRESS>.nip.io   <IP_ADDRESS>   80        18s
ingress-read-all   <IP_ADDRESS>.nip.io   <IP_ADDRESS>   80        18s
ingress-read-one   <IP_ADDRESS>.nip.io   <IP_ADDRESS>   80        18s
ingress-update     <IP_ADDRESS>.nip.io   <IP_ADDRESS>   80        28s

Anyway, I will improve the logic and the instructions to the TODO example.

are you on GKE ?

yes, I created a fresh cluster for the test


[Storybook] Rename all image files to follow the agreed convention

https://taskman.eionet.europa.eu/issues/160279

@eea-jenkins build all


Whole lo stops playing if title page background property empty

As reported on the community site a user had been working on an LO which then wouldn't play or preview and it seems having an empty background property on the title page e.g. no path to an image stops the whole lo playing. I think there are other occurrences of this when image fields are empty but thought they just stopped that particular page from playing. Maybe that's the case here too but as it's the first page stopped any of the lo playing.
I guess we need to go though and prevent this somehow as part of the general tity up at some point.

I'm going to close this and open a more generic one for code cleanup.


FM6124 and ICN2038S Panel Problem ABC 128x64px

I have a panel with 128x64px and without the D pin (see picture). How do I have to connect it, or isn't it supported by the library?

What happens when you connect? It's probably a 1/8 scan panel which this library doesn't support support (there is an example that works around this though).
Have you tried a test sketch anyway?

The panel I have is from Aliexpress https://de.aliexpress.com/item/4000126043085.html?spm=a2g0s.90423<IP_ADDRESS>b6e4c4dtnREMr and a 1/32.
When I connect the panel some pixels are flickering.
https://user-images.githubusercontent.com/25948008/119606094-3393ed80-bdf2-11eb-8213-8383c57d72e2.mp4

Can you try with PxMatrix library and see what configuration you need to make it work?

Can you try with PxMatrix library and see what configuration you need to make it work?

Any news about this? I also have a batch of these 128x64 P2 panels (with the ICN2038S <- not the 'S') chip and it won't work. I tried it with the SmartMatrix library but apparently it’s not compatible with this chipset.
Thank you for any info.

I take it you have set the mxconfig.driver = HUB75_I2S_CFG::ICN2038S;     in your setup ?

The panel I have is from Aliexpress https://de.aliexpress.com/item/4000126043085.html?spm=a2g0s.90423<IP_ADDRESS>b6e4c4dtnREMr and a 1/32.
When I connect the panel some pixels are flickering.
WhatsApp.Video.2021-05-26.at.07.15.11.mp4

Have you set the mxconfig.driver = HUB75_I2S_CFG::FM6124; in your setup ? Your photo seems to indicate it's a FM6124 chipset.

Did that fix the issue @reto88 ?

sorry i didn't had time until now, I will check it

I had this same issue, GND on the board is D.
just solved my panel problem

@reto88 @zombodotcom Hi Guys, I would like to know how did you solve the problem with this type of Panels, I just bought one, 128x64 with the FM6124 chipset and no letter D instead is ground, Do you guys have a sketch or some advice so I could make this panel to work? Thanks in advance. I used the mxconfig.driver = HUB75_I2S_CFG::FM6124; chipset but did not work.
This is the SimpleTestShapes sketch I'm using:
`
// Example sketch which shows how to display some patterns
// on a 64x32 LED matrix
//
#include <ESP32-HUB75-MatrixPanel-I2S-DMA.h>
#define PANEL_RES_X 128      // Number of pixels wide of each INDIVIDUAL panel module.
#define PANEL_RES_Y 64     // Number of pixels tall of each INDIVIDUAL panel module.
#define PANEL_CHAIN 1      // Total number of panels chained one to another
//MatrixPanel_I2S_DMA dma_display;
MatrixPanel_I2S_DMA *dma_display = nullptr;
uint16_t myBLACK = dma_display->color565(0, 0, 0);
uint16_t myWHITE = dma_display->color565(255, 255, 255);
uint16_t myRED = dma_display->color565(255, 0, 0);
uint16_t myGREEN = dma_display->color565(0, 255, 0);
uint16_t myBLUE = dma_display->color565(0, 0, 255);
// Input a value 0 to 255 to get a color value.
// The colours are a transition r - g - b - back to r.
// From: https://gist.github.com/davidegironi/3144efdc6d67e5df55438cc3cba613c8
uint16_t colorWheel(uint8_t pos) {
if(pos < 85) {
return dma_display->color565(pos * 3, 255 - pos * 3, 0);
} else if(pos < 170) {
pos -= 85;
return dma_display->color565(255 - pos * 3, 0, pos * 3);
} else {
pos -= 170;
return dma_display->color565(0, pos * 3, 255 - pos * 3);
}
}
void drawText(int colorWheelOffset)
{
// draw text with a rotating colour
dma_display->setTextSize(1);     // size 1 == 8 pixels high
dma_display->setTextWrap(false); // Don't wrap at end of line - will do ourselves
dma_display->setCursor(5, 0);    // start at top left, with 8 pixel of spacing
uint8_t w = 0;
const char str = "ESP32 DMA";
for (w=0; w<strlen(str); w++) {
dma_display->setTextColor(colorWheel((w32)+colorWheelOffset));
dma_display->print(str[w]);
}
dma_display->println();
dma_display->print(" ");
for (w=9; w<18; w++) {
dma_display->setTextColor(colorWheel((w32)+colorWheelOffset));
dma_display->print("");
}
dma_display->println();
dma_display->setTextColor(dma_display->color444(15,15,15));
dma_display->println("LED MATRIX!");
// print each letter with a fixed rainbow color
dma_display->setTextColor(dma_display->color444(0,8,15));
dma_display->print('3');
dma_display->setTextColor(dma_display->color444(15,4,0));
dma_display->print('2');
dma_display->setTextColor(dma_display->color444(15,15,0));
dma_display->print('x');
dma_display->setTextColor(dma_display->color444(8,15,0));
dma_display->print('6');
dma_display->setTextColor(dma_display->color444(8,0,15));
dma_display->print('4');
// Jump a half character
dma_display->setCursor(34, 24);
dma_display->setTextColor(dma_display->color444(0,15,15));
dma_display->print("");
dma_display->setTextColor(dma_display->color444(15,0,0));
dma_display->print('R');
dma_display->setTextColor(dma_display->color444(0,15,0));
dma_display->print('G');
dma_display->setTextColor(dma_display->color444(0,0,15));
dma_display->print("B");
dma_display->setTextColor(dma_display->color444(15,0,8));
dma_display->println("");
}
void setup() {
// Module configuration
HUB75_I2S_CFG mxconfig(
PANEL_RES_X,   // module width
PANEL_RES_Y,   // module height
PANEL_CHAIN    // Chain length
);
//mxconfig.gpio.e = 18;
//mxconfig.clkphase = false;
//mxconfig.driver = HUB75_I2S_CFG::FM6126A;
mxconfig.driver = HUB75_I2S_CFG::FM6124;
// Display Setup
dma_display = new MatrixPanel_I2S_DMA(mxconfig);
dma_display->begin();
dma_display->setBrightness8(90); //0-255
dma_display->clearScreen();
dma_display->fillScreen(myWHITE);
// fix the screen with green
dma_display->fillRect(0, 0, dma_display->width(), dma_display->height(), dma_display->color444(0, 15, 0));
delay(500);
// draw a box in yellow
dma_display->drawRect(0, 0, dma_display->width(), dma_display->height(), dma_display->color444(15, 15, 0));
delay(500);
// draw an 'X' in red
dma_display->drawLine(0, 0, dma_display->width()-1, dma_display->height()-1, dma_display->color444(15, 0, 0));
dma_display->drawLine(dma_display->width()-1, 0, 0, dma_display->height()-1, dma_display->color444(15, 0, 0));
delay(500);
// draw a blue circle
dma_display->drawCircle(10, 10, 10, dma_display->color444(0, 0, 15));
delay(500);
// fill a violet circle
dma_display->fillCircle(40, 21, 10, dma_display->color444(15, 0, 15));
delay(500);
// fill the screen with 'black'
dma_display->fillScreen(dma_display->color444(0, 0, 0));
//drawText(0);
}
uint8_t wheelval = 0;
void loop() {
// animate by going through the colour wheel for the first two lines
drawText(wheelval);
wheelval +=1;

delay(20);

/*
drawText(0);
delay(2000);
dma_display->clearScreen();
dma_display->fillScreen(myBLACK);
delay(2000);
dma_display->fillScreen(myBLUE);
delay(2000);
dma_display->fillScreen(myRED);
delay(2000);
dma_display->fillScreen(myGREEN);
delay(2000);
dma_display->fillScreen(myWHITE);
dma_display->clearScreen();
*/
}`

I think when I did it I said screw the markings and made the 1st ground D.
Booted right up.  The PCB markings are wrong.
I'm not at my computer and on vacation right now. Let me know if that helps.

Also how are you interfacing with the hub? Direct to the esp32 ? Or are you using a premade hub75 adapter PCB ?

@

Also how are you interfacing with the hub? Direct to the esp32 ? Or are you using a premade hub75 adapter PCB ?

@zombodotcom Thanks for replying so fast even dough you are on vacation. This is the interface board I'm using, and is compatible with the library's default pins:
https://www.electrodragon.com/product/rgb-matrix-panel-drive-interface-board-for-esp32-dma/
Thanks again.

I used that same board  but the v2 I think, the red one.
Make note of what it says about the pinout:
v2 board
https://w2.electrodragon.com/Board/IDD/IDD1013-DAT/IDD1013-DAT.md#devkitc-board-pin-definitions
https://w.electrodragon.com/w/ESP32_DMA_RMP
https://w.electrodragon.com/w/ESP32_DMA_RMP#Software_ESP32_DMA_Demo_Code_Setup more pin definitions but notice something here as well

I don't remember if I ended up not having to solder those or not. this was a few months ago.
I think I used this sketch for the electrodragon but I cant be sure
https://github.com/jnthas/clockwise/blob/3aeff99fef23c979cd743959fd41b296d8cc89a3/firmware/src/main.cpp
Notice where I setup the pins here to make it bypass the defaults.
https://github.com/jnthas/clockwise/blob/3aeff99fef23c979cd743959fd41b296d8cc89a3/firmware/src/main.cpp#L30
Sorry I can't be more help right now, I don't have the devices in front of me and I wont be back for a while to them.

Also forgot to mention that some of those boards had bad solder or something and was causing weird issues, so I added more solder the the hub75 adapter part and it fixed the flickering.

Thanks @zombodotcom for all the info, the board I'm using right now I know for sure is working fine, I've been using it with other panels and have not have any issues, and yes I'm aware of the pin configuration on the board.
I will take a look and try the clockwise sketch you mentioned and let you know how it went. Thanks again. Enjoy your vacation.

@wilson3682 also noticed this in the readme for esp32 dma library. seems like this person got it working for 128x64 with fm6124
https://github.com/bogd/esp32-morphing-clock/blob/main/code/src/rgb_display.cpp

Yes, he got it worked, but his panel had a full set of ABCDE pins.
I am wondered how manage to work 32s panel wirh only A B C pins. The o ly way I know is use a 595 type multiplexor. But this panel seems doesn't have it.

Hi @board707 I took off the frame and under it I can see there are 8 RT5957DSP multiplexers I found the datasheet here: http://www.raffar.com.tw/upload_file/2019071017305286848.pdf
Also there are 3 74HC245C Octal Bus Transceivers datasheet: https://www.mouser.com/datasheet/2/308/74HC245.REV1-69988.pdf
The rest of the chips are FM6124 shift registers 48 in total. datasheet: https://www.docdroid.net/Oy5GKYW/fm6124-pdf
I'm only referencing the datasheets for Information purposes.
Here is the picture of the board:

I also see that the PxMatrix library may support this type of boards. https://github.com/2dom/PxMatrix/blob/master/README.md#shiftreg_abc---for-rt5957-panels
Thanks!

Now everything has become clearer. The 5957 chip is a shift register type multiplexer. To control it, three pins are enough, this explains why there are only pins A B C on the panel.
Overall, however, this panel is quite a challenge, as it is a combination of a 6124 driver with a shift multiplexer. On any library, you will have to work to run it.
I do not know if it is possible to run it on this library. This is a question for the author, @mrfaptastic
I can offer to try my library, but it only works on stm32 and rp2040 boards, esp32 is not supported

The hardware isn't really relevant here. Should be able to get this to work with any micro.
What existing code works with these panels? Can read it to see if any of it can be ported.

Sorry, I confused 6124 with 6126A, FM6124 is a completely normal driver that should works fine with your library.
As for the shift register multiplexer, you already asked me and I gave you a link to the code for working with it. As far as I can see you have code to support 5266 multiplexer - the 5957 should works exactly the same.


Something wrong with CustomWidget (class from binary-module)

An attempt to add "CustomWidget" ends with error:
StackTrace:
$ cd StablexUI-Designer
$ clear && openfl test linux -neko -debug
...
System.hx:267: BinWgt SuperClsPath: ,ru.stablex.ui.widgets.Widget
System.hx:268: BinWgt SuperClsName: ,ru.stablex.ui.widgets.Widget
CustomWidget.hx:10: Wgt costuctor
CustomWidget.hx:39: true
CustomWidget.hx:40: true
CustomWidget.hx:39: true
CustomWidget.hx:40: true
StablexUIMod.hx:58:
StablexUIMod.hx:59: ApplyDefaults for: ,GuiElements,Default
StablexUIMod.hx:69:    > Before System.setGuiObjProperties
System.hx:860:
System.hx:861:       owner class: ,GuiElements
System.hx:862:       prop name: ,heightPt
System.hx:863:
System.hx:865:       prop type: ,TInt
System.hx:866:       prop cls name: ,null
System.hx:867:       prop value: ,100
System.hx:868:
System.hx:870:       new type: ,TInt
System.hx:871:       new cls name: ,null
System.hx:872:       new value: ,100
System.hx:873:
Called from tjson.TJSON::$statics line 1
Called from ApplicationMain::main line 80
Called from ApplicationMain::create line 102
Called from lime.app.Application::exec line 218
Called from lime._backend.native.NativeApplication::exec line 144
Called from a C function
Called from lime._backend.native.NativeApplication::handleMouseEvent line 384
Called from lime.app._Event_Float_Float_Int_Void::dispatch line 101
Called from openfl.display.Stage::addWindow line 242
Called from openfl.display.Stage::onMouseUp line 567
Called from openfl.display.Stage::__handleError line 1216
Called from openfl.display.Stage::onMouseUp line 557
Called from openfl.display.Stage::__onMouse line 1387
Called from openfl.display.Stage::__fireEvent line 1159
Called from openfl.display.DisplayObject::__dispatch line 337
Called from a C function
Called from openfl.events.EventDispatcher::__dispatchEvent line 218
Called from rn.stablex.designer.System::onWgtClick line 314
Called from rn.stablex.designer.StablexUIMod::applyDefaults line 72
Called from rn.stablex.designer.System::setGuiObjProperties line 876
Uncaught exception - Class cast error

need to override function _onParentResize


feat(app homepage) + adding dependencies

[x] Designed and developed a homepage for Flowie, as a starting point in our app workflow.
[x] Added dependencies - styled-components, react-router-dom
[x] Set up react-router to support dynamic URLs
[x] Link button on the home page to access dynamic page
e.g. localhost:3000/user/xtremilicious is a dynamic URL which can access the userId to fetch some info about the user

Looks nice!
Should we change "Try Now" to an input field with "Enter your username"?

Looks nice!
Should we change "Try Now" to an input field with "Enter your username" hint?

Added input button

Merging.


Made texts translatable

Texts will be translated now
PR Checklist

Please check all that apply to this PR using "x":

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[x] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Fixes
Issue Number:
What is the current behavior?
What is the new behavior?
Other information

In the future. Please group all of these changes into one PR. They don't need to be in separate PR's

Well I did quite a list ...  I hope will not be so many in the future now

I think what Sean is saying is that don't submit 1 PR for each 1 commit.
(1) Chain all your fixes/commits in a branch.
(2) Optionally squash related commits.
(3) Push that branch for the PR.

Yes I would prefer that.
On Fri, May 29, 2020 at 2:42 AM infinite-persistence <
<EMAIL_ADDRESS>wrote:

I think what Sean is saying is that don't submit 1 PR for each 1 commit.
(1) Chain all your fixes/commits in a branch.
(2) Optionally squash related commits.
(3) Push that branch for the PR.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-desktop/pull/4269#issuecomment-635791563,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAZZDR4SLTH6W5TQGADOQ3RT5KOPANCNFSM4NNNIICQ
.

--
Sean Yesmunt
Engineer for lbry.com


You are the imposter...

This game is a simple maze where you must find your way to the other crewmate in order to win as an imposter. My experience in coding this game took longer than I thought but as someone who has not used javascript before, I learned a lot about it.

making new game


141 - Temporal Granularity Tests

Description
Introducing temporal granularity in #141 will require creation of new steps, errors, and potentially feature files. I'm opening up this draft PR with some potential tests so we can discuss the names of new steps and where the tests should be located.
New steps & errors
Given <field> is granular to <unit>
Error: "Field [<field>]: Couldn't recognise 'value' property, it must be a Number or one of the supported datetime units (millis, seconds, minutes, hours, days, months, years)"
Test location
Presently the new tests are located with the decimal granularto tests in GranularTo.feature
Matt has raised concern that we have too few, overly large/complicated, features and suggested splitting this file into seperate features for decimals & datetimes. What would people prefer?

👍


[BUG]  Deleted the monitoring, and the internal request is still scheduled

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
springboot新建了个endpoint。然后新建一个自定义的监控，请求这个endpoint。之后我把这个监控删除了，但是发现，springboot项目这里还在定时接受到请求。应该hertzbeat内部定时器没关闭
Expected Behavior
No response
Steps To Reproduce
No response
Environment
HertzBeat version(s):

Debug logs
No response
Anything else?
No response

hi, 是哪个版本的hertzbeat，我记得之前老版本会有这个问题

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Hi, which version of hertzbeat is it? I remember that the old version had this problem

hi, 是哪个版本的hertzbeat，我记得之前老版本会有这个问题

1.3.2

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

hi, which version of hertzbeat is it, I remember that the old version had this problem

1.3.2

hi 是长时间一直在调度吗 还是说取消后一个采集周期内还在调度，之后就没有调度了。可以稍后我们发布1.4.0试试

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Has hi been scheduled for a long time, or is it still scheduled within one collection cycle after cancellation, and then there is no scheduling. You can try it later when we release 1.4.0

hi 是长时间一直在调度吗 还是说取消后一个采集周期内还在调度，之后就没有调度了。可以稍后我们发布1.4.0试试

一直再调度。1.4.0出来了，我再试试

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Is hi being scheduled for a long time, or is it still scheduled within one collection cycle after cancellation, and then there is no scheduling. You can try it later when we release 1.4.0

Always reschedule. 1.4.0 is out, I will try again

今天试了，没在重现这个bug，我关了

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

I tried it today and the bug didn't reappear. I turned it off.


Upload new version

This extends @johrstrom PR work to:

include a client that shares some logic
update the README to describe the options to include/not include a DOI
give the user the option to not provided a .zenodo.json (and use the previous metadata)
allow a glob or pattern match for the archive (and thus more than one file)
preparing for support of sandbox mode (but not implemented here because in testing we don't get access to records!)

okay here goes nothing! I'll come back and fix with another PR if it poops :)


Promote to GA

Package name: google-cloud-websecurityscanner
Current release: beta
Proposed release: GA
Instructions
Check the lists below, adding tests / documentation as required. Once all the "required" boxes are ticked, please create a release and close this issue.
Required

[ ] 28 days elapsed since last beta release with new API surface
[ ] Server API is GA
[ ] Package API is stable, and we can commit to backward compatibility
[ ] All dependencies are GA

Optional

[ ] Most common / important scenarios have descriptive samples
[ ] Public manual methods have at least one usage sample each (excluding overloads)
[ ] Per-API README includes a full description of the API
[ ] Per-API README contains at least one “getting started” sample using the most common API scenario
[ ] Manual code has been reviewed by API producer
[ ] Manual code has been reviewed by a DPE responsible for samples
[ ] 'Client Libraries' page is added to the product documentation in 'APIs & Reference' section of the product's documentation on Cloud Site

@chingor13 (last one, I promise) - can you recall what was blocking this one? Good to go now?


expr: syntax error

Using iTerm2 on OS X I get this error when pressing "Enter" on a highlighted result: expr: syntax error.

This is due to the use of expr in bin/qfc.sh. See here: http://tldp.org/LDP/abs/html/arithexp.html
I fixed it by changing two lines.
diff --git a/bin/qfc.sh b/bin/qfc.sh
index 76bdd04..b7ce9b8 100755
--- a/bin/qfc.sh
+++ b/bin/qfc.sh
@@ -50,7 +50,7 @@ if [[ -n "$ZSH_VERSION" ]]; then

         # reset the absolute and relative cursor position, note that it's necessary to get row position after qfc is run, because it may be changed during qfc execution
         row=$(echo $(get_cursor_position) | cut -f 1 -d " ")
-        tput cup $(expr $row - 1) $col
+        tput cup $(($row - 1)) $col
         CURSOR=${offset}
     }

@@ -93,7 +93,7 @@ elif [[ -n "$BASH" ]]; then
         word_length=${#word}
         result_length=${#result}
         READLINE_LINE=${READLINE_LINE:0:$((offset-word_length))}${result}${READLINE_LINE:$((offset))}
-        offset=$(expr $offset - $word_length + $result_length)
+        offset=$(($offset - $word_length + $result_length))

         row=$(echo $(get_cursor_position) | cut -f 1 -d " ")
         tput cup $row $col

qfc still doesn't work for me, and I'm guessing that this might be because I use vi mode for input instead of the default emacs mode. I can't quite understand how the code works, so I'm not sure if this is the problem or not.
# ~/.inputrc
set editing-mode vi


Add 1.13 support + fix checkForAxe (and use Java 8)

Add 1.13 support (fix #21 )
Fix checkForAxe not working
Use Java 8

I use this library that I made for 1.7-1.13 particles support. This should be a lot faster than the old one because I use less reflection in 1.7/1.8 servers and don't use any reflection for 1.9+ servers.
I see I have lot of comments from codacy-bot but the particle librairy is an external projet so it don't have the same code style

hi, I've added a few comments but overall, this is looking good to me... I've nowhere to test this, so I believe you tested this one on older server versions, too?
what do you make of those Codacy remarks? from what I can see, most of them are either a "can be final" type or "don't reassign parameters" or "don't use empty try-catch blocks" - those, I think can be adjusted rather fast and I also take it that these are valid points as well

Cool, then let's make it as clear as we can without sacrificing our minds and I think we're done :)
Great job with this one, again thank you very much.
Also, I wanted to ask whether you wouldn't want to take ownership of the plugin now that you actually do a lot of work on it, while I'm not coding for MC anymore?

Thanks, I would be very happy to take the ownership if you want 😄
I have almost finish tests, I will add the next commit soon

Okay, let's finish this pull request and then we can do the transfer. Can we chat somewhere, so the transfer is more realtime? FB, Skype, Gitter, Slack? Also, since you already have a repository with the same name, you'd need to either rename or remove it in order for this one to be transferred to you ;-)

cool, I've added you on Discord... seems like the build passes, so I'm going to accept the pull request and merge it in ;)


How to encode PNG?

You state that you should decode a PNG with Base64.atob(), but how to encode the PNG?

.btoa(), of course.
Or if you on a browser, you can create a canvas, dump the PNG there, and cv.toDataURL('img/png')  where cv is the canvas object.  Strip data:img/png;base64, as needed.


BaseScripts: updated database.py to wrap password in init

Wraps password in init script to make it work consistently across init and create functions in the inveniomanage database script

addresses #2844

@eamonnmag could you please amend the commit message according to Invenio standards.
Example:
installation: fix database password escaping

* Wraps password in quotes.  (closes #2844)

Signed-off-by: you
Reviewed-by: Jiri Kuncar<EMAIL_ADDRESS>

@eamonnmag could you please amend the commit message according to Invenio standards.

Yep. For reference these are detailed in https://github.com/inveniosoftware/invenio/blob/pu/CONTRIBUTING.rst (point 6)

@kaplun can you test the PR? It looks useful for 2.0.0.

Closing this pull request and creating a new one with escaping of the password and username in case it's required.

Hi @eamonnmag, in Invenio we try to keep history as clean as possible (since it is then used to compile the change logs). Could you squash this commits into one clean commit (since it's implementing one functionality and it has not yet been merged)? Additionally you can happily just keep this PR. No need to close it or re-open it. Just push-force an updated branch. As soon as your branch will be integrated it will be automatically closed.

Yeah, I sort of messed it up. Was the first time I tried it across forks :) I will look at the behaviour of the quotes function above my edits and modify it as discussed today.

@eamonnmag please remove all extra newlines you have added outside init function. If you see that file doesn't follow PEP8/257 standard please create separate commit first. Thank you!

Squash and rebase your branch:
$ git fetch upstream
$ git rebase -i upstream/maint-2.0
# in your favorite editor edit commits:
rework a1b2c3e foo: description
f b2c4d7d ...
# change first commit message squash or fixup commits
# see https://github.com/inveniosoftware/invenio/pull/2846#issuecomment-77166257
$ git push origin eamonnmag-dbinit-patch -f

the PR https://github.com/inveniosoftware/invenio/pull/2894 for my branch.


Downloading/caching only a part of a datasets' dataset.

Hi,
I want to use the validation data only (of natural question).
I don't want to have the whole dataset cached in my machine, just the dev set.
Is this possible? I can't find a way to do it in the docs.
Thank you,
Sapir

Not at the moment but we could likely support this feature.

?

I think it would be a very helpful feature, because sometimes one only wants to evaluate models on the dev set, and the whole training data may be many times bigger.
This makes the task impossible with limited memory resources.


Collection package breaks constraints

https://code.google.com/p/dart/source/detail?r=37255
Made the pkgbuild package repo testing fail with:
FAILED: none-vm release_ia32 pkgbuild/pkg/collection
Expected: Pass
Actual: PubGetError
CommandOutput[dir_copy]:
diagnostics:
CommandOutput[modify_pubspec]:
diagnostics:
CommandOutput[pub_get]:
stdout:
Resolving dependencies...
stderr:
Package collection 1.0.0-dev does not match >=0.9.1 <0.10.0 derived from:

angular 0.9.8 depends on version >=0.9.1 <1.0.0
args 0.11.0+1 depends on version >=0.9.0 <0.10.0

I will suppress this for now. I am tentatively marking this high priority and milestone 1.5, if this is not aimed at 1.5 please reset.

This issue has been moved to dart-lang/collection#13.


[Spotify Player] Add "Remove Song" Functionality to a playlist like Discover Weekly

Extension
https://www.raycast.com/mattisssa/spotify-player
Description
Please add a "Remove Song" feature to the Spotify player for a playlist like the Discover Weekly playlist. This feature would allow users to easily remove unwanted songs from the playlist directly within raycast.

Who will benefit from this feature?
Anyone
Anything else?
No response

hmmmmmmmmmmmmmmmm.


Improve .gitattributes file

Fixes https://github.com/aspnet/Docs/issues/10641
Notes:
Actually there are 34  .PNG files, and not only one .JPG .GIF .ICO .PDF .TTF .EOT .WOFF .WMV .ZIP .EXE .DB file.
I've not added .SLN, because i don't know if it is legal.

For https://github.com/aspnet/Docs/pull/10740/commits/44f8a6b6dd38478d141e6ce0fce7405dc0551eb6 I use regex.
We could also use regex to match upper cases and lower cases file extensions for Linux and Mac users (and not for Windows users as it is a case insensitive operating system). Regex could also match files extensions with strange casing name, like .pNG.
Say me what do you prefer.
If you prefer https://github.com/aspnet/Docs/pull/10740/commits/44f8a6b6dd38478d141e6ce0fce7405dc0551eb6 I could rebase to make only one commit ;-).

@scottaddie I was just looking thru our goings-on and noticed this one sitting for a while. Are we proceeding with this?

Closing this until @cillroy  provides guidance.


Support storing videos on the backend

This should basically replicate all of the functionality we currently have for images.

This backend should now be finished.


Check TB303 Filter

An anonymous GitHub user who is familiar with the TB303 filter were trying to implement has stated that something is wrong with it. Not sure if its at the DSP level of Soundpipe or higher up in the C++ or Swift layers, but its worth checking. The original issue is here.

The 303 filter we have isn't an exact recreation of the circuit. It only
approximates some of the characteristics. It's a TB303-ish filter.
Maybe that should be clarified in the docs somewhere?
Other than that, there's nothing actionable to be done here, unless someone
is willing to implement a better filter...
On Sat, May 29, 2021, 02:56 Aurelius Prochazka @.***>
wrote:

An anonymous GitHub user who is familiar with the TB303 filter were trying
to implement has stated that something is wrong with it. Not sure if its at
the DSP level of Soundpipe or higher up in the C++ or Swift layers, but its
worth checking. The original issue is here
https://github.com/AudioKit/AudioKit/issues/2520.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AudioKit/SoundpipeAudioKit/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6DE7OSJFHK246TN57X543TQCFZHANCNFSM45X75M7A
.

If anyone wants to build a more accurate 303 filter, this page might be a
good start: http://www.timstinchcombe.co.uk/index.php?pge=diode2
Massive transfer function, so I don't know how practical it would be to
use. A more generalized diode ladder filter may get the job done (the
pirkle diode ladder filter, for example).
On Sat, May 29, 2021, 08:07 Aurelius Prochazka @.***>
wrote:

Closed #1 https://github.com/AudioKit/SoundpipeAudioKit/issues/1.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AudioKit/SoundpipeAudioKit/issues/1#event-4815970227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6DE7PHOELHWSJCUJTNNXLTQDKHDANCNFSM45X75M7A
.


error when killing player

so i joined the game then another player joined it, when he tried to kill me this error came up and he got kicked with "internal server error", here is the error:
[22:08:09] [Server thread/CRITICAL]: #0 plugins/TeamArena-master/src/hachkingtohach1/teamarena/arena/Arena(400): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[24] Undefined index: mote166, string[86] /home/container/plugins/TeamArena-master/src/hachkingtohach1/teamarena/arena/Are, integer 400, array[15])```

https://github.com/hachkingtohach1/TeamArena/commit/c639eadd7f60418f212532e9893f298ee9e5c61c

Thanks you!


Installation issues?

Hello @JanJoris
First of all thank you for this! This is awesome :)
I'm having issues getting this to work and was hoping you could give me a hand. I'm very much used to working with oh-my-zh and would love to have this on Windows.
I'm using ConEmu and I've run the installation instructions:
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser

However, I'm not seeing any changes when I open powershell directly or ConEmu. $ThemeSettings doesn't return any output

Any suggestions?
Thanks!

Duh. I had to import it. I'm very much a Unix user if it wasn't obvious. Sorry for the false alarm.
Thanks!

No worries:-)

@JanJoris I have the same issue.  How can I import it automatically?

@doggy8088 Here is information on the various Powershell profiles.
You can also quickly fix it with:
"Import-Module oh-my-posh" | add-content $profile . $profile


envoy/lds: add support for inbound TCP proxying

Description:
This change adds the plumbing necessary to be able to
proxy indbound TCP traffic for a service. Similar to
the inbound HTTP filter chain, a TCP filter chain
is adder per TCP port exposed on the service. This
is the first change in the series to support TCP traffic.
Subsequent changes will enable enforcing TCP port based
rules as a part of the RBAC policies.
Note that this change will not allow TCP clients to access
TCP based services yet because outbound TCP proxying with
TLS still needs to be implemented. This change does not
affect HTTP traffic.
Part of #1521

Affected area:

New Functionality      [X]
Documentation          [ ]
Install                [ ]
Control Plane          [X]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [X]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Codecov Report

Merging #2154 (4131398) into main (e66668d) will increase coverage by 0.11%.
The diff coverage is 73.58%.

@@            Coverage Diff             @@
##             main    #2154      +/-   ##
==========================================
+ Coverage   57.79%   57.90%   +0.11%
==========================================
  Files         144      144
  Lines        6023     6075      +52
==========================================
+ Hits         3481     3518      +37
- Misses       2539     2554      +15
  Partials        3        3

Impacted Files
Coverage Δ

pkg/envoy/lds/inmesh.go
71.52% <73.58%> (+0.81%)
:arrow_up:

pkg/envoy/route/config.go
95.23% <0.00%> (-0.80%)
: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 e66668d...4131398. Read the comment docs.


fix: agent-node-files by append agentNode.HookActions

Fix #1527
with tests:
#conf
  - description: 'registry.local-ca.pem'
    source: certs/registry/registry.local-ca.pem
    destination: /etc/ssl/certs/registry.local-ca.pem
    nodeFilters:
    - "agent:0-1"
    - "server:*"

#traceLog
TRAC[0000] Filtered 1 nodes (filter: [server:*])
TRAC[0000] Filtered 1 nodes (filter: [server:*])
TRAC[0000] Filtered 3 nodes (filter: [agent:0-1 server:*])

#validate
root @ deb1013 in ~ |11:27:14
$ docker exec -it k3d-mycluster-agent-1 sh
~ # find /etc/ssl/certs/
/etc/ssl/certs/
/etc/ssl/certs/ca-certificates.crt
/etc/ssl/certs/registry.local-ca.pem

@iwilltry42 Review Pleased


inboxer: 1.1.4 -> 1.1.5

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/inboxer/versions.
meta.description for inboxer is: '"Unofficial, free and open-source Google Inbox Desktop App"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5/bin/inboxer had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.1.5 with grep in /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5
directory tree listing: https://gist.github.com/fa7a5cb61b7e88f053fca1b62642452c
du listing: https://gist.github.com/878deb90d05119ddeff5ed1e687e0e93

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/dd34fb1a72616af5daeab0fc6ecbafba3b11b07f.tar.gz -p inboxer
ls -la /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5

cc @mgttlinger for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: inboxer
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: inboxer
Partial log (click to expand)
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5/bin
patching script interpreter paths in /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5
head: error writing 'standard output': Broken pipe
checking for references to /build in /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5...
shrinking RPATHs of ELF executables and libraries in /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5
shrinking /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5/opt/Inboxer/libffmpeg.so
shrinking /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5/opt/Inboxer/libnode.so
shrinking /nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5/opt/Inboxer/.inboxer-wrapped
/nix/store/8kdqvwrhm1kpmpk7lb3ayihpcca9inm8-inboxer-1.1.5

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: inboxer
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


Support for 20240530?

Problem description
No response
Feature request
Hello, does this support version 20240530 or can that be added?

@jschutte27  fixed in 1.14.5


Inconsistent "generateBid" documentation

Over here it shows the generateBid has 7 params:
https://developers.google.com/privacy-sandbox/private-advertising/protected-audience/android#ad-selection-buy-side-bidding
But in the actual example in the repository it shows only 6 params:
https://github.com/android/privacy-sandbox-samples/blob/main/Fledge/FledgeServerSpec/BiddingLogic.js

For on-device auctions, the generateBid function supports either 7 or 6 parameters in the function signature:
generateBid(ad, auction_signals, per_buyer_signals, trusted_bidding_signals, contextual_signals, user_signals,  custom_audience_bidding_signals)
or
generateBid(ad, auction_signals, per_buyer_signals, trusted_bidding_signals, contextual_signals, custom_audience_bidding_signals)
The Android platform will automatically detect which one you are using.
We're currently in the process of updating our docs to focus more on B&A server auctions rather than on-device, which should clear up this issue.


Update some Rosetta error copy

Thank you for contributing to Mina! Please see CONTRIBUTING.md if you haven't
yet. In that doc, there are more details around how to start our CI.
Just updating some Rosetta error strings. No special testing makes sense.
Checklist:

[x] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[x] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[x] Serialized types are in stable-versioned modules
[x] Does this close issues? List them:

Closes #6932

!ci-build-me

!ci-build-me

!ci-build-me


Add ubuntu 22.04

This should add Ubuntu 22.04, newer LTS.
Hoping that the boot_command adjustments that seemed needed won't break older release boxes builds

Interested parties may try the box at https://app.vagrantup.com/oberger/boxes/boxcutter-ubuntu2204-desktop/versions/2204.1 which is based off of https://github.com/olberger/boxcutter-ubuntu/tree/2204.1 with french keyboard layout and locale, and minimal desktop


feat(lib): add audio to partial movie files and section videos

Overview: What does this pull request change?

With this PR, audio is added when writing partial movies. Before, it was only added at the end, so partial movie files and section videos did not contain audio.

Motivation and Explanation: Why and how do your changes improve the library?

My main motivation is https://github.com/jeertmans/manim-slides/issues/375, in line with what I mentioned in #3501 (@behackl).
Further Information and Comments

The current PR is still in draft for the following reasons:

[ ] it only works is audio (self.add_sound) is added before the first animation, I need to understand why and how to fix this (zero-padding does not seem to work as the concat output does not contain any audio stream in this case);
[ ] must add tests;
[ ] check if we can avoid padding audio every time we write some partial movie;
[ ] check if this works for various output formats, especially webm;
[ ] and check if audio is correctly split between two or more video files (i.e., does the concatenated version sounds like the original audio?).

Idea: it might be interesting to rethink the add_sound function to, e.g., let the user pass an AudioSegment instead of a file. This would be very useful for truncating audio, for example. That could also be a separate PR.

Reviewer Checklist

[x] The PR title is descriptive enough for the changelog, and the PR is labeled correctly

Note: the commit history looks very weird, even though I rebased onto your main branch...

Hello, and thanks for your contribution!

The current PR is still in draft for the following reasons:

Is it still a draft? (asking because of the failing tests) If so, please mark it as a draft, thanks!

Hello, and thanks for your contribution!

The current PR is still in draft for the following reasons:

Is it still a draft? (asking because of the failing tests) If so, please mark it as a draft, thanks!

Hello! Yes it is, I forgot to tick the « draft » box :)

@chopan050 This is now ready for reviewing! I haven't added any test yet, but not sure where / how to correctly test this. I have looked at the current test suite, and we don't have many tests for sound nor partial movie files.