add initial implementation of CUSTOM action in AuthorizationPolicy

This PR implements the CUSTOM action and tested manually for now, remaining work:

Fix to use the namespace of MeshConfig
Fix to properly support k8s service and ServiceEntry
E2E tests with sample ext_authz server

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[x] Does not have any changes that may affect Istio users.

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

@yangminzhu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
442a61a391fc97cfdb0f2f42721257a1277f4b0f
link
/test unit-tests_istio

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.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
442a61a391fc97cfdb0f2f42721257a1277f4b0f
link
/test unit-tests_istio

integ-pilot-k8s-tests_istio
442a61a391fc97cfdb0f2f42721257a1277f4b0f
link
/test integ-pilot-k8s-tests_istio

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.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
442a61a391fc97cfdb0f2f42721257a1277f4b0f
link
/test unit-tests_istio

integ-pilot-k8s-tests_istio
442a61a391fc97cfdb0f2f42721257a1277f4b0f
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
442a61a391fc97cfdb0f2f42721257a1277f4b0f
link
/test integ-security-k8s-tests_istio

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.

/test all

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
442a61a391fc97cfdb0f2f42721257a1277f4b0f
link
/test unit-tests_istio

integ-security-k8s-tests_istio
442a61a391fc97cfdb0f2f42721257a1277f4b0f
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
a1e9ca92f02f7bdd717460b8562341269157bad4
link
/test integ-pilot-k8s-tests_istio

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.

/test integ-pilot-k8s-tests_istio

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
442a61a391fc97cfdb0f2f42721257a1277f4b0f
link
/test integ-security-k8s-tests_istio

integ-multicluster-k8s-tests_istio
a1e9ca92f02f7bdd717460b8562341269157bad4
link
/test integ-multicluster-k8s-tests_istio

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.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
a1e9ca92f02f7bdd717460b8562341269157bad4
link
/test integ-multicluster-k8s-tests_istio

integ-ipv6-k8s-tests_istio
32b561095c721652a1e6a53af7d848537a3133a0
link
/test integ-ipv6-k8s-tests_istio

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.

/retest

@yangminzhu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
a18b9dcf42700af15c962c6476c9639ffb92a178
link
/test integ-multicluster-k8s-tests_istio

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.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
a18b9dcf42700af15c962c6476c9639ffb92a178
link
/test integ-multicluster-k8s-tests_istio

integ-security-k8s-tests_istio
a18b9dcf42700af15c962c6476c9639ffb92a178
link
/test integ-security-k8s-tests_istio

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.

/retest

@incfly thanks for the review, updated PR to address comments so far.
Also @istio/wg-networking-maintainers-pilot can someone take a look from the networking side? thanks.

@costinm @howardjohn could you help take a look? thank you.

@yangminzhu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
6db3eae7e30e5fa6a9de3719a53710bb6d7f828b
link
/test integ-security-k8s-tests_istio

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.

/test integ-security-k8s-tests_istio

@howardjohn I addressed the comments so far, there are some issues that I have planned to fix in a upcoming PR (e.g. the cluster.local domain), would you mind to approve if this looks good to you now? thanks.

@yangminzhu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
c188caaa9bf377514ceafa79d2483d9729777763
link
/test integ-multicluster-k8s-tests_istio

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.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
c188caaa9bf377514ceafa79d2483d9729777763
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-k8s-tests_istio
c188caaa9bf377514ceafa79d2483d9729777763
link
/test integ-pilot-k8s-tests_istio

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.

/retest

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
c188caaa9bf377514ceafa79d2483d9729777763
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-k8s-tests_istio
c188caaa9bf377514ceafa79d2483d9729777763
link
/test integ-pilot-k8s-tests_istio

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.

/test integ-pilot-k8s-tests_istio


Re-use formatters in the draft ui

An initial pass from our discussion in slack.

This is an initial pass based on our discussion in slack. This did reveal that we may want to somehow deal with punctuation separately, but it's a start. Let me know what you think.

Sorry, black reformatted everything :-/

I've encountered a few bugs today related to this change that I need to poke at.
e.g.
Let's test this -> title -> LET S TEST THIS
due to the regex stuff on the formatter side. Else, we may better off sticking with the original versions in the end.

Going to merge this, and then play around with the formatters a bit.


⚠ Turnos 24x7 has degraded performance

In 343465d, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1866 ms

Resolved: Turnos 24x7 performance has improved in 06b2f1a.


Add TypeScript type definition

Closes #148
I don't know if there is a better solution but this seems to work pretty good for me.

Found some small issues. Needs some more work.

I can't get the chalk.constructor to work both with and without new. The version right now only works without it.

@t-sauer All of our tests pass. What error are you seeing?

I put the tests into a Typescript file to see if everything is typed correctly (I assume most cases are covered in there).
So in the tests sometimes chalk.constructor is used with new and sometimes without new. Right now I get the following error for when it is used with new:
[ts] Only a void function can be called with the 'new' keyword.
[ts] 'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.

I am able to eliminate this error but then the cases where it is used without new aren't covered and I get an error there.

Not sure if the constructor will be supported by typescript, then. It's edge-casey anyway, so I would leave it untyped.

Can you add a ts-test.js file with some chalk usage and have it run in the npm test run script, like https://github.com/avajs/ava/blob/5ae434a07e9fc25a44f3d78d65b6bc949abeb4a4/package.json#L45 So we would know if it were to break in the future.

I colocated the typings with the test. That's how it is on DT and makes the most sense to me. If you disagree I can change it.

@sindresorhus Currently it's not possible to import chalk like this import chalk from 'chalk'; because there is no default export. I think if we add a default export, the definition could be written a lot more cleaner. Same like we do with AVA.

@SamVerschueren Exactly what I just changed. That also solved the problem of setting level and enabled.

What’s the status on this?

@j-f1 https://twitter.com/slicknet/status/782274190451671040


Feat: Onboardbase Integration

Problem Statement
Added Onboardbase Secrets Integration
Related Issue
Fixes #...
Proposed Changes
How do you like to solve the issue and why?
Checklist

[ ] I have read the contribution guidelines
[ ] All commits are signed with git commit --signoff
[ ] My changes have reasonable test coverage
[ ] All tests pass with make test
[ ] I ensured my PR is ready for review with make reviewable

PR is ready for review

@gusfcarvalho please we would like to find out the status of the review and a possible timeline

Hi @dantelex ! We are a bit busy this week with Kubecon, so I expect it to take a bit still.

@gusfcarvalho I understand, we've just had this open for over a month now. So a concrete estimated timeline would be awesome.

Hi @dantelex ! We are a bit busy this week with Kubecon, so I expect it to take a bit still.

Please remind this is an open source support maintained on our free time.
I personally cannot commit to it right now, as it first means I need to understand onboardbase solution to see if it is a fit with this projects scope to then see its implementation - as once it is merged, it is part of the code base that we maintainers will need to understand in order to provide any needed fix.
As stated in many other places, anyone is welcome to join the community meetings and help out with the project maintenance.

Hello!
I tried to execute the code locally this morning, but I think there are some issues with the go sum definition for aesdecrypt library, as it is trying to pull an unknown version.

Hey @iamnasirudeen  and @dantelex. Thanks for the interest in contributing to the project. I've seen some pretty pressing issues with this PR so far:

Uses libraries that are not Licensed;
Have zero test coverage
It is not a working code (with several code issues, from compile to runtime)
Does not have a documentation how to use it (which makes users lives particularly difficult)

Because of these four issues, I am not sure if it would really be the time for this contribution to be reviewed. I am moving it to WIP until all of these issues have been addressed.
Also feel free to ask questions on external-secrets-dev channel on kubernetes slack.

Hi @gusfcarvalho
I believe this PR should be ready.
We can continue with the review.
For the decrypt library, which is our in-house package that our customers use to decrypt our secrets. I have added it here as it is just a single file, but would still request to install the package itself to give us a single source for maintenance.
Thanks.

thanks for the updates. I will run some tests tomorrow. Meanwhile I'm letting the pipeline run to catch any linting/documentation issue.

hey @limistah ! It looks better now. I added some use cases that are not yet covered and might need some tweaks (and tests).
there are also some linting errors happening. You can reproduce them by typing make lint. To also check all of the files that we generate, you can run make reviewable.

Hi @gusfcarvalho
I have attended to the concerns here.
Please help to review.
Thanks.

@gusfcarvalho, thanks again. Do let us know if there's anything else

@gusfcarvalho, how are you doing? I wanted to check in on this and find out if there's anything missing to close this

Hello! I see this PR is still in draft. I personally would still like to see compatibility with DeletionPolicy (i.e. delete the Kubernetes Secret if the onboardbase secret is not found). Is there any chance we could have it? Also, please remember to bump this PR to not be in draft anymore whneever it's ready!

Hello! I see this PR is still in draft. I personally would still like to see compatibility with DeletionPolicy (i.e. delete the Kubernetes Secret if the onboardbase secret is not found). Is there any chance we could have it? Also, please remember to bump this PR to not be in draft anymore whneever it's ready!

Hi @gusfcarvalho
Thank you for reviewing.
By the deletion policy, do you mean we should support deleting the secret store when Onboardbase can not find a project and environment matching the credentials?
Or deleting the secret external secret
Or deleting the key on the external secret?


[tailscale-relay] Allow specifiying storageClassName when creating volumes.

does your chart have the service account and everything setup to do use that new feature yet?

ah, not really documented, but yes https://github.com/mvisonneau/helm-charts/commit/0f07722b7c0ad0cdaf0b3064e877860ab483e7da


Create view for Modal Functions and render Modal Functions inside of Garden view

Gardens will have modal functions as children in addition to the classic entrypoints. We need to

make a modal function detail view (equivalent to the existing entrypoint page)
render boxes for modal functions in the Garden page, just as entrypoints are currently rendered

I suspect that there will be enough subtle differences between entrypoints and modal functions to make this a totally separate page (albeit with shared lower level components) as opposed to parameterizing the existing entrypoint page. But it's up to the implementer to feel that out.

Shane has taken this most of the way and I'm gonna take it from here: https://github.com/Garden-AI/garden-frontend/pull/211

Closed by #211


chore: displaying social icons with valid social URL

Related Issue

Closes: #1982
Description
displaying social icons with valid social URL
Changes

implemented logic to show the icons only when the string is not empty
for GitHub, adding URL based on the collected GitHub username as some users are not adding GitHub account URL.

Screenshots

Original
Updated

@s2sharpit we need to change the json format

delete extra social accounts code
also, for github delete "gitHub": "https://github.com/Sahilll15",

@s2sharpit we need to change the json format

delete extra social accounts code
also, for github delete "gitHub": "https://github.com/Sahilll15",

Sure @priyankarpal

@s2sharpit we need to change the json format

delete extra social accounts code
also, for github delete "gitHub": "https://github.com/Sahilll15",

Sure @priyankarpal

Done @priyankarpal

@s2sharpit the changes have been made, so we need to update the documentation as well. You can create a separate issue for the documentation.

@s2sharpit the changes have been made, so we need to update the documentation as well. You can create a separate issue for the documentation.

Yaa Sure


Filter with data attributes

I was wondering if you can use the Filter feature without showing the value but using data attributes.
I have three groups called group-1, group-2 and group-3. I don't want to show the name of the group to the user but I still want to filter by group.

Doesn't the example on http://www.listjs.com/examples/data-attributes-custom-attributes do that? If you type in the timestamp 12345, you'll get Jony Stromberg.
Then you should be able to trigger the data attributes from selects or checkboxes as in http://codepen.io/JasonEspin/pen/zGvjwR or http://codepen.io/waynehoover/pen/KBqhF
Which is what I'm also about to try.
I'm missing an "official", best practice example for such filters though.

Oh! I didn't see it! Thanks for your comment.

This issue is quite old, but in case anyone stumbles upon it– I found the lack of examples for a simple filter rather frustrating.
https://codepen.io/Log1x/pen/LajRyo
Here is a straight-forward Codepen on filtering a list of items by category/group using purely data-attributes with no hard-coded valueNames.


Improve local testing scripts

run_ci_tests.sh is refactored and new scripts start_sshd.sh and
stop_sshd.sh is created as a result.
Now, instead of starting a new sshd instance on every run to
run_ci_tests.sh, new sshd instance is started and shared among runs of
run_ci_tests.sh to speed up the testing cycle.
Another important improvements to run_ci_tests.sh is that now it uses
a different target directory to avoid rebuilding all dependencies.
Since IDEs usually do not set RUSTFLAGS='--cfg=ci', run_ci_tests.sh
would usually rebuild all the dependencies and openssh.
This makes run_ci_tests.sh incrediably slow, and it also
affects IDEs checking, since now the IDEs also need to
rebuild the crate.
Changing the target directory to ci-target fixed this problem, and it
also has the new advantage that run_ci_tests.sh can be run
concurrently with the IDE checking and other cargo commands manually
run in terminal and the newly introduced check.sh.
check.sh is introduced to quickly check the syntax with flags
--all-fatures and run tests.
It is much faster than run_ci_tests.sh.
This PR is split from https://github.com/openssh-rust/openssh/pull/30 as it significantly improves the development experience.
Signed-off-by: Jiahao XU<EMAIL_ADDRESS>

This change is


lib/lists: introduce ifilter0, uniqBy, uniq, and fastUnique

Motivation for this change
TeXLive combine was really slow (at least when I first wrote this patch). uniqBy, uniq, and fastUnique are significantly more efficient alternatives to current standard library functions that should be used when possible.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This change is

I considered using filter, but given that my clone of Nix has the following FIXME:
/* Filter a list using a predicate; that is, return a list containing
   every element from the list for which the predicate function
   returns true. */
static void prim_filter(EvalState & state, const Pos & pos, Value * * args, Value & v)
{
    state.forceFunction(*args[0], pos);
    state.forceList(*args[1], pos);

    // FIXME: putting this on the stack is risky.
    Value * vs[args[1]->listSize()];
    unsigned int k = 0;

I figured not relying on it would be a better idea for robustly handling huge lists, which is where you really want to use fastUnique. If you did filter over {value, isDup} pairs and then map, I think you'd get the same amount of list allocations but would avoid computing uniqLength separately.

I considered using filter, …

After starting to write a comment to this effect, explaining why filter was not used and providing a short implementation for a theoretical VLA-free filter, I realized that this filter should probably be implemented in lib/lists and then used by uniq. This turned into ifilter0, which justifies existing on a future VLA-free–filter Nix by taking an ipred that is passed the current index, similar to imap0. This also still allows uniqBy to avoid construction of {value, isDup} pairs (via an elemAt list call in ipred). ifilter0 is clearer to read than the previous uniqBy (or even similarly commented uniqBy), and uniqBy is much simpler & clearer to read.

I created https://github.com/NixOS/nixpkgs/pull/214021 with a rebased and cleaned up version, I hope that's okay with you @bb010g!

I would really love to have at least the uniq functions from this - I find it puzzling that everyone seems to be happy with lib.unique.


add Konga as community tool

Hello this is a pull request following #755
I added Konga just after kongfig as it seems in the same theme, automated configuration.

closing because opened #760


services/ticker: add more filters to ticker query

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[x] This PR adds tests for the most critical parts of the new functionality or fixes.
[x] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[x] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[x] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
This PR adds filtering via multiple pair names or a single code on the ticker GraphQL query and updates the relevant tests. It also adds the baseAssetCode and counterAssetCode to the ticker response, to make it even more readable. It closes #1783 and #1784.
Why
This enables more powerful views of multiple aggregated markets. More details are in the issue linked above.
Known limitations
N/A

Something happened to this PR, the diff looks large and like it's got some things from master in it. Merged master into this PR by accident?

Merged master into this PR by accident?

Yup. I had committed some of your suggestions from the browser, accidentally merged upstream/master instead of ticker-v2, and didn't realize it until it was too late.


Validating the downloaded DASH video file

Hello,
Is there any way to get a checksum for the downloaded movie file from the DASH manifest ?
I would love to implement download verification in my app as I have a source file MD5 available.
Thanks :)

The DASH specification does not have a checksum field, no. Or at least the DASH IOP doesn't mention anything like that.

The DASH specification does not have a checksum field, no. Or at least the DASH IOP doesn't mention anything like that.

Yes. Indeed.
But the source video and audio files that are linked in the manifest do have an MD5 checksum. Is there any way to access these files stored in the IndexedDB?

Ah, I see, I had misunderstood you.
Well, we don't have any interface for loading individual media files from the stored manifests at the moment.
You could instead verify the checksums at download time by registering a response filter (see the license wrapping tutorial), that intercepts the media files as they are being downloaded, and verifies them then. You'd just want to watch for responses with the type shaka.net.NetworkingEngine.RequestType.SEGMENT.
If that's not the right solution for your use-case, and you absolutely need to be able to get the media files from indexedDB, I could mark this as an enhancement request.


Add tests in TFLite micro for Logistic Int8

gentle ping @petewarden for review ?

@giorgio-arenarm can you please resolve conflicts ?

Done, sorry about the delay

@petewarden @advaitjain, gentle ping for review

Rebased. @petewarden @advaitjain gentle ping for review

@giorgio-arenarm Can you please check reviewer comments and keep us posted. Thanks!

It has been 15 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

There is an internal discussion on whether the lookup table implementation is needed for ensuring bit-accurateness. Will update the issue once this is resolved. Sorry for the delay!

It has been 37 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

Removed LuT implementation and rebased

Removed LuT implementation and rebased

@petewarden gentle ping for review

@petewarden gentle ping for review

@giorgio-arenarm can you please check this internal errors
third_party/tensorflow/lite/micro/kernels/logistic.cc:51:47: error: implicit conversion increases floating-point precision: 'float' to 'double' [-Werror,-Wdouble-promotion]     TF_LITE_ENSURE_EQ(context, output->params.scale, 1. / 256);     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./third_party/tensorflow/lite/c/common.h:192:10: note: expanded from macro 'TF_LITE_ENSURE_EQ'     if ((a) != (b)) {                                                      \          ^  ~~ third_party/tensorflow/lite/micro/kernels/logistic.cc:51:47: error: implicit conversion increases floating-point precision: 'float' to 'double' [-Werror,-Wdouble-promotion]     TF_LITE_ENSURE_EQ(context, output->params.scale, 1. / 256);     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./third_party/tensorflow/lite/c/common.h:194:45: note: expanded from macro 'TF_LITE_ENSURE_EQ'                          __LINE__, #a, #b, (a), (b));                      \                          ~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./third_party/tensorflow/lite/c/common.h:152:39: note: expanded from macro 'TF_LITE_KERNEL_LOG'     (context)->ReportError((context), __VA_ARGS__); \     ~                                 ^~~~~~~~~~~ third_party/tensorflow/lite/micro/kernels/logistic.cc:55:23: error: implicit conversion increases floating-point precision: 'const float' to 'double' [-Werror,-Wdouble-promotion]         input->params.scale *         ~~~~~~~~~~~~~~^~~~~ ~ third_party/tensorflow/lite/micro/kernels/logistic.cc:133:62: error: missing field 'profiling_string' initializer [-Werror,-Wmissing-field-initializers]       activations::LogisticPrepare, activations::LogisticEval};

Done rebasing and resolving conflicts


[Bug]: Light Blue Sheep Head doesn't drop

General Info

[X] I am running a modpack
[X] I can reproduce this issue consistently in single-player
[X] I can reproduce this issue consistently in multi-player
[X] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
[ ] I am crashing and can provide my crash report(s)
[X] I am using the latest version of the mod

Forge version
43.1.2
Mod version
1.0.4
Java version
Java 17.0.3 64bit
Issue Description
For some reason, the light blue sheep head in particular doesn't drop. After killing around 500 light blue sheep with looting 3 on a server, I finally figured that there might be some glitch going on so I tested with a looting 255 sword in single player. I spawned several random color sheep as a control group and all of them dropped their heads, but I tried it on a dozen or so light blue sheep and not a single one dropped their head. I was able to get every single other color of sheep head, so this is specific to light blue.
Additional Information
No response

A new version will be up shortly fixing the problem


can you given an example of using tmhDynamicLocaleProvider in angularjs

I'm a newbie in AngularJs.  can you provide an example how to add the following to initialize the tmhDynamicLocale.
function(tmhDynamicLocaleProvider) {
tmhDynamicLocaleProvider.localeLocationPattern('/base/node_modules/angular-i18n/angular-locale_{{locale}}.js');
})

Could you please add the example to the description page of the project? I was lucky to stumble upon this page from Google. Others may not be so lucky.

@diaconesq I've just made a pull request with the change to README file showing example usage. I stumbled upon the solution here myself as well, luckily. Hopefully the owner @lgalfaso approves of this.

This won't work if the directory was minified. Is there a solution without exlcude it from minification?

@tom94zoe can you please elaborate a little more? If the locale files are not present anywhere to be read online, then you have the option to pre-load them into the cache as in #93

Thank you, the referenced issue is pretty much that what I searched.


Error in red

I'm in China, and when I use this tool to enter tips, I get an error in red. Is it possible to make an offline version without downloading the configuration file of the permanent assistant

write to me soon,please

What is the error?


Initial support for scala-native

This PR adds initial support for scala-native, current issues

ScalaTest is not yet available on scala-native, see https://github.com/scalatest/scalatest/issues/1112
There is no benchmarking yet for scala-native (same problem as Scala.js)
The sources for scala-native are exactly the same as JVM. Ideally this should be a shared source directory, but there are arguments against sharing across JVM and native. Furthermore it may be possible to do some optimisations that are only possible on scala-native (i.e. using stuff like CStruct?). Also just like with Scala.js, we may expose interopt

Codecov Report

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

@@           Coverage Diff           @@
##           master      #50   +/-   ##
=======================================
  Coverage   16.12%   16.12%
=======================================
  Files           5        5
  Lines         806      806
  Branches      241      241
=======================================
  Hits          130      130
  Misses        676      676

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 7f90008...c0f14d5. Read the comment docs.

🌟


error while gneration screenshot through ffmpeg-ffluent

ffmpeg(videoUrl)
.on('filenames', function (filenames) {
logger.info('Will generate ' + filenames.join(', '));
})
.on('end', function () {
logger.debug('Screenshots taken');
var url = config.clientPath + '/home/gugulydev/ouut_api/' + thumbsFolder + '/' + archive.id + '_thumbs.png';
return url;
})
.on('error', function (err) {
logger.info('Error' + err.message);
return null;
})
.screenshots({
count: 1,
folder: videoThumbs,
filename: 123-101-104 + '_thumbs.png'
});
when videoUrl is static , then it is working fine, but when passing this url dynamically then gives this error
"Error:ffmpeg exited with code 1: av_interleaved_write_frame(): Input/output error\nframe=    1 fps=0.1 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=0.0031x    \nvideo:383kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown\nConversion failed!\n"
please resolve issue

This is most likely not a fluent-ffmpeg issue. Please try it on command line with the same parameters (you can use the 'start' event to get the command line that gets executed).

I am using amazon cloud bucket.and it is working fine when I am passing static amazon cloud url. but while integrating with project , it always show this error

As stated above, please dump the actual command line executed using the 'start' event and confirm it works on command line. If it does, then it's a fluent-ffmpeg problem ; otherwise it's either a ffmpeg problem or an issue with the parameters you pass to fluent-ffmpeg.

hi,
can we use timeout option with takescreenshot function ?? like this:
ffmpeg({ source: videoUrl ,timeout:30})
.on('filenames', function (filenames) {
console.log('Will generate ' + filenames.join(', '))
})
.on('end', function () {
console.log('Screenshots taken');
var url = config.clientPath + '/home/gugulydev/ouut_api/' +
thumbsFolder + '/' + archive.id + '_thumbs.png';
cb(null, url);
})
.on('error', function (err) {
console.log('Error::' + err.message);
cb(err, null);
})
.screenshots({
// Will take screens at 20%, 40%, 60% and 80% of the video
count: 1,
folder: thumbsFolder,
filename: archive.id + '_thumbs.png'
});
On Fri, Jul 8, 2016 at 12:14 PM, Nicolas Joyard<EMAIL_ADDRESS>wrote:

As stated above, please dump the actual command line executed using the
'start' event and confirm it works on command line. If it does, then it's a
fluent-ffmpeg problem ; otherwise it's either a ffmpeg problem or an issue
with the parameters you pass to fluent-ffmpeg.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/564#issuecomment-231287312,
or mute the thread
https://github.com/notifications/unsubscribe/ATMHd5rhB7N6hekq6SALMnOZM2lqkZEjks5qTfHHgaJpZM4JHwrs
.

Closing as no answer was given to the info request. Please reopen if necessary.

s3 bucket signed url is not working its showing 'No such file or directory'


[App]: wandb launch job shows crash but actually running & run not showing in Run Workspace

Current Behavior
This bug happens in wandb launch workflow, the problem is very similar to https://github.com/wandb/wandb/issues/1526:

the run is running and logging but it's status in docker queue shows crashed
the run never shows up in any group in Runs Workspace in Web GUI inside the configured project even though the run is still running

I have no idea whether these two are related.
Expected Behavior
After I created a new launch job via wandb create job [Options] image <JOB_PATH>, I don't run it.
Then later on I run it via wandb launch --job <JOB_PATH> ...
I expect the run will shows up inside a group and starts to run by a continuously polling launch-agent.
Steps To Reproduce

create a new job via wandb CLI: wandb create job [Options] image <JOB_PATH>, at this time, no groups or runs are inside this job
starts a launch agent that is configured to watch for the correct launch queue
enqueue a launch job via wandb launch --job <JOB_PATH>
launch agent detects above job and starts to run it
the run starts and log metrics and show curves inside a group in my Runs Workspace
in Launch -> View Queue panel, this run's status should also be Running and it's under a group and associated with a job in that row.

Screenshots

Notice the filter is configured to show the runs of status running already, it is not the filters or the groups problem.

Environment
OS: ubuntu20.04 & macOS Sonoma 14.0
Browsers: chrome & safari
Version: 0.15.12
Additional Context
No response

Hi @zhuoqun-chen, would you mind sharing the name of the project and I'll take a look? If you're uncomfortable sharing here you can email me at<EMAIL_ADDRESS>Also, could you elaborate on this: "the run starts and log metrics and show curves inside a group in my Runs Workspace"
Are you seeing the run in the group? Or does it not exist in the UI at all?
Thank you,
Nate

Hi @zhuoqun-chen, would you mind sharing the name of the project and I'll take a look? If you're uncomfortable sharing here you can email me at<EMAIL_ADDRESS>Also, could you elaborate on this: "the run starts and log metrics and show curves inside a group in my Runs Workspace" Are you seeing the run in the group? Or does it not exist in the UI at all?
Thank you, Nate

Sorry, this sentence really is confusing, and it should be put into Expected behavior in my original issue post, which means normally I want to see this, but I don't see any run in the group now.
It indeed doesn't exist in the UI at all.

Hi @zhuoqun-chen , apologies for the delay here. As a follow-up on the above - could you please share the name of the project and I'll take a look? If you're uncomfortable sharing here you can email me at<EMAIL_ADDRESS>

Hi @zhuoqun-chen , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


chore: bdd-spring-1587702144 to 0.0.1

chore: Promote bdd-spring-1587702144 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


CellC South Africa

The range 2762 can be added for Cell C South Africa

The entire range appears to already be supported in our library since last year. Do you have a specific number that doesn't work?


Add execution driven support

Description TBD.

Hello, I'm looking to build an execution-driven RISC-V core performance model, to enable studies of multicore systems running interacting software threads, or studies evaluating effects of speculative execution on, for example, cache state. It looks like you've considered going execution-driven as a potential feature for Olympia. Is this still something on your roadmap? If so, what sort of goals you would be interested in working towards, and would be interested in accepting or collaborating on support for execution-driven simulation?

Hi Victor, there is a discussion about this here: https://github.com/riscv-software-src/riscv-perf-model/discussions/68
Olympia is only about a year old and the basics of the pipeline design is still being fleshed out.  Adding a functional back-end to the model is basically a wish list item until resources (volunteers) can be allocated to work on it.  You want to volunteer?  😄
The effort will consist of the following plans:

Define/determine which functional back-end tool to use (Spike, Dramajo, something new?)
Determine the requirements to support EDM: speculative path support?  functional speculation execution/rewind support? etc
Design an API to basically generate traces on-the-fly and feed into Olympia OR
Design an API to actually execute instructions at the correct moment in Olympia (drop trace)
etc, etc

So many issues/design points to consider, esp if we want Olympia to support multicore (think cohesive behaviors).  But that's a different set of requirements.

Thanks for the pointer to the discussion and the mention of Dramajo which I haven't looked into yet. I'm exploring options right now and might be able to allocate time to work on something down the line.

@klingaard Can you please complete the description of the issue, per discussion in the weekly sync?  cc: @knute-mips
Please feel free to unassign yourself after completing the description


Migration 6.4.0->7.3.2 S3 storage bucket name changed. Critical!!!

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
7.3.2
What operating system are you using?
Mac
Amplify Categories
storage
Amplify Commands
push
Describe the bug
After deploying the front-end updates today using the latest version (7.3.2) the links to S3 files are broken. We fetch the link to the file using the code below:
Storage.get('<directory_name>/logos/${logo_filename}', {level: "public"})
It turned out that Amplify created a new bucket and is now referencing this new bucket. Looking at this new bucket name it seems more like a bug than a planned update:
Environment name: staging
Old bucket name: <bucketName>-staging
New bucket name: <bucketName>staging-staging
No changes are being made in amplify/backend/storage/..../parameters.json and the "bucketName" value is still the initial one.
This is a major blocker currently because we can't use the older version of Amplify as it throws some incompatibility errors.
How can we use the Amplify service in our production environments if these kinds of bugs are getting to the production version of an AWS service?
Expected behavior
Amplify CLI should use the initial bucket name for the S3 storage service in a format "bucketName-${env}"
Reproduction steps
Do amplify push using old version (6.4.0) and then using a new version (7.3.2)
GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

In the meantime Amplify v. 7.3.3 came out. Using the latest tag in the build settings we are getting this buildtime error now:
Following resources failed
    Resource Name: <bucketName>staging (AWS::S3::Bucket)
    Event Type: update
    Reason: <bucketName>-staging already exists

@kaustavghosh06, @sachscode  thank you for looking into this and applying a bugfix!
But...
did you test it also before deploying a bugfix? I mean exactly my case where we already have a bucket? After upgrading to 7.3.4 we get the following errors:
UPDATE_IN_PROGRESS          S3Bucket AWS::S3::Bucket
Wed Nov 17 2021 08:57:32 GMT+0000 (Coordinated Universal Time) Requested update requires the creation of a new
physical resource; hence creating one.

UPDATE_FAILED   S3Bucket    AWS::S3::Bucket            Wed Nov 17 2021 08:57:32
GMT+0000 (Coordinated Universal Time) <bucketName>-staging already exists

UPDATE_ROLLBACK_IN_PROGRESS amplify-<apiName>-staging-173138-storages3ff95c5ff-A2VLVJAJRE2P
AWS::CloudFormation::Stack Wed Nov 17 2021 08:57:33 GMT+0000 (Coordinated Universal Time) The following
resource(s) failed to update: [S3Bucket].

2021-11-17T08:57:45.161Z [INFO]:
2021-11-17T08:57:45.162Z [INFO]: UPDATE_FAILED               storages3ff95c5ff                  AWS::CloudFormation::Stack
Wed Nov 17 2021 08:57:42 GMT+0000 (Coordinated Universal Time) Embedded stack arn:aws:cloudformation:us-east-
2:625262942667:stack/amplify-<apiName>-staging-173138-storages3ff95c5ff-A2VLVJAJRE2P/2a7bda00-5bff-11eb-
942e-0230bd8e0e32 was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The
 following resource(s) failed to update: [S3Bucket].

UPDATE_ROLLBACK_IN_PROGRESS amplify-<apiName>-staging-173138 AWS::CloudFormation::Stack Wed Nov 17 2021
 08:57:42 GMT+0000 (Coordinated Universal Time) The following resource(s) failed to update: [storages3ff95c5ff].

The same error appears with 7.3.5 and 7.3.6. Why is it trying to create a new resource if it's already created before? Does that mean that everyone who's trying to do amplify push with "legacy" Amplify apps are having this issue?

@kaustavghosh06, @sachscode do you have any ideas for a quick fix? Our development cycle is currently affected by this issue because we can't deploy any updates to this environment.

@ray415 Sorry for the trouble. Yes, we can help you getting unblocked. Which version of the CLI are you using right now? Given the current situation, would recommend doing the following list of steps. We have a few options out here
Use the new bucket created with the convention staging-staging for this current environment

Move to the latest version of the Amplify CLI (7.5.0+)
amplify env pull --restore
Confirm that you see amplify/backend/storage/cli-inputs.json file (if not - then run amplify update storage and confirm your settings and see if this file gets generated).
amplify push --force to confirm that your deployment is successful
Install AWS CLI and copy contents from the older bucket to the newer bucket using this command aws s3 sync s3://FROM_BUCKET s3://TO_BUCKET

For any other environment moving forward, we have taken care of the bucket-names with the fix mentioned above.
Use the older bucket - -staging

Move to the latest version of the Amplify CLI (7.5.0+)
amplify env pull --restore
amplify storage remove (removes storage locally)
amplify import storage (https://docs.amplify.aws/cli/storage/import/) and select the older bucket
amplify push

With the second approach you would be loosing out on updating the storage resource via the CLI once it is imported, hence would recommend the first option. But if you absolutely want the same naming convention as before, then would second option. Unfortunately there is no way in CloudFormation (which is the deployment service we use under the hood) to associate an existing bucket once it disassociates with itself.

@kaustavghosh06, thank you for the feedback! For the other environments, we are using CLI v. 6.4.0 as it is the latest stable one without any issues. For this environment, we used the "latest" tag in the build settings, so it was updated from 6.4.0 to 7.3.2. Later we also tried with 7.3.5 and 7.3.6.
Before trying out the options you described I would like to specify some details:

With the second approach you would be loosing out on updating the storage resource

What do you mean exactly by that? Does it mean that if we want to do amplify storage update it's not possible with the second approach?
What if we back up the files from the initial bucket, delete the bucket, and let it be recreated by the CloudFormation service like it's trying to do currently? Would that work?

Yes, that approach should also work. But please make sure to backup the files correctly with that approach.

@ray415 Were you able to get back on track?

@kaustavghosh06, thank you! Deleting the bucket worked.


Flesh out ToIdentifyDevelopmentTools.md

This is currently a stud.

How do we find stuff to put in our deps.edn files?


Display repair tasks

Potentially create a way to display per service pages

Possibly can put this into the event store for the service given it shares a similar structure. This will depend on whether or not its a very noisy list.

repair service branch.


[GLUTEN-8215][VL] Support cast timestamp to date

What changes were proposed in this pull request?
Velox cast timestamp to string has incorrect result, but cast timestamp to date seems to be correct.
(Fixes: #8215)
How was this patch tested?
new UT and existing GlutenCastSuite

cc @PHILO-HE Thank you.

It looks like CH ci fail due to this change. @PHILO-HE @zml1206
[2024-12-17T09:32:57.760Z] - Gluten - function to_date *** FAILED ***
[2024-12-17T09:32:57.760Z]   org.apache.spark.sql.catalyst.analysis.UnresolvedException: Invalid call to dataType on unresolved object
[2024-12-17T09:32:57.760Z]   at org.apache.spark.sql.catalyst.analysis.UnresolvedAttribute.dataType(unresolved.scala:160)
[2024-12-17T09:32:57.760Z]   at org.apache.gluten.extension.RewriteToDateExpresstionRule.rewriteParseToDate(RewriteToDateExpresstionRule.scala:98)
[2024-12-17T09:32:57.760Z]   at org.apache.gluten.extension.RewriteToDateExpresstionRule.visitExpression(RewriteToDateExpresstionRule.scala:66)
[2024-12-17T09:32:57.760Z]   at org.apache.gluten.extension.RewriteToDateExpresstionRule.$anonfun$visitPlan$1(RewriteToDateExpresstionRule.scala:56)
[2024-12-17T09:32:57.760Z]   at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
[2024-12-17T09:32:57.760Z]   at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
[2024-12-17T09:32:57.760Z]   at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
[2024-12-17T09:32:57.760Z]   at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
[2024-12-17T09:32:57.760Z]   at scala.collection.TraversableLike.map(TraversableLike.scala:286)
[2024-12-17T09:32:57.760Z]   at scala.collection.TraversableLike.map$(TraversableLike.scala:279)

My mistake, fixed in #8259 , thank you. @yikf


http://dbeaver.jkiss.org/ - This Domain Name Has Expired

It appears the domain housing download/documentation for DBeaver has expired.

Can't not download because of expired domains

Hi threetopia,
You can also download dbeaver cloning the repo on github and building his
sources.
https://github.com/serge-rider/dbeaver/#building
On Sun, May 8, 2016 at 8:48 AM, threetopia<EMAIL_ADDRESS>wrote:

Can't not download because of expired domains
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/serge-rider/dbeaver/issues/426#issuecomment-217711238

--
Atenciosamente,
Carlos Alberto Junior Spohr Poletto
carlos.inf.br

and obviously eclipse plugin url http://dbeaver.jkiss.org/update/latest/ is not working :(

For some weird reason domain auto-prolongation didn't work this time.
And when I tried to do it manually registrant billing system was broken or something (maybe due to weekend).
Hopefully our domain will be back today/tomorrow...
Till then you can use direct IP: http://<IP_ADDRESS>/

hehehe,
I also had similar problem with Brazilian NIC last year.
On Sun, May 8, 2016 at 12:18 PM, Serge Rider<EMAIL_ADDRESS>wrote:

For some weird reason domain auto-prolongation didn't work this time.
And when I tried to do it manually registrant billing system was broken or
something (maybe due to weekend).
Hopefully our domain will be back today/tomorrow...
Till then you can use direct IP: http://<IP_ADDRESS>/
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/serge-rider/dbeaver/issues/426#issuecomment-217726590

--
Atenciosamente,
Carlos Alberto Junior Spohr Poletto
carlos.inf.br

Now it should be Ok.
DNS update may take some time (not more than a few hours usually).

Thanks for the quick fix @serge-rider, I'm commenting here to confirm that the site is back up again!


⚠ Bofrost.at has degraded performance

In c51880d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1528 ms

Resolved: Bofrost.at performance has improved in 45add99 after 6 minutes.


Fix liqoctl build ci

Description
This pr fixes the build of liqoctl for different architectures and OSs.
Fixes #2245
How Has This Been Tested?

[x] locally

/test

/merge


[Bug] SankeyChart resize Error

Version
1.1.0
Link to Minimal Reproduction
https://visactor.bytedance.net/vchart/demo/sankey-chart/basic-sankey
Steps to Reproduce

enter full screen

close full screen

In Addition, resize the chart, legends will disappear.

links and legends update error.
Current Behavior

Expected Behavior
update correctly
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

After accessing vgrammar 0.5.2 version, this problem has been solved.
Related to this MR of fixing glyph state: https://github.com/VisActor/VGrammar/pull/92/files

@youngwinds 升级到 1.1.3 就可以嘞，我先关了哈


macOS build failed

When I try to enter nix shell with nix-shell release.nix -A grpc-haskell.env I'm getting error.
nix-shell release.nix -A grpc-haskell.env
these derivations will be built:
  /nix/store/mjgwrv707wcy25ix63lh88d70msc3lx6-remove-references-to.drv
  /nix/store/wpj053azh8hyjb7vsxbqj9l6jplmd8yy-optparse-applicative-<IP_ADDRESS>.drv
  /nix/store/81mfrc5rfnpc1y0xylpjhlrjdmp0yckw-tasty-<IP_ADDRESS>.drv
  /nix/store/qkxni0wjw9x2417m0s7jyp7aa8kjjl5x-tasty-hunit-0.9.2.drv
  /nix/store/9a3z725rng8h389xrrdjrapk1pv9hvw6-temporary-<IP_ADDRESS>.drv
  /nix/store/cqmfphcipvnplbxpkdl0xc5a1bxid1hg-mockery-0.3.5.drv
  /nix/store/pmzh3yfr5w4mlm0yxz61k1jf8l8pd77r-silently-1.2.5.drv
  /nix/store/dkn63rqlp7blsc6jik85naf3dgbil6fh-doctest-0.11.4.drv
  /nix/store/7y3vk43xdr05lh1i1bb354vr71nn3v5n-distributive-0.5.3.drv
  /nix/store/q95zaayj9fy927lmma88widjmvnkwj2k-comonad-5.0.2.drv
  /nix/store/s9insgfyac2nx5pg872bzb7kqmmwccdz-bifunctors-5.4.2.drv
  /nix/store/032jbcs4xj30sgz1503s98zlr52ywnkn-semigroupoids-5.2.1.drv
  /nix/store/0yw2xm1qwisnhk6qmpxqmf0jacqg5fhb-python2.7-Cython-0.24.1.drv
  /nix/store/d0gsxgh5c6ibfzfqwkqxvpm82akvz2i6-grpc-e2cfe9d.drv
  /nix/store/zhsps3r8134i1bsqp02m7azxi5m6bb60-python2.7-protobuf-3.2.0.drv
  /nix/store/xk1j0bj6wnbqz0jrwp7lf4q9vg09l057-python2.7-grpc-1.0.drv
  /nix/store/44m0gip2170jyy2nswdxzv890dhvrlqp-python2.7-grpc-1.0.drv
  /nix/store/0kxw473c8024gsgq1v58nf8pnzm625db-python-2.7.14-env.drv
  /nix/store/1b4b95dbzmmj2rkxrfkm4pfg5yx2r3j8-grpc-1.2.0-e2cfe9d.drv
  /nix/store/68qwbzs5c3pv0n8cxn4w5rkw2chnr9ax-profunctors-5.2.1.drv
  /nix/store/1jiqg76ag2zv36ljdayjfggjw6lyl6dk-free-4.12.4.drv
  /nix/store/2bfq66mf4vpg9bvxgzwd05yzsqv0pwwa-tasty-ant-xml-1.1.0.drv
  /nix/store/rl7lhfm8j0jgjkbz2ym1hxka9gbf78fq-tasty-smallcheck-0.8.1.drv
  /nix/store/wqfsx6fzs8f6m0arzggxf5dh8gf1cn2g-tasty-quickcheck-0.8.4.drv
  /nix/store/vfkdnlqviqa0saz64n74fq5a89p5hzv3-scientific-<IP_ADDRESS>.drv
  /nix/store/4avpf92qiil8z8j5j64di01zv6bwm91s-quickcheck-instances-0.3.12.drv
  /nix/store/dlxlm6y2vqsw68m7l7w4vnii17b7hspb-attoparsec-<IP_ADDRESS>.drv
  /nix/store/1nr1cb2701fsrf7k6sr0nbfm4m2d8zjj-parsers-0.12.7.drv
  /nix/store/yw260hsvxzfqy88c711fw8i50q2dvqrd-cryptohash-sha256-<IP_ADDRESS>.drv
  /nix/store/4lmd4by09b7s6nb260jc1qa7cx7ihhxx-hackage-security-<IP_ADDRESS>.drv
  /nix/store/5gy67dr34q94kp5q187rgpnjkrib7wpa-aeson-<IP_ADDRESS>.tar.gz.drv
  /nix/store/w1lw5cmm07lb8qgj05aj60gcbgji6asa-foldl-1.2.5.drv
  /nix/store/5im3nwha7sy4kli7riwvlb1mssn72n2q-turtle-1.3.6.drv
  /nix/store/ihffagcyjdbcp06iiirn80dfigk0i9hs-aeson-<IP_ADDRESS>-r2.cabal.drv
  /nix/store/py05cb08jbjrx3kjm46af78sg7kfy9p9-uuid-types-1.0.3.drv
  /nix/store/yvgacyg39cv2pnygig0ln06dd9pf8g0m-aeson-<IP_ADDRESS>.drv
  /nix/store/6xzclrqrdi7jknrhmknq60radc5p7l25-aeson-pretty-0.8.5.drv
  /nix/store/8lzsqdfhh26q0zw1qnpisp65l5mlr3np-proto3-wire-a938330.drv
  /nix/store/a2j9kpv1a6q2mvrz4j05s86mk62ziy6p-HTF-<IP_ADDRESS>.drv
  /nix/store/izf7qm9i5994blyf0wc0s0dlchcihlgw-adjunctions-4.3.drv
  /nix/store/bgxbsc8426smxq833aw9gjq28hq3qgd8-kan-extensions-5.0.2.drv
  /nix/store/bmc5zpl1s27s3j033phhhazvcqqbklq9-proto3-suite-c103a8c.drv
  /nix/store/d55az882hyk7klmq63fm34fw2g9hk8c1-neat-interpolation-<IP_ADDRESS>.drv
  /nix/store/dqbp6wnmhcgqv12y4ms6cnkljrqv4gka-proto3-wire-1.0.0.drv
  /nix/store/v0a8i4wga6f7qm1z56j0rlbpkl9c2kbc-lens-4.15.4.drv
  /nix/store/xgr9vqlm9zhbiswhxcpdgp1h5gvlwlvf-insert-ordered-containers-<IP_ADDRESS>.drv
  /nix/store/jpr1aac5i9hq8val2jwip5wxlxfhcmmf-swagger2-2.1.6.drv
  /nix/store/lg76hjl7bdas17h2b811014xqf1ifxc7-range-set-list-<IP_ADDRESS>.drv
  /nix/store/lwx8qvyq2d73n4x2jp25cxnw42q2jj8j-optparse-generic-1.2.1.tar.gz.drv
  /nix/store/r23mxxvjwvnhni6iqbva0zx43snxq075-optparse-generic-1.2.1.drv
  /nix/store/m0qi5dbbqp61k1f2zvhacb4v3pgjy538-proto3-suite-<IP_ADDRESS>.drv
  /nix/store/lalrg0fzy6fd50d7w8qba8y3shvma8y5-grpc-haskell-core-<IP_ADDRESS>.drv
  /nix/store/r7n7cvprcfbj3i2di9dcw5lsmlps9f4b-grpc-haskell-<IP_ADDRESS>.drv
  /nix/store/gml3l1dgy8s10hsaw0rlhjb3ygdjgrll-ghc-8.0.2-with-packages.drv
  /nix/store/ih1qxic2mibmrxj92h46b52prlzpq4bd-cabal-install-<IP_ADDRESS>.drv
  /nix/store/zyfbs2px8il9hl7bfrzqik3gzw2hlqwl-ghc-8.0.2-with-packages.drv
building '/nix/store/mjgwrv707wcy25ix63lh88d70msc3lx6-remove-references-to.drv'...
dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib
  Referenced from: /nix/store/v2sbh9m4p8fa5czsw0cr1kcz8a9xx23d-Libsystem-osx-10.11.6/lib/libSystem.B.dylib
  Reason: image not found
builder for '/nix/store/mjgwrv707wcy25ix63lh88d70msc3lx6-remove-references-to.drv' failed due to signal 6 (Abort trap: 6)
cannot build derivation '/nix/store/izf7qm9i5994blyf0wc0s0dlchcihlgw-adjunctions-4.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/yvgacyg39cv2pnygig0ln06dd9pf8g0m-aeson-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6xzclrqrdi7jknrhmknq60radc5p7l25-aeson-pretty-0.8.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dlxlm6y2vqsw68m7l7w4vnii17b7hspb-attoparsec-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/s9insgfyac2nx5pg872bzb7kqmmwccdz-bifunctors-5.4.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ih1qxic2mibmrxj92h46b52prlzpq4bd-cabal-install-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/q95zaayj9fy927lmma88widjmvnkwj2k-comonad-5.0.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/7y3vk43xdr05lh1i1bb354vr71nn3v5n-distributive-0.5.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/w1lw5cmm07lb8qgj05aj60gcbgji6asa-foldl-1.2.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/1jiqg76ag2zv36ljdayjfggjw6lyl6dk-free-4.12.4.drv': 1 dependencies couldn't be built
building '/nix/store/d0gsxgh5c6ibfzfqwkqxvpm82akvz2i6-grpc-e2cfe9d.drv'...
cannot build derivation '/nix/store/r7n7cvprcfbj3i2di9dcw5lsmlps9f4b-grpc-haskell-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lalrg0fzy6fd50d7w8qba8y3shvma8y5-grpc-haskell-core-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/xgr9vqlm9zhbiswhxcpdgp1h5gvlwlvf-insert-ordered-containers-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bgxbsc8426smxq833aw9gjq28hq3qgd8-kan-extensions-5.0.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/v0a8i4wga6f7qm1z56j0rlbpkl9c2kbc-lens-4.15.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/d55az882hyk7klmq63fm34fw2g9hk8c1-neat-interpolation-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wpj053azh8hyjb7vsxbqj9l6jplmd8yy-optparse-applicative-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/r23mxxvjwvnhni6iqbva0zx43snxq075-optparse-generic-1.2.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/1nr1cb2701fsrf7k6sr0nbfm4m2d8zjj-parsers-0.12.7.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/68qwbzs5c3pv0n8cxn4w5rkw2chnr9ax-profunctors-5.2.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/m0qi5dbbqp61k1f2zvhacb4v3pgjy538-proto3-suite-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dqbp6wnmhcgqv12y4ms6cnkljrqv4gka-proto3-wire-1.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lg76hjl7bdas17h2b811014xqf1ifxc7-range-set-list-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vfkdnlqviqa0saz64n74fq5a89p5hzv3-scientific-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/032jbcs4xj30sgz1503s98zlr52ywnkn-semigroupoids-5.2.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jpr1aac5i9hq8val2jwip5wxlxfhcmmf-swagger2-2.1.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/81mfrc5rfnpc1y0xylpjhlrjdmp0yckw-tasty-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qkxni0wjw9x2417m0s7jyp7aa8kjjl5x-tasty-hunit-0.9.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wqfsx6fzs8f6m0arzggxf5dh8gf1cn2g-tasty-quickcheck-0.8.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9a3z725rng8h389xrrdjrapk1pv9hvw6-temporary-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5im3nwha7sy4kli7riwvlb1mssn72n2q-turtle-1.3.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/py05cb08jbjrx3kjm46af78sg7kfy9p9-uuid-types-1.0.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/gml3l1dgy8s10hsaw0rlhjb3ygdjgrll-ghc-8.0.2-with-packages.drv': 1 dependencies couldn't be built
error: build of '/nix/store/0kxw473c8024gsgq1v58nf8pnzm625db-python-2.7.14-env.drv', '/nix/store/1b4b95dbzmmj2rkxrfkm4pfg5yx2r3j8-grpc-1.2.0-e2cfe9d.drv', '/nix/store/gml3l1dgy8s10hsaw0rlhjb3ygdjgrll-ghc-8.0.2-with-packages.drv', '/nix/store/zyfbs2px8il9hl7bfrzqik3gzw2hlqwl-ghc-8.0.2-with-packages.drv' failed

I'm pretty new to nix and haskell too but I assume that this is something with dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib so I digged in and found this https://github.com/NixOS/nix/issues/2244 based on that I know that it's fixed but since in the project you pinned nixpkg I'm not getting the fix. Is that correct?
I was trying to change rev and sha256 in ./nixpkg.nix but no change in behavior. I tried even put there some bogus data but it doesn't seem to have any effect.
Could someone help me with that?
Additional info:
nix-env --version
nix-env (Nix) 2.2.2

nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable

MacOS 10.14.4

Yeah, this is due to us using an older version of nixpkgs (which we specify here).  Upgrading nixpkgs would fix the problem might require some work to update gRPC-haskell to build against the latest nixpkgs

that was my assumption that changing rev and sha5 in ./nixpkgs will let me fixed that (or move to different problem) but when I did following steps I still see this problem and I don't understand why.
git clone https://github.com/awakesecurity/gRPC-haskell.git

cd gRPC-haskell

nix-prefetch-git https://github.com/nixos/nixpkgs-channels.git refs/heads/nixos-19.03
{
  "url": "https://github.com/nixos/nixpkgs-channels.git",
  "rev": "c21f08bfedde0f7d00a5ebc85455fb28b9037932",
  "date": "2019-05-15T20:01:03-04:00",
  "sha256": "0sndhal0a61zzgc8k2lhba356mkrgq0hwf5aa61f6kvpvn4isjmg",
  "fetchSubmodules": false
}

 nix-prefetch-url "https://github.com/NixOS/nixpkgs/archive/c21f08bfedde0f7d00a5ebc85455fb28b9037932.tar.gz"
1f7g0qx2samf8cg91hjf9015h31vfkq390gnw775z37x4hlc4pzq

then I change the ./nixpkgs to be
import ./fetch-nixpkgs.nix {
  rev          = "c21f08bfedde0f7d00a5ebc85455fb28b9037932";
  sha256       = "1f7g0qx2samf8cg91hjf9015h31vfkq390gnw775z37x4hlc4pzq";
  outputSha256 = "13ydgpzl5nix4gc358iy9zjd5nrrpbpwpxmfhis4aai2zmkja3ak";
}

and when I run nix-shell release.nix -A grpc-haskell.env i still getting the same error.
what I'm doing wrong?

I figured out that sha256 field it's ignored and only outputSha256 is taken into account in https://github.com/awakesecurity/gRPC-haskell/blob/master/fetch-nixpkgs.nix#L23 so changed outputSha256 to something incorrect and then did rerun and I got message about incorrect hash
nix-shell release.nix -A grpc-haskell.env
error: hash mismatch in file downloaded from 'https://github.com/NixOS/nixpkgs/archive/c21f08bfedde0f7d00a5ebc85455fb28b9037932.tar.gz':
  wanted: sha256:1f7g0qx2samf8cg91hjf9015h31vfkq390gnw775z37x4hlc4pzq
  got:    sha256:0sndhal0a61zzgc8k2lhba356mkrgq0hwf5aa61f6kvpvn4isjmg
(use '--show-trace' to show detailed location information)

then I changed that nixpkgs.nix to be
import ./fetch-nixpkgs.nix {
  rev          = "c21f08bfedde0f7d00a5ebc85455fb28b9037932";
  sha256       = "1f7g0qx2samf8cg91hjf9015h31vfkq390gnw775z37x4hlc4pzq";
  outputSha256 = "0sndhal0a61zzgc8k2lhba356mkrgq0hwf5aa61f6kvpvn4isjmg";
}

and now I'm geting errors about libs which make sense to
error: Package ‘range-set-list-0.1.3’ in /nix/store/zqgw6afzz4v8jac4gl9agnw8hkvgazbi-source/pkgs/development/haskell-modules/hackage-packages.nix:184454 is marked as broken, refusing to evaluate.

I will try to migrate to new version.

@pshemass: It might be worth updating nixpkgs.nix to match the latest version of https://nixos.wiki/wiki/How_to_fetch_Nixpkgs_with_an_empty_NIX_PATH, which simplifies it to only require a sha256 (which is what used to be the outputSha256)

I took revision for nixpkgs from your other project proto3-suite and after couple of tries with dependencies I came up with PR https://github.com/awakesecurity/gRPC-haskell/pull/80 let me know how bad that is.
l manage to build and run examples successfully  but tests are failing.

I believe this might be fixed by #84

Closing since I think this is fixed by updating our nixpkgs. Feel free to reopen if you still encounter this on master.


nvmlDeviceGetTotalEnergyConsumption not supported for Titan X

CodeCarbon version: 2.3.0
Python version: Python 3.10.14
Operating System: CentOS Linux release 7.9.2009

Description
I am trying to recreate the results of Luccioni, Sasha, et al. “Power Hungry Processing: Watts Driving the Cost of AI Deployment?” The 2024 ACM Conference on Fairness, Accountability, and Transparency, ACM, 2024. Crossref, https://doi.org/10.1145/3630106.3658542. as baseline results for my research thesis. When I try to run this script from the provided code repo: https://github.com/sashavor/co2_inference/blob/main/code/qa/qa_squadv2.py, I am getting this issue:
{
"name": "NVMLError_NotSupported",
"message": "Not Supported",
"stack": "---------------------------------------------------------------------------
NVMLError_NotSupported                    Traceback (most recent call last)
Cell In[7], line 38
36 for model in qa_models:
37     print(model)
---> 38     tracker = EmissionsTracker(project_name=model, measure_power_secs=1, logging_logger=_logger, output_file='./qa_squadv2.csv')
39     tracker.start()
40     tracker.start_task("load model")
File /lib/python3.10/site-packages/codecarbon/emissions_tracker.py:284, in BaseEmissionsTracker.init(self, project_name, measure_power_secs, api_call_interval, api_endpoint, api_key, output_dir, output_file, save_to_file, save_to_api, save_to_logger, logging_logger, save_to_prometheus, prometheus_url, gpu_ids, emissions_endpoint, experiment_id, experiment_name, co2_signal_api_token, tracking_mode, log_level, on_csv_write, logger_preamble, default_cpu_power, pue)
282 if gpu.is_gpu_details_available():
283     logger.info("Tracking Nvidia GPU via pynvml")
--> 284     gpu_devices = GPU.from_utils(self._gpu_ids)
285     self._hardware.append(gpu_devices)
286     gpu_names = [n["name"] for n in gpu_devices.devices.get_gpu_static_info()]
File /lib/python3.10/site-packages/codecarbon/external/hardware.py:121, in GPU.from_utils(cls, gpu_ids)
119 @classmethod
120 def from_utils(cls, gpu_ids: Optional[List] = None) -> "GPU":
--> 121     return cls(gpu_ids=gpu_ids)
File :4, in init(self, gpu_ids)
File /lib/python3.10/site-packages/codecarbon/external/hardware.py:63, in GPU.post_init(self)
62 def post_init(self):
---> 63     self.devices = AllGPUDevices()
64     self.num_gpus = self.devices.device_count
65     self._total_power = Power(
66         0  # It will be 0 until we call for the first time measure_power_and_energy
67     )
File /lib/python3.10/site-packages/codecarbon/core/gpu.py:208, in AllGPUDevices.init(self)
206 for i in range(self.device_count):
207     handle = pynvml.nvmlDeviceGetHandleByIndex(i)
--> 208     gpu_device = GPUDevice(handle=handle, gpu_index=i)
209     self.devices.append(gpu_device)
File :8, in init(self, handle, gpu_index, energy_delta, power, last_energy)
File /lib/python3.10/site-packages/codecarbon/core/gpu.py:46, in GPUDevice.post_init(self)
45 def post_init(self):
---> 46     self.last_energy = self._get_energy_kwh()
47     self._init_static_details()
File /lib/python3.10/site-packages/codecarbon/core/gpu.py:50, in GPUDevice._get_energy_kwh(self)
49 def _get_energy_kwh(self):
---> 50     return Energy.from_millijoules(self._get_total_energy_consumption())
File /lib/python3.10/site-packages/codecarbon/core/gpu.py:117, in GPUDevice._get_total_energy_consumption(self)
113 def _get_total_energy_consumption(self):
114     """Returns total energy consumption for this GPU in millijoules (mJ) since the driver was last reloaded
115     https://docs.nvidia.com/deploy/nvml-api/group__nvmlDeviceQueries.html#group__nvmlDeviceQueries_1g732ab899b5bd18ac4bfb93c02de4900a
116     """
--> 117     return pynvml.nvmlDeviceGetTotalEnergyConsumption(self.handle)
File /lib/python3.10/site-packages/pynvml/nvml.py:2411, in nvmlDeviceGetTotalEnergyConsumption(handle)
2409 fn = _nvmlGetFunctionPointer("nvmlDeviceGetTotalEnergyConsumption")
2410 ret = fn(handle, byref(c_millijoules))
-> 2411 _nvmlCheckReturn(ret)
2412 return c_millijoules.value
File /watts/lib/python3.10/site-packages/pynvml/nvml.py:833, in _nvmlCheckReturn(ret)
831 def _nvmlCheckReturn(ret):
832     if (ret != NVML_SUCCESS):
--> 833         raise NVMLError(ret)
834     return ret
NVMLError_NotSupported: Not Supported"
}
It seems that the issue is with the GPU I am using (NVIDIA Geforce GTX Titan X) not being supported for nvmlDeviceGetTotalEnergyConsumption.
Are there any workarounds that you are aware of?

You may have a look to https://forums.developer.nvidia.com/t/bug-nvml-incorrectly-detects-certain-gpus-as-unsupported/30165/4 (and https://github.com/CFSworks/nvml_fix )
There seems to be a way to path Nvidia code to support GPU that they seems to don't want to support :exploding_head:


CPU still running at 50% after closing VS Code

VSCode Version: whatever it prompted me to download as of 3/11/2017
OS Version: windows 10

Steps to Reproduce:

Open VS Code
Do stuff
Close VS Code

To find out more about this issue, we need to get at the process that is causing the high load. VS Code creates multiple processes, each with different tasks. Depending on your OS you can get at the full command line of the process and paste it here. On Mac, the Activity Monitor allows to find the PID of the process and from a terminal ps aux | grep <pid> reveals its arguments.

On Windows a tool like Process Explorer helps:

Once you have the information please update this issue with it. Thanks!

Here are screenshots of a couple of the VSCode processes, hope it helps!

Perhaps it's an issue with TypeScript, or a combination. The other symptom is that, while I'm still working in VSCode, the TypeScript "intellisense" doesn't work, nor does such things as "tag matching/highlighting", etc. It's as if VSCode is leaking memory leading to a confounded state. It doesn't crash though.

I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

Ran into this on OSX using the insiders build when I finally noticed my MacBooks fan screaming at me with only Crome open on the desktop.
The issue is reproducible when @code is opened with code-insiders --disable-extensions .

The longer you keep code open, the more CPU the two helper processes will consume. Last I manually killed them, the CPU usage was > 98% with ~4 days of CPU time.
I'll try to get a more appropriate screen capture of it when it's chewing up a ton of CPU, didn't think about it until after I killed the processes.
Here we go, this is a better capture. Tested with the latest stable, launched with --disable-extensions


bower - use -F to force latest version on conflict

This should prevent the recurring Unable to find a suitable version for (whatever), please choose one errors during build..
@jvlcek ^^

@himdel Thank you sir!

Thanks @himdel


Enabled multivariate blocks

I have made the following changes/additions in the code:

Enabled multivariate blocks
Enable multiple constraints in a block
Used hypergraph abstraction to store the BlockNLPModel structure
Added a test problem based on MPC for a chemical reactor
Added docstrings

I am having some troubles with IPOPT on my computer and haven't been able to run full tests on this code. However, I have tested individual functions and they seem to be generating correct output. I will post an update whenever I am able to resolve the IPOPT issue.
My plan now is to also implement ADMM before we merge this to the main branch.

The latest commit brings the following updates:

Added tests that are exclusive for BlockNLPModels.jl
Made the changes requested by @frapac
Removed dual_decomposition.jl and admm.jl from this repo. I will create a new repo for BlockNLPAlgorithms.jl and put these files there.

As you will see in simple_block_model.jl, even MadNLP.jl is not able to solve the full-space model created by FullSpaceModel(). I think there is some bug in my code that I am not able to figure out. Looking at the stacktrace makes me think that the issue is related to the size of sparse Hessian matrix that my code is generating. Can someone please help me debug this issue?


you didn't package the pom.xml with the maven project

if i'm not mistaken this is a maven driven project (see: file hierarchy)
just incase you didn't know, the pom.xml is pretty important for a maven project, especially if you want to compile using maven (which, by the way, makes everything much simpler for contributors)

nevermind it's gradle ignore me ;-;

I will be switching it to maven soon. it has better support in intellij


Update compileSdk 23 → 25, buildTools 23 → 26.0.1, rm SdkManager Gradle Plugin.

This should not affect the build result, I just don't have these old versions of Android SDK components on some of my machines.

If only all projects I work on could be build that fast :(
Total time: 19.609 secs


README.md missing when using pip install

I had the error of missing README.md when using command

I propose remove README.md
and remove long_description from setup(...). PyPI will use near README.rst in this case.

It can be closed.

yup, that's been fixed!


compose: Show bot icon after bot name in recipient picker.

Fixes partially #26831
Bot icon shown in the typeahead recipient list which pops up in the compose box while typing.
On typeahead hover, bot icon takes the color of the font for better contrast.
CZO thread

Screenshots and screen captures:

Compose recipient picker

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

@amanagr I just created a separate pr for the recipient picker. The size of the icon I haven't changed. It is same as the icon of left sidebar which is around 1 em as you asked in #31894.

@amanagr i made those desired changes please review it

LGTM. Tested manually too.

Pushed the commit to avoid this closing https://github.com/zulip/zulip/issues/26831

@timabbott Will you please look forward to this PR.  As I am not able to claim other issues until I don't have a merged PR.

You can start working on other issues of you like.

Merged, thanks @NotVishesh and @amanagr!


I want to join community

username : geeky-sambhav
I have been following the openAOD community for some time now and have been impressed with the quality of work that has been produced by the members. I believe that my skills and experience would be a valuable asset to the community and I am eager to contribute to open-source projects and learn from other talented developers.

Welcome to openAOD! I have sent an invite to join our organization. We also recommend joining our Discord server : https://discord.gg/wZ83xSJSsN. If you have any questions regarding contributing or anything else feel free to write here or ping me on Discord. Cheers. Have a great day ahead of you!


any plan to support native windows container postgres image

No current plans, but it's probably something worth considering.
Looking at https://www.postgresql.org/download/windows/, we should probably use either the installers provided by EnterpriseDB (or just use the raw ZIP archives, since we don't actually need it registered as a service or anything else the installer will likely end up doing for us).

I've played with this a little bit today, and here's my current Dockerfile:
FROM microsoft/windowsservercore

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

# PATH isn't actually set in the Docker image, so we have to set it from within the container
RUN $newPath = ('C:\PostgreSQL\bin;{0}' -f $env:PATH); \
        Write-Host ('Updating PATH: {0}' -f $newPath); \
        [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
# doing this first to share cache across versions more aggressively

# https://www.enterprisedb.com/download-postgresql-binaries
ENV PG_VERSION 9.6.5-1

RUN $url = ('https://get.enterprisedb.com/postgresql/postgresql-{0}-windows-x64.exe' -f $env:PG_VERSION); \
        Write-Host ('Downloading {0} ...' -f $url); \
        Invoke-WebRequest -Uri $url -OutFile 'pgsql.exe'; \
        \
        Write-Host 'Extracting ...';   \
        Write-Host '  postgres --version'; postgres --version; \
        Write-Host '  psql --version'; psql --version; \
        \
        Write-Host 'Removing ...'; \
        Remove-Item @( \
                        'C:\PostgreSQL\StackBuilder', \
                        'C:\PostgreSQL\doc', \
                        'C:\PostgreSQL\include', \
                        'C:\PostgreSQL\installer', \
                        'C:\PostgreSQL\pgAdmin*', \
                        'pgsql.exe' \
                ) -Recurse -Force; \
        \
        Write-Host 'Complete.';

# if this is a volume, "initdb" can't change the permissions of it in the way it needs to
#ENV PGDATA C:\\pgdata ??
#VOLUME $PGDATA

# TODO docker-entrypoint.ps1 ? (for initdb and "docker run <image> --flag --flag --flag")

EXPOSE 5432
CMD ["postgres"]

It builds successfully and I can run PostgreSQL commands (like postgres --version, initdb, etc).  However, no matter what I try, when I run simply postgres to try to start the server, it has no output, and after a short time simply exits (and checking the process list shows that it doesn't leave anything running in the background either).

I played around with the creation of a PostgreSQL container based on the windowsservercore image as well. I built it using the installer by EnterpriseDB from the start, installed it as a service and used the old Wait-Service script to keep the container up and running referenced in this IIS container issue https://github.com/Microsoft/iis-docker/issues/1 (they moved to a custom service monitor for this but the script works fine for dev purposes).
I ran into the same problems using volumes - even manually it is almost impossible changing the NTFS permissions in a way that the initdb process exits with success. I tried to force the container to run as another user than containeradministrator but it seems that the USER statement in windows container dockerfiles still doesn't work as one would suspect (at least I am not able to use it correclty it seems). There seems to be an option to run a container as "NT AUTHORITY\SYSTEM" and volumes as well as subfolders created in them at least appear to give this user full access by default - I've yet not managed to test this out successfully. Here is the link to the gist of the WIP Dockerfile if this is any help https://gist.github.com/WalternativE/b2c4ed32894f427ef8a85e921cfa2bbd .

I tried the postgres ZIP file today and downloaded the Visual C++ 2013 Redistributable Package from Microsoft:
https://github.com/StefanScherer/dockerfiles-windows/blob/c4d98675d9d96d4ed98324b92f61b76fdced28d7/postgres/Dockerfile#L11-L13
The binaries seem to work both in windowsservercore and nanoserver, but I only tried the --help option to check if the binaries output something.

Hi,
I have created the container for postgres in windows docker and i have used the dockerfile below
FROM microsoft/windowsservercore:10.0.14393.1944 AS download
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
ENV PG_VERSION 10.1-3
RUN Invoke-WebRequest $('https://get.enterprisedb.com/postgresql/postgresql-{0}-windows-x64-binaries.zip' -f $env:PG_VERSION) -OutFile 'postgres.zip' -UseBasicParsing ;
Expand-Archive postgres.zip -DestinationPath C:\ ;
Remove-Item postgres.zip
RUN Invoke-WebRequest 'http://download.microsoft.com/download/0/5/6/056DCDA9-D667-4E27-8001-8A0C6971D6B1/vcredist_x64.exe' -OutFile vcredist_x64.exe ;
Start-Process vcredist_x64.exe -ArgumentList '/install', '/passive', '/norestart' -NoNewWindow -Wait ;
Remove-Item vcredist_x64.exe
FROM microsoft/nanoserver:10.0.14393.1944
COPY --from=download /pgsql /pgsql
COPY --from=download /windows/system32/msvcp120.dll /pgsql/bin/msvcp120.dll
COPY --from=download /windows/system32/msvcr120.dll /pgsql/bin/msvcr120.dll
RUN setx /M PATH "C:\pgsql\bin;%PATH%"
EXPOSE 5432
CMD ["postgres"]
But the container is not starting
how to start the container and how to get the connection string ?
how to connect using pgadmin from the host machine?

See https://github.com/docker-library/postgres/pull/506 for an approach which uses BigSQL and multi-stage builds to create something based on Nano Server that's not acceptable for the constraints of an official image, but may be useful/interesting to other folks following this thread. :+1:

We managed to get a PostgreSQL 9.6 server working in a container on Windows using the following Dockerfile:
https://gist.github.com/peetw/10f49281423753d068f62bf47ba4642f
This can then be built and run with the following commands:
docker build -t postgres:9.6 .
docker run -d -p 5432:5432 postgres:9.6

You can then connect to it as normal from the host running the container, i.e.:
psql -h localhost -p 5432 -d postgres

Hi i am a docker noob but here's my version of creating a docker postgres windows container. Is using chocolaty cheating cheesy?
``FROM microsoft/windowsservercore
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
RUN Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
RUN choco feature enable --name=allowGlobalConfirmation
RUN choco install postgresql10 --params '/Password:postgres'
also available in the aspnet-docker image
RUN Invoke-WebRequest -UseBasicParsing -Uri 'https://dotnetbinaries.blob.core.windows.net/servicemonitor/<IP_ADDRESS>/ServiceMonitor.exe' -OutFile 'ServiceMonitor.exe'
COPY ["pg_hba.conf", "c:/Program Files/PostgreSQL/10/data"]
SHELL ["cmd"]
RUN setx /M PATH "C:\Program Files\PostgreSQL\10\bin;%PATH%"
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
COPY docker-entrypoint.cmd "C:\"
ENTRYPOINT ["C:\docker-entrypoint.cmd"]
EXPOSE 5432
mointor this service
CMD ["postgresql-x64-10"]
``


Create LackOfEvidenceInSoftwareEngineering.md

Author: Greg
PR for issue #420 (Lack of Evidence In Software Engineering)

@prwolfe ... did this fall of your radar?

@jarrah42 @prwolfe :  Is this ready to be merged?

Yes

agreed

I gave this a look and it needs more work: (1) deck to be created, (2) table to be moved to correct position, (3) Description to be cleaned up?
I will work on this.
Note for Rinku and Lois: The curated content style needs to be reviewed for completion and its use needs to be encouraged.

Would like to have this published by 2020-05-22.

The scientific method is the cornerstone that underpins how science leads to the advancement of human knowledge. Yet the use of rigorous empirical methods, such as double-blind randomized control trials, have not been extensively used to evaluate the benefits of programming language features.


[docs] Document for delete inactive topic when subscriptions caught up

This issue tracks the document for delete inactive topic when subscriptions caught up(#6077)

@Huanli-Meng Could you please also add https://github.com/streamnative/streamnative-docs/pull/169 to Pulsar repo?

update the doc, here is the PR link: https://github.com/apache/pulsar/pull/6990

This has been fixed by #6990


Feature/#66 activate account panel

Added activate account panel for setting new password and activate account. Form is validated by input length. The password and password confirmation must match to each other. The form is using newly added activateAccount method which takes the userId and activationToken from the path and sent it back to the server with new password in body. The module uses toastify for messages and errors display

Greenlight


Support GetVectorByIds for DiskANN

issue: #801
This PR contains:

Support GetVectorByIds for DiskANN by
a. Deduplicate ids based on sectors on the disk and write to output if it is in cache
b. Fire up I/O requests per sector and copy data via the thread pool
Generate random test ids and change related test cases.

/lgtm