WIP - Unify boolean expression and value expression grammars

@sougou I still need to add some tests to this, but wanted to push up what I had to run the existing full test suite as it stands. The 3 main parser test packages pass locally.
When I implemented your example for handling ParenExpr, it gave me some type mismatches throughout the go-code.  So I cleaned that up a bit as well (at least I hope I improved it). Basically, there now is two tuple-related interfaces:
ColTuple (as existed)
ValTuple (converted to an interface)
The old ValTuple was replaced with RowTuple, and made to implement ValTuple. ParenExpr also impelements ValTuple. You'll see in the diff :)
Also I think I need to remove your change to the Makefile -- I don't have goyacc.

Tests are failing due to a failure to download mariadb. They were passing before.  I'll be pushing more tests in the next couple of hours, which should result in a successful re-run.

@sougou I added a bunch of tests in parser, plan builder, and endtoend. Let me know if you'd like more in any specific area/cases. Otherwise I think this is ready for a final review?

Though it looks like it's still failing to download mariadb...

The tests are broken for a grpc issue. I cant run the full suite locally, so I guess we can wait for that fix before moving forward unless you're feeling generous :)

We had periods of broken Travis runs before and used an honor system before.
Therefore, let's stay pragmatic here: If you tell us that the tests are passing locally, we'll believe you and merge this. No need to halt development.

Thanks @michael-berlin, I appreciate the pragmatism :).
@sougou looks like tests are working again and passing. I think this is ready for a final review, when you're ready.

LGTM
Nice work. I can merge after you resolve the conflicts.

Resolved all conflicts and all tests are passing. Thanks @sougou!

:man_dancing:


Can't read secret?

Running an install on Openshift 3.9... getting an error about the node not being able to read a secret.
Trying to connect to solidfire.
config
{
    "version": 1,
    "storageDriverName": "solidfire-san",
    "Endpoint"<EMAIL_ADDRESS>    "SVIP": "<IP_ADDRESS>:3260",
    "TenantName": "openshift",
    "UseCHAP": true,
    "Types": [{"Type": "Bronze", "Qos": {"minIOPS": 1000, "maxIOPS": 2000, "burstIOPS": 4000}},
              {"Type": "Silver", "Qos": {"minIOPS": 4000, "maxIOPS": 6000, "burstIOPS": 8000}},
              {"Type": "Gold", "Qos": {"minIOPS": 6000, "maxIOPS": 8000, "burstIOPS": 10000}}]
}

Error
MountVolume.NewMounter initialization failed for volume "trident" : Couldn't get secret trident/trident-chap-solidfire-10-90-33-180-openshift error: secrets "trident-chap-solidfire-10-90-33-180-openshift" is forbidden: User "system:node:openshift-node-2.company.com" cannot get secrets in the namespace "trident": no path found to object User "system:node:openshift-node-2.company.com" cannot get secrets in project "trident"

Also seeing this
iscsi: failed to sendtargets to portal <IP_ADDRESS>:3260 output: iscsiadm: Connection to Discovery Address <IP_ADDRESS> closed iscsiadm: Login I/O error, failed to receive a PDU

How are you installing Trident? Is there anything special about your installation of OpenShift 3.9?
The node authorizer is responsible for giving a node access to the secrets based on the pods scheduled to run on the node:
https://kubernetes.io/docs/reference/access-authn-authz/node/
Trident does not do anything to configure the node authorizer, and we have never seen a failure like this before.
Just to be sure, we installed Trident 18.04 with a CHAP-enabled SolidFire backend using a brand new 2 node OpenShift 3.9 cluster and it works fine, even when the pod is scheduled on the second node.
We recommend uninstalling Trident and installing it again using tridentctl. In addition to retrying pod scheduling, that will refresh all of Trident's k8s configuration, including authorization.

This is no longer an issue, Re-deployed the cluster and things were ok.


[ops] Total transaction volume initial report

See this Notion task
Requirements

[x] We need to work with Cujo to expand on his transaction tracing work to generate a  CSV report that sums up total transactions by type by month, year (ideally since launch)

This will be a report that we’ll need to eventually plugin to a dashboard but initially it is needed to properly set top-line OKR targets
Setting as a high priority due to this being a requirement of our OKR activity.

@sy-zygy Here's the initial Polygonscan exports for the aggregators/Carbonmark transactions since deployment.
Aggregator V1 - Transactions.csv
[Infinity - Transactions.csv](https://github.com/KlimaDAO/
Carbonmark - V1 Transactions.csv
klimadao/files/13516857/Infinity.-.Transactions.csv)
Carbonmark - V2 Transactions.csv

@sy-zygy did this give you what you need? Can we close the issue?

@0xAurelius looping you into this ticket, one that needs some transition from Sy


feature/REDBOX-155-remove-streamlit-from-main-redbox-repo

Context
Now that streamlit has its own repo it can be removed from this one.
Changes proposed in this pull request

all streamlit code removed
an explanation has been added to the README

Guidance to review

Relevant links
https://technologyprogramme.atlassian.net/browse/REDBOX-155
Things to check

[ ] I have added any new ENV vars in all deployed environments
[ ] I have tested any code added or changed
[ ] I have run integration tests
[ ] I have manually tested the streamlit app

A fond farewell 👋🥲


Standardizing DiscoveryClient's optional configs

NetflixOSS » eureka » eureka-pull-requests #375 SUCCESS
This pull request looks good


⚠ T:Riza Api has degraded performance

In 55d2347, T:Riza Api (https://infra.triza.dev/api) experienced degraded performance:

HTTP code: 502
Response time: 4358 ms

Resolved: T:Riza Api performance has improved in c37ebf1.


Implementing Character and Integer Stack using single Array

Aim

I want to contribute code to Implement Character and Integer stack using single array.

Details

I will contribute this in C it will be an implementation  of 2 stacks using single array.

Programming language

[x] C
[ ] C++
[ ] Java
[ ] Python

@Ayush7614 @Amit-45 Kindly assign this to me in C

@Ayush7614 @Amit-45 Kindly assign this to me in C

Im preparing for my coding interviews and it would really help me if you assign this question to me
Kindly assign me this
I have immense intrest  in coding


Why not supported outFile parameter on CommonJS module system since TypeScript 1.8

I was unable to use --outFile parameter since 4c4087c6566becf9f7e8d9f38daafc0c07540ab8 committed.
I was use its well. So I wonder why it is changed.

Are you perhaps confusing with --outDir ? --outFile is new in 1.8 and never supported CommonJS - it doesn't make sense for CommonJS anyway since CJS modules cannot be concatenated.

I was use --out parameter in 1.7 with CommonJS.

If you mean that you want to compile CJS modules with the intent of compiling each .ts file to separate .js file, then you don't need to pass in the --outFile parameter at all.

in TS 1.7, --out/--outFile combined non-module code (i.e. files with no top-level import or export) to the --out/outFile parameter, where as all other modules are emitted to the their own files.
Obviously that was confusing to most users. Most ppl would thing of --out would really concatenate the output.
With TS 1.8, --out/--outFile is doing the more sensible concatenation (see What's new for more details).
Concatenation with commonJs does not make much sense, so is UMD, again because of how commonjs works, and this it is an error now to use --module commonjs + --out/--outFile

Concatenation with commonJs does not make much sense,

CommonJs expects files to exist at certain places, and changing their location breaks how they are loaded. moreover CommonJs/node modules have different scoping rules than script files, and concatenating them breaks that, so the only way to do this correctly is to wrap them in functions, and add a loader, which is pretty much AMD or system.js.

So I'm a bit behind the times - in our project we're using Typescript 1.4 which compiles/concatenates CommonJs modules into a single out file fine - we're using gulp-tsc to do this in a gulp file and doing the same using the Task Runner Explorer from VS 2015. It sometimes needs "hints" (using /// <reference path="foo.ts" /> comments at the top of certain files) but otherwise I've never had a problem with it.
Since we upgraded tsc on our build server to 1.8.2 however, the tsc refuses to do this anymore :-( I'm guessing there were issues in other commonjs projects that we never came across. So the solution is basically we have to move to system modules (no more commonjs)?

@jamescrosswell, that is a gulp-tsc question then. node modules were never concatenated by the compiler.

@mhegazy I don't think so. Looking at the source for gulp-tsc, all it's doing is adding the --out parameter when calling tsc... so it's relying on tsc to do it's thing under the hood.
Also, we just upgraded the typescript compiler in our project from 1.4.1 to 1.7.5 without any problem. So tsc appears only recently to have lost the ability to compile CommonJs modules into a single output file (i.e. with version 1.8).

just to be clear. before TS 1.8, --out will concatenate non-module files, i.e. files that do not have a top level import or export. modules, i.e. files with a top level import or export were never concatenated.
with TS 1.8, --out concatenates modules only for --module == amd | system. the concatenation of non-module files is not happening any more. is this what you are referring to?

I've read all the above and still haven't a clue.
I've installed VS 2015 Update 2 which ships with 1.8, the rest of my team are on something older. They refuse to update because of some nonsense about importance of keeping the next release stable (!?) so is there a way to go back to an older version of TS?
Also, I don't even understand the problem and how it can work for everyone before and yet apparently the settings have never made any sense? It was clearly working somehow.
When we do move to 1.8 I still have no idea what the fix is. All the chatter above is saying how it "doesn't make sense" and not about how to resolve it.

@lukepuplett I agree - i have exactly the same problem.
I dont know why they made this change so nonsensical - how can i go back to 1.7?
Could we please get an answer to this....

Has anyone above found a work-around to this annoyance?

how can i go back to 1.7?

what is the specific behavior that you need? do you have files with no imports or exports that were concatenated before?

Yes that's correct. I would like to have the same behavior as previously . Concatenated files.

in TS 1.7, modules (i.e. files with at least one import or export) were not concatenated. can you share a sample showing the expected behavior?

My understanding is that something we thought was working was not working, according to comments above. But 1.7 didn't prevent the nonsensical configuration so we never noticed.
Now, it is prevented in 1.8 but the problem is, I don't know what configuration I need to get the old behaviour. That's my question, really: what do I have to set make it compile exactly as it was doing before (whatever that was)? Thanks.

Sorry if i keep asking, but the original assumption was that no one had this scenario, and i want to understand more the details of your setup.
so you have some modules that use --module commonjs, and some non module files. you want to compile them all in the same go, but want the modules to go to their own files, and the non-module global code to be concatenated in one file. is this an accurate description?

Sorry Mohamed, are you asking me or ganySA?

either.  is my description above accurately describe your scenario? can i look at your 1.7 project?

Okay, I'll have to chat to another guy on the team but I'm out of office all day tomorrow, so we're looking at Monday.
I've not been involved in the client-side (TS) stuff on this project much, I just happened to reinstall VS and end-up on v1.8. I've only brushed-up on 'commonjs' and the like since encountering this issue, so you'll have to excuse my ignorance.

thanks @lukepuplett,  appreciate the help.

sorry for the delay in responding. in 1.7 I am using the visual studio property pages to define the TSC compiler options:-
Module System: None
Keep comments in JavaScript: yes
Combine javascript output to directory: $(ProjectDir)\xxx\yyy\app.js
for my teamcity build (and presumably 1.8 config {when we migrate}) I am using a tsconfig.json
{
"compilerOptions": {
"diagnostics": true,
"noEmitOnError": true,
"outFile": "../scripts/app.js",
"module": "commonjs", // not relevant ... ignored by 1.7
"target": "es5",
"noImplicitAny": false,
"rootDir": ".",
"sourceMap": false
},
"exclude": [
"node_modules"
]
}

So, are the VS settings of the file being used when TS 1.7 compiles it?
If the latter, then we need to know what settings to put in there that will work on 1.7 and 1.8 and produce the JS output in the same manner as its doing today.

@DavidNutstone if you are not using commonjs modules, remove "module": "commonjs" or set it to "module" : "none" instead. this should get you back to TS 1.7 behavior.

So, are the VS settings of the file being used when TS 1.7 compiles it?

Starting with TS 1.8, if you have a tsconfig.json in your project, it will be picked up over your project file, and all the settings in your project file will be ignored.
If this is not what you intend, remove the tsconfig.json from your project.

If the latter, then we need to know what settings to put in there that will work on 1.7 and 1.8 and produce the JS output in the same manner as its doing today.

remove or rename your tsconfig.json, build using your TS 1.7 settings (or just build on a VS instance using TS 1.7);
capture the build log (msbuild /verbosity:detailed).
in the build output you should see a call to tsc.exe with a set of arguments, something like:

C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.7\tsc.exe  --sourcemap --target ES5 --noEmitOnError --locale en-US "c:\users\mhegazy\documents\visual studio 2015\Projects\TypeScriptHTMLApp39\TypeScriptHTMLApp39\app.ts"`)

in your project folder, call tsc --init followed with the same arguments you had in your build log (e.g.

C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe  --init --sourcemap --target ES5 --noEmitOnError --locale en-US "c:\users\mhegazy\documents\visual studio 2015\Projects\TypeScriptHTMLApp39\TypeScriptHTMLApp39\app.ts"

this should create a tsconfig.json file for you. the file will have "exclude" and "files" properties. like:

{
   "compilerOptions": {
       "sourceMap": true,
       "target": "es5",
       "noEmitOnError": true,
       "locale": "en-US",
       "module": "commonjs",
       "noImplicitAny": false
   },
   "exclude": [
       "node_modules"
   ],
   "files": [
       "c:\\users\\mhegazy\\documents\\visual studio 2015\\Projects\\TypeScriptHTMLApp39\\TypeScriptHTMLApp39\\app.ts"
   ]
}

now you have two options, either remove the "exclude" and make sure to add a file entry for every file you add your project, or remove the "files" property, and make sure to exclude any folders in your project that should not be included in the compilation, if there are any.

That's super, thanks for your time on this! Appreciated :)


[Bug]: kafka: cannot connect to TLS managed kafka

What happened?
Using v1.64.0.
The PR #6270, change the way to load TLS on kafka.
My TLS kafka configuration on 1.64:
"TLS":{"CAFile":"","CAPem":"[REDACTED]","IncludeSystemCACertsPool":false,"CertFile":"","CertPem":"[REDACTED]","KeyFile":"","KeyPem":"[REDACTED]","MinVersion":"","MaxVersion":"","CipherSuites":null,"ReloadInterval":0,"Insecure":false,"InsecureSkipVerify":false,"ServerName":""}
My TLS kafka option before 1.64:
"TLS":{"Enabled":true,"CAPath":"","CertPath":"","KeyPath":"","ServerName":"","ClientCAPath":"","CipherSuites":null,"MinVersion":"","MaxVersion":"","SkipHostVerify":false,"ReloadInterval":0}
The new configuration has IncludeSystemCACertsPool:false by default, it should be possible to set IncludeSystemCACertsPool to true, or issue related to the new code loading TLS kafka.
Steps to reproduce

Run jaeger-collector/jaeger-ingester with kafka + TLS producer/consumer enabled without ca/cert loaded.
Crash to connect to remote kafka with signed certificate.
See Relevant log output

Expected behavior
It should work as before.
Relevant log output
{"level":"fatal","ts":1733844390.6674302,"caller":"collector/main.go:73","msg":"Failed to init storage factory","error":"kafka: client has run out of available brokers to talk to: 21 errors occurred:\n\t* unexpected EOF\n\t* unexpected EOF\n\t* EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n","stacktrace":"main.main.func1\n\tgithub.com/jaegertracing/jaeger/cmd/collector/main.go:73\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:985\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1041\nmain.main\n\tgithub.com/jaegertracing/jaeger/cmd/collector/main.go:150\nruntime.main\n\truntime/proc.go:272"}

{"level":"fatal","ts":1733842843.1473405,"caller":"ingester/main.go:71","msg":"Unable to create consumer","error":"kafka: client has run out of available brokers to talk to: 21 errors occurred:\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n\t* unexpected EOF\n","stacktrace":"main.main.func1\n\tgithub.com/jaegertracing/jaeger/cmd/ingester/main.go:71\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:985\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.1/command.go:1041\nmain.main\n\tgithub.com/jaegertracing/jaeger/cmd/ingester/main.go:107\nruntime.main\n\truntime/proc.go:272"}

Screenshot
No response
Additional context
No response
Jaeger backend version
v1.64.0
SDK
No response
Pipeline
No response
Stogage backend
No response
Operating system
No response
Deployment model
No response
Deployment configs

@mahadzaryab1 we missed something in the upgrade, perhaps we need to set that flag manually if OTEL struct doesn't expose it.

@edefaria thanks for reporting. Restoring previous behavior in #6335


hebcal: 4.14 -> 4.15

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/hebcal/versions.
meta.description for hebcal is: '"A perpetual Jewish Calendar"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15/bin/hebcal passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 4.15 with grep in /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15
directory tree listing: https://gist.github.com/3a2a1662c7faaaec81b584c8bd98feea
du listing: https://gist.github.com/45d4416bac332ae65ea79109af810ed2

Outpath report (click to expand)

Outpath difference report
4 total rebuild paths
1 package rebuilds
1 x86_64-linux rebuilds
1 i686-linux rebuilds
1 x86_64-darwin rebuilds
1 aarch64-linux rebuilds
First ten rebuilds by attrpath
hebcal

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A hebcal https://github.com/r-ryantm/nixpkgs/archive/14ee6207385643d3535d9b3adf61be7c28771cf8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15
ls -la /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15/bin

cc @hhm0 for testing.

Success on x86_64-linux (full log)
Attempted: hebcal
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15
shrinking /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15/bin/hebcal
gzipping man pages under /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15/bin
patching script interpreter paths in /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15
checking for references to /build in /nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15...
/nix/store/ki3ksdvmjdf6fajy07jrfkxzlwx4xcqp-hebcal-4.15

Success on x86_64-darwin (full log)
Attempted: hebcal
Partial log (click to expand)
 /nix/store/acnfbicd84bnya2l2dq868b5l482qihw-coreutils-8.30/bin/install -c -m 644 hebcal.1 '/nix/store/kc0yan846qqkvl510hx7x3a12inllv60-hebcal-4.15/share/man/man1'
make[3]: Leaving directory '/private/tmp/nix-build-hebcal-4.15.drv-0/source'
make[2]: Leaving directory '/private/tmp/nix-build-hebcal-4.15.drv-0/source'
make[1]: Leaving directory '/private/tmp/nix-build-hebcal-4.15.drv-0/source'
post-installation fixup
gzipping man pages under /nix/store/kc0yan846qqkvl510hx7x3a12inllv60-hebcal-4.15/share/man/
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/kc0yan846qqkvl510hx7x3a12inllv60-hebcal-4.15/bin
patching script interpreter paths in /nix/store/kc0yan846qqkvl510hx7x3a12inllv60-hebcal-4.15
/nix/store/kc0yan846qqkvl510hx7x3a12inllv60-hebcal-4.15

Success on aarch64-linux (full log)
Attempted: hebcal
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ygv6mfvj5xkww8626z25h7fwqkzp8hri-hebcal-4.15
shrinking /nix/store/ygv6mfvj5xkww8626z25h7fwqkzp8hri-hebcal-4.15/bin/hebcal
gzipping man pages under /nix/store/ygv6mfvj5xkww8626z25h7fwqkzp8hri-hebcal-4.15/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ygv6mfvj5xkww8626z25h7fwqkzp8hri-hebcal-4.15/bin
patching script interpreter paths in /nix/store/ygv6mfvj5xkww8626z25h7fwqkzp8hri-hebcal-4.15
checking for references to /build in /nix/store/ygv6mfvj5xkww8626z25h7fwqkzp8hri-hebcal-4.15...
/nix/store/ygv6mfvj5xkww8626z25h7fwqkzp8hri-hebcal-4.15


score_val, score_test of each model in the summary performace

What is the meaning of the negative values of the score_val or score_test of the model performance? How to get the score?

?

AutoGluon always shows scores in higher_is_better form. This means the sign is flipped for metrics such as log_loss, and -2.04 score_val for log_loss means 2.04 log_loss.

Got it! Thanks.
One more question: If I do not set the tuning_data in the predictor.fit(), autogluon will leave out some data from the train dataset as the validation dataset? if yes, how does this work? does it use the K fold validation method for validation in the model selection procedure(which metric/dataset does it use to select the best model as the based model of WeightedEssemble model)?

Yes. It is based on the size of the data it will take a stratified % of training data as validation. AG will tell you in logs what metric it uses to select the best models. It uses the validation data when weighting the weighted ensemble.

Yes. It is based on the size of the data it will take a stratified % of training data as validation, with the percentage decreasing with more rows of data. AG will tell you in logs what metric it uses to select the best models. It uses the validation data when weighting the weighted ensemble.

What does "with the percentage decreasing with more rows of data" mean?  Assuming that there are 200 data in regression problem, 70% for train and 30% for test, then what stratified % would AG choose for the validation?

https://github.com/awslabs/autogluon/blob/51b20c4a18de148b4f06b384e56b102c86727153/core/src/autogluon/core/utils/utils.py#L267

https://github.com/awslabs/autogluon/blob/51b20c4a18de148b4f06b384e56b102c86727153/core/src/autogluon/core/utils/utils.py#L267

Thanks a lot!
So the validation data are only used when weighting the weighted assemble not in the fitting of each base model if there is no tuning data in .fit()? If yes, then how to drop the assemble procedure when only base models are needed in the project?

https://github.com/awslabs/autogluon/blob/51b20c4a18de148b4f06b384e56b102c86727153/core/src/autogluon/core/utils/utils.py#L267

Another question: Will AG still hold a stratified % of training data as validation if I set the tuning data in .fit()? Then how AG works with the tuning data? I am confused with the two datasets- validation dataset(AG hold itself) and tuning_data(set by the user), how they work and what's the difference in the training procedure?
Thanks.

tuning_data replaces the stratified % if specified. tuning_data == validation data.
tuning data is used to tune models, including weighted ensemble.
just specify the model you want to use during predict to avoid using weighted ensemble via predictor.predict(data, model_name)

I would recommend reading the documentation. This may answer your questions: https://auto.gluon.ai/stable/api/autogluon.task.html#autogluon.tabular.TabularPredictor.fit


Now the jobs are directly filtered by failing builds

Pull Request Test Coverage Report for Build 1197

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

Totals

Change from base Build 1192:
0.0%

Covered Lines:
1881

Relevant Lines:
3506

💛  - Coveralls


[HOLD for payment 2024-09-25] [$250] Contact Method - Magic code doesn't arrive unless user requests again

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.81-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Login to staging as a new user
Go to profile settings-->Contact Methods
Wait for the magic code to arrive

Expected Result:
Magic code is sent to the email
Actual Result:
Magic code is not sent to the email unless the user clicks "Didn't receive a magic code?"
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/1c0ede88-1b11-4337-9c35-90ff0eab2fcc
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0107ec935581e086f0
Upwork Job ID:<PHONE_NUMBER>461508272
Last Price Increase: 2024-08-22
Automatic offers:

wildan-m | Contributor | 103693808

Issue OwnerCurrent Issue Owner: @allroundexperts

Marking as external so we might get help from contributors sooner

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~0184d64a438e2e09d2

I wasn't able to reproduce this in staging. Adding a new contact method sent me the email.

Gonna demote to NAB

@lanitochka17 Is this still happening? Seems to be fixed for me as well.

Issue is still reproducible
https://github.com/Expensify/App/assets/78819774/93e2a4ca-8f00-49aa-8c26-2757af1f0d3b

@lanitochka17 is this still occurring on staging?

Closing for now as I cannot reproduce

Issue is still reproducible on the latest build 9.0.23-0
https://github.com/user-attachments/assets/07120aa2-f4c2-4e98-81ec-3a283c2878bf

Proposal
Please re-state the problem that we are trying to solve in this issue.
Magic code will not be sent unless the user requests it again.
What is the root cause of that problem?
We are not sending any request code unless it's manually pressed
What changes do you think we should make in order to solve the problem?
Modify this useEffect to call User.requestContactMethodValidateCode when validatedDate empty and validateCodeSent is false.
src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.tsx
    useEffect(() => {
        if (isEmptyObject(loginData)) {
            return;
        }

        User.resetContactMethodValidateCodeSentState(contactMethod);

        // initialCodeValidateRequestedRef is required to prevent duplicate calls in React strict mode
        if (!loginData?.validatedDate && !loginData?.validateCodeSent && !initialCodeValidateRequestedRef.current) {
            User.requestContactMethodValidateCode(contactMethod);
            initialCodeValidateRequestedRef.current = true;
            return;
        }
        // eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps
    }, []);

To prevent the "linkHasBeenResent" text from appearing on the initial page load, we can add a new state called "validateCodeSentIsPressed" to display the message only after the resent link has been pressed at least once.
src/pages/settings/Profile/Contacts/ValidateCodeForm/BaseValidateCodeForm.tsx
                        <Text style={[StyleUtils.getDisabledLinkStyles(shouldDisableResendValidateCode)]}>{translate('validateCodeForm.magicCodeNotReceived')}</Text>
                    </PressableWithFeedback>
                    {hasMagicCodeBeenSent && validateCodeSentIsPressed && (
                        <DotIndicatorMessage
                            type="success"
                            style={[styles.mt6, styles.flex0]}

Branch for this solution.
What alternative solutions did you explore? (Optional)
If we want to keep the user to trigger the validationCode manually, we can add new screen that contain the send validation button or at least change Didn't receive a magic code? to something Send magic code and replace the text to Didn't receive a magic code? when the button pressed at least once

@wildan-m's proposal looks good to me. The RCA is straightforward, and the solution makes sense as well.
🎀 👀 🎀 C+ reviewed

@allroundexperts @wildan-m Why can we not make the api request when user clicks the button that navigates them? it feels like a better spot for this api call than the useEffect. But both work

@mountiny I think that's better approach.
My proposal updated
I've added it as my 2nd alternative
@allroundexperts I will create the PR with that solution. Let me know if we still want to use the useEffect approach.

@allroundexperts The PR is ready for review. https://github.com/Expensify/App/pull/48047

$250 to @wildan-m and to @allroundexperts

cc @greg-schroeder

Payment summary:
Contributor: @wildan-m - $250 - will be paid via Upwork on 9/25
C+: @allroundexperts - $250 - can make a manual request via ND on 9/25

This isn't overdue

@wildan-m @allroundexperts have you been paid? Can we close?

I have noted it down. We can close it out.

Well, payment date is today, so I'm doing it now. :)

Paid

$250 approved for @allroundexperts


SSL handshake failed on zig-play.dev

I'm hitting this error when going to https://zig-play.dev (on 2 different ISPs I could try at home):

Hello, sorry for the errors. I recently switched hosting providers and I think I missed the expiry date here. It should be good to go now.

All good, thanks a lot!


Fix mixer source namespace attribute when dot in pod nam

cherry-pick https://github.com/istio/istio/pull/19022 into release-1.3

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

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

Hrm. Same thing in the kubelet logs:
Nov 25 05:27:39 istio-testing-control-plane kubelet[283]: E1125 05:27:39.314079     283 pod_workers.go:191] Error syncing pod 194a2fd2-249e-4261-be27-6a3aab126a85 ("statefulset-0_istio-system(194a2fd2-249e-4261-be27-6a3aab126a85)"), skipping: failed to "StartContainer" for "app" with ErrImagePull: "rpc error: code = Unknown desc = failed to pull and unpack image \"docker.io/istio-testing/app:istio-testing-distroless\": failed to resolve reference \"docker.io/istio-testing/app:istio-testing-distroless\": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed"

@chaudyg: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-tests_istio_release-1.3
e531452b59fb76814e7092c409865afadce54452
link
/test integ-new-install-k8s-tests_istio_release-1.3

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


Fixes related to using the azure storage CLI

container-gc:

Set $AZURE_STORAGE_KEY, which prevents the CLI from getting it using
the API -- which has caused very frequent throttling failures.

Auto-delete version infos that might have been made during a
build (and therefore they can be outdated).

Sleep much less before deletions start.

Add a "refresh" option to refresh an info file.

get-stats.js:

Use a specific environment variable for the stats storage access,
since the azure function is now on its own container.

Most of these were motivated by API throttling issues.

@elibarzilay,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Create NFT_Observer.md

Project Abstract

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

For which grant level are you applying?

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

Application Checklist

[x] The application template has been copied, renamed ( project_name.md) and updated.
[x] A BTC or Ethereum (DAI/USDT) address for the payment of the milestones is provided inside the application.
[x] I have read and acknowledged the terms and conditions.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted.

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

Thank you for your response, NFT Observer is and will be written in following programming languages: React JS, Node JS, PostgreSQL, and Strapi, which is mentioned in the application.
Yeah it is and will be based on https://kedruga.com/nftobserver, it's a usable website which went through mockups, design and development phases and now we'll be extending its functionality through the help of W3F grants program.

What should I update? Programming languages are already in the application https://github.com/w3f/Grants-Program/pull/795/files#diff-be57b97284aaeb5c04999fda17639e168b86b5bfa2f5cb912b19f00b8ab9d258R18
and you were only asking about mockup but we have the whole website ready, do you want us to share the mockup of current website?

NFT Observer is simply just a single page website which showcase NFTs in two categories:

🔥 HOTTEST OF THE HOUR (Premium category)
👑 FRESHEST OF THE DAY (Free category)

For any NFT project who wants to get listed in our first category, they need to provide few information about their project and have to complete the payment according to their NFT blockchain by switching the Chain option.
For any NFT project who wants to get listed in our second category, they can either contact us on Twitter or we are constantly searching for blue chip projects that could be beneficial for investors to flip.
We only list projects that have good stats in a given day or hour, and when a day or hour ends we remove that project and lists new ones, as we are expanding our team we will be more active to search and list projects regularly. We've a dedicated Strapi CMS through which our team can CRUD the NFT projects.

Are you creating a front-end for the uniques pallet or are you planning on supporting a different pallet, smart contracts or even rmrk or even everything?

Nope, it's not in our application nor in our roadmap, but we'll surely do our research on it.
In first milestone we'll provide frontend source code of NFT Observer written in React JS, with the addition of Polkadot NFT projects and their stats into our website as we currently support ETH, SOL and BSC NFT projects.
In second milestone we'll make NFT Observer's whole backend, frontend and cms open source, which will be available to download through Decentralized Cloud Storage of Polkadot (IPFS), and we'll make all React components like button, table easy to customize by provide theme options in it.

Application updated, please have a look at it

@MusabShakeel576 unfortunately I'm with David here, I don't think the grants program is a good fit for your project. Best of luck nevertheless.

OK thanks, if there is any suggestion to help improve our application, it would be really appreciated, which will help us to learn from this experience for future.

That's a really helpful tip about transparency, but we were thinking about a wide range of adoption so NFT project owners don't have to deal with contracts to pay gas fees, which are relatively costly in Ethereum, where most NFT projects are being built.
So will we pave our project towards your vision? If yes then we'll update the application and step up to Level 2 ($50,000) because it looks like a more work than just a UI change https://github.com/w3f/Grants-Program#:~:text=applying for a smaller grant that only consists of%2C say%2C UI work
Or is this application closed now?

I’m closing the PR/application due to inactivity. Let me know if I should reopen it.


SSPR reset button

I activated the self service password reset service through intune, with writeback to AD.
The password reset works fine online, but not on the login screen.
When I click the 'Reset password' button, nothing happens and I get error message ""Something went wrong. Please, try again later."
When I then log in with my user credentials, suddenly the reset page does open.
Is there any logging on events of the reset button? It seems defaultuser doesn't have the appropriate rights to perform the action.
I already disabled my antivirus software, and we don't use proxy servers.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: c2015c6c-60c7-bb74-469c-e9320301d08a
Version Independent ID: 0ff19de6-c892-10ff-5fe8-f6a70abfa3f5
Content: Self-service password reset for Windows devices - Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/authentication/howto-sspr-windows.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

Of course:
https://learn.microsoft.com/en-us/azure/active-directory/authentication/howto-sspr-windows

@kristofvanwoensel
I'm going to assign this to the document author so they can take a look at it accordingly
@Justinha
Can you please check and add your comments on this doc update request as applicable.

@ManoharLakkoju-MSFT
Is there any other contributor you could assign this to? Thanks

@kristofvanwoensel sorry for delay. Yes, there is reporting available. See https://learn.microsoft.com/en-us/azure/active-directory/authentication/howto-sspr-reporting. For troubleshooting, see https://learn.microsoft.com/en-us/azure/active-directory/authentication/troubleshoot-sspr. #please-close


fix: update belongs to relation required logic to handle nested schemas

Description of changes
This PR adds a fix to the @aws-amplify/graphql-schema-validation package to support nested schemas
Issue #, if available
N/A
Description of how you validated changes
Unit tests added
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #1208 (7d7e9f9) into main (6a7b9f3) will increase coverage by 0.39%.
The diff coverage is 64.82%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1208      +/-   ##
==========================================
+ Coverage   63.14%   63.54%   +0.39%
==========================================
  Files         278      295      +17
  Lines       18125    18562     +437
  Branches     4375     4487     +112
==========================================
+ Hits        11445    11795     +350
- Misses       6093     6149      +56
- Partials      587      618      +31

Impacted Files
Coverage Δ

...y-api/src/graphql-transformer/auth-mode-compare.ts
10.00% <ø> (ø)

...udformation/utils/migrate-api-override-resource.ts
64.28% <0.00%> (ø)

packages/amplify-dynamodb-simulator/index.js
82.03% <ø> (ø)

...-graphql-auth-transformer/src/utils/definitions.ts
100.00% <ø> (ø)

...l-http-transformer/src/graphql-http-transformer.ts
96.21% <ø> (ø)

...index-transformer/src/graphql-index-transformer.ts
98.96% <ø> (+0.02%)
:arrow_up:

...transformer/src/graphql-primary-key-transformer.ts
97.36% <ø> (+0.07%)
:arrow_up:

...ges/amplify-graphql-index-transformer/src/index.ts
100.00% <ø> (ø)

...amplify-graphql-index-transformer/src/resolvers.ts
95.23% <ø> (-3.55%)
:arrow_down:

...es/amplify-graphql-index-transformer/src/schema.ts
97.03% <ø> (-0.79%)
:arrow_down:

... and 118 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


x/pkgsite: package update request for [github.com/grafana/k6build]

Hi.
We had a modules named gitbub.com/grafana/k6build and another package named github.com/grafana/k6build-service
We decided to rename the repositories in git:  k6build  --> k6factory and k6build-service --> k6build.
So effectively k6build is now in a different repository.
The problem is that now https://pkg.go.dev/github.com/grafana/k6build points to the initial repository for k6build (the one before the rename) and not to the new repository. If we publish a new release in the new repository, it is not reflected.
I will appreciate your help.

Closing as it appears neither repo is available.

@seankhliao both repos are private. I can make then public if needed.

pkg.go.dev will only index public repos. if there is any documentation, it will have been from when the repo is public.

@seankhliao I made both repositories public


Fix including of .

 introduces C macros but, by itself, it's still a C++ header.

resolves SWDEV-241666

PRed in internal repo.


Card to Type text to Send to TIDBYT

Hello!
Made a quick card that allows you to send any text to the TIDBYT using notify-card:
type: custom:notify-card
label: Enter text
card_title: Send a Message!
notification_title: null
action: tidbytassistant.text
data:
  message: $MSG
  font: tb-8
  color: '#fff'
  content: $MSG
  texttype: scrolling
  devicename: your device name

I'm still new to HA, so if anyone knows how to make it so there are drop downs for selecting text, color and type, that would be sick!

This is not an issue related to this integration but I’ll help you out. You have to create input_select helpers for each field, and enter all the possible inputs for said field. So if you name your input_select for font input_select.tidbyt_font you do this in the yaml:
font: “{{states(‘input_select.tidbyt_font’)}}”

Then put those helpers on your dashboard. There should be a card for it.

Sounds good! Meant to post as an enhancement not an issue. Sorry! Thanks
for the help.
On Sun, Sep 15, 2024 at 6:51 PM Bruce @.***> wrote:

This is not an issue related to this integration but I’ll help you out.
You have to create input_select helpers for each field, and enter all the
possible inputs for said field. So if you name your input_select for font
input_select.tidbyt_font you do this in the yaml:
font: “{{states(‘input_select.tidbyt_font’)}}”
Then put those helpers on your dashboard. There should be a card for it.
—
Reply to this email directly, view it on GitHub
https://github.com/savdagod/TidbytAssistant/issues/3#issuecomment-2351820556,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4JVAERM4MMC27S2QKJXOQ3ZWYFNZAVCNFSM6AAAAABOHX6QLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRHAZDANJVGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Implement list_hosted_zones_by_vpc()

Currently moto does not support the list_hosted_zones_by_vpc() call.
Pretty sure I can implement this now that create_hosted_zone() works correctly, so just filing an issue to tie PRs to later.
PR#4471 already exists, but needs a lot of work.

Let me know if you need any help @pll!


Mechanical Crafter Deletes Items

Describe the Bug
When a crafter gets split into 2 sides because of misalignment, one side will start crafting despite it not having the full recipe, once you rotate it to align, it will delete the items currently crafting.
Reproduction Steps

Make a Misaligned Mechanical Crafter

Craft something on one of the sides

Rotate to align with other half

Items dissapear

Expected Result
Items being crafted pop out instead of dissapearing, because it failed to craft
Operating System
Windows 10
Mod Version
0.5.0g
Minecraft Version
1.19.2
Other Mods
Flywheel, Jade, Sodium, Lithium, Phosphor
Additional Context
LAN enabled

can't reproduce. Could you record it?

If anyone is able to reproduce this issue on the latest patch feel free to make a new one


Enable changing root path to Git repository

Hello, sorry for never even answering :(
Could you let me know what would be the use case for this? Is this for having just Content/ tracked by git?

@SRombauts See linked issue: https://github.com/SRombauts/UEGitPlugin/issues/75

Just adding some insight about it.
I am working on a mod for the SQUAD game which use UE4.27.
Moding files must be "Epic Games\SquadEditor\Squad\Plugins\Mods", with your plugin the git root will be put in the SquadEditor folder and all the files from the SDK will be add.
Moreover if working on several mods, we cannot use several git repo because the same ".git" folder will be used.
So the modding community is using perforce when the modding team can get a perforce.

I would love this also,


Friends > Plot friends only since the last year

Description
Extend functionality of plot_friends.py to specify from and to period. Currently doing for all time.
Something of the type: python plot_friends.py --from 2018-12-01, should support both --from and --to flags, both optional.
Mocks
Steps to reproduce (Incase of a bug)
NA
Acceptance Criteria
Update [Required]

[ ] Support --from and --to flags in plot_friends.py

Enhancement to Update [Optional]

[x] [LIST ITEMS]

Definition of Done

[ ] All of the required items are completed.
[ ] Approval by 1 mentor.

Estimation
4-5 hours after having an idea of original code

@GalenWong you're welcome to :smile: !
Assigning this issue to you. Just have a look at plot_friends.py and make the necessary changes to support the suggested flags.

hi, I would like to contribute to the issue.

Hi @aditya9706!
Sure, have a look at #30 for reference.
P. S: This project is no longer a part of open code, if you wish to have your contribution accounted for there.


Document development process

Add a detailed development process for contributing to the TErdle project.

Added PDF with development process.


Implement Fine-Grained User Permissions for Accessing and Modifying Favorite Sections

What is the motivation for adding/enhancing this feature?
To prevent unauthorized access and modification of favorite sections, ensuring data security and integrity. Currently, users can access and modify each other's favorite product stores without proper permissions, leading to potential misuse of resources. Implementing fine-grained user permissions will provide control over who can access, select, and modify favorites, enhancing overall system security and user trust.
What are the acceptance criteria?
User permissions for accessing, selecting, and modifying favorite sections are clearly defined and configurable.
Administrators can set granular permissions to control access to favorite sections based on user roles and responsibilities.
Users can only access, select, or modify their own favorite sections by default.
Actions related to accessing, selecting, and modifying favorite sections are logged for auditing purposes.
User documentation is updated to explain the new permission settings and how to configure them.

Not required. Hence, closing.


Request: Version 3 changelog/description

I am in a situation where different graphql packages I'm using import a version 2 and a version 3 alpha of graphql-config. The inner dependencies on @graphql-toolkit are strictly versioned in this package and this seems to be causing me some yarn difficulty when it is trying to resolve the versions.
It might be simplest for me to use resolutions to specify only one version of graphql-config but I have no idea what the difference is in version 3. There's no mention in the readme, there's no CHANGELOG.md, and the alpha releases are not listed on the releases tab. A major version in semver indicates breaking changes - it would be helpful to at least know what those are.

CHANGELOG.md and  Migration chapter in docs


chore: devcontainer / precommit hooks

The objective of this PR is to simplify the procedure of bringing new developers onboard and ensure a smooth and consistent experience for them. Furthermore, the goal is to lay a solid groundwork for a successful open source project.
This includes the usage of devcontainers which is already widely supported by many IDEs (even Intellij!
What does it do?
To simplify development, it installs a fully working developer environment that includes essential binaries such as go, python, and shell settings, all within a container. This environment can be tailored to our specific requirements.
It also allow users to run it via Github Codespaces (we can a get it for free as an OSS project)
Why?
No longer need to maintain installation scripts, guides etc.
What else?

I added pre-commit framework to start enforcing rules on commit.
Some files were not correctly formatted
@manifestori (me) as a maintainer

@mikhailswift, @fkautz, or @veramine -- Any thoughts?

I've never used devcontainers before either.  Would you please add a couple of sentences to the README describing how to take advantage of the idea?  It might even be nice to have a "GETTING STARTED" section in the README that starts with git pull or however the devcontainers work.  I'll test out the procedure if you want to write it!  Thx

This LGTM, and I'm fine if we want to improve the documentation in a follow up. My only request @manifestori , can you please split the CODEOWNERS modification into its own commit? I think I would open a separate PR only for that change to keep the history isolated in case of a future audit?

Yes, for sure. Ill split it into a new PR.
Also, will add a doc for "getting started" with devcontainer. Already have something in motion.
Thank you all 😊

@manifestori: this should be good to go after the CODEOWNERS merge conflict is resolved :+1:


Replay multicast cached flows when Agent reconnects to OVS

Fixes #3184
Signed-off-by: wenyingd<EMAIL_ADDRESS>

Codecov Report

Merging #3185 (acd7519) into main (2ee6ad1) will decrease coverage by 20.23%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main    #3185       +/-   ##
===========================================
- Coverage   60.59%   40.35%   -20.24%
===========================================
  Files         297      169      -128
  Lines       25434    21396     -4038
===========================================
- Hits        15411     8635     -6776
- Misses       8345    11915     +3570
+ Partials     1678      846      -832

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
40.35% <0.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.


TANDEM Interrupts implementation

Also:

corev-dv end_of_test reworked to use tohost
random number peripheral disable

I will merge as it is needed on main branch


fix: cleanup streaming high-perf logs

Fixes #6649
Specific Changes

Fixes the high performance logging in the StreamingTransportClient from using the wrong EventId.Name

Specifically _clientCompleted and _clientKeepAliveSucceed

Adds NamedPipeConnectionStarted and NamedPipeConnectionCompleted for use in CloudAdapter.ConnectNamedPipeAsync() instead of using the incorrect WebSocketConnectionStarted and WebSocketConnectionCompleted.
Minor cleanup in logs for StreamingSession and TransportHandler

Pull Request Test Coverage Report for Build 356724

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.01%) to 78.979%

Files with Coverage Reduction
New Missed Lines
%

/libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/CloudAdapter.cs
1
77.14%

Totals

Change from base Build 355145:
0.01%

Covered Lines:
25936

Relevant Lines:
32839

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.AspNet.Core.dll


add ansible dockerfile

For this https://github.com/demisto/etc/tree/system_setup/developer_setup

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/developer_setup_ansible:1.0.5202
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/developer_setup_ansible/tags
Get started by pulling the image:
docker pull devdemisto/developer_setup_ansible:1.0.5202

Docker Metadata

Image Size: 95.29 MB

Image ID: sha256:e0d4c2382692199eae04ea005e9cf22315ec8461cc0d294babf3729961c648b7

Created: 2019-12-29T11:25:58.264944049Z

Arch: linux/amd64

Entrypoint: ["ansible-playbook","-i","inventory.txt","playbook.yml"]

Environment:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ANSIBLE_HOST_KEY_CHECKING=False

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:0c94f82ec3c768b4aff04ceeeb0cf0d27a41260d
org.opencontainers.image.version:1.0.5202

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/developer_setup_ansible:1.0.5222
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/developer_setup_ansible/tags
Get started by pulling the image:
docker pull devdemisto/developer_setup_ansible:1.0.5222

Docker Metadata

Image Size: 95.29 MB

Image ID: sha256:f34a95d5107b6d57168d60e4191dc4f609d668d9952c8b5be8166731be7a85fe

Created: 2019-12-31T07:41:07.97660903Z

Arch: linux/amd64

Entrypoint: ["ansible-playbook","-i","inventory.txt","playbook.yml"]

Environment:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ANSIBLE_HOST_KEY_CHECKING=False

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:8df5a6ef8cc016b5bd2a19096688cba694ee1017
org.opencontainers.image.version:1.0.5222


base.html instead of index.html on page 122

The PDF says on page 122:"Like in the previous section, we’ll be modifying Rango’s index.html template and ..." but the file "base.html" should be modified, shouldn't it?

and I think on page 129 it should be "Now navigate to the ABOUT page" instead of registration page, because the cookie-testing was added to the about() view.

Ahaha, thank you for the spot. Fixed! Cheers!


Documentation on Istio Federation with SPIRE on multiple mesh

Describe the feature request
Similar to #40589, I wanted to see if the team can point out an example/doc around mesh federation such that distinct meshes are able to communicate over mTLS and each mesh uses Spire for certificate provisioning.
The goal is that if I have cluster 1 in domain1.com and cluster 2 in domain2.com, then assuming the Spire servers federate, that workloads from cluster 1 can securely connect to workloads in cluster 2. Keep in mind that this is NOT a multi-cluster mesh, but rather distinct/independent meshes that form trust through the Spire federation.
Appreciate your guidance!
Describe alternatives you've considered
There are a number of issues that touch on this subject, but none seem complete and don't provide a working solution.
Affected product area (please put an X in all that apply)
[ ] Ambient
[X] Docs
[ ] Dual Stack
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

We are also considering mesh federation, would be great to have documentation/tutorials for this.


pecl install for grpc 1.4.0 fails on centos7

Trying to install php grpc extension fails (os = centos7)

pecl install grpc
...
configure: error: in /var/tmp/pear-build-defaultuserWMUQLd/grpc-1.4.0': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See config.log' for more details
ERROR: `/var/tmp/grpc/configure --with-php-config=/usr/bin/php-config' failed

Note that when I explicitly installing 1.3.2 then it works fine.

A c++ dependency was introduced since version 1.4.0. In centos7, you may likely need to install this before install the grpc extension:
yum install gcc-c++

Didn't help :(

Same as #11957


Fix cloth dupe

About the PR

If you make curtains using a carpet that costs 1 cloth, then when destroyed, two cloth may fall out with a 50% chance instead of one.
Why / Balance

fixed dupe
Technical details

Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog
:cl:

tweak: When curtains are destroyed, only 1 cloth drops out

Thanks for the fix!


Bug: Running the tool with the variant ENST00000302118:c.137G>A results in an error: "Error: Cannot read properties of undefined (reading 'hgvsc')".

Steps to Reproduce

Run the tool with the variant ENST00000302118:c.137G>A.variant-linker --variant 'ENST00000302118:c.137G>A'

Observe the error message.

Expected Behavior
The tool should correctly process the variant and return the expected annotations.
Actual Behavior
The tool fails with the error: "Error: Cannot read properties of undefined (reading 'hgvsc')".
Proposed Solution

Investigate the source of the error.
Ensure the variant data is correctly accessed and processed.

Acceptance Criteria

[ ] The tool correctly processes the variant ENST00000302118:c.137G>A.
[ ] The error "Cannot read properties of undefined (reading 'hgvsc')" is resolved.
[ ] Tests are added to verify the processing of similar variants.

This now relates to the change of hgvs to regions endpoint #14.
The error (now "Error: Cannot read properties of undefined (reading 'vcf_string')") still persists as now apperetly two VCF notations are given:
[{"A":{"vcf_string":["1-55039974-G-A","LRG_275-5428-G-A"],"spdi":["NC_000001.11:55039973:G:A","LRG_275:5427:G:A"],"hgvsp":["ENSP00000303208.5:p.Arg46His","ENSP00000501004.1:p.Arg46His","ENSP00000501161.2:p.Arg46His","ENSP00000518176.1:p.Arg165His","ENSP00000519087.1:p.Arg46His","ENSP00000519088.1:p.Arg46His","ENSP00000519089.1:p.Arg46His","NP_001394169.1:p.Arg46His","NP_001394170.1:p.Arg46His","NP_001394171.1:p.Arg46His","NP_001394172.1:p.Arg46His","NP_001394173.1:p.Arg46His","NP_001394174.1:p.Arg46His","NP_001394176.1:p.Arg46His","NP_777596.2:p.Arg46His","LRG_275p1:p.Arg46His"],"input":"ENST00000302118:c.137G>A","hgvsg":["NC_000001.11:g.55039974G>A","LRG_275:g.5428G>A"],"id":["rs11591147","COSV56162404","CM061163"],"hgvsc":["ENST00000302118.5:c.137G>A","ENST00000673726.2:c.137G>A","ENST00000673913.2:c.137G>A","ENST00000710286.1:c.494G>A","ENST00000713785.1:c.137G>A","ENST00000713786.1:c.137G>A","ENST00000713787.1:c.137G>A","NM_001407240.1:c.137G>A","NM_001407241.1:c.137G>A","NM_001407242.1:c.137G>A","NM_001407243.1:c.137G>A","NM_001407244.1:c.137G>A","NM_001407245.1:c.137G>A","NM_001407246.1:c.-598G>A","NM_001407247.1:c.137G>A","NM_174936.4:c.137G>A","NR_110451.3:n.427G>A","NR_176318.1:n.427G>A","NR_176319.1:n.427G>A","NR_176320.1:n.427G>A","NR_176321.1:n.427G>A","NR_176322.1:n.427G>A","NR_176323.1:n.427G>A","NR_176324.1:n.427G>A","LRG_275t1:c.137G>A"]}}]

Testing will be resolved through #5


use findstr not find in refine.bat

refine.bat in the windows distribution has this:
echo Getting Java Version...
java -version 2^>^&1
echo.=====================================================
for /f "tokens=*" %%a in ('java -version 2^>^&1 ^| find "version"') do (set JVERSION=%%a)
echo Getting Free Ram...

for /f "tokens=2 delims=:" %%i in ('systeminfo ^| findstr /C:"Available Physical Memory"') do (set freeRam=%%i)

I have Cygwin installed, so:
>which findstr
/cygdrive/c/WINDOWS/system32/findstr
# BUT
>which find
/usr/bin/find

I.e. the batch file catches unix find not windows find (which is the reason for a small error message ni https://github.com/OpenRefine/OpenRefine/issues/4106#issuecomment-903710691).
Please use findstr not find (as you already do in the "Available Physical Memory" check).

Ah good catch, yeah simple typo there in the refine.bat file.
@VladimirAlexiev Looking forward to your simple pull request to fix this easily!


postfix: allow users to send mails from their alias addresses

changed the sender-login-maps to return alias destinations, so users are allowed to send mails from their alias addresses

Ref hardware/mailserver#111

I have issues when sending mail with a domain alias on port 587. Is this related to this PR?


Mail::queue Failing for all requests

I have this method, which am using to send an email which is queued
public function submitEnquiry(LandingPageFormRequest $landingPageFormRequest) {

        $name = $landingPageFormRequest->get('name');
        $email = $landingPageFormRequest->get('email');
        $content = $landingPageFormRequest->get('message');

        Mail::queue('email.landing_contact_us', ['name' => $name, 'content' => $content], function ($message) use($name) {
<EMAIL_ADDRESS>$name);
<EMAIL_ADDRESS>'Test')->subject('Contact Us');
        });

        return back()->with('success', 'Successfully submitted the enquiry');
    }

And this is my template;
<!DOCTYPE html>

    <meta charset="utf-8">

{{ $content }}

{{ $name }}

For all requests I make, the jobs end up in the failed_jobs table.
Is there a way I could use to debug the problem or can you kindly point me in the right direction.
Am using Laravel Framework version 5.2.31, on OSX Yosemite version 10.10.5 and am using supevisord to process the jobs.
Thanks

@lawrence615 what driver are you using? supevisord is running ?

I am using mysql driver and supevisord is running.
What I have realized is, whenever I restart the supevisor,  by doing 'stop all' and then 'start all', everything works well.
But I also have another job, which sends SMS and which does not fail at all. Mail:send also works well.

Please ask on the forums.


fix(auth): update to new missing config error message

Requires deis/workflow-cli#169

This is failing CI (the status is wrong) because it doesn't seem to be using the requires syntax

@Joshua-Anderson you forgot to add deis/ to the front of workflow-cli. I edited your original comment to demonstrate the correct syntax. :)

@bacongobbler It does not use the deis prefix: https://deis.com/docs/workflow/contributing/submitting-a-pull-request/#cross-repo-commits
Note that jenkins only reads from the git commit body anyway, so editing the PR body has no effect.
I personally like the prefix better though, cause then GH auto-links it to the PR.

My changes to the help menu broke the e2e deis help tests, so I deleted the tests. However, I intend to reimplement the tests in my functional tests soon. Is that ok with everyone? Should I unset the LGTMs to get this re-reviewed?

Is that ok with everyone?

I think that's fine so long as there's a GitHub issue tracking the intent to re-implement the help tests. My LGTM stands and @vdice or someone else can re-review.

I think that's fine so long as there's a GitHub issue tracking the intent to re-implement the help tests
I opened deis/workflow-cli#182


Stale RigidBody without velocity for a while

When a RigidBody doesn't move for a while, setting it velocity after that have no effects.
#![feature(use_extern_macros)]

extern crate nalgebra as na;
extern crate ncollide2d;
extern crate nphysics2d;

use na::{Isometry2, Vector2};
use ncollide2d::shape::{Cuboid, ShapeHandle};
use nphysics2d::math::Velocity;
use nphysics2d::object::Material;
use nphysics2d::volumetric::Volumetric;
use nphysics2d::world::World;

const COLLIDER_MARGIN: f32 = 0.01;

fn main() {
    let mut world = World::new();
    world.set_gravity(Vector2::new(0.0, 0.0)); // NO GRAVITY !!
    world.set_timestep(1.0 / 60.0);

    //
    // Boring stuff
    //

    let geom = ShapeHandle::new(Cuboid::new(Vector2::new(
        10.0 - COLLIDER_MARGIN,
        10.0 - COLLIDER_MARGIN,
    )));

    let pos = Vector2::new(0.0, 0.0);
    let inertia = geom.inertia(1.0);
    let center_of_mass = geom.center_of_mass();

    let handle = world.add_rigid_body(Isometry2::new(pos, na::zero()), inertia, center_of_mass);

    world.add_collider(
        COLLIDER_MARGIN,
        geom,
        handle,
        Isometry2::identity(),
        Material::default(),
    );

    //
    // Here is the unexpected result:
    //
    // iterating 199 times on world with no velocity on our RigidBody,
    // then iterating once with a velocity should change our RigidBody
    // position.
    //
    // tweaking the iterations value gives me different results:
    //
    //  * iterations <= 138         evetything is fine, the RigidBody
    //                              position is changed
    //
    //  * iterations > 138          the RigidBody can't move anymore
    //
    // I have no idea if this value is proper to my computer or if it
    // have any meanings for the engine, but changing the timestep seems
    // to have no consequences.
    //

    let iterations = 200;
    for x in 0..iterations {
        {
            let body = world.rigid_body_mut(handle).unwrap();
            let velocity_x = if x == iterations - 1 { 10.0 } else { 0.0 };

            body.set_velocity(Velocity::linear(velocity_x, 0.0));
        }

        world.step();
    }

    let body = world.rigid_body_mut(handle).unwrap();
    println!("RigidBody position is: {}", body.position().translation);

    // RigidBody position is: Translation {
    //   ┌       ┐
    //   │ 0.000 │
    //   │ 0.000 │
    //   └       ┘
    // }
}

I also tried to apply a null force through a custom ForceGenerator for some steps, then apply a linear force, but the same issue appears. This makes me belive there is some optimisation in the engine that might cause this issue.
I started learing rust yeasterday so i don't feel like i can track down the but in the engine sources :/

calling .activate() per object also works like a charm.
Thanks for your answer and your wonderful work on this project!


Pure Scala.js project: Missing org.scalatest.tools.Runner

I am using ScalaTest in a pure Scala.js project.
I have a non-crossproject build, declaring a "%%%" dependency like:
libraryDependencies ++= Seq(
  "org.scalatest" %%% "scalatest" % "3.0.0-RC2" % "test"
)

This works well with sbt, but gives an error in IntelliJ (IntelliJ IDEA 2016.2 EAP, Build #IU-162.844.8):
java.lang.ClassNotFoundException: org.scalatest.tools.Runner

If I additionally include a "%%" dependency, everything works fine:
libraryDependencies ++= Seq(
  "org.scalatest" %%% "scalatest" % "3.0.0-RC2" % "test",
  "org.scalatest" %% "scalatest" % "3.0.0-RC2" % "test"
)

Is this really the way to go, or am I missing something?

Related to #743 perhaps? I had the same problem. Your extra '%%' dependency works for me too. All I can add sorry.


Enable connection to a Remote Cluster for easy development

Describe the feature
As a contributor/developer of flux, I want to make changes and easily test it without waiting to rebuild all the image and deploy it to minikube.  This process takes 3-5 minutes on my laptop.

There is already a PR for this but I think it's already staled https://github.com/weaveworks/flux/pull/1156. I want to keep it going so I'm proposing my change in a new PR https://github.com/weaveworks/flux/pull/2140.

Fixed from #2140


Support for PowerPC architecture

At least the CMakefile "-mno-avx2" would need updating to support a different architecture (not x86_64) to support Power9/10 architecture. There quite powerful systems (HPC) running on IBM architectures and it would be good to be helpful to run PyMatching on those.

I believe this is now fixed as of #92 and #94


REST API testing tutorial

Hi I think this is wrong typed:
API tests are usually much easier to build that UI tests. The formula you’re going to apply over and over (with small variations) is:
may be it is meant
API tests are usually much easier to build than UI tests. The formula you’re going to apply over and over (with small variations) is:
if not please remove it

Thanks, I made the correction in the website's source and it'll be available next time I publish.


[Bug] tooltip.axisPointer.snap:true not working well with sampling: 'lttb'

Version
5.4.1
Link to Minimal Reproduction
https://github.com/jeandet/JS_experiments/blob/2e81d1179781fa30f569fd818d0276d21a9b3def/eCharts/index.html
Steps to Reproduce
Just load the html file and compare tooltip while zoomed or not. Then replace sampling by 'max' for example and repeat.
Current Behavior
When zoomed out tooltip doesn't always show all series values while they have the exact same sampling time, this seems to be due to lttb resampling algorithm. Not sure why it doesn't preserve the same time for each pixel, assuming it only downsample to ~2 values per pixel.
Expected Behavior
Using lttb resampling algorithm shouldn't affect resulting points time and so tooltip should show values for all series when they share the same source sampling rate/time.
Environment
- OS:Linux
- Browser:Brave
- Framework:

Any additional comments?
The given example fetches data from a public WS.

I have a problem with the snapping. I have a charts that contains quite a lot of data and the AxisPointer will be left behind if I move my cursor quite fast. is there any solution for it?


Proposing New Component - Obfuscate Card Number - Areteans

Title: Obfuscate Card Number
Overview
A Number Masking React Component is a user interface utility designed to display sensitive numerical data, such as card numbers, in a masked format for security and privacy. This component is commonly used in financial and e-commerce applications to prevent exposure of complete card numbers, showing only the last few digits for identification purposes.
For example, a credit card number like 1234 5678 9012 3456 can be masked as 1234 5678 90** ****. This ensures sensitive information is hidden while still allowing users to recognize their card.
Usage
This component is ideal for any scenario requiring secure handling and display of sensitive numerical data, particularly in financial and payment-related contexts.
Apart from masking the input, component also provides a toggle to hide/show the user details like name, expiry date, card type, masked card number on the card layout derived from a decision table and output it via datapage.
As of now, logic is in place to check the starting digit of the card number and returning the card provider (ex: Mastercard) using cardTypeprop.
Configurations:
dataPageName – will be name of the datapage which will be the source to determine the card type.
cardTypeprop – property reference to which the card type is mapped in the above mentioned datapage.
isShowCard – toggle to show/hide the card layout.
Dependencies:
Styled Components
npm install styled-components
Component benefits

Enhanced Privacy and Security -->
a) Mask Sensitive Data: Displays only the last few digits of the card number.
b) Compliance with Regulations: Helps meet privacy and security standards like PCI DSS by ensuring that full card numbers are not exposed unnecessarily.

Better User Experience – Obfuscated card numbers convey a sense of security, making users feel safer while interacting with the application.

Popular Use cases:
a) Payment Gateways: To display saved cards securely.
b) Order History: Showing transaction details while maintaining privacy.
c) Account Settings: Listing linked cards or payment methods.

Attached the component code and detailed description with images below.
Obfuscate_Card_Number.docx
ObfuscateCardNumber.zip

Using a custom component to obfuscate the string is not the correct approach - you should configure the property on the server using access control policy to hide the value from the server so that the value is not sent to the server - if you want to hide on the client during input - you can use the password input component.
https://academy.pega.com/topic/creating-access-control-policy/v2
https://docs.pega.com/bundle/platform/page/platform/security/create-access-control-policy.html
see example

If you disagree with my response above, please add more comments.
If I don't see any update in a couple of days, I will close this issue as no action.

Under review – current suggestion is to enhance the input mask component in the UI gallery to obfuscate all digits on blur


[FEATURE] Add module name to wash claims inspect JSON output

Is your feature request related to a problem? Please describe.
When using wash claims inspect ... -o json, the output is missing the module name (that you get in the text output.
╰─❯ wash claims inspect *_s.wasm -o json

{
  "expires": "never",
  "module": "MCS4LE7KZIZRYLWRG7VKBLF74FQLY66YTV3BECLNVBJ4XAHH6PNKEJOH",
  "capabilities": [
    "HTTP Client",
    "HTTP Server",
    "Logging"
  ],
  "can_be_used": "immediately",
  "success": true,
  "call_alias": "(Not set)",
  "revision": 0,
  "version": "0.1.0",
  "account": "AD2NOEJORCTIWZU44DIPXZ5WFXCNBFUB5AXAYB6IQFU46QYZORJAYVUN",
  "tags": ""
}

╰─❯ wash claims inspect *_s.wasm

                             ifconfig - Module            <------ looking to get module name in JSON output
  Account       AD2NOEJORCTIWZU44DIPXZ5WFXCNBFUB5AXAYB6IQFU46QYZORJAYVUN
  Module        MCS4LE7KZIZRYLWRG7VKBLF74FQLY66YTV3BECLNVBJ4XAHH6PNKEJOH
  Expires                                                          never
  Can Be Used                                                immediately
  Version                                                      0.1.0 (0)
  Call Alias                                                   (Not set)
                               Capabilities
  HTTP Client
  HTTP Server
  Logging

This is a great first issue 😄

Is that code for "Jordan, write the Rust, its not that scary"
Fine....Ill try.  But if I end up rewriting wash in Go out of frustration, I blame you


Optionally replace ntpd with chronyd

[ ] Figure out chronyc auth/firewalling for ubuntu, since version 1 must use password auth over UDP
[ ] process checks
[ ] make allow directives configurable

@jyotty - openstack-ansible-security role installs the chrony service by default. Why don't we just use that role to install and configure chrony. We run the openstack-ansible-security role as a post deploy action.

cf. blueboxgroup/ursula-monitoring#150

retest


add support for sqlite-vec

using sqlite3-vec,
create a new test file for this class in tests/vector_stores/concrete/SqliteVectorStore_test.py and
create a new vector store class in standard/vector_stores/concrete/SqliteVectorStore.py

use tests/vector_stores/concrete/MLMVectorStore_test.py as a template

Okay!

MLMVectorStore_test.py not found in concrete folder, this is what i have in the repo tests/vector_stores/MLMVectorStore_test.py

typo use: https://github.com/swarmauri/swarmauri-sdk/blob/master/tests/vector_stores/MlmVectorStore_test.py


Hamiltonian Monte Carlo notebook exception ('cublas64_75')

The Hamiltonian Monte Carlo sample looks really promising and I'd love to try it out. I cloned the repository and attempted to execute it. I get several cells down but on the first "Using the Matrix Expression Library" cell I get:
System.DllNotFoundException: Unable to load DLL 'cublas64_75': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at Alea.DynamicInterop.cublasCreate_v2.Invoke(IntPtr )
   at A.c39ae6037153677652e6d07f8065f34d4.-ctor@1040-289.Invoke(Unit _arg3)
   at Alea.cuBLAS.Blas..ctor(Gpu c576ee02bf9031529e5bc6b09c7c03f66, FSharpOption`1 cdd5e91d5c509dec430918468c49a7937)
   at Alea.cuBLAS.Blas..ctor(Gpu gpu)
   at FSI_0014.Session..ctor(Gpu gpu) in E:\dev\AleaNotebooks\input.fsx:line 7
   at <StartupCode$FSI_0015>.$FSI_0015.main@() in E:\dev\AleaNotebooks\input.fsx:line 10
Stopped due to error

Is there some kind of set-up I need to do? I have the Cuda toolkit on my machine but I saw elsewhere I shouldn't need it? I searched my packages directory for cublas64 and didn't find anything.
In case it's important:
GPU is [0|3.0|GeForce GTX 680], Number of Cores 1536, GPU DRAM is 2.000 GB, Process is 64 bit (I have a better GPU elsewhere if that's the issue)
Prerelease IfSharp, master from a few days ago: https://github.com/fsprojects/IfSharp/commit/43af61ebecde2e9960c6a676f04eb2e666b69c79
Thanks for any suggestions!

Hi, this script uses cublas wrapping (and perhaps also cuRAND wrapping), to do that, you need also install CUDA ToolKit, and if you are using CUDA ToolKit 8.0, you should set Alea to use 8.0 toolkit (you can do it via env var): http://www.aleagpu.com/release/3_0_2/doc/faq.html#config_cuda_version

if you installed CUDA Toolkit, say 8.0, then make sure you added the env var as suggested above, and also the cublas64_75.dll should be in your PATH.

Thanks, I have 8.0 so your link was exactly the fix I needed, thanks.
If Alea could probe for the dll that's present i.e. cublas64_75.dll or cublas64_80.dll rather than requiring configuration that would be great. There are some circumstances where from a notebook it's awkward to either set an environment variable or adjust the app.config.


Can Varnish be configured with this player?

I'm trying to follow this tutorial to increase the number of wowza concurrent streams by configuring varnish
https://medium.com/@_wmconsulting/building-live-hls-stats-for-varnish-82891be3df66
Videos.js / Clappr.io
The player need to send the cookie created into each request, if are using a player based on hls.js library we need to add this configuration:
hlsjsConfig: {
	xhrSetup: (xhr, url) => { xhr.withCredentials = true }
}

Can the same be done with this player?

Looks like this will help? https://github.com/CookPete/react-player/issues/319#issuecomment-364036156

will give it a try


Revert "Add birthdate to userinfo endpoint."

Reverts DoSomething/northstar#531 for now, because Drupal. 💧

Closing this in favor of the fix in DoSomething/phoenix#7285.


Together AI vendor support.

Add support for Together models; for instance, the new Nous Mixtral is released there first.

Implemented full support, included description (context window) of the latest models, and rate limiting for the free tier.
https://github.com/enricoros/big-AGI/assets/32999/f997c93d-ba36-496e-a4e2-61d13bb416f8

Very fast performance!
https://github.com/enricoros/big-AGI/assets/32999/027e5d77-2adc-4546-910c-67accacac0bf

Awesome project indeed; unfortunately this feature seems to be broken atm; or there's an incompatibility with the API:

Unexpected token 'A', "An error o"... is not valid JSON

@qdrop17 I just tried it now and it works perfectly here.

Did you self-deploy or used the hosted version?
Anything special related to your API key? (lmk if you are able to provide a temp key for me to try, to check under the same conditions)

I self-deployed it. But the issue resolved itself when I retried. Maybe a temporary issue with the TogetherAI API.

I self-deployed it. But the issue resolved itself when I retried. Maybe a temporary issue with the TogetherAI API.

Thanks, very possible.


Add maximum and minimum timestamp hint for iterator

PCP: #6065
What have you changed?
fix #6065
Please explain in detail what the changes are in this PR and why they are needed:

Add hint_min_ts and hint_max_ts for IterOptions in engine_traits.
Implements TableFilter TsFilter which can skip scanning some unrelate SST files.
Add test test_ts_filter to verify the options works for the iterator.

After this pr, we can add the hint option for maximum or minimum commit ts for the iterator, it helps performance by avoiding scan some SST files totally for the rocksdb engine.
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?
Please select the tests that you ran to verify your changes:

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
Does this PR affect tidb-ansible?
no
Refer to a related PR or issue link (optional)
#6065
Benchmark result if necessary (optional)
Any examples? (optional)

@overvenus @5kbpers PTAL
change to use Bound in https://github.com/tikv/tikv/pull/6194/commits/b77f9a22f1c9c7b55aaf0141d0171598457965df

Could you add more tests for the exclusive range?

Could you add more tests for the exclusive range?

add in https://github.com/tikv/tikv/pull/6194/commits/4486eaac84fbbcb2f79e83ff884b19a08d0a74da

/test


Quick question...

How do you run the challenges ?
I am new to python (learning it) and I find your examples interesting since I am also resolving the challenges on my side using node.js.
I saw the two main files at the root of your repo :

prefix.py seems to consumes the stdin to build the data variable
solver.py looks like it contains a custom built python interpreter (!)

Since your solutions rely on variables that are not declared (such as data in day1p1.py), I suspect that you somehow combine the calls (something like python solver.py input.txt 2021/day1p1.py) but I have to admit I am lost...

Hello! solver.py is a very limited lisp-like programming language intended to be used in the REPL. However, it's very incomplete so I don't actually use it, because it wouldn't be able to solve most challenges.
prefix.py is concatenated with my files. On my local system, I have a prefix.py and a main.py, and I have a command that essentially does cat prefix.py main.py > src.py; python src.py, so that's how I run it locally. I have some utility commands aliased in my bashrc that help me with testing and such.

Ah ! I thought there was some kind of magic involved but it is file concatenation. Thanks for taking the time to answer.
BTW Awesome work !


Fix #13

Fixes

fix #13

Refactor

prettify error message display
rename view title of "YouTube Transcript" to "Transcript" (looks much better on mobile, since the view display name is already present)
clean up log statements

@lstrzepek It seems that my editor is causing changes in style. Do you prefer single or double quotations? ' or ". Also do you use semicolons in your project? ;

@lstrzepek Also when looking at the diff, try choosing the "Hide whitespace changes" option. For some reason, the diff check will show that I edited the entire file when I didn't.

Thanks again for your contribution @trey-wallis
I have no preferences but maybe I will commit some prettier file to at least have it consistent.


Lint preview (may be merged into #3945)

Integration tests don't run locally (still trying to figure that one out), so I'm using this to test changes.
I'm happy to switch to something else!  this was just the only thing I could find quickly, and I wanted to do a small check.

intended to be temporary, dropping it


Lunatic Rave 2: Rendered area doesn't expand to fit window.

With windowed mode in Lunatic Rave 2 the rendered area doesn't expand to fill the whole window.
Game window in D9VK:

d3dretrace running through wined3d:

d3dretrace running through D9VK:

System information

GPU: GTX 780
Driver: Nvidia 418.52.10
Wine version: wine-4.11.r11.g53dad92c
DXVK version: d9vk master as of 2019/07/05

Apitrace file(s)

https://ziemas.se/lr2-window-size.trace

Log files
LR2body_d3d9.log

When expanding the window of the trace, it seems to work fine for me here on Windows (ie. it stretches)
Can you verify the behavior for you is opposite (ie. clipped)

Yes, for me it stays the same size.
d3dretrace through D9VK after having stretched out the window:

Then this isn't my bug. I have no idea whose it is though :-/

I guess you had a reason for changing this in the first place but I can work around the issue by doing this.
diff --git a/src/d3d9/d3d9_swapchain.cpp b/src/d3d9/d3d9_swapchain.cpp
index a9e91379..8b824e33 100644
--- a/src/d3d9/d3d9_swapchain.cpp
+++ b/src/d3d9/d3d9_swapchain.cpp
@@ -434,8 +434,8 @@ namespace dxvk {
       VkViewport viewport;
       viewport.x        = 0.0f;
       viewport.y        = 0.0f;
-      viewport.width    = float(m_swapImage->info().extent.width);
-      viewport.height   = float(m_swapImage->info().extent.height);
+      viewport.width    = float(info.imageExtent.width);
+      viewport.height   = float(info.imageExtent.height);
       viewport.minDepth = 0.0f;
       viewport.maxDepth = 1.0f;

@@ -1070,4 +1070,4 @@ namespace dxvk {
     return m_presentExtent != oldExtent;
   }

-}
\ No newline at end of file
+}

Interesting, I'll take a look at this later :-)

Can you try with this?
https://github.com/Joshua-Ashton/d9vk/commit/8490b27bf20b3ee20d0aa5d850e430841415e7e0

Yes, that fixes the issue. :+1:

Can this bug be closed, then?


Can't minify module in build

It works when I run npm run start, but it won't build.
The error says
Failed to minify the code from this file:
./node_modules/react-particles-js/index.js:2

I actually sorted this out using:
"webpack": "4.16.5",
"webpack-dev-server": "2.9.4",
"webpack-manifest-plugin": "^2.2.0"

"mini-css-extract-plugin": "^0.9.0",
"html-webpack-plugin": "^4.2.1",


Always add new line after syntax highlighting on Android

After typing a word and pressing space on Android, the line I am currently typing is moved to a new line. This happens for every word. Erasing is also a pain.

Do you have the same problem in the demo window at http://codemirror.net/?

I tried this in the demo windows at codemirror.net, and I often see the same thing happen there.  I'm afraid the answer to this one is to just escalate upstream.

One comment at https://github.com/codemirror/CodeMirror/issues/3654 claims that this is caused by the "active-line" addon, which is indeed used here.  I find the addon very useful in practice, though.  (Without it, it's surpisingly hard to actually locate the cursor looking over a student's shoulder.)
I suspect a good start here would be to either look into fixing the active-line addon, or just detect that we're on a mobile browser, and disable it if so.

I've disabled active-line only on mobile devices.