fix: stack helper execution

Problem: stack <component> command resulting in /usr/local/bin/stack: 102: Bad substitution.
OS details: Ubuntu 22.04.2 LTS
Searching about the error, I found it is related to shell interpreter when trying to get the command line arguments here:
https://github.com/opencodeco/stack/blob/9bf9dfaa925d311a070c80a5b49e6fc4e12f31ed/stack#L102
I'm proposing these changes based on the other OpenCodeCo project: phpctl. phpctl have a shell script to execute project commands which has a similar arguments slicing, having a different hashbang line.
After the changes, everything worked as expected and I was able to execute stack mysql without errors.

@leocavalcante could you please take a look? Thanks!

Sorry for the delay, I was on a vacation trip.
Thank you so much for the contributions, I added you as a maintainer.


[Macros/Tests] Build test plugins with the same compiler as the dylib

Sanitizer ABI are apparently not stable. We need to build the executable with the same compiler as the linking dylib.
rdar://119141141

@swift-ci Please smoke test

preset=asan
@swift-ci Please test with preset macOS platform

@swift-ci Please smoke test Windows

@swift-ci Please smoke test Windows


User interface to switch to/from geographic coordinates

In order to work correctly with single precision, I added simple file readers that automatically shift towards the origin. The exact interface of these methods should be discussed. At the same time,  a user interface to undo this transformation could look like. IMO, the Epoch object should be responsible for such access both for single points and the entire point cloud.

With the decision go back to double precision, this is obsolete.


Framework to test load, performance and design of Azure Synapse Analytics (DWH)

Hi,
I have build a framework around Azure Synapse Analytics (DWH) so that organization can get insight (like load, performance, design) proactively. The idea is to get optimum DWH design and not to get any surprises in production. Here is the link https://github.com/rawatsudhir1/AzureSynapseDWH . Can we get this link mentioned in this page?

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

ID: 0c0278ab-46f2-4b79-1f34-7ff150a7d5ef
Version Independent ID: 744751b0-1d7a-cb59-556b-a49bf881458a
Content: Analyze your workload - Azure Synapse Analytics
Content Source: articles/synapse-analytics/sql-data-warehouse/analyze-your-workload.md
Service: synapse-analytics
Sub-service: ****
GitHub Login: @ronortloff
Microsoft Alias: rortloff

@rawatsudhir1  Thanks for the feedback! Your feedback  has been shared with the content owner for further review.

Hello, we have a tech community that would be better suited for sharing this.  https://techcommunity.microsoft.com/t5/azure-synapse-analytics/bg-p/AzureSynapseAnalyticsBlog.

#please-close

Thanks @ronortloff


Poetry Seed File

Creating all the needed poetry config in the main branch for the new poetry-related feature - this config won't be used until the pyproject.toml is set to use the poetry backend

Excellent! I was going to do this myself :)

@acaloiaro Glad you're excited about this. I have a bunch of functionality from a personal cookie-cutter template that I'm bringing over including Poetry and Auto Version Incrementing.
One question, what do you think of pinning on pandas~=1.3? Any concerns? IMO pretty much any version of Pandas will do (I install camply with pipx anyways) but 1.3 is what keeps poetry's dependency resolver from going crazy


Missing Documentation: Script for updating a resource on plan or limit change and Script for regular update of resource and its accounting

For custom scripts the following scripts are missing documentation:

Script for updating a resource on plan or limit change (how does it work? Python Example? Bash Example?)
Script for regular update of resource and its accounting (how does it work? Python Example? Bash Example?)

Any chance you could take a look at this one :)
Would help me a bunch

Yes, it is scheduled in a dev sprint on me, will try to do it before next week or first thing next week.

Amazing thanks :)

Updated documentation: https://docs.waldur.com/admin-guide/providers/custom-scripts/#regular-updates-script


Update Readme file

Hey Im interested

Another person already got into this, but go ahead :) . Then I'll see what to do. You can go ahead, and edit the readme then submit a PR

Hey do assign the pr to this and close this thankyou

Completed by https://github.com/imkrishnasarathi/PleasantWeb/pull/7


Web Component: Expressive Modal Prod QA testing

User Story

As a [user role below]:
developer using the ibm.com Library Masthead web component

I need to:
have a version of the pattern or component that has been tested for accessibility compliance as well as on multiple browsers and platforms

so that I can:
be confident that my ibm.com web site users will have a good experience

Additional information

Browser Stack link
Browser Standard
Browser versions to be tested:  Tier 1 browsers will be tested with defects created as Sev 1 or Sev 2.  Tier 2 browser defects will be created as Sev 3 defects.
Platforms to be tested, by priority:  1)  Desktop  2)  Mobile  3)  Tablet
Mobile & Tablet iOS versions: 13.1 and 13.3
Mobile & Tablet Android versions: 9.0 Pie and 8.1 Oreo
Browsers to be tested:  Desktop: Chrome, Firefox, Safari, Edge, Mobile: Chrome, Safari, Samsung Internet, UC Browser, Tablet: Safari, Chrome, Android
Accessibility Checklist
Creating a QA bug
See the Epic for the Overview and scope statement
Dev issue (#2988)
Web components canary URL

Acceptance criteria

[ ] Accessibility testing is complete.  Pattern is compliant.
[ ] All browser versions are tested
[ ] All operating systems are tested
[ ] All devices are tested
[ ] Defects are recorded and retested when fixed

@Praveen-sr @chetankan Development is finished.  You can begin the testing using the Web components canary URL included in the Additional Information section of this issue.

7/9/2020:  Prod QA testing started.  Findings presented in QA meeting.

@RobertaJHahn : Functional testing is done, Accessibility is going on.

All testing is finished.  Bugs reported and reviewed in QA meeting.


[.NET Migration Guide Revamp] [Phase 1] Move page 'Use the Windows Compatibility Pack'

For details on revamp see: https://github.com/dotnet/docs/issues/23561
New TOC: https://github.com/dotnet/docs/issues/23215

[x] Use the Windows Compatibility Pack (MOVE) Move this page and its content to the new TOC location...

name: Migration guide
items:

name: Overview
href: ../core/porting/index.md
name: General Information
items:
name: Pre-Migration
items:

name: Analyze & Asses the portability of your project
items:

name: Dependency on Windows APIs
href: ../core/porting/windows-compat-pack.md

Completed with #24630


Replace jQuery dependency with vanilla JS solution for getScript

Hello. I am in a process of updating an Ember app and removing jQuery, and fb.ui() in your service caused an error. Since you only rely on jQuery for getScript(), I've forked and replaced it with plain JS solution. Maybe you'll want to include this in your project.

We really need this as well to be able to drop jQuery!


Page blocking

Describe the bug:
As shown, tapping the icon in the bottom left corner of the node view will cause the page to be obscured
Steps to reproduce:
1.
2.
3.
Attu version: 2.1.0
Attu version: 2.1.0

fixed in the latest version.


fn with_lock<F, U> where  F: FnMut

Current definition is
	pub fn with_lock<F, U>(&self, function: F) -> U
	where
		F: FnOnce(&mut T) -> U,

EDIT:
FnOnce will not permit Closures/Lambdas with captured mutable variables/state. Declaring 'function' as FnOnce, captured variables will be "consumed" by the invokation. The 'function" will not be able to share state between invocations., for example counting the number of calls.
The following test is failing, as the function "action_and_get" does not hold the state of "count", being of type FnOnce.  Instead being 11 the final sum is 10. It seems, Rust is creating a new instance for every invocation of action_and_get, and afterwards destroying the FnOnce-Instance including the state of "count".

	#[test]
	fn test_with_lock_capture_mut() {
		let a = WithLock::<SharedData>::new(Mutex::new(SharedData { a: 2, b: 2 }));
		let mut count : i32 = 0;

		let action_and_get = move |s: &mut SharedData| {
			count += 1;
			let sum = (*s).a + (*s).b + count;
			sum
		};
		let a_lock = a.with_lock(action_and_get);
		let a_lock_2 = a.with_lock(action_and_get);

		assert_eq!(a_lock + a_lock_2, 11);
	}

Instead of FnOnce, the 'function' should be declared as FnMut, so that the function would be able to modify other mutable captured data, such as the captured "count" variable.

Allowing it to edit other mutable pieces of data could cause deadlocks. Unless there is a specific way around this, I don't think we should do this.

mem::forget(Kestrer) at discord explained to me why  the code above is working:

Today at 8:20 PM
What's happening is that the closure gets copied each time you pass it into with_lock
That's because it implements Copy
closures automatically do when applicable
You have to pass in &mut action_and_get to avoid that behaviour

AFAICS, the  API as it is now is misleading, and users might run into the same issue as I did with the captured "count"

🤔 I'm not sure how it is misleading - but I can see your point from that edge case you posted in the original description of the issue. Feel free to make a PR implementing this, I'm a tad busy for the next couple of days.
Also, this needs to ensure that no previous working code is broken. I know it shouldn't, but this shouldn't require any test changes.
BTW, how did you find out about with_lock? Just a little curious :)

I'm back to working on this project. Does this still effect you?


[Bug]: Mocking of getters/setters on automatically mocked classes does not work

Version
28.1.3
Steps to reproduce
Follow the instructions in the guide for automatic mocks and getters/setters.
https://jestjs.io/docs/es6-class-mocks#automatic-mock
Expected behavior
Expect the mock to be created without error
Actual behavior
Error "property does not exist"
Additional context
related to https://github.com/facebook/jest/issues/9675
Currently fixing this issue.  Will provide a better bug report in due course.
Environment
Ubuntu 20.04

This is still broken in<EMAIL_ADDRESS>I have defined an class with a getter objectName in a superclass.
I am mocking the subclass.
Jest navigates the object hierarchy for the mock object and tries to get the property descriptor to create the default mock entity for each property.
This last step is done in /jest-mock/build/index.js
ModuleMocker._getSlots(object) {
...
const ownNames = Object.getOwnPropertyNames(object);
...
}

This is what the debugger sees at this point (undefined), which is the same as what the executing code sees.
>object
Datasource {constructor: ƒ, load: ƒ, save: ƒ}
objectName: ƒ objectName() {\n        return this._objectName;\n    }
constructor: class MySqlDatasource
load: …
save: ƒ save(recordsToUpdate, recordsToInsert)
[[Prototype]]: Object

>Object.getOwnPropertyNames(object)
(3) ['constructor', 'load', 'save']
0: 'constructor'
1: 'load'
2: 'save'
length: 3
[[Prototype]]: Array(0)
[[Prototype]]: Object

>Object.getOwnPropertyDescriptor(object, 'objectName')
undefined

And this is what Node outputs directly for the type, rather than for the retrieved prototypes.
>Object.getOwnPropertyDescriptor(Datasource.prototype, 'objectName')
{
  get: [Function: get objectName],
  set: undefined,
  enumerable: false,
  configurable: true
}

So I flattened out the class hierarchy and now the objectName getter is in the subclass and there is no superclass.  Now the property is retrievable.
>object
{constructor: ƒ, objectName: <accessor>, load: ƒ, save: ƒ}
objectName: ƒ objectName() {\n        return this._objectName;\n    }
constructor: class MySqlDatasource
load: …
save: ƒ save(recordsToUpdate, recordsToInsert)
[[Prototype]]: Object

>Object.getOwnPropertyNames(object)
(4) ['constructor', 'objectName', 'load', 'save']

>Object.getOwnPropertyDescriptor(object, 'objectName')
{get: ƒ, set: undefined, enumerable: false, configurable: true}

I don't know enough to guess why the descriptor resolves to undefined when further up the prototype hierarchy, e.g. if Jest is obtaining type information in an unusual way, or if the V8 engine doesn't store type information properly.  I couldn't see anything other than standard Object methods for retrieving type info in the Jest code.

So there are several issues with the coding for getter methods (this will likely effect setters too).
Firstly, in /jest-mock/build/index.js the code that should add the named getter method explicitly ignores it if there is a get property defined (which there is of course).  This will not effect setter only properties, at this point anyway.
ModuleMocker._getSlots(object) {
...
         //if (propDesc !== undefined || object.__esModule) {  //Tweak
         if ((propDesc !== undefined && !propDesc.get) || object.__esModule) {
            slots.add(prop);
          }
...
}

Once the properties to mock have been retrieved they are identified and the mock implementation assigned.
Tweaking the previous code to allow the inclusion of the named getter property leads to the next problem.
The object definition is attempted to be read directly: component[slot] => undefined.
This leads to getType() returning null and the property being ignored.
function getObjectType(value) {
  return Object.prototype.toString.apply(value).slice(8, -1);
}

function getType(ref) {
  const typeName = getObjectType(ref);
...
}

ModuleMocker.getMetadata(component, _refs) {
...
  const type = getType(component);
...
  const slotMetadata = this.getMetadata(component[slot], refs);
  //if (Object.getOwnPropertyDescriptor(component, slot).get) {           //do this instead
      //const slotMetadata = this.getMetadata(Object.getOwnPropertyDescriptor(component, slot).get, refs);
...
}

If, however, the property descriptor were retrieved and it's get property tested instead then the getter would be identified correctly.
This would need to be done separately for the get and set functions.
>Object.prototype.toString.apply(Object.getOwnPropertyDescriptor(component, 'objectName').get).slice(8, -1)
'Function'

The function still needs successfully mocked so there may be other barriers I haven't reached yet.
It does not seem that the documented feature of mocking getters/setters https://jestjs.io/docs/es6-class-mocks#static-getter-and-setter-methods is implemented at all.

Made some changes but have no access to push.
Now working:

Direct mocking of instance and static getters/setters on classes and superclasses
Mocking of instance and static getters/setters on classes.

Not yet working:

Mocking of instance and static getters/setters on superclasses.

Files are:

jest/packages/jest-mock/src/index.ts
jest/packages/jest-mock/src/tests/accessor-methods.test.ts
jest/packages/jest-mock/src/tests/accessor-methods-types.ts
bug-13140.zip

Made some changes but have no access to push.

Did you try opening a Pull Request?

I have now issued a pull request for this change


correctly add custom/plugin plugins to fpath

before, custom plugins were getting the wrong fpath set

                                          _
                          /\              )\
            _           __)_)__        .'`--`'.
            )\_      .-'._'-'_.'-.    /  ^  ^  \
         .'`---`'. .'.' /o\'/o\ '.'.  \ \/\/\/ /
        /  <> <>  \ : ._:  0  :_. : \  '------'       _J_
        |    A    |:   \\/\_/\//   : |     _/)_    .'`---`'.
        \  <\_/>  / :  :\/\_/\/:  : /   .'`----`'./.'b   d  \
       _?_._`"`_.'`'-:__:__:__:__:-'   /.'<\   /> \:   0    |
    .'`---`'.``  _/(              /\   |:,___A___,|' V===V  /
   /.'a . a  \.'`---`'.        __(_(__ \' \_____/ /'._____.'
   |:  ___   /.'/\ /\  \    .-'._'-'_.'-:.______.' _?_
   \'  \_/   |:   ^    |  .'.' (o\'/o) '.'.     .'`"""`'.
    '._____.'\' 'vvv'  / / :_/_:  A  :_\_: \   /   ^.^   \
              '.__.__.' | :   \'=...='/   : |  \  `===`  /
           jgs           \ :  :'.___.':  : /    `-------`
                          '-:__:__:__:__:-'

This changes was merged with #709 -> close

whoooo

Actually pull request 709 breaks a few plugins because it only adds files to $fpath if $ZSH/plugins/$plugin/$plugin.plugin.zsh exists. Some plugins (like knife) doesn't have this file. It only has _knife completion file.
Also, if the $ZSH/plugins/$plugin/$plugin.plugin.zsh file exists it usually sets fpath itself.

Yes. This pull request better then #709.


Issue with format()

In French, hours are formatted like "8 h 40" and not "8:40". But in an arrow's format string, h display directly the hours. Is it possible to add a key like ! to force h to be displayed normally ("hh !h mm")?

:+1:

Got the same problem today, and had to to d.datetime.strftime. Which sucked cause it doesn't handle unicode properly in 2.7. BTW, why do we have different operators to format with arrow and datetime ? It should be the same. %stuff works well, and identify easily what's marker and what's not.

Same issue here - I'd like to format as "[date] at [time]", e.g. "Fri 01 May 2015 at 16:32", but the 'a' gets translated into AM/PM.

:+1: for square bracket support.

I like the bracket approach. I don't have time at the moment to make the PR for it though, does anyone else. I'd happily review and merge a PR with this.

:+1:

:+1:

I wouldn't mind throwing a \ before each escaped character, but I would love to have this feature in whatever form.

👍 this would be amazing

:+1:

👍

Time to tackle this one :+1:

Seems like #290 fixed this but I can't seem to be able to make it work.


[Feature Request] Allow querying for individual transactions

🚀 Feature Request
Currently, there's no way to query information about a particular transaction unless the tx is initiated by one of the accounts on the client (querying via sequence numbers). Query command to lookup individual transactions by the transaction id (public_key?) would be useful to integrate tools for the ecosystem unless there are plans to make a full-fledged API for the chain.

Hi @taarushv, there are a few ways to query for transactions.
To query by a specific version for a single transaction:
q txn_range 5523 1 true
Query for a transaction at a specific sequence number for any account (even if it isn't stored locally):
q ts ff403748484833b95ceb4d9ca4c7f887fa5d57a505ae844aebd825208367a00c 0 true
Get all events sents from this account:
q ev ff403748484833b95ceb4d9ca4c7f887fa5d57a505ae844aebd825208367a00c sent 0 true 10

@kphfb is there any way to retrieve info based on the transaction public key rather than account? Say for cases when you know a transaction public key but don't know the parties involved in the transaction.

Can you specify what exactly you mean by "transaction public key"?  Are you asking about the hash of the transaction?  The sender's public key?

@kphfb The hash of the transaction. For example "bc953e76f50b50969cf6676efe27aee027c4d0eaf5d3e9a2631d81bbd646a8db" this is a hash of a peer to peer transaction. The ability to lookup tx info based on this info would be useful in building a block explorer without having to store and looking up all blocks.

Ok, understood.  I'll re-open the feature request then

@davidiw fair enough, I just want to highlight that not having a method that lets you query tx data by its hash natively would be a pain point for developers who build on top of libra.
For example, if I were to build a block explorer or a dashboard for analytics/the mempool, apart from already running the libra client, I would have to iterate through all blocks mined so far and store the transactions by their hashes in a database (to query it whenever I want). This can quickly get expensive and is definitely time consuming to maintain. I hope libra offers an API service akin to Infura + web3 for these queries or building it from scratch can get prohibitive.
For reference, both bitcoin (getrawtransaction) and go-ethereum (GetRawTransactionByHash) offer an API to query transaction data by the hash.


Not found the stateless jar(2.5.2-SNAPSHOT) in maven repo.

Hi Team , I tried  to download stateless4j with maven dependency
<dependency>     <groupId>com.github.oxo42</groupId>     <artifactId>stateless4j</artifactId>     <version>2.5.2-SNAPSHOT</version>     </dependency>
but as I saw in maven repo  this version is not found . Can anyone help me to find the appropriate repo for this version.

2.5.2 was never released on the maven apparently. The maven build is going to be changed soon. So keep a look out.


make readme badges be on one line

Just a small PR to make the readme badges be on one line.
I was just sharing with a colleague and noticed the badges seem to each be on thier own line in the github readme. Thought could be an easy one for me to try see if can make a little prettier potentially as i love the project.
Can quickly see how it will look here: https://github.com/andrewm4894/pyod/blob/patch-1/README.rst
All Submissions Basics:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
[ ] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[ ] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[ ] Have you created a .py in ~/pyod/models/?
[ ] Have you created a _example.py in ~/examples/?
[ ] Have you created a test_.py in ~/pyod/test/?
[ ] Have you lint your code locally prior to submission?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 93.73%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
8954

Relevant Lines:
9553

💛  - Coveralls

Maybe coverage has gone down a little due to deleting a few lines from the readme? Would have thought not, although maybe .rst files can impact this.

oh, it is a GitHub issue. no worries. please make the PR to the development branch :)


appengine_flexible: add cloudsql_postgres sample

Similar to the MySQL sample, except with a couple SQL syntax changes and
different connection strings.

R= @piaxc , @remi, @rakyll


How do I rate my own voice using a model trained in google colab?

As the question title says, I have tested the model running on Google Colab provided, I want to ask is how can I take input as my own voice, corresponding text and output as a tuple of [ u1, u2, u3, u4, u5, p, w1, w2, w3] (probably by a piece of code that is serialized with the existing Code on Colab). If the above is possible, do I need to input the sentences spoken in the Speechocean762 dataset or can I test with anything else? I am new to Automatic Pronunciation Assessment so this question can be a bit silly.
Thanks a lot,
Bach.

Hi there,
Thanks for your interest.

I want to ask is how can I take input as my own voice, corresponding text and output as a tuple of [ u1, u2, u3, u4, u5, p, w1, w2, w3] (probably by a piece of code that is serialized with the existing Code on Colab).

Please note the Colab script is not an end-to-end model, it takes GOP features as input instead of raw voice. You need to use Kaldi to generate GOP features for your own voice. We have documented how to do that in "Step 1. Prepare the speechocean762 dataset and generate the Godness of Pronunciation (GOP) features." in the readme file. Please be aware Kaldi is a relatively complex tool.

If the above is possible, do I need to input the sentences spoken in the Speechocean762 dataset or can I test with anything else?
No, you are free to use any sentence (in English). You need to provide the GOP features and canonical transcription of your sentence to the model. Using sentences that is not in SO762 might lower the performance due to domain shift, but is always doable.

-Yuan

Thanks for your answer, it helped me a lot.
I have one more question unrelated to the title. In the paper, in the "Speechocean762 Dataset" section, you wrote "We re-scale utterance and word-level scores to 0-2, making them on the same scale as the phoneme scores.". Can you tell me specifically about your re-scale?
I've searched the pre-processing files at https://github.com/YuanGongND/gopt/tree/master/src/prep_data but haven't found the answer yet.

I think we meant this: https://github.com/YuanGongND/gopt/blob/6dd1f6402b6f218eeb47d68596e1887accfc537b/src/traintest.py#L344-L348
The reason we did that might be 1) scale the MSE loss of multiple granularities so that they are better "balanced". 2) report in a similar way to previous papers (but I cannot recall how previous paper reports MSE).
-Yuan


Update json.hpp to 3.11.3

coverage: 59.9%. remained the same
when pulling a8dcf4363e02513ed4d4c194da8887bfc7dd9909 on feature/update-json-hpp
into 7c402a4ffe9bd2a82fd91a76c1b21a16f147802a on master.


GC+: readMarkedAddresses compares string with bool

comparing string with bool in line 228:
if (markedRunSummary.select("success").first() == false) {

@eden-ohana Where was this fixed?

Resolved by #4790


fix(ci): use actions/upload-artifact@v4 to be compatible with slsa provenance action

The<EMAIL_ADDRESS>GitHub Action requires actions/upload-artifact@v4 Action. See the CHANGELOG for more information.

Dankeschön!


Forbidden: Sorry, you are not allowed to access this service.

i get this error when i try to run BingAIClient
file:///C:/Users/Drinkly/Desktop/ChatGPT_npm/src/BingAIClient.js:176
const e = new Error(createNewConversationResponse.result.message); // default e.name is 'Error'
^
Forbidden: Sorry, you are not allowed to access this service.
at BingAIClient.sendMessage (src/BingAIClient.js:176:31)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at demos/use-bing-client.js:20:16
bing ai works fine in browser

i somehow reloginned into another account which doesn't have access to the bing ai so i was getting the wrong _U cookie 😨

I just came across this error. I was writing a side hustle/personal project that uses Bing (specifically Sydney) to chat with users on WhatsApp. I set it up to run in a group of friends, and we used it a lot in 2 days (maybe even too much). I started getting this error and thought it might be the cookie, but I cleared the cookies, generated a new one, and the error persists. I checked the Bing app on my phone and I can't use the chat. It tells me that I no longer have access to this service and asks me to check again in a few days. Could I have been temporarily/indefinitely banned for overuse?
I'll try with another account and come back here if I succeed.

@veigamann Yes, I've had reports of that happening to others before. It's not specific to this package as some used the Python version, etc., probably due to overuse or problematic content.
From what I know, you'll get access back eventually.


Documents Tenant Types and Account Management

Description
Documents Tenant Types and Account Management

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.149.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Tests 3

Next batch of tests and some cleanup

I'm still working on merging / copying these changes over. The testing paradigm is a bit different with the updated qutheory/console repository.

Great, thanks! I haven't had a chance to take a look at all your changes in detail (just that there were many), please let me know if you have any questions.

@tannernelson what does it take to get these integrated?

These were integrated through separate PRs over time, I think we can safely close this for now. Thanks for the great stuff as always!!


Typo "Jupyter notebook"→"Jupyter Notebook"

https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/reference-ubuntu-vm

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @hyoshioka0128  can you share the rationale for this change? Is there some industry standard suggesting that "Notebook" needs to be capitalized?

Closing per email.


shotgun no damage RIOOOOOOOOOOOOOOOOOOOT

Describe the bug
RIOTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT pls fix
To Reproduce
Steps to reproduce the behavior:

Checkout to branch-name
Specify steps needed

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots (or videos) to help explain your problem.
Additional context
Add any other context about the problem here.

balancing team not doing their work aintnoway

@GoodyCarlo It is important to us that the proper sources are credited, and we will be working diligently with the team to address all areas of concern.
Thank you for your patience and understanding.
🔥 🔥 🔥 ♿

It seems like you're asking for sources related to shotgun damage, possibly in the context of firearms or video games. However, without more specific information, I'll provide a mix of potential sources that could cover various aspects of shotgun damage. Please note that the availability of sources may depend on your access to academic databases, libraries, or online resources.
Firearms Manuals and Guides
Ballistics Research Journals
National Institute of Justice (NIJ) Publications
FBI Ballistic Research Facility Reports
Journal of Forensic Sciences
International Journal of Impact Engineering
The American Journal of Surgery
The Journal of Trauma and Acute Care Surgery
Gun Digest
National Shooting Sports Foundation (NSSF) Reports
American Rifleman Magazine
The Box O' Truth (boxotruth.com) - Practical firearm testing
Gun Tests Magazine
Shooting Illustrated Magazine
National Firearms Act Trade & Collectors Association
The Truth About Guns (thetruthaboutguns.com)
Small Arms Survey Reports
American Academy of Forensic Sciences (AAFS) Journals
Journal of Applied Mechanics
Journal of Experimental Ballistics
Remember to check the credibility of the sources and their relevance to your specific needs. Additionally, if you have access to academic databases like PubMed, IEEE Xplore, or JSTOR, you may find more in-depth research articles on the subject.

Well, that's quite the comprehensive list! Your beta tester seems to have shotgunned you with potential sources (pun intended). It looks like they've covered a wide range of possibilities, from firearm manuals to academic journals. If you're up for it, you could let them know that you appreciate the thoroughness of their suggestions and that you'll definitely be diving into those resources. Maybe throw in a cheeky "locked and loaded with research material now!" for good measure. What do you think?
🏠 🏃

Dear [Recipient],
What's this, a barrage of sources? Seriously? Do you think I've got all the time in the world to wade through this mess? It's like you're trying to drown me in information. Thanks a lot for the overwhelming list. I'll get to it when I can, I guess.
Not exactly thrilled,
[Your Name]

Absolutely, we've got our sleeves rolled up and are diving headfirst into the intricacies of the issue. Your reassurance means a lot, and rest assured that we're putting in the hours to get things shipshape. Thanks for your patience and understanding as we work diligently on the fix. We're on it like game developers on the eve of launch day!
🏃 ☁ ☁ ☁

@GoodyCarlo We're thrilled to inform you that the pesky issue has met its match in our latest release. Check out the shiny new release notes, where you'll find the tale of how we triumphed over the glitch. Your seamless experience is our top priority, and we're excited for you to explore the fix in action. Happy gaming!
👌 👈


Add "Check if given version is pre-release" example

Use asserts to show that out of two given version strings one is pre-release and second is not.
Use the semver crate
cc https://github.com/rust-lang-nursery/rust-cookbook/issues/276

I'll give this one a go.


Ordering fix (#19220)

Fixes #19220.

Looks like the checks are lost now. Will reopen new PR.

Didn't help at all. Can somebody re-trigger this or maybe #19225...
@roji, @ajcvickers

The PR is in draft mode so checks won't run. Once you hit ready for review and make it normal PR it will trigger automatically.

Not really. It already did run here (and here), but the Azure DevOps somewhat failed and now GitHub is confused.
But I marked it as ready for review anyway.

Voila. :shipit:

Thanks!
(Note: ran Cosmos tests locally before merging.)


Kernel and data transfer events not recorded

I was using the earlier version of RCP that is shipped with ROCM 1.6.Back to that time, the profiling result contains the kernel launching information. If I import the atp file into CodeXL, the timeline looks like this.

Recently, when I try the same commands again, I can only get a timeline like this.

The kernel launching information are not recorded anymore. Am I making some mistakes when I run the profiler? The command that I used is
rocm-profiler -w . -A --hsaaqlpackettrace [my_application and its arguments]

I think I made a mistake in the earlier post. If I profile an HC++ or HIP program, I can still get the kernel information. However, if I profile an OpenCL benchmark, I will not get the kernel information. It seems the main reason is that the API trace terminates early and there is some other information missing from the trace. Maybe it is because hsa_shutdown is not called? I wonder if there is a way to properly record the whole trace in an OpenCL benchmark?

OK, I solve the problem partially by myself. I added a hsa_shutdown call at the end of the program. However, I do not think this is the legitimate solution, as the whole program is purely an OpenCL program.It there a way to avoid that?

In current RCP builds, we don't have a relaible workaround for applications that don't call hsa_shut_down (like all OpenCL applications).
For trace profiling of an OpenCL application, you may be able to get better results if you try the lastest release of RCP (the 5.3 release from here https://github.com/GPUOpen-Tools/RCP/releases)
With this release, you can try using OpenCL tracing as opposed to HSA tracing. Simply replace the "-A --hsaaqlpackettrace" with "--apitrace".
We are planning on officially supported OpenCL-on-ROCm profiling in a future RCP release, but for now, you can try the above to see if it gives better results for an OpenCL application that doesn't explicitly call hsa_shut_down.
Collecting perf counters using the OpenCL proflier (i.e. using --perfcounter) still won't work for OCL-on-ROCm applications, but this something that should work better in future releases.


Recursive EntityContainerListeners

It may be useful to create an EntityContainerListener that whenever an Entity is created it adds itself to it. This listener would also add the desired listener to that Entity.
e.g.
EntityContainerListener recursive = Entities.newRecursiveAttributeListener("scared", BOOLEAN_TYPE, Yell::new);

This would be for EntityContainerListener, EntityListener and AttributeContainerListener.

@DTing :+1:


Custom API URL's aren't stored nor working

I'm trying to configure custom API's, but they are not working and when I quit the application and restart it, the Custom API settings are gone. The Save button on the custom api tab doesn't seem to respond, e.g. on the 'settings' tab when I click save it gives a green message 'settings saved'.
I have a Shelly Color Duo which I like to use. I can change colors by using a get request like:
http://x.y.z.a/light/0?turn=on&red=0&blue=0&green=100&gain=100&effect=0

PresenceLight App: Desktop
PresenceLight Build: Store
PresenceLight Version: <IP_ADDRESS>
Did you clear settings.json? yes
ASP.NET Core version; runtime version: 5.0.4

nvm; it somehow suddenly started to work out of the blue..


Packaging: Windows and MacOS

Entangled should work fine on Windows and MacOS, but I have no access to Windows or Mac systems. Information on packaging for those platforms should be included in the packaging directory. Possibly this can be automated with a Github Action.

Here's a nix expression that works on macOS with nixpkgs 21.05
nixpkgs/entangled/default.nix
{ fetchgit-json, haskellPackages, lib }:

let
  src = fetchgit-json { pname = "entangled"; };
  env = haskellPackages.override {
    overrides = self: super: {
      # megaparsec >=7.0 && <8
      megaparsec = self.callPackage
        ({ mkDerivation, base, bytestring, case-insensitive, containers
        , criterion, deepseq, mtl, parser-combinators, scientific, text
        , transformers, weigh
        }:
        mkDerivation {
          pname = "megaparsec";
          version = "7.0.5";
          sha256 = "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j";
          libraryHaskellDepends = [
            base bytestring case-insensitive containers deepseq mtl
            parser-combinators scientific text transformers
          ];
          benchmarkHaskellDepends = [
            base containers criterion deepseq text weigh
          ];
          description = "Monadic parser combinators";
          license = lib.licenses.bsd2;
          hydraPlatforms = lib.platforms.none;
        }) {};
      # optparse-applicative ==0.15.*
      optparse-applicative = self.optparse-applicative_0_15_1_0;
    };
  };
in

env.callCabal2nixWithOptions "entangled" src "--no-check" {}

If you can update megaparsec this will be much smaller.

Recent master:
nixpkgs/entangled/entangled.json
{
  "url": "https://github.com/entangled/entangled.git",
  "rev": "7b630708d6d41f398cf5e2f6a0fd645ad60d242b",
  "date": "2021-07-17T18:58:39+02:00",
  "sha256": "1gf8ixmxim3md5m7vky7n4hivjgz6js9brd4bhmpdxqqnyny9pff",
  "fetchSubmodules": false, "leaveDotGit": false
}

fetchgit-json helper function:
nixpkgs/lib/default.nix
{ nixpkgs }:

with builtins;
with nixpkgs;
{
  fetchgit-json = { pname, version ? "", options? {} }:
  let
    name = "${pname}${if version != "" then "-" else ""}${version}";
    path = ../. + "/${pname}/${name}.json";
    json = readFile path;
    attrs = fromJSON json;
  in
  fetchgit (removeAttrs (attrs) ["date"] // { inherit name; } // options)
  // {
    inherit (attrs) date;
  };
}

nixpkgs/overlay/default.nix
self: super: with self; (import ../lib {nixpkgs = self;}) //

{
  # Entangled - https://entangled.github.io - literate programming for the new millennium:
  enTangleD = callPackage ../entangled {};
}

shell.nix
let
  pkgsPath = builtins.fetchTarball ({
    # 2021-07-20: nixpkgs-21.05-darwin/nixos-21.05-small version
    # as was listed on https://status.nixos.org/
    url = "https://github.com/nixos/nixpkgs/archive/4181644d09b96af0f92c2f025d3463f9d19c7790.tar.gz";
    sha256 = "0qsyh7mll2i8qsm4lsi13mq84vnac6grf5rzpn26la02x4hf477q";
  });
in
with import pkgsPath { overlays = [ (import ./nixpkgs/overlay) ]; };

let
  packages = [
    enTangleD
  ];

  symlinks = buildEnv {
    name = "tools-bin";
    paths = packages;
    pathsToLink = ["/bin"];
  };

in mkShell {
  buildInputs = packages;
  inherit symlinks;
}

If you can update megaparsec this will be much smaller.

That should be managable

I have no experience whatsoever with Nix packaging. Could you please create a PR, include the relevant files in /packaging/macos/, together with a README on how to produce a file that most Mac users would recognize as a package? :pray: :bow:

One more remark. I know I started the weird capitalization of enTangleD myself, but I decided some time ago against it. Writing normal title case (Entangled) for the noun and all lower case for the command-line tool (entangled).

Have you thought about building a conda-forge feedstock? That should take care of packaging on all platforms in one go. I may try it out myself, actually, if you're not already working on it :)


GEOMESA-1351 Accumulo Config is un-used

Deleted geomesa.accumulo.config as it is unused.
A copy of the deleted files have been preserved in ccri/accumulo_config_save.
Signed-off-by: Austin Heyne<EMAIL_ADDRESS>

+1

yup

in the words of @elahrvivaz :shipit:


Boiler Cloud blocks Queen Scream

Title

This is intended from 13 which surprised me too
2025 the year of Queen being able to banish Boilers that block her screeches


0.10.x to 0.11.x migration release

This update to the 0.10.x branch needs to be run in order to allow an in place uograde from kube-aws 0.10.x to the new 0.11.x release with separate 'network' and 'etcd' stacks.
The following changes have been made:

When Kubernetes.Networking.SelfHosting is enabled the references to outputs from the control plane stack for etcd are removed.
A Warning is printed when you perform an upgrade without SelfHosting enabled that you won't be able to update to future releases.
I lookup the CIDRs for the subnets containing the etcd servers and relax the incoming rule to allow connections to the etcds on port 2379 from any servers in the same subnets.  This is needed because the etcds in the new stack need to be able to connect across to the existing etcds.  Once migrated, the etcd have very tight rules as before.
I allow etcds to listen on all of their interfaces - which is needed so I can find them and connect to them without faffing around trying to work out if they have an attached ENI or not.  Again, this behavior is only adopted for the migration and new migrated etcds will have more restrictive networking.

These changes combined break the cloudformation dependencies that prevent migration with the 0.11.x release.  A PR for the 11.x base will add the features it requires to manage the upgrade.

Codecov Report

Merging #1379 into v0.10.x will increase coverage by 0.02%.
The diff coverage is 40.9%.

@@             Coverage Diff             @@
##           v0.10.x    #1379      +/-   ##
===========================================
+ Coverage    36.63%   36.65%   +0.02%
===========================================
  Files           63       63
  Lines         3882     3904      +22
===========================================
+ Hits          1422     1431       +9
- Misses        2242     2254      +12
- Partials       218      219       +1

Impacted Files
Coverage Δ

model/derived/etcd_node.go
0% <ø> (ø)
:arrow_up:

core/controlplane/config/config.go
62.81% <ø> (ø)
:arrow_up:

core/controlplane/cluster/cluster.go
52.51% <40.9%> (-1.3%)
:arrow_down:

Continue to review full report at Codecov.

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

Fix for issue https://github.com/kubernetes-incubator/kube-aws/issues/1112


Refactor theme naming to match "official" color names

https://github.com/semanux/style/blob/4d0aead76dff330738bbd5958c87c141c55eac54/themes/base.css#L2-L3

[ ] Should be renamed to --theme-regular-fg/bg

https://github.com/semanux/style/blob/4d0aead76dff330738bbd5958c87c141c55eac54/themes/base.css#L8-L10

[ ] Should be renamed to include -grad and the names should follow the same structure as the lm/dm names.

While on this:

[ ] Status colors should be added to themes.

Status colors should be added to themes.

Status colors are in the theme but the keyword status is left out.


Login reminder in anonymous license

We allowed anonymous license signing, but I feel the user should be reminded to login, if possible.

I don't get it. We certainly don't allow anonymous license signing, unless we have a bug.
For data with open licenses, on the other hand, we of course don't require signing the license. And that is also correct procedure, I think. Requiring people to have accounts and to sign in for data that allows redistribution will only end up one way: one person does it, puts the data on their own web and tells other people not to bother with us and download it from him with no fuss.
What we could do perhaps, is to display the license and "Agree and Download" button will start the download. But I still prefer the current way, the licenses are long and nobody will read them anyway.

see #342 (and an email I've sent)


static linking

in order to make statically linked executable, add:
option(STATIC "static linked binary" OFF)
if (STATIC)
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
SET(BUILD_SHARED_LIBRARIES OFF)
SET(CMAKE_EXE_LINKER_FLAGS "-static")
endif (STATIC)
in CMakeLists.txt before first "find_package"

STATIC flag including in CMakeLists.txt (with a few more set to properly find the dependency librairies)

Using -DSTATIC=ON works partially. For uts-server - ok, but for civetweb it uses dynamic libs:
[ 41%] Performing configure step for 'civetweb'
...
-- Found LibRt: /usr/lib64/librt.so
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.1e")

I've done some modifications:

forwarding the OPENSSL_USE_STATIC_LIBS flag in civetweb external project.
adding a CIVETWEB_CUST_ARGS to pass any additional options/args to the civetweb build.

For example, to solve the dynamic librt.o:
cmake . -DBUNDLE_CIVETWEB=ON -DSTATIC=ON -DLINK_GCC_S=ON -DCIVETWEB_CUST_ARGS="-DLIBRT_LIBRARIES=/usr/lib/librt.a"

Using your example:
cmake . -DBUNDLE_CIVETWEB=ON -DSTATIC=ON -DCIVETWEB_CUST_ARGS="-DLIBRT_LIBRARIES=/usr/lib64/librt.a":
[ 41%] Performing configure step for 'civetweb'
...
-- Found LibRt: /usr/lib64/librt.a
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.1e")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
OPENSSL_USE_STATIC_LIBS
and it use shared libs.
If I use -DCIVETWEB_CUST_ARGS="-DLIBRT_LIBRARIES=/usr/lib64/librt.a -DOPENSSL_LIBRARIES=/usr/lib64/libssl.a;/usr/lib64/libcrypto.a", another error was:
[ 16%] Performing configure step for 'civetweb'
...
-- Found LibRt: /usr/lib64/librt.a -DOPENSSL_LIBRARIES=/usr/lib64/libssl.a
May be it's better to mandatory use the same ${OPENSSL_INCLUDE_DIR}, ${OPENSSL_LIBRARIES}, discovered by find_package, during civetweb makefile creation? There is no sense to build civetweb with one version of openssl and uts-server with another.

Alternatively, you can build the civetweb project separately. That way you will have complete access to the compilation options specific to your use case.
I've added the BUNDLE_CIVETWEB option mostly for easily trying out uts-server. I would not consider it as a proper way to build a production ready binary. Having an external download in a build sequence is not the best idea ever, recovering the master branch is even worst.
I should have added a warning in the documentation...

Yes, may be it'll be better. At first glance, it seems that the -DBUNDLE_CIVETWEB=ON is "officially recommended" way.  I already was going to ask you how to build this zoo separately ))

And BTW, what branch to use - civetweb/civetweb, or kakwa/civetweb?

I will put more clear notifications on the recommended way to install uts-server.
For the civetweb/civetweb kakwa/civetweb branch:

If you are using OpenSSL < 1.1.0 use lastest tag of civetweb/civetweb
If you are using OpenSSL >= 1.1.0 use the master branch of civetweb/civetweb at least for now, the current release (1.9.1) doesn't include the OpenSSL 1.1.0 API support.

Hopefully, there will be a new release of civetweb soon, but it's entirely up to the civetweb maintainer, not me ^^.
The story behind it is that the OpenSSL 1.1.0 API support was added by a PR I submitted to civetweb/civetweb. But  while the PR wasn't merged, I change the civetweb url to my fork in order to support OpenSSL >= 1.1.0 and it kind of stay that way even if the PR was merged a while ago.
For reference, the PR: https://github.com/civetweb/civetweb/pull/384

Commit https://github.com/kakwa/uts-server/commit/55dea707b9d7bb0207d884a9a4f7c91c5b0ba5f8 modify the doc to explicitly state BUNDLE_CIVETWEB=ON as developpment/testing only, and not recommended for production


Question: how to enter the date using the keyboard in KeyboardDateTimePicker

Hello. Just for the question, the documentation did not find the answer to my question.
The situation is such that when I enter only the date (without time) in KeyboardDateTimePicker, I will be shown that the date is not valid, although the date is valid, I just did not enter the time, because it is not always required. How can this situation be defeated? If you select only the dates in the modal - everything is ok and time is automatically set.
Example: https://codesandbox.io/s/hidden-waterfall-lrnm7

There is no way. Use DatePicker and TimePicker separately


Error loading a TensorRT optimised graph

I was able to convert a frozen model using the tensorRT API on a Nvidia Tesla P100 on Debian 9 using the command
trt_graph = trt.create_inference_graph(
    input_graph_def=saved_graph,
    outputs=output_names[0:1],
    max_batch_size=1,
    max_workspace_size_bytes=5000000000,
    precision_mode='FP16',
    is_dynamic_op=True
)

I am able to load the graph on the same system. However, when I try to load the graph on my local system which has an Nvidia GeForce GTX 1050M I get the following error.
  File "/home/fuzzybatman/.local/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/home/fuzzybatman/.local/lib/python3.7/site-packages/tensorflow/python/framework/importer.py", line 426, in import_graph_def
    graph._c_graph, serialized, options)  # pylint: disable=protected-access

tensorflow.python.framework.errors_impl.NotFoundError: Op type not registered 'TRTEngineOp' in binary running on ceph. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.

Is it because my GPU lacks support for TensorRT?

Just to verify did you get chance to have a look on #22360. Which TensorFlow version you are using?

Thank you for the response. I am using TF r.1.13
I am loading it in python and I did try adding import tensorflow.contrib.tensorrt
On a side note, I posted this question on nvidia devtalk and they answered
A generated TensorRT PLAN is valid for a specific GPU — more precisely, a specific CUDA Compute Capability. For example, if you generate a PLAN for an NVIDIA P4 (compute capability 6.1) you can’t use that PLAN on an NVIDIA Tesla V100 (compute capability 7.0).
This is quite confusing because there are articles online on optimising on one GPU and running on another.

Just noticed that there is a TF version mismatch between the one on my system (1.13) and the one on the GCP VM (1.12). Does this affect the result?

Tried again with a new model. Same error.

Tried again with a new model. Same error.

Which CUDA version you are using ?

On my local system it is CUDA 10.1 and cuDNN 7.4.2
On the VM it is CUDA 10.0 and cuDNN 7.4.1

Please help us with some more info as in whether you are getting this error on TensorFlow installed on your GCP VM or on local system. Which operating system you are using and whether you have installed TensorFlow from source or binary. If you are unclear about the template, you can refer this link. Also kindly verify whether you have followed the instruction from TensorFlow website based on information provided in the template. Thanks!

Hi. I run the create_inference_graph method on the VM

Debian 9
CUDA 10.0
cuDNN 7.4.1
TF 1.13
Nvidia GeForce GTX1050M [4GB] (compute capability 6.1)

I try loading the graph for inference on the VM and it works fine.
I try loading the graph on my local system

Fedora 30
CUDA 10.1
cuDNN 7.4.2
TF 1.13
Nvidia Tesla P100 [16GB] (compute capability 6.0)

and get the error
tensorflow.python.framework.errors_impl.NotFoundError: Op type not registered 'TRTEngineOp' in binary running on ceph. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.

I did not build TF from source. I installed it using pip3 in the terminal.
pip3 install tensorflow-gpu --user
According to a moderator on the nvidia devtalk forum
A generated TensorRT PLAN is valid for a specific GPU — more precisely, a specific CUDA Compute Capability. For example, if you generate a PLAN for an NVIDIA P4 (compute capability 6.1) you can’t use that PLAN on an NVIDIA Tesla V100 (compute capability 7.0).

Hi @fuzzyBatman could you try adding:
from tensorflow.contrib.tensorrt.python.ops import trt_engine_op

to your loading script to see if it works?
Thanks.

@aaroey Same error.
Does the GPU choice not affect this?

@fuzzyBatman could you share your full script, I'll try and let you know.

I have a TF frozen graph (.pb extension). I load it and run the create_inference_graph method on the GCP VM which has an Nvidia Tesla P100 (16 GB) GPU.
import tensorflow as tf
from tensorflow.python.framework import graph_io
from tensorflow.contrib import tensorrt as trt

def get_frozen_graph(graph_file):
    """Read Frozen Graph file from disk."""

    with tf.gfile.GFile(graph_file, "rb") as f:
        graph_def = tf.GraphDef()
        graph_def.ParseFromString(f.read())

    tf.import_graph_def(graph_def, name='')
    return graph_def

sess = tf.Session(config=tf.ConfigProto(gpu_options=tf.GPUOptions(per_process_gpu_memory_fraction=0.6)))
sess.run(tf.global_variables_initializer())

saved_graph = get_frozen_graph(pbfile)

# Comment the following when loading the TensorRT graph.
print('Creating trt inference graph')

trt_graph = trt.create_inference_graph(
    input_graph_def=saved_graph,
    outputs=output_names[0:1],
    max_batch_size=1,
    max_workspace_size_bytes=4000000000,
    precision_mode='FP16',
    minimum_segment_size=2
)

graph_io.write_graph(trt_graph, "./train_log/faster_rcnn_fpn/", "frcnn_trt.pb", as_text=False)

The above script provides the file frcnn_trt.pb. Now I use the same get_frozen_graph procedure as above, using frcnn_trt.pb, with rest of the code commented out. This works on the same VM but fails on my local system that has an Nvidia GeForce GTX1050M (4 GB) GPU.

@fuzzyBatman sorry I was not able to get to this. Thanks for the scripts, it looks legit to me. By This works on the same VM did you mean that in your VM you can run the TRT converted graph frcnn_trt.pb? By but fails on my local system did you mean it failed with TRTEngineOp not found error? I can imagine it'll fail with some error because TRT engines are not portable, meaning you'd better run the converted graph on a machine that has the same type of GPU as the one on which you  ran the conversion.
Also, 1.15.0rc1 is out and 1.15.0 will be out soon, you may want to try with that. Also feel free to provide the pbfile and I'll try your script with that. Thanks.

Hi! I stopped working on that project a year ago


Use the IPA to make the pronunciation guide precise and unambiguous

Trying to explain pronunciation by comparing to that of other words only works well when everyone speaks the same dialect. Even two people who are both educated native speakers of the same language may disagree on the interpretation of such informal pronunciation guides, if they are from different cities or cultural groups.
The International Phonetic Alphabet (IPA) was developed by linguists to solve this problem. I suggest adding an additional column to the pronunciation guide with the IPA symbols and links to audio samples.

I think it is a good idea to add IPA to the pronounce table and keep the English pronunciation as examples. Won't do since I'm busy with other things, but a PR is appreciated.


Create Applications & automatic Subscriptions in WSO2

Currently Applications & automatic subscriptions of APIs deployed in WSO2 is left as a 'manual task', given it is usually one-time activity to subscribe to deployed APIs. However, if you feel there is a value in automating this - voice your opinions here.

This feature would really help us automate the entire process. We need to deploy multiple api's and subscribe them all to one already deployed API. Automating this process would relief us of some time consuming work.

I like the idea of exposing the keys as CloudFormation Exports with an option to output to the console, so it would be accessible remotely by who has access to the stack on AWS account. This way we could even use AWS permissions in order to control the access to those variables/keys by custom API clients.
I guess the applications that will use this "automatic" key generation aren't meant for production, because the keys will be exposed, but for dev/test pipelines this feature is a great one! We already use WSO2 serverless plugin and do need this right now for our feature branch deployments :)

Valid points, @flaviostutz. I'm gravitated towards spitting it out as a console output to start with.
Instead of re-inventing, do you know any modules which can help to beautifully spit-out terminal output (and also provide handlers to parse it when Devs need it to consume down)?

Valid points, @flaviostutz. I'm gravitated towards spitting it out as a console output to start with.
Instead of re-inventing, do you know any modules which can help to beautifully spit-out terminal output (and also provide handlers to parse it when Devs need it to consume down)?

An ideia is to simply output the key with a simple pattern for later parsing if needed, something like
"app_key=AJAHDHHDHDJDJDJD".
For later outputting the api key/secrets as CF variables, you could create a Custom resource in CF template so that it could later be used as a regular variable, being able to be exported, used by another resource and making this resource (that could be the actual representation of the API in WSO2) part of the CF dependency graph... in this way if you delete the stack in AWS panel the API could even be deleted without serverless runtime... are we able to change the generated CF template with serverless plugins?


fix(demoing-storybook): serve sourcemap

Serve storybook manager sourcemap, the preview sourcemap is fixed in the storybook prebuilt

can you fix the conflict? 🙏  🤗


Rationals should be represented as in SMPTE ST 2065-4

Rationals should be represented with an integer numerator and an unsigned integer denominator

Duplicate of #69


Proposal: only permit unsafe conversions to/from unsafe.Pointer

Currently, implementations permit conversions to/from unsafe.Pointer and to/from types with underlying type unsafe.Pointer.
Consequently, unsafe conversions can be hidden because package unsafe doesn't even have to be imported.
This was arguably an "implementation mistake" which we should fix. See also #19306.

Per https://github.com/golang/go/issues/18130#issuecomment-282532750, I believe that it would be difficult to eliminate the possibility that packages that do not explicitly import unsafe can obtain an unsafe.Pointer via some combination of interface{}, type-assertion, and/or reflection.  At the very least, I think you'd need to ensure that no exported function can return an unsafe.Pointer, which is a pretty invasive change.
It may be more viable to disallow all conversions from unsafe.Pointer and instead make it assignable from any pointer type:
package unsafe

type Pointer

func Convert(Pointer) *T

Then unsafe becomes a sort of black-hole: the caller can obtain as many values of unsafe.Pointer as they want, but they only way to dereference one is by first importing unsafe in order to Convert it.

@bcmills I don't think we make this bullet-proof - but at least I want it to be water-proof.
But I agree that if we reconsider the unsafe package interface entirely, we may find better solutions. Even with your suggestion, it's possible to encapsulate the desired conversions in functions exported by a package that's not the unsafe package. A client would only need to import that package.

Note that now that we have type aliases, we'd also have to disallow conversions involving T where
type T = unsafe.Pointer

as well. And that's a bit harder to defend.

@rsc An alternative (for Go 2) is to rethink how unsafe operations work. For instance, we could remove the Pointer type altogether and make all unsafe operations function-based.

Indeed. That would fit with #19367.


masonry example: Fix reference to on_status_changed

This is now just update.

There are other eferences to on_status_changed, but someone else can resolve them when fixing docs and tests.


Java 8 migration. Replace custom readAllFile method with Files.readAllBytes

Motivation:
Replaced custom readAllBytes with Files.readAllBytes

@netty-bot test this please

@doom369 thanks


1.0.0 and 1.0.1 break Home Assistant update dialog

Before submitting a bug
[x] I updated to the latest version available
[x] I cleared the cache of my browser. See here
Describe the bug
Update to 1.0.0 and 1.0.1 breaks the Home Assistant update dialog.
Steps to reproduce

Update to 1.0.1 or 1.0.0
Click on any update entity under Settings
There are no buttons to skip / update

Expected behavior
Buttons to skip/update are visible.
Log, errors
When I click on update entity I get following errors in console log in browser:

Failure writing unhandled promise rejection to system log: Error: Cannot parse given Error object
    at Object.parse (error-stack-parser.js:35:23)
    at stacktrace.js:106:62
    at new Promise (<anonymous>)
    at fromError (stacktrace.js:105:20)
    at t (log-message.ts:37:31)
    at logging-mixin.ts:66:33
(anonymous) @ logging-mixin.ts:77

Uncaught (in promise) DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "mwc-linear-progress" has already been used with this registry

These errors are not present when using the old version before 1.0.0.
Screenshots
Before:

After:

Versions:

Release: 1.0.1
Browser: Chrome, Firefox
HomeAssistant version: 2024.1.1, 2024.1.2, 2024.1.3
Landroid_cloud integration N/A

I removed progress bar from card in 1.0.2.

I confirm the issue is no longer present in 1.0.2. Thank you!


Uploading a file when using auth middleware fails

Using the auth middleware while sending a mutation that includes a file fails.
It appears that the request headers property isn't defined before the Authorize header is being set in the auth middleware
Possible fix #4

Thanks a lot!
New version 1.1.3 bumped to npm.
Please test it, and let me know about results. ;)
PS. I'm not using files upload via mutations in my project. I decide to generate signed url for uploading directly to aws S3. And after uploading send just url via mutation.

@nodkz Seems to be working correctly now.


fix: task table columns nullable

What this PR does / why we need it:
fix: task table columns nullable

Does this PR need to be backport to the previous release branch?:
NONE

/cc @zexi @wanyaoqi

/lgtm


cherry-pick from v0.10: Remove 'v' from the csv version

Accroding to the community-operators CI for operatorhub.io the csv version shouldn't include 'v'.
Failing with the following error:
fatal: [localhost]: FAILED! => changed=false
msg: Operator 'metallb-operator with version 0.10.2' has different version name defined in '/tmp/community-operators-for-catalog/operators/metallb-operator/0.10.2/manifests/metallb-operator.clusterserviceversion.yaml' as 'spec.version' !!!

typo: accroding


Update to grunt-yellowlabtools

Hi.
Is it possible to get some update, instead of grunt-devperf grunt-yellowlabtools, while grunt-devperf is not maintained anymore?
Best regards.

@daniyel - this is very possible, but not in very near future, I think.


Move Wheel Buttons

Jeff's email (issue #36):
Move wheel icon buttons up under the top slider, see layout. Fix the arched type in the wheel buttons.

Fix the arched type in the wheel buttons.

The Stencil font is not cross platform, we will have to use png format instead of SVG

Move wheel icon buttons up under the top slider, see layout

Layout as in this? https://github.com/CodeForFoco/bike-coop/blob/master/assets/FCBC Website 2_links.pdf

@JordanMajd Not 100% sure what Jeff meant by "fixed arched type" but if it was font-related then we are good to go because your text-to-path suggestion worked great. If it's NOT that and they want some other fine-tuning, then we can reopen this.
If that's the case, however, they will need to provide us with the exact graphics they want rather than just one of the three like we had at the beginning. The Inkscape workflow is tedious and messy, so I'm about spent on the damn wheels! 🚳🚳🚳
Closed by PR #49

Glad the text-to-path worked out!
Looks good.


v2.4.0+ missing from registry

Versions v2.4.0 and above are not published on the terraform registry. I'm guessing this isn't expected, but I'm not sure.

Hi Daniel,
rds-aurora and rds are two different modules, and both are published on the registry:
https://registry.terraform.io/modules/terraform-aws-modules/rds/aws
https://registry.terraform.io/modules/terraform-aws-modules/rds-aurora/aws

Sigh. I thought I had double-checked that. Thank you!


Implement curve BW6-761

Here's the paper: 2020/351 - Optimized and secure pairing-friendly elliptic curves suitable for one layer proof composition
Links to reference implementations in C++ and sage within.
This issue is a place to collect notes on development.
Branches
Work has already begun on branch feature/bw6-761.  While working here, I re-designed the template generator to better facilitate new curves.  This re-design is in experimental-pairing-gen, which is branched from feature/bw6-761.  There's an active PR to merge experimental-pairing-gen back into feature/bw6-761: #5
It was decided during offline discussion that work on BW6-761 would continue on experimental-pairing-gen, and that branch will be merged into develop only once BW6-761 is complete.
Tests for the field tower, Frobenius, final exponentiation
Tests for the field tower (including Frobenius, final exponentiation) for existing curves (BLS12-377, BLS12-381, BN256) were generated using a template before gurvy was split from gnark.  That template was removed from both gnark and gurvy, but the tests generated by it are still used.
In order to get things done as quickly as possible, I dug up this template in order to generate new tests for BW6-761.

The old gnark commit with the testpoint generator: gnark@7dcd496ba42799bf1d4b695226ce6cc4c1f48792
I added some new commits to gnark with fresh code for BW6-761: gnark@f1c4c75b9e0cd3e1b48e22f3d30dfa9a3543c9b7
These commits are in an orphan branch of gnark that might be deleted in the future.  gnark@bw6-tower-tests

I used a throwaway sage script to assist in debugging the final exponentiation for BW6-761 and for comparison against the sage reference implementation cited above.  I put that script into git so that it can be found in the future and then deleted it from the repo.  It can be found here: 6c7511c3a1cbd3228bf113790795f744995e367a

Summary from https://github.com/ConsenSys/gurvy/pull/5#issuecomment-644289380 : BW6-761 now has a working pairing merged into develop.  Several optimizations remain TODO:

Fully optimized Miller loop with 127-bit loop length
Hard-code the non-residue constants.
Several clean-up tasks

Optimized Miller loop with 127-bit loop length working as of commit 5cb7d9881b3e10bc77e7a9836189e2c9d14874e4


Is it bad practice to use hammer on a global element such as body?

I was going to ask in SO but thought this might be pertinent for new users to hammer.
On this html5rocks article in section 6 - Keep Touch Handlers Contained, or They’ll Jank Your Scroll, it is recommended to use touch handlers on restricted parts of the page, for example, it says not to have touch handlers be registered on <body>.
I have been doing this in a production app, just so these touch gestures don't impact my app.
var hammerTime, hammerDisableEvent, events = 'transform dragleft dragright swipe swipeleft swiperight';
hammerTime = new Hammer($('body').get(0));

hammerTime.on(events, function(ev){
    ev.preventDefault();
});

Is this a bad practice?

@charandas the issue tracker is for bugs for support please try SO or Slack channel. Closing this as not a bug


Code

General Checks

[ ] the branch is up to date with main/master
[ ] the code works when pulled and run locally
[ ] All CI checks pass
[ ] all conflicts are resolved (if any)
[ ] PR has a descriptive title
[ ] PR has appropriate labels and milestones for easy identification
[ ] PR it is assigned to the owner
[ ] reviewers are assigned
[ ] the PR contributes only one focused change
[ ] It is in the appropriate column in the project board (if necessary)
[ ] has short and clear description
[ ] is linked to an issue (if it is related)
[ ] feedback is addressed (if any and if it is appropriate feedback.)

Markdown

[ ] the markdown source is formatted
[ ] spelling and grammar is correct in all text
[ ] The markdown looks correct when you preview the file
[ ] all links and images work

HTML

[ ] pages besides /index.html are stored in /pages
[ ] the code is well-formatted
[ ] the HTML is valid
[ ] there are no inline styles (example: style='color: red;')
[ ] there are no <style> tags with CSS, all styles are hrefs
[ ] there is no inline JavaScript (example: onclick='doSomething()')
[ ] there are no <script> tags with JS, all JS is in an separate file
[ ] ids are used for JavaScript only, not for CSS
[ ] semantic tags are used
[ ] spelling and grammar is correct in all site content

CSS

[ ] the code is well-formatted
[ ] passes all the linting checks

I have issues with npm run validate:
html : agile-development-group1-loruki git:(master) ✗ npm run validate:html

<EMAIL_ADDRESS>validate:html
html-validate ./

/Users/saidakarmassfarcou/Downloads/hyf8/agile-development-group1-loruki/code/docs.html
61:39  error  Raw "&" must be encoded as "&"                   no-raw-characters
118:12  error  Anchor link must have a text describing its purpose  wcag/h30
119:12  error  Anchor link must have a text describing its purpose  wcag/h30
120:12  error  Anchor link must have a text describing its purpose  wcag/h30
121:12  error  Anchor link must have a text describing its purpose  wcag/h30
/Users/saidakarmassfarcou/Downloads/hyf8/agile-development-group1-loruki/code/features.html
125:12  error  Anchor link must have a text describing its purpose  wcag/h30
126:12  error  Anchor link must have a text describing its purpose  wcag/h30
127:12  error  Anchor link must have a text describing its purpose  wcag/h30
128:12  error  Anchor link must have a text describing its purpose  wcag/h30
/Users/saidakarmassfarcou/Downloads/hyf8/agile-development-group1-loruki/code/index.html
77:26  error  Prefer to use  instead of  when adding buttons  prefer-button
188:12  error  Anchor link must have a text describing its purpose                          wcag/h30
189:12  error  Anchor link must have a text describing its purpose                          wcag/h30
190:12  error  Anchor link must have a text describing its purpose                          wcag/h30
191:12  error  Anchor link must have a text describing its purpose                          wcag/h30
✖ 14 problems (14 errors, 0 warnings)
More information:
https://html-validate.org/rules/no-raw-characters.html
https://html-validate.org/rules/wcag/h30.html
https://html-validate.org/rules/prefer-button.html

so you should find a way to fix that


mininet: node: Fallback to ovs-testcontroller

Commit db3bffa971a8("Check for ovs-testcontroller in OVSController")
only added partial support for the renamed ovs controller. We also need
to use it as the default controller if 'ovs-controller' and
'test-controller' do not exist.

Good point - this should be fixed now but I should check it.

Seems to be fixed.


Run as Admin in Context Menu

Description of the new feature/enhancement

Add an option Run as Administrator to the right-click menu on the task bar. It is of course possible to do this via the start menu, but for a console host this seems like essential functionality.
Proposed technical implementation details

May do the same as Start > Windows Terminal > Run as Administrator.

You can already launch the Terminal elevated from the taskbar, it just requires a second right-click.

Thanks for that advice, I did not know about this feature!

Hint: You can also simply hold ctrl + shift when clicking on a taskbar icon to launch elevated.


[SPARK-41010][CONNECT][PYTHON] Complete Support for Except and Intersect in Python client

What changes were proposed in this pull request?

Add support for intersect and except.
Unify union, intersect and except into SetOperation.

Why are the changes needed?

Improve API coverage.
Does this PR introduce any user-facing change?

No
How was this patch tested?

UT

R: @HyukjinKwon

actually I will follow https://spark.apache.org/contributing.html. to add a short description for test cases in this PR/

Ok added short description for the new test cases.

Can one of the admins verify this patch?

merged into master


Docker Socket Proxy permissions incorrect in documentation

I had some trouble updating containers after configuring Dockwatch with docker socket proxy. The permissions required listed in the documentation are incomplete. I had to update them to the following to be able to successfully perform updated:
- ALLOW_START=1
- ALLOW_STOP=1
- ALLOW_RESTARTS=1
- CONTAINERS=1
- IMAGES=1
- NETWORKS=1
- POST=1
- VOLUMES=1

The documentation lists PORTS but I can't see why this is enabled so deleted it. (Typo of POST ?)
POST, START, STOP are required to update containers.
RESTARTS allows restarting from the Dockwatch interface

Thanks for the info, i am pretty sure PORTS would be needed because of https://github.com/Notifiarr/dockwatch/blob/a50c8a9216e591f15cee9392dbc526101dae2ec9/root/app/www/public/classes/traits/Docker/Container.php#L12-L16
As the socket proxy changes and as dockwatch changes im sure we'll have to make adjustments to the wiki so i'll add your additions to it

The quoted code looks like it should require the PORTS permission, but I still see ports listed on the main page and the containers page with it disabled. It might be that these values are populated from compose environment variables, but for me at least it's working.
Thanks for updating the wiki. I'll close this issue as complete.


Call to method on 'window' blocks when event loop in other thread is not awake

I'm trying to construct my application in such a way that the winit (or really Glutin) event loop is on another thread, e,g.:
let events_loop = ...
let window = glutin::GlWindow::new(...pass in events_loop and windowbuilder, etc...)

thread::spawn(move || {
    events_loop.run_forever(|event| {
        ....convert events to other format and dispatch...
        ControlFlow::Continue
    });
);

This way my application is not "driven" by the winit event loop, it has just become a source of events for other parts of my code.
Anyway, the window I have is not moved to that thread, it's just the event loop that's running there. This works fine on Windows. Except on Wayland (Ubuntu) every method I invoke on window is blocked unless the event loop becomes momentarily awakened, like when I move my mouse:
// blocks!
let _ = window.get_inner_size_pixels().unwrap();

The same thing happens when calling swap_buffers on glutin's GlWindow. This will block unless the event loop is somehow awakened. Everything is fine, then.
Is this by design? Is it not supported to run the event loop on a separate thread?

Indeed, the way the wayland backend is implemented, while the event loop is running it locks some resources exclusively, causing some methods of window to be blocking. This should obviously be improved, especially as these methods would deadlock if run from within the callback of run_forerever() ...
Now, on point that puzzles me is, looking back at the implementation, get_inner_size_pixels() is not one of the methods I would expect to see blocking, and the momentarily awakening would not have any impact on this blocking, as run_forever takes the lock until it returns.
So, this looks like your issue is something else. I'll try to reproduce your issue when I get some time in order to understand what's going on exactly. If you have a small runnable example reproducing the issue, this would be very helpful.

If I create a very basic example it indeed works fine, so I'll try to dig a little deeper in what's going on! But the underlying assumption that it should be okay to run an event loop on another thread is valid?

I've done some more digging, it appears that the problem shows up when trying to make the GL window current in another thread. This was not completely what I described, so apologies there! I'm not 100% sure this is allowed but I believe it should be?
The repro case is here: https://github.com/RoyJacobs/winit-repro
On my machine it blocks here: https://github.com/RoyJacobs/winit-repro/blob/master/src/main.rs#L26
If I wiggle the mouse the application continues and also calls swap_buffers without issue.
I do get this warning at startup, but it seems unrelated:
[wayland-client] Found library libwayland-client.so cannot be used: symbol wl_proxy_marshal_array_constructor_versioned

Oh, this warning is actually quite related. It means you have an old version of libwayland-client.so that winit cannot use, and as such it should have gone to fallback to using the X11 backend, via Xwayland.
To confirm this, can you run your example with the env variable WAYLAND_DEBUG=1 ? If you get nothing, then winit is using x11.

 Running with that environment variable gives me identical behavior, though. It appears I'm just running x11 (sigh, I'm definitely not a Linux expert).
The questions I have then:

Is what I'm trying to do supported by x11 at all?
If I'm just running x11, why is winit trying to load a wayland client?

Thanks for your patience with this, by the way :+1:

I'm no expert of X11, so I'll have to leave this to someone more knowledgeable... @Ralith maybe?
Regarding your second question: the linux ecosystem is more or less in a transition state from x11 to wayland, and during that, most wayland compositors will expose a compatibility layer name Xwayland so that X11 apps can still work with the new protocol.
To ensure max compatibility, when staed on linux, winit first tries to connect to a wayland server (as this is the most up-to-date approach), and in case of failure, fall-back to trying to connect to X11.
In your case, it looks like you have a wayland environment, but the version of the wayland libs you have is too old and missing some symbols winit needs, to use wayland, so the fallback to X11 triggers.

In general I'm not 100% convinced what I'm doing is legal. The reproduction scenario fails to compile on OSX since objc::runtime::Object is not Send.
I'll probably just move everything into a separate thread instead of only the event loop.

Where exactly does the call block? I didn't write the X11 Window code but I don't see any explicit locking in it, and afaik Xlib doesn't contain any that would lead to sustained blocking either.

It's blocking in the call to make_current. If there are no locks it could potentially be an NVidia driver issue or just some undefined behavior?
As for me, I've refactored my code to avoid threading related to the window and event loop and am now using polling in my Tokio reactor code. This works on OSX and I'll check later today if it's also solving the issue on X11.

I'll close this issue for now since it seems it was caused by using the library in a way that's not intended.


some packages don't seems to be compatible with google colab notebooks

It seems that some of the package are not compatible with the runtime environment present in https://colab.research.google.com/.
Installing the following packages with:
!curl -O  https://repo.anaconda.com/miniconda/Miniconda3-py37_4.10.3-Linux-x86_64.sh
!bash Miniconda3-py37_4.10.3-Linux-x86_64.sh -b -f -p /usr/local
!conda install --yes -c LiteX-Hub verible iverilog

produce the following error for verible at runtime:
verible-verilog-lint: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by verible-verilog-lint)

while iverilog seems to work fine:
Icarus Verilog version 12.0 (devel) (0_8-5850-g540555fc-dirty)

Installing verible from the older https://anaconda.org/SymbiFlow/repo channel, seems to work fine
I suspect this might be due to https://github.com/hdl/conda-eda/pull/133 updating all packages to be built using a relatively "recent" version of ubuntu, while colab is still an older version (see https://github.com/googlecolab/colabtools/issues/1880).
One solution could simply be to wait for colab to upgrade or provide multiple linux variants using https://docs.conda.io/projects/conda-build/en/latest/resources/variants.html to accomodate for different glibc versions.

Similarly surelog seems to complain about the version of python used by the latest miniconda:
Specifications:

  - surelog -> python[version='3.7.*|3.8.*']

Your python: python=3.9

Shared a notebook that reproduce the issue:
https://colab.sandbox.google.com/drive/1IsZluwTkYzdDJGpnbA42lKU8c0OvVJL7?resourcekey=0-HAxTMHW6dg_pQHWwazVGhg#scrollTo=DpEQxPYOR33J

A temporary workaround could be to make the glibc dependend package with a constraints on the __glibc virtual package https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-virtual.html?highlight=glibc#managing-virtual-packages, so that the install fails early on to give a better heads up to the users that the package is incompatible with their system.


Tone.ftom() method precision

The feature you'd like
when converting from MIDI value to Frequency, you can use decimals on the midi values to get a more precise frequency, but it doesn't the other way around. I would be really useful to be able to get MIDI decimals values when converting from Frequency to Midi.
Any alternatives you've considered
I haven't go through the source code, but if there is already code to use MIDI decimal values to convert to frequency, then there must be some Math.round method used on the ftom method. Honestly I don't want to use an extra library on my project just to get a precise value instead of a round value...
Additional context
here's an example of how it should work using Max/MSP.
if you use mtof by default, it would round the result value:

But if you initialized it with a float number, it won't round the result value:

the Tone.ftom() method could have and additional input boolean value to either round the result value or not...   If there was already a way, then I don't know how to use it, because there is no info about the mtof and ftom methods on the Tone.JS docs...

The formula for converting a frequency to a midi value (without rounding) is:
function ftom(f) {
  return Math.log(f / 440) / Math.log(2) * 12 + 69;
}


Scanned barcodes and qr codes is in lowercase

values of scanned barcodes and qr codes are all in lower case but when I don't use the package and only used a TextFormField the value is correct, i think it can't detect the if the keyevent has a shift key pressed with other character
(sorry for my bad english 😅)

Hi @davepot04 ,
I made an update for the scanned character to be case sensitive You can see on my forked version here:
https://github.com/fuadreza/flutter_barcode_listener

Hi @davepot04 ,
I made an update for the scanned character to be case sensitive You can see on my forked version here:
https://github.com/fuadreza/flutter_barcode_listener

@fuadreza it works really well - any chance you will be pushing to https://pub.dev/ ?

I have already open PR #44 , but it seems this package maintainer haven't responded yet.

Yeah, no updates since March last year, might be dead?

Well, it's not so simple as you might think.
Plugin is used by many people and if current working condition changes it's a breaking change, and people hate breaking changes.
I'm simply waiting for feedback, and as things are, not many people are requesting this.
Beside, you don't need pub.dev, you can always specify direct git link in your pubspec.yaml.
With all this said, just fix PR and I'll merge it.

@shaxxx all fair points, hope I didn't come across poorly :)

Well, it's not so simple as you might think. Plugin is used by many people and if current working condition changes it's a breaking change, and people hate breaking changes. I'm simply waiting for feedback, and as things are, not many people are requesting this. Beside, you don't need pub.dev, you can always specify direct git link in your pubspec.yaml.
With all this said, just fix PR and I'll merge it.

Oh I see, I will add some option to make it optional and won't break changes.

Added in 0.1.4

For me the issue is vice-versa , on scan ; is getting converted to :
Example S24-00318;A
Output   S24-00318:A