Error resolving authority - Unable to request agent forwarding

getting the following issue at connecting to remote
[Info  - 18:44:55.95] Resolving ssh remote authority 'ssh-remote+remote-server' (attemp #5)
[Trace  - 18:44:55.194] Identity keys:
~/.ssh/id_rsa-key ssh-rsa SHA256:<sha256 hash>
[Info  - 18:44:55.492] Trying no-auth authentication
[Info  - 18:44:55.534] Trying publickey authentication: ~/.ssh/id_rsa-key ssh-rsa SHA256:<sha256 hash>
[Trace  - 18:44:55.874] Server install command:

# Server installation script

[... cut out from log ...]

[Error  - 18:44:57.304] Error resolving authority
Error: Unable to request agent forwarding
	at ~/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.25-universal/out/extension.js:1:126516
	at CHANNEL_FAILURE (~/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.25-universal/out/extension.js:1:138149)
	at 100 (~/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.25-universal/out/extension.js:1:293298)
	at e.exports.x (~/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.25-universal/out/extension.js:1:154321)
	at x.decrypt (~/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.25-universal/out/extension.js:1:247473)
	at e.exports.H [as _parse] (~/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.25-universal/out/extension.js:1:153845)
	at e.exports.parse (~/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.25-universal/out/extension.js:1:157648)
	at Socket.<anonymous> (~/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.25-universal/out/extension.js:1:139446)
	at Socket.emit (node:events:526:28)
	at Socket.emit (node:domain:475:12)
	at addChunk (node:internal/streams/readable:315:12)
	at readableAddChunk (node:internal/streams/readable:289:9)
	at Readable.push (node:internal/streams/readable:228:10)
	at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

ssh config as reference
## SSH-Keys Available only while connected
ForwardAgent yes

## SSH-Keys are retained by the host ssh-agent
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa-key
Hostname <ip>

Log is similar to this, but not quite the same.
To note:

There is the MS Remote Containers Server running as well, so I mostly think this is the culprit.

Particularly think so with this response
It would be ideal if I could run them alongside each other, or use this with the proprietary server...

Running on fedora, remote is ubuntu, so dependency stuff should be sorted (not alpine)
"enable-proposed-api": ["jeanp413.open-remote-ssh",] set up

@atharen could you try the following:

does it work if you disable agent forwarding?
connect to the remote machine from a terminal and kill any running vscodium/vscode server process, does it work after this?
currently the extension does not support AddKeysToAgent option, could you try manually adding your key to the agent first using ssh-add and try again

There is the MS Remote Containers Server running as well, so I mostly think this is the culprit.

There shouldn't be a problem if you also have the official sever installed too as they both run in different ports, the linked comment was related if the vscodium server (from the same installation) was already running

Oh just set FowardAgent no and it worked.
In hindsight it seemed obvious, but nonetheless appreciated.
Closing the issue as resolved...


Webinar n°2: Pyleecan Advanced - Part 1: Optimization

Dear All,
Do you have an updated version of Webinar n°2: Pyleecan Advanced - Part 1: Optimization
I want to understand more about the simulation capabilities.
Can you please share the updated document?..
Regards,
Harish

Hello,
We haven't done a second edition of the webinar and we haven't maintained the notebook as they were mostly duplicate of existing tutorials. So there is no "updated document" regarding these webinars.
For the state of the package, you can have a look at the readme file or the home page of the website that were updated in September 2022. For feature added since, you can refer to the release note.
Best regards,
Pierre

Sure, Pierre. You are right I will have to spend some time to understand the updates and work on using them.
I have got the majority of the features/functionality developed( in a notebook) except simulations.
Further, I will keep you posted if I need any help with linking Pyleecan with Scilab/Xcos.
Regards,
Harish

Hello,
Yes don't hesitate to open a new issue if you have further questions.
Best regards,
Pierre


add type checking at build

Esbuild skips type checking for higher speed. It's ok to skip type checking in npm run dev. But it's strongly recommended to add type checking back in npm run build.
isolatedModules is also needed because of this.

Thanks, looks like a useful addition!


Fix getChangedFiles of GitClient

Summary
Fix the way the git status command is parsed from CLI so that the changed files get parsed correctly.
Changes Made
Move from string splitting to regex matching and tolerate both 1 or 2 spaces between git file mode and file name: It now tolerates both the format "M myfile.txt" as well as "A  new.swift" (git seems to use 2 spaces on my machine, but the system now also tolerates 1 (as I don't know if it worked with one space on another machine before)).
TODO
None.
Motivation
Make the correct file names appear in source control changes view (often included directories and many anomalies)
Testing
Look at the changes view in a test repo
Screenshots/GIFs
Checklist
Please ensure all of the following are completed before submitting the PR:

[X] Code has been tested and verified.
[ ] Documentation has been updated to reflect the changes.
[X] All tests pass successfully.
[X] Code follows the project's coding guidelines and style.
[X] The branch is up-to-date with the latest changes from the main branch.
[ ] Reviewed by at least one other contributor.

Related Issues
This PR addresses the following issue(s): None.
Additional Notes

@0xWDG How does this look, to me it looks fine but not to sure with the regex and splitting

It does look good to me, but the guard statements can be merged into one guard since they both throw the exact same error.

It does look good to me, but the guard statements can be merged into one guard since they both throw the exact same error.

Good catch!

@nanashili Should we bump to MacOS 13?
We're now targeting 12

This PR is being closed for the following reason stated below:
Due to the macOS target being increased and we don't plan on increasing it soon due to low requirements of macOS v13 features, this PR is considered not merge worthy at this point in time.
If the PR can make use of the current macOS build version then this PR will be reconsidered.

Alright, sorry for requiring that newer version. As a heads-up, it seems you at some point overwrote the minimum deployment target on the development branch (14.0), with 12.3 still on the main branch (that's why I didn't notice it). I think it would be helpful (also for other contributors) to update the development branch :)

Alright, sorry for requiring that newer version. As a heads-up, it seems you at some point overwrote the minimum deployment target on the development branch (14.0), with 12.3 still on the main branch (that's why I didn't notice it). I think it would be helpful (also for other contributors) to update the development branch :)

Do you perhaps know which commit caused this? Because from my knowledge we haven't switched to it yet we looked at it but there was no reason as of yet to upgrade.

Alright, sorry for requiring that newer version. As a heads-up, it seems you at some point overwrote the minimum deployment target on the development branch (14.0), with 12.3 still on the main branch (that's why I didn't notice it). I think it would be helpful (also for other contributors) to update the development branch :)

Do you perhaps know which commit caused this? Because from my knowledge we haven't switched to it yet we looked at it but there was no reason as of yet to upgrade.

It looks to me like 5d6e35f caused it.


Display Daily Volume

Anyone got any idea on how to display the daily volume for a coin on the coin list on the left instead of the last volume, daily volume would be much better so i can convert it to BTC like most other exchanges use.
Any help appreciated.

@jonn4y
you can probably use 24h volume from chart stats

@coinnetworkpw its pulled via API and its too slow, i have also tried calling the following inside exports.UpdateMarket = function() in the file markets.js
`let dailyVol = '0.0';
const WHERE = 'coin="'+unescape(coin.name)+'" AND time > ('+Date.now()+'-2436001000)';
console.log('before db call');
g_constants.dbTables['history'].selectAll('sum(fromSellerToBuyer) AS Volume', WHERE, 'GROUP BY coin', (err, rows) => {
if (err || !rows)
{
onError(req, res, err && err.message ? err.message : 'unknown database error');
return;
}
		if (rows.length)
		{
			coin['dailyVolume'] = (rows[0].Volume*1).toFixed(8);
			console.log('dailyVolume: '+coin['dailyVolume']);

		}

	 });`

it works BUT it outputs AFTER the rest of the code has been run so never includes the 24hr volume
if you have any ideas im all ears

@jonn4y
I'm not in my office now but from what I see maybe we can do it by using g_History24
const msgc = {coins: data};
g_History24 = msgc;
    // Broadcast to everyone else.
    const msgcString = JSON.stringify({request: 'market', daily: msgc});
    g_constants.WEB_SOCKETS.clients.forEach( client => {
        if (client.readyState === WebSocket.OPEN)
            try {client.send(msgcString);} catch(e) {client.terminate();}

And the call it with daily.volume1 insead of message.volume1 since its broadcasted to all
History24 will

@coinnetworkpw doing this would then not include all the data from
require("./trade").GetLastCoinHistory(rows[i]);
which is needed for turning fields red / green on trades etc
but i think you may be on to something.
i did try and run a for loop like:
let volume = 0; 		for (let key in g_History24)         {         	if (key == rows[i].name) {             	volume = g_History24[key].Volume*1;             	rows[i].dailyVolume = volume;             	console.log('ABCDEFG :coinName: '+rows[i].name+' VOLUME:'+volume);             }         }
so i could just pull the volume from g_History24 as it already has it stored but again the loop is too fast to get any info other than the last result from this for loop.
when you are in the office i would love to work with you on this if possible, my bet is a few people would like daily volume instead of last volume.

any updates on this? I too would like to see 24hour volume


async await generator triggers Chrome Web Store's Obfuscation violation

I have a Chrome extension that was first published to the Chrome Web Store in Feb 2020. A Typescript transpiled script was first published on Sep 20 2020. Prior to that, the script was packaged with webpack. On Oct 24 2020, Google disabled the extension for violating its Obfuscation policy (Red Titanium).
While Google did not identify the offending code, the most obfuscated code appeared to be the __generator function generated for the async/await pollyfill. I cannot be sure that the webpack boilerplate did not trigger the removal however, but I have published a new version without the __generator functions and will keep this issue updated.
The immediate workaround was to target es2017 to avoid transpiling async/await unto generators. Ideally though, I'd prefer to avoid having to add babel while still being able to target es3 because this script is also distributed as a userscript.

TypeScript Version:  3.9.7

Search Terms: typescript async await __awaiter __generator minify uglify obfuscate google chrome web store red titanium
Code
async function hello () {
  console.log('world');
}

Expected behavior: Human readable polyfills and let downstream minifiers/uglifiers do their jobs
Actual behavior:
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (this && this.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
function hello() {
    return __awaiter(this, void 0, void 0, function () {
        return __generator(this, function (_a) {
            console.log('world');
            return [2 /*return*/];
        });
    });
}

Playground Link: Provided
Related Issues: #14689

I believe these helpers are intentionally terse, for people who do not wish to use further build steps.
There are alternatives, like --importHelpers and --noEmitHelpers compiler options which would allow you (or your build tooling) to provide alternative implementations.

I don't really understand this issue and whether it's actionable. What would need to change for this code to be "acceptable"?

I mainly just wanted to track this as a use case and an issue for others that may stumble upon this, especially as I noticed that there was another related issue opened with the same ask but without a specific problem to address.
I'm honestly not sure how how this could be defined more objectively and less subjectively. At a minimum, I think replacing the single-character variable names may make it at least look readable, but who knows what kind of tools and metrics are being used to measure against that requirement.

I guess the workaround I'd suggest is just compile once in ES2020 and once in ES3 to have multiple builds. It's unfortunate that Google has no obvious means to reach out to appeal for any sort of exemption (e.g. no "Contact Us" link on that page).

@evmar @mprobst @TimvdLippe do any of you know if there's someone who could help in this case? Seems like there's some set of compiled output that the Chrome Web Store may want to consider as an exception to the current obfuscation checks.

@dotproto is the best point-of-contact.

Hey all, just wanted to pop in offer my two cents that seems like a mistake on our end. I'm going to reach out to the review after I post this to open a discussion about this issue and see if we can.
It has been a while since I last worked with typescript. Is it possible to set a compiler option to use JS's built in async support? One of my concerns is that Malicious actors may try to use something that looks like TS's awaiter and generator, but slips in a couple extra bits of code that allow for underhanded code execution (e.g. underhanded-c.org).

It is a possible workaround - @adamhwang can comment on the constraints on their end though.
In general though, the helpers are fairly stable, and can even be more-or-less baselined verbatim-ish against whatever's in https://github.com/microsoft/tslib.

@dotproto @DanielRosenwasser Thank you. That's the workaround we went with. By targeting es2017, we can utilize the built in js async/await support which should be fine for the chrome and other browser extensions. The drawback though is that we were using the same script as a userscript and a bookmarklet, which will have some reduced browser support


Badges Support

Please implement badges in MaterialDesignInXamlToolkit

@ruslanfedoseenko What are budges?

Ok, I give up!

https://github.com/google/material-design-lite/issues/708

Badges.  :)

:-D
It's already possible with the current available source and Xaml WPF language tools... 🎱

Sorry for my perferct english))
yeap i mean badges.

https://www.youtube.com/watch?v=VqomZQMZQCQ

Available in 2.3


bloop: add JAVA_OPTS support to bloop server

Motivation for this change
added JAVA_OPTS to allow settings java parameters to the server (such as Xss, Xmx etc). thought I could add it to your PR. No worries if you prefer to keep it separate - I can send a new PR once yours is merged :)
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

hmm, thought I'll escape it better. 1 moment - please don't merge yet

actually, seems like there is no other good way to escape it - given as it's read from env var... let me know if you can think of any, but it seems I'll have to leave it as is at least for now

Depends on what you aim to achieve. If it is ok to have a somewhat static config, you could add a parameter to the derivation and use it.
For example, for metals I do have javaOpts defined at the derivation level (https://github.com/NixOS/nixpkgs/pull/60336) which seem to work properly.
You could pull the extraJavaOpts and put them as derivation arguments so that they can be overriden by the nix configuration.

Hmm in my pr it leaves it configurable at runtime - I have a custom systemd unit file that starts it as a service - but just for the user

If applied at derivation level - I think it should be customisable by users - eg we cannot know what ram allocation they want to /can give to the java process.
Is it possible to override this config when installing via nix-env?

Hmm in my pr it leaves it configurable at runtime - I have a custom systemd unit file that starts it as a service - but just for the user

Note that services.bloop.install = true will install a systemd service at user level, not root level.

If applied at derivation level - I think it should be customisable by users - eg we cannot know what ram allocation they want to /can give to the java process.

I completely agree, but you can have configurable derivation parameters. (you can look for example at the polybar package where you can configure a few options)

Is it possible to override this config when installing via nix-env?

Probably but it would be a bit annoying to do.

I need a bit of time to think about it. My main problem with this way of doing thing is that we are getting further of the way bloop documents (https://scalacenter.github.io/bloop/docs/server-reference). Eg: -J-Xmx=256M.
So I'm wondering if we cannot go closer to the way bloop does thing on other systems and actually solve several problems at once.

That would be good but it doesn't look as easy.. Although maybe I'm wrong :) just had some problems starting the server via the bloop script - found it easier to just invoke the wrapped server script

I'm looking to it on the bloop-jvmopts branch. It looks possible, and I should even be able to fix a few other problems like making bloop server work.

Yup it does seem to work properly. I've added it to the current PR. It fixes many small problems

Thanks! I'll try it (hopefully soon) :)
Closing this pr in the meanwhile


Add core dump handler

The IBM core dump handler automatically saves core dumps from most public cloud kubernetes service providers and private kubernetes instances to an S3 compatible storage service.
Support EKS: https://github.com/IBM/core-dump-handler#kubernetes-service-compatibility
Chart available: https://github.com/IBM/core-dump-handler/blob/main/charts/core-dump-handler/README.md
Need to use a service account instead of hard-coding an IAM AK/SK to upload to S3: https://github.com/IBM/core-dump-handler/blob/main/charts/core-dump-handler/README.md#eks-setup-with-iam-roles-for-service-accounts

If you think this is a good idea/use case, I can propose the corresponding PR.

Thanks for the idea @guikcd !  Happy to accept a PR for this.
We don't have an official policy for yet for what type of applications to accept, but looks like this is fully open source and MIT licensed so I don't have any concerns.


import: Make sure the internal realm is created before import.

This is critical for importing the very first realm into an empty
server, since in 27b15a9722144b779ffe597b189925f21d53612d, we changed
the model to create the internal realm when the first real realm would
be created, but neglected the data import code path.
@mateuszmandera can you review?

I went ahead and merged this; will still like a look from @mateuszmandera in case I'm missing something.


Add check about filter name for containers

Fixes: #21202
We add valid check about filters like network, images,
volumes did.
Signed-off-by: Kai Qiang Wu(Kennan<EMAIL_ADDRESS>

Looks like you forgot to add volume to the list of filters;
04:50:57 FAIL: docker_cli_ps_test.go:761: DockerSuite.TestPsShowMounts
04:50:57
04:50:57 docker_cli_ps_test.go:786:
04:50:57     // filter by volume name
04:50:57     out, _ = dockerCmd(c, "ps", "--format", "{{.Names}} {{.Mounts}}", "--filter", "volume=ps-volume-test")
04:50:57 /go/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
04:50:57     c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
04:50:57 ... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc823773ae0), Stderr:[]uint8(nil)} ("exit status 1")
04:50:57 ... "ps --format {{.Names}} {{.Mounts}} --filter volume=ps-volume-test" failed with errors: Error response from daemon: Invalid filter 'volume'

ping @thaJeztah PTAL the new change

one minor nit, but LGTM

LGTM 🐯 (after the nit taken care of)

are those filters documented anywhere? just wondering otherwise code LGTM, @thaJeztah I'll move to doc review, ping @calavera @cpuguy83 also

@runcom they are, since earlier today :wink:  https://github.com/docker/docker/pull/21209/files

Cool :) thx for checking!

ping @thaJeztah and @vdemeester  PTAL the new change.

@runcom  seems we not need to add  status/3-docs-review

Hm flaky test? https://jenkins.dockerproject.org/job/Docker-PRs-WoW-TP4/2941/console
05:40:38 PASS: docker_cli_run_test.go:536: DockerSuite.TestRunApplyVolumesFromBeforeVolumes	42.889s
05:41:34
05:41:34 ----------------------------------------------------------------------
05:41:34 FAIL: docker_cli_run_test.go:4223: DockerSuite.TestRunAttachFailedNoLeak
05:41:34
05:41:34 docker_cli_run_test.go:4230:
05:41:34     c.Assert(err, checker.NotNil)
05:41:34 ... value = nil
05:41:34
05:41:56
05:41:56 ----------------------------------------------------------------------

LGTM
docs is not needed indeed

LGTM 🐮


TreeNodeComponent  TemplateRef label is not supported

TreeNodeComponent  TemplateRef label is not supported
I'm using the tree view and I need a custom label. The TreeNodeComponent has a label input that can be a string or TemplateRef, but there is no support for the lates. Also for the icon template we don't get the context.

A fix should be merged next week Tuesday


Logan/guide enhancements

Addresses issue #63

Clicking on a closed Eatery's Cell moves the screen and shows "empty" menu. This should be fixed


Object rest/spread causes an error in VSCode despite not causing an error from command line

The following code:
function example ({ first, second, ...rest }) {
  return rest
}

console.log(example({ first: 1, second: 2, third: 3 }))

Results in a clean bill of health from eslint on the command line, and runs correctly under babel-node:

However, a number of errors are shown inside of VSCode:

I can't fathom why this would happen. My .eslintrc is as such:
{
    "extends": ["standard", "standard-jsx"],
    "parser": "babel-eslint"
}

.babelrc:
{
  "presets": ["es2015", "stage-2", "react"]
}

My ESLint version is v2.10.2.

I ran into the same issue, but it is not related to the ESLint plugin. Unfortunately, VSCode does not support object prop spread. You can disable JS validation and rely on the ESLint plugin instead. More on the topic: https://github.com/Microsoft/vscode/issues/3804

Ah, if the issue is with vscode instead of the eslint plugin I'll close this issue. Thanks for the pointer.

This is now also documented in the Code docs


haskellPackages.domain-auth: disable test suite

Motivation for this change
Fix the build for haskellPackages.domain-auth.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@malte-v Could you send this PR to the haskell-updates branch (and change the base branch here on github as well?)

I think I did what you mean.

Looks good, thanks for fixing this!


Add the autocast function to run a closure in mixed-precision

I have made this a draft PR, because I can't currently test this (all our GPUs that support mixed-precision have jobs running for multiple days). Also, I haven't added any unit tests, since actually testing this would require a CUDA-capable GPU.

Looks very nice thanks for the PR. Not having unit tests run automatically sounds reasonable but maybe we could have some tests or an example behind some feature gate ?
Also note that the appveyor CI fails because of missing autocast symbols on the windows build. I haven't investigated but maybe these symbols are not available on windows somehow?

Looks very nice thanks for the PR. Not having unit tests run automatically sounds reasonable but maybe we could have some tests or an example behind some feature gate ?

I'll try to add some tests behind a feature gate.

Also note that the appveyor CI fails because of missing autocast symbols on the windows build. I haven't investigated but maybe these symbols are not available on windows somehow?

I think this was caused by name mangling. The new symbols were not in torch_api.h, so not within extern "C". Fixed now.

I have added an autocast-tests feature, which runs a simple test case (with nesting of autocast). I passes with flying colors on a Tesla P100.

Merged, thanks for the PR!


Mbst 13622 nitro schema

Needs rebasing to get rid of the WIP commit.

A lot of unnecessary whitespace changes, but other than the rebase lgtm.


Issues Building on Raspberry Pi 4 (Raspbian)

Hi there,
I'd like to get this Go library building on my Raspberry Pi, but I keep getting this error
pi@raspberrypi:~/gocairo $ make                                                                                [60/1945]go install github.com/martine/gocairo/cairo
# github.com/martine/gocairo/cairo
../go/src/github.com/martine/gocairo/cairo/path.go:43:13: type [1073741824]PathPoint larger than address space
../go/src/github.com/martine/gocairo/cairo/path.go:43:13: type [1073741824]PathPoint too large
../go/src/github.com/martine/gocairo/cairo/cairo.go:110:17: type [1073741824]_Ctype_cairo_path_data_t larger than address space
../go/src/github.com/martine/gocairo/cairo/cairo.go:110:17: type [1073741824]_Ctype_cairo_path_data_t too large
../go/src/github.com/martine/gocairo/cairo/cairo.go:3654:13: type [1073741824]_Ctype_cairo_svg_version_t larger than address space
../go/src/github.com/martine/gocairo/cairo/cairo.go:3654:13: type [1073741824]_Ctype_cairo_svg_version_t too large

Which I'm not exactly sure how to solve and would appreciate any pointers that people might have? I suspect it is due to the 32-bit architecture of the Raspbian distro, but am not totally sure.
Running uname on the Raspberry Pi reports the following:
Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux

I haven't touched this code in 5 years (!) but I think the issue is code like
https://github.com/evmar/gocairo/blob/master/cairo/path.go#L43
	parts := (*[1 << 30]PathPoint)(pathData)

This is setting up the destination pointer for a copy operation, so it just wanted a "very big" array.
I think you can reduce this to 1 << 20 and everything will work.  (Do this in all the places the above error messages are complaining.)

Thanks for the very prompt reply and the guidance, I'll take a look


Starting from InitialPage when we do  flutter refresh, not refresh in browser happening in Flutter 2.2.0

In flutter 2.2.0, the beamer starts from the initial page when we refresh in the console (IDE)  but works well when I refresh the browser.

@ThalapathySiva this is a bug in flutter, see https://github.com/flutter/flutter/issues/79241
It works correctly on flutter stable v2.0.6

@slovnicki  Thanks for your reply got it.


removed unused HDF4 code, fixed warnings in HDF4 test tst_h4_lendian.c

Fixes #939.
Fixes #941.
In this PR I remove some dead code in libhdf4. Also I fix warnings in one of the HDF4 tests.

Travis is failing due to our old friend the hdf5 plugin copy issue. ;-)

@WardF can we get this PR merged soon? It is non-controversial and contains a nice cleanup of the HDF4 code that I have been working on for the past few months. Thanks.

Thanks!


Update numpy to 1.26.3

Wait for https://github.com/conda-forge/structuretoolkit-feedstock/pull/21


Set up a global messaging area.


How to use the option --fdtransfer for profiling from the host

Hi ,
While searching for an option to execute the profiler from the host we found an new option --fdtransfer.
When we tried that option on our host
sudo -u username ./profiler.sh -e cpu -d 30 --fdtransfer -f /tmp/sample.html   we encountered Unrecognized option: --fdtransfer
we used both 1.8.6 and 2.0 versions of async-profiler We arent sure whether the approach  is correct is their any pre-requisite required  could you guide us. Thanks in advance

You should use latest master branch and build it locally.
fdtransfer has been merged to master just the other day. It is not released yet.

Martin .Thanks for the response. Will try to build it

Hi Martin,
We were to build it locally . Now i could see the option when i invoked ./profiler.sh help
But while trying to attach profiler to the process id from the host, we encountered the below listed error
sudo -u user ./profiler.sh status 210391
/tmp/async-profiler/build/jattach: 1: /tmp/async-profiler/build/jattach: Syntax error: "(" unexpected.
Thanks
Sattish

@sattishv , it seems like jattach is being interpreted as a shell script, but it's a binary. Any chance you're running a jattach built for a different architecture? Can you please provide the output of:
$ uname -m
$ file /tmp/async-profiler/build/jattach

@Jongy Sorry my bad i used the binary created in Mac OS on linux x64. Thanks for pointing out it. Later on we were able to create a binary successfully on linux.  But  when i tried to attach to java process using the new binary i got the below listed error.
Failed to enter the net NS of target process

@sattishv a few questions if you mind -

What kernel version are you running?
Is the application running in a container?

If possible, could you modify the fdtransfer function in profiler.sh and prefix "$FDTRANSFER" "$PID" with strace, so we can get a full log of the syscalls and see which one failed and why.

I could see the both variables already defined in profiler.sh

Sorry, I meant to prefix their evaluation with strace, so that we can see what exactly fails. Like this:
diff --git a/profiler.sh b/profiler.sh
index b10214a..c52ca92 100755
--- a/profiler.sh
+++ b/profiler.sh
@@ -89,7 +89,7 @@ check_if_terminated() {

 fdtransfer() {
     if [ "$USE_FDTRANSFER" = "true" ]; then
-        "$FDTRANSFER" "$PID"
+        strace "$FDTRANSFER" "$PID"
     fi
 }

Hi Yonatan,
Thanks for the clarity. Here is the output after prefixing with strace
sudo -u altusapp ./profiler.sh --fdtransfer -d 30 -f profile.html 210391
execve("/opt/async-profiler/build/fdtransfer", ["/opt/async-profiler/build/fdtran"..., "210391"], [/* 18 vars */]) = 0
brk(NULL)                               = 0x13b7000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK)      = 0
open("/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3)                                = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=53486, ...}) = 0
mmap(NULL, 53486, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcf175a9000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcf175a8000
mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcf16fc8000
mprotect(0x7fcf17188000, 2097152, PROT_NONE) = 0
mmap(0x7fcf17388000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7fcf17388000
mmap(0x7fcf1738e000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcf1738e000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcf175a7000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcf175a6000
arch_prctl(ARCH_SET_FS, 0x7fcf175a7700) = 0
mprotect(0x7fcf17388000, 16384, PROT_READ) = 0
mprotect(0x602000, 4096, PROT_READ)     = 0
mprotect(0x7fcf175b7000, 4096, PROT_READ) = 0
munmap(0x7fcf175a9000, 53486)           = 0
brk(NULL)                               = 0x13b7000
brk(0x13d8000)                          = 0x13d8000
open("/proc/210391/status", O_RDONLY)   = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "Name:\tjava\nUmask:\t0022\nState:\tS "..., 1024) = 1024
read(3, "0000000,00000000,00000000,000000"..., 1024) = 357
read(3, "", 1024)                       = 0
close(3)                                = 0
stat("/proc/self/ns/net", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
stat("/proc/210391/ns/net", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open("/proc/210391/ns/net", O_RDONLY)   = 3
setns(3, 0)                             = -1 EPERM (Operation not permitted)
close(3)                                = 0
write(2, "Failed to enter the net NS of ta"..., 52Failed to enter the net NS of target process 210391
) = 52
exit_group(1)                           = ?
+++ exited with 1 +++
Please review and share your thoughts
Thanks
Sattish

@sattishv setns fails with EPERM. The man page for this syscall lists one reason:
EPERM  The calling thread did not have the required capability for this operation.

fdtransfer needs to run as root - so sudo -u altusapp won't work. You can run it as root (just sudo) and jattach (invoked by profiler.sh) will switch UID/GID so it matches the target application.

Hi @Jongy
It worked with the user as root thanks for the inputs. To track system calls, while running it from host do we need to install linux perf tool on the host. Will async-profiler trace the native calls without perf or it needs to be installed.

No, it doesn't need to be installed; async-profiler does not depend on perf.

As Andrei said, you don't need to install anything. The perf tool is just one usermode interface to the kernel perf_events subsystem. async-profiler uses the perf_events subsystem directly.
Also note that async-profiler is able to trace native code in usermode (JVM / libc / ...) in itimer mode (without using fdtransfer). cpu mode (and fdtransfer) add kernel code.

Thanks for all the inputs. Apprecaite your swift response.

HI Team,
Sorry for continuing this thread. Tried the same binary (--fdtransfer) on one of our prod instance but in prod for the below listed error. The same binary worked in QA env. Both my QA and Prod uses Linux.
./profiler.sh --fdtransfer 3660816
Failed to inject profiler into 3660816
FdTransfer accept(): Resource temporarily unavailable
Thanks
Sattish

@Jongy
Have attached the strace output gathered from prod instance.
./profiler.sh --fdtransfer -e cpu  3274513
execve("/tmp/async-profiler/build/fdtransfer", ["/tmp/async-profiler/build/fdtran"..., "3274513"], [/* 20 vars */]) = 0
brk(NULL)                               = 0x1b36000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=41776, ...}) = 0
mmap(NULL, 41776, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8e45408000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8e45407000
mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8e44e24000
mprotect(0x7f8e44fe4000, 2097152, PROT_NONE) = 0
mmap(0x7f8e451e4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7f8e451e4000
mmap(0x7f8e451ea000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8e451ea000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8e45406000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8e45405000
arch_prctl(ARCH_SET_FS, 0x7f8e45406700) = 0
mprotect(0x7f8e451e4000, 16384, PROT_READ) = 0
mprotect(0x602000, 4096, PROT_READ)     = 0
mprotect(0x7f8e45413000, 4096, PROT_READ) = 0
munmap(0x7f8e45408000, 41776)           = 0
brk(NULL)                               = 0x1b36000
brk(0x1b57000)                          = 0x1b57000
open("/proc/3274513/status", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "Name:\tjava\nUmask:\t0022\nState:\tS "..., 1024) = 1024
read(3, "\t00000000,00000000,00000000,0000"..., 1024) = 369
read(3, "", 1024)                       = 0
close(3)                                = 0
stat("/proc/self/ns/net", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
stat("/proc/3274513/ns/net", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open("/proc/3274513/ns/net", O_RDONLY)  = 3
setns(3, 0)                             = 0
close(3)                                = 0
socket(PF_LOCAL, SOCK_SEQPACKET, 0)     = 3
setsockopt(3, SOL_SOCKET, SO_RCVTIMEO, "\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 0
bind(3, {sa_family=AF_LOCAL, sun_path=@"async-profiler-5036"}, 22) = 0
listen(3, 1)                            = 0
stat("/proc/self/ns/pid", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
stat("/proc/3274513/ns/pid", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open("/proc/3274513/ns/pid", O_RDONLY)  = 4
setns(4, 0)                             = 0
close(4)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f8e454069d0) = 1458075
exit_group(0)                           = ?
+++ exited with 0 +++
Failed to inject profiler into 3274513
Thanks
Sattish.

@sattishv This problem is not related to fdtransfer.
"Failed to inject profiler into " issue is mentioned in README | Troubleshooting:

The connection with the target JVM has been established, but JVM is unable to load profiler shared library. Make sure the user of JVM process has permissions to access libasyncProfiler.so by exactly the same absolute path.

Most often, this happens when a container does not "see" the directory with the profiler.

Hi @apangin
Thanks for the Inputs. I tried connecting to target JVM available in container from host(container pid from host) using --fdtransfer as root user in my QA env. I was able to connect without issues. But when i tried the same from my prod env i got the below mentioned error.
Failed to inject profiler into 3816973
Troubleshooting carried out:
From host:
Invoked the command by removing /dev/null as mentioned in the troubleshoot
./profiler.sh --fdtransfer list 3816973
Connected to remote JVM
JVM response code = -1
java -agentpath:/tmp/async-profiler/build/libasyncProfiler.so=start,summary,flat -version
[WARN] Install JVM debug symbols to improve profile accuracy
Profiling started
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
--- Execution profile ---
Total samples       : 0
      ns  percent  samples  top

"Make sure the user of JVM process has permissions to access libasyncProfiler.so by exactly the same absolute path."
We tried changing the ownership of the folder structure to the same user who owns the JVM process but still the same issue.

I mean, if async-profiler resides, for example, in /some/path/async-profiler directory, the same directory with the same name /some/path/async-profiler should exist in the container.

@apangin Thanks it works now i was able to take cpu profiles after copying the same folder contents available in the  host to the container. Appreciate the support

@apangin . While generating profiles using fdtransfer sometimes the contents arent wriiten to the file we specify in the command rather it prints all the contents while stopping the profiler.
Command used: ./profiler.sh --fdtransfer -e cpu -d 300 -o collapsed -f /tmp/sample_cpu.txt 346735

When using the above command after profiling for 300 seconds the user logged out.
But when we checked the status using ./profiler.sh status 346735 we got the below msg
Profiling for 667 seconds
When we stopped the process by ../profiler.sh stop 346735 process got stopped and all the comtents are displayed in the console no file is created in the container

Is the command we used is correct are we missing something over here

The command
./profiler.sh -d 300 -o collapsed -f /tmp/sample_cpu.txt 12345

works as a shortcut for
./profiler.sh start 12345
    (wait for 300 sec)
./profiler.sh stop -o collapsed -f /tmp/sample_cpu.txt 12345

If in the middle of waiting the script is forcibly terminated (other than by CTRL+C), the subsequent stop command is not executed, and therefore profiler will continue working.
CTRL+C is handled specially: waiting is interrupted, profiler immediately stops and dumps output.
As explained above, -o and -f options are applied to stop command rather than start. This makes possible to dump the same profile multiple times in different formats. So if you want to dump profile to a file rather than console, run profiler.sh stop -f sample_cpu.txt .. rather than just profiler.sh stop.
I'll probably reconsider in future versions how command line arguments are handled (to make them more intuitive), but as of version 2.x, they work like this.
Hope this helps.


Custom username field

As I was customizing Django User model I've encounter a problem when I decided to use two field as username (email, phone_number) so then user can login with both email and phone number. This PR will help to customize the username field label in create token endpoint so we can specify a custom name for our username field (lets say identity instead of email or phone number)

For any kind of database, when you have a user model, you never want to use some kind of VARCHAR as the ID (unless you're some great NoSQL db, fine). But this isn't the case for most Django users, and I highly recommend you just use a BigAutoField. Everything in Django will need quick access to a specific user instance, and by setting an index on username, you've basically slowed down your entire server. It's the same with SimpleJWT. (Not to mention reindexing your model every time a new user joins... that would make your database explode).


The WebSocket handshake Connection field is missing the upgrade token

Describe the bug
testing  demo :  I can't visit web after I start demo docker.
To Reproduce
just according to the demo guidance .
Expected behavior
I want to know what's wrong and how to correctly make demo run in my environment.(windows10+wsl2)
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS] windows10
Browser [e.g. chrome, safari]  edge
Version [e.g. 22]

Could you use websocket_client_main to test it?

could you tell me the concrete steps? I'm not familar with "websocke_client_main", and I try to search how to do but I'm not find the method.

I1119 15:22:35.533484    30 websocket_server.cc:234] The WebSocket handshake Connection field is missing the upgrade token
我也遇到了此问题， centos7.6

please try local build


Bad require

Description
When using mt19937/lib/factory.js, I had the following error : "isPositiveInteger is not a function".
Indeed, it is imported as :
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' ).isPrimitive;
While being exported as :
function isPositiveInteger( value ) {
	return ( isPrimitive( value ) || isObject( value ) );
}
// EXPORTS //

module.exports = isPositiveInteger;

When fixing it, I have the same error with isInteger, then with isNumber, then with randu.
Version I use is 0.0.93.
I previously used version 0.0.60 and didn't have this error.
Related Issues
None

Okay, I got this.
You have both a main.js and index.js file in the same directory. My webpack configuration fetched the main.js instead of the index.js.
Having both index and main files in the same directory seems (to me) to be a dangerous idea for a library.

Glad to hear the problem was resolved!
Since each package comes with a package.json file with an appropriate main entry,, you should not have to concern yourself with the internal structure of the package but be able to point Webpack directly to the package's folder and let the module resolution be done through package.json (provided mainFields includes main in your Webpack configuration, which IIRC it does by default).

Thanks for your answer. I checked my webpack configuration and stdlib's package.json.
stdlib package.json files have their main field written as : "main": "./lib",.
Maybe it should be better to explicitly point to the file : "main": "./lib/index.js", ?
(I am self taught in webpack/node, so I might be lacking some knowledge about best practices).

@denis-migdal Was there a particular reason you had configured webpack to prefer main.js or index.js?
We generally assume throughout the project that users (and bundlers) will rely on the Node.js module resolution algorithm which assigns special status to index.js as the default file which is resolved when only a directory is specified (e.g., ./lib; this is similar to the privileged status of index.html files in web servers).

This is indeed the default behavior.
However, such behavior can be changed depending on the project. For example, in web servers, we might want to prefer e.g. index.php over index.html.
I tried to check, node does not seem to have an option to prefer e.g. main.js over index.js, so that's a behavior specific to Webpack. This is quite useful in some situations, but it shouldn't be used for dependencies with a package.json as it changes the expected default behavior.
I think I will open an issue in Webpack git repository and close this one as Webpack is at fault here.

Issue for Webpack posted here: https://github.com/webpack/webpack/issues/13170

Thanks, @denis-migdal!


only hello world show in activity

I think the code is not complete yet in MainActivity i can't see any list how in recycleview or somewhere.
Can you finished this code.

@paveltech I will complete it during this weekend and notify you.

ok it's too much helpful . thnx buddy

You haven't resolved this issue , please fix this issue so we can check run & check your project

@Scienticious hello can you share your repo with us??

Hi @paveltech ,
I have commited the latest code on this repositry, kindly clone this repository again.


dotnet-runtime-deps has broken dependencies on Fedora 34

Originally reported by @m-ghaoui on
https://github.com/OmniSharp/omnisharp-vscode/issues/4360#issuecomment-864365758
Description
The dotnet-runtime-deps-5.0.7 package for Fedora 34 on packages.microsoft.com has broken dependencies.
You can see that by following the steps on the issue described above:
    sudo dnf remove dotnet*
    sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/34/prod.repo <-- Note I changed it to 34
    sudo dnf config-manager --save --setopt="*microsoft-*.priority=50"
    sudo dnf install dotnet-runtime-5.0

The last command shows the error:
# dnf install dotnet-runtime-5.0
Last metadata expiration check: 0:07:12 ago on Tue Jun 22 21:00:06 2021.
Dependencies resolved.

 Problem: package dotnet-runtime-5.0-5.0.7-1.x86_64 requires dotnet-runtime-deps-5.0 >= 5.0.7, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides compat-openssl10 needed by dotnet-runtime-deps-5.0-5.0.7-1.x86_64

You can see the dependency information directly in the broken package itself:
$ wget https://packages.microsoft.com/fedora/34/prod/dotnet-runtime-deps-5.0.7-fedora.27-x64.rpm
$ rpm -qp --requires dotnet-runtime-deps-5.0.7-fedora.27-x64.rpm
compat-openssl10
libicu
krb5-libs
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
$ sudo dnf install dotnet-runtime-deps-5.0.7-fedora.27-x64.rpm
Last metadata expiration check: 0:38:43 ago on Tue 22 Jun 2021 04:48:36 PM EDT.
Error:
 Problem: conflicting requests
  - nothing provides compat-openssl10 needed by dotnet-runtime-deps-5.0-5.0.7-1.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

Configuration

Which version of .NET is the code running on? .NET 5.0
What OS and version, and for Linux, what distro? Fedora 34
What is the architecture (x64, x86, ARM, ARM64)? x64

Regression?

This worked in Fedora 33, since compat-openssl10 was available. compat-openssl10  was removed starting with Fedora 34 which broke this dependency.
Other information

Do you know of any workarounds?

Using the Fedora-provided packages is the suggested approach. When that doesn't work, the workaround is to install packages from packages.microsoft.com which is broken and is now tracked by this issue. In other words, the workaround is what's broken.

@bartonjs do you perhaps know any easy workarounds?

All recent versions of .NET/.NET Core support OpenSSL 1.1..
Thinking out loud here:

We could switch the dependency to openssl instead of compat-openssl10. But that might have an impact on existing deployments that are not prepared for OpenSSL 1.1. If both OpenSSL 1.0 and 1.1 are installed, older versions prefer OpenSSL 1.0, but newer versions (3.1 and later, I think) will use OpenSSL 1.1.

Recent versions of rpm support "rich" (conditional) dependencies: http://rpm.org/user_doc/boolean_dependencies.html. Maybe we use Requires: openssl unless compat-openssl10 or something similar? From what I can tell Fedora 24 and later have rpm 4.13, the minimum version we need. Please note that F23 - the last version without a new-enough rpm package - was EOL'ed on 2016

What if we were to make a copy of the dotnet-runtime-deps-5.0.7-fedora.27-x64.rpm, name it something like dotnet-runtime-deps-5.0.7-fedora.34-x64.rpm and change the dependency to openssl from compat-openssl10 on that (only)? Will dnf/yum ignore the fedora.27 rpm and use the fedora.34 rpm that has an available dependency?

Based on the comment from @omajid re: OpenSSL 1.1, I did an rpm install with --nodeps. The 5.0 runtime does appear to work for my use case of being able to run the utility "genie" to get systemd as pid 1.

Should this be closed?

@ashnaga This issue is stale, Fedora 34 reached end-of-life on 2022-06-07.

I guess I should close my ticket. Totally forgot I reported it.


Patch fix several bugs

Fixes the following bugs

The iterate function was not awaited while it is an async function
The metric manager did not set up the correct metrics
The cfg program and cfg functions did not allow for contracted cfg's
The edge contraction algorithm should not contract entry/exit nodes
The exit event was called on the main eventemitter causing the program to exit
rmDirSync does not work when the directory is not empty
The cfg getincomingedges/getoutgoingedges functions where exposing internal structure making the cfg object mutable
The distance calculation function was incorrect

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
710

Relevant Lines:
1264

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 43 (18.6%)  changed or added relevant lines in 7 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.4%) to 54.265%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/core/lib/metaheuristics/SearchAlgorithm.ts
0
1
0.0%

libraries/core/lib/objective/managers/ObjectiveManager.ts
2
4
50.0%

libraries/core/lib/objective/heuristics/ApproachLevel.ts
0
3
0.0%

libraries/cfg-core/lib/algorithms/edgeContraction.ts
1
5
20.0%

libraries/cfg-core/lib/graph/ControlFlowGraph.ts
4
8
50.0%

libraries/metric/lib/MetricManager.ts
0
8
0.0%

libraries/core/lib/objective/BranchObjectiveFunction.ts
1
14
7.14%

Files with Coverage Reduction
New Missed Lines
%

libraries/core/lib/metaheuristics/evolutionary/EvolutionaryAlgorithm.ts
1
36.84%

libraries/metric/lib/MetricManager.ts
1
5.41%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
710

Relevant Lines:
1264

💛  - Coveralls


Metadata or log file with description of image design process

(The tool is really great as is! I'm enjoying using it a lot!)
It would be nice to see a line-by-line description of the process I used to create an image, so that I can learn which prompts and settings led to a good final image, for future reference.
Describe the solution you'd like
For each Dream or Img2img action that is successfully performed, create a line of text in a log file including:

the current Prompt Text (positive and negative)
name of Model file used (and Hypernetwork, if active)
Seed
Sampler
Steps
CFG
Resolution
Whether txt2img HRfix is turned on
if img2img, include Denoising Strength
(other relevant settings I might have forgotten about)

In case of a Mask being drawn, or use of Color Brush, or Layer manipulation, or any other actions, add a short line of text equivalent to what is recorded in the History bar.
(Optional: Remove log lines when its action is undone, but keep recently undone lines ready to add back in case of "redo". Alternatively, include the fact that "undo/redo" was used in the log file.)
When the user clicks "Save canvas", write out a log file with the same name as the image output file (different extension). Or, if the image file format is compatible, write the log text to the image metadata ("caption").

That is possible and would not be too hard to implement. We could add this as an extension to the existing history system, so undo and redo are dealt with automatically. Will give this a look later.

Will move this to the main openOutpaint repo.


Registration Agencies: IT-CF and IT-RI

Hi Aidstream,
Please can these 2 Registration Agencies in Italy be added to Aidstream?
IT-CF
http://org-id.guide/list/IT-CF
IT-RI
http://org-id.guide/list/IT-RI
Thank you,
Jahnvi

Thank you!


Support non-EIP-2718 transactions?

In the current rollup node specification, I've only said that we handle EIP-2718 transactions. But Optimistic Ethereum today mostly includes EIP-155 transactions.
I don't think there is a way to drop support for those without wiping the chain's history... Which could be an option as long as we figure out the distribution of the "new initial state".
I guess the simple option is to also support EIP-155, but I wanted to check with @protolambda @tynes
Should we also support pre-EIP-155 transactions?

EIP-155 replay-protected transactions are a subset of the types in EIP-2718: the legacy transaction type of case. And pre-EIP-155 falls into the same legacy type.
With the previous optimism modifications to that transaction type we should check if the backwards compatibility trickery in that EIP still works (a range of transaction type identifiers matches the first byte in the RLP-encoding of the legacy type of transaction).
Given that we would have to put in work to remove it from geth, and break various wallets etc. by removing it, I would prefer to just keep the legacy functionality. And as brought up by @ben-chain, we may want to keep the modified legacy type (currently used in Optimism) so we can have a more seamless transition into spec 1.0 (preserving chain history as well).

EIP-155 replay-protected transactions are a subset of the types in EIP-2718: the legacy transaction type of case. And pre-EIP-155 falls into the same legacy type.

I would dispute this. In reallity, it's unclear because EIP-2718 does not define a "EIP-2718 transaction". It does

define "typed transaction envelopes"
say that valid transactions are the old format OR typed transaction envelopes

I (and I suspect many people) think of "typed transaction envelopes" when someone says "EIP-2718 transaction" (as it's a useful distinction from old transactions, otherwise you have "EIP-2718 transactions" == "any transactions").

With the previous optimism modifications to that transaction type we should check if the backwards compatibility trickery in that EIP still works (a range of transaction type identifiers matches the first byte in the RLP-encoding of the legacy type of transaction).

I wasn't aware of that modification. Yes, we need to check this 👍

Given that we would have to put in work to remove it from geth, and break various wallets etc. by removing it, I would prefer to just keep the legacy functionality. And as brought up by @ben-chain, we may want to keep the modified legacy type (currently used in Optimism) so we can have a more seamless transition into spec 1.0 (preserving chain history as well).

Agreed

Correction (thanks @smartcontracts): Optimism currently does not modify the transaction formatting. It does charge additional ETH for L1 usage that is not part of the EIP 155 signed data. See https://github.com/ethereum-optimism/optimism/blob/develop/specs/l2geth/transaction-types.md (outdated, it does not scale gasprice field anymore)

For future upgrades, we are considering doing something like EIP-4444 where all of the database indices are downloaded instead of built from transaction execution. This allows for backwards incompatible upgrades, we are calling this method a "squash fork".

This is made moot by the fact that deposits are going to be their new transaction types. When we process L2 tx, then we should accept all transactions types, for the sake of EVM equivalence.


SMS notifications - To citizen

[x] When issue has been submitted
Your request has been received and is being attended to

Link and Ref ID

[x] When issue requires info
Your request requires further information to proceed

Link and Ref ID

[x]  When issue is closed
Your request has been resolved + Link and Ref ID.

When link is clicked, the message should say:
Your request has been resolved + Link and Ref ID.
Action Taken: lorem ipsum dolor.

tested and merged.


https://bluray-disc.de/

Hi,
can you please add https://bluray-disc.de/ to Other sites/tools (in 2nd bar)?
Thanks
Regards

Search there for what exactly?

It is like https://www.blu-ray.com for german bluray releases.
https://www.blu-ray.com/search/?quicksearch=1&quicksearch_country=all&quicksearch_keyword=tt5918982&section=theatrical
https://bluray-disc.de/blu-ray-filme/167445-possessor_2020_4k_unrated_limited_steelbook_edition_4k_uhd_bluray

That I can see my self.
But what exactly to search, what search options to use?

Name of the Film :)

But what search options to select?

Added to v15.2.
As you didn't tell me what to search then I set to: filme, importe, erotikfilme.


Adding Hue to the light accessory

Hi @KhaosT inspired by your Christmas light, I added the Hue characteristic to the Light Accessory.
https://github.com/AdySan/HAP-NodeJS/blob/master/accessories/AdyLight_accessory.js
I can control the Hue with this slider, but as you see below, Siri doesn't translate the color to a Hue value. Who should do this conversion? (I assume every color refers to a specific Hue value)

@AdySan Currently Siri requires all three (Hue, Saturation and Brightness) characteristics to successfully set the color. Otherwise, it will say it can't find light to blablabla...

Cool got it, will try and report back tomorrow.

On Dec 19, 2015, at 10:26 PM, Khaos Tian<EMAIL_ADDRESS>wrote:
@AdySan Currently Siri requires all three (Hue, Saturation and Brightness) characteristics to successfully set the color. Otherwise, it will say it can't find light to blablabla...
―
Reply to this email directly or view it on GitHub.

Works great, thanks for the tip!
https://twitter.com/ady/status/679146825136259073


Map rendering problem

When I render a game, for example:
yarn build app
yarn print 1800
The result is:
map.pdf

I think you meant to post map-paginated.pdf
I broke it with a stupid typo. What's even worse? My tests found the issue but I'm not in the habit of running them...

I am still seeing the same issue here with the generated pdfs

@ngeunit1 can you confirm what sha hash you're currently on, and what node version and OS you're using?

SHA: 25c592747cbba65cdfd30a1fbf3f08e669bd928c
OS: Ubuntu
node: v10.16.0
I was also able to reproduce the same issue on win10 with node v12

Also verified same result for Node v10.15.3.

What problems are you seeing? The slight overlap on the tiles and borders? Is there something else?

Yes, mostly just the overlap. I am seeing something similar on the tiles as well. Not sure if that is related but it covers the tile number for example.

That's really odd. I fixed the large overlap bug right after it appeared and it was a while ago. Shouldn't be happening on a recent build. (I can't duplicate that screenshot on windows, in docker, or on my mac).
Are you running yarn build prior to printing and does it succeed?

Yes, I have been doing yarn build && yarn print all. And I am getting a compiled successfully result with no warnings/errors.

Are you editing config.json at all? If so can you pastie what you're using in case there's a bug with something there?

I reverted the changes I had on Ubuntu and the Win10 was a fresh pull from about an hour ago.

What programs are you using to view the resulting pdfs? Can you send me<EMAIL_ADDRESS>or link a PDF that you generated that has the issue?

(sorry for the waste of time) But the viewer seems to be the issue. On windows IE displays them improperly but Adobe Reader and SumatraPDF display them correctly. On Ubuntu, the default document viewer is incorrect and I just downloaded Okular and it looks fine.

Interesting, will look into that just in case, it would be worthwhile to make sure that it's a spec thing that those readers don't respond to. Thanks!

In my case it was also the fault of the default PDF reader. I'll write which one once I get back to home.

The "large overlap" issue persists with PDFs generated using the latest AppImage release of the standalone app (v1.0.0-beta.41) on Arch Linux.
It renders correctly on Firefox 104.0.2 and Okular on Arch Linux.
It renders incorrectly, with the large overlaps and broken lines, with GIMP, LibreOffice Draw, and InkScape using Poppler/Cairo on Arch Linux, and Adobe Illustrator on Windows 11.


Can i save data in different sheets of same csv ?

I am having some data, where i need to save data in different sheets based on my custom filter. how can i achieve with this package?

I'll close this since I think that my response answers your question.
Feel free to reopen if you think that there is anything else that we could do 🙂


Can I change the items in the detail popup?

Version
1.6
Development Environment
MAC
Can I change the details of popups?
For example, I do not use Busy. I want to show the another item.

@youjung-hong Take this please.

I was wondering the same thing - I may end up using a custom popup if it's not possible to override the default popup template.

@hwanyoungChoi No you can't change it much. The busy state line is here, but not optionable.
https://github.com/nhnent/tui.calendar/blob/239761f9a4788e79dd94002e93dfdf937a84dc37/src/js/view/template/popup/scheduleDetailPopup.hbs#L13
@jgadbois @hwanyoungChoi You can override just text for internationalization. The related templates are

popupDetailLocation for location text
popupDetailUser for attendees text
popupDetailState for state text
popupEdit for edit button
popupDelete for delete button

The default implementation of those templates can be found here.


Scrolling logs on mobile not working

Describe The Bug
Since the last update, scrolling logs on my iPhone works only if the touch event does not start on text. It works only on the free spaces between text
Logs
No response
Config
No response
Homebridge UI Version
4.52.2
Homebridge Version
1.7.0
Node.js Version
18.18.2
Operating System
Raspberry Pi OS / Raspbian
Environment Info

[ ] Using Docker?
[ ] Using Hyper-V?
[X] Using hb-service?

Raspberry Pi Model
Raspberry Pi 4 B

I noticed this about 5 minutes before you posted the issue. Looking into this!

For me they work without any problems.
iPhone 14, iOS 17.1.1. Safari.

in beta 24 it is ok! 👍

Closing this as should be fixed with latest release


Allow running copy-op-bin before other init containers

Summary

Hi 1Password team,
We started using 1Password k8s injector recently and generally happy about it. However, we noticed one limitation. We run a lot of init containers and we want them to use secrets from 1Password. This does not seem to be possible right now because the copy-op-bin init container gets appended to the init containers array which means it will always run last.
It would be nice if we could tell the injector to prepend the 1Password container.
Use cases

This feature will make it possible to use secrets loaded from 1Password in init containers, e.g. to run database migrations.
Proposed solution

Hashicorp Vault solved this problem by adding an annotation vault.hashicorp.com/agent-init-first which allows to prepend the init container instead of appending it so that it runs first. Maybe something similar would work for 1Password injector?
Is there a workaround to accomplish this today?

We had to move the init steps outside of init containers; we have to run them in the CI which is not ideal.
References & Prior Work

Same problem/use case with Hashicorp Vault: https://github.com/hashicorp/vault-k8s/issues/53 and resolution in https://github.com/hashicorp/vault-k8s/pull/91

Many thanks!

Hi,
I wanted to circle back to this issue, it remains a high priority for our platform.
Not sure if you've had the opportunity to look into this already but I'd like to give it a try and draft a PR with something similar to how it was solved in Hashicorp Vault.
Would it be possible to assign this issue to me?


no such file 'requirements.txt'

type “pip install -r requirements.txt“  and error  'no such file 'requirements.txt''
how to install ,thank u

Hi @zyf3465  you need to go the root folder of NeuronBlocks. then run the above command.

thank u !!

祝工作愉快，事事顺心
张翼飞
------------------ 原始邮件 ------------------
发件人: "L.J<EMAIL_ADDRESS>发送时间: 2019年5月27日(星期一) 中午11:26
收件人<EMAIL_ADDRESS>抄送: "165381567"165381567<EMAIL_ADDRESS>主题: Re: [microsoft/NeuronBlocks] no such file 'requirements.txt' (#54)
Hi @zyf3465  you need to go the root folder of NeuronBlocks. then run the above command.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Add Uranus, MO to vaguely-rude-places map

I think this would qualify...
https://uranusmissouri.com/

Added as https://www.vaguelyrudeplacesmap.com/?id=280&lang=en


How to add a new custom entry in context menu to open a popup

Hi,
Can you guide me how to add a new entry in context menu by clicking on that I can add some custom action like open a popup.

Hi,
You have an example here : https://bossanova.uk/jexcel/v4/examples/contextmenu
MyTable = jexcel(DOMElement, {
...
contextMenu: function(obj, x, y, e) {
         /*obj = instance jexcel
            x,y = cell position x,y
            e = event navigator (Right Click event)
        */
         var items = [];
         /* Example item
          items.push({
                     title:'Custom item',
                     onclick:function() {
                         // execute function
                     }
                 });
          */

       return items;
},
....
});


Fix PipelineList method to return result

closes #57

@mars the issue appears to be in the schema. I tested by downloading the latest schema from https://api.heroku.com/schema and noticed that the "type" key was not nested properly under targetSchema
Updating the schema as shown in the diff below, and then running ./script/generate -n produced the correct code output.
diff --git a/v5/schema.json b/v5/schema.json
index 3536cb5..0028a67 100644
--- a/v5/schema.json
+++ b/v5/schema.json
@@ -10830,11 +10830,11 @@
           "targetSchema": {
             "items": {
               "$ref": "#/definitions/pipeline"
-            }
+            },
+            "type": [
+              "array"
+            ]
           },
-          "type": [
-            "array"
-          ],
           "title": "List"
         }
       ],

Without knowing how the schemas are actually generated on your end, that's as far as I can get!
One thing to consider separately: this may be a bug in schematic. It seems like it should throw an error for an invalid schema (that is, assuming this isn't a valid schema structure for some other use case)

Thanks for the details @jcomo 😄  I've dug into this schema issue and believe I have a fix ready. It just has to make it through a series of internal reviews, and then propagation out to the public-facing schema JSON. Hopefully I can report that it is fixed next week 🤞

Thanks for the quick response and fix @mars!

Thanks for your patience as we worked through a release of this schema fix, now ready for review at #61.
Closing this PR, since it is not the correct solution.


How do I connect to a Fennel REPL via port?

Hello - love the project. It works great for managing Fennel REPLs by stdio. However, I am trying to use it to talk to an embedded Fennel REPL listening on a port (https://git.sr.ht/~nasser/8fl for the Renoise tracker), and I can't figure out how to configure Conjure to talk to it with a custom filetype. I know there are builtin clients that work over local sockets - is there an easy way to reuse this functionality? (Could not find the answer in the wiki, issues, etc.) Thank you!

When I read the Quick Start Guide for the Guile Client, it looked like it could be forced into service. Unfortunately, it only connects to a named pipe on Windows or a Unix domain socket on Unix and MacOS; not a TCP (network) socket. :he conjure-client-guile-socket says:

Network socket support is planned for this client, but not yet available

The conjure.remote.socket module used by the Guile Client says:

;; TODO Add support for host / port sockets.

Someone would need to write a new Fennel client to connect via a TCP socket. The Guile Client could be used as a model to follow. Support for host / port sockets would need to be added to the conjure.remote.socket module, too.

Thanks for looking into it! It seems like there is no quick and easy way then. I can do what I need to with iron.nvim in the meantime (sending lines and visual selections to a subprocess). But I look forward to the Lego approach here: https://github.com/Olical/conjure/discussions/500 !

Thanks for looking into this @russtoku, much appreciated! And you're right @ejconlon, Conjure is very tightly coupled inside each client right now, that modularisation work (#500) I have in my head needs to happen ASAP. I'm just focussing on my Clojure debugger right now (prioritising because it'll work with MANY editors and doesn't depend on Conjure, so very high leverage for my time) and almost have that in an alpha state.
Once I pause that for a sec I'll do my Aniseed -> nfnl refactor of Conjure and then move the modules around so we can compose our own clients from reusable units. Sorry it's not there yet but I hope iron.nvim does the trick!
Maybe we could make a thin client that maps through iron.nvim or something so you get all of it's plumbing but you get Conjure's mappings and log UI, if that's what you like.


ci(requirements): Remove unseless requirement installation

What does this PR do?
Remove a pip install which is useless: notify.check-teams only needs invoke and codeowners that are already on the debian image used as part of the base requirements from buildimage
Motivation
Tidying for deva migration
Describe how to test/QA your changes
The slack_teams_channels_check job is passing
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Nameserver Limits Exceeded Warning

Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 2a01:4ff:ff00::add:1 2a01:4ff:ff00::add:2 <IP_ADDRESS>.
kubectl get events -n kube-system
Warning   DNSConfigForming pod/coredns-74fb7c7dfd-7wxxf
I don't think anything is wrong because it's a Warning, but I tried to solve it and couldn't. Is it a k3s configuration problem or a hetzner problem or is it something I'm doing wrong?
Does anyone else have this problem?

Never come across this but generally speaking to reduce load on CoreDNS I always recommend to install NodeLocal DNS Cache
https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/

I'm gonna convert this into a discussion since it's not an issue with the tool.


[FEAT] dm-verity for /usr

To quote the kernel documentation:
"Device-Mapper’s “verity” target provides transparent integrity checking of block devices using a cryptographic digest provided by the kernel crypto API. This target is read-only."
Android makes use of this in its implementation of measured boot:
https://source.android.com/docs/security/features/verifiedboot/dm-
verity
Integration with ostree will be quite interesting to work on, considering it's not exactly an easy task from what I've seen, but maybe a long-term goal worth looking into.

[x] I declare that I have read the README and my feature request is in-scope.

dm-verity is not compatible with rpm-ostree's layering, and would stop users from layering packages that they may need but are not part of the base image, e.g. Wifi drivers, virt-manager.
There is an effort to instead add composefs support to Silverblue upstream, which would add fs-verity as an integrity seal instead, without precluding layering via rpm-ostree install

Closing as upstream
https://fedoraproject.org/wiki/Changes/FsVerityRPM


Adding Search Button

Uncommenting search icon and linking it to Google search.

@riknoll please review when you have a moment.

@dblotsky That search icon is barely visible in the top right; I don't think people will notice it. Can we add a text input to make it easier to see and use? The icon also looks a bit awkward in the mobile nav menu. It adds itself to the expandable list and is the only non-text option there. I think that for a mobile screen, the search icon should stay in the top bar and appear to the left of the menu-expand icon (no need for a text input for mobile, it would just clutter the nav bar). Thoughts?

@riknoll I've incorporated your feedback. Please give it a look when you have a moment.

@riknoll and I've again updated the PR. Please give it a look when you have a chance. In particular, on md screens the search field disappears, and the search button now sticks to the right of the field.

LGTM


Django 2 support

Hi, is there any plan to support Django 2.0?
I'm getting this error:
Invalid template library specified. ImportError raised when trying to load 'django_performance_testing.templatetags.djpt_limits': cannot import name 'getargspec'
Thx

Hi @rafaelcapucho thanks for bringing this up - we are slowly upgrading all our packages to django2.0. Sadly we don't have an ETA for you  - stay tuned on this issue for updates to our progress.
//cc @Normos

@rafaelcapucho  We stopped using this library internally, so I'm afraid there won't be any updates from the maintainer's side.

@belugame shall we have an offline (email) chat about transfer of the project on pypi to me? I would be happy to see if I can update it and keep up with the version bumps, review PRs, etc.

@zsoldosp  I will mark those who are in a better position to decide/handle that. I would not be able to :)
@Normos, @Eorhim


Application badges in status bar doesent work all the time.

Describe the issue
A clear and concise description of what the bug is.
Expected behavior:
The status badges for my applications like Discord to appear.
Actual behavior:
Icons for my applications on the system tray  are invisible
Was it working before?
It works intermittently.

Did you also experience this bug in an earlier version of polybar?
No, I have used only 1 version before.

To Reproduce
A minimal but complete config with which the problem occurs:
just the example config, no changes

List any other steps needed to reproduce the issue besides starting polybar with config you posted above.
Open applications like discord or slack which have a badge on the system tray.
Polybar Log
Post everything polybar outputs to the terminal when you run it and the issue occurs below
error: Disabling module "bspwm" (reason: Could not find socket: /tmp/bspwm_0_0-socket)
error: module/mpd: Connection refused
error: module/xbacklight: Could not get data (err: XCB_NAME (15))
error: Disabling module "xbacklight" (reason: Not supported for "eDP-1")
warn: pulseaudio: using default sink alsa_output.pci-0000_05_00.6.analog-stereo
error: module/mpd: Connection refused
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e21a)
warn: Dropping unmatched character  (U+e23a)
warn: Dropping unmatched character  (U+e0cb)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
error: module/mpd: Connection refused
error: module/mpd: Connection refused
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e21a)
warn: Dropping unmatched character  (U+e23a)
warn: Dropping unmatched character  (U+e0cb)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e21a)
warn: Dropping unmatched character  (U+e23a)
warn: Dropping unmatched character  (U+e0cb)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
error: module/mpd: Connection refused
error: module/mpd: Connection refused
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e21a)
warn: Dropping unmatched character  (U+e23a)
warn: Dropping unmatched character  (U+e0cb)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
error: module/mpd: Connection refused
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e21a)
warn: Dropping unmatched character  (U+e23a)
warn: Dropping unmatched character  (U+e0cb)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e21a)
warn: Dropping unmatched character  (U+e23a)
warn: Dropping unmatched character  (U+e0cb)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
error: module/mpd: Connection refused
warn: Dropping unmatched character  (U+e26f)
warn: Dropping unmatched character  (U+e028)
warn: Dropping unmatched character  (U+e026)
warn: Dropping unmatched character  (U+e21a)
warn: Dropping unmatched character  (U+e23a)
warn: Dropping unmatched character  (U+e0cb)
warn: Dropping unmatched character  (U+e016)
warn: Dropping unmatched character  (U+e10c)
warn: Termination signal received, shutting down...
warn: module/i3: Attempting to reconnect socket (reason: Unexpected EOF while reading header)

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshoot broken state
Screenshoot 2 working state
Environment:

WM: i3
Distro: Arch
Output of polybar -vvv:

polybar 3.4.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Additional context
Add any other context that you think is necessary about the problem here.

Closing due to inactivity


Resizing plot panes does not resize the content

I suggest that when panes are resized the content adapts to the new size. This is not currently the case for the Plots pane

This could be possible if we switch from Png to Svg for the default Inline backend format.

I'll take care of this, thanks for filling an issue about this.

Also making svg defaults is not a good idea IMO, but I'm not sure this is related to the current issue.


php56, Laravel 5.1: OPTIONS goes through POST doesn't

I am using this package very successfully in Laravel 5.
Today I wanted to upgrade to Laravel 5.1 which deprecates the usage of filters.
Therefore, I upgraded to laravel-cors 0.6.x, added the Middleware and suddenly the respective headers aren't added anymore.
My options request gets the appropriate headers and includes the information set in my config.
I tried debugging it and the fun part is, that the Middleware is not even reached when I send a post request. Looking at the error log I can find this:
[:error] [pid 26862] [client <IP_ADDRESS>:54487] PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0, referer: http://<IP_ADDRESS>:8000/admin/
[:error] [pid 26862] [client <IP_ADDRESS>:54487] PHP Warning:  Cannot modify header information - headers already sent in Unknown on line 0, referer: http://<IP_ADDRESS>:8000/admin/

Any ideas?

Don't roll with the default php56 config, it send headers before any of your files are accessed.
This fixed it.
To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini


Multisample Count has no effect

doesn't matter if the renderer is rendered in renderwindow, renderwindow or scenewindow (with renderentity between)
while rendered in scenewindow it looks like multisampling is always happening, there seems to be now multisampling happening at all in renderwindow
see this demo:

Yes, this is a known issue, we currently don't resolve the multiple samples. I'll push thee prio a bit.


error in isntalling native dependencies.

Node Vesion : v8.11.3
when i run following commands
cd src
yarn install
$ npm run electron-rebuild

<EMAIL_ADDRESS>electron-rebuild /home/owner/projects/vilaippattiyal/src
node -r babel-register ../internals/scripts/ElectronRebuild.js

/bin/sh: 1: ../node_modules/.bin/electron-rebuild.cmd: not found
child_process.js:644
throw err;
^
Error: Command failed: ../node_modules/.bin/electron-rebuild.cmd --parallel --force --types prod,dev,optional --module-dir .
/bin/sh: 1: ../node_modules/.bin/electron-rebuild.cmd: not found
at checkExecSyncError (child_process.js:601:13)
at execSync (child_process.js:641:13)
at Object.<anonymous> (/home/owner/projects/vilaippattiyal/internals/scripts/ElectronRebuild.js:21:3)
at Module._compile (module.js:652:30)
at loader (/home/owner/projects/vilaippattiyal/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/owner/projects/vilaippattiyal/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>electron-rebuild: node -r babel-register ../internals/scripts/ElectronRebuild.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>electron-rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/owner/.npm/_logs/2018-08-09T12_42_16_331Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Yes, I installed app dependencies before native dependencies.


[chore] Fix dependabot-check Make target

The recipe for dependabot-check is not exiting with the correct status code if the dbotconf verify fails.
cc: @pellared @MrAlias
Fixes https://github.com/open-telemetry/opentelemetry-go-build-tools/issues/321

@songy23 PTAL


[Windows] Fix Python installations for python@ type linters (issue #288)

First two letters were taken from the SYSTEMROOT environment variable which is
incorrect as that would return 'C:' for 'C:\Windows'. Appending 'Python' to that
would end up with 'C:Python' which os.path.abspath would actually resolve to
'current working directory on C drive ' + Python which end up creating Path to
sublime directory.
Correctly take three characters so that we end up with C:\Python prefix.

Current coverage is 13.34% (diff: 0.00%)

Merging #490 into master will not change coverage

@@             master       #490   diff @@
==========================================
  Files            10         10
  Lines          3058       3058
  Methods           0          0
  Messages          0          0
  Branches        716        716
==========================================
  Hits            408        408
  Misses         2638       2638
  Partials         12         12

Powered by Codecov. Last update 2cab343...a85bc9e

Superseded by #407


Other animation style

It'd be nice to have other animations available, such as fade-in/out like demonstrated in https://neovim.discourse.group/t/wip-animated-notifications-plugin/448

Yep I'd like to make the animations customisable and perhaps supply pre-packaged configs depending on how complex it will be. Have to figure out an API for it first!

no animation would be nice too


fix: PR Bot has malformed workflow manifest

PR Bot has malformed workflow manifest because I did a sloppy change.
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

I am never sure with GitHub Actions, but this at least fixes https://github.com/kedacore/keda/actions/runs/7540676363?pr=5382


Use functional options

Dear Lazyweb: It would be nice if our API looked less like
gz.NewGzipLevelAndMinSize(1, 1024)(myHandler)

and more like
gz.New(myHandler, gz.CompressionLevel(1), gz.MinSize(1024))

See Functional options for friendly APIs. I'm open to other solutions, too.

After playing around with more and more go-kit, I've been leaning towards the latter lately.

This was fixed with the merging of #51.

The main difference was that the options take the form:
wrap, _ := gz.GzipHandlerWithOpts(gz.CompressionLevel(1), gz.MinSize(1024))
wrap(myHandler)

instead of:
gz.New(myHandler, gz.CompressionLevel(1), gz.MinSize(1024))

Either this should be closed or considered a request to add the New function described above.


Android release issue

Hello, there is a problem. In debug everythinng fine, but in release i got grey screen and audio.
Flutter (Channel stable, 1.20.2)
chewie: 0.9.10
video_player: 0.10.12+5
in console:
E/flutter (18918): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: NoSuchMethodError: The method 'contains' was called on null.
E/flutter (18918): Receiver: null
E/flutter (18918): Tried calling: contains()
E/flutter (18918): #0      RenderBox.hitTest (package:flutter/src/rendering/box.dart:2151)
E/flutter (18918): #1      RenderBoxContainerDefaultsMixin.defaultHitTestChildren. (package:flutter/src/rendering/box.dart:2505)
E/flutter (18918): #2      BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:773)
E/flutter (18918): #3      RenderBoxContainerDefaultsMixin.defaultHitTestChildren (package:flutter/src/rendering/box.dart:2500)
E/flutter (18918): #4      RenderCustomMultiChildLayoutBox.hitTestChildren (package:flutter/src/rendering/custom_layout.dart:411)
E/flutter (18918): #5      RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #6      RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #7      RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #8      RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #9      RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #10     RenderClipRRect.hitTest (package:flutter/src/rendering/proxy_box.dart:1431)
E/flutter (18918): #11     RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #12     RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #13     RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #14     RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #15     RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #16     RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #17     RenderIgnorePointer.hitTest (package:flutter/src/rendering/proxy_box.dart:3124)
E/flutter (18918): #18     RenderBoxContainerDefaultsMixin.defaultHitTestChildren. (package:flutter/src/rendering/box.dart:2505)
E/flutter (18918): #19     BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:773)
E/flutter (18918): #20     RenderBoxContainerDefaultsMixin.defaultHitTestChildren (package:flutter/src/rendering/box.dart:2500)
E/flutter (18918): #21     RenderStack.hitTestChildren (package:flutter/src/rendering/stack.dart:599)
E/flutter (18918): #22     RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #23     RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #24     RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #25     RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #26     RenderFractionalTranslation.hitTestChildren. (package:flutter/src/rendering/proxy_box.dart:2543)
E/flutter (18918): #27     BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:773)
E/flutter (18918): #28     RenderFractionalTranslation.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:2537)
E/flutter (18918): #29     RenderFractionalTranslation.hitTest (package:flutter/src/rendering/proxy_box.dart:2523)
E/flutter (18918): #30     RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #31     RenderFractionalTranslation.hitTestChildren. (package:flutter/src/rendering/proxy_box.dart:2543)
E/flutter (18918): #32     BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:773)
E/flutter (18918): #33     RenderFractionalTranslation.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:2537)
E/flutter (18918): #34     RenderFractionalTranslation.hitTest (package:flutter/src/rendering/proxy_box.dart:2523)
E/flutter (18918): #35     RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #36     RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #37     RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #38     RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #39     RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:124)
E/flutter (18918): #40     RenderBox.hitTest (package:flutter/src/rendering/box.dart:2152)
E/flutter (18918): #41     RenderIgnorePointer.hitTest (package:flutter/src/rendering/proxy_box.dart:3124)
E/flutter (18918): #42     RenderProxyBoxMixin.hitTestChildren (pa
Thanks in advance

same problem did you find a solution

same problem did you find a solution

same problem did you find a solution
Can you share code with problem?

same problem did you find a solution
Can you share code with problem?

Same here .. I got to make the example work on my device (although the current version of the example has issues), but when I build a release apk, the example does not work anymore.

same issue here. Any solution?

Any resolution?


Move kernel ranking to preferred controller component

Kernel ranking is only used by Preferred Controller component and the computation are run against results from IKernelFinder.listKernels. It would make better sense to move it out of IKernelFinder.

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for feature-requests.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Codecov Report

Merging #11145 (544d161) into main (3a1f730) will increase coverage by 0%.
The diff coverage is 60%.

:exclamation: Current head 544d161 differs from pull request most recent head c8ee2a8.


SuperPutty quit working

My company just moved to AD passwords so my computer was updated.
After the update, SuperPutty stopped loading.  No errors no windows just won't load anymore.
Even tried uninstalling and reinstalling it and when I clicked launch and finished, nothing.

Found the issue and solution.
My profile was changed and my first and last name had a space between them before, they don't now.
in my documents folder, there is a file "SuperPuTTY.settings"
Changed  to match my new profile name.