Hello, how to disable for all users the successful login notification email, v 1.2

Hello, how to disable for all users the successful login notification email, v 1.2, because use more mail in my smtp relay

This is a user setting. Users can disable this notification themselves. If you are an admin, you should also be able to go through each user and disable it.


MAC: search not working => Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg EMFILE

Does this issue occur when all extensions are disabled?: Not specific.

Error: When I search in vscode. Getting the issue given in snapshot

VS code details:
Version: 1.75.1 (Universal)
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Date: 2023-02-08T21:34:59.000Z (1 wk ago)
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.3.0
Sandboxed: No

OS Version:  MAC -  Ventura, 13.2.1

Error:
1: workbench.desktop.main.js:2020 Error: listen EACCES: permission denied /extbin/basctlSocket
at Server.setupListenHandle [as _listen2] (node:net:1313:21)
at listenInCluster (node:net:1378:12)
at Server.listen (node:net:1476:5)
at createBasctlServer (/Users/I322952/.vscode/extensions/saposs.app-studio-toolkit-1.8.4/dist/extension.js:90657:14)
at /Users/I322952/.vscode/extensions/saposs.app-studio-toolkit-1.8.4/dist/extension.js:90666:13
at FSReqCallback.oncomplete (node:fs:198:21)
2:  spawn /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg EMFILE**
log.ts:404   ERR [Extension Host] Error: spawn /Applications/Visual Studio           Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg EMFILE
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
enter image description here enter image description here
Read the link given below for this error however does not able to understand to proceed.
https://github.com/microsoft/vscode/issues/9872
Please help. Thanks in advance.
Regards,
Anuj

This is likely an OS problem with too many open files on your machine. Please try to increase the limit on open files.


weback hot expressjs critical dependency

Hi, getting the Critical Dependency error when using express with hot module.
WARNING in ./packages/servers/express/node_modules/colors/lib/colors.js
127:29-43 Critical dependency: the request of a dependency is an expression

WARNING in ./packages/servers/express/node_modules/express/lib/view.js
79:29-41 Critical dependency: the request of a dependency is an expression

webpack.config.server.js
const webpack = require('webpack');
const path = require('path');
const nodeExternals = require('webpack-node-externals');
const StartServerPlugin = require('start-server-webpack-plugin');

module.exports = {
  entry: [
    'babel-polyfill',
    'webpack/hot/poll?1000',
    path.join(__dirname, '../packages/servers/express/server/index.js')
  ],
  watch: true,
  target: 'node',
  externals: [
    nodeExternals({
      whitelist: ['webpack/hot/poll?1000']
    })
  ],
  resolve: {
    alias: {
      handlebars: 'handlebars/dist/handlebars.js'
    }
  },
  module: {
    rules: [
      {
        test: /\.js?$/,
        use: 'babel-loader',
        exclude: /node_modules/
      }
    ]
  },
  plugins: [
    new StartServerPlugin('server.js'),
    new webpack.NamedModulesPlugin(),
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoEmitOnErrorsPlugin(),
    new webpack.DefinePlugin({
      'process.env': { BUILD_TARGET: JSON.stringify('server') }
    })
  ],
  output: {
    path: path.join(__dirname, '../packages/servers/express/.build'),
    filename: 'server.js'
  }
};

Thanks

The issue seems to be that this is a minorepo with multiple nested node_modules folders


Windows gitbash support

It seems that generate-groups.sh doesn't work properly when running in windows using gitbash.
I created a minimal repo: https://github.com/amiramw/go-k8s-crd-gen
The error I get is:
Generating deepcopy funcs
Generating clientset for extensionsconfig:v1 at github.com/amiramw/go-k8s-crd
W0409 18:57:14.596069   32880 import_tracker.go:45] Warning: backslash used i\go-k8s-crd-gen\pkg\client\clientset\versioned\scheme', this is unsupported.
F0409 18:57:14.637065   32880 main.go:64] Error: Failed executing generator:
errors in package "github.com\\amiramw\\go-k8s-crd-gen\\pkg\\client\\clientse
unable to format file "C:\\Users\\i066470\\go\\src\\github.com\\amiramw\\go-kt\\versioned\\clientset.go" (25:29: unknown escape sequence (and 4 more error

errors in package "github.com\\amiramw\\go-k8s-crd-gen\\pkg\\client\\clientse
unable to format file "C:\\Users\\i066470\\go\\src\\github.com\\amiramw\\go-kt\\versioned\\fake\\clientset_generated.go" (25:29: unknown escape sequence (

errors in package "github.com\\amiramw\\go-k8s-crd-gen\\pkg\\client\\clientsenfig\\v1":
unable to format file "C:\\Users\\i066470\\go\\src\\github.com\\amiramw\\go-kt\\versioned\\typed\\extensionsconfig\\v1\\extensionsconfig.go" (24:11: illegore errors)).
unable to format file "C:\\Users\\i066470\\go\\src\\github.com\\amiramw\\go-kt\\versioned\\typed\\extensionsconfig\\v1\\extensionsconfig_client.go" (25:2:\\amiramw\\go-k8s-crd-gen\\pkg\\client\\clientset\\versioned\\scheme").

errors in package "github.com\\amiramw\\go-k8s-crd-gen\\pkg\\client\\clientsenfig\\v1\\fake":
unable to format file "C:\\Users\\i066470\\go\\src\\github.com\\amiramw\\go-kt\\versioned\\typed\\extensionsconfig\\v1\\fake\\fake_extensionsconfig_clientnce (and 4 more errors)).

/remove-lifecycle stale


how to build the project there is no build command in the scripts

how to build the project there is no build command in the scripts

Please help...

🤔 What do you mean by build?


Use rawurldecode and rawurlencode instead of urldecode/urlencode

Proposed fix for #541.
After reading http://stackoverflow.com/a/6998242 rawurldecode (and
rawurlencode) is better over urldecode/urlencode: "rawurlencode is the
way to go most of the time. It deals with the modern scheme for URI
components, where as urlencode does things the old school way, where +
meant "space."

How does this affect params and URLs with spaces, like searching for "something with spaces" or whatever?  Does it change space to %20 rather than +? If so should be ok.

Also what about encoding ? Don't we have to also convert encode into rawurlencode to ensure that they encoding matches up?

Yes search was already working with %20
I replaced all Grav calls of urldecode to rawurldecode and all calls to urlencode to rawurlencode. Will do more testing.
Will test a bit more, but from my testing I didn't find any issue.


App icon doesn't follow elementary guidelines

Norka's app icon doesn't feel like an elementary icon (the same is true of TenderOwl's other apps, Frog and Turtle). The icon is flat and material design-y, perhaps feeling more like a Papirus icon than an elementary icon. I took a look at elementary's iconography guide, and I think the issue is the lack of an outline and the lack of edge highlighting.
As a web writer, I use Norka all the time because it's functionally an excellent app, but I don't keep it pinned to my dock because it looks out of place.

I knew someone would tell me that one day :)
All you say is true: icons look a bit alien in the elementary. I'm really bad at icons design thus I used freely available icons.
That's a try to make it more "native".


No images displayed on second launch

Hello,
I am facing a very weird issue. In my app, if I launch the image picker for the first time, everything goes smooth. Upon selecting the images or cancelling the image picker I return back to my view controller.
However, if I again launch the image picker, the  picker gets displayed with the toolbar buttons Done and Cancel but I can not see any images.
My test environment is:
Xcode: 8.2.1
Device: iPhone 6 Simulator
OS: iOS 10.2
Is this a bug or am I missing something from my side?
Thanks,
Prerak

I had the same Problem.
I have fixed it by setting my Member Variable to nil after setDidSelectAssets and setDidCancel
[self.picker setDidSelectAssets:^(NSArray * __nonnull assets) {
         self.picker = nil;
}];
[self.picker setDidCancel:^{
        self.picker = nil;
 }];

Fixed.


Unable to sign transactions on BSC

Hello!
Can TrustSDK sign transactions for BSC BNB token (c714 universal asset id https://developer.trustwallet.com/trust-sdk/trust-sdk-specs#sign-simple-transaction)?
If I pass only to address – it responds with "sign_error". If I pass to and from addresses – it responds with "account_error", but both accounts are mine, with enough amount of BNB to make transactions/transfers.
Another side, I cannot sign transaction Sign Arbitrary Transaction (https://developer.trustwallet.com/trust-sdk/trust-sdk-specs#sign-arbitrary-transaction) with data field produced from WalletCore Swift SDK (BSC network):
    let signerInput = EthereumSigningInput.with {
      $0.chainID = Data(hexString: "38")!
      $0.gasPrice = Data(hexString: "09184e72a000")!
      $0.gasLimit = Data(hexString: "2710")!
      $0.toAddress = "0x73feaa1ee314f8c655e354234017be2193c9e24e"

      $0.transaction = EthereumTransaction.with {
        $0.contractGeneric = EthereumTransaction.ContractGeneric.with {
          $0.data = Data(hexString:"41441d3b00000000000000000000000000000000000000000000000000354a6ba7a18000")!
        }
      }
    }

    let data: Data

    do {
      try data = signerInput.serializedData()
      print("TW data: ", data.hexString)
    } catch {
      print("TW error")
    }

If I try to call PancakeSwap contract method to stake with payload built on the native Swift WalletCore SDK and properly encoded – no success too, TrustWallet said "coin_not_supported".
Can anyone help with this? Or just proof that TrustSDK cannot work with BNB (BSC).

wow! I have the same issue. My team is on the verge of looking for alternatives but we really would love to stay with TruestWallet instead of researching status-im
Does anyone faced the same issue?

+1
Same thing. Needs to be reviewed

Another question – how to sign contract call methods in Ethereum? Can I pass EthereumSignedInput constructed with hex data to the arbitrary tx call? Anyone has success to sign this kind of transaction with TrustSDK?

+1

wow! I have the same issue. My team is on the verge of looking for alternatives but we really would love to stay with TruestWallet instead of researching status-im
Does anyone faced the same issue?

yep, I have
+1

Please take a look at example app, transaction has different format
https://github.com/trustwallet/trustsdk-react-native/blob/master/example/App.tsx#L91


Steps in getting started do not seem to work?

I am following the steps in your Getting Started guide. But I get the following error:

Here is the error as text (for searchability):

Error: Element #editor should be a string or HTMLElement instance.

I think the getting started guide needs updating.

They don't, the usage bit is wrong. It should be:

They don't, the usage bit is wrong. It should be:

Hi

equals


Recalculated checksum is set as a field value when parsing message

When a message is parsed, the checksum field is recalculated and set as a field value. At the moment, a message with an invalid checksum (that is otherwise valid) is parsed successfully and the valid_message function returns True.
What should happen is that the checksum field is recalculated and checked against the originally parsed value.
Should be fixable by setting the calculate_checksum flag of the set method to false when parsing a field. The checksum recalculation needs only to be done in valid_message.

I suppose the validation tool is affected by this issue (https://github.com/Componolit/RecordFlux-specifications/issues/45). As the fix sounds rather simple, I think we should fix this before releasing 0.5.


iCloud-based feeds blocked from initial update on iOS

I use NNW on my Mac and iOS devices, mostly on my Mac.  On my Mac, I've had no trouble that I can recall.
When I launched NNW on my iPhone, feed updating stalled immediately, with the progress bar being barely a dot.
After a little experimenting, I found that by enabling the "on my iPhone" feeds (which were the default feeds that ship with the app), the iCloud feeds would also update, and still updated after I deactivated the "on my iPhone" feeds.

I think it’s a duplicate of #3417.
Try these steps:

Try to have as less as possible feeds to be read (better if they are all mark as read)
On iOS disable the locking timeout ( Settings > Display & Brightness > Auto-Lock > Never )
Open NNW on iOS and pull to refresh
Leave the iPhone on NNW

Then, it should be synced with macOS.
It could take several minutes to be done (it’s for the limit of iCloud).


fix(bulk): allow upsert with empty update when using bulkWrite()

Description
In v3.5 bulkWrite() could do an updateOne with an empty update, so long as upsert was set. For example, the below script succeeds in v3.5.8 but throws a "Update document requires atomic operators" error in v3.6.
const { MongoClient, ObjectId } = require('mongodb');

void async function() {
  const client = await MongoClient.connect('mongodb://localhost:27017/test', {
    useNewUrlParser: true,
    useUnifiedTopology: true
  });

  const db = client.db();

  await db.collection('Test').bulkWrite([{
    updateOne: { filter: { name: 'test' }, update: {}, upsert: true }
  }]);

  console.log('Done');
  process.exit(0);
}();

What changed?
Added a check to allow the above script to pass
Are there any files to ignore?
Nope

Hey @vkarpov15 , I think this behavior change is desired. Can't you refactor the code to use an atomic operator:
  await db.collection('Test').bulkWrite([{
    updateOne: { filter: { name: 'test' }, update: { $set: {} }, upsert: true }
  }]);

?

I could do that, the only problem is that the server throws errors when you do an empty $set. The below script:
const { MongoClient, ObjectId } = require('mongodb');

void async function() {
  const client = await MongoClient.connect('mongodb://localhost:27017/test', {
    useNewUrlParser: true,
    useUnifiedTopology: true
  });

  const db = client.db();

  await db.collection('Test').bulkWrite([{
    updateOne: { filter: { name: 'test' }, update: { $set: {} }, upsert: true }
  }]);

  console.log('Done');
  process.exit(0);
}();

Throws the below error:
$ node ./test.js
(node:10277) UnhandledPromiseRejectionWarning: BulkWriteError: '$set' is empty. You must specify a field like so: {$set: {<field>: ...}}
    at OrderedBulkOperation.handleWriteError (/troubleshoot-mongoose/node_modules/mongodb/lib/bulk/common.js:1213:9)
    at resultHandler (/troubleshoot-mongoose/node_modules/mongodb/lib/bulk/common.js:519:23)

Is this behavior defined in a spec somewhere? If not, I'd like to ask that we not go down the route of throwing errors on empty updates. It's already tricky to work around the empty $set issue in the server: https://jira.mongodb.org/browse/SERVER-12266, and this change breaks our workaround.

@vkarpov15 oops, good catch! Let me get back to you shortly on this one

@vkarpov15 I think we can close this now based on the discussion in DRIVERS-1359?


reroll confirmation

When I'm in an explorable area and use the /rr command, I don't want a confirmation window. Maybe this should be optional, or only apply when you're in a party with other players or something?

press your return key

Scratch that, return doesn't work for this confirmation dialog

its a bit hacky - because you could still have the enter key pressed as a result of sending /rr derv it could see that "oh enter is currently pressed, that means OK"
As a dirty workaround I put a 500ms delay on checking, so its not as responsive as the in-game F12 -> C -> Enter that you would normally use

We can use the imgui method to find out if it's a new enter press.


Create release r0.6

Problem description
Create release r0.6 with the API version v0.6.0-alpha.1 to get early developer feedback for the changes of v0.6.0 without the issue Separate endpoints into different  , which should be implemented after this release, for the RC1.
Expected action
Following changes should be performed:

New PR to prepare the release
update device-status.yaml with the version 0.6.0-alpha.1
update changelog.md
update readme.md

Create release

Additional context
release numbering

Titel and description updated according to the release numbering guideline.

Release has been created: https://github.com/camaraproject/DeviceStatus/releases/tag/r0.6

done


Inconsistent display of bool values in conditional statements

Version and Platform (required):

Binary Ninja Version: 4.0.4836-dev, df4290fd
OS: macos
OS Version: 14.3
CPU Architecture: arm64

Bug Description:
It seems that BN chooses to display bool values as false or true, but it does so inconsistently. In the example below, initialized is defined as a bool. As evident in the example, BN uses true or false when assigning a value to it. However, when checking its value in if statements, it does not maintain this consistency.
Screenshots:

I suspect this is either a type propagation issue where we're not propagating the bool type to the constant, or a display issues were we're not checking the type of the constant.


meshery: Setup EditorConfig

Description

This PR fixes #    (https://github.com/layer5io/meshery/issues/982)
Add an EditorConfig file under project root.
When opening a file, EditorConfig plugins look for a file named .editorconfig in the directory of the opened file and in every parent directory. A search for .editorconfig files will stop if the root filepath is reached or an EditorConfig file with root=true is found.

Notes to reviewers:
Checklist

[x] DCO signed.
[x] Title of the PR starts with area name, e.g. meshery:, mesheryctl:, ui:.

Gents, are we settled on an indent of 2 here and the same in the UI (https://github.com/layer5io/meshery/pull/1031)?
// @nveenjain

@kushthedude any other feedback on this PR?

@kushthedude I think having same rules for Golang and JS files will create problems for developers where rules might be different for Golang and JS files. JS developers may have different preference and Golang developers may have different preference.
I would suggest to have just one editorconfig on root project and include different desired rules for *.go file extensions and different rules can be included for *.css, *.html anf *.js files as desired. Any override in the ui and provider-ui can be deleted. This way we can have one editorconfig file for entire monorepo but with in that file we can have rules tailored to different file extensions.
Below is a sample of what I am thinking. I am not sure if consistent styles are currently being used in this project, but below example can be tweaked for this monorepo.
root = true

[*]
charset = utf-8
end_of_line = crlf
insert_final_newline = false
max_line_length = 120
indent_style = space
tab_width = 4

[*.go]
indent_size = 4

[*.js]
indent_size = 2

Let me know your thoughts. Once we have rules finalized, a PR can be made.

@tsingh2k15 Looks good to me, just a suggestion can we use this as the config
root = true

[*]
charset = utf-8
end_of_line = crlf
insert_final_newline = false
max_line_length = 120
trim_trailing_whitespace = true

[*.go]
indent_size = 4
indent_style = tab

[*.js]
indent_size = 2
indent_style = space

[*.{diff,md}]
trim_trailing_whitespace = false

Since in golang we use tab spacing with tab_width 4 and in js we use key spacing with width 2. We would want to trim the trailing spaces in our code files but we don't want them to mess up the indents on our markdown or documentation files.
Let me know if it seems fine to you.

@kushthedude Yes, this looks fine. I will update the diff with the suggested config.

@kushthedude any other feedback on this PR?

@leecalcote This is peer reviewed complete. Waiting for your review.

Excellent.

Yay! 🎈@tsingh2k15 🥳


Un-defer the initial theme changed notification in Window

Missed the Window needing the same change in https://github.com/godotengine/godot/pull/65250. Noticed in https://github.com/godotengine/godot/pull/65279#issuecomment-1236103906.

Thanks!


Windows become unresponsive when trying to mount a winsshfs drive as of build 16232

Technical data
WinSshFS

[x] stable
[ ] prerelease
[ ] custom build
Version: <<IP_ADDRESS>>

Dokan driver

[x] stable
[ ] prerelease
[ ] custom build
Version: Dokany <1.0.13>

Enviroment

Windows version: <10>
Architecture:

Support

Usage:  -
Your personal priority to solve this issue:
Support ability: <programming .NET, can create pull request / deeptesting>

As of windows 10 build 16232, which rolled out  recently, mounting a sshfs drive cause the whole system to go unresponsive. By this I mean that I can still move the mouse on the screen, music continues to play, but it is impossible to actually interact with anything anymore - clicking on anything or typing on the keyboard does nothing.
I'm sadly unable to provide a lot of technical details, because, due to the nature of the problem, I'm good for a reboot without being able to collect too much infos when the crash happens. I'm available to do any experiment that would help debugging the issue.
The crash can be reproduced consistently by mounting a drive.
I tried dokan version 1.0.1 and 1.0.3 and the problem repro with both.
I used the version <IP_ADDRESS> of winsshfs, which is the latest one as far as I know.

I can confirm this, and the issue persists in Windows 10 build 16237.
Dokan: <IP_ADDRESS>0
WinSshFS: <IP_ADDRESS>
The shell hangs almost entirely; some programs remain semi-functional but cannot be interacted with.  Only solutions is a hard reset.

So I updated to build 16237 and indeed, it"s broken as well :(

Issue has been fixed in Dokany GIT: https://github.com/dokan-dev/dokany/issues/554#issuecomment-317973085
Please help with testing.


Error while calling the remove method

Hello,
I'm getting the below error while trying to call the remove method for a metric.
WARNING stdout F WARNING __main__.py        __main__        : PODMAN check - We need to remove this metric, as its a duplicate of the current metric due to a change of labels <podman_check{container="coredns-tu",id="f92a9532e505",image="<IP_ADDRESS>:5000/test/coredns:0.1",state="running",username="root"}>
ERROR stdout F ERROR __main__.py        __main__        : PODMAN check - exception while trying to remove old metrics, exception => ('coredns-tu', 'f92a9532e505', '<IP_ADDRESS>:5000/test/coredns:0.1', 'running', 'root')
stdout F Traceback (most recent call last):
stdout F   File "/usr/local/lib/python3.10/site-packages/app_check/__main__.py", line 706, in remove_metrics_for_removed_containers
stdout F     podman_metric.remove(old_container_name, old_container_id, old_container_image, old_container_state, old_username)
stdout F   File "/usr/local/lib/python3.10/site-packages/prometheus_client/metrics.py", line 209, in remove
stdout F     del self._metrics[labelvalues]
stdout F KeyError: ('coredns-tu', 'f92a9532e505', '<IP_ADDRESS>:5000/test/coredns:0.1', 'running', 'root')

Am I calling the remove method using the wrong parameters or is there a bug here?
The code for setting up the metrics is omething like this:
podman_check_metric = Gauge('podman_check', 'Checks if podman containers are up and running', ['container', 'id', 'username', 'image', 'state'])
.................
podman_check_metric.labels(container_name, container_id, username, container_image, container_state).set(container_status)

I've added some dynamic labels, because besides the podman container status (1=Running, 0=NOK), I also need to build some dashboards showing in example which image version is used for every container.
However, it seems that once my podman containers are being updated (the id, status or image changes), I end-up with duplicate metrics (my current container has the id "5df23ddbd37b", but I can still see a metric for the previous instance of my container - f92a9532e505):
curl http://localhost:8080/metrics | grep ^podman_check
podman_check{container="coredns-tu",id="f92a9532e505",image="<IP_ADDRESS>:5000/test/coredns:0.1",state="running",username="root"} 1.0
podman_check{container="coredns-tu",id="5df23ddbd37b",image="<IP_ADDRESS>:5000/test/coredns:0.1",state="running",username="root"} 1.0

In order to remove the duplicates, I've tried to check the duplicates and remove the no longer relevant metric, using the following code:
podman_metric.remove(container_name, old_container_id, container_image, container_state, username)

I've solved this myself.
It seems that the remove method works just fine using the same parameters as in labels method, it's just that I've put the parameters in a wrong order
podman_check_metric = Gauge('podman_check', 'Checks if podman containers are up and running', ['container', 'id', 'username', 'image', 'state'])

#WRONG order
podman_metric.remove(container_name, old_container_id, container_image, container_state, username)

#GOOD order
podman_metric.remove(container_name, old_container_id, username, container_image, container_state)


Redistributable build?

The install process for this wrapper is pretty complicated -- it seems like it'd be easier if the wrapper had a precompiled distribution, like the main HOT library. The dependencies (including HOT itself) could be provided as externals and listed as peerDependencies.

@davidwallacejackson, since version 1.0.0 the installation process is much easier: https://github.com/handsontable/vue-handsontable-official#basic-usage
Basically, importing
import HotTable from 'vue-handsontable-official';

should be enough to get going, all the Handsontable dependencies should work automatically.

Unfortunately, I'm still getting the same errors, and I need to manually install and expose the dependencies. I checked the installed version of vue-handsontable-official, and it still only has the package source -- no compiled distribution. Am I doing something wrong?

@davidwallacejackson, we just did exactly what you described in your initial post :)
@handsontable/vue (and @handsontable-pro/vue for the Pro version) packages include a pre-built bundle, pre-configured for the CE or Pro packages, with handsontable (or handsontable-pro) listed as a peer dependency.

I think we can close this issue.
Feel free to reopen if you find the same problem in v2.0.0-beta1+


[FEATURE_REQUEST] Allow iframe apps to write to the clipboard.

Is your feature request related to a problem? If so, please describe.
Some of the items I have in Dashy are little convenience tools, such as https://github.com/CorentinTh/it-tools. IT Tools, for example, has text fields with a little copy-to-clipboard button next to them. Unfortunately, these copy buttons are prevented from working when the target app is run inside an iframe (workspace or modal).
Describe the solution you'd like
I read that iframes require permissions such as clipboard-read and clipboard-write via something called the Permissions API.
Unfortunately, it appears that this is considered experimental, and is not supported by all browsers (e.g. Firefox, Safari): https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility
I tried anyway - I forked the codebase and modified IframeModal.vue so that instead of using allow="fullscreen" it used allow="fullscreen; clipboard-write *;". While this prevented errors in the console that I previously got when attempting to copy to clipboard, the copy operation still did not succeed.
It's possible this is not a solvable problem. Clipboard permissions get pretty locked down for security reasons, and it can be difficult to get around that kind of stuff. So if it's closed for that reason, that's fine, but someone smarter than me might have a solution, so I thought I'd get a feature request in either way.
Priority
Low (Nice-to-have)
Is this something you would be keen to implement
Maybe

    GitHub - CorentinTh/it-tools: Collection of handy online tools for developers, with great UX.   Collection of handy online tools for developers, with great UX.  - GitHub - CorentinTh/it-tools: Collection of handy online tools for developers, with great UX.     Permissions API - Web APIs | MDN   The Permissions API provides a consistent programmatic way to query the status of API permissions attributed to the current context. For example, the Permissions API can be used to determine if permission to access a particular API has been granted or denied.

Hiya David,
I've taken a look into this, and have had quite mixed results.
With updating the permissions in allow I was able to get a simple HTML page using the clipboard API to copy to clipboard within an iframe, using Chromium. I've submitted a PR for this in #1221
But for it-tool specifically, looks like they're using  the vueuse useClipboard, which is doing a lot of extra checks. I wasn't able to get this to work.
Also both the parent (Dashy) and the child ( in your case, it-tools) will need to be served via a valid HTTPS, as clipboard API is only available via secure origin
If neither of those work, then unfortunately I don't think it's going to be possible :(


test vms with ancestry

https://github.com/ManageIQ/manageiq/pull/20274
in context of https://github.com/ManageIQ/manageiq-schema/pull/492

closing because despite the fact that the core PR is freakin' awesome, it's also detrimental to sanity levels and will never get merged anyway.


Empty filter state is positioned incorrectly

This ensures that the empty filter state appears within the table body.
Currently, the component appears below the table. Seems to be a regression after updating to the PatternFly "breaking changes release".
https://issues.redhat.com/browse/COST-306

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1591   +/-   ##
=======================================
  Coverage   78.71%   78.71%
=======================================
  Files         237      237
  Lines        3881     3881
  Branches      712      712
=======================================
  Hits         3055     3055
  Misses        727      727
  Partials       99       99

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 f7bfe9c...489f2f6. Read the comment docs.


Handle Thread Association Request in rendezvous session

Problem
Currently, NetworkProvisioning class, which takes part in Rendezvous over BLE session, only supports WiFi provisioning and Thread provisioning is partially implemented in RendezvousServer (Application layer).
Proposed Solution

move the Thread provisioning code to the BLE transport layer to process both network types in the same/similar way
reply on Thread Association request with SLAAC/On-Mesh IPv6 Address once that is assigned so that the controller knows that provisioning completed successfully and how to reach the device
call MemoryInit() in nrfconnect examples

Fixes #3302

@Damian-Nordic Can you address the merge conflicts? Should be good to go after that

@Damian-Nordic Can you address the merge conflicts? Should be good to go after that

Yes. I've rebased the changes.


runtime/pprof: TestMathBigDivide is flaky on FreeBSD

https://storage.googleapis.com/go-build-log/e3e88a69/freebsd-amd64-gce101_29908d64.log
--- FAIL: TestMathBigDivide (0.49s)
	pprof_test.go:97: profile too short: [0x0 0x3 0x0 0x2710 0x0 0x0 0x1 0x0]
FAIL
FAIL	runtime/pprof	2.557s

Isn't this kind of the same as #13846 ?

Kind of. They both use testCPUProfile. I was going to send out a CL moving the if-crappy-timer-OS conditionals to testCPUProfile instead, but it didn't feel totally right. The comments didn't exactly belong in the new place, so I'm letting Austin decide.

Isn't this kind of the same as #13846 ?

I can't be positive without checking the timer behavior of that benchmark, but I'd be surprised if it was anything different.
I'm weary of putting a huge blacklist (or a small whitelist) in all of the profiling tests. For most of these, I think we should instead back off and just try running it for longer if we get an empty profile. We've seen flakes all over the profiling tests and I suspect some of them are just because we're running a bunch of other package tests in parallel and the profile test genuinely doesn't get enough CPU time to get samples.


Fixing issue with framework generation

Fixing an issue where the make command for building the apollo-ios framework was failing, also fixing issue with carthage not being able to find shared schemes to build from.
Closes apollographql/apollo-ios#3439
Closes apollographql/apollo-ios#3427

I updated the script to test it out with carthage.
pushd "$(mktemp -d)" || exit
echo 'github "apollographql/apollo-ios-xcframework" "fix/issue-3439"' > Cartfile
carthage bootstrap --platform iOS --use-xcframeworks

It appears it's building each scheme twice again because the shared scheme shared a name with a scheme Xcode generates for the targets from the swift package.
Would it be possible to rename the schemes tuist generates so they are unique? Maybe adding the suffix -xcframework? That was the workaround I found last time. Though we'd be fine continuing to do the in our project, we've already got that code in our makefile.

https://github.com/apollographql/apollo-ios/issues/3308
https://github.com/Carthage/Carthage/issues/3358

Hmmm ok, wondering if I create the xcode schemes manually in the tuist configuration and disable the auto-generation if it would avoid the issue with the spm package schemes, ill give that a shot and see, odd that Apollo is the only one being duplicated and not the other targets from the spm package

Actually no that wont work at least for the duplication, but doing the schemes manually and adjusting the names as you suggested seems like a good solution.

Oops, I should have included the logs, it builds every target twice.
*** No Cartfile.resolved found, updating dependencies
*** Fetching apollo-ios-xcframework
*** Checking out apollo-ios-xcframework at "a06f84a4ee2968f1c55dbc206b5163f441444cd1"
*** xcodebuild output can be found in /var/folders/_x/0yf9v78x1zzfd4pk03vx7f440000gq/T/carthage-xcodebuild.QilH1E.log
*** Building scheme "Apollo" in Apollo.xcworkspace
*** Building scheme "ApolloAPI" in Apollo.xcworkspace
*** Building scheme "Apollo" in Apollo.xcworkspace
*** Building scheme "ApolloAPI" in Apollo.xcworkspace
*** Building scheme "ApolloSQLite" in Apollo.xcworkspace
*** Building scheme "ApolloWebSocket" in Apollo.xcworkspace
*** Building scheme "ApolloSQLite" in Apollo.xcworkspace
*** Building scheme "ApolloWebSocket" in Apollo.xcworkspace

I also just noticed that the target for ApolloTestSupport isn't built. I assume it shouldn't be missing.

@CraigSiemens ok i updated the branch tuist now generates the schemes with a suffix like you suggested and the make commands are all working so I'm guessing this will solve your Carthage issue as well.
As for ApolloTestSupport its currently not supported as part of the xcframework setup, although its something I can look into adding.

That change seems to be working, each target was built once.
*** No Cartfile.resolved found, updating dependencies
*** Fetching apollo-ios-xcframework
*** Checking out apollo-ios-xcframework at "5cfce4fd24fd65107e500ef2f0fc78ab3375fa94"
*** xcodebuild output can be found in /var/folders/_x/0yf9v78x1zzfd4pk03vx7f440000gq/T/carthage-xcodebuild.XGit2r.log
*** Building scheme "ApolloWebSocket-xcframework" in Apollo.xcworkspace
*** Building scheme "ApolloSQLite-xcframework" in Apollo.xcworkspace
*** Building scheme "ApolloAPI-xcframework" in Apollo.xcworkspace
*** Building scheme "Apollo-xcframework" in Apollo.xcworkspace

Great, can get this merged into main, and it will officially release in a tagged release when we do our next apollo-ios release.


Update teams-devices-feature-comparison.md

Adding Teams Pre support for MTRA in Commercial & Fixing webpage title

Changes   moved over to the private repo.


Adding msmpi

I noticed that https://github.com/conda-forge/mpi-feedstock/pull/7 was merged recently, and brought this up in #71, with @leofang @jakirkham encouraging me to try. So here goes. :)
There might be changes necessary to bld.bat - any help welcome on that.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I think this will need some more tests

I think this will need some more tests

Things to keep in mind: https://github.com/conda-forge/msmpi-feedstock/issues/2

Things to keep in mind: https://github.com/conda-forge/msmpi-feedstock/issues/2

Do you intend to finish this? If not, let's close it for now :) Feel free to reopen, of course!


Think about how to handle bundled TypeScript dependency...

We currently depend on typescript package so that we can internally manually write TS source and then just use TS compiler API to emit the JS and declaration files.
This has the benefit of allowing us in the future to use ts-moprh to construct the source code and also the benefit of generating something that looks very natural to how it would have looked were the source statically shipped.
But neither of these benefits are particularly user facing, meanwhile there is a significant user facing downside which is that they will need to tree-shake their application before going to production, otherwise end up with a 50mb in their node_modules from the typescript package.
This should be fine for Next.js apps where tree-shaking is built in (sort of, its using webpack 4 with poor support but hopefully will switch to webpack 5.x soon (it is already advertised on their blog since last year to try it, and that they are internally with their projects) and anyways I think the current behaviour with webpack 4 should be good enough to get the job done here.
Two other solutions here that come to mind:

Create a nexus-prisma-cli package that users can install into their development dependencies.
Change our internal implementation strategy to be based on raw string construction of JS and TS declaration files.

Currently I personally think we should go the tree-shake route. Its forward facing meaning where the industry is going anyways, and is the ideal for all parties assuming user has it setup already e.g. Next.js or can easily whip out e.g. Parcel with success.
One criticism is that bundlers for backend projects are a lot less common than for frontend ones. However with serverless that I think is become less of an issue, where more and more projects are open to the idea out of necessity or optimization.

Resolved after discussions with @Weakky. We won't use TS to emit. We'll focus on minimal JS output manually written. At boot time we'll run a static runtime over the dmmf.


Add support for IBM cloud provider

This PR adds support for IBM CLOUD provider.
List of supported resources:

ibm_cos

ibm_resource_instance
ibm_cos_bucket

ibm_iam

ibm_iam_user_policy
ibm_iam_access_group
ibm_iam_access_group_members
ibm_iam_access_group_policy
ibm_iam_access_group_dynamic_rule

ibm_container_vpc_cluster

ibm_container_vpc_cluster
ibm_container_vpc_worker_pool

ibm_database_etcd

ibm_database

ibm_database_mongo

ibm_database

ibm_database_postgresql

ibm_database

ibm_database_rabbitmq

ibm_database

ibm_database_redis

ibm_database

ibm_is_instance_group

ibm_is_instance_group
ibm_is_instance_group_manager
ibm_is_instance_group_manager_policy

ibm_is_vpc

ibm_is_vpc
ibm_is_vpc_address_prefix
ibm_is_vpc_route

ibm_is_subnet
ibm_is_instance
ibm_is_security_group

ibm_is_security_group_rule

@anilkumarnagaraj Good job! thanks!!
Few issues:

signed CLA
delete logs.println in resources
delete logs.fatal and return error. logs.Fatal exit program, if you want import many resources, one of them can close program
licence in files
goroutines issue - I don't find any line with wait for finished in all goroutines

@anilkumarnagaraj Can you signed CLA?

@googlebot I signed it!


"Share" random codes only results in "You did not give permission"

Environment :
Pixel 3a, Android 10, v25 from Play Store
Scenario :

Navigate to "Enter your 8-digit number" screen
Enter your code and submit
Click on "Agree" at the "Now you can upload your codes" screen
When popup "Share your random IDs" is displayed, click on "Share"

Expected :
User should be redirected to home screen "Thanks for helping fight..."
Issue :
Popup is displayed : "Random codes could not be uploaded. You did not give permission."
This popup is displayed whether you clicked on "Share" or "Don't share"

@srepussard had you infected the phone already that day and were reinfecting the phone?

I'm pretty sure this was a fresh install of the app

Can you confirm what version of the EN Framework your using?

I am getting the same thing with this version:

@timarney @srepussard I know there were some issues around how many times you could infect a device. Max had some conversations about this and key data. I was not getting a version number at the bottom.

@srepussard @nickmly I believe this is corrected now after a server update.
https://github.com/cds-snc/covid-shield-server/pull/158

Tested on Pixel 3a, Android 10, v33 from Play Store : Passed

I confirm that this has been fixed. We are now redirected to "Thanks for helping fight..." screen


RUMM-1831 Apply timestamp correction for web log events

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #785 (4a9563b) into mconstantin/rumm-1825/introduce-the-web-log-event (f83c5c6) will increase coverage by 0.35%.
The diff coverage is 100.00%.

@@                                   Coverage Diff                                   @@
##             mconstantin/rumm-1825/introduce-the-web-log-event     #785      +/-   ##
=======================================================================================
+ Coverage                                                88.39%   88.74%   +0.35%
- Complexity                                                1852     1863      +11
=======================================================================================
  Files                                                      209      211       +2
  Lines                                                     6587     6608      +21
  Branches                                                   737      740       +3
=======================================================================================
+ Hits                                                      5822     5864      +42
+ Misses                                                     531      516      -15
+ Partials                                                   234      228       -6

Impacted Files
Coverage Δ

...atadog/android/log/internal/domain/LogGenerator.kt
100.00% <100.00%> (ø)

...com/datadog/android/log/internal/utils/LogUtils.kt
100.00% <100.00%> (ø)

.../com/datadog/android/webview/DatadogEventBridge.kt
100.00% <100.00%> (ø)

...d/webview/internal/log/WebLogEventDateCorrector.kt
100.00% <100.00%> (ø)

...id/webview/internal/log/WebViewLogEventConsumer.kt
96.77% <100.00%> (+0.22%)
:arrow_up:

...ore/internal/constraints/DatadogDataConstraints.kt
93.24% <0.00%> (-1.35%)
:arrow_down:

...g/android/rum/internal/domain/scope/RumEventExt.kt
82.61% <0.00%> (-0.87%)
:arrow_down:

...oid/src/main/kotlin/com/datadog/android/Datadog.kt
72.48% <0.00%> (ø)

...atadog/android/core/configuration/Configuration.kt
97.69% <0.00%> (ø)

.../android/rum/internal/monitor/DatadogRumMonitor.kt
93.33% <0.00%> (ø)

... and 11 more


Style Guide and Contributing Guidelines for Certification Solutions

The challenge solution guides will be wiki-like, but here are some things that we need to address while do the move:
Main Actions:

[ ] We will need guidelines to report errors. (Todo: Where? How?)
[ ] We will need guidelines to follow and update solutions if needed after they are reported.
[ ] We also need a template to follow and add solutions to the stubs.
[ ] We need to make sure the updates to the guide do not break the slug. (Todo: one person should deploy?)

DevOps:

[ ] We need to turn off commenting on the main solution post itself.
[ ] We need to lock the solution edition to certain user level, to maintain consistency.

@raisedadead I created PR #36501 which takes care of the reformatting of all the English certification folder guide articles.
I have also created the following gists which contain data we can use during the porting over articles to the forum.
List of all Certification Guide Articles with information regarding stubs
Consolidated Information regarding matching forum articles and Certification Guide Articles


Update flow and eslint-plugin-react, fix lints

what is the change?:
CI was failing because our version of flow was out of date, and changes
pulled from within FB had added lints and inconsistencies.
why make this change?:
To get CI passing so it will provide signal for PRs.
test plan:
yarn test && yarn lint && flow src
issue:
None, but flagged in PR https://github.com/facebook/draft-js/pull/1346

tagging @aadsm for review if you are interested
also @spicyj

This LGTM, I don't I have permission to approve though (write access is required).

Add yourself here: https://fburl.com/xnny05ik.

Opened a PR with eslint-plugin-relay to address one of the issues we have run into. https://github.com/relayjs/eslint-plugin-relay/pull/10

Once this PR lands we can update eslint-config-fbjs and eslint-plugin-relay and re-add support for node 4.x in development. https://github.com/facebook/fbjs/pull/266


amplify import auth with existing user pool doesn't generate full oauth configuration in aws-imports.js

Before opening, please confirm:

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

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.13.2
Amplify CLI Version
10.4.0
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Amplify Categories
auth
Amplify Commands
init, push
Describe the bug
I have a user pool created with CDK, configured with an OIDC provider.
I used amplify import auth to use the existing userpool for Amplify Auth.
I've run amplify push which generated an aws-imports.js file.
The aws-imports.js file doesn't contain all oauth configuration. It is missing client_id, scopes etc.
It only contains the domain:
"oauth": {
     "domain": "mydemo.auth.eu-west-1.amazoncognito.com"
 },

With this configuration, calls to Auth.federatedSignin({customProvider:'myidp'}) throw an exception as it cannot initialise the _oauthHandler properly.
Expected behavior
Amplify config to be complete so that Auth.federatedSignin() with oidc providers work as expected.
Reproduction steps

Create user-pool on AWS using CDK or CloudFormation: create userpool, register OIDC identityprovider, add domain, create userpool client
amplify init on the webapp
amplify import auth and select the userpool from the presented list
amplify push -Y
Configure amplify in the webapp using aws-imports.js and call Auth.federatedSignin({customProvider: 'myidp'})

Verify that the call throws an exception trying to access oauthSignIn method on  _oAuthHandler
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'oauthSignIn')
    at AuthClass2.<anonymous> (Auth.ts:2364:24)

Verify that aws-imports.js doesn't contain the full oauth configuration.
GraphQL schema(s)
No response
Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response

Hey @harunhasdal, thank you for reaching out. This appears to be a duplicate of https://github.com/aws-amplify/amplify-cli/issues/10932. Please feel free in adding any information and subscribing to the issue. Closing the issue to prevent any miscommunication between issues.


Bump golangci-lint action to v4

Bump the golangci-lint action to v4 and stop using the cache from setup-go as golangci-lint manages its own cache.
This removes all warnings from the summary page from workflow runs.

Thanks, I've updated the description.


Infer needs a working compilation command to run, anyone can help to solve?

Infer running stoped and throw an exception as below:
*** ERROR Failed to execute compilation command: exited with code 1
*** Command: 'javac'<EMAIL_ADDRESS>'@/var/folders/lk/lc_q_c9s6hjb06_fv57w290c0000gn/T/args_94016b'
.
.
*** Infer needs a working compilation command to run.
Failed to execute: /usr/local/Cellar/infer/0.12.1/lib/infer/infer/lib/python/inferlib/../../../bin/in
..
...
Traceback (most recent call last):
File "/usr/local/Cellar/infer/0.12.1/lib/infer/infer/bin/../lib/python/infer.py", line 186, in
main()
File "/usr/local/Cellar/infer/0.12.1/lib/infer/infer/bin/../lib/python/infer.py", line 168, in main
capture_exitcode = imported_module.gen_instance(args, cmd).capture()
File "/usr/local/Cellar/infer/0.12.1/lib/infer/infer/lib/python/inferlib/capture/gradle.py", line 88, in capture
return util.run_compilation_commands(cmds, clean_cmd)
File "/usr/local/Cellar/infer/0.12.1/lib/infer/infer/lib/python/inferlib/capture/util.py", line 41, in run_compilation_commands
if cmd.start() != os.EX_OK:
File "/usr/local/Cellar/infer/0.12.1/lib/infer/infer/lib/python/inferlib/jwlib.py", line 37, in start
raise e
subprocess.CalledProcessError: Command '[u'/usr/local/Cellar/infer/0.12.1/lib/infer/infer/lib/python/inferlib/../../../bin/infer', u'--analyzer', u'capture', u'--continue', u'--', u'javac', u'-source', u'1.7', u'-target', u'1.7', u'-d', u'/Users/huangjincheng/workarea/mob_dev/andsdk/MobSdk/app/bui..........

What command did you use to run infer? Does the compilation command work on its own, without infer attached?

Please reopen with more information.


add pykerberos, requests-kerberos, exchangelib

Motivation for this change
I want these packages
Things done

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

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pythonPackages.pykerberos pythonPackages.requests-pykerberos pythonPackages.exchangelib python3Packages.pykerberos python3Packages.requests-pykerberos python3Packages.exchangelib

Success on aarch64-linux (full log)
Attempted: pythonPackages.pykerberos, python3Packages.pykerberos
The following builds were skipped because they don't evaluate on aarch64-linux: pythonPackages.requests-pykerberos, pythonPackages.exchangelib, python3Packages.requests-pykerberos, python3Packages.exchangelib
Partial log (click to expand)
writing manifest file 'pykerberos.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-aarch64-3.6/kerberos.cpython-36m-aarch64-linux-gnu.so ->

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/garxvnz9mjdakhpq2np2bi94l1mrsp7q-python2.7-pykerberos-1.2.1
/nix/store/mazzkl0br0jx93nlca4bf3zix5yndysi-python3.6-pykerberos-1.2.1

Success on x86_64-linux (full log)
Attempted: pythonPackages.pykerberos, python3Packages.pykerberos
The following builds were skipped because they don't evaluate on x86_64-linux: pythonPackages.requests-pykerberos, pythonPackages.exchangelib, python3Packages.requests-pykerberos, python3Packages.exchangelib
Partial log (click to expand)
writing manifest file 'pykerberos.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-3.6/kerberos.cpython-36m-x86_64-linux-gnu.so ->

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/m3dp69a198rg3kj4kw6v0jcfdrv8jxmb-python2.7-pykerberos-1.2.1
/nix/store/gh4xr95rkzvflp59kdasnmin8l2xlvcc-python3.6-pykerberos-1.2.1

Success on x86_64-darwin (full log)
Attempted: pythonPackages.pykerberos, python3Packages.pykerberos
The following builds were skipped because they don't evaluate on x86_64-darwin: pythonPackages.requests-pykerberos, pythonPackages.exchangelib, python3Packages.requests-pykerberos, python3Packages.exchangelib
Partial log (click to expand)
writing manifest file 'pykerberos.egg-info/SOURCES.txt'
running build_ext
copying build/lib.macosx-10.6-x86_64-3.6/kerberos.cpython-36m-darwin.so ->

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/85p2707zckc9rhh01w9yhllhawrbz0p1-python2.7-pykerberos-1.2.1
/nix/store/wi3maawlk2d7zkahghx2r34hg2x0alj5-python3.6-pykerberos-1.2.1

Ping on this? I made the changes you asked for

Ping? @FRidh

Ran 0 tests in 0.000s

No tests are found. Either the test runner cannot find tests and needs to be patched, or there simply are no tests in which case the tests need to be disabled. Do include a comment explaining why the tests are disabled.

There are no tests (besides one which tests against an existing Kerberos deployment), so I commented to that effect and set doCheck=false.


Card doesn't work anymore in HA 2024.4.2

The Card doesn't work in HA 2024.2. It report "Custom card doesn't exist". Anyone has the same problem?

@gabrymed I'm trying to find out the same thing.

I spent a night with claude sonet and fixed this and some other stuff. Have look at
https://github.com/dingausmwald/circle-sensor-card

I spent a night with claude sonet and fixed this and some other stuff. Have look at
https://github.com/dingausmwald/circle-sensor-card

Can confirm it works! Great job! Thanks a lot!
How was the experience using sonet for help? I am curious

One Word.
Awesome
tried new vscode with multifile editing, copilot set to sonet first, was impressed, but a bit slow, maybe the copilot trial. Payed 20 for 500 cursor credits and finished projects in days i was dreaming of for years. Small ones ofc. Haven't really coded since finished studying.
Cursor is buggy some times, vscode too. You have to look out and make backups, test every change and feed the ai with error logs. But its nothing else than breath taking when you say you want this feature and it writes code over multiple files at the same time, a bit like in the matrix movie. For complex features its rarely first hit, its back and forth 3 or 5 times, like in real life. After some time you see when things go wrong. +100 line code for small changes. 50 lines code gone for another feature. Thats when the ai goes crazy. I had to teach mine early to not implement features i did not ask for. Its still rebellious though. That is how this escalted to 650 lines of code (it was at 240 i believe). I just wanted an icon. The ai said: how about a rotation animation and some more features like color stops, shadows, this and that. And i said ouuu...fcourse


Avoid recalculating the default msbuild settings.

In https://github.com/microsoft/vcpkg/pull/28189/, docs changes to migrated to https://github.com/microsoft/vcpkg-docs/pull/21, but these port changes simplifying to the defaults were left behind. @LilyWangLL suggested separating things out to a separate PR.

Please make sure if/when this is merged that:
Co-authored-by: Lily Wang<EMAIL_ADDRESS>
remains because Lily did lots of work here.


Add pigletfly(Wang Bing) as a sig-docs-zh-reviewer

I'd like to provide my reviews for Chinese translation docs.
/cc @zacharysarah @markthink

@pigletfly You don't have to become a member of reviewers to provide your reviews. When you have many high-quality reviews in the community, you will receive an invitation to the group. Thanks ahead for your contributions.

@pigletfly @bradtopol was right, although we have documented criteria for this, there are exceptions sometimes.


ReportingCommand not compatible with python 3

I'm using a virtual env (similar to how Splunk Scientific Computing app does) to develop Python 3 applications whilst Splunk is still running Python 2.
The splunk-sdk-python says:

The Splunk SDK for Python requires Python 2.7+, including Python 3. The Splunk SDK for Python has been tested with Python v2.7 and v3.5.

However, I don't think this is true for ReportingCommand search commands. Any reporting command with a def map(): function with @Configuration() decorator gives the following error:
f = vars(command)[b'map']   # Function backing the map method
KeyError: b'map'

Which references this line:
https://github.com/splunk/splunk-sdk-python/blob/07278fafb1bef8b65638c2662d8962ecdf35326f/splunklib/searchcommands/reporting_command.py#L256
Tests
Testing shows that the b'map' byte string indexing is not compatible with Python 3.
class Test():
    def map():
        pass

vars(Test)[b'map']

print('Done!')

Python 3
➜ python --version & python decorator_test.py

Python 3.5.7

Traceback (most recent call last):
  File "decorator_test.py", line 5, in <module>
    vars(Test)[b'map']
KeyError: b'map'

Python 2
➜ python --version & python decorator_test.py
Python 2.7.9
Done!

Thanks for the bug report @willbowditch, we're open to a PR but currently preparing for .conf and don't have the bandwidth to investigate this further.

@shakeelmohamed submitted a PR https://github.com/splunk/splunk-sdk-python/pull/276
Not familiar with the splunk-sdk but the patch seems to fix the example code here on my development build (Splunk 7.0.1): https://github.com/splunk/splunk-sdk-python/blob/master/examples/searchcommands_app/package/bin/sum.py

Fixed and closed per https://github.com/splunk/splunk-sdk-python/pull/276


[S2T]ImportError: cannot import name dataclass_transform

Any one install successful but run with error?
When I finished installation successfully with no error, I try to run [Punctuation Restoration]:
Command:   paddlespeech text --task punc --input 今天的天气真不错啊你下午有空吗我想约你一起去吃饭
Then, an error appear:
Traceback (most recent call last):
File "/home/lgx/anaconda3/bin/paddlespeech", line 8, in
sys.exit(_execute())
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/cli/entry.py", line 40, in _execute
exec("from {} import {}".format(module, cls))
File "", line 1, in
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/cli/text/init.py", line 14, in
from .infer import TextExecutor
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/cli/text/infer.py", line 29, in
from paddlespeech.text.models.ernie_linear import ErnieLinear
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/text/models/init.py", line 15, in
from .ernie_linear import ErnieLinear
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/text/models/ernie_linear/init.py", line 16, in
from .ernie_linear_updater import *
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/text/models/ernie_linear/ernie_linear_updater.py", line 24, in
from paddlespeech.t2s.training.extensions.evaluator import StandardEvaluator
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/t2s/init.py", line 18, in
from . import frontend
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/t2s/frontend/init.py", line 15, in
from .normalizer import *
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/t2s/frontend/normalizer/init.py", line 14, in
from paddlespeech.t2s.frontend.normalizer.normalizer import *
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/t2s/frontend/normalizer/normalizer.py", line 18, in
from paddlespeech.t2s.frontend.normalizer.numbers import normalize_numbers
File "/home/lgx/anaconda3/lib/python3.7/site-packages/paddlespeech/t2s/frontend/normalizer/numbers.py", line 17, in
import inflect
File "/home/lgx/anaconda3/lib/python3.7/site-packages/inflect/init.py", line 76, in
from pydantic import Field, validate_arguments
File "pydantic/init.py", line 2, in init pydantic.init
File "pydantic/dataclasses.py", line 52, in init pydantic.dataclasses
#   |
ImportError: cannot import name dataclass_transform
How can I fix it? thanks.

pydantic.dataclasses 没有安装吧

@zh794390558 这个包根本就没加到依赖项里面

$paddlespeech tts --input "你好，欢迎使用百度飞桨深度学习框架！" --output output.wav
Traceback (most recent call last):
File "/usr/local/bin/paddlespeech", line 8, in
sys.exit(_execute())
File "/usr/local/lib/python3.8/dist-packages/paddlespeech/cli/entry.py", line 40, in _execute
exec("from {} import {}".format(module, cls))
File "", line 1, in
File "/usr/local/lib/python3.8/dist-packages/paddlespeech/cli/tts/init.py", line 14, in
from .infer import TTSExecutor
File "/usr/local/lib/python3.8/dist-packages/paddlespeech/cli/tts/infer.py", line 33, in
from paddlespeech.t2s.exps.syn_utils import get_am_inference
File "/usr/local/lib/python3.8/dist-packages/paddlespeech/t2s/init.py", line 18, in
from . import frontend
File "/usr/local/lib/python3.8/dist-packages/paddlespeech/t2s/frontend/init.py", line 15, in
from .normalizer import *
File "/usr/local/lib/python3.8/dist-packages/paddlespeech/t2s/frontend/normalizer/init.py", line 14, in
from paddlespeech.t2s.frontend.normalizer.normalizer import *
File "/usr/local/lib/python3.8/dist-packages/paddlespeech/t2s/frontend/normalizer/normalizer.py", line 18, in
from paddlespeech.t2s.frontend.normalizer.numbers import normalize_numbers
File "/usr/local/lib/python3.8/dist-packages/paddlespeech/t2s/frontend/normalizer/numbers.py", line 17, in
import inflect
File "/usr/local/lib/python3.8/dist-packages/inflect/init.py", line 76, in
from pydantic import Field, validate_arguments
File "pydantic/init.py", line 2, in init pydantic.init
File "pydantic/dataclasses.py", line 41, in init pydantic.dataclasses
# +---------+-----------------------------------------+
ImportError: cannot import name dataclass_transform


[Dropdown] Margin applied on Label tag in Dropdown without a label

Describe the bug
The div tag for label in Dropdown has marginBottom applied even if there is no label
Expected behavior
Styles to the label container should not be applied if the label is not present
Screenshots

Hi there. The label is required for accessibility purposes. You cannot have any form fields without a label.


Fix circadian-activate-theme-behavior

Schedule to correct time when called earlier than earliest theme, but at the same day. Fix for #25

@guidoschmidt humble ping, can you take a look at this? Seems like today I meet someone on reddit with the same issue

I'm experiencing the same issue. This is something that really needs fixing

Hey, thanks for setting up that PR, I'll try to have a look at it as soon as possible. tbh I haven't been actively working on the package for a while.


improve documentation

I'd suggest to improve documentation adding a "getting started" section and some examples explaining how to use this library :)

Hi, thanks for your interest in this project! I set up the documentation at this link https://lychrel.readthedocs.io, as a first step it covers only the function lychrel.is_lychrel_candidate(), more to follow.


fix slipping move_and_slide() on moving platform when stop_on_slope is true

Stopped KinematicBody has slipping on moving floor in spite of stop_on_slope in move_and_slide_with_snap() is true. This is because the stopping KinematicBody can't pass slide check as follows. It is related to #30311.

Vector3 KinematicBody::move_and_slide() in physics_body.cpp
if (p_stop_on_slope) {
	if ((body_velocity_normal + up_direction).length() < 0.01 && collision.travel.length() < 1) {

so you can fix it as follows
Vector3 KinematicBody::move_and_slide() in physics_body.cpp
Vector3 body_velocity = p_linear_velocity;
Vector3 body_velocity_normal = body_velocity.normalized();

to
Vector3 body_velocity = p_linear_velocity;
Vector3 body_velocity_normal = (body_velocity + floor_velocity).normalized();

But this stuff doesn't matter, so there is a more fundamental problem. Prease pretend you didn't see the fix above.

KinematicBody has slipping on moving slope floor in spite of stop_on_slope in move_and_slide_with_snap() is true. This is because floor_velocity will pass to move_and_collide()  in move_and_slide(). So I can guess there is that problem in PhysicsServer.

You can solve this problem with adding floor_velocity directly to global_transform as follows.
Vector3 KinematicBody::move_and_slide() in physics_body.cpp
// Hack in order to work with calling from _process as well as from _physics_process; calling from thread is risky
Vector3 motion = (floor_velocity + body_velocity) * (Engine::get_singleton()->is_in_physics_frame() ? get_physics_process_delta_time() : get_process_delta_time());

to
// Hack in order to work with calling from _process as well as from _physics_process; calling from thread is risky
float delta_time = Engine::get_singleton()->is_in_physics_frame() ? get_physics_process_delta_time() : get_process_delta_time();
Vector3 motion = body_velocity * delta_time;
if (floor_velocity != Vector3()) {
	Vector3 floor_motion = floor_velocity * delta_time;
	Transform gt = get_global_transform();
	gt.origin += floor_motion;
	set_global_transform(gt);
}

Immediately after, the KinematicBody will check colliding with using body_velocity and move_and_collide(), so there is no extreme stuck. However, if move_and_collide() needs velocity: body_velocity + floor_velocity in the future, we need to rethink the PhysicsServer behavior while retaining the original logic.
I sent PR, but if you don't like this behavior, we could simply add an option to not calculate floor_velocity in move_and_slide() and leave it to the user how to apply floor_velocity.
Anyway, I think it's debatable.
kinematic_test.zip

I rollback 2D floor_velocity calculation. And behavior that "floor_velocity adding to global_transform" will apply when stop_on_slope is true.
stop_on_slope is fictional than real physics so I think slipping are more problematic than extreme cases penetration. If you want precise physics on slope, BulletPhysics may be implement friction. But current BulletPhysics is not so precise, an object on the moving slope will collide the slope and floor_velocity will apply with minute error. So, it is simpler solution than renovate BulletPhysics extensive.

To reiterate, this is not a good solution, because:

This PR will result in no collision detection being performed for the motion (change in position) provided by the moving platform. In the example, all the lateral motion is provided by the moving platform. If the change in position results in a collision it will not be detected.

Aside from the problem that the KinematicBody may sometimes teleport through a thin wall, the main problem with this PR is that move_and_slide()'s call to move_and_collide() will not return a KinematicCollision object for the "wall", because no movement is attempted in that direction.
Further to my analysis of #30311, and as @TokageItLab has rightly identified, stop_on_slope is a hack to bypass physics, and was created because users expect slopes to not be slippery. It really only works with simple controllers (like used in the example project provided with this PR), and it causes unwanted side-effects on moving platforms (as #30311 identified).
I don't think trying to trick stop_on_slope, into working, as this PR (and others) are effectively attempting to do, is the right approach. Rather stop_on_slope (and maybe even moving platforms) should be replaced with move_and_slide() sliding taking the Physics Material Friction into account. Probably as part of https://github.com/godotengine/godot-proposals/issues/1384.

It's certainly not a good approach and I recognize that this PR is a cop-out. The best approach is to remove the stop_on_slope and prevent slippage by correct calculation with the friction coefficient as @madmiraal say right.
But I don't think it's also a good thing to keep slipping until the implementation of that correct calculation.  If you want to avoid such tricks in your engine, we can add option of disable the floor_velocity calculation. So that users can use the tricks and make their own games.

Finally, as I wrote at the first, I add a floor_velocity into the body_velocity_normal to make the stationary object pass the stop_on_slope check on moving floor. This check problem is independent of whether the ground is a slope or not.
And, I added an option called floor_velocity_amount that changes the amount of floor_velocity applied to motion. If floor_velocity_amount is 0, we can to use trick that add floor_velocity  to global_transform directly in GDScript. So it acts as a friction coefficient with the moving floor until the KinematicBody node can make use of the friction coefficient. However, if we can say this PR is trick, we can also say stop_on_slope is trick too.

Superseded by #51457. Thanks for the contribution nonetheless!


Mikrotik device tracker could not be set up, after update

Home Assistant release with the issue:
Home Assistant 0.98.2
Last working Home Assistant release (if known):
Home Assistant 0.97.2
Operating environment (Hass.io/Docker/Windows/etc.):
Debian + Hass.io
Component/platform:
device_tracker
Description of problem:
After Update to 0.98.2, the device tracker stop working. Nothing changed in the config.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
# network devices
device_tracker:
  - platform: mikrotik
    host: <IP_ADDRESS>
    username: smarthome
    password: !secret router_password

Error message:
Invalid config
The following components and platforms could not be set up:
mikrotik
mikrotik.device_tracker
Please check your config.

From the release notes:
The Mikrotik device tracker integration is now a component (hub) with a device tracker platform. If you have a device_tracker section where mikrotik is a platform in your configuration.yaml you will need to move it to the hub config section for mikrotik and make sure you follow the new config format.
Release notes: https://www.home-assistant.io/blog/2019/08/28/release-98/
Integration documentation: https://www.home-assistant.io/components/mikrotik/

thanks for fast reply

No problem!


Update requirements.txt

Coverage remained the same at 76.319% when pulling 9551f4ce03550b73935d0b388878d3ec349f3dc4 on aeon_venos_update into 6ba83bb14741d885232db273fbe2d35d45ab4e70 on master.


Added DPLL and WalkSAT sections

Added explanation of DPLL algorithm
Added explanation of WalkSAT algorithm
Briefly explained computationally effective propositional model checking
Added example usage of DPLL and WalkSAT algorithms
Briefly outlined differences in computational efficiency
Updated README.md

Looks good!


feat(frontend-canister): canister-side evidence computation

Description
Add compute_evidence asset canister method, callable with Prepare permission.  It must be called over and over until it completes, which it will indicate by returning Some(evidence).
Fixes https://dfinity.atlassian.net/browse/SDK-966
How Has This Been Tested?
Added an e2e test to verify ACL requirements, and unit tests.
Checklist:

[x] The title of this PR complies with Conventional Commits.
[x] I have edited the CHANGELOG accordingly.
[ ] I have made corresponding changes to the documentation.

LGTM. Good set of tests. What does changing the number of iterations do? I didn't notice a test that alters this variable.

Changing max_iterations limits how many times compute_evidence() will advance the evidence computation before saving its place and waiting for a subsequent call.  For example, evidence_with_set_single_chunk_asset_content() (go to tests.rs and "Load Diff" to jump to line) first calls compute_evidence with max_iterations=Some(3), and gets a result of None, meaning the computation did not complete.  It then calls compute_evidence again with max_iterations=Some(1), which is just enough to complete the computation, returning Some(_).


Feature Request: Allow grouping by 2 or 3 when displaying TOTP codes

Allow the user to set whether the groupings for the TOTP codes are grouped by 2 or by 3.  Currently you allow for: XXX YYY, I'd like to see the option for XX YY ZZ.

I've added support for this & submitted an update to Fitbit. It should be available in the next few days!

Thanks for adding this feature in the latest version (v1.2.1).


runtime/cgo: bad debug_frame entry for crosscall2

go version go1.9rc1 linux/amd64

go env:
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/a/n/go/"
GORACE=""
GOROOT="/usr/local/go19rc1"
GOTOOLDIR="/usr/local/go19rc1/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build839946921=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

The debug_frame entry for crosscall2 is wrong in any cgo program.
This is crosscall2:
  asm_amd64.s:12	0x457cc0		4883ec58		SUBQ $0x58, SP
  asm_amd64.s:16	0x457cc4		48895c2418		MOVQ BX, 0x18(SP)
  asm_amd64.s:17	0x457cc9		48896c2420		MOVQ BP, 0x20(SP)
  asm_amd64.s:18	0x457cce		4c89642428		MOVQ R12, 0x28(SP)
  asm_amd64.s:19	0x457cd3		4c896c2430		MOVQ R13, 0x30(SP)
  asm_amd64.s:20	0x457cd8		4c89742438		MOVQ R14, 0x38(SP)
  asm_amd64.s:21	0x457cdd		4c897c2440		MOVQ R15, 0x40(SP)
  asm_amd64.s:57	0x457ce2		48893424		MOVQ SI, 0(SP)
  asm_amd64.s:58	0x457ce6<PHONE_NUMBER>		MOVQ DX, 0x8(SP)
  asm_amd64.s:59	0x457ceb		48894c2410		MOVQ CX, 0x10(SP)
  asm_amd64.s:61	0x457cf0		ffd7			CALL DI
  asm_amd64.s:64	0x457cf2		488b5c2418		MOVQ 0x18(SP), BX
  asm_amd64.s:65	0x457cf7		488b6c2420		MOVQ 0x20(SP), BP
  asm_amd64.s:66	0x457cfc		4c8b642428		MOVQ 0x28(SP), R12
  asm_amd64.s:67	0x457d01		4c8b6c2430		MOVQ 0x30(SP), R13
  asm_amd64.s:68	0x457d06		4c8b742438		MOVQ 0x38(SP), R14
  asm_amd64.s:69	0x457d0b		4c8b7c2440		MOVQ 0x40(SP), R15
  asm_amd64.s:72	0x457d10		4883c458		ADDQ $0x58, SP
  asm_amd64.s:76	0x457d14		c3			RET

The debug_info entry:
 <1><169bb>: Abbrev Number: 2 (DW_TAG_subprogram)
    <169bc>   DW_AT_name        : crosscall2
    <169c7>   DW_AT_low_pc      : 0x457cc0
    <169cf>   DW_AT_high_pc     : 0x457d15
    <169d7>   DW_AT_frame_base  : 1 byte block: 9c      (DW_OP_call_frame_cfa)
    <169d9>   DW_AT_external    : 1
 <2><169da>: Abbrev Number: 0

the debug_frame CIE:
00000000<PHONE_NUMBER>000010 ffffffff CIE
  Version:               3
  Augmentation:          ""
  Code alignment factor: 1
  Data alignment factor: -4
  Return address column: 16

  DW_CFA_def_cfa: r7 (rsp) ofs 8
  DW_CFA_offset_extended: r16 (rip) at cfa-8
  DW_CFA_nop

and the debug_frame entry for crosscall2:
0000b4d4<PHONE_NUMBER>00001c 00000000 FDE cie=00000000 pc=0000000000457cc0..0000000000457d15
  DW_CFA_def_cfa_offset_sf: 8
  DW_CFA_advance_loc1: 84 to<PHONE_NUMBER>457d14
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop

the cfa offset is 8, it should be 0x58 + 0x8 after the first instruction.

Brief investigation:
.debug_frame is generated from FuncInfo.Pcsp, which is populated in linkpcln using pctospadj, which reads Spadj from Progs, which is populated by the CPU-specific assembler, mostly in preprocess. For X86, it understands explicit push/pop instructions, but not the SUBQ ..., SP that crosscall2 does. I don't know enough assembly to fill a full list of every instruction that could be used to manipulate the stack pointer, but it seems straightforward to fix this specific case for x86 at least.

I see that crosscall2 is defined in src/runtime/cgo/asm_*.s, why do all of them do the SUB manually instead of declaring a frame size in the TEXT header? I can see why the one for amd64 would do that (because it has different frame sizes on windows and linux) but why do all the others do it too?

There is probably no special reason.  It's probably worth trying setting up the frame in the TEXT pseudo-op.

More notes from the clueless (me):
A naive attempt at this fails because the assembler doesn't like unbalanced stack operations, and there are a few functions in the runtime that aren't balanced, like runtime.rt0_go which doesn't bother cleaning up because it never returns. These are fixable, sort of, though it's sort of weird to cater to the subset of instructions I've bothered implementing. We could also just disable the error.
Either way, it points to a bigger question: how realistic is it to expect the assembler to figure this out for an arbitrary function? For example, asmcgocall is switching to the system stack before making a cgo call. I presume the assembler can't automatically generate the right information for something that weird.
It seems that GNU as has directives for emitting call frame information. Without implementing something like that, and using it everywhere, it seems unlikely we'll ever emit perfect .debug_frame information for assembly functions.
@aarzilli: Can you explain a little more why you need this? If all you're trying to do is unwind the stack, aren't the frame pointers supposed to be enough?

Frame pointers would be enough if there was no FDE for crosscall2.

Without implementing something like that, and using it everywhere, it seems unlikely we'll ever emit perfect .debug_frame information for assembly functions.

True, but crosscall2 isn't weird like asmcgocall.

True, but crosscall2 isn't weird like asmcgocall.

Sure. But it may show up in a stack trace Delve cares about, e.g. a program that goes Go -> C -> Go, which isn't unheard of. So I think it pays to worry about it.
Dropping the FDEs for assembly functions feels a lot safer and more future-proof than trying to massage debugger-relevant functions to fit into the subset that the assembler understands. Let me see how that would work.

That seems like a bit of a overreaction. Most assembly functions are called on goroutine stacks and therefore need to have correct unwind information, otherwise the garbage collector wouldn't work. Even asmcgocall and cgocallback_gofunc are correct at their safe points as long as you limit the unwind to the goroutine stack.
crosscall2 is getting away with being wrong because it lives on the cgo stack only.

Fixed?

The other architectures matters too, yes.

The x86 fix does not apply to the other architectures, because the assembly in crosscall2 needs to behave like a C function, and using the standard TEXT-induced prologue makes the code behave like a Go function. Those happen to be close enough to the same on x86, but they are not on the other architectures (they differ in where the link register is saved, for example).
I am not convinced this bug is worth fixing on the other architectures. Why does crosscall2's debug info need to be correct at all?

If there is anything left for the other architectures, it will need to happen in a future cycle. (One option would be to add a NODEBUG bit that disables generation of debug info for a function.)

Why does crosscall2's debug info need to be correct at all?

I was trying to get delve to print stacktraces "correctly" when the stack contains cgo calls (here "correctly" means "matching the programmer's model").
Having a bad debug_frame entry for crosscall2 was a problem because I couldn't walk the crosscall2 frame and get to the runtime.asmcgocall frame.
I don't think other architectures are a priority since delve doesn't support them and other debuggers aren't in a position to take advantage of it anyway.

As far as I am concerned it can go under an 'unscheduled' tag instead of 1.11.


Layered object (transparent layer) not rendering properly in PDF.JS

This is what it looks like in Acrobat

This is what the PDF looks like in PDF.JS

You can see that behind the ALWAYS OPEN letters, there is a missing transparant layer.
Here is a copy of the PDF
http://www.salmizar.com/files/pdfJSTransparancyIssue.pdf
I have confirmed the issue on v1.0.921

Fixed by PR #13361


[Fixit] Storage and Encryption

Pull Request Template
PR Size
PR contains 900 lines of fakes and 500 lines of tests so effective PR size is about +750/-XX
Motivation
Certain improvements in the storage layer and in the encryption/decryption flows:

Encapsulate encryption/decryption in storage layer as separate "sub-layer" - separate "repository decorator" called encrypting repository wraps the actual repository in sm.go and takes care of encryption/decryption
Storage takes care of encrypting and decrypting, storage always returns decrypted credentials if obj is Secured so that interceptors can later on (if required) use these credentials
Remove KeyFetcher, KeySetter
Second Layer Encryption key is fetched just once and reused afterwards instead of being refetched on each op
remove Security() methods from storage; embedd Security as Secured to be storage native
Create now returns the whole created object instead of just id
Remove Registry interface from health and make it a struct

Pull Request status

[x] Initial implementation
[x] Refactoring
[x] Unit tests
[x] Integration tests

Coverage increased (+0.3%) to 89.077% when pulling 78e57d1132823091252f5171b1d34c64c4d1965f on fixit-storage/encrypt into 098d2e661440af7e8d7eb638abd0fbdaa808355d on master.


rocketchat-desktop: added wrapGAppsHook

Motivation for this change
I've faced crash when trying to open file explorer menu to attach files to conversation: GLib-GIO-ERROR No GSettings schemas are installed on the system.
Things done
Adding wrapGAppsHook to nativeBuildInputs fixed crash.

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

3.6.0 version has been just released, I will update this PR shortly


Improvements to command routing

This PR:

Introduces two new types DispatchedCommand and DispatchedEvent
Alters CommandRouted to use DispatchedCommand.
Migrates to new version of Testutil.

The Spine version was advanced to 0.10.50-SNAPHOT.

@armiol, PTAL.


Urban Sound Analysis - Sound Classification

Pull Request for DL-Simplified 💡
Issue no -#963
Issue Title :

Info about the related issue (Aim of the project) :
Name: Simran Shaikh
GitHub ID: https://github.com/SimranShaikh20
Email ID<EMAIL_ADDRESS>**Idenitfy yourself:  GSSOC Extd 2024

Describe the add-ons or changes you've made 📃
I have added folder with all mandatory files to main branch
Give a clear description of what have you added or modifications made
Type of change ☑
Add project for urban sound analysis and classification
Example how to mark a checkbox:-

[x] My code follows the code style of this project.
-->
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
Describe how have you verified the changes made
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@abhisheks008  kindly review my PR and merged !
if there is any conflicts let me know about it .

@abhisheks008  added entire project based on above formet !
kindly review it and merged !

Please re-arrange the files according to the project structure,
Project Folder
|- Dataset
   |- dataset.csv (dataset used for the particula project)
   |- README.md (brief about the dataset)
|- Images
   |- img1.png
   |- img2.png
   |- img3.png
|- Model
   |- project_folder.ipynb
   |- README.md
|- Web App
   |- templates
   |- img3.png
|- Model
   |- project_folder.ipynb
   |- README.md
|- requirements.txt

Project folder name should be, Urban Sound Classification using Deep Learning

Suggestion for above format you must include this format in repo so that new contributor  able to know how to add file with particular format
this will save your time as well as contributor time becoz once we upload file then again we have to change entire format this take more time !
@abhisheks008 if you permits i will create new for this
Issue description - Format to contribute in project

@abhisheks008  for that you have to provide my format for all type contirbution !

@abhisheks008 !

Cool then create a new issue and put the project structure in the project repository's README.
For this pull request give me some time, I'll review it ASAP.
@SimranShaikh20

@abhisheks008  for that you have to provide me format for all type contirbution !

For every contribution here in this project repository contributors have to follow the same project structure as the issues are mainly project based.


Why does Listing#variations require secure?

https://github.com/kytrinyx/etsy/blob/master/lib/etsy/listing.rb#L145
def variations(options={})
  options.merge!(:require_secure => true)
  self.class.get_all("/listings/#{id}/variations", oauth.merge(options))
end

Is there any reason for this to have the require_secure parameter set? It seems to work without it.
irb(main):093:0> listing = Etsy::Listing.find('193989447')

irb(main):094:0> listing.variations
RuntimeError: Secure connection required. Please provide your OAuth credentials via :access_token and :access_secret in the parameters

irb(main):109:0> Etsy::Listing.get_all("/listings/#{listing.id}/variations", listing.send(:oauth)).flat_map { |l| l.result.fetch('options').map { |v| v.fetch('value') } }
=> ["A4 (21 x 29.7cm)", "A3 (29.7 x 42cm)"]

Thanks.

I think this could be related to https://github.com/kytrinyx/etsy/issues/107 and https://github.com/kytrinyx/etsy/pull/108 ?

@kaoru I'm not sure. For a while listing variations were coming back empty, and I seem to recall that adding oauth to the call caused the variations to come back, but it's been a while and I don't recall the details.
If it now works without it I'd gladly accept a change that removes the secure requirement.

@kytrinyx cool, I'll see if I can write up a pull request for you :+1:
Sadly my Etsy app is "waiting for approval" so until the folks over at Etsy can approve it this is probably going to wallow near the bottom of my priority list :smile:

@kaoru Totally understand. Since I no longer have any Etsy apps, this tends to wallow at the bottom of mine as well :heart:


[6.0] Implement proper visibility rules for imported extensions

Resolves rdar://16154294

@swift-ci please test


Estimated Delivery Date

Is there a way to add our shops processing time to the delivery date calculated by the flagship plugin in order to provide the customer with a more accurate delivery estimate?
Thanks.

Thank you for pointing this out! We are working on it to find a better solution.

Since different customers have different needs for the transit time that might or might not be shown in the shopping cart, it is difficult for us to come up with a solution for "adding extra days" to the transit time. What we did in our latest release (2.0.10) is adding a checkbox in the our plugin settings in each shipping zone. If the "show transit time" checkbox is checked, transit time for each shipping service will be shown. Otherwise, transit time will not be shown. Hopefully this new feature can work better for your team.


updating translation-helps package

updating translation-helps package to 3.3.4-rc.3

Closing this branch because it's not updated to the latest.


SSI on real data

[x] Add small catalogs to the data folder
[x] Perform SSI on real data
[x] clean workflow
[x] scale up the simulations

@mpaillassa looks good to me! Let's merge this PR?

Yes I think we can merge this !

The additional changes you made look good to me !

Great I will merge this then!
I removed the hard-coded data path so that we can use the same code from different folders (eg. the notebooks and the scripts can now work with the same code)


Potential rtl error in xirq

When downloading and synthesising the most recent version of the neorv32, I run into a synthesis issue. Specifically this line was causing an error with the bit widths:
https://github.com/stnolting/neorv32/blob/ee3d50d1727636a30d1c9aba14e814e0e470cb09/rtl/core/neorv32_xirq.vhd#L202
I had a look at the commit history and found that it was changed from:
https://github.com/stnolting/neorv32/blob/ce00df54a82597b6104658114ea2e5ef243e3908/rtl/core/neorv32_xirq.vhd#L204
After replacing it with the following line, the design synthesised and worked.
irq_source_nxt(index_size_f(XIRQ_NUM_CH)-1 downto 0) <= std_ulogic_vector(to_unsigned(i, index_size_f(XIRQ_NUM_CH)));

I believe this might have been a simple mistake.

 Seems like I made a typo there... 🙈 Thanks for discovering this bug!


[EventRequest] Codeunit 80 - OnBeforeRun

Hi, We need a new event in codeunit 80 with which we can implement additional checks and, if necessary, prevent further execution of the code:
trigger OnRun()
var
    ....
    ShouldNotRun: Boolean;
begin
    OnBeforeRun(Rec, SuppressCommit, PreviewMode, HideProgressWindow, ShouldNotRun);
    if ShouldNotRun then
        exit;
    OnBeforePostSalesDoc(Rec, SuppressCommit, PreviewMode, HideProgressWindow);
    ....
end;

The new event should look like this:
[IntegrationEvent(false, false)]
local procedure OnBeforeRun(var SalesHeader: Record "Sales Header"; var PreviewMode: Boolean; var CommitIsSupressed: Boolean; var HideProgressWindow: Boolean; var ShouldNotRun: Boolean)
begin
end;

We already have this event
    IsHandled := false;
    OnBeforePostSalesDoc(Rec, SuppressCommit, PreviewMode, HideProgressWindow, IsHandled);
    if IsHandled then
        exit;

Hi @AlexanderYakunin,
Thank you very much for your answer. I have taken a look at the codebase of NAV19 CU8 and higher versions. Unfortunately, I can't find the customisation you describe. In which cumulative update will this adaptation be delivered?

You should use preview build for v.21 or August CU for v.20. We do not implement events in v.19 since April release.


Debug toolbar not always updating to reflect debug state

Issue Type: Bug
This seems to be nondeterministic, but today I've now had this happen 4 times. 3 of those times, when I was debugging something, I used the "Stop" button in the debug toolbar, and the debug viewlet immediately updated state, but the toolbar remained open. It did eventually disappear, but it was after significant delay, maybe more than 30 seconds. The last time, I was paused on a breakpoint, and the call stack view reflected this, but the debug toolbar showed the opposite.
Please let me know if there's an logs I can collect to help narrow down the issue! This has been happening the vscode-pull-request-github and vscode repo.
VS Code version: Code - Insiders 1.53.0-insider (7b0cfdd04ad530a9c8d782c618afd79290be3d64, 2021-01-27T08:57:30.935Z)
OS version: Darwin x64 19.6.0

Thanks for creating this issue.
I have fixed a "somewhat" similar bug 30 minutes ago. In order to know if it is the same bug: does you application have some deemphasize stack frames (they appear grayed out in the CALL STACK)? If answer is yes -> please wait for next Insiders and it should be fixed, if not let me know.
If your application does not have any "grayed out" stack frames, then is it possible that I just clonse the repo and try to reproduce on my own?
If not, we can also involve Connor. But maybe you first answer the first question.

Thanks for creating this issue.
I have fixed a "somewhat" similar bug 30 minutes ago. In order to know if it is the same bug: does you application have some deemphasize stack frames (they appear grayed out in the CALL STACK)? If answer is yes -> please wait for next Insiders and it should be fixed, if not let me know.
If your application does not have any "grayed out" stack frames, then is it possible that I just clonse the repo and try to reproduce on my own?
If not, we can also involve Connor. But maybe you first answer the first question.

Closing in favor of since that one is older https://github.com/microsoft/vscode/issues/115254

Closing in favor of since that one is older https://github.com/microsoft/vscode/issues/115254


Update MAINTAINERS

Apply for maintainership.

@typeless can you post your discord username here (or email me at<EMAIL_ADDRESS>so I can give you the appropriate permissions? Also watch for an email from github with an invite to the gitea org :)

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4bc4acd). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #7896   +/-   ##
=========================================
  Coverage          ?   41.42%
=========================================
  Files             ?      478
  Lines             ?    63944
  Branches          ?        0
=========================================
  Hits              ?    26486
  Misses            ?    34009
  Partials          ?     3449

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 4bc4acd...e34e395. Read the comment docs.

@techknowlogick typeless#8123. Thanks.


[SDP] Update docs to support the Circle use case

What

[x] Update GET /disbursements:

{
  "name": "Stellar Aid",
  "logo_url": "https://stellar-disbursement-platform-backend-dev.stellar.org/organization/logo",
  "distribution_account": {
    "address": "GCXAJ3XJ3VK3JFH3QMDFOSKM2NMMZBSO3VIT6EUPQWSDW2J74M23RRSL",
    "type": "DISTRIBUTION_ACCOUNT.STELLAR.DB_VAULT",
    "status": "ACTIVE"
  },
  "distribution_account_public_key": "GCXAJ3XJ3VK3JFH3QMDFOSKM2NMMZBSO3VIT6EUPQWSDW2J74M23RRSL",
  "timezone_utc_offset": "+00:00",
  "is_approval_required": true,
  "sms_resend_interval": 5,
  "payment_cancellation_period_days": 5,
  "privacy_policy_link": "https://stellar.org/privacy-policy",
  "sms_registration_message_template": "You have a payment waiting for you from {{.OrganizationName}}. Click {{.RegistrationLink}} to register.",
  "otp_message_template": "{{.OTP}} is your {{.OrganizationName}} phone verification code."
}

[x] Add GET /balances docs:

{
  "account": {
    "address": "GCXAJ3XJ3VK3JFH3QMDFOSKM2NMMZBSO3VIT6EUPQWSDW2J74M23RRSL",
    "type": "DISTRIBUTION_ACCOUNT.STELLAR.DB_VAULT",
    "status": "ACTIVE"
  },
  "balances": [
    {
      "asset_code": "USDC",
      "asset_issuer": "GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5",
      "amount": "100.00"
    }
  ]
}

[x] Update http://localhost:8003/tenants by adding the missing signer type field that is now necessary.
[ ] Add PATCH /organization/circle-config:
[ ] Update the GET /payments and GET /payments/:id response payloads by including the new field circle_transfer_request_id
[ ] General Circle setup and information

[ ] Make it clear that Circle is an option, despite the throughput being smaller
[ ] How to configure it
[ ] Add some screenshots

Why
To reflect the changes done for Circle support.


fix : minor fixes for LMS integration - GSoC'21 Ayan Biswas

Describe the changes you have made in this PR -
fix: spec lti helper removed
fix : extra space added in lti open in cv

Coverage remained the same at 82.472% when pulling 923880979aedd5041b12c7f71d18e8c6237ce928 on ayan-biswas0412:lti_minor_fix into cbe8ee658fa9f8c222b7ca00c48c398ccdd86a46 on CircuitVerse:lms-lti.