nodejs*: normalise names to better fit other packages

Versioned package attributes are usually named like $pname_$version
ToDo after merge: send a PR to node2nix.
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg eval
FYI @winterqt

is there an RFC for this ? I wonder about doing something similar to the lua ecosystem but I felt the churn would hurt more than the lack of consistency, especially if there is no written down rule about this.

is there an RFC for this ? I wonder about doing something similar to the lua ecosystem but I felt the churn would hurt more than the lack of consistency, especially if there is no written down rule about this.

It follows other packages which do similar things. We don't need an RFC for this.

@infinisil do you want to take a look at this? The PR is constantly diverging, I think we should make a decision soon.

However, it's really hard to see what actually changed due to the size of this PR and there being no separation into commits.

I disagree with you. The total commit diff is just over 200 lines.
The relevant part is
@@ -9377,32 +9377,32 @@ with pkgs;

   nodenv = callPackage ../development/tools/nodenv { };

-  nodejs = hiPrio nodejs-18_x;
+  nodejs = hiPrio nodejs_18;

-  nodejs-slim = nodejs-slim-18_x;
+  nodejs-slim = nodejs-slim_18;

-  nodejs-14_x = callPackage ../development/web/nodejs/v14.nix {
+  nodejs_14 = callPackage ../development/web/nodejs/v14.nix {
     openssl = openssl_1_1;
   };
-  nodejs-slim-14_x = callPackage ../development/web/nodejs/v14.nix {
+  nodejs-slim_14 = callPackage ../development/web/nodejs/v14.nix {
     openssl = openssl_1_1;
     enableNpm = false;
   };
-  nodejs-16_x = callPackage ../development/web/nodejs/v16.nix { };
-  nodejs-slim-16_x = callPackage ../development/web/nodejs/v16.nix {
+  nodejs_16 = callPackage ../development/web/nodejs/v16.nix { };
+  nodejs-slim_16 = callPackage ../development/web/nodejs/v16.nix {
     enableNpm = false;
   };
-  nodejs-18_x = callPackage ../development/web/nodejs/v18.nix { };
-  nodejs-slim-18_x = callPackage ../development/web/nodejs/v18.nix {
+  nodejs_18 = callPackage ../development/web/nodejs/v18.nix { };
+  nodejs-slim_18 = callPackage ../development/web/nodejs/v18.nix {
     enableNpm = false;
   };
-  nodejs-19_x = callPackage ../development/web/nodejs/v19.nix { };
-  nodejs-slim-19_x = callPackage ../development/web/nodejs/v19.nix {
+  nodejs_19 = callPackage ../development/web/nodejs/v19.nix { };
+  nodejs-slim_19 = callPackage ../development/web/nodejs/v19.nix {
     enableNpm = false;
   };
   # Update this when adding the newest nodejs major version!
-  nodejs_latest = nodejs-19_x;
-  nodejs-slim_latest = nodejs-slim-19_x;
+  nodejs_latest = nodejs_19;
+  nodejs-slim_latest = nodejs-slim_19;

   buildNpmPackage = callPackage ../build-support/node/build-npm-package { };

So basically nodejs-14_x -> nodejs_14

I think it should be a first commit for the renames from nodejs_<n>_x to nodejs_<n>, and then another that does the treewide change

This creates a commit where you cannot bisect on because there a many evaluations errors.

Going to merge this now to now have to rebase it another time. The new nodejs_20 is already named like the new style and having this inconsistent in 23.05 is not doing us a favor.
The commit message is good enough for me, I improved the wording with one of the last force pushed a bit and IMO discussing if that commit should be split or not has not a big enough impact that it is worth our time. It can be displayed in the github web UI unlike many other treewide commits which often almost crash your browser.

This creates a commit where you cannot bisect on because there a many evaluations errors.

Then flip the order around: An initial commit to introduce the aliases in all-packages.nix, another commit to do the treewide change, and another to move the aliases to aliases.nix. Generally there's always a decent way to order commits, please consider doing this in the future to make reviews easier.
And also generally, if you get feedback to a PR, at least wait until the feedback is resolved if you're gonna merge it yourself. But even better, don't merge your own PR's, only do that in justified situations.

I just thought about it and I know from my slightly chaotic working style that I will definitely not put everything into the correct commit first time and so some slight mistakes. For bigger, treewide changes that might create some more clarity but for this kind of scope I think that me taking multiple tries to get it right and the less straightforward history outway the slightly bigger commit.

And also generally, if you get feedback to a PR, at least wait until the feedback is resolved if you're gonna merge it yourself. But even better, don't merge your own PR's, only do that in justified situations.

I'm going to, per usual, emphasize this. I actually don't even have much of an issue with the change, but self-merging things that people are actively looking at it absurdly irritating. I have said this to you personally so, so many times: please stop it.
This is part of the reason why I've stepped away from the project for a bit, to maintain my sanity with regards to things like this. 😕

I'm going to, per usual, emphasize this. I actually don't even have much of an issue with the change, but self-merging things that people are actively looking at it absurdly irritating.

Not condoning the actions in this PR, but having PRs open for months is also irritating. Having an unbounded timeline for getting things merged really kills a lot of motivation to do certain things.
Nixpkgs really needs more ways to automate the "fluff" workload (e.g. small version bumps), so that it doesn't just seem like a constant stream of "work debt" for reviewers.

Not condoning the actions in this PR, but having PRs open for months is also irritating.

I get it, but the PR was literally reviewed by someone else one day before some pushes + the self-merge. That is not fair, in my opinion.


Add restrictions to IsGlobalCompletion

JS/TS snippets are showing up in undesirable locations in VS
ex:  import { | } from "./files1"
Restrict IsGlobalCompletion to:

SourceFile
Template Expression
Statements

// cc: @mhegazy, @vladima , @billti

Looks good. 👍
What's the behavior on JSX elements and expressions? The tests only cover attributes? (Is this covered elsewhere?)

Why TemplateExpression?

@DanielRosenwasser: the completion list for template expressions is the global completion list so thought it made sense to insert snippets here as well.

@jramsay in the textual contents itself it makes sense to provide something like, let's say, an Angular template - but in those cases, you don't have a TemplateExpression, you have a NoSubstitutionTemplateLiteral. A TemplateExpression is a template string with embedded expression.

As per discussion with @DanielRosenwasser & @billti — keeping TemplateExpression and adding JsxExpression


[Bug] Unordered optimal sleeping times

Issue Label: [Bug]
Description of bug or feature enhancement:
The optimal sleeping times are unordered, is hard to look when your next optimal sleep time is.
Version of Insomnia Application:
1.4.2
Demonstration:
To show it in order should show 19:45, 21:15, 22:45, 00:15, 01:45 and 02:45 (which might be wrong since intervals were switching between 15 and 45 except 2:45 one).

This definitely showed up with me resetting the times one hour after last notification. As you can see the first element is only an hour away from the last rather than an hour and 30 mins away. I will fix this and have a new release up tomorrow

@luchillo17 fixed in latest commit new release will be up tomorrow


Is there a function for checking balance before transfer?

Hi there, I'm wondering if there is a way to check whether the bot's balance is enough before making a transfer?

Why not check balance in your code?

okay


Logger not printing message with newline character \n correctly

There is an issue with the Steampipe logger while printing messages with newline charater \n
For instance:
plugin.Logger(ctx).Error("snowflake_user.DescribeUser", "TEST.error", "SQL access control error:\nInsufficient privileges to operate on user 'SNOWFLAKE'") prints only part prior to \n in the log
2022-03-04 12:00:25.723 UTC [ERROR] steampipe-plugin-snowflake.plugin: [ERROR] snowflake_user.DescribeUser: TEST.error="SQL access control error:

The original solution of sending back log messages as JSON is not viable since hclog adds it's own parameters which are not present in the LINE format (namely @module).


🐛 bump kustomize to 4.5.7

This gets rid of vulnerable go-restful dependency.
https://github.com/advisories/GHSA-r48q-9g5r-8q2h

/test-ubuntu-integration-main

/lgtm


Simplify MintSDK.requestPaymentWithPaymentIntent Argument

This commit simplifies requestPaymentWithPaymentIntent method arguments
from receiving many payment intent attribute to payment intent id.
PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] angular.io application / infrastructure changes
[X] Other... Please describe:
Improvement

What is the current behavior?

requestPaymentWithPaymentIntent method requires many arguments
Issue Number: N/A
What is the new behavior?
requestPaymentWithPaymentIntent method only require single argument
Does this PR introduce a breaking change?

[X] Yes
[ ] No

Existing method with many arguments has been released and used. This PR essentially change the method signature which could lead to breaking change.
Other information

Can we use overloads for backwards compatibility?
https://dmitripavlutin.com/typescript-function-overloading/#:~:text=Function overloading in TypeScript lets,the function should be invoked.

sure, i can try it


support "class" element

https://github.com/srwiley/oksvg/issues/31

Thanks for your contribution zrcoder, and also for adding the test. That always makes things much easier. Just one question. Is there a reference to the format of the content of the


feat: Minkowski Convex Body Theorem for compact convex body

[x] depends on: #8287

bors r+
Thanks!


tests: add -Xcheck:jni to kotlin integration tests by default

Signed-off-by: Mike Schore<EMAIL_ADDRESS>

I do wonder if this would have caught this return value mismatch: https://github.com/envoyproxy/envoy-mobile/pull/2252

Thanks @jpsim!


support parsing discard in place of _forget

SE-390 concluded with choosing the keyword discard rather than forget. This commit begins the process of deprecating the old keyword on the swift-syntax side.
rdar://108859077

@swift-ci please test


Fixing SSL handshake error

This pull request in regards to issue #240

Released at<EMAIL_ADDRESS>🎉


Temporarily disable SSL verification

This change temporarily disables SSL verification in the createElasticsearchOutput function. We are experiencing SSL verification issues while working within our network, and this adjustment will allow us to continue working until a proper SSL solution is implemented.
In addition, I also replaced the Elasticsearch and Splunk secrets. Previously, there was a mix-up where Splunk secrets were mistakenly created in the Elastic test environment, and Elastic secrets were mistakenly created in the Splunk test environment. This change fixes the issue by properly separating the creation of Elasticsearch and Splunk secrets, ensuring that they are in their respective environments.

/lgtm
/approve


Refactor reproducer push code to reuse existing code

In a recent change[1], we introduced a new block to copy repositories
from the ansible controller to controller-0 in the push_code file of the
reproducer role. The new code is duplicating existing tasks.
This change refactors the push_code file to reuse existing tasks while
respecting user input.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

/retest-required

/approve

/retest-required


How did you connect your Zeversolar inverter to the network?

Hey,
I have a Zeversolar inverter, ZL 2000S, and just recently stumbled upon your script that can communicate with - and more importantly - extract data from such an inverter.
I have, however, been unable to figure out how to connect it to my network. I have opened the box and found two Ethernet connectors on the inverter PCB, but when connecting either to my network, the inverter does not get an IP, neither does it light up the LEDs of the network switch in the other end of the cable. I did succesfully test my laptop through the same Ethernet cable, just to confirm that the cable works.
I do understand that there's a ComBox module that unfortunately my Inverter does not have.
So my question to you is; Do you have your inverter connected through the ComBox or the internal Ethernet connectors? Do you have any images of the inside of the inverter where the Ethernet cable is visibly connected?
I hope you'll reply to my message.
Thanks,
Kenneth

Hi Kenneth,
I also have a Zeverlution 2000S - but mine is about 8 years old. If a have read correclty, it should be possible for you to get the inverter data.
Just for information: here (https://www.zeversolar.com/fileadmin/user_upload/pdf/usermanuals_en/installation_and_operating_instructions_zeverlution_1000S-3000S_en.pdf) is an installation and user manual.
Your inverter should have an internal ComBox module (the internal PCB having two RJ45 connectors and perhaps a RS485).
And here the misery starts. Either the description is misleading or the module is country-specific.

I didn't have that problem because the electricians ruined my CAT-6 cable so i had to switch over to WLAN.
After mounting the provided WLAN antenna (without i had to put the router aside) it worked fine. After switching through the menu (10th? position) I found the IP-Address. It was pretty strange (169.254.x.x) and out of my network range, so I had to change my TCP/IP configuration of my PC to get connected to the inverter to change its network settings.


bash-language-server: fix broken package

Description of changes
Fix the build phase of the package and add minor changes like, version test, remove unused variable and make shellcheck as default.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

Without this this PR, the package is built, but the executable fails to start. I incorporated your recommendations.

Without this this PR, the package is built, but the executable fails to start. I incorporated your recommendations.

OK I see now what you are talking about. How did you manage to find out the pnpm compile server command? I wonder if the documentation for pnpm could be improved...

I will merge when CI is green..

pnpm compile is a shorthand for pnpm run compile, see https://pnpm.io/8.x/cli/run
Script compile is the documented target, see https://github.com/bash-lsp/bash-language-server/blob/main/docs/development-guide.md#initial-setup
I additionally passed server as argument to compile to only compile server and not vscode-client. The resulting command is tsc -b server.
See also https://github.com/bash-lsp/bash-language-server/blob/main/package.json#L6

pnpm compile is a shorthand for pnpm run compile, see pnpm.io/8.x/cli/run Script compile is the documented target, see<EMAIL_ADDRESS>I additionally passed server as argument to compile to only compile server and not vscode-client. The resulting command is tsc -b server. See also<EMAIL_ADDRESS>
Thanks for explaining. I added a note to the main comment of https://github.com/NixOS/nixpkgs/issues/317927 .


Why does the high density scaling feature focus exclusively on collocating apps with heterogenous memory requirements?

As written this document focuses only on the scenario of collocating apps having different memory requirements; it doesn't acknowledge that a valid use case for this feature would also be to deploy more applications with small/equal memory footprints to the same plan.
Please see what I think is a related issue I just filed at https://github.com/MicrosoftDocs/azure-docs/issues/120711
Assuming it is acknowledged that indeed the maximum apps per ASP SKU guidance needs to be modified to account for the high-density scaling feature--that really the guidance should be expressed as max # of apps per instance--then I think the documentation for high-density scaling should be expanded to include a scenario like the one I mentioned in the linked issue.
From my perspective a 3-instance ASP consisting of P1mv3 SKUs could host 24 apps if each app required 1GB of RAM and if each app were deployed with NumberOfWorkers = 2 without violating the spirit of the max # of apps per plan guidance.  Such a deployment (outlined below) would be 33% more dense than would be two distinct 2-instance ASPs hosting the same number of apps.

Node1
Node2
Node3

1
1

2
2

3

3

4
4

5
5

6

6

7
7

8
8

9

9

10
10

11
11

12

12

13
13

14
14

15

15

16
16

17
17

18

18

19
19

20
20

21

21

22
22

23
23

24

24

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

ID: b3fc1b23-aac2-8b7d-cca7-2da897059ab0
Version Independent ID: 12a2b1e7-43ad-97ea-4757-c69b407ea7ba
Content: Per-app scaling for high-density hosting - Azure App Service
Content Source: articles/app-service/manage-scale-per-app.md
Service: app-service
GitHub Login: @msangapu-msft
Microsoft Alias: msangapu

@zack4485
Thanks for your feedback! We will investigate and update as appropriate.

Zack, Much appreciate your suggestion and feedback. Your feedback has been shared with the content owner for further review.

Thank you for your feedback. We've added this to our backlog to prioritize. #please-close


Leaderboard b

I tested it on my mac, and it works well!
But there are also some small changes, so I created environment-m1.yml and updated README

Thanks for helping to confirm it works on mac!


MemoryStream Copy to ResponseStream failed

the
ms.Copyto(s)

is failed to response the image
var bytes = ms.ToArray();
s.Write(bytes, 0, bytes.Length);

this is ok to response the image.
Where I am wrong ?

Nancy version: 2.0.0-clinteastwood
Nancy host

[ ] ASP.NET
[x] OWIN
[ ] Self-Hosted

Environment (Operating system, version and so on): windows 10 14393.969
.NET Framework version: .net core 1.1

Try this
public class ByteArrayResponse : Response
{
///
/// Byte array response
///
/// Byte array to be the body of the response</
param>
/// Content type to use
public ByteArrayResponse(byte[] body, string contentType = null)
{
this.ContentType = contentType ?? "application/octet-stream";
        this.Contents = stream =>
            {
                using (var writer = new BinaryWriter(stream))
                {
                    writer.Write(body);
                }
            };
    }
}

On 5 April 2017 at 11:17, Lei Xu<EMAIL_ADDRESS>wrote:

[image: ms]
https://cloud.githubusercontent.com/assets/5109966/24700978/757a4ef2-1a2b-11e7-8f47-3ea46ece8a9e.png
the
ms.Copyto(s)
is failed to response the image
var bytes = ms.ToArray();s.Write(bytes, 0, bytes.Length);
this is ok to response the image.
Where I am wrong ?

Nancy version: 2.0.0-clinteastwood
Nancy host

ASP.NET
OWIN
Self-Hosted

Environment (Operating system, version and so on): windows 10
14393.969
.NET Framework version: .net core 1.1

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NancyFx/Nancy/issues/2728, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGapoHhCSTIRVeKwrErV7PdWi6u8Qbfks5rs2o5gaJpZM4M0CPv
.

@jchannon ok, thx.


Update to ExoplanetEU2

Use ExoplanetEU2 and rename relevant columns to avoid conflicting names.
This will resolve issue #31

So you would like me to check this and merge if it is fine?

I was mostly just playing around with github and PRs, but that would be nice :)

Yea seems good.

A zero-correlation is also good to show sometimes, I guess. You can be sure people will request the impact parameter if it is not there.


[ETFE-1759] add removeAllButLatestForEachErnAndArc to BaseUserAnswersRepository, call on startup

We're thinking of raising a hotfix to do this once, no need to do it multiple times so doesn't need to be in main.


feat: write account and storage hashes in genesis

This is a starting point for inserting hashed accounts / storage when inserting the genesis block. In hive we discovered that building an empty payload on top of genesis without running stages would result in an empty root, so we need to populate the correct tables in order to calculate the root.

Codecov Report

Merging #2441 (12b229e) into main (5e96128) will decrease coverage by 55.25%.
The diff coverage is 0.00%.

: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    #2441       +/-   ##
===========================================
- Coverage   71.45%   16.20%   -55.25%
===========================================
  Files         486      486
  Lines       60043    60058       +15
===========================================
- Hits        42903     9732    -33171
- Misses      17140    50326    +33186

Flag
Coverage Δ

integration-tests
16.20% <0.00%> (-2.05%)
:arrow_down:

unit-tests
?

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

Impacted Files
Coverage Δ

bin/reth/src/drop_stage.rs
0.00% <0.00%> (-4.00%)
:arrow_down:

crates/primitives/src/genesis.rs
18.04% <0.00%> (-78.74%)
:arrow_down:

crates/staged-sync/src/utils/init.rs
0.00% <0.00%> (-86.24%)
:arrow_down:

crates/storage/provider/src/transaction.rs
0.00% <0.00%> (-90.72%)
:arrow_down:

crates/trie/src/errors.rs
0.00% <0.00%> (ø)

... and 351 files with indirect coverage changes


Fix typo when calling requireAll

Some issue with Travis https://www.traviscistatus.com/incidents/4vdl52d28hz3, will merge after that

Coverage remained the same at 96.288% when pulling 7a1ed67c9db7555040c90a3b547fa7584a5616f5 on shreeve:develop into c42af1061dcb4c44af505ebc1fe6e751240973e7 on adonisjs:develop.


Deprecate old Config classes in favour of mt_metadata Processing object

Here are two leftover items to look at from the last PR:

[ ] Address storage of json files in synthetic processing config for the aurora_vs_emtf tests (see issue #172).

[ ] Review reference to input_channels and output_channels in ConfigCreator
Do we want this information stored in two locations (decimation and station.run?)
In the case that the input and output channels are the same for all runs, then the input/output channels per decimation level can be set according to this info... the question is :
What happens if there are multiple runs which do not all have the same input and output channels available?  This should be addressed with a set of rules in DatasetDefinition

[x] Upon merge of this PR we will bump version from 0.0.2 to 0.0.3

[x] The old style configs are somehow leaking through into transfer_function collection, Fixed

[x] remove dependency on old config class for matlab zfile reader

[x] deprecate old DecimationLevelConfig class

[x] deprecate time_series_helpers by overwriting with time_series_helpers_new.py

[x] deprecate transfer_function_helpers by overwriting with transfer_function_helpers_new.py

Although there are two dangling issues (checkboxes at the top), these are going to be pushed to a later time as meetings to discuss will be infrequent in June and I want to get the new pipeline into main.


jax.experimental.host_callback.call has different behaviour on CPU vs GPU, for exceptions

import jax
import jax.experimental.host_callback as hcb

def raises(_):
    raise ValueError

@jax.jit
def f():
    hcb.call(raises, None)

try:
    f()
except Exception as e:
    print(type(e))

(JAX version 0.2.27)
This prints <class 'ValueError'> on CPU (as expected) but instead just prints a traceback to stdout/stderr on GPU. (i.e. no exception is raised.)
To be clear I'm aware of the whole "XLA doesn't support errors" problem. My assumption based on the CPU behaviour was that JAX worked around this (when errors are raised in hcb.call) by waiting for the XLA computation to complete, and then raising the appropriate error. Either that assumption was wrong, or it would seem that the GPU behaviour is wrong.
I appreciate this is pretty experimental / edge-case behaviour. FWIW my use-case is that I'd like to check the arguments passed to library functions, and raise an error if they're wrong.

FWIW I'm able to work around this by replacing
def raises(_):
    raise ValueError("error message goes here")

with something akin to:
def raises(_):
    print("error message goes here")
    sys.exit()

This crashes the whole runtime rather than gracefully raising an exception (terminate called after throwing an instance of 'pybind11::error_already_set' ... Aborted (core dumped)) but that's still better than proceeding with a wrong computation.

Closing as host_callback is deprecated in favour of jax.pure_callback (which does raise exceptions on both CPU and GPU).


i will try

Actually i cannot understand so much but i will try and i want to learn

Could you be more specific about you don't understood?

This is not the place for these types of queries. Try X or email. Thanks.


CSS/JS seem to not load... Any debug mode I could use to see what is tried to be loaded and if it fails?

Im using WebpackIO and my files setting seem to be correct
files: [
    // If this has length === 1, then single compiler
    {
      name: "web",
      entry: {
        // 		// mention each non-interdependent files as entry points
        //      // The keys of the object will be used to generate filenames
        //      // The values can be string or Array of strings (string|string[])
        //      // But unlike webpack itself, it can not be anything else
        //      // <https://webpack.js.org/concepts/#entry>
        //      // You do not need to worry about file-size, because we would do
        //      // code splitting automatically. When using ES6 modules, forget
        //      // global namespace pollutions 😉
        // 		vendor: './src/mobile/vendor.js', // Could be a string
        main: ["./assets_src/js/main.js", "./assets_src/scss/styles.scss"], // Or an array of string (string[])
      },
      // 	// Extra webpack config to be passed directly
      webpackConfig: webpackOverrideCallback,
    },
    // If has more length, then multi-compiler
  ],

When I build the site it works, but when I 'start' the server I load my webpage with seemingly no css or js. Both seem to be allright.
So now I'm trying to debug, but there is seemingly no 'debug mode' to see what fails.
So is there a debug mode I could use?
PS: Here is my full wpackio.project.js if that helps with you.
const pkg = require("./package.json");
const {
  getFileLoaderOptions,
  issuerForNonStyleFiles,
  issuerForStyleFiles,
} = require("@wpackio/scripts");
const CopyPlugin = require("copy-webpack-plugin");
const ImageminPlugin = require("imagemin-webpack-plugin").default;
const imageminMozjpeg = require("imagemin-mozjpeg");
const ImageminWebpWebpackPlugin= require("imagemin-webp-webpack-plugin");

const webpackOverrideCallback = (config, merge, appDir, isDev) => {
  // just part of webpack config concerning our SVG
  const configWithSvg = {
    module: {
      rules: [
        // This rule handles SVG for JS/TS files
        {
          test: /(\.svg(\?v=\d+\.\d+\.\d+)?)$/,
          use: [
            {
              loader: "file-loader",
              options: getFileLoaderOptions(appDir, isDev, false),
            },
          ],
          issuer: issuerForNonStyleFiles,
        },
        // This rule handles SVG for style files
        {
          test: /(\.svg(\?v=\d+\.\d+\.\d+)?)$/,
          use: [
            {
              loader: "file-loader",
              options: getFileLoaderOptions(appDir, isDev, true),
            },
          ],
          issuer: issuerForStyleFiles,
        },
      ],
    },
    plugins: [
      new CopyPlugin([
        { from: "assets_src/images", to: "images" },
        //{ from: 'assets_src/fonts', to: 'fonts' },
      ]),
      new ImageminPlugin({
        test: /\.(jpe?g|png|gif|svg)$/i,
        optipng: {
          optimizationLevel: 3,
        },
        plugins: [imageminMozjpeg({ quality: 75 })],
      }),
      new ImageminWebpWebpackPlugin()
    ],
  };

  //console.log(merge(config, configWithSvg));
  // merge our custom rule with webpack-merge
  return merge(config, configWithSvg);
};

module.exports = {
  // Project Identity
  appName: "name", // Unique name of your project
  type: "theme", // Plugin or theme
  slug: "name", // Plugin or Theme slug, basically the directory name under `wp-content/<themes|plugins>`
  // Used to generate banners on top of compiled stuff
  bannerConfig: {
    name: "name",
    author: "",
    license: "UNLICENSED",
    link: "UNLICENSED",
    version: pkg.version,
    copyrightText:
      "This software is released under the UNLICENSED License\nhttps://opensource.org/licenses/UNLICENSED",
    credit: true,
  },
  // Files we need to compile, and where to put
  files: [
    // If this has length === 1, then single compiler
    {
      name: "web",
      entry: {
        // 		// mention each non-interdependent files as entry points
        //      // The keys of the object will be used to generate filenames
        //      // The values can be string or Array of strings (string|string[])
        //      // But unlike webpack itself, it can not be anything else
        //      // <https://webpack.js.org/concepts/#entry>
        //      // You do not need to worry about file-size, because we would do
        //      // code splitting automatically. When using ES6 modules, forget
        //      // global namespace pollutions 😉
        // 		vendor: './src/mobile/vendor.js', // Could be a string
        main: ["./assets_src/js/main.js", "./assets_src/scss/styles.scss"], // Or an array of string (string[])
      },
      // 	// Extra webpack config to be passed directly
      webpackConfig: webpackOverrideCallback,
    },
    // If has more length, then multi-compiler
  ],
  // Output path relative to the context directory
  // We need relative path here, else, we can not map to publicPath
  outputPath: "assets_dist",
  // Project specific config
  // Needs react(jsx)?
  hasReact: false,
  // Needs sass?
  hasSass: true,
  // Needs less?
  hasLess: false,
  // Needs flowtype?
  hasFlow: false,
  // Externals
  // <https://webpack.js.org/configuration/externals/>
  externals: {
    jquery: "jQuery",
  },
  // Webpack Aliases
  // <https://webpack.js.org/configuration/resolve/#resolve-alias>
  alias: undefined,
  // Show overlay on development
  errorOverlay: true,
  // Auto optimization by webpack
  // Split all common chunks with default config
  // <https://webpack.js.org/plugins/split-chunks-plugin/#optimization-splitchunks>
  // Won't hurt because we use PHP to automate loading
  optimizeSplitChunks: true,
  // Usually PHP and other files to watch and reload when changed
  watch: "**/*.php",
  // Files that you want to copy to your ultimate theme/plugin package
  // Supports glob matching from minimatch
  // @link <https://github.com/isaacs/minimatch#usage>
  packageFiles: [
    "inc/**",
    "vendor/**",
    "assets_dist/**",
    "*.php",
    "*.md",
    "readme.txt",
    "languages/**",
    "layouts/**",
    "LICENSE",
    "*.css",
    "templates/**",
    "includes/**",
    "partials/**",
  ],
  // Path to package directory, relative to the root
  packageDirPath: "package",
};

Today I've learned the importance of having slug be the same as your WP theme.


Adds hidePixQrCode to Status Screen Bricks Types

Are we going to wait the doc to merge it?

Probabily. And we will need to do the same with the DefinitelyTyped repo


Associated_token keywords can't be used except with init

The associated_token:: keywords require init to be in the account constraints. It would be nice if this wasn't required so that we could use it to verify that the submitted account was indeed an associated token account.
Error message init must be provided before token rustc
e.g.
    #[account(mut, associated_token::mint = usdc_mint, associated_token::authority = user_authority)]
    pub user_usdc: Box<Account<'info, TokenAccount>>,

Whoops, wrong repo


Swap esp32-dev BSP for stable

This swaps the ESP32 Board support package from the dev version to the stable version.
Temporarily resolves the CI errors related to 3.0.0-alpha (uses IDF 5.1)
@ladyada
Planning to eventually move WipperSnapper to idf5.1, but currently builds are broken since the 3-alpha arduino-esp32 release last week.

@brentru i think we decided to push forward with supporting IDF 5 even tho its not released? :)

Yes @ladyada that is correct.
I should have cancelled this PR yesterday, sorry about that
On Thu, 12 Oct 2023, 19:36 ladyada, @.***> wrote:

@brentru https://github.com/brentru i think we decided to push forward
with supporting IDF 5 even tho its not released? :)
—
Reply to this email directly, view it on GitHub
https://github.com/adafruit/ci-arduino/pull/168#issuecomment-1760174899,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTBZ44KVGI56TJTEXBZLM3X7A2CZANCNFSM6AAAAAA53C5LMM
.
You are receiving this because you authored the thread.Message ID:
@.***>

np - i didnt get to this till today!


extend shuffling with optimizations

shuffling can be batched, rather than one index at a time
after implemented, extend the shuffling handler with tests for the optimized use case
see here for some more info: https://github.com/ethereum/consensus-specs/tree/dev/tests/formats/shuffling#test-format-shuffling

fixed in #345


[create-app] Include more plugins in the template

Hey, I just made a Pull Request!

Closes #1843
As I said to @Rugvip ,I will not have time to work on this during the next week.
Here is the work that I have already done.
:heavy_check_mark: Checklist

[ ] All tests are passing yarn test
[ ] Screenshots attached (for UI changes)
[ ] Relevant documentation updated
[ ] Prettier run on changed files
[ ] Tests added for new functionality
[ ] Regression tests added for bug fixes

Thanks! Will build on this to get the minimal setup completed

Closing this as work was picked up in #1942


Question: analyticsjs-boilerplate vs gtag? or with gtag?

This is a really great way to approach working with GA, thanks for sharing it. It includes so many of the ideas I've hacked support for into previous implementations, with many more I hadn't thought of, in a really flexible and clean package!
I wondered if you had thoughts on moving this code to support gtag, or whether you felt gtag gave you some of the flexibility you're going for in this code without some of the local boilerplate.
Or do you feel that the differences between ga and gtag are transparent enough to simply change the reference?
Thanks for the insight!

gtag was released without support for most of the advanced analytics.js features this boilerplate uses (e.g. tasks and plugins), so if you like these features then I wouldn't recommending using gtag.
The other thing to be aware of about gtag is it's not really an analytics.js replacement, it's a wrapper library on top of analytics.js (and others), meaning the gtag library still needs to load analytics.js, and it needs to convert all relevant gtag commands to analytics.js commands and run them.
As of right now, gtag is 54.5K and analytics.js is 33.7K, and since gtag will also load analytics.js, it's 262% more code for less functionality. There's also the problem that gtag is site-specific (because you add your tracking ID as a query string), so it's unlikely your users will have it cached; analytics.js on the other hand is used all over the web, so it's very likely to already be in your visitors cache when they load your site.
So, for all these reasons, I don't plan to switch to gtag as it'll just end up making my site take longer to load and consume more of my user's bandwidth.

Thanks @philipwalton! Very helpful in better understanding the goals of your boilerplate and the realities around gtag. Keep up the great work.


Fix integrity calculation, fixes #126

So the basic idea is to calculate the hashes within the _handleAssetEmitted hook and not in _handleDone.
It seems that _handleDone still doesn't have the files written to the disk when running. Not to mention the dev-server case, when the files don't even get written to the disk.
_handleAssetEmitted is able t get the rendered content and thus is able to create an integrity hash of it.

oh shit, webpack4 doesn't have assetEmitted.

Okay, I don't think anyone uses this with webpack4 because I've found multiple code paths that would simply just bail out when using webpack 4.
Also, tests are a disaster. Spent a couple hours of trying to get them working but to no avail. Who thought expect.toBePositive() is a valid and passable expect statement?
Anyways, tests are FUBAR, I won't even try to get them in order anymore.
There is a fix I need to make (cleaning up the irrelevant chunk filenames) and then this PR is good to go.

Okay, should be good to go now. I know it works with webpack 5 because I'm currently using it, as in I updated it for myself.
A timely merge and release is highly advised.

Thanks for the PR. I approved the runs, please fix the code-style issues, otherwise it will break blame.

Who thought expect.toBePositive() is a valid and passable expect statement?

Well, just do a git blame to figure it out :)
But seriously, we're happy to improve anything on tests, feel free to open other PRs that address this, or we can discuss in a new issue.
Could you please clarify what exactly is broken in integrity calculation? The way to clarify this is to write a regression tests that breaks before your change.

Btw there is no solid statement on if this module supports webpack 4 (which I think is EOL now). Would that have been the case, the changes would have been way easier. I've spent a couple days just to make this compatible with webpack4 just by going with the type definitions, but haven't tested it — other than running the failing tests which proved webpack4 still works.

Webpack 4 is still maintained. See open PRs in webpack repo, they mention webpack 4 and some features are still backported AFAIK, although it's been a year since the last release.
Standardized code formatting ensures minimal PRs, which ensures clean git history, which helps with git blame, git bisect, tracking regressions, etc. OK if you can't fix that, it's open-source, no warranty from any side.
That will make my job harder, as the PR has no tests, I will have to test things myself, reproduce the issue, ensure no breaking changes, and if the solution really solves the issue. I cannot give a timeframe on that.

No worries, I have my own fork used and working. It is really hard to prove a negative here since the module already works with the positive and not the other way around - as is the purpose of this PR.
I'll get notified if this PR ever merges, until then I'll just use mine.

As for the code formatting part, yeah I may have been a bit overreaching in reformatting parts I didn't touch on, but it's already done. It was a mess to work with the module (not because of the module, but because of JS), so I had to do my best to get a birds-eye-view of it.

Bumping for a timely review and a merge. FYI, I'm using this successfully in my projects.


flow to train own dataset

Hello,
Can you please tell the steps to train our own dataset in details. AS we need binary segmentation label file and instance segmentation label file with original image. How to create them?
What is the output of trained dataset?

@POOJA1305023 If you want to use your own dataset you will have to make binary label and instance label on your own


Shortened "Run/Selection Line in Python Terminal"

This PR resolved the issue mentioned in #22008.

Hi @khubaibalam2000! Thanks for your interesting in contributing 😊
Please the issue is about adding a shortTitle property to the command name, instead of renaming it. I added a clarification note in the issue.
However, we are reserving issues with the ghc-osd tag to the Open Source Day event happening on September 22nd. If this issue is still open past the event with no one assigned to it, I can re-assign you!

Ok sure. Thank you

Closing this for now. Please open a new PR against main using shortTitle feature.


switch to named HTTP clients from factory (instead of typed)

Don't like the typed HTTP clients magic. Our new approach will

list all names for our clients in IdentityServerConstants.HttpClients
use those names internally when resolving our services from DI

If you want to customize a client, override the client in the factory using the name.

I am curious, why don't you like the typed HttpClients?

I prefer the simplicity - and less DI magic.


issue17

:restservice:compileJava FAILED

Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':restservice:compileJava'.
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.


parenthesized types break highlighting

  message_handlers: (number);

breaks highlighting for the rest of the file.
  message_handlers: number;

works fine.

Verified. Up for grabs :rose:
var message_handlers: (number);
var bar = 123;

any effort in grammar should go to https://github.com/TypeStrong/atom-typescript/issues/675 :rose:

Hi,
I think this is related so I'll attach a screenshot; the parentheses around typing information in this case is in a method parameter.

Should work with release https://github.com/TypeStrong/atom-typescript/releases/tag/v8.0.0 :rose: If not raise issue at https://github.com/Microsoft/TypeScript-TmLanguage/issues and link us :rose:


Kubebuilder is not listed in prerequisites

Bug Report
Kubebuilder is Tightly coupled in requirements, which is fine but...

kubebuilder is not listed in Prerequisites
make docker-build ... expects kubebuilder in usr/local/kubebuilder only otherwise it raises an error, which I don't think is a good idea. User may have kubebuilder anywhere in PATH.

What did you do?
make docker-build $IMG
What did you expect to see?
resolves kubebuilder from $PATH not from any Specific Location.
What did you see instead? Under which circumstances?
Failure [0.002 seconds]
[BeforeSuite] BeforeSuite
/home/deepak/projects/go/src/operator/newoperator3/final/crda-operator/controllers/suite_test.go:52

  Unexpected error:
      <*fmt.wrapError | 0xc00046c2a0>: {
          msg: "failed to start the controlplane. retried 5 times: fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory",
          err: {
              Op: "fork/exec",
              Path: "/usr/local/kubebuilder/bin/etcd",
              Err: 0x2,
          },
      }
      failed to start the controlplane. retried 5 times: fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory
  occurred

  /home/deepak/projects/go/src/operator/newoperator3/final/crda-operator/controllers/suite_test.go:62
------------------------------

Ran 0 of 0 Specs in 0.002 seconds
FAIL! -- 0 Passed | 0 Failed | 0 Pending | 0 Skipped
--- FAIL: TestAPIs (0.00s)
FAIL
coverage: 0.0% of statements
FAIL    github.com/deepak1725/crda-operator/controllers 0.010s
FAIL
make: *** [Makefile:30: test] Error 1

Environment

operator-sdk version: 0.19

go version: 0.14

Kubernetes version information: 1.18

Kubernetes cluster kind: minikube

Are you writing your operator in ansible, helm, or go? go

Possible Solution

Additional context
Add any other context about the problem here.

Hi @deepak1725,
I am unable to reproduce this issue. Kubebuilder should not be a pre-requirement and shows that your project is asking its binary to setup the Env Test.
Could you please let us know the steps performed to generate this issue?

@camilamacedo86
My System didn't have kubebuilder
Steps:

I tried make docker-build $IMG

Got Error: As Specified above.

then I installed it in the separate (Path)[https://book.kubebuilder.io/quick-start.html#installation] than specified in Official Kubebuilder docs.
ie. I installed in /usr/local/bin/kubebuilder instead of /usr/local/kubebuilder/

Exported Kubebuilder and it is recognized from every end of PC.

I tried again make docker-build $IMG, but the error was still not resolved.

Finally I have moved binaries from my custom path to officially specified Kubebuilder path, which finally Resolves Error.

Conclusion acc. to me:
SDK has Hard-Coded Kubebuilder path which relies solely on Official specified Path.

Hi @deepak1725,
Really thank you for raise that.  As you know, SDK is in a process to be integrated with KB which means that its project layouts will be aligned. More info : Integrating Kubebuilder and Operator SDK. But, IMHO kubebuilder cannot be set as a pre-requirement because the kubebuilder version used by SDK as dependency can be diff of the version installed.
The problem faced by you is because Env Test requires the apiserver, kubectl and etcd binaries to run and these are shipped with kubebuilder binary. You can customize its set up to use them from another location as well. To understand it further as to see how you can change its conjugation see: https://github.com/kubernetes-sigs/kubebuilder/issues/686#issuecomment-647376924.
I will be looking at it and we will discuss these scenarios in the bug triage meeting on Monday. Feel free to attend if you wish.

PR to fix it for v3 in Kubebuilder; https://github.com/kubernetes-sigs/kubebuilder/pull/1600

Hi @deepak1725,
See that we added a script to upstream to do this setup and we have a pr for master https://github.com/operator-framework/operator-sdk/pull/3510.

All done. We can improve the docs in the future as well. Really tks for raise that.

@camilamacedo86 are we going to cherry-pick this in 0.19 later..?

It is applied to the 0.19 already. See; https://v0-19-x.sdk.operatorframework.io/docs/golang/references/env-test-setup/ and the PR: https://github.com/operator-framework/operator-sdk/pull/3517

We are re-open this one. After the kubebuilder/controller-runtime meeting was decided that we should not re-build the bins and instead of that get them from https://storage.googleapis.com/kubebuilder-tools. @joelanford has been working an script against controller-runtime: https://github.com/kubernetes-sigs/controller-runtime/pull/1092
And then, we imagine as a final solution something such as:

setup_envtest.sh:

ENVTEST_ASSETS_DIR=$(pwd)/test/assets
fetch_envtest_assets() {
    OS=$(uname -s | tr '[:upper:]' '[:lower:]')
    ARCH=$(uname -m | sed 's/x86_64/amd64/')
    mkdir -p $ENVTEST_ASSETS_DIR
    curl -fsL "https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-1.16.4-${OS}-${ARCH}.tar.gz" | tar zx --strip-components=1 -C $ENVTEST_ASSETS_DIR
}
setup_envtest_env() {
    export TEST_ASSET_KUBE_APISERVER=$ENVTEST_ASSETS_DIR/bin/kube-apiserver
    export TEST_ASSET_ETCD=$ENVTEST_ASSETS_DIR/bin/etcd
    export TEST_ASSET_KUBECTL=$ENVTEST_ASSETS_DIR/bin/kubectl
}

Then in a makefile (or wherever)
source setup_envtest.sh; fetch_envtest_assets; setup_envtest_env

This shouldn't block v1.0 since the steps to get envtest tools are encoded in a script and documented.

I just hit this on 1.0, and I don't see this explained in the docs. Is this the right page? https://sdk.operatorframework.io/docs/building-operators/golang/references/envtest-setup/
Might want to weave a link to that into the tutorial, although it's quite possible I missed it.

Hi @jimdickinson,
In the quickstart, you will see that a step was added to solve this problem for now.  See: https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/#configuring-your-test-environment

@camilamacedo86 - the link you sent leads to the Quickstart page but the section is missing.

The above link shows the latest version (1.1). For this version, the setup is no longer required. See that your project is built with the target as: https://github.com/operator-framework/operator-sdk/blob/master/testdata/go/memcached-operator/Makefile#L28-L33.
However, if you see any problem could you please raise a new issue.

I am using operator-sdk version 1.3.0 and get this error message:
 Unexpected error:       <*fmt.wrapError | 0xc00045cd60>: {           msg: "failed to start the controlplane. retried 5 times: fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory",           err: {               Op: "fork/exec",               Path: "/usr/local/kubebuilder/bin/etcd",               Err: 0x2,           },       }       failed to start the controlplane. retried 5 times: fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory   occurred
and here are the lines in the Makefile that seem to be discussed above:
ENVTEST_ASSETS_DIR=$(shell pwd)/testbin test: generate fmt vet manifests         mkdir -p ${ENVTEST_ASSETS_DIR}         test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.0/hack/setup-envtest.sh         source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out
Any suggestion as to what I am doing wrong would be appreciated.

I am using operator-sdk version 1.3.0 and get this error message:
 Unexpected error:       <*fmt.wrapError | 0xc00045cd60>: {           msg: "failed to start the controlplane. retried 5 times: fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory",           err: {               Op: "fork/exec",               Path: "/usr/local/kubebuilder/bin/etcd",               Err: 0x2,           },       }       failed to start the controlplane. retried 5 times: fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory   occurred
and here are the lines in the Makefile that seem to be discussed above:
ENVTEST_ASSETS_DIR=$(shell pwd)/testbin test: generate fmt vet manifests         mkdir -p ${ENVTEST_ASSETS_DIR}         test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.0/hack/setup-envtest.sh         source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out
Any suggestion as to what I am doing wrong would be appreciated.

@kansberry make test is giving you that error? If you add
SHELL = /bin/bash

to your file, what happens?

@kansberry make test is giving you that error? If you add
SHELL = /bin/bash

to your file, what happens?

No, the command I am running is "make docker-build IMG=registry.hub.docker.com/$USERNAME/memcached-operator:v0.0.1". I also created an environment variable of SHELL=/bin/bash, as suggested, but this didn't fix the issue. I tried falling back to 1.2.0, and I get the same error.

No, the command I am running is "make docker-build IMG=registry.hub.docker.com/$USERNAME/memcached-operator:v0.0.1". I also created an environment variable of SHELL=/bin/bash, as suggested, but this didn't fix the issue. I tried falling back to 1.2.0, and I get the same error.

@kansberry can you file a new issue with a link to/paste of your Makefile.

@kansberry can you file a new issue with a link to/paste of your Makefile.

@kansberry make test is giving you that error? If you add
SHELL = /bin/bash

to your Makefile, what happens?

Thanks Estroz. I was experiencing the same problem as the OP. Doing your suggestion solved the problem!
Environment -
Kali linux WSL2 instance.

@kansberry make test is giving you that error? If you add
SHELL = /bin/bash

to your Makefile, what happens?

Thanks Estroz. I was experiencing the same problem as the OP. Doing your suggestion solved the problem!
Environment -
Kali linux WSL2 instance.

I'm still experiencing this issue

OS: WSL2
Still does not work!
Commit - https://github.com/evergreen-trading-systems/yta-operator/commit/64a13f71d2b05bc45e4285e6942e3249af85790a#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52

Yep, I think this is a user-experience issue. If I have to rename a path for kubebuilder manually through some riga-maru, I don't think most users will find this edge case very friendly.

These helped me:
USE_EXISTING_CLUSTER (boolean): if set to true, envtest will use an existing cluster
TEST_ASSET_KUBE_APISERVER (string): path to the api-server binary to use
TEST_ASSET_ETCD (string): path to the etcd binary to use
TEST_ASSET_KUBECTL (string): path to the kubectl binary to use
KUBEBUILDER_ASSETS (string): directory containing the binaries to use (api-server, etcd and kubectl). Defaults to /usr/local/kubebuilder/bin.
KUBEBUILDER_CONTROLPLANE_START_TIMEOUT (string supported by time.ParseDuration): timeout for test control plane to start. Defaults to 20s.
KUBEBUILDER_CONTROLPLANE_STOP_TIMEOUT (string supported by time.ParseDuration): timeout for test control plane to start. Defaults to 20s.
KUBEBUILDER_ATTACH_CONTROL_PLANE_OUTPUT (boolean): if set to true, the control plane's stdout and stderr are attached to os.Stdout and os.Stderr


Transform.translate and GestureDetector Nesting causes onPanUpdate onPanStart onPanEnd, which cannot be used

Transform. The transformation of translate will lead to the failure of events of GestureDetector nested in child nodes, which is not only related to OnPan events。

Hi @zhangweihong,
Can you please provide your flutter doctor -v  and a minimal complete reproducible code sample?
Please also provide the steps to reproduce.
Thank you


WebChat stops polling for new messages

Some times (like a lot) the WebChat control will stop polling the messages API. Later, when sending new message from the user, will wake up the polling mechanism again.
I see that you had others complaining about the same issue.
Thanks

Hi @arieschwartzman, we have this issue fixed and it should be deployed soon.

Great ! Thanks

Closing, please see #965


sum-of-all-numbers_earias12.py

i did it! yeih

i think you forgot to commit! the files are empty
also please delete the loose files and only leave your solution in /python/beginner/sum-of-all-numbers_earias12.py
comment / reopen when you have the fixes up


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1129 ms

Resolved: Bofrost.de performance has improved in d450a22.


ISSUE: will not log back into mail client

Describe the bug
reloaded entity and it will not log onto mail client
Environment (please complete the following information):

OS: [e.g. HassOS/Raspbian/CentOS]
Type of device: [e.g. RPi3/NUC/Synology]
Home Assistant version: [e.g. 0.105.5]
Hassio/Docker/Core?
Component version: [e.g. 0.1.2]

Logs
no error logs entity will not install
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
probably just going to abandon this anyways it never has worked proper rarely catches any mail and it was hit or miss mostly miss on packages from USPS, ups and fedex spent way more time than I should of on this

Enable debugging and check your home-assistant.log file for errors.

Enable debugging and check your home-assistant.log file for errors.
it does not leave anything in the log as it will not even load do to a login failure

Which email provider?

gmail

You've setup an app password?

Yes and it use to work even redid it hoping that was the problem

Can't really help without logs.

That's fine it never really worked very well, just going to  remove the card and forget about trying to use it to automatically control my gate

interesting

still a problem but no help here


Error when running "resetpv"

Hi,
I have downloaded the latest "resetpv" file available (the one with size "24.7 MB") but when trying to execute it, I get the following error:
eccd@director-0-ccd-redes:~/k8s-reset-terminating-pv> ./resetpv
-bash: ./resetpv: cannot execute binary file: Exec format error
I'm executing it on the director node of a kubernetes cluster:
eccd@director-0-ccd-redes:~/k8s-reset-terminating-pv> uname -a
Linux director-0-ccd-redes 4.12.14-197.29-default #1 SMP Fri Dec 6 12:08:50 UTC 2019 (ca25711) x86_64 x86_64 x86_64 GNU/Linux
eccd@director-0-ccd-redes:~/k8s-reset-terminating-pv> file resetpv
resetpv: Mach-O 64-bit x86_64 executable
Do you know how to fix this error?
Thanks a lot in advance.

@phonic69  Thanks for trying the tool.
The binary you downloaded from the release page is built for macOS, that why you see the "Exec format error" on your linux server.
I have build the tool for linux and uploaded it on the release page, please download resetpv-linux-x86-64 and try again.
Jian

@jianz Thanks a lot for providing the executable for linux. Anyway, it seems the etcd is not reachable in our environment since there is no pod related to etcd, just a service:
kubectl get all -A | grep etcd
etcd            service/etcd                                                ClusterIP      None                     2379/TCP                                                                    75d
kubectl describe svc -n etcd etcd
Name:              etcd
Namespace:         etcd
Labels:
Annotations:       kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{"prometheus.io/scrape":"etcd"},"name":"etcd","namespace":"etcd"},"spec":{"c...
prometheus.io/scrape: etcd
Selector:
Type:              ClusterIP
IP:                None
Port:              api  2379/TCP
TargetPort:        2379/TCP
Endpoints:         <IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379
Session Affinity:  None
Events:
Does it make any sense to you?
Thanks a lot for the support.

@phonic69 This is a little strange. I guess most likely the etcd pod not named as etcd
Since you find the Endpoints of the etcd service, I suggest you try the following command to see if any pod shows up looks like the etcd pod.
kubectl get pod -A -o wide | grep <IP_ADDRESS>
Good luck.


Add configs for ACES 2.0

The configs need to be updated to support the release of ACES 2.0. There are many questions to resolve on the way to that goal, this issue is a placeholder for the discussion.
Open questions:

What displays will be supported?  Waiting on a list from AMPAS.
How will backwards compatibility for ACES 1 output transforms be handled? Will ACES 1 View Transforms and Views be included in the new configs, perhaps as inactive? Will the ACES 1 configs get further updates (e.g. AppleLog and bug fixes)?
Which configs do we want built into the OCIO library itself?
How will D60 sim be handled? All displays will have D65 and D60 versions. Is there a way for a user to make that decision at a project level and then only see the chosen white point? Do we need to add library support to allow hierarchical view menus (i.e. a family attribute for views)?
And, I hesitate to even mention this, what should the new views be named?

How will backwards compatibility for ACES 1 output transforms be handled? Will ACES 1 View Transforms and Views be included in the new configs, perhaps as inactive? Will the ACES 1 configs get further updates (e.g. AppleLog and bug fixes)?

I don't think we should keep compatibility in the repo with ACES 1: It is going to be a huge mess. We will have to track two submodules, i.e., aces-dev and aces-system, we will have to maintain two different CTL discovery and parsing processes, we will have to maintain a giant spreadsheet with both ACEStransformID sets.
I would also prefer to keep the ACES 2 configs that we release devoid of ACES 1 things that are ported over and rather make sure that the OCIO config merging system works and delegate the frankensteining of configs to users.


Missing include for fmt::ostream_formatter

Hello, if fmt is present (the macro FMT_VERSION is defined), strong_type will require a manual include of fmt/ostream.h to get the fmt::ostream_formatter needed line 1687 in the header.
I think it should include it on its own, or maybe do some fancy magic to not error out when its absent.
I'm using strong_type v6 and fmt 9.1.0.

I've made some changes regarding {fmt} after that release. Can you try main and tell me if there's more work to do?

It's fixed in main indeed (7b859d29f60c56f0fbfd173b2501c0e91721f9e0), thanks!


Update Enum.chunk_by to es - Fix #529

es traduction for #529

Thank you and welcome @edwinallenz!  @erickgnavar could you take a peek at this when you have a moment?

Thank you @edwinallenz and @erickgnavar ❤


feat(node:timer): implement setImmediate with setTimeout

As discussed in https://github.com/unjs/unenv/pull/302 using a timeout is a more sensible behavior

@pi0 Thanks for the help and review. I have updated the PR.

and even fixed the ci error... I think ;)

@pi0 Thanks for your help and being so reactive 🙏

Thanks for getting this fixed!


TDP

Hi, I Am rying the TDP under VS2109, with some the examples. However, it does not compile and give some errors. More in detail, the example I am using is the 05_producers_with_consumers.cpp and the errors I get from the compiler:
Build started...
1>------ Build started: Project: NPXserver, Configuration: Debug Win32 ------
1>NPXserver.cpp
1>C:\P2019\NPXserver\others\tdp\pipeline.impl.hpp(603,53): error C2440: '': cannot convert from 'initializer list' to 'tdp::detail::partial_pipeline<jtc::type_list<>,F,F_>'
1>        with
1>        [
1>            F=main::<lambda_1>
1>        ]
1>C:\P2019\NPXserver\others\tdp\pipeline.impl.hpp(605,1): message : No constructor could take the source type, or constructor overload resolution was ambiguous
1>C:\P2019\NPXserver\NPXserver\NPXserver.cpp(75): message : see reference to function template instantiation 'auto tdp::detail::producer<main::<lambda_1>>::operator >><const main::<lambda_2>&>(Fc) noexcept &&' being compiled
1>        with
1>        [
1>            Fc=const main::<lambda_2> &
1>        ]
1>C:\P2019\NPXserver\NPXserver\NPXserver.cpp(75,53): error C2677: binary '>>': no global operator found which takes type 'tdp::detail::consumer' (or there is no acceptable conversion)
1>Done building project "NPXserver.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Hello @massadop, and thanks for trying out TDP!
C++20 changed how aggregates work, with P1008, in a non-backwards-compatible way. So it broke the partial_pipeline template, since it was an aggregate with deleted copy/move constructors.
It should be a quick upgrade path, though I'll also need to upgrade testing for every compiler with C++20 support now. So I'll only be able to work on this in the weekend.
Until then, if possible in your project, changing from /std:c++latest to /std:c++17 should work.

I've merged the solution to the main branch, after confirming the new CI setup works.
Thank you again for the contribution!


Use local syntax highlighting and colorscheme

Less of an issue, more of a feature request.
How much work would it be to use the local highlighting and colorscheme when taking a snapshot?

Hi @DyBev, thx for this issue reporting, actually CodeSnap now using syntect to implement code highlight. Users may have their own color scheme, it's a lot of work if need to change the strategy of highlight code.

I see thanks for pointing me towards the syntax highlighter, I can just add the syntax highlight file to that repo then it would solve the issue I'm facing where a snapshot can't be taken at all

CodeSnap does not support custom code theme for now, but we have planned to support for custom code theme in the future.

Yeah why not just take a screenshot, fastest solution

@LZDQ yes that is what I've been doing. I've moved away from the plugin now.
The comment isn't helpful. By your logic, why should this plugin exist in the first place, just take a screenshot after all you can just press cmd+shift+4 or cmd+shift+5 and take a screenshot or screen recording and you're done.


botocore.exceptions.ClientError: An error occurred (AuthorizationHeaderMalformed) when calling the ListBuckets operation

botocore.exceptions.ClientError: An error occurred (AuthorizationHeaderMalformed) when calling the ListBuckets operation: The authorization header is malformed; the Credential is mal-formed; expecting "/YYYYMMDD/REGION/SERVICE/aws4_request".
TRACEBACK
Traceback (most recent call last):
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/Users/adam/test/app/app.py", line 25, in files
return render_template('files.html', my_bucket=my_bucket, files=summaries)
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/templating.py", line 135, in render_template
context, ctx.app)
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask/templating.py", line 117, in _render
rv = template.render(context)
File "/Users/adam/test/venv/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/Users/adam/test/venv/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/Users/adam/test/venv/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/adam/test/venv/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/Users/adam/test/app/templates/files.html", line 1, in top-level template code
{% extends "layout.html" %}
File "/Users/adam/test/app/templates/layout.html", line 1, in top-level template code
{% extends "bootstrap/base.html" %}
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 1, in top-level template code
{% block doc -%}
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 4, in block "doc"
{%- block html %}
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 20, in block "html"
{% block body -%}
File "/Users/adam/test/venv/lib/python3.7/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 23, in block "body"
{% block content -%}
File "/Users/adam/test/app/templates/files.html", line 24, in block "content"
Created: {{my_bucket.creation_date | datetimeformat }}
File "/Users/adam/test/venv/lib/python3.7/site-packages/jinja2/environment.py", line 430, in getattr
return getattr(obj, attribute)
File "/Users/adam/test/venv/lib/python3.7/site-packages/boto3/resources/factory.py", line 339, in property_loader
self.load()
File "/Users/adam/test/venv/lib/python3.7/site-packages/boto3/s3/inject.py", line 72, in bucket_load
response = self.meta.client.list_buckets()
File "/Users/adam/Library/Python/3.7/lib/python/site-packages/botocore/client.py", line 314, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/Users/adam/Library/Python/3.7/lib/python/site-packages/botocore/client.py", line 612, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AuthorizationHeaderMalformed) when calling the ListBuckets operation: The authorization header is malformed; the Credential is mal-formed; expecting "/YYYYMMDD/REGION/SERVICE/aws4_request".

FIXED
Defined my configuration in a config.py file but it was already configured in the environment


Demonstration of left-handed hack for LibCarla

Description

Hacked in some left-handed traffic assumptions into LibCarla. This changes the assumptions from right-handed traffic (default) to left-handed. As this is not a good change, it is in a draft PR for reference purposes and should never be merged.
This doesn't resolve any issues but users who want to ONLY work on left-handed traffic can use this fix.
Procedure
First, use RoadRunner and make a map with left-handed traffic (left-hand lanes should have "forward" travel direction, "backward" for right handed lanes), export with the left-hand setting.

Get this change
make clean
make LibCarla (builds this change. copying into CarlaUE4 and PythonAPI dependencies folder)
make pythonAPI (builds PythonAPI with this change)
make launch (starts CarlaUE4 with this change)
Import the xodr/fbx you generated (Don't use make import because it's broken on master, I rely on this change that fixes that)
run example

Proposal
I created this to show that it's fairly simple to handle left-handed traffic, it's just blocked by some assumptions carla makes. I have some ideas for real support:

Determine first what kind of left-handed support we want to give. I think it's a requirement to support RHT and LHT in the same build, but is it necessary to support RHT and LHT in the same MAP?
Ask RoadRunner to update their OpenDrive spec. They are using Opendrive 1.4, but if RoadRunner updated to OpenDrive 1.5 spec from 1.4 and use the updated Road Header Record (http://opendrive.org/docs/OpenDRIVEFormatSpecRev1.5M.pdf, section 5.3.1, rule), it could get rid of the current <UserData><VectorRoad travelDir=forward/backward> setup. Then Carla would also be able to support the OpenDrive 1.5 format (instead of needing to specifically support the custom tag in the OpenDrive file produced by RoadRunner).
Carla needs to parse either the RoadRunner tag or the OpenDrive 1.5 RHR to determine the handedness of roads. If we don't expect to find LHT and RHT together in a map, as soon as we see a lane of positive lane ID + backward/forward, we can assume the traffic direction for the whole file. If not, then it gets a bit more complicated but still doable.
When parsing the lanes, since we already check the contents of   and  headers in OpenDrive, why don't we give Carla Roads more descriptive arrays of left/center/right lanes?
If we don't want to do that, can we at least make a helper function for checking the ID? I didn't do it this time, but it is weird to keep doing comparisons against the lane ID. Would be much better to be on a higher level of abstraction and have a clear function that does it instead of a lane ID comparison and a comment every time saying what it's all about.

Where has this been tested?

Platform(s): ... Windows 10 x64, Ubuntu 18.04
Python version(s): ... 3.6.9
Unreal Engine version(s): ... 4.22.3

Possible Drawbacks

It literally breaks all right-handed traffic maps on import and driving on left-handed maps, so it has a huge drawback.

This change is

Not sure If im doing something wrong, but after getting the files. Doing a make clean, and then make LibCarla I get the following error:
LibCarla/source/carla/road/Map.cpp:582:30: error: out-of-line definition of 'GenerateWaypointsOnRoadEntries' does not match any declaration in 'carla::road::Map'   std::vector<Waypoint> Map::GenerateWaypointsOnRoadEntries() const {

@gjossep Hopefully I'll have some time next week to check this out. Maybe Map.cpp changed on master or something since I am seeing that I can't update this branch from github due to a merge conflict.
I cloned this branch directly and it works fine for me. Maybe you can do that, build libcarla and pythonapi, and copy the files into your own carla. If you're cherry-picking my change onto master I'm sure there could be some issues, but the merge conflict shouldn't be too difficult to solve either.

@jeffreykxiao kudos to you for this hack. Would you be interested in coordinating with the team to propose a proper solution that can stand the pass of time?

Hello, I am very interested in making this work. I have been trying to adapt this to the new version of CARLA 0.9.9 but it seems that they made a lot of changes in the way they generate the waypoints. Have you had a look at the new version? any advice?
My other option is to make the route planner work again in the new version, but I do not know if this is viable.

Hi, I am also very interested in this work. Is there any update? @jeffreykxiao @gjossep @germanros1987 @joealan11 @marcgpuig
I searched the issues, but cannot found any feature requests of left-hand driving. Many countries (like UK, Japan) adopt left-hand traffic, so I hope Carla will officially support left-hand traffic.

Description
Hacked in some left-handed traffic assumptions into LibCarla. This changes the assumptions from right-handed traffic (default) to left-handed. As this is not a good change, it is in a draft PR for reference purposes and should never be merged.
This doesn't resolve any issues but users who want to ONLY work on left-handed traffic can use this fix.
Procedure
First, use RoadRunner and make a map with left-handed traffic (left-hand lanes should have "forward" travel direction, "backward" for right handed lanes), export with the left-hand setting.

Get this change
make clean
make LibCarla (builds this change. copying into CarlaUE4 and PythonAPI dependencies folder)
make pythonAPI (builds PythonAPI with this change)
make launch (starts CarlaUE4 with this change)
Import the xodr/fbx you generated (Don't use make import because it's broken on master, I rely on this change that fixes that)
run example

Proposal
I created this to show that it's fairly simple to handle left-handed traffic, it's just blocked by some assumptions carla makes. I have some ideas for real support:

Determine first what kind of left-handed support we want to give. I think it's a requirement to support RHT and LHT in the same build, but is it necessary to support RHT and LHT in the same MAP?
Ask RoadRunner to update their OpenDrive spec. They are using Opendrive 1.4, but if RoadRunner updated to OpenDrive 1.5 spec from 1.4 and use the updated Road Header Record (http://opendrive.org/docs/OpenDRIVEFormatSpecRev1.5M.pdf, section 5.3.1, rule), it could get rid of the current <UserData><VectorRoad travelDir=forward/backward> setup. Then Carla would also be able to support the OpenDrive 1.5 format (instead of needing to specifically support the custom tag in the OpenDrive file produced by RoadRunner).
Carla needs to parse either the RoadRunner tag or the OpenDrive 1.5 RHR to determine the handedness of roads. If we don't expect to find LHT and RHT together in a map, as soon as we see a lane of positive lane ID + backward/forward, we can assume the traffic direction for the whole file. If not, then it gets a bit more complicated but still doable.
When parsing the lanes, since we already check the contents of   and  headers in OpenDrive, why don't we give Carla Roads more descriptive arrays of left/center/right lanes?
If we don't want to do that, can we at least make a helper function for checking the ID? I didn't do it this time, but it is weird to keep doing comparisons against the lane ID. Would be much better to be on a higher level of abstraction and have a clear function that does it instead of a lane ID comparison and a comment every time saying what it's all about.

Where has this been tested?

Platform(s): ... Windows 10 x64, Ubuntu 18.04
Python version(s): ... 3.6.9
Unreal Engine version(s): ... 4.22.3

Possible Drawbacks
It literally breaks all right-handed traffic maps on import and driving on left-handed maps, so it has a huge drawback.
This change is

Hi I am also looking into a left handed modification. have you be able to make it work on later version of Carla? thanks


allow more polls per player

https://discord.com/channels/711548456019296289/711548803978887180/1000326344850284564

blocked by #878


LSP-elixir won't start

I'm seeing
LSP: lsp-elixir crashed (5 / 5 times in the last 180.0 seconds), exit code 1, exception: None

In my console window, and running the "language_server.sh" file in the install folder (/home/sardaukar/.cache/sublime-text/Package Storage/LSP-elixir/server/0.17.1 ) I get:
Running /home/sardaukar/.cache/sublime-text/Package Storage/LSP-elixir/server/0.17.1/launch.sh
Preferred shell is fish, launching launch.fish
Looking for ASDF install
ASDF install found in /home/sardaukar/.asdf/asdf.fish, sourcing
Installing ElixirLS release v0.17.1
Running in /home/sardaukar/.cache/sublime-text/Package Storage/LSP-elixir/server/0.17.1
Install complete
No file named /home/sardaukar/.cache/sublime-text/Package

Looks like the "no file named" part isn't taking into account spaces, and can't properly work with /home/sardaukar/.cache/sublime-text/Package Storage's name. Where is the "No file named" last call made?
I'm on Sublime 4, build 4152

Did previous versions work for you? If they did, please file an issue against elixir-ls

If the error is in the Sublime package launcher, won't elixir-ls maintainers just bounce me back here?

Our code hasn't changed in a bit. That's why I asked if the previous versions worked for you. If they did, then the problem probably isn't from here.
You can turn on debug logs (check lsp docs) and see it from the lsp log panel, see if the problem comes from the language server, or only in python.
On phone, sorry about the vague instructions!

I haven't used Sublime in a while, so not sure if the previous version worked. Thanks for the replies, anyway.


[GUI] Template: allows creation of attribute of type Actuator without Value type selected

Allows creation of attribute of type Actuator without Value type selected.

Steps to reproduce the problem:

Click "New Template"
Fill in template name
Click "New Attribute"
Fill in Attribute Name
Select Attribute Type = Actuator
Click "ADD" to save the attribute
Save the template

Note: In previous versions the message displayed was "You can´t leave type empty".
Affected Version: 0.3.0-nightly_20181227

Test OK.


Make C# error spec compliant

-- Make sure we return StatusCode.Internal status on client side if we can't parse response message
-- add tests to check our behavior in various serialization/deserialization error scenarios.
-- a bit of changes to test helpers to make them usable for the new tests
-- a bit of style fixing.

LGTM


Failed to connect to ESP32 when flash (IDFGH-2048)

The following problems occur when executing the command make flash：
App "blink" version: v3.3
Flashing binaries to serial port /dev/espDug (app at offset 0x10000)...
esptool.py v2.8-dev
Serial port /dev/espDug
Connecting......................................_____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
I have successfully burned the example "hello_world", which is running normally. But I had this problem when I tried to burn another case. As I saw "connecting", I pressed and held the "boot" button, but it didn't seem to work. How can I solve this problem？

@Tflgit Thanks for reporting this. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks.

@Alvin1Zhang Thanks, The details:
hardware: ESP32_Lyrat
sdk configuration is as the default, modify the Serial port only
the board running "esp-idf/examples/get-started/hello_world" demo, version: v3.3
board log
ets Jun  8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6336
ho 0 tail 12 room 4
load:0x40078000,len:11624
ho 0 tail 12 room 4
load:0x40080400,len:6648
entry 0x40080764
I (32) boot: ESP-IDF v3.3 2nd stage bootloader
I (32) boot: compile time 09:30:05
I (32) boot: Enabling RNG early entropy source...
I (37) boot: SPI Speed      : 40MHz
I (41) boot: SPI Mode       : DIO
I (45) boot: SPI Flash Size : 4MB
I (49) boot: Partition Table:
I (52) boot: ## Label            Usage          Type ST Offset   Length
I (60) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (67) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (75) boot:  2 factory          factory app      00 00 00010000 00100000
I (82) boot: End of partition table
I (86) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0812c ( 33068) map
I (107) esp_image: segment 1: paddr=0x00018154 vaddr=0x3ffb0000 size=0x01eb4 (  7860) load
I (110) esp_image: segment 2: paddr=0x0001a010 vaddr=0x40080000 size=0x00400 (  1024) load
I (116) esp_image: segment 3: paddr=0x0001a418 vaddr=0x40080400 size=0x05bf8 ( 23544) load
I (134) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x12b3c ( 76604) map
I (161) esp_image: segment 5: paddr=0x00032b5c vaddr=0x40085ff8 size=0x02058 (  8280) load
I (170) boot: Loaded app from partition at offset 0x10000
I (170) boot: Disabling RNG early entropy source...
I (171) cpu_start: Pro cpu up.
I (174) cpu_start: Application information:
I (179) cpu_start: Project name:     hello-world
I (184) cpu_start: App version:      1
I (189) cpu_start: Compile time:     Oct 22 2019 09:30:09
I (195) cpu_start: ELF file SHA256:  5ffe1057738350da...
I (201) cpu_start: ESP-IDF:          v3.3
I (206) cpu_start: Starting app cpu, entry point is 0x40081070
I (0) cpu_start: App cpu up.
I (216) heap_init: Initializing. RAM available for dynamic allocation:
I (223) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (229) heap_init: At 3FFB2EE0 len 0002D120 (180 KiB): DRAM
I (235) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (241) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (248) heap_init: At 40088050 len 00017FB0 (95 KiB): IRAM
I (254) cpu_start: Pro cpu start user code
I (272) cpu_start: Chip Revision: 1
W (273) cpu_start: Chip revision is higher than the one configured in menuconfig. Suggest to upgrade it.
I (276) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Hello world!
This is ESP32 chip with 2 CPU cores, WiFi/BT/BLE, silicon revision 1, 4MB external flash
Restarting in 10 seconds...
Restarting in 9 seconds...
Restarting in 8 seconds...
Restarting in 7 seconds...
Restarting in 6 seconds...
Restarting in 5 seconds...
Restarting in 4 seconds...
Restarting in 3 seconds...
Restarting in 2 seconds...
Restarting in 1 seconds...
Restarting in 0 seconds...
Restarting now.
burnig software: "esp-idf/examples/get-started/blink" demo, version: v3.3
burning log
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
Python requirements from /home/tfl/workspace/esp/esp-idf/requirements.txt are satisfied.
App "blink" version: v3.3
Flashing binaries to serial port /dev/espDug (app at offset 0x10000)...
esptool.py v2.8-dev
Serial port /dev/espDug
Connecting......................................_____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
/home/tfl/workspace/esp/esp-idf/components/esptool_py/Makefile.projbuild:66: recipe for target 'flash' failed
make: *** [flash] Error 2

@Alvin1Zhang I have solved this problem. To upload the binaries, the board should be put into upload mode. To do so, hold down Boot button, momentarily press Reset button and release the Boot button. Thanks!

@Tflgit Thanks for the updates. Feel free to reopen if you still have the issue, thanks.


Can we add an arm build in release page?

@ydzhou going forward releases will include an ARM build. Can you verify if this works correctly for you? https://github.com/Netflix/bpftop/releases/download/v0.5.1/bpftop_aarch64

I verified with my M2 Macbook running Asahi Linux.

Yes. It's working. Thanks! @jfernandez
Oh glad to see another Asahi Linux user... I am running ubuntu 22 via UTM on M1 Macbook lol


feat: update 1.12.1 scaling test results for the reports controller

Manual CP needed.

Manual CP needed.

I will send the PR.


[DLScript] GlobalConstants not exposed from ClassDB

I'm using dlscript to bind Godot with Python. However I couldn't find how to retrieve the globals constants (i.g. KEY_ESCAPE):
Given GlobalConstants class is not registered inside ClassDB, it is not possible to retrieve  GlobalConstants.get_global_constant_* methods with godot_method_bind_get_method.
On top of that, dlscript doesn't provide custom functions to access  GlobalConstants.get_global_constant_*.
I would feel the latter would be the simpler way to solve this, for example by adding to dlscript/godot.cpp:
const int GDAPI godot_get_global_constant_count() {
       return GlobalConstants::get_global_constant_count();
}

const char GDAPI *godot_get_global_constant_name(int index) {
       return GlobalConstants::get_global_constant_name(index);
}

int GDAPI godot_get_global_constant_value(int index) {
       return GlobalConstants::get_global_constant_value(index);
}

Oh yes, didn't think about the global scope yet. sounds good to me.
Your API proposal isn't that useful I think.
It would be better to have a godot_dictionary GDAPI godot_get_global_constants(); that returns the constants.
Additionally I think the api.json should include those so language bindings can use those constants with 0 overhead.

Yes, don't add getters for constants. Include them in api.json to generate actual constants in the bindings.

@neikeq I'd rather not to rely on api.json for this given I could bind all the rest dynamically with ldscript thanks to ClassDB's introspection ^^
So I would be more happy with @karroffel's godot_dictionary GDAPI godot_get_global_constants(); (I can make a PR for it btw)

As long as they are also included in api.json, sounds good.

@neikeq I'm not sure where to put the global constants in api.json (it's a list of dict of classes)

Add a fake class entry called GlobalConstants (with singleton=true, instanciable=false) which constants field list the global constants (and all the properties, signals etc. empty).
Add a top level dict with two entries classes (containing the current api.json's list of dict of classes) and a global_constants

@tuilleMan Option one is the better one. it enables stuff like print as well which Dlscript is currently lacking

Here #8329 😄


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-04-29)
Bug Fixes

add github actions (ab06a6c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/luoyi58624/luoyi_dart_base/releases/tag/v1.0.0 :sunflower:


[style] Align FSM examples with register naming rule

This was not consistent with the rest of the style guide, and led to some confusion here: https://github.com/lowRISC/opentitan/pull/5936#discussion_r608216987
Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

I did a quick search and it looks like all other occurrences of next are embedded in prose explanations.


Print floyd's triangle in rust

Why:
Closes #5487
What's being changed:
Added rust solution

Closes #5504


pghoard: failed to load config /var/lib/pghoard/pghoard.json: Site 'default' command 'pg_receivexlog' not found from path /usr/bin/pg_receivexlog

Hi ,
I have postgresql13.3 installed in my server and now trying to enable pghoard service on the same.
But while starting pghoard service, it fails with below error :
Jun 14 06:09:59 postgres13-offline1 pghoard: pghoard: failed to load config /var/lib/pghoard/pghoard.json: Site 'default' command 'pg_receivexlog' not found from path /usr/bin/pg_receivexlog
Jun 14 06:09:59 postgres13-offline1 systemd: pghoard.service: main process exited, code=exited, status=1/FAILURE
Jun 14 06:09:59 postgres13-offline1 systemd: Unit pghoard.service entered failed state.
Jun 14 06:09:59 postgres13-offline1 systemd: pghoard.service failed.
Jun 14 06:09:59 postgres13-offline1 systemd: pghoard.service holdoff time over, scheduling restart.
Jun 14 06:09:59 postgres13-offline1 systemd: Stopped PostgreSQL streaming backup service.
Jun 14 06:09:59 postgres13-offline1 systemd: Started PostgreSQL streaming backup service.

Jun 14 06:09:59 postgres13-offline1 systemd: pghoard.service failed.

[root@postgres13-offline1 pghoard]# ls -ltr
total 4
-rw-r--r--. 1 postgres postgres 799 Jun 11 16:46 pghoard.json

I dont see "pghoard_state.json" file getting created.

Any help regarding this issue is appreciated .
Thanks in advance.

Hello !
This should be fixed by https://github.com/aiven/pghoard/commit/7df6714df3f4b0b3805df11c4c35873ba940d146.
Feel free to reopen if that's not the case.


Home page: Program empty state/s

Story
When the system is unable to display metrics on the home page, I am told why not and how I can change that.
Monitoring and Evaluation Status

[ ] For any of the country-level M&E metrics where the result is zero, we simply show the 0% percent empty gas tank. (The only time this is likely to occur is when a country is rolling out its very first programs -- no need for sadfaces.

Program blob
Scenario 1: Reporting start and end dates missing

For an example, look at Pakistan's programs.

[x] The message says: Before adding indicators and performance results, we need to know your program's reporting start and end dates.
[x] The link opens up the reporting period modal.

Scenario 2: No indicators added

For an example, look at Pakistan's programs.

[x] The message says: No Indicators have been entered for this program.
[x] The "Add indicator" button takes you to the new indicator form. (Upon saving the indicator, you'll end up on the program page.)

Scenario 3: There is at least one indicator in the program, but no targets are set up for any indicator.

Post-Winterhawks, the only way a program can have indicators without targets is if you save the indicator with targets and then delete all the targets. Sadface earned.

[x] Sadface icon with the message: All indicators are missing targets.
[x] Underneath, it says: Visit the program page to set up targets.
[x] The phrase "program page" links to the program page.

Scenario 4: Targets are set up for at least one indicator, but no results are reported.

[x] On track: Sadface icon with the message: Unavailable until results are reported. (Regarding the sadface: Emily points out that we want to encourage teams to report results throughout the target period and not wait until the end of the program to enter results.
[x] Results and evidence gas tanks are gray and empty.
[x] Red text "No results" and "No evidence" instead of a percentage
[x] No percentages displayed for "Have results" and "Have evidence".

Here's a mockup with all varieties of empty state.

Housekeeping

[ ] Unit test/s written wherever applicable
[ ] Functionality is accessible to people using screen readers
[ ] i18n tags included wherever applicable

This is strictly speaking a component but I think it only has one instance. It might be better handled as a special state of #559

Screenshots of this build from 555-homepage-scaffold. These should reflect the mockups above
Scenario 1: Reporting start and end dates missing
Note: This is more accurately start or end dates missing

Scenario 2: No indicators added

Scenario 3: Indicators missing targets

Scenario 4: Targets are set up for at least one indicator, but no results are reported.

One interesting side effect of the new Program pages is that it's possible to create a route to Program page without start or end dates, but the page itself can't render without those dates. I will ping the development slack channel with deets

Overall, this passed all of the acceptance criteria outlined above. Only comment is above.

@esinn that's easy enough. I added a hotfix. I can revert the hotfix if @jennyhavah or others don't like the emboldening

This is the red text, "No results", "No evidence?" Bolding sounds fine -- will take a peek once it is merged.
But that leads me to notice something else: @axoplasm  Why does "Indicators with targets" not say "No targets" in red? Instead, it has the 0 percentage.

Looks good!


Upgrade to .NET 8

The projects should be upgraded to .NET 8.
AB#674

we have to double check if backend is already on .net 8 (should be)


Can't connect to Web Browser

Everytime I try to use lidl-plus auth I am running into a Webbrowser Exeption after entering the password. I tried with Chrome, Chromium and Firefox.
A clear and concise description of what you expected to happen.

Python-Version: 3.12.4
Release-Version: 0.3.5

For auth problems:

OS : Windows11, MacOS 13.5.1
Browser: Chromium, Chrome, Firefox
Country: DE
Language: de

me too

Everytime I try to use lidl-plus auth I am running into a Webbrowser Exeption after entering the password. I tried with Chrome, Chromium and Firefox.
A clear and concise description of what you expected to happen.

Python-Version: 3.12.4
Release-Version: 0.3.5

For auth problems:

OS : Windows11, MacOS 13.5.1
Browser: Chromium, Chrome, Firefox
Country: DE
Language: de

me too

Same issue. Using in venv:

version 3.12.4
OS arch linux
installed browsers: Firefox, Chromium
Country DE
language de

It simply won't open any of my browsers, only display Can't connect to web browser. Please install Chrome, Chromium or Firefox.
I tried export BROWSER="firefox" before running, but that doesn't make a difference.

There seem to be a few issues with this package related to changes in dependencies; I think an older version of Selenium is required. Alternatively, a very quick and dirty fix that at least got Firefox working again for me was changing
api.py
FROM
        return webdriver.Firefox(
            executable_path=GeckoDriverManager().install(),
            firefox_binary="/usr/bin/firefox",
            options=options,
            firefox_profile=profile,
        )

TO
        return webdriver.Firefox(
            options=options
        )

This is not a particularly good solution and could have all sorts of unintended consequences but I was able to get a new refresh token this way.


Need a way to request X and Y axes have the same range

I am using the square aspect ratio - rectangular(aspect:1, square) to get a square chart, but I want my X and Y axes to also have the same range of values.  For example, if I have X values from 0 - 10,  and Y values from 10 - 50, I want both axes to have a range of 0 - 50.
I'm using guide(y:x), and I want this y=x line to go diagonally from one corner to the other.  Currently sometimes the line start and stops someplace other than the corner.

Added new syntax rectangular(same) now requires the X and Y axes to be identical, so they will have the same ranges. When combined with rectangular(square) the axes will be the same in terms both of the screen real extent and ranges, so a y=x line will go corner-to-corner

Added in 2.5