BUG?  Submit proposal is not executed with send.

Current Problem
When I submit a proposal using make-proposal and send command in sns-quill, I get an error, but if I call manage_neuron of sns_governance canister directly, the proposal is accepted.
In the case of make-upgrade-canister-proposal, I would like to submit a proposal from sns-quill if possible because wasm binaries are huge. How can I do that? Also I get an error in sns-quill make-upgrade-canister-proposal.
When I run make-proposal and send command
$ IC_URL=http://<IP_ADDRESS>:8080/ sns-quill \
  --canister-ids-file ./canister_ids.json \
  --pem-file ~/.config/dfx/identity/$(dfx identity whoami)/identity.pem \
  make-proposal 6a9a0cf8dd0a807e1a1e7dd4204090f8f16b12e572201f3ab157ca0fcaffc495 \
  --proposal \
  '(
    record {
        title="Launch SNS";
        url="https://dfinity.org";
        summary="A motion to launch the SNS";
        action=opt variant {
            Motion=record {
                motion_text="I hereby raise the motion that the use of the SNS shall commence";
            }
        };
    }
  )' \
  > msg.json \
&& IC_URL=http://<IP_ADDRESS>:8080/ sns-quill send msg.json --yes

Sending message with

  Call type:   update
  Sender:      teejb-e422d-rmi2d-ngcen-qlu5a-wbxuh-f6fiv-xerij-pxein-pw4r3-2qe
  Canister id: q3fc5-haaaa-aaaaa-aaahq-cai
  Method name: manage_neuron
  Arguments:   (
  record {
    subaccount = blob "j\9a\0c\f8\dd\0a\80~\1a\1e}\d4 @\90\f8\f1k\12\e5r \1f:\b1W\ca\0f\ca\ff\c4\95";
    command = opt variant {
      MakeProposal = record {
        url = "https://dfinity.org";
        title = "Launch SNS";
        action = opt variant {
          Motion = record {
            motion_text = "I hereby raise the motion that the use of the SNS shall commence";
          }
        };
        summary = "A motion to launch the SNS";
      }
    };
  },
)
Request ID: 0x248778a621ec49eeb55e72d0bf26c1c3f2f77feddf1b5730d34135226cd5524b
The request is being processed...
The request is being processed...
[Canister q3fc5-haaaa-aaaaa-aaahq-cai] [Governance] manage_neuron
Response: ManageNeuronResponse { command: Some(Error(GovernanceError { error_type: InvalidProposal, error_message: "1 defects in Proposal:\nNo action was specified." })) }

When I run it directly
dfx canister call sns_governance manage_neuron \
'(
  record {
    subaccount = blob "j\9a\0c\f8\dd\0a\80~\1a\1e}\d4 @\90\f8\f1k\12\e5r \1f:\b1W\ca\0f\ca\ff\c4\95";
    command = opt variant {
      MakeProposal = record {
        url = "https://dfinity.org";
        title = "Launch SNS";
        action = opt variant {
          Motion = record {
            motion_text = "I hereby raise the motion that the use of the SNS shall commence";
          }
        };
        summary = "A motion to launch the SNS";
      }
    };
  },
)'

[Canister q3fc5-haaaa-aaaaa-aaahq-cai] [Governance] manage_neuron
(
  record {
    command = opt variant {
      MakeProposal = record { proposal_id = opt record { id = 2 : nat64 } }
    };
  },
)

This is likely due to dfx using an older version of the replica that doesn't have some newer proposal types. Unfortunately there's not much quill can do about this.


npm install fails for v2

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.7.0
npm ERR! npm  v3.6.0
npm ERR! No compatible version found<EMAIL_ADDRESS>npm ERR! Valid install targets:
npm ERR! 1.0.0-rc.4, 1.0.0-rc.3, 1.0.0-rc.2, 1.0.0-rc.1, 0.4.0, 0.3.0, 0.2.0, 0.1.0, 0.0.1

Run npm install inky and it should install fine now. The new version didn't properly publish the first time.


Using problems in JavaFX

2.2.1 use OK ，but 2.2.2 Module not found。_requires whatsapp4j;_you can click to enter in idea

D:\workCode\idea\bigDog\src\main\java\module-info.java:21:14
java: module not found: whatsapp4j

D:\workCode\idea\bigDog\src\main\java\module-info.java:21:14 java: module not found: whatsapp4j

Try with it.auties.whatsapp4j

I use jdk16 and change it to jdk17 ，that's it

thank you ，unrecognized it.auties.whatsapp4j

I'm sure that it should be whatsapp4j. Can you try to clean compile your project?


Param to set Sample Rate?

I'm trying to use Orca in an 8-bit u-law 8khz streaming use case (Twilio). I've done some 16-bit to 8-bit conversion w/ downsampling, and it's OK, but It would be nice to just do the 16-bit to 8-bit conversion (or even not that?)
Are there any parameters that can be exposed (I'm using NodeJS) to allow controlling the audio output format?

Hi @patricker ,
at the moment we don't provide an option to change the output format. However, you can directly get the raw PCM, which you can convert as you wish and then save in your desired format.


#2668 - PT Assessment - Additional Transportation Costs

created new limits in DMN table to support this process in dmnPartTimeProgramYearMaximums

limitAdditionalTransportationAllowance: 94
limitAdditionalTransportationPlacement: 25
limitAdditionalTransportationKMReduction: 0.34

CONSIDER IF ADDITIONAL VARIABLE COULD BE USED

used calculatedDataAdditionalWeeklyTransportationCost to calculate the minimum comparison logic with conditional statement for calculatedDataAdditionalTransportationMax

Housekeeping Update any variables of "allownace" to "allowance":

dmnPartTimeProgramYearMaximums.limitTransportationAllownace
calculatedDataTransportationAllownace

enable/display Additional transportation cost panel for PT applications
included Camunda workflows for additional transportation costs
updated calculatedDataTransportationAllownace to calculatedDataTotalTransportationAllowance in calculatedDataTotalAssessedNeed
updated calculatedDataTransportationAllownace" to calculatedDataTotalTransportationAllowance to save-assessment output for PT applications
added E2E tests to include every scenario and match results on excel worksheet

Screenshot for new limits in DMN table

Screenshot of additional transportation allowance workflow

Screenshot of Excel file for additional transportation allowance calculations in various scenarios in E2E tests

Great piece of work @lewischen-aot . Please look at the comments.
Please let me know if sync up is required to speed up the comment clarifications.

Thanks for making the changes. Added more comments. Is there a way to remove the fulltime*dmn file from the PR?


Workspace / Profile

It would be really nice to have something like profiles.
So i can add a profile named work and another i.e. customer-x which have the apps and accounts connected. so it would be easy to switch by context.

Seconded, as someone who works in multiple organisations a way to separate them all and also quickly turn off and on notifications for each would be awesome. Currently have 3 different instagram instances and without ability to customise their logo/name I can get lost.
Also could improve resource usage by being able to selectively enable which apps are active at any given point in time.

Designer wanted 😄


Tests take a very long time because of fixed pause times in get_response()

HttpUA.get_response() uses a fixed timeout of 0.3 seconds (HTTP_TIMEOUT). This timeout is applied a couple of times, most significantly it is being used as a back-off timer when no data has been returned from the web server.
This fixed timeout makes tests very slow, ordinarily a single test takes close to 0.5 seconds, so running 100 tests will take ~50 seconds. A quick and dirty test where I patched the timeout to 0.01 seconds worked without a hitch.
I couldn't see right away how to improve the situation, so I have a couple of questions:

why are we using that timeout logic (the comment # Sleep for sometime to indicate a gap
 time.sleep(self.HTTP_TIMEOUT)

isn't all that helpful)?
why don't we use a library like requests to do the work for us?
why isn't timeout configurable (i.e., if there's a specific use case then the timeout should only be necessary for that specific case, not for every case)?

@fzipi pointed out that ftw will soon be replaced with go-ftw, which should solve this problem.


Allow data to be Array of Objects

Describe the feature
Is some case it is convenient to have label (string) providing a choice but have number presenting the actual choice made. Especially in multi-lingual applications.
Describe the solution you'd like
Data should be allowed to be an array of objects with at least the following properies
text : string to be displayd as label
value : string or number to be returned as value
example:
data = [
{'label': 'urgent', 'value':0},
{'label': 'high', 'value':1},
{'label': 'normal', 'value':2},
{'label': 'low', 'value':3},
]

Just found that marks is doing what I was looking for.


Optimizing for max sortino

What are you trying to do?
I'm trying to optimize for max sortino using PyPortfolioOpt.
What have you tried?
I've gone through the EfficientSemivariance docs, but could not find a function to optimize for max sortino.
Is there a simple way to do this?

Hi @cemozerr,
I'm not sure how one might do that (apart from looping through a range of returns, using efficient_returns, then selecting the max).
Even max sharpe requires a nontrivial variable transformation to make it convex – it's not obvious to me how to do this transformation for Sortino.
Maybe @phschiele has come across some technique for it?
Best,
Robert

This would definitely require some work to get it right using the "exact" formulation of the efficient semivariance.
For now, looping over the returns or maximizing the Sharpe ratio using the semi covariance matrix (i.e., Estrada's method) seem like good approaches.
Seems like a fun project to dig into the details, though, so perhaps I'll look into it at some point.

I like this idea too. I think the use case for the sortino is crypto... the sharpe penalizes big upsides too (though im probably butchering that explanation) but thats kinda what some people want outta crypto :)
@phschiele listed two workarounds so ill give at least one of them a try (probably maximizing the Sharpe ratio using the semi covariance matrix).
Thanks!


Rename PR

When creating new PR, use the same title as the issue name.
Files: main.py

A pull request has been created to address this issue: https://github.com/petrakopic/fixit/pull/26


docgen usage - empty doc file

Hello @frangio ,
I am following this issue you closed here: https://github.com/OpenZeppelin/solidity-docgen/issues/390. The problem persists with an empty index.md file
# Solidity API

👉 Video showing how I get an empty index.md documentation file
https://user-images.githubusercontent.com/4096108/174690882-1f4471bc-a591-46ac-a2b5-21537cd26700.mp4
Could you help me? You said you got it working on your environment directly cloning from my repository, no?
👉 Repository: https://github.com/PedroReyes/ethernaut/tree/docgen
best regards,
Pedro Reyes.

Can you please sharethe contents of artifacts/build-info? I think this is related to Windows.

Hello @frangio ,
Any news?
Best regards,
Pedro Reyes.

Please try the latest version. I made some changes that may fix this, which is an issue with Windows.

Hello @frangio ,
We keep having progress but not yet solved unfortunately. Here it is the output:
$ npx hardhat docgen
Compiled 15 Solidity files successfully
An unexpected error occurred:

Error: Cannot find module 'C:\blockchain\ethernaut\node_modules\solidity-docgen\src\themes\markdown\helpers'
Require stack:
- C:\blockchain\ethernaut\node_modules\solidity-docgen\dist\templates.js
- C:\blockchain\ethernaut\node_modules\solidity-docgen\dist\main.js
- C:\blockchain\ethernaut\node_modules\solidity-docgen\dist\index.js
- C:\blockchain\ethernaut\hardhat.config.js
- C:\blockchain\ethernaut\node_modules\hardhat\internal\core\config\config-loading.js
- C:\blockchain\ethernaut\node_modules\hardhat\internal\cli\cli.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at C:\blockchain\ethernaut\node_modules\solidity-docgen\src\templates.ts:85:13
    at readHelpers (C:\blockchain\ethernaut\node_modules\solidity-docgen\src\templates.ts:85:13)
    at readTemplates (C:\blockchain\ethernaut\node_modules\solidity-docgen\src\templates.ts:69:14)
    at readThemes (C:\blockchain\ethernaut\node_modules\solidity-docgen\src\templates.ts:110:21)
    at loadTemplates (C:\blockchain\ethernaut\node_modules\solidity-docgen\src\templates.ts:23:18)
    at main (C:\blockchain\ethernaut\node_modules\solidity-docgen\src\main.ts:19:21) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\blockchain\\ethernaut\\node_modules\\solidity-docgen\\dist\\templates.js',
    'C:\\blockchain\\ethernaut\\node_modules\\solidity-docgen\\dist\\main.js',
    'C:\\blockchain\\ethernaut\\node_modules\\solidity-docgen\\dist\\index.js',
    'C:\\blockchain\\ethernaut\\hardhat.config.js',
    'C:\\blockchain\\ethernaut\\node_modules\\hardhat\\internal\\core\\config\\config-loading.js',
    'C:\\blockchain\\ethernaut\\node_modules\\hardhat\\internal\\cli\\cli.js'
  ]
}

Path problem - zoom in C:\blockchain\ethernaut\node_modules\solidity-docgen\src\themes\markdown\helpers

Let me know if you need anything from my side. I am available for zoom too.
Best regards,
Pedro Reyes.

Hello @frangio ,
Current output with tag "solidity-docgen": "v0.6.0-beta.19":
$ npx hardhat docgen
Compiled 15 Solidity files successfully
An unexpected error occurred:

[Error: ENOENT: no such file or directory, mkdir 'C:\blockchain\ethernaut\C:\blockchain\ethernaut\docs'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'mkdir',
  path: 'C:\\blockchain\\ethernaut\\C:\\blockchain\\ethernaut\\docs'
}

Best regards,
Pedro Reyes

Ok, identified that issue. Please give it another try. Sorry about the back and forth.

Hello @frangio ,
Don't worry about the back and forth ✌ it is part of the game!
Problem solved. Thanks for your support, @frangio ! 🎉🎉🎉 Have a nice weekend!
Best regards,
Pedro Reyes.


[DES] UX design for Delete reference to variable

Problem (Why)
To avoid clutter in our variables panel.  When we delete references of variables, there is no longer a need for that associated variable (unless we allow them to swap it).  We need to figure out a way to allow them to swap the variable reference value when they delete a query, block or cell
Impact (Who)
Drag and Drop App Builders
Existing

Reference
This issue references https://github.com/SEMOSS/community/issues/24

Started ideating in Figma here: https://www.figma.com/design/ipTY6xdaXSN3Dr3JjPP4qC/UI-Builder---Notebook-(Data)?node-id=5594-113102&t=mQ2gijN4ZAxYqBLO-1


Symbol binding for sparse tensor development.

Same as PR https://github.com/dmlc/mxnet/pull/5870, which should be closed.

Staged to a separate branch, I'll cleanup the conflict in symbol.py and executor.cc later.


Explore using current_repodata.json

To be faster as fast!

It turns out that it would be easily possible to use current_repodata.json (instead of the full repodata), but the current_repodata sometimes has too many pruned packages which prevents installation of the latest packages (for example, snakemake was hit by this).
Therefore I believe we shouldn't implement this functionality right now. We can re-evaluate at a later point in time.


monitor: Avoid JSON-encoding agent events for in-memory storage

This avoids encoding agent events in JSON before they are submitted to
the cilium monitor socket. This change will is in preparation for a
subsequent PR where Hubble will store and expose agents events in their
decoded form.
Signed-off-by: Sebastian Wicki<EMAIL_ADDRESS>Ref #12416

test-me-please


Create new struct hash package

features:

panic on an invalid tag (thanks to it one bug was found in Dependency)
can use omitempty filed and extend structs
more test coverage
support complex type 🏆
tags version method and lastversion are not included because core doesn't' use it, but it could be easily extended

@mesg-foundation/core please review

This PR is way less important since PR https://github.com/mesg-foundation/core/pull/731 has been merged.
The core still need to hash struct for event and execution but their lifetime is much smaller and thus having a different hash after an upgrade of the core doesn't impact.
It could only have impact with the network with nodes running different version of core. But anyway, the "omitempty" will not resolve the problem.
I suggest to keep the current hash package (https://github.com/cnf/structhash)
@krhubert any suggestion why we should merge this PR?


This code have too many problems

There are no file "EEG_all_epochs_512hz.npy" and "EMG_all_epochs_512hz.npy" in data folder
In "train_method.py" file of "test_step" function, there are wrong data type of the "noiseEEG_test" variable and wrong dimension.
Your data maybe contain Nan or inf when I training computer will be shutdown.

environment: Python3.8, tensorflow2.5.0
training model: Complex_CNN, EOG

you  damn right i also have same problam


Make the number of droplets to keep in the v2 API obey the same count as v3

This lets v2 droplets hang around in the same way the v3 ones do.
Also fixes a copy-and-paste error in v3 droplet/package expiration where the two used each other's configuration.

Looks good enough, going upstream.


[BUG] Indicates GPL license instead of MIT?

Describe the bug
Running ScanCode Toolkit license scanner on the Lombok source code highlighted a (false-positive) GPL license In this line of the code. Without understanding the structure of the code and the purpose of this specific executable, this makes me wonder what the "gpl" license name is doing here among types of licenses.
If possible, my suggestion is to remove the "gpl" tag here, as it raises a false-positive for license scanners and GPL is just one example of the many strong reciprocal licenses available.
To Reproduce
N/A
Expected behavior
N/A
Version info (please complete the following information):

Lombok v1.18.16

Additional context
N/A

I think that should be fixed in the license scanner, not in lombok. Adding a "gpl" string should not break the detection, especially if there already is a full copyright info header.
Disclaimer: I'm not a project owner.

I think that should be fixed in the license scanner, not in lombok. Adding a "gpl" string should not break the detection, especially if there already is a full copyright info header.
Disclaimer: I'm not a project owner.

java -jar lombok.jar --license has several aliases, one of the being java -jar lombok.jar --gpl.
I don't know why we decided to add that.
I also don't know why finding the string literal "gpl" in some source code would trigger a license scanner.
Although my initial reaction was, please just whitelist lombok as a false positie or inform the creator of your scanner about this false positive, I also don't see a good reason to keep the alias, unless it is common practice for applications to response to a --gpl parameter.

java -jar lombok.jar --license has several aliases, one of the being java -jar lombok.jar --gpl.
I don't know why we decided to add that.
I also don't know why finding the string literal "gpl" in some source code would trigger a license scanner.
Although my initial reaction was, please just whitelist lombok as a false positie or inform the creator of your scanner about this false positive, I also don't see a good reason to keep the alias, unless it is common practice for applications to response to a --gpl parameter.

I support your suggestion to remove the --gpl alias, as it falsely points to one specific license (which is not the license used by Lombok).
PS: The license scanner (ScanCode Toolkit) uses many heuristics to detect license statements and triggered because "gpl" is quite a unique abbreviation hinting at one specific family of licenses.

I support your suggestion to remove the --gpl alias, as it falsely points to one specific license (which is not the license used by Lombok).
PS: The license scanner (ScanCode Toolkit) uses many heuristics to detect license statements and triggered because "gpl" is quite a unique abbreviation hinting at one specific family of licenses.


Add associative keys to event arguments in EventDispatchingCommandBus

This pull request adds associative keys to arguments in command failure event in EventDispatchingCommandBus to make it consistent with command success event

:+1:

Minor BC break, but :+1: from me :smile:

@wjzijderveld Can you merge this? Then I could actually work on https://github.com/qandidate-labs/broadway/issues/199 by implementing it into the EventDispatchingCommandBus

Thanks @Xerkus !


Add toggle for "connect with tor" to connect peer dialog

https://github.com/yzernik/squeaknode/pull/1550

This doesn't solve #1544 because LND still requires Tor to be enabled entirely or disabled entirely for outbound connections.


Add Coding Practice site

The website that you are suggesting is not up and running. Can you check the URL again?
Thanks.


npm install -g @angular/cli Error

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
npm 4.1.2
node v7.7.2
Repro steps.
npm install -g @angular/cli
The log given by the failure.
npm install -g @angular/cli
npm ERR! registry error parsing json
npm ERR! registry error parsing json
And then the "normal" installation log..
Desired functionality.
No errors
Mention any other details that might be useful.
The installation is pretty slow..

are you behind a proxy?
npm was not down according to https://status.npmjs.org/

I don't know what the problem was, but it's happening before the CLI was even installed. You should report it to https://github.com/npm/npm if it's giving you trouble.


ECMH implementation based on this library

Hi
I have been using this excellent library to implement the multiset hash using elliptic curves algorithm described in ecmh.wiki. The implementation can be found here: https://github.com/arj03/ecmh-js. I'm using Point.fromHex to figure out if point is on the curve. Sadly that function throws an exception which normally is rather slow. Do you have any input on a better way to do that part of the algorithm?
Cheers
PS: the post https://paulmillr.com/posts/noble-secp256k1-fast-ecc/ was very good in helping me implement this

The slowness of fromHex is not because it throws an exception. The real reason is the fact the point decompression is slow. To decompress a point, you need to exponentiate its x coordinate by curve order (x^(2^256-...)). As you can imagine this operation is extremely slow.
If you want a speedup, you can use decompressed 65-byte points.

Thanks, that makes sense.


parallelized test in travis using job [Task #109]

WHAT kind of change does this PR introduce?
Parallelize the builds of travis to run unit and integration test in different threads
HOW is this accomplished?
Modifying the travis.yml and adding a new script called testing which runs the different testing commands
Checklist

[ ] Docs have been added / updated to reflect the changes
[ ] I have reviewed and tested the changes :white_check_mark:
[ ] I have squashed my commits to have a reasonable amount of commits
[ ] All of the code I have written adhere to the coding conventions outlined in the coding conventions section of the wiki

branch is not in a good state. closing


Logging Level Configuration

This is not really a bug, more of a question.
I am wondering if there is a way to set the logging level within gcsfs.
We are not interested in having the logging level at DEBUG in all of processes. We mostly use DEBUG level locally for testing and debugging an issue.
Currently we are using a workaround, but I was curious if this is by design or if there is another way around this.
This is the current workaround we are using to set the logging level higher.
logging.getLogger(__name__).setLevel(level=logging.INFO)

Thanks in advance!

You could use the environment variable GCSFS_DEBUG to set debug logging in some specific process.

So that would make it where DEBUG is not the default?
Currently, we do not have that Environment Variable set, but it is still logging out as DEBUG. It's unexpected since this snippet
DEBUG = os.environ.get('GCSFS_DEBUG', False)
Defaults to False if not defined.

@martindurant Any help would be appreciated here.

Yes, I am puzzled - you should not see DEBUG-level logging normally, and neither I not other users do. Something else must be happening on your system.

Well you are correct. It seems to be inconsistent behavior. Possibly related to when we use the tarfile library. We're puzzled as well. I will update if we figure anything out.

Thanks for helping. @martindurant I appreciate it!


ESM: Unable to resolve path to module 'got'  import/no-unresolved

Unable to resolve path to module 'got'  import/no-unresolved
// Unable to resolve path to module 'got'  import/no-unresolved
import got from 'got';

got v12.0.0
eslint v8.5.0
eslint-plugin-import 2.25.3

Do you have it installed? Are you getting that warning on the command line, or just in your editor? Is eslint installed locally, and not globally?

"dependencies": {
    "got": "^12.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.16.5",
    "@babel/eslint-parser": "^7.16.5",
    "eslint": "^8.5.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-plugin-import": "^2.25.3"
  },
"eslintConfig": {
    "parser": "@babel/eslint-parser",
    "extends": [
      "airbnb-base"
    ],
    "parserOptions": {
      "ecmaVersion": 2021,
      "requireConfigFile": false
    }
  }

Thanks, but that doesn’t answer my questions. Resolving requires everything be present in node_modules.

Do you have it installed?

Yes

Are you getting that warning on the command line, or just in your editor?

Comandline and editor (vs code).

Is eslint installed locally, and not globally?

Locally, fresh install.

Thanks!
In this case, the latest version of got drops support for CJS, and as such, can’t be resolved by our CJS-only resolution mechanism. If you’re using native ESM, this plugin won’t help you, because it’s designed for use with CJS,  or transpiled ESM (Babel/TS).
If you downgrade to got v11, or switch to a package author that isn’t user-hostile, then you should see everything resolve correctly.

ESM should work. CJS should be deprecated.

That’s a strong and wildly incorrect opinion.
Native ESM has tons of downsides and offers no benefits over CJS. Both are first-class module systems in node, so yes, native ESM should work, but the ecosystem isn’t ready to support it yet.
I’m going to close this.

Same issue with type-fest
import {Except} from 'type-fest';

Unable to resolve path to module 'type-fest'.eslintimport/no-unresolved

Same problem, caused by the same maintainer - altho in that case, it doesn't have any runtime values, so you should be using import type.

Those modules that the no-unresolved rule fails to find appear to be missing main and only defining exports (as node documents).

@jsg2021 yes, see https://github.com/import-js/eslint-plugin-import/issues/2331#issuecomment-997417550

@ljharb sorry :} I was just deep in my own research trying to assist my finding. Forgot to double-check the thread. I've been lucky that I'm only now having to sort with these modules.

I made a repro for this issue: https://github.com/silverwind/import-got
git clone https://github.com/silverwind/import-got.git
cd import-got
npm i && npm t

It seems there is a unresolvable situation where the package authors indirectly blames this module:

Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.

But https://github.com/import-js/eslint-plugin-import/issues/2331#issuecomment-997417550 blames the module, so we come full cycle.
Is there any resolution in sight?

I made a repro for this issue: https://github.com/silverwind/import-got

git clone https://github.com/silverwind/import-got.git

cd import-got

npm i && npm t

It seems there is a unresolvable situation where the package authors indirectly blames this module:

Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.

But https://github.com/import-js/eslint-plugin-import/issues/2331#issuecomment-997417550 blames the module, so we come full cycle.
Is there any resolution in sight? Maybe @szmarczak can comment what the problem is with got's exports.

that comment answered your question? Pure esm packages do not need this rule.

Just guessing, but maybe it's because got has no index.js. For example another pure ESM module, https://github.com/sindresorhus/is-ip, is resolved fine by this plugin and it has a index.js.

So it's still related to exports field support, right?

Yes, ultimately, the issue is that eslint-plugin-import does not seem to parse exports.
Interestingly, require.resolve which should be a CJS mechanism is till able to resolve the package correctly:
> require.resolve("got")
'/Users/silverwind/git/import-got/node_modules/got/dist/source/index.js'
> require.resolve("is-ip")
'/Users/silverwind/git/import-got/node_modules/is-ip/index.js'

Maybe eslint-plugin-import should just use require.resolve to fix this issue.

Again, ESM-only packages are the problem - this plugin supports transpiled ESM, and not native ESM. is-ip seems to work because the index.js and lack of main means pre-exports node would try and fail to load that file.
When resolve gains support for “exports”, it will support native ESM too.

For some cases like a default import, it might be enough to just see if the request resolves to a file, without actually parsing it.
I'm pretty sure there is some bug in resolve.js where the code path does not end up in require.resolve with which it may have worked, but I think I'll just wait for actual ESM support instead of chasing this further :)

It is a very explicit and intentional choice to avoid using the built-in require.resolve.


Allow filtering for collections

We should allow for get'ing a collection based on a filtering of its metadata. This way you could handle cases like wanting to get all collections belonging to a specific id.

It'd be great to have CRUD capabilities on collections!

Could not agree more!

Hey there! I'm one of the co-founders of Sweep AI, an AI junior dev. I tried tackling this issue by prompting Sweep and it generated the PR at https://github.com/kevinlu1248/chroma/pull/3. You can also write a PR reply or comment in the code to suggest changes. Would appreciate any feedback on how well Sweep did!
I also made a PR directly to Chroma's main at https://github.com/chroma-core/chroma/pull/811.

To clarify: I think we don't actually want to implement this onto get_collection, but list_collection. Since we don't know how many results the filter will return.
A user had opened this CIP https://github.com/chroma-core/chroma/pull/855
Perhaps this should move forward once we have dealt with the storage of embedding_functions which should clean up list_collections more broadly?

keep in backlog until storage of embedding funcs is cleaned up


Fix scrolling inside container

I tried to scroll inside container. When I called $scrollTo method inside component than it always scrolled to bottom of the container, even if element was on top of the container.
For example there is a list, which can display only three list items:
<list>
  <list-item-1/>
  <list-item-2/>
  <list-item-3/>
  <list-item-4/>
  <list-item-5/>
  <list-item-6/>
</list>

<template>
    <list ref="list">
        <list-item v-for="(option, index) in items"
                   :ref="`listItem`"
                   :key="`item-${index}`"
                   @click="click(index)"/>
    </list>
</template>

<script lang="ts">
    // ...
    public click(index: number) {
        this.$scrollTo((this.$refs.listItem as Vue[])[intex].$el, {
            container: (this.$refs.list as Vue).$el,
            duration: 1
        })
    }
    // ...
</script>

When I click to list-item-1 then vue-scroll scroll down to the bottom of list, because wrongly calculate container offset.

I'm not sure if I understand your problem correctly, but based on the code snippets your provided, everything is working as expected: https://jsfiddle.net/g63uy7wf/
Although I had to change your code a little bit because ref="listItem" always points to the last element (it is not an array, so with every iteration in the v-for loop the ref is overwritten). I think that's why it is scrolling to the last element for you.
In my fiddle I've changed it to use the item index, and in the click handler, I resolve it and scroll to it.

Thank you, your code works as expected, even when list item is used with ref="listItem".

https://vuejs.org/v2/api/#ref
When used on elements/components with v-for, the registered reference will be an Array containing DOM nodes or component instances.

I investigated the problem deeper and I figured out, that it occur inside relative wrapper container. Here is an example: https://jsfiddle.net/g63uy7wf/2/ (I extended your code with wrapper div)
In updated fiddle when I click to item, then it scroll down 80 pixel further then its expected.

https://vuejs.org/v2/api/#ref
When used on elements/components with v-for, the registered reference will be an Array containing DOM nodes or component instances.

Oh cool, I totally missed that in the docs!
Thanks for reproducing the issue, I tested your fix, and it does indeed work, merging.
Thank you for the contribution!


Enable intproxy logs by default.

Issue: #2750

Gotta make sure that info level produces informative logs on layer<->intproxy<->agent requests and responses, except messages that only transfer data (like in file or remote connections reads/writes)

@Razz4780 to be on the same page - you want to check there's no spam, not to add more messages, right?

@Razz4780 to be on the same page - you want to check there's no spam, not to add more messages, right?

I think this will only require moving some message from trace to info

@Razz4780 to be on the same page - you want to check there's no spam, not to add more messages, right?

I think this will only require moving some message from trace to info

I'm quite against this - I think it'd be premature optimization - I'd guess that most important stuff are getting errors/warnings and if we need to add more things let's do it when we realize that.


TypeScript support

It would be awesome if this operated on TypeScript! (Read: I'm about to start hacking on it, I just wanted this here in case someone else had the idea and was wondering about the status of it.)

@chriskrycho absolutely, would love that!
Idk if there is so much to do here, I guess the difficult part is to make jscodeshift correctly parse (and emit) TS? See...

https://github.com/facebook/jscodeshift/issues/180
https://github.com/facebook/jscodeshift/pull/269

Actually, @rwjblue already did all the hard work, and recast latest supports it. I may ping you on something I got stuck on, but making progress.

Should be able to do:
let parser = require('recast/parsers/typescript');
let j = api.jscodeshift.withParser(parser);

In places like:
https://github.com/simonihmig/ember-test-helpers-codemod/blob/dd2d75bcde0964345df1d1866cbd107a659ca99b/lib/transforms/find.js#L14

But I really would like to find the time to migrate this repo to codemod-cli (assuming @simonihmig is ok with that), which exposes a getParser() helper method and manages the recast / @babel/parser / jscodeshift deps with the right versions...

But I really would like to find the time to migrate this repo to codemod-cli

I could give this a try as well. @rwjblue I guess https://github.com/rwjblue/ember-qunit-codemod/pull/114/files would be a good starting point to see what's needed?

Ya, that was the roadmap I was gonna follow...

Here we go: #28

@chriskrycho I merged #28, hope that does not give you too many merge conflicts (in case you already forked). Feel free to ping me if I can be of any help!

I'll just test that – from what I saw of codemod-cli, I literally won't have anything else to do! 😍


Keep docker image under 2GB

ideas to reduce size:

once we're done setting up the base volume blowing away the apt cache
In the dashboard we need to rework the dependencies. there are some that are not in use anymore, and others I think it need to be devDeps

follow up https://github.com/iasql/iasql/issues/2001


Please add Harpersferry, WV

Hi @jbink2020, thanks for your interest in adding Harpers Ferry to the website. Emails on defund12.org are all written by community members. To add your city, you must provide:

Email addresses (at least one) of the government officials you’d like to receive the message
Detailed message concerning the budgeting decisions at stake in your community

Until you provide this content, we cannot post your city.
Messages should follow our email style guidelines. Remember that messages must be specific to your locale and focused on defunding the police. If your message is copied from an external source, please provide a link to the original source.
Your request will be closed until you reply with the necessary content. Thank you!


Fr branch - TDD branch

A TDD project by @habasm, and I am solo in this week even though the task is pair programming
Project requirements

Create a class called Solver.
Create a method called factorial that takes one argument, an integer N, and returns the factorial for that number. The factorial is the multiplication of all integers from 1 to N and has the special case that the factorial of 0 is 1. This method only accepts 0 and positive integers, so if a negative integer is given it should raise an exception.
Create a method called reverse that takes one argument, a string word, and returns word reversed (e.g. if word is "hello" it returns "olleh").
Create a method called fizzbuzz that takes one argument, an integer N, and returns a string. The returned string is constructed following these rules:

When N is divisible by 3, return "fizz".
When N is divisible by 5, return "buzz".
When N is divisible by 3 and 5, return "fizzbuzz".
Any other case, return N as a string (e.g. say N is 7 then return "7").

Remember to start with tests for all of the methods described above. Your commit history should prove that you have used TDD.


Use channel_name or progname in replacement of "On" in Home

Is your feature request related to a problem? Please describe:

Not related to a problem.
Describe the solution you'd like:

When the TV is On, when running python3 hisensetv.py IP_ADDRESS --get state -ifname ifname, the resulting output includes a "progname" and "channel_name".
{
    "statetype": "livetv",
    "list_param": "1#0",
    "channel_num": "70",
    "eventid": "",
    "progname": "Farmer Wants A Wife",
    "starttime":<PHONE_NUMBER>,
    "endtime":<PHONE_NUMBER>,
    "detail": "Two farmers meet their love matches before choosing five to return to their farms. All farmers each take one special lady on a 24 hour date and the fallout leads to heartbreak.",
    "channel_param": "1#18350209#0#0",
    "channel_name": "7HD Brisbane",
    "sourceid": "0"
}

When the TV is on TV input/statetype is livetv, to replace the "On" in Home to either the progname or channel_name data.
Describe alternatives you've considered:

Not applicable.
Additional context:

Came across this thought from another Homebridge plugin - https://github.com/grzegorz914/homebridge-lgwebos-tv

Thanks for the update - good to know it is implemented, unfortunately it does not seem to work at all (even after periods of time with the TV On) with my Hisense 49R4 TV.

By force quit do you mean close the app from the app switcher?
If this is the case, done this many times. Typically I don't run Home in the background, just do what I need to do in the app then completely close it. Just now the TV has been for approx 40 mins, and in Home app I open and just see it as "TV", rather than the current program/channel.

Oooh wait, I'm dumb.
I completely misunderstood your initial report: I thought you wanted the channel (as-in "the input") to be displayed, not the actual TV program name.
I checked my TV model and it doesn't report what yours report (I only see that it's on live TV, it doesn't tell me anything about the program), so it'd be complicated for me to implement. Would you be okay taking a stab at this?
After setting up your development environment (install NodeJS, Python, running npm install in the cloned repo) and setting up a development Homebridge instance (aka. another Homebridge installation running on your local machine and added to your Home app), you'd have to modify getCurrentInputIndex() (which is used to communicate to HomeKit what is the current input here) to check whether the current input is Live TV and, in case it is, read the progname property and return that as input name.
I do believe it might create some additional headaches with the fact that HomeKit wants inputs to be static: for example, I tried in the past to have application there (such as Netflix, Prime Video, etc.) but I was not able to do it, because when turning on the TV, it takes a few seconds to retrieve the list of applications and HomeKit would timeout and not show any input.

More Information if someone is willing to implement this:
just displaying the channel name or the progname is not really doable without a bit more changes. The mentioned lg-plugin does this by letting users configure channels as input sources.
This would be possible if the hisense tvs support switching to channels over mqtt. Which should be possible as the HisenseNow app shows channels to switch to, but I myself don't have any configured channels so i can't even test it.
So someone would need to:

listen to mqtt connection and find out which data needs to be send to switch channels
Add options to configure channels in the config.schema.json
implement the code in the plugin (taking the config and creating InputSources out of it, managing the states, sending updates over mqtt, etc.)


Support scale up/out in VSCode extension

Review the second commit "Support scale" is enough, for this pr is based on https://github.com/Azure/azure-webpubsub/pull/702.
How to install & use
https://github.com/Azure/azure-webpubsub/pull/692

Also this one, is it too much for a vscode extension?


Client tags

This is the backend for the tags PR on the UI

Any chance that conflicts can be resolved for this pull request?

@pauloconnor - This looks great! Any chance you can fix up the merge conflicts?

@pauloconnor This looks awesome. Thanks for making it happen.
@jaredledvina, are you someone who has the ability to code review and merge this in for the next release?

@envintus - Sadly no, just an enthusiastic user :) I'm totally happy to test/review the changes in my environment.

Thanks for the quick reply. Heck yea, that would help and maybe get this
pushed forwar as a feature in the next release.
On Mon, Oct 31, 2016 at 12:28 PM, Jared<EMAIL_ADDRESS>wrote:

@envintus https://github.com/envintus - Sadly no, just an enthusiastic
user :) I'm totally happy to test/review the changes in my environment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sensu/uchiwa/pull/306#issuecomment-257343237, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIESgt0kLJQc6y56RpeToU0fpzA-gYH3ks5q5hcggaJpZM4D9kXW
.

--
[image: TransLoc_logos_gear-blue_600x600.png]
Hunter Satterwhite
Lead Build & Operations Engineer, TransLoc
Cell:<PHONE_NUMBER> | http://transloc.com http://www.transloc.com/
[image: social media icons-03.png] https://www.facebook.com/TransLoc/ [image:
social media icons-04.png] https://www.linkedin.com/company/transloc [image:
social media icons-02.png] http://www.twitter.com/transloc [image: social
media icons-01.png] http://www.instagram.com/transloc_inc

See https://github.com/sensu/uchiwa-web/pull/39


OpenEXR.cpp:36:10: fatal error: 'ImathBox.h' file not found

I'm trying to install openexr for python, so I first started with installing and building this repo (following the instructions as mentioned in here, I downloaded the repo and followed the TLDR part) and it installs and builds correctly (although I had to do
brew uninstall boost-python).
Then I did
pip install openexr
and this was the error:
Collecting openexr
  Using cached https://files.pythonhosted.org/packages/7c/c4/76bf884f59d3137847edf8b93aaf40f6257d8315d0064e8b1a606ad80b1b/OpenEXR-1.3.2.tar.gz
Building wheels for collected packages: openexr
  Building wheel for openexr (setup.py) ... error
  ERROR: Complete output from command /Users/silviojin/anaconda3/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-install-62j670go/openexr/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-wheel-y7k6_it0 --python-tag cp36:
  ERROR: running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.7-x86_64-3.6
  copying Imath.py -> build/lib.macosx-10.7-x86_64-3.6
  running build_ext
  building 'OpenEXR' extension
  creating build/temp.macosx-10.7-x86_64-3.6
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/silviojin/anaconda3/include -arch x86_64 -I/Users/silviojin/anaconda3/include -arch x86_64 -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Users/silviojin/anaconda3/include/python3.6m -c OpenEXR.cpp -o build/temp.macosx-10.7-x86_64-3.6/OpenEXR.o -g -DVERSION="1.3.2"
  warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
  In file included from OpenEXR.cpp:36:
  In file included from /usr/local/include/OpenEXR/ImathBox.h:65:
  In file included from /usr/local/include/OpenEXR/ImathVec.h:46:
  In file included from /usr/local/include/OpenEXR/ImathExc.h:47:
  /usr/local/include/OpenEXR/IexBaseExc.h:49:10: fatal error: 'string' file not found
  #include <string>
           ^~~~~~~~
  1 warning and 1 error generated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for openexr
  Running setup.py clean for openexr
Failed to build openexr
Installing collected packages: openexr
  Running setup.py install for openexr ... error
    ERROR: Complete output from command /Users/silviojin/anaconda3/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-install-62j670go/openexr/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-record-jpxqo66g/install-record.txt --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.7-x86_64-3.6
    copying Imath.py -> build/lib.macosx-10.7-x86_64-3.6
    running build_ext
    building 'OpenEXR' extension
    creating build/temp.macosx-10.7-x86_64-3.6
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/silviojin/anaconda3/include -arch x86_64 -I/Users/silviojin/anaconda3/include -arch x86_64 -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Users/silviojin/anaconda3/include/python3.6m -c OpenEXR.cpp -o build/temp.macosx-10.7-x86_64-3.6/OpenEXR.o -g -DVERSION="1.3.2"
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    In file included from OpenEXR.cpp:36:
    In file included from /usr/local/include/OpenEXR/ImathBox.h:65:
    In file included from /usr/local/include/OpenEXR/ImathVec.h:46:
    In file included from /usr/local/include/OpenEXR/ImathExc.h:47:
    /usr/local/include/OpenEXR/IexBaseExc.h:49:10: fatal error: 'string' file not found
    #include <string>
             ^~~~~~~~
    1 warning and 1 error generated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command "/Users/silviojin/anaconda3/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-install-62j670go/openexr/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-record-jpxqo66g/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-install-62j670go/openexr/

So I went into /usr/local/include and I noticed that OpenEXR was the only directory that was physically there and not symbolically linked to a directory in /usr/local/Cellar.
Why is that?
Then just to try, I moved the OpenEXR directory  (that contains the .h files like  ImathBox.h) from /usr/local/include to /usr/local/Cellar and created a link in /usr/local/include.
Then I tried again
pip install openexr
and the result was slightly different:
Collecting openexr
  Using cached https://files.pythonhosted.org/packages/7c/c4/76bf884f59d3137847edf8b93aaf40f6257d8315d0064e8b1a606ad80b1b/OpenEXR-1.3.2.tar.gz
Building wheels for collected packages: openexr
  Building wheel for openexr (setup.py) ... error
  ERROR: Complete output from command /Users/silviojin/anaconda3/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-install-ar599j7u/openexr/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-wheel-tr6xiwvw --python-tag cp36:
  ERROR: running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.7-x86_64-3.6
  copying Imath.py -> build/lib.macosx-10.7-x86_64-3.6
  running build_ext
  building 'OpenEXR' extension
  creating build/temp.macosx-10.7-x86_64-3.6
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/silviojin/anaconda3/include -arch x86_64 -I/Users/silviojin/anaconda3/include -arch x86_64 -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Users/silviojin/anaconda3/include/python3.6m -c OpenEXR.cpp -o build/temp.macosx-10.7-x86_64-3.6/OpenEXR.o -g -DVERSION="1.3.2"
  warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
  OpenEXR.cpp:36:10: fatal error: 'ImathBox.h' file not found
  #include <ImathBox.h>
           ^~~~~~~~~~~~
  1 warning and 1 error generated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for openexr
  Running setup.py clean for openexr
Failed to build openexr
Installing collected packages: openexr
  Running setup.py install for openexr ... error
    ERROR: Complete output from command /Users/silviojin/anaconda3/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-install-ar599j7u/openexr/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-record-sfr18ojx/install-record.txt --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.7-x86_64-3.6
    copying Imath.py -> build/lib.macosx-10.7-x86_64-3.6
    running build_ext
    building 'OpenEXR' extension
    creating build/temp.macosx-10.7-x86_64-3.6
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/silviojin/anaconda3/include -arch x86_64 -I/Users/silviojin/anaconda3/include -arch x86_64 -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Users/silviojin/anaconda3/include/python3.6m -c OpenEXR.cpp -o build/temp.macosx-10.7-x86_64-3.6/OpenEXR.o -g -DVERSION="1.3.2"
    warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    OpenEXR.cpp:36:10: fatal error: 'ImathBox.h' file not found
    #include <ImathBox.h>
             ^~~~~~~~~~~~
    1 warning and 1 error generated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command "/Users/silviojin/anaconda3/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-install-ar599j7u/openexr/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-record-sfr18ojx/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/pip-install-ar599j7u/openexr/

The ImathBox.h file is inside the OpenEXR directory though.
I found someone with a similar error here but the suggested solutions didn't work for me. When doing
$ easy_install -U openexr
it gives basically the same error:
Searching for openexr
Reading https://pypi.org/simple/openexr/
Downloading https://files.pythonhosted.org/packages/7c/c4/76bf884f59d3137847edf8b93aaf40f6257d8315d0064e8b1a606ad80b1b/OpenEXR-1.3.2.tar.gz#sha256=1ef52d60a2c2cd0ebf8d8a7baf7fffd2a475953035dd9afab2117b86526f339f
Best match: OpenEXR 1.3.2
Processing OpenEXR-1.3.2.tar.gz
Writing /var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/easy_install-rcf2ele7/OpenEXR-1.3.2/setup.cfg
Running OpenEXR-1.3.2/setup.py -q bdist_egg --dist-dir /var/folders/g9/k_xb1tyd5hbg_48np5hvwh3m0000gn/T/easy_install-rcf2ele7/OpenEXR-1.3.2/egg-dist-tmp-x8etbol4
warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++
      standard library instead [-Wstdlibcxx-not-found]
OpenEXR.cpp:36:10: fatal error: 'ImathBox.h' file not found
#include <ImathBox.h>
         ^~~~~~~~~~~~
1 warning and 1 error generated.

Can anyone help?
I'm using:
MacOS 10.14.5
Python 3.6.5

Hi there! The openexr python bindings weren't created, and aren't maintained by the OpenEXR team. The project is hosted here - https://github.com/jamesbowman/openexrpython - others running into the issues you note have got assistance there. Closing for now, please reopen if there's something that needs attention here. Hope this helps!

I think you're missing the "libopenexr-dev" package if you're trying to build on a linux system.

Thank you very much, I was able to correctly install everything needed.
I connected the include directory and lib directory to my project, but when I build the project it returns the following error.
Output:

Error List:

It appears from the error that the OpenEXR files cannot find the includes of Imath, did I make a mistake in setting up OpenEXR in VS community for my project?

Encountered a similar issue with our build that was due to not having the correct version of libstdc++ installed for the compiler version being used.
Check which version compilers you have installed with:
sudo apt list --installed gcc*
sudo apt list --installed g++*
sudo apt list --installed libstdc++*

And if any are missing install it. For me, I was missiing 12:
sudo apt install libstdc++-12-dev


[improve][broker] Avoid record inactiveproducers when deduplication is disable.

Fixes #21192
Motivation
Short alive producer (create, send message, close) will create a lot record in deduplication inactiveproducers.
even there is clear logic but default interval is too long and is broker level.
Modifications
if deduplication is disabled do not record producer in inactive producers.
Verifying this change
This change is already covered by existing tests, such as (please describe tests).

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Codecov Report

Merging #21193 (4ad8160) into master (2aa8c3b) will increase coverage by 36.23%.
Report is 3 commits behind head on master.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             master   #21193       +/-   ##
=============================================
+ Coverage     36.92%   73.16%   +36.23%
- Complexity    12203    32458    +20255
=============================================
  Files          1698     1887      +189
  Lines        130400   140094     +9694
  Branches      14251    15428     +1177
=============================================
+ Hits          48153   102499    +54346
+ Misses        75908    29498    -46410
- Partials       6339     8097     +1758

Flag
Coverage Δ

inttests
24.08% <28.57%> (-0.14%)
:arrow_down:

systests
24.94% <28.57%> (-0.19%)
:arrow_down:

unittests
72.46% <100.00%> (+40.46%)
:arrow_up:

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

Files Changed
Coverage Δ

...roker/service/persistent/MessageDeduplication.java
82.30% <100.00%> (+43.96%)
:arrow_up:

... and 1447 files with indirect coverage changes


Multi-Inner-Hits doesn't seems to be available in Collapse

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[x] elastic.v7 (for Elasticsearch 7.x)
[ ] elastic.v6 (for Elasticsearch 6.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v2 (for Elasticsearch 1.x)
Please describe the expected behavior
Inside a collapse I which to have multiple inner_hits. Like : Collapse inner hits
Please describe the actual behavior
It seems, there can only be one single Inner_hits field inside the collapse field
Any steps to reproduce the behavior?
elastic.NewCollapseBuilder("user").
    Field("name.keyword").
    InnerHit(elastic.NewInnerHit().Name("one")).
    InnerHit(elastic.NewInnerHit().Name("two"))

Yes, looks like a missing feature in CollapseBuilder at least.


Add Resolver.sonatypeRepo("snapshots") to Getting started doc.

Getting started section in microsite documentation was missing a necessary sonatype snapshot resolver.

@NeQuissimus I am not sure if this PR will fix the broken microsite link in its current form... Microsite will not be republished - for that to happen we need a tagged commit and a passing CI.

Agreed, we have #215 for that


Spike: Collection Page: Contact

Overview of the Feature Request
In Q4, we have Q4.9, which is "Collection Page, Contact. The goal is to replicate the Contact feature on the Collection Page. (see SPA Beta Features for Q4)
This issue will analyze the API requirements for handling the contact requests, and create issues in  js-dataverse and dataverse-frontend as needed.

contact button with tooltip
create a contact form and send message email to email
after sending message, a notification should pop out

Closing with two issues #569 and https://github.com/IQSS/dataverse-client-javascript/issues/231


nim-bindings: Lift restriction of yaml test on Nim v2.x

Hmm I would love for this to work. I tested it with nim v2.0.4 (from homebrew) it still doesn't work though.
jtraglia at xanax in ~/c-kzg-4844/bindings/nim (enable-yaml-test)
$ brew upgrade nim && nim -v && nim test
Warning: nim 2.0.4 already installed
Nim Compiler Version 2.0.4 [MacOSX: arm64]
Compiled at 2024-03-28
Copyright (c) 2006-2023 by Andreas Rumpf

active boot switches: -d:release -d:nimUseLinenoise
>>>>>>>>>>>>>>>> Run tests in DEBUG mode <<<<<<<<<<<<<<<<
/Users/jtraglia/.nimble/pkgs/yaml-1.0.0/yaml/stream.nim(115, 3) Error: undeclared identifier: 'shallowCopy'
candidates (edit distance, scope distance); see '--spellSuggest':
 (6, 4): 'alloc'
 (6, 4): 'alloc0'
 (6, 4): 'allocImpl'
stack trace: (most recent call last)
/opt/homebrew/Cellar/nim/2.0.4/nim/lib/system/nimscript.nim(421, 18)
/Users/jtraglia/c-kzg-4844/bindings/nim/config.nims(26, 13) testTask
/Users/jtraglia/c-kzg-4844/bindings/nim/config.nims(19, 3) runAllTest
/Users/jtraglia/c-kzg-4844/bindings/nim/config.nims(14, 3) test
/opt/homebrew/Cellar/nim/2.0.4/nim/lib/system/nimscript.nim(265, 7) exec
/opt/homebrew/Cellar/nim/2.0.4/nim/lib/system/nimscript.nim(265, 7) Error: unhandled exception: FAILED: nim c  -d:debug --outdir:build -r -f --hints:off --warnings:off --skipParentCfg /Users/jtraglia/c-kzg-4844/bindings/nim/tests/test_all [OSError]

Also tested with build from source (nim-lang/Nim @ devel) and it doesn't work either.
jtraglia at xanax in ~/c-kzg-4844/bindings/nim (enable-yaml-test)
$ nim -v && nim test
Nim Compiler Version 2.1.1 [MacOSX: arm64]
Compiled at 2024-05-28
Copyright (c) 2006-2024 by Andreas Rumpf

git hash: d923c581c118b9ea891785bbb828c3cdede587b4
active boot switches: -d:release
>>>>>>>>>>>>>>>> Run tests in DEBUG mode <<<<<<<<<<<<<<<<
/Users/jtraglia/.nimble/pkgs/yaml-1.0.0/yaml/stream.nim(115, 3) Error: undeclared identifier: 'shallowCopy'
candidates (edit distance, scope distance); see '--spellSuggest':
 (6, 4): 'alloc'
 (6, 4): 'alloc0'
 (6, 4): 'allocImpl'
stack trace: (most recent call last)
/Users/jtraglia/Projects/nimlang/Nim/lib/system/nimscript.nim(420, 18)
/Users/jtraglia/c-kzg-4844/bindings/nim/config.nims(26, 13) testTask
/Users/jtraglia/c-kzg-4844/bindings/nim/config.nims(19, 3) runAllTest
/Users/jtraglia/c-kzg-4844/bindings/nim/config.nims(14, 3) test
/Users/jtraglia/Projects/nimlang/Nim/lib/system/nimscript.nim(263, 7) exec
/Users/jtraglia/Projects/nimlang/Nim/lib/system/nimscript.nim(263, 7) Error: unhandled exception: FAILED: nim c  -d:debug --outdir:build -r -f --hints:off --warnings:off --skipParentCfg /Users/jtraglia/c-kzg-4844/bindings/nim/tests/test_all [OSError]

Ah. Yes that was the issue. I was still using yaml-1.0.0, not the new version.
It's a bit weird, even after updating yaml (via nimble) it still defaulted to using the old yaml package. I had to manually remove the old one from the pkgs directory. After doing that, it worked just fine.
rm -rf ~/.nimble/pkgs/yaml-1.0.0


@UploadedFile example usage

I was wondering if you could provide an example on how to use the @UploadedFile decorator. I'm unsure how I should be configuring multer before invoking the decorater. Appreciate any tips.
Thanks,
Alex

This is how I use it:
 @Post("/:id/photos")
    async uploadPhoto( @UploadedFile("file") file: any, @BodyParam("photo") photo: Photograph) {
//photo is a Form parameter
  if (photo) {
        this.createDirectoryForCollection(photo.photoCollectionId);
        photo = await this.photoRepository.persist(photo);
        photo.preview = this.createPreviewUrl(photo.photoCollectionId, photo.id);
        photo.source = this.createFullsizeUrl(photo.photoCollectionId, photo.id);
//This is the file
  let buffer: Buffer = file.buffer;

        await  this.moveImage(buffer, photo.source);

        console.log(photo);
        return this.photoRepository.persist(photo);
      }

    }

Hope this helps

@AleskiWeb there is uploadOptions in decorator, you can use it for example this way:
@UploadedFiles("files", { uploadOptions: FILE_UPLOAD_OPTIONS }) files: any[]

export const FILE_UPLOAD_OPTIONS = {
    storage: multer.diskStorage({
        destination: (req: any, file: any, cb: any) => { ...
        },
        filename: (req: any, file: any, cb: any) => { ...
        }
    }),
    fileFilter: (req: any, file: any, cb: any) => { ...
    },
    limits: {
        fieldNameSize: 255,
        fileSize: 1024 * 1024 * 2
    }
}

Could you also provide the code of the client how to send a file?


No logs from random containers after updating to 0.19.0

Describe the bug
I updated lazydocker on several pc/vm's and raspberry's and noticed when scrolling down several containers do not output any logs. docker compose logs -f or dozzle correctly display these. (Maybe related, but the installer script never worked properly for me, even when ran as root it ends up in home directory, so I usually run the script, then sudo mv ~/.local/bin/lazydocker /usr/local/bin)
To Reproduce
Steps to reproduce the behavior:

open lazydocker 0.19.0 on host with multiple containers running
start scrolling down the list of containers
look in the log window, some of the containers will show just blank window with no logs whatsoever

Expected behaviour
Logs should display for all containers
Screenshots
I can make a video if necessary, but I think it's pretty self-explanatory - you should see logs, there's nothing.
Desktop (please complete the following information):

OS: Ubuntu 22.04.1 LTS
Lazydocker Version 0.19.0

Additional context
I tried to find out some connection between the containers that don't work, but came up empty. It's random containers each restart. I have tried running lazydocker as root, but no change. This is not a slow cpu issue either I can stay on the container for 5 minutes the logs will never show.

Same happens to me, running LazyDocker with docker:
docker run --rm -it -v //var/run/docker.sock:/var/run/docker.sock lazyteam/lazydocker

I subjectively feel it got even worse in 0.20.0, now it's about half or more of the containers displaying no logs in lazydocker.

Right you are @hugalafutro: as of v0.20.0 we only show the last hour of logs for a given container (see commit here: https://github.com/jesseduffield/lazydocker/commit/0b7017150c7cf0534c71203a53c2ff0f608e459c).
This is configurable: you can set:
logs:
  since: ''

in your config to un-set the 'since' value that gets passed to docker logs.
The motivation behind that was that if a container has millions of lines of logs from being up for a long time, it was very painful to wait for all those logs to be produced so that you could get to the end.
But if that default is causing issues I wanna find a better solution. One approach would be to have a default value for the 'tail' arg of something like 1000 so that it only loads those lines and then it continues from there. But even 1000 takes a while to load for some containers I'm testing that on.
Something we could do is a similar approach to k9s which shows you the args within the app and provides keybindings for you to change them.

I've got a WIP PR up for making this stuff visible and configurable from within the app https://github.com/jesseduffield/lazydocker/pull/406

Thanks, I was not aware of this, it is actually an useful feature, I have containers that keep logs for months and it took like 10mins for it to scroll to the end on raspberry pi.
I was just taken aback by the blank screen that to me looked like bug, perhaps a line of text in such a case explaining that no logs have been produced in last hour could be useful, although in that case I would possibly still be interested in seeing the tail end of the last log instead of nothing.
I wouldn't say the defaults cause issues, it's just not readily apparent they changed and why in some cases there's no log (I presume large portion of user base doesn't read changelogs, I too am guilty of this at times - at other times I try, but it's hard when the log is long-ish and 90% of issues fixed/features introduced usually do not apply to my use case).
I'll be happy with whatever approach you'll choose as now that I know no logs means all's well it won't bother me that much.


Create CODE_OF_CONDUCT.md

This pull request is now managed with CodeReviewHub. Refresh.

:shipit:

:shipit:


nacos discovery starter support connect to aliyun with master branch

#357
nacos discovery starter must support connect to aliyun
Describe how you did it
ANS support nacos client register service
Describe how to verify it
applications deploy to aliyun use the edas can callable to each other
Special notes for reviews
maven must add this dependency
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-alicloud-context</artifactId>
</depen

Codecov Report

Merging #358 into master will increase coverage by 3.14%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #358      +/-   ##
=========================================
+ Coverage   52.75%   55.9%   +3.14%
=========================================
  Files          27      27
  Lines         127     127
  Branches       16      16
=========================================
+ Hits           67      71       +4
+ Misses         49      45       -4
  Partials       11      11

Impacted Files
Coverage Δ

...endpoint/NacosConfigEndpointAutoConfiguration.java
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7677507...997faff. Read the comment docs.

LGTM


LegendasTV: Don't discard provider when BadRarFile or BadZipFile

Show a 'Invalid subtitle' warning instead
Without this, until subtitle is manually downloaded, it will keep discarding provider every run
Fixes https://github.com/Diaoul/subliminal/issues/688
ping @ratoaq2

You could get badzipfile in several providers, not only in legendastv. The solution needs to be a general solution


[XLA] Register XLA_GPU iff cuda enable

Fix https://github.com/tensorflow/tensorflow/issues/12070.
@hawkinsp PTAL, Thanks!

Can one of the admins verify this patch?

@hawkinsp PTAL :)

@hawkinsp could you take another look, please?

@hawkinsp PR updated. Could you take another look, please?
:-)

@tensorflow-jenkins Test this, please.

Jenkins, test this please

Jenkins, test this please

Jenkins, test this please.

FYI, this CL has caused compilation error in tensorflow's nightly builds, e.g.,
tensorflow/compiler/tf2xla/xla_cpu_backend.cc: In function 'bool tensorflow::CpuOpFilter(tensorflow::KernelDef*)':
tensorflow/compiler/tf2xla/xla_cpu_backend.cc:23:11: error: invalid use of incomplete type 'class tensorflow::KernelDef'
if (kdef->op() == "RandomStandardNormal") {
^
In file included from ./tensorflow/core/framework/op_kernel.h:27:0,
from ./tensorflow/core/common_runtime/device.h:41,
from ./tensorflow/core/common_runtime/local_device.h:19,
from ./tensorflow/compiler/tf2xla/xla_op_registry.h:25,
from tensorflow/compiler/tf2xla/xla_cpu_backend.cc:16:
./tensorflow/core/framework/kernel_def_builder.h:27:7: error: forward declaration of 'class tensorflow::KernelDef'
class KernelDef;
^
tensorflow/compiler/tf2xla/xla_cpu_backend.cc:24:9: error: invalid use of incomplete type 'class tensorflow::KernelDef'
kdef->clear_constraint();
See full example logs here.
@ScorpioCPH Can you come up with a quick fix?

@caisq ok, I will fix it today.

@ScorpioCPH already fixed it here: https://github.com/tensorflow/tensorflow/pull/12565

@jhseu Thanks!


Empty Templateflow files

Hi!
fMRIPrep 1.5.2, Singularity.
We are hitting this exact issue: https://github.com/poldracklab/smriprep/pull/94#issuecomment-510189997 -- i.e. the template file exists, but has size 0.
When running the SIMG we set the following variable:
TEMPLATEFLOW_HOST_HOME=/tmp/templateflow-$(whoami)

followed by:
mkdir -p ${TEMPLATEFLOW_HOST_HOME}

Later down, the SIMG is run like this:
singularity run --cleanenv -B $STUDY:/projectFolder -B ${TEMPLATEFLOW_HOST_HOME}:${SINGULARITYENV_TEMPLATEFLOW_HOME} -B $L_SCRATCH:/work $IMAGE_DIR/$IMAGE_NAME

Any comments?
Thanks in advance!

Which template file is not being pulled?
One possible workaround would be to pull the template locally with $TEMPLATEFLOW_HOST_HOME, and just mount it into the container. This discussed towards the end of this section of the documentation https://fmriprep.readthedocs.io/en/stable/singularity.html#internet-access-problems

Also, how did you set SINGULARITYENV_TEMPLATEFLOW_HOME?

Which template file is not being pulled?

It seems to fail at tpl-MNI152NLin2009cAsym_res-01_T1w.nii.gz

One possible workaround would be to pull the template locally with $TEMPLATEFLOW_HOST_HOME, and just mount it into the container. This discussed towards the end of this section of the documentation https://fmriprep.readthedocs.io/en/stable/singularity.html#internet-access-problems

This is for spotty internet connections, though, isn't it? We do have internet access.

Also, how did you set SINGULARITYENV_TEMPLATEFLOW_HOME?

We're using Slurm along with a slightly modified version of the script provided in the documentation:
https://fmriprep.readthedocs.io/en/stable/singularity.html#running-singularity-on-a-slurm-system
Thanks!

Inside the container, does $TEMPLATEFLOW_HOME point to whatever$TEMPLATEFLOW_HOST_HOME was bound as? And do you have write permission in that directory?

This is for spotty internet connections, though, isn't it? We do have internet access.

Primarily yes, though we can apply it to this problem and ensure you have the necessary files prior to running the container

Inside the container, does $TEMPLATEFLOW_HOME point to whatever$TEMPLATEFLOW_HOST_HOME was bound as? And do you have write permission in that directory?

No, $TEMPLATEFLOW_HOME is never set, only $SINGULARITYENV_TEMPLATEFLOW_HOME. We need to set the former one too?
Wasn't this a solved problem as per the smriprep fix above? I'm sorry but I'm slightly out of my element here :)
Thanks!

One possible workaround would be to pull the template locally with $TEMPLATEFLOW_HOST_HOME, and just mount it into the container

So we tried that -- installing Templateflow via pip, invoking the api.get and fetching MNI152NLin2009cAsym_res-01_T1w.
This still results in an empty (size 0) tpl-MNI152NLin2009cAsym_res-01_T1w.nii.gz. I still don't understand Templateflow (I'm not a researcher, just trying to help one) but this doesn't seem right to me. Do you have any further pointers?
Thanks!

No, $TEMPLATEFLOW_HOME is never set, only $SINGULARITYENV_TEMPLATEFLOW_HOME. We need to set the former one too?

Variables with the SINGULARITYENV_ prefix should be visible within the container (so SINGULARITYENV_TEMPLATEFLOW_HOME=/foo becomes TEMPLATEFLOW_HOME=/foo).
Can you share the full run script? And what version of singularity are you using?

Variables with the SINGULARITYENV_ prefix should be visible within the container (so SINGULARITYENV_TEMPLATEFLOW_HOME=/foo becomes TEMPLATEFLOW_HOME=/foo).

Ah.

Can you share the full run script?

Certainly. It's a slightly modified version of the sample Slurm script: gist

And what version of singularity are you using?

3.5.0 (Ubuntu 16.04).
Thanks!

solved in https://gist.github.com/FidgetteSpinneur/4f45af8862074fe0076dcd41faa4f80e#gistcomment-3256933


COMP: Bump ITKTotalVariation remote module

CMake fixes to address CMake IMPORTED target:
The link interface of target "proxTV" contains:
OpenMP::OpenMP_CXX

but the target was not found.  Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target. * An ALIAS target is missing.

#4811 has now been merged. A plain rebase should be sufficient for a green CI.

Also merged to release and master.


segfault in destructor

Thanks for the great package! In a trimesh issue someone posted a backtrace that looked like it was occurring in the pyembree destructor, I was wondering if you'd ever seen anything similar?
Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) py-bt
Traceback (most recent call first):
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007fffd8ab7c30 in embree::avx::TriangleMeshISA::~TriangleMeshISA() ()
   from /usr/local/lib/libembree.so.2
#2  0x00007fffd850002f in embree::Scene::~Scene() ()
   from /usr/local/lib/libembree.so.2
#3  0x00007fffd8500179 in embree::Scene::~Scene() ()
   from /usr/local/lib/libembree.so.2
#4  0x00007fffd84c3cc5 in rtcDeleteScene () from /usr/local/lib/libembree.so.2
#5  0x00007fffd992474c in __pyx_pf_8pyembree_12rtcore_scene_11EmbreeScene_4__dealloc__ (__pyx_v_self=0x7fffd3166490) at pyembree/rtcore_scene.cpp:3434
#6  __pyx_pw_8pyembree_12rtcore_scene_11EmbreeScene_5__dealloc__ (
    __pyx_v_self=<pyembree.rtcore_scene.EmbreeScene at remote 0x7fffd3166490>)
    at pyembree/rtcore_scene.cpp:3419
#7  __pyx_tp_dealloc_8pyembree_12rtcore_scene_EmbreeScene (
    o=<pyembree.rtcore_scene.EmbreeScene at remote 0x7fffd3166490>)
    at pyembree/rtcore_scene.cpp:6042
#8  0x00000000004fc70f in PyDict_Clear () at ../Objects/dictobject.c:946
#9  0x00000000005419b9 in dict_tp_clear.lto_priv.332 (op=<optimized out>)
    at ../Objects/dictobject.c:2152
#10 0x000000000049ca0f in delete_garbage (
    old=0x8fa280 <generations.lto_priv+96>, collectable=0x7fffffffdb40)
    at ../Modules/gcmodule.c:820
#11 collect.lto_priv () at ../Modules/gcmodule.c:984
---Type <return> to continue, or q <return> to quit---
#12 0x00000000004f9ade in PyGC_Collect () at ../Modules/gcmodule.c:1440
#13 0x00000000004f8d7f in Py_Finalize () at ../Python/pythonrun.c:448
#14 0x00000000004936f2 in Py_Main () at ../Modules/main.c:665
#15 0x00007ffff7810830 in __libc_start_main (main=0x4932b0 <main>, argc=2,
    argv=0x7fffffffddd8, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffddc8)
    at ../csu/libc-start.c:291
#16 0x00000000004931d9 in _start ()

Thanks @mikedh! I haven't seen that.  But if there is a fix that you find, PRs welcome!


Sample code is wrong

Doc is wrong.
Tried to do the first example:
    public static class xxx
    {
        static MigrationBuilder CreateUser(
            this MigrationBuilder migrationBuilder,
            string name,
            string password)
            => migrationBuilder.Sql($"CREATE USER {name} WITH PASSWORD '{password}';");

    }

Doesn't compile because migrationBuilder.Sql is the wrong type:
Cannot implicitly convert type 'Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation>' to 'Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder'

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

ID: c13eb107-79c2-7824-12c1-e637d2a92add
Version Independent ID: aafc9673-c635-3cf2-6235-8577ff15d19c
Content: Custom Migrations Operations - EF Core
Content Source: entity-framework/core/managing-schemas/migrations/operations.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @bricelam
Microsoft Alias: bricelam

Duplicate of #1574


Add more Vietnamese Free Programming Courses

Haha. First time read travis errors. I'll add more tomorrow 😄


release attrs 17.3.0?

Hi,
Now that type annotations are supported in attrs, is it possible to release a 17.3.0?
I'm doing a bit of work on cattrs right now, and it would help to utilize the standard type syntax instead of cattrs.typed.
If a new attrs can be shipped, I can submit a patch to support the type parameter in cattrs.
Thanks!

I would love to release 17.3.0 but I really want to get the slots-like-creation-for-dict-classes ball rolling first.  It's gonna take a while to roll them out with deprecations and everything so I don't want to wait for a full new release cycle.

What's the ticket / PR for that? or rather, is there a part of that that needs help? I can volunteer some time if it'll help the release.

I have just pushed initial work to #260 but I have to stop for today.  Feel free to review/help over there. :)

It’s out.  🎉

Woo, thank you!


bug_report.md typo and README Badge fix

🚀 🚀 Pull Request
Checklist:

[X]  My code follows the style guidelines of this project and the Contributing document
[X]  I have commented my code, particularly in hard-to-understand areas
[X]  I have kept the coverage-rate up
[X]  I have performed a self-review of my own code and resolved any problems
[X]  I have checked to ensure there aren't any other open Pull Requests for the same change
[X]  I have described and made corresponding changes to the relevant documentation
[X]  New and existing unit tests pass locally with my changes

Changes
typo in bug_report.md, change "Pycharme" to "PyCharm"

Apologies for the delayed response, and thank you for contributing to Hub! ❤ LGTM 😄


Should not apply success class on returning empty observable

When I am using the call client function [ngxsSubmitLoading], if the function returns an empty observable then success class is applied to that element(button)
If the function returns an empty observable then no class should be applied to that element(button)

hmm nice flow let me add it,

you can check in a new release, the problem is resolved, and thanks for reporting

@Atal14 kindly close the issue once you verify


[bug] Nokogiri::XML::Reader.from_io.each misidentifies character encoding?

Please describe the bug
Nokogiri::XML::Reader.from_io.each cause exception Nokogiri::XML::SyntaxError when XML node contain long non-ascii characters.
The XML node contain only valid UTF-8 characters, but cause error FATAL: Input is not proper UTF-8, indicate encoding !.

Help us reproduce what you're seeing
require 'nokogiri'
require 'stringio'

NON_ASCII = "\u{3042}"
XML_TEMPLATE =<<~XML
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <a>%<content>s</a>
</root>
XML

[325, 326].each do |length|
  io = StringIO.new(format(XML_TEMPLATE, content: NON_ASCII * length))
  Nokogiri::XML::Reader.from_io(io).tap { |x| pp x  }.each { }
  puts "OK: #{length}"
rescue => e
  puts "NG: #{length} (#{e.inspect})"
end

__END__

ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [arm64-darwin22]

### nokogiri 1.14.4

OK: 325
OK: 326

### nokogiri 1.15.0

OK: 325
NG: 326 (#<Nokogiri::XML::SyntaxError: 3:332: FATAL: Input is not proper UTF-8, indicate encoding !>)

Expected behavior
Do not raise error.

Environment
# Nokogiri (1.15.0)
    ---
    warnings: []
    nokogiri:
      version: 1.15.0
      cppflags:
      - "-I/Users/koshigoe/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/nokogiri-1.15.0-arm64-darwin/ext/nokogiri"
      - "-I/Users/koshigoe/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/nokogiri-1.15.0-arm64-darwin/ext/nokogiri/include"
      - "-I/Users/koshigoe/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/nokogiri-1.15.0-arm64-darwin/ext/nokogiri/include/libxml2"
      ldflags: []
    ruby:
      version: 3.1.4
      platform: arm64-darwin22
      gem_platform: arm64-darwin-22
      description: ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [arm64-darwin22]
      engine: ruby
    libxml:
      source: packaged
      precompiled: true
      patches:
      - 0001-Remove-script-macro-support.patch
      - 0002-Update-entities-to-remove-handling-of-ssi.patch
      - 0003-libxml2.la-is-in-top_builddir.patch
      - '0009-allow-wildcard-namespaces.patch'
      - 0010-update-config.guess-and-config.sub-for-libxml2.patch
      - 0011-rip-out-libxml2-s-libc_single_threaded-support.patch
      libxml2_path: "/Users/koshigoe/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/nokogiri-1.15.0-arm64-darwin/ext/nokogiri"
      memory_management: ruby
      iconv_enabled: true
      compiled: 2.11.3
      loaded: 2.11.3
    libxslt:
      source: packaged
      precompiled: true
      patches:
      - 0001-update-config.guess-and-config.sub-for-libxslt.patch
      datetime_enabled: true
      compiled: 1.1.38
      loaded: 1.1.38
    other_libraries:
      zlib: 1.2.13
      libiconv: '1.17'
      libgumbo: 1.0.0-nokogiri

Additional context
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [arm64-darwin22]

@koshigoe Thank you for reporting this! This error message is being generated by libxml2. I have reproduced the issue and will investigate.

Git bisect shows that this is the commit that introduced the new behavior:
https://gitlab.gnome.org/GNOME/libxml2/-/commit/3582b07bd24d438be7dd08ab57e3f9e635373e32
commit 3582b07bd24d438be7dd08ab57e3f9e635373e32
Author: Nick Wellnhofer<EMAIL_ADDRESS>Date:   Sun Nov 13 22:57:32 2022 +0100

    parser: Fix content parser progress checks

    This is another attempt at fixing parser progress checks. Instead of
    relying on in->consumed, which could overflow, change some content
    parser functions to make guaranteed progress on certain byte sequences.

I've narrowed this down to specific changes in libxml2 chunk parsing that may be a bug. I'll open an issue upstream and link to it here.

Neat! This was already reported upstream at https://gitlab.gnome.org/GNOME/libxml2/-/issues/542 and was fixed in https://gitlab.gnome.org/GNOME/libxml2/-/commit/e0f3016f71297314502a3620a301d7e064cbb612
I expect it'll be fixed shortly in a libxml2 release. I'll leave this open until that happens and I can ship a new nokogiri release.

libxml2 v2.11.4 is out with the fix: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.11.4
I'll try to get a release out in the next day.

Nokogiri v1.15.1 is out with this upstream fix. https://github.com/sparklemotion/nokogiri/releases/tag/v1.15.1


MGMT-18597: Poll Stackrox Central for violation counts and push it to Kafka

Summary
This patch changes the agent so that it discovers Stackrox central instances in the hub, polls them to extract the summary of security violations and sends them to the manager via the Kafka broker.
Related issue(s)
https://issues.redhat.com/browse/MGMT-18597

Do you mind add some UT to pass the code coverage check?

Do you mind add some UT to pass the code coverage check?

Yes, I am working on that.

/test sonarcloud

/test test-e2e

/test test-integration


train code

Can you send me the  train code to my email , pls? I want to retrain and modify upsample.
My email<EMAIL_ADDRESS>Thanks very much.

Hello Peike Li, your work is amazing, especially your ensemble learning method. Currently, I am doing a project in the LIP challenge with Deeplab v3+, which achieved about 57% accuracy, which is pretty low especially minor classes. Therefore, can you send me your training code to my email<EMAIL_ADDRESS>I want to learn more about your work. Thank you very much.

@loveppdog
Thank you for your interest in our work. Currently our work is still under review, the code will be released upon acceptance.

dear @PeikeLi,
when will the code be released?
Your work is really impressive! One more question though, do you mind to share the cloud strategy you use to do online training?


Upgrading/Downgrading Cloudflare plans example uses old prices

Existing documentation URL(s)
https://developers.cloudflare.com/support/account-management-billing/billing-cloudflare-plans/cloudflare-billing-policy/#upgrade-or-downgrade-cloudflare-paid-plans
What changes are you suggesting?
Currently the example is using the old prices for Pro (20$) and Business (200$) instead of the updated ones (25$ and 250$).

Your invoice for the billing period of January 1 - January 30 in the amount of $110 will appear in the Cloudflare dashboard on January 31.

But the billing period should be Jan 1 - Jan 31? Using the correct number of days will make the numbers pretty messy, so probably a month with exactly 30 days should be used instead.
Additional information
No response

Thanks for the flag. Removed outdated $ from this page. Closed by https://github.com/cloudflare/cloudflare-docs/pull/17178


RFC: API Change: watchdog: wdt_feed error codes

Problem Description
The Atmel SAMx2x and SAMx5x watchdog peripherals implemented in wdt_sam0.c require synchronization between the peripheral and system clocks.  Attempts to feed the watchdog while a previous operation is in progress will stall the CPU for a duration measured in ticks of the global and peripheral clock.  In the worst case a feed operation may stall the CPU for 6 ms.  The conditions in which a stall would occur are changes to the peripheral configuration and issuing a feed operation.
That a feed would cause a stall can be detected.  Proposed behavior of wdt_feed() in that case is to not stall, but instead return immediately with an error code -EBUSY indicating that completing the feed would cause a stall.
Motivating situation is #23115
Proposed Change
See PR #26707
Detailed RFC
See PR #26707
Dependencies
Application code that invokes watchdog_feed() and reacts to a non-zero return value may need to be modified to accept and possibly react to the new non-fatal -EBUSY response.

That a feed would cause a stall can be detected. Proposed behavior of wdt_feed() in that case is to not stall, but instead return immediately with an error code -EBUSY indicating that completing the feed would cause a stall.

Perhaps -EAGAIN would be better here as it implies that the busy state is temporary and should go away without user intervention?

Agreed.

Change was fast-tracked so this is done.


⚠ ECDC Shop has degraded performance

In e2d6fe8, ECDC Shop (https://shop.memmingen-indians.de) experienced degraded performance:

HTTP code: 200
Response time: 11983 ms

Resolved: ECDC Shop performance has improved in ba7be7a after 15 minutes.


Re-support VizPlugins as people are using it.

Codecov Report
Base: 100.00% // Head: 97.59% // Decreases project coverage by -2.40% :warning:

Coverage data is based on head (0763de3) compared to base (b2bf0b9).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##            master     #294      +/-   ##
===========================================
- Coverage   100.00%   97.59%   -2.41%
===========================================
  Files           21       21
  Lines         2162     2165       +3
===========================================
- Hits          2162     2113      -49
- Misses           0       52      +52

Impacted Files
Coverage Δ

src/viztracer/vizplugin.py
100.00% <100.00%> (ø)

src/viztracer/viztracer.py
95.78% <100.00%> (-4.22%)
:arrow_down:

src/viztracer/cellmagic.py
40.00% <0.00%> (-60.00%)
:arrow_down:

src/viztracer/patch.py
86.36% <0.00%> (-13.64%)
:arrow_down:

src/viztracer/util.py
94.28% <0.00%> (-5.72%)
:arrow_down:

src/viztracer/main.py
97.70% <0.00%> (-2.30%)
:arrow_down:

src/viztracer/code_monkey.py
97.90% <0.00%> (-2.10%)
:arrow_down:

src/viztracer/viewer.py
99.68% <0.00%> (-0.32%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add Image::fill_rect method

Resolves godotengine/godot-proposals#3259.
Made the p_rect parameter Rect2 instead of Rect2i to make it consistent with other Image's methods like blit_rect(), blend_rect() etc. (if changing Rect2 to Rect2i is wanted it can be made in a separate PR).

I've added a second commit changing these methods to use memcpy(), as @LightningAA suggested. Didn't squash it for now for easier comparison or in case such change is not wanted.

Actually, just remembered one more small thing (sorry), it might be a good idea to add some tests for fill_rect(...) in tests/test_image.h. There's already a test for fill(...)

Done.

Needs a rebase.


Can't read full InputBox validation error message if it is too long.

The message doesn't have a tooltip or any other means to show the full text.

Is mentoring available for this?

I added support for the input message and validation to show up in the hover when hovering over the item in the quick pick.


containerd: Implement push

Make docker push push
Signed-off-by: Paweł Gronowski<EMAIL_ADDRESS>
- What I did
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
🦘

@vvoland There is a conflict :)

Thanks for the notice! Rebased :)

When upstreaming:

depends on / needs to go after https://github.com/moby/moby/pull/43819
but, we may want to squash all fixes related to "common" progress (push/pull) code into a single commit

combine with one or more of;

https://github.com/rumpl/moby/pull/15
https://github.com/rumpl/moby/pull/16
https://github.com/rumpl/moby/pull/73
https://github.com/rumpl/moby/pull/74
progress fix-up from https://github.com/rumpl/moby/pull/80


Calibration::initCameraGroup()  initial camera relative pose

https://github.com/rameau-fr/MC-Calib/blob/dca41de74f9859e326eb55407811f4560843cb29/src/Calibration.cpp#L999
because inter_camera_transform_[cam1_cam2_pair] defines the pose of cam1 frame to cam2 frame, the transform chain formation from reference camera to current camera should be
 transform = current_trans*transform;

Thank you very much for your comment; I believe that all the relative camera transformations (and camera groups) are inverted by default. Therefore, the original code should be valid. If I remember properly, I checked it in detail during development, but I have to admit that the notation is confusing.
Have you tried to perform this modification and re-compile it? I assume it should not work anymore if you do so.
Note that the same transformation is used in MergeCameraGroups.
I do not have time to check it in detail right now, but it could be good to refactor this part of the code for clarity. Please keep us in touch if you have any tests regarding that particular point.


Observation.  runs[any] in (5141,5143) is much much faster than runs[any] in 5141:5143

This is just an observation.  When I run with the range format (there is no 5142 I think) things run in seconds instead of ~ 1 minute for the range specification.

Yes, this is a known issue: https://metacat.readthedocs.io/en/latest/mql.html#ranges-and-sets

Should datasets have create/update dates and creators just like files do?   I’ve gotten some nice dataset creation going but it would be good to find the person who did it and when.
Thanks, Heidi
On Aug 19, 2023, at 4:22 PM, Igor Mandrichenko<EMAIL_ADDRESS>wrote:
[This email originated from outside of OSU. Use caution with links and attachments.]
Yes, this is a known issue: https://metacat.readthedocs.io/en/latest/mql.html#ranges-and-sets
—
Reply to this email directly, view it on GitHubhttps://github.com/ivmfnal/metacat/issues/34#issuecomment-1685129927, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIA37DLF5EMXW6NK7CAV3GDXWFDBZANCNFSM6AAAAAA3W22SII.
You are receiving this because you authored the thread.Message ID: @.***>

I think the best is to have the user choose between using value ranges and direct enumeration, knowing that using ranges is not indexable

Yes, And Elisabetta, for example, asked me why I did not use a, b, c  instead of a-c so generally users are happy with “,” delimited.
On Aug 27, 2023, at 2:21 AM, Igor Mandrichenko<EMAIL_ADDRESS>wrote:
[This email originated from outside of OSU. Use caution with links and attachments.]
I think the best is to have the user choose between using value ranges and direct enumeration, knowing that using ranges is not indexable
—
Reply to this email directly, view it on GitHubhttps://github.com/ivmfnal/metacat/issues/34#issuecomment-1694616752, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIA37DMH3TLH7GZX4T7FOL3XXMGRLANCNFSM6AAAAAA3W22SII.
You are receiving this because you authored the thread.Message ID: @.***>


$ flutter init not so happy on OSX

brettmorgan@brettmorgan-macbookpro2 ~/dartlang-toys> flutter init -o my_app
Creating my_app...
my_app/.gitignore
my_app/pubspec.yaml
my_app/README.md
my_app/lib/main.dart
Running pub get...
Resolving dependencies...

flutter 0.0.19

sky_tools 0.0.38
Changed 2 dependencies!
Precompiling executables...
Loading source assets...
Precompiled flutter:flutter.
All done! To run your application:
$ cd my_app
$ flutter start --checked

brettmorgan@brettmorgan-macbookpro2 ~/dartlang-toys> cd my_app/
brettmorgan@brettmorgan-macbookpro2 ~/d/my_app> flutter start --checked
Invalid argument(s): join("packages/sky_tools/cache", "sky_engine", null, "Release", "darwin-x64"): part 2 was null, but part 3 was not.

My guess is that you're using an old version of the flutter too.  Can you try pub global deactivate flutter and then follow the getting started steps from this page: http://flutter.io/getting-started/ ?

On the money. Thanks!


open --background still causes frontmost app to lose focus

Thanks for One Thing! 🌈 🦄
Small issue, but when using the URI scheme to set a message
open --background "one-thing:?text=Foo%20Bar"

The frontmost app will lose focus. I have some scripts that set messages using this method and it causes minor frustration when I am e.g. typing in Sublime Text and I have to reach for the mouse to bring it back to the front.
The Node CLI does not have this problem, so I switched to that for now, but the URI scheme is "easier"
edit: actually, the node cli does have the same gotcha.

This only happens when One Thing is not already running, correct?

Correct, sorry I left out that detail.

Fixed in 1.11.2