Modified slice to leverage APIs to specify buffer size and watermark.

Leverages implementation in #8088
CI will not pass until #8088 is merged

[approve ci]

[approve ci clang-analyzer]


Feature Request: Change order of elements in export (Array)

I am using Godot Engine v3.2.dev.calinou.0985d5fa9 on Windows 10
Export arrays in the inspector are great!
But it can be a pain when you add a lot of elements, then realize you need to insert another element at a certain index. Right now the only way to do that is to erase every element until you reach that index, insert the new element, then re-add every element.
There are a few ways to add this, for example:
-arrows next to the element index number to move it up or down the array
-Being able to drag the elements to sort them (however would not work with more than 1 page)
-Editable index number that will re-arrange elements according to the number you change it to
-"Insert at index #" option at top of the array
If there are any better ways then I'm all for it!

Closing in favor of the proposal: https://github.com/godotengine/godot-proposals/issues/23


mist: remove

Motivation for this change
Mist is now deprecated and not maintained anymore since about two years ago.
See README of the repository.
Note that the package in master is also broken (segfault when starting on linux-x86_64).
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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 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.

Diff mostly LGTM, except the alias is a little too long. I'd follow something closer to https://github.com/NixOS/nixpkgs/blob/8c95378ef9b4b5e7ba52c73aa8554d53cd635327/pkgs/top-level/aliases.nix#L580
If you want, you could still include the migration guide, though people could also find that on their own. I might also move the mist section up to somewhere in the file where it makes a little more sense than directly at the end. maybe somewhere alphabetically.

Simplified. Now I just put the link to README of the repository, which contains these links.
r? @jonringer

Always happy to see garbage being picked up!

I guess i didn't hit submit review, but yea, looks good


Rewrite addMedia to treat remote URLs correctly, use fewer regexes

Fixes #87 and #94
Includes accompanying tests
Also fixes outstanding phpcs phpdoc complaints

Hi guys, is this PR ready to be merged, or are there things that need to be fixed:
Note to self:

Manually change URL to empty.jpg as requested by @Synchro

It's ok as far as I'm concerned. I think there might be a few happy people if you merged it :)

Thanks @Synchro for the PR and @to-be-the-best for your review.
I've merged it, fixed the "path to the empty image" and changed some things in Exception handling to make all the phpunit tests pass.


Create contribution guidelines

Currently there is no any contribution guidelines. I think adding it may be helpful for newcomers.

I can take care of it

Hi @Evalle !
It would be great, I'll assign this task to you. 👍

Resolved in https://github.com/ml-in-programming/topias/pull/22


chirp: No module named gtk

Describe the bug
After building chirp from master or release-19.09 branch, chirpw does not start and throws
WARNING: python-future package is not available; chirp.drivers.tk8180 requires it
Traceback (most recent call last):
  File "/nix/store/9xis5b779bn696vhqs6za4a9r5rh69zr-chirp-daily-20190925/bin/.chirpw-wrapped", line 131, in <module>
    from chirp.ui import mainapp
  File "/nix/store/9xis5b779bn696vhqs6za4a9r5rh69zr-chirp-daily-20190925/share/chirp/chirp/ui/mainapp.py", line 26, in <module>
    import gtk
ImportError: No module named gtk

To Reproduce
Steps to reproduce the behavior:

Check out the master branch. I did git bisect and found out the following:

The lastest known working commit is 7d3b44c9be008a34a3f36a0303fd8d3f20191244
Then there are some commits where the build is broken
The first known commit where chirpw breaks is 0570a6b1268

build and execute chirpw with $ nix-shell -I nixpkgs=. -p chirp --run chirpw
chirpw does not start and gives the error message above.

Expected behavior
I would expect that chirpw starts and shows me a gui.
Additional context
If this is fixed, this should be also backported to release-19.09. In master the package python27Packages.future may be also included as dependency for compatibility with additional radio devices.
Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.80, NixOS, 19.09.891.80b42e630b2 (Loris)
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3`
 - channels(root): `"nixos-19.09.891.80b42e630b2"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

cc: @the-kenny

this builds for me on master and release.
can you ensure you ahve the latest nix-channels, and that you don't have an overlay affecting the build please :)

@jonringer, I believe this issue here is with its runtime.
It sounds like https://github.com/NixOS/nixpkgs/issues/56943, or maybe it's not wrapped correctly.

ah, i ran chirp as well, and it was able to load fine :/

Fixed by https://github.com/NixOS/nixpkgs/commit/f9dd4b27f168b32bf2c2ed3db4c09af9f0d836fc


RefinedFaceMesh results were often broken

Hi
often RefinedFaceMesh were broken
after rebooting the unity editor, it worked fine.
but I don't know the reason
Thanks for helping me

How about other Barracuda samples? You can find bunch of them in my repositories.
https://github.com/keijiro?tab=repositories&q=barracuda

I close this issue due to inactivity.


null_argument_to_non_null_type warning should also apply for nullable arguments

Today, the following is allowed, with no warning, but is guaranteed to throw:
void main() async {
  int x;
  int? y;
  x = await Future.value(y);
}

In contrast to Future.value() and Future.value(null) which will both provide a warning.
Is there a reason we aren't warning for the case where it is provided a nullable type? While it won't throw in all situations, it is inherently unsafe, and I would rather make that visible by requiring the user do y!.

https://dart-review.googlesource.com/c/sdk/+/282661

@lrhn What I am suggesting here is that we should be warning for any argument whose type is not T (even though the argument is typed T?, we know that it should really be T). So this doesn't have to do with constant propagation unless that is influencing type inference or something.
It would be better if we could generalize this somehow obviously, but we already have custom hacks for this constructor so making them cover more cases is probably fine.
This is a highly used core API and it is inherently unsafe. At a minimum I think we should have a lint for this which is part of the core set of lints. This warning (or lint) won't give false positives.

@jakemac53 from your evidence, what do you think about the "potentially non-nullable" case? E.g.
void f<T>(T? i) => Future<T>.value(i /* 1 * /);

void main() {
  f<int?>(null); // no runtime exception
  f<int>(null); // runtime exception
}

If we produce a warning at i /* 1 */, it would not be a guaranteed runtime error, just... spooky. If we do not produce a warning, we risk letting dangerous code slip by. WDYT?

This is exactly the type of thing that should be a warning imo - my example above is the same case where it isn't guaranteed to produce a runtime error just based on the type (even if the particular code always would). But it is inherently unsafe and allows bad code to exist without any warnings or guardrails regardless of if it happens to throw or not in all situations.
Specifically in your example, adding the warning would force an explicit cast i /* 1 */ as T. That should make it clear to people that they are doing something unsafe, at a minimum.

Another case here that we should about:
void completeIt<T>(Completer<T> c) => c.complete();

This provides no warning but is unsafe, flutter currently does this here https://github.com/flutter/flutter/blob/cacef57b6efa19e8aa4dcb6065e8ac7449a6b9d3/packages/flutter/lib/src/material/scaffold.dart#L2314.


Microsoft.EntityFrameworkCore.RawSqlStringInjectionDiagnosticAnalyzer Warning

From @pgmolloy on September 27, 2018 0:5
Just started getting a build warning after updating Visual Studio. Can this be disabled as it doesn't seem to affect anything that I can tell, app builds, deploys and runs in Azure without a problem so not sure why this is a warning except maybe for that package developer. CSC : warning AD0001: Analyzer 'Microsoft.EntityFrameworkCore.RawSqlStringInjectionDiagnosticAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'.
I am not using the RawSqlStringInjectionDiagnosticAnalyzer but it may be a dependency so without feedback I am hesitant to do anything besides leave the warning display annoyingly 30 times every build.
Cheers Peter
Copied from original issue: dotnet/core#1965

@pgmolloy What version of Visual Studio are you using and what version of the .NET Core SDK do you have installed?

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.

This issue can be repro'd with the following snippet:
    int id = 1;
    int status = 1;
    FormattableString sql;

    sql = $"UPDATE Jobs SET Status = {status} WHERE Id = {id}";

    int result = await _context.Database.ExecuteSqlCommandAsync(sql);

Note that this exception is not triggered if the string is passed directly to the method, nor if it is assigned to as part of the variable declaration.

@toddlucas This looks exactly like the code the analyzer is intended to warn on. Even though it may appear that status and id are passed as parameters, they are in fact inlined.

@ajcvickers @toddlucas that is a safe pattern that the analyzer doesn’t detect as safe. I filed it at
https://github.com/aspnet/EntityFrameworkCore/issues/13273 but we decided not to fix.

Ah, okay. My mistake. Thanks @divega

@divega I missed that the sql variable was typed as FormattableString.

Yes, the SQL is emitted parameterized, but instead of getting the warning, I get an exception. Here's what I get if I assign as part of the declaration:
FormattableStringTest.cs(59,32,59,77): warning EF1000: The SQL expression passed to 'ExecuteSqlCommandAsync' embeds data that will not be parameterized. Review for potential SQL injection vulnerability. See https://go.microsoft.com/fwlink/?linkid=871170 for more information.
1>

and here's what I get if I assign in a statement that is separate from the declaration:
CSC : warning AD0001: Analyzer 'Microsoft.EntityFrameworkCore.RawSqlStringInjectionDiagnosticAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'.
1>

Thanks!

Yes, sorry if I wasn't clear. Your example is correct.

@toddlucas What versions of EF Core, .NET Core, and Visual Studio are you using?

I'm running VS Community 15.8.7, .NET Core SDK 2.1.403 (2.1.5), and EF Core 2.1.4


FIX: constraint check exception with snapshot memory leak in AO/AOCS

closes: #93

Change logs
This bug comes from AppendOnlyVisimapStore_Init calling RegisterSnapshot in appendonly_fetch_init, which creates a deep copy of the current snapshot. Therefore, when a constraint is violated(see function check_exclusion_or_unique_constraint in detail), EROOR will be performed directly, but UnregisterSnapshot in AppendOnlyVisimap_Finish is not called. Therefore, an Asset error will occur when the resource is finally recycled.
In order to solve this problem, we directly delete the RegisterSnapshot in AppendOnlyVisimapStore_Init which is useless and at the same time delete the UnregisterSnapshot.
Why are the changes needed?
FIX: constraint check exception with snapshot memory leak in AO/AOCS
Does this PR introduce any user-facing change?
No
How was this patch tested?
No need
Contributor's Checklist
Here are some reminders and checklists before/when submitting your pull request, please check them:

[x] Make sure your Pull Request has a clear title and commit message. You can take git-commit template as a reference.
[x] Sign the Contributor License Agreement as prompted for your first-time contribution.
[x] List your communication in the GitHub Issues or Discussions (if has or needed).
[x] Document changes.
[x] Add tests for the change
[x] Pass make installcheck
[x] Pass make -C src/test installcheck-cbdb-parallel
[x] Feel free to @cloudberrydb/dev team for review and approval when your PR is ready🥳

Need a rebase.

It seems that this fix has 2 problems:

AppendOnlyVisimapStore_Init() & AppendOnlyVisimapStore_Finish() can be called by other scenarios. i.e. _bt_check_unique() is not the only function calls these 2 functions internally. So we can not just remove calling UnregisterSnapshot().
The root cause of crash in this scenario I guess is:  the stack variable DirtySnapshot initial value is random ( ref to link ), when the snapshot->copied is true, RegisterSnapshotOnOwner() will directly register this snapshot instead of copying one.  So we just need to memset DirtySnapshot to '\0' before using it.

@lss602726449 , @avamingli , @my-ship-it
It seems that this fix has 2 problems:

AppendOnlyVisimapStore_Init() & AppendOnlyVisimapStore_Finish() can be called by other scenarios. i.e. _bt_check_unique() is not the only function calls these 2 functions internally. So we can not just remove calling UnregisterSnapshot().

The root cause of crash in this scenario I guess is:  the stack variable DirtySnapshot initial value is random ( ref to link ), when the snapshot->copied is true, RegisterSnapshotOnOwner() will directly register this snapshot instead of copying one.  So we just need to memset DirtySnapshot to '\0' before using it.

Hi,thanks! Reasonable, +1.

Thanks, it is my mistake. I'll fix this problem and test as you suggest

@avamingli, @liming01
I'm sorry to answer this too late. I have try to fix this problem by setting snapshot->copied. Howerver it doesn't work. And I find that DirtySnapshot will not cause deep copy in the CopySnapshot. I'm thinking of other solutions.
	if (!IsMVCCSnapshot(snapshot))
		return snapshot;


Personal VPN

Hey! I was wondering how to setup NEKit as a personal VPN instead of a VPN Configuration?

What does personal VPN and configuration mean? If you mean Apple Configuration, you don't have to worry, you can't do it.

I guess he is talking about this:
https://developer.apple.com/documentation/networkextension/netunnelprovidermanager
"VPN configurations created using NETunnelProviderManager are classified as regular enterprise VPN configurations (as opposed to the Personal VPN configurations created by NEVPNManager). Only one enterprise VPN configuration can be enabled on the system at a time. If both a Personal VPN and an enterprise VPN are active on the system simultaneously, the enterprise VPN takes precedence, meaning that if the routes for the two VPNs conflict then the routes for the enterprise VPN will take precedence. The Personal VPN will remain active and connected while the enterprise VPN is active and connected, and any traffic that is routed to the Personal VPN and is not routed to the enterprise VPN will continue to traverse the Personal VPN."
So, the answer is no.


Make s2i base image configurable

Currently the s2i image we use is hardcoded to use the latest from "bucharestgold/centos7-s2i-nodejs:latest"
This should be configurable

Do you think this should be configuration of the tag only, and the base image - bucharestgold/centos7-s2i-nodejs is constant? Seems reasonable for now...

I think that makes sense.
Perhaps we revisit when this isn't so openshift specific

Connects to #45


Added EXTRA_NAXSI_RULES environment option

When there are only a couple of extra rules required for an application, this feature allows them to be easily added.

LGTM if you like - needed to add this for file uploads for checking... @vaijab @gambol99 @jon-shanks @allandegnan

@PurpleBooth @jon-shanks @gambol99

LGTM

LGTM


travis CI macOS build has been terminated

Is this a known problem?
(No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

The build has been terminated)

macOS Debug & Release
https://travis-ci.org/qwertycoin-org/qwertycoin/jobs/573056614

Solved here https://github.com/qwertycoin-org/qwertycoin/pull/120


Explaining regression for images

Hello,
tl;dr I would like to use LIME for explaining regression for images.
I'm doing a self-driving car project where my model is predicting the angle of the wheels needed for the car to take a turn (for each frame independently, no history taken into account). Every once in a while, the model decides to inexplicably get off the road, and I asked myself: "Can LIME help me understand what made it do that?"
In your "Roadmap" section of the contributing guidelines, point 4., I found:

Thinking through what is needed to use LIME in regression problems. An obvious problem is that features with different scales make it really hard to interpret.

On the one hand, I've noticed there's a "Using lime for regression" notebook (for LimeTabularExplainer), but on the other, the LimeImageExplainer seems to work with classification only (at least judging by the API, I haven't gone through the details yet).
How big a problem do you think this is? What would need to be done?

Hey, sorry for the delay in responding.
Great question. We do support regression in the TabularExplainer, but I am not convinced it is interpretable enough to be useful at this point. I haven't really played a lot with regression, so that could be it.
For images, I think the problem I listed (features with different scales) would not really be an issue, since we assume that the features are binary. It should be easy to make LimeImageExplainer work with regression. In fact, I think it should just work if you pass a regressor instead of a classifier.
Whether or not the explanation will be useful will depend on a few factors:

Is the perturbation distribution meaningful enough in this case? I.e. can we capture the model's behavior by hiding parts of the image, or is it relying on features that will not be captured by this simple procedure?
Related to the previous point: will the weights be meaningful? I.e. is it helpful to know that 'if I hide this part of this frame, the angle will more or less change by 30 degrees'?

You tell me : )

Thanks for your answer!
Indeed, by passing a regressor instead of a classifier I do get an explanation:

where the original image looks like this:

That's actually not bad -- it makes sense that the borders of the road are relevant. But what I'm struggling with is that a large portion of the road itself seems to be somehow relevant. I'm guessing that's because the superpixels that were highlighted were "glued" to the boarders. It might be that, but also it might be the fact that the segments look like this:

meaning: they're huge.
But regarding your concerns:

That's a valid point. My assumption so far was that the boarders of the road pay a role (and nothing else should), so without a border of the road the model is bound to fail in predicting the right angle. Let's stick to this assumption for now.

I think that's valuable. To elaborate: what I would like to see is a kdeplot (like those here) overlaid on the original image, showing how much parts of that image "contribute" to the angle predicted by the model.

Now, I took a look at LimeImageExplainer.explain_instance and I thought: "If I generated segments a little differently, I might get many tiny segments, each with its corresponding weight, so that I could combine them into a very rough-looking kdeplot".
Also: "What if I used a spectral clustering algorithm to generate those segments (like here)?".
So my question is: do you think injecting a different image segmentation technique into LIME (for my own purposes, I'm not sure anybody else would use this feature) might be the way to go? For the purpose of finding relevant borders, instead of superpixels that contain those borders?
BTW, I was inspired by the functionality presented here where the relevant parts of the image are boarders, not patches (superpixels) of the image.
I want to get something similar (but obviously better ;)) in LIME.

Yes, these segments are too big to get a useful explanation. You can generate segments in all sorts of ways - the more finer grained they are, the more samples you will need to get a useful explanation. I would suggest trying out different segmentations until you get something that makes sense for your purposes. We already allow you to define your own segmentation function
Also notice that when we 'hide' a superpixel, we replace it with the mean of the image by default. It seems that in your case it would be better to replace it by some neutral color (maybe black?), using (this parameter)[https://github.com/marcotcr/lime/blob/master/lime/lime_image.py#L116].

Thanks, that's very helpful.
I think that's all I need to explain the behavior of the car, I'll let you know if I get something valuable.

What do you mean by passing a regressor?
I just predict facial keypoints for images and i try this:
explanation = explainer.explain_instance(faces[0], model.predict, top_labels=5, hide_color=0, num_samples=1000)
Would this work with "model.predict" or i have to pass somthing else?

I have the same doubt

thank u guys. the discussion here is so vauable for me

Does it mean a softmax classification of 2 labels is better than a regression here?


Change Fortran source file suffix to .f90

Please consider changing the source file suffixes from .f08 to .f90.
The .f90 suffix means that the source code is free format, not that
the code conforms to the Fortran 90 standard. Code that uses the .f90
suffix can use features from any Fortran standard. All Fortran
compilers recognize .f90 as a suffix indicating free source form, but
some may not recognize a suffix such as .f95, .f03, .f08, or .f18.
Some users may have build tools that do not recognize suffixes other
than .f90. Most Fortran source code on GitHub that uses features from
a standard more recent than Fortran 90 still uses the .f90 suffix.

Dear Beliavsky,
Thank you very much for your comment. I initially believed that .f08 was also standard for free source form, but as you pointed out, I've realized that this may not be true for many compilers. I appreciate your recommendation, and I will make the necessary changes by using the suffix .f90.
Thank you,
Javier.


Update to the latest vesion of the ComputerCraft API (19e4c03)

As mentioned in the other PR, I'd really prefer this was added as a gradle dep, or as a compiled jar in a libs folder at minimum (we've moved everything else we can to gradle). Likely requires work on CC's end or a custom build.

Likely requires work on CC's end or a custom build.

Yeah, they don't offer a repository or even a jar right now. I opened dan200/ComputerCraft#446 about it. Can we do this for now, then switch to a gradle dep or a jar once they get one added?

Does the integration work without this PR?

Any updates on this?

doesn't look like we got any progress on CC's side. I can generate an API jar for us this weekend though if we wanna go that way

@thiakil, that sounds like a good option for now. Let me know once it's ready and one of us can add it in as a maven dep.

added on my maven server and our 1.12 branch, changes available on https://github.com/thiakil/ComputerCraft/tree/api-jar if wanted to host elsewhere


What is the value of loss?

Hi @nmerrill67 ,
I'm finetuing calc network on our own dataset. Could you provide the final value of your training loss? Mine is 63, which I think is too large, and the PR Curve is also worse than your weights.
I trained the network 500k iterations.

Hi @nmerrill67 ,
I'm finetuing calc network on our own dataset. Could you provide the final value of your training loss? Mine is 63, which I think is too large, and the PR Curve is also worse than your weights.
I trained the network 500k iterations.

Excuse me, have you solved this problem? I have a similar problem now

Hi @nmerrill67 ,
I'm finetuing calc network on our own dataset. Could you provide the final value of your training loss? Mine is 63, which I think is too large, and the PR Curve is also worse than your weights.
I trained the network 500k iterations.

Excuse me, have you solved this problem? I have a similar problem now

No, I haven't. I found there were lots of other methods better than calc network. I do suggest you read more recent papers.

Hi @nmerrill67 ,
I'm finetuing calc network on our own dataset. Could you provide the final value of your training loss? Mine is 63, which I think is too large, and the PR Curve is also worse than your weights.
I trained the network 500k iterations.

Excuse me, have you solved this problem? I have a similar problem now

No, I haven't. I found there were lots of other methods better than calc network. I do suggest you read more recent papers.

Got it! Thanks for your suggestion~


[SPARK-13207][SQL][BRANCH-1.6] Make partitioning discovery ignore _SUCCESS files.

If a _SUCCESS appears in the inner partitioning dir, partition discovery will treat that _SUCCESS file as a data file. Then, partition discovery will fail because it finds that the dir structure is not valid. We should ignore those _SUCCESS files.
In future, it is better to ignore all files/dirs starting with _ or .. This PR does not make this change. I am thinking about making this change simple, so we can consider of getting it in branch 1.6.
To ignore all files/dirs starting with _ or `, the main change is to let ParquetRelation have another way to get metadata files. Right now, it relies on FileStatusCache's cachedLeafStatuses, which returns file statuses of both metadata files (e.g. metadata files used by parquet) and data files, which requires more changes.
https://issues.apache.org/jira/browse/SPARK-13207

@davies How about we also get this in branch 1.6?

Test build #53080 has started for PR 11697 at commit 02908f4.

+1, we should.

LGTM

Test build #53080 has finished for PR 11697 at commit 02908f4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53080/
Test PASSed.

I've merged this in branch-1.6.

(You'd need to close this)


Create LICENSE.md

Hey Alex! Thank you for the PR. For my understanding, what is the value of adding the MIT license to this repo?

Hey! I realize I should have put that in my initial PR. Basically, to quote from https://opensource.guide/legal/, " Without a license or other agreement in place, any contributions are exclusively owned by their authors. That means nobody…can use, copy, distribute, or modify their contributions." In contrast, if we use a license such as MIT, we would clarify that its fine for anyone to use/copy/modify this repository—which, I think is in the spirit of how we were using this repository.
Why add this now? The short version is, in all honesty, I ended up using my final project for the grad course as the starting point for implementing my own language https://bismuth-lang.org/ based on my research in programming languages for distributed systems. As such, I ended up using my fork of the docker image to develop Bismuth. As Bismuth continues to become instantiated as its own language separate from the course (i.e., newer versions of clang, changes in required software, etc that could break projects relying on this image) and as I plan to open source the project in the coming weeks, I think it would be good to have some license on this repo to clarify if/how downstream forks of it can/should be done.
Of course, happy to discuss this all further—after all, I know its a bit out of the blue.

Wow, very cool. I took a quick look through Bismuth's page and your paper. Super interesting project and I'll definitely be watching its future progress once you take it open source. This is awesome stuff, man!


ANNPLT-113: Remove tld files from /WEB-INF/tags per JSP spec.

Modern tomcats load TLD files directly from the jars. JSP spec does not allow TLD files in /WEB-INF/tags and Tomcat 8 now enforces this.

It seems like all tlds would be in associated lib jars so deleting all of them makes sense to me.  +1


Fix for java 11

In Java 11 (maybe 9), DefaultMutableTreeNode.children changes from Vector to Vector making #16 not compiling under java 11. Adding a few cast - could not think of a nicer/better solution

The idea for childNodes() method was to avoid casting everywhere.
I don't have Java 11 at the moment (will try/check it later). However it looks they changed Vector to Vector<TreeNode>. In such case, will such implementation work in Java 11 ?
   public Iterable<ServerTreeNode> childNodes() {
        if (children != null) return (Vector) children; // implicit casting to Vector
        return Collections.emptyList();
    }

@dzmipt yes that works - see #21


Eureka in AWS

Hi,
To get the eureka working in aws using EIP, are following things are enough?
1. I have allocated a new EIP from AWS
2. Configured Eureka client based on the Wiki post. Basically modified the region, zone and service URL to reflect the newly allocated EIP.
3. Updated  -Deureka.datacenter=cloud java commandline to reflect use of AWS env.
4. Updated Eureka server properties for 'Test' env to include AWS credentials (this step is required ??)

can somebody please review this and let me know that I'm on right track?

the  approach of hardcoding the EIP works fine now, so closing it.


Add "Watch List" functionality to Carrier page

[ ] Members should be able to add carriers to a 'watch list' of carriers that they are interested in.  (This might need to be renamed.)   This should create a Loan object with no volunteers or due date associated with it.

[ ] This should be implemented as an action that creates the Loan and then redirects to the show page for the carrier if it succeeds.

[ ] Members must have signed the appropriate disclosures to check out items;  if a member has not signed the required disclosures, they should be redirected to an information page for that.

@valeriecodes or this one?

I can do this next, but I probably won't get to it until tomorrow or the next day.

@valeriecodes are you still planning to take this issue?

Yes, sorry for delay, I can do it this weekend.
On Thu, Nov 14, 2019 at 9:28 AM Polly Schandorf<EMAIL_ADDRESS>wrote:

@valeriecodes https://github.com/valeriecodes are you still planning to
take this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rubyforgood/babywearing/issues/166?email_source=notifications&email_token=ABJQAZJUK4ZFHM5RZ2MJGTDQTVOAFA5CNFSM4JEBP6IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEECAK5I#issuecomment-553911669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJQAZMJZ4A5Q4LQQ523ONDQTVOAFANCNFSM4JEBP6IA
.

I'm going to close this issue for now, Steph reports that this isn't the best use of our time at this point we have other more pressing needs.


fix: Fixes hanging up incoming calls with media.

Adds:
            || CallPeerState.CONNECTING_INCOMING_CALL.equals(peerState)
            || CallPeerState.CONNECTING_INCOMING_CALL_WITH_MEDIA.equals(peerState)

to the cases of hanging up call

And adding one more hangup cause internal server error.


nixos/ssh: disable authorizedKeysInHomedir by default (v2)

Fixed version of #309025, which was rolled back due to a bug (not caught by ofborg somehow?)
See that PR for prior discussion.
Description of changes

[x] Default services.openssh.authorizedKeysInHomedir to false on stateVersion 24.11 and later
By request of maintainer, and would prevent future issues similar to #31611
[x] Warn when only pubkey authentication is configured, keys are only taken from declarative configuration, and no user has an SSH key configured.

Things done

Built on platform(s)

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

Tested, as applicable:

[x] nixosTests.openssh
[x] Manually tested the warning

24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[x] (Module updates) Added a release notes entry if the change is significant

[x] Fits CONTRIBUTING.md.

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

breaking change, will have to wait until after stable release

breaking change, will have to wait until after stable release

The change is gated on stateVersion, it's okay.

This is a huge gotcha that I don't feel comfortable sneaking in right before release for stateVersion=="24.11". You risk locking people out of their fleet.
I'm not convinced this has received enough visibility/consensus, as such I'd prefer for the people running bleeding unstable to first have a change to get a feel for it. What are your opinions @NixOS/nixos-release-managers ?

Yeah, it's too close to release imo for this. Let's wait until branch off. It also gives people more awareness of this change.

Might be relevant for nixos-anywhere, it's using ssh-copy-id. Have to check how much it is affected by it really.

We also have to check cloud-init as it relies on being able to set ssh keys.

Right, I don't know whether nixos-anywhere reports eval-time warnings with --build-on-remote. If it does (as well as in the default case with a local build) the module's warning should trigger if there aren't users with authorized keys in the configuration.

This doesn't work if you run nixos-anywhere against the installer iso.

This seems unprecedented to me. What other distros don't include %h/.ssh/authorized_keys by default? AFAIK it's standard practice to have this. A single issue with a PAM module that has already been fixed does not seem like motivation enough to break a broadly established norm here. I would be very against this being merged unless I'm wrong that users can broadly expect %h/.ssh/authorized_keys to work by default across the vast majority of distros.


Titlecase?

Is there a titleCase routine?  Cant find by that specific (or partial) name but guessing it might be there with a different name ;-)

Hi @mikeerickson,
Thanks for the question.
It would be something similar to the studly caps?
/**
 * Transform to StudlyCaps.
 * @playground
 * var toStudlyCaps = require('strman').toStudlyCaps;
 * let title = "A Javascript string manipulation library.";
 * let result = toStudlyCaps(title);
 * @param {String} value - The String!.
 * @return {String} - String in StudlyCaps.
 */
const toStudlyCaps = value => {
    let string = value.replace(/[\-_\s]+(.)?/g,
                            (match, chr) => chr ? toUpperCase(chr) : '');
    return toUpperCase(string.substr(0, 1)) + string.substr(1);
};

export {toStudlyCaps};

@dleitee perfect, thx! Figured it was there somewhere

@dleitee I will be creating an Angular filter library (unless one already exists)?

@mikeerickson
Thank you for this. There is not anything like that, you want help?


Missing location: Sweden Central

Is your feature request related to a problem? Please describe.
The Azure location Sweden Central is missing in the Azure Naming Tool. We're using version 3.1.0 and the configuration have been updated today but this location is still missing.
Describe the solution you'd like
Being able to choose Sweden Central when generating a resource name.

Hi @stefan-berglund ,
Thank you for your feedback. Will add this to our next release.

Bryan


fix: use signal names for trap

fixes #6.
This is my first time putting together a patch fix, so please check that I've done it all right.
I'm not sure I understand what the naming convention is for patch directories (I was assuming PR indicated a particular pull request, but the existing directory numbers don't match the existing PR numbers). I just went with the next number. Let me know if that needs changing.

@IgorTodorovskiIBM - If you're happy, do you want to merge this?
I don't have write access.


System.Exception: 'Handler not found for view ZXing.Net.Maui.Controls.BarcodeGeneratorView.'

When I copied the example for rendering a QR code I get this exception.
On MAUI - RC2

You need to add this line to your MauiProgram.cs
 builder.UseBarcodeReader();

Thanks, I thought the reader would only be needed by the reader ;) Maybe this should be specified in the README?

It is working but this time I got  "'MauiAppBuilder' does not contain a definition for 'UseBarcodeReader' and no accessible extension method 'UseBarcodeReader' accepting a first argument of type 'MauiAppBuilder' could be found (are you missing a using directive or an assembly reference?" error. What should I do ? I can't build because of this error

this project (and associated package) have no reason to live anymore, since the original project ZXing.Net.Maui (https://github.com/Redth/ZXing.Net.Maui) was corrected and a package published.
Please open issue in the original repository if something still not work


modifyOutputPath: true  in the example C# yaml causes zip file to have the wrong folder depth

This causes problems when using the App Function Deploy task (release pipeline).
Instead of this type of folder structure:
+---bin
+---HttpTriggerCSharp
\---runtimes
    +---unix
    |   \---lib
    |       \---netstandard1.3
    \---win
        \---lib
            \---netstandard1.3

you get this (note the extra folder s)
\---s
    +---bin
    +---HttpTriggerCSharp
    \---runtimes
        +---unix
        |   \---lib
        |       \---netstandard1.3
        \---win
            \---lib
                \---netstandard1.3

I'll create a PR to fix the documentation

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

ID: 0ab62930-d35d-d6d3-8bb7-2ed6b34636bb
Version Independent ID: 86725233-d4a5-a796-cd6e-c05c3675952b
Content: Continuously update function app code using Azure DevOps
Content Source: articles/azure-functions/functions-how-to-azure-devops.md
Service: azure-functions
GitHub Login: @ahmedelnably
Microsoft Alias: aelnably

#reassign:ggailey777


add topics

I suggest adding the topics quantum-chemistry, ligand in the About section at https://github.com/kjelljorner/libconeangle.

Good suggestion!


fr(datepicker): add a way to visually distinguish specific dates on the calendar

Feature request:
Default selected date without actually setting the date input value.
What is the expected behavior?
Like the "today" selection, I want to set a specific default day on the Datepicker without setting the form value.
What is the current behavior?
I use startAt, but it doesn't mark explicitly the date I choose.
What are the steps to reproduce?
Trivial.
What is the use-case or motivation for changing an existing behavior?
Show a best date tip for the user.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6
Is there a correct way to do this?
Thanks a lot!

Changed the title to clarify that this is asking for a way to visually distinguish dates, not set a separate selection for the calendar


[Issue] Waila compat conflict

Dear @McJty,
I got this issue http://pastebin.com/YtDMUk4q with the newest update (0.2.0) and after trying different versions and combination of mods, I got the idea this mod could be the troublemaker.
Maybe I'm wrong but with 0.1.1 it works just fine and with 0.2.0 (with compat) it crashes.
access_denied

How did you come to that conclusion? Cause I don't see anything in that crash report mentioning Deep Resonance as the problem. However I do notice that you do not have mcjtylib-1.3.0.jar installed. Which is a required library file for all of McJty's mods.

I stand corrected it seems. It would appear that Deep Resonance has a hard dependency for Waila Compat. I wasl iterally starting up a test instance and this happened.
http://paste.ee/p/RIgca

I don't really understand where this comes from. As far as I know we don't have a hard dependency on Waila Compat...

Yeah this is weird and it still crashed even when I had Waila installed.

Im currently investigating this


Improve Unit/Widget testing

Idea is to contribute small widget/unit tests for the app. So, that we can achieve the aim of TDD for the project. Try to contribute a single test in a PR.

@arteevraina Can I work on this?

Sure thing !

Any updates @Khushi-24 ?

Yes I am on it.


Better input/output validation in methods

For example :

[ ] check the block in bot.placeBlock is not air/null
[ ] check the block digged in bot.dig is not air/null
[ ] create placeBlock callback : should be called when the block has actually been placed (also fix the problem of an entity being where you want to place the block : the server will send a air block update)
what else ?

In case that happen, call cb(new Error("thing")) and return (see https://github.com/andrewrk/mineflayer/issues/248#issuecomment-90174519)

Now placeBlock has a callback


Add image to chapter background

Referred here, basically, having issue with the web based tools I normally use to create my campaign guide, but managed in those tools to add an image as a background to chapter text.

I've tried several solutions found on tex.se to input into my tex file and style file, yet they spit out various errors.
These are my current MWE files (renamed as txt to upload to Github)
sty file: modernaig.txt
tex file: AetherPunks.txt
I've tried code from the following tex.se pages:
https://tex.stackexchange.com/questions/405369/custom-chapter-with-image
https://tex.stackexchange.com/questions/192868/how-to-place-an-image-in-a-chapter-title-perfectly-centered
https://tex.stackexchange.com/questions/418022/background-image-under-chapter-title?rq=1
https://tex.stackexchange.com/questions/172999/insert-an-image-at-the-beginning-of-a-chapter
https://tex.stackexchange.com/questions/23477/fancy-chapter-headings

I do something similar in my War of the Burning Sky PDFs.

Here is the code:
\titleformat {\chapter}
  { \color {white} \scshape \Huge } % Format
  {} % label
  {0pt} % sep
  {
    \vspace{-.23in}
    \begin{tikzpicture}[remember~picture, overlay]
      \draw[fill=themecolor, rounded~corners] (0,-6pt) rectangle (\textwidth,24pt);
    \end{tikzpicture}~
  } % before code

The important part is the "before code" block. It moves up and drops a tikz object which ends up being rendered before the words. You could replace the \draw command with \includegraphics.

Do note that this code example has \ExplSyntaxOn, so spaces don't matter, and the tildes (~) are explicit spaces.

With regards to \ExplSyntaxOn, is that put in the preamble of the sty file or the tex file? The reason I ask is, I'm still learning LaTeX, as the extant of my coding skills is with java over a decade ago, I'm more of a middling Photoshop user, as the classes I was enrolled in the time showed you enough to get by, and not much more. Hence me asking all these questions.

\ExplSyntaxOn makes a few changes to handling of code to support LaTeX3. Primarily _ and : become characters that can be used in function names, and white space is ignored (hence the use of ~ for explicit spaces all over the place. In general, it is only used in class and style files. You would not normally use it in the main document. You can read more here.
https://tex.stackexchange.com/questions/108696/what-do-explsyntaxon-and-explsyntaxoff-do

I saw you got it working, so I am closing this.


[FR] Add support for linking directly to datasets, views, and samples

Proposal Summary
While collaborating on a dataset, it's often hard to share your findings with others.
I propose having a multiple links support for Fiftyone.
I acknowledge, that this could be be proposed already or even implemented on some level, but weren't able to find previous stories like this.
Motivation

Sharing a link to a dataset or a sample, or a specific query would be incredible useful.
Currently there is no other option, other than passing around the IDs of samples and using query to search.
This would increase usability of Fiftyone in comparison to other tools we are using, that do have support for in-app links.
I wasn't able to find other ways to share data, other than passing IDs of samples / frames.

What areas of FiftyOne does this feature affect?

[x] App: FiftyOne application
[x] Core: Core fiftyone Python library
[x] Server: FiftyOne server

Details
Some use cases:
fiftyone.com//<dataset_name>?query={filter{}}
fiftyone.com//<dataset_name>?sample_id=
fiftyone.com//<dataset_name>?<custom_label_id>=, custom_label_id could be a 'scene_id', etc.
Willingness to contribute
The FiftyOne Community encourages new feature contributions. Would you or
another member of your organization be willing to contribute an implementation
of this feature?

[ ] Yes. I can contribute this feature independently.
[x] Yes. I would be willing to contribute this feature with guidance from
the FiftyOne community.
[ ] No. I cannot contribute this feature at this time.

Love this idea!
fiftyone>=0.16.0 introduced the first step in this direction, you can link directly to a specific dataset. For example:
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset('quickstart')
session = fo.launch_app(dataset)

The quickstart dataset can be directly linked to via http://localhost:5151/datasets/quickstart.
The next steps would be the ability to link to a specific DatasetView, or a specific Sample of a Dataset or DatasetView:
http://localhost:5151/datasets/<name>?view=<view>&sample_id=<id>

#1737 adds a relevant feature: the ability to save a view by name. So, building on my previous comment, here's the ways a user could directly link to specific things:
# Load a saved view in the grid
http://localhost:5151/datasets/<name>?view=<name>

# Load a specific sample in the expanded modal
http://localhost:5151/datasets/<name>?sample_id=<id>

# Load a saved view *and* the specific sample in the view in the modal
http://localhost:5151/datasets/<name>?view=<name>&sample_id=<id>

And these workflows can/should be supported via the API as well:
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset("quickstart")

session = fo.launch_app(dataset)

# Load a saved view in the App
# This is already possible as of #1737
session.view = dataset.load_view("test")

# Load a specific sample in the expanded modal
# This would need to be implemented
sample_id = dataset.shuffle().first().id
session.open_sample(sample_id)

Closing. We can link to datasets and saved views. Samples forthcoming.
Btw, if you are collaborating on datasets, sounds like you might need FiftyOne Teams!! https://voxel51.com/fiftyone-teams/


Request for Source Code Access

I'm interested in your work presented in the paper Go Static: Contextualized Logging Statement Generation, and I found the concepts and results presented in your paper quite inspiring and would like to replicate your study to further my understanding.
Howerver I noticed this repository currently does not include the source code.😹 I understand that managing and releasing code can be time-consuming, but if it is possible, could you please make the source code available? 🤗
Best wishes!

Sorry for my late.
I will upload all the code before the FSE conference. Sorry to keep you waiting.

@YichenLi00
I find a repo matching your paper, I reckon that may be the early version of your work. I try to run it but failed with some problems, so I have to ask again if you might be able to share the latest code.
Respect the effort it takes, thanks again.

Yeah, the repo you provided almost contains all the functions outlined in the paper. I haven't yet implemented a user-friendly interface for it. You can proceed with using the code from the repository for now. Once I survive the upcoming deadline, I will work on refining the interface.


No symmetry in images versions

Latest server  version is  v21.1.0
https://hub.docker.com/layers/gocd/gocd-server/v21.1.0/images/sha256-7d68a41ac2656d1ccf3e8426df7be0df7b92b4a5e49d28486642200fc6604c86?context=explore
Latest agent version  version is  v20.8.0
https://hub.docker.com/layers/gocd/gocd-agent-alpine-3.9/v20.8.0/images/sha256-3c7cd03a9c9b35451caadc7d99f5884243daa52154f00f17fedf0bdfcb7936af?context=explore
Template for sever
https://github.com/gocd/helm-chart/blob/master/gocd/templates/gocd-server-deployment.yaml
      {{- if .Values.server.image.tag }}
      image: "{{ .Values.server.image.repository }}:{{ .Values.server.image.tag }}"
      {{- else }}
      image: "{{ .Values.server.image.repository }}:v{{ .Chart.AppVersion }}"
      {{- end }}

Template for agent
https://github.com/gocd/helm-chart/blob/master/gocd/templates/gocd-agent-deployment.yaml
      {{- if .Values.agent.image.tag }}
      image: "{{ .Values.agent.image.repository }}:{{ .Values.agent.image.tag }}"
      {{- else }}
      image: "{{ .Values.agent.image.repository }}:v{{ .Chart.AppVersion }}"
      {{- end }}

Default values
https://github.com/gocd/helm-chart/blob/master/gocd/values.yaml
for server
image:
# server.image.repository is the GoCD Server image name
repository: "gocd/gocd-server"
# server.image.tag is the GoCD Server image's tag
tag:
for agent
image:
# agent.image.repository is the GoCD Agent image name
repository: "gocd/gocd-agent-alpine-3.9"
# agent.image.tag is the GoCD Agent image's tag
tag:
If you don't controll deployed version via symmetry you should  not use Chart.AppVersion  for tag for both images.

Hello @djkormo, thanks for bringing this up. This happened as the gocd/gocd-agent-alpine-3.9 was deprecated and removed in 20.9.0. I have updated the image to gocd/gocd-agent-alpine-3.12 and created a release gocd-1.36.0. Please test and verify.

Hello @djkormo, thanks for bringing this up. This happened as the gocd/gocd-agent-alpine-3.9 was deprecated and removed in 20.9.0. I have updated the image to gocd/gocd-agent-alpine-3.12 and created a release gocd-1.36.0. Please test and verify.

It works!

It works!

Works

Works


flutter run lib/not_main.dart fails on iOS

Steps to Reproduce

Start an iPhone simulator.
In the catalog example, run flutter run -d iPhone lib/animated_list.dart

Expected: runs example on simulator
Actual: Fails to run
Logs
Running 'flutter packages get' in catalog...          0.6s
Launching lib/animated_list.dart on iPhone 7 in debug mode...

Error launching application on iPhone 7.

Flutter Doctor
[✓] Flutter (on Mac OS X 10.12.4 16E195, channel unknown)
    • Flutter at /Users/cbracken/src/flutter/flutter
    • Framework revision 3d72406263 (10 minutes ago), 2017-05-04 15:10:54 -0700
    • Engine revision da8ebf40bd
    • Tools Dart version 1.23.0-dev.11.11

Closing as old issue. If this is still happening, please reopen.

Running into the same problem trying to run
flutter run -t lib/main_dev.dart

Currently on the stable branch of flutter
flutter --version
Flutter 1.0.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5391447fae (3 weeks ago) • 2018-11-29 19:41:26 -0800
Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

Error output:
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    The path lib/main.dart does not exist
    Command /bin/sh failed with exit code 255

@z3nz This issue is long closed. Please create a new issue with properly filled issue template.
You can link to this issue if you think it makes sense.

@zoechi Ok sure, not to be rude, but you can obviously see that it's the same issue as the one before. I've given all the relevant information needed. You could just re-open this (since it's the exact same issue and the comment before mine clearly says to do so). But, don't get me wrong, if you would rather a bug go un-fixed than just actually just looking into the issue, be my guest.

@zoechi Understood, thank you for taking the time to clarify. I apologize for the misunderstanding.

@z3nz Where's the new issue? I am experiencing this as well now, out of nowhere. Thanks

@pejalo in the process of writing it up right now. Should be up shortly.

I also encountered the same problem. Please help me when I introduce Flutter.
------>
The path lib/main.dart does not exist
The path  does not exist
Command PhaseScriptExecution failed with a nonzero exit code


Restructuring enkode

Description
Changes proposed in this pull request:

Restructure enkode (http://pr.enkode.surge.sh/)
Rename systemNamespaces to hiddenNamespaces
Make sure hiddenNamespaces & disabledNavNodes are lists instead of space separated strings 🐍
Adjust busola to enkode

TODOs for next tasks:

For now, we use only the first cluster from the given kubeconfig. We could introduce context chooser, just like in Lens.

Test scenarios:

Upload/paste kubeconfig with token - smooth sailing
Former, but remove the token - the UI for filling OIDC should pop up.
Enkode - use unmodified config in Busola - there's no cluster, so this should navigate use to "Add cluster" with "config set, gimme more params"
Enkode - upload KK with token, paste to URL - that's all
Enkode - upload KK without token, setup OIDC section - OIDC flow should kick in
Enkode - upload KK without token, remove auth section - we should see "gimme auth", with kubeconfig already filled.

 I decided not to change it, as it resembles original kubeconfig structure of e.g.

users: [
	- name: '...'
	  user: {
         token: '...'
      }
    ...
]

Of course, we can flatten it and don't repeat cluster or user.

I decided not to touch this modules section in this task.

Related issue(s)

/test pre-busola-ui-test

/test pre-busola-ui-test

/test pre-busola-ui-test


ReportView triggers two calls to filter_queryset

Issue Summary
The first line of the get method for ReportView is:
        self.object_list = self.get_filtered_queryset()

And get_filtered_queryset is, by default:
    def get_filtered_queryset(self):
        return self.filter_queryset(self.get_queryset())

However, ReportView extends BaseListingView, where get_queryset is:
    def get_queryset(self):
        # Instead of calling super().get_queryset(), we copy the initial logic from Django's
        # MultipleObjectMixin into get_base_queryset(). This allows us to perform additional steps
        # before the ordering step (such as annotations), and funnel the call to get_ordering()
        # through the cached property self.ordering so that we don't have to worry about calling
        # get_ordering() multiple times.
        # https://github.com/django/django/blob/stable/4.1.x/django/views/generic/list.py#L22-L47

        queryset = self.get_base_queryset()
        queryset = self.order_queryset(queryset)
        queryset = self.filter_queryset(queryset)
        queryset = self.search_queryset(queryset)
        return queryset

This means that filter_queryset is applied twice.
This is unlikely to cause problems generally, but is a wasted effort, any may cause confusion if someone does customise how they implement filter_queryset.
There is currently one place in the Wagtail codebase overriding get_filtered_queryset - the LogEntriesView. There does not appear to be anything in this which could not be moved to get_base_queryset instead.
Working on this
I would expect the accepted solution will require marking get_filtered_queryset with a deprecation notice.

can i be assigned?

Thanks for your interest @manvith12! We do not assign issues outside of the core team - anyone is free to work on any issue.
We recommend thoroughly reading https://docs.wagtail.org/en/latest/contributing/first_contribution_guide.html before making your first contribution. You may also wish to join our #new-contributors channel on Slack.


use kubectl/pkg/drain instead of binary

(didn't see an existing issue)
There's been a lot of great work to extract the drain logic to https://github.com/kubernetes/kubectl/blob/master/pkg/drain/drain.go
We could take advantage of this programmatically and remove the kubectl binary from the docker image.

Could https://github.com/weaveworks/wksctl/pull/271 serve as example code here?

yes :+1:

@atighineanu are you interested by working on this?


Installation problem zlib: unexpected end of file

I'm unable to install the module. OS is MacOs High Sierra, node version is 8.11.1, npm version is 6.0.0.
npm install bigchaindb-driver
npm ERR! code Z_BUF_ERROR
npm ERR! errno -5
npm ERR! zlib: unexpected end of file
npm ERR! A complete log of this run can be found in:
Log file:
info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   'bigchaindb-driver' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose config Skipping project config: /Users/myuser/.npmrc. (matches userconfig)
5 verbose npm-session 7de94220a1ea6364
6 silly install loadCurrentTree
7 silly install readLocalPackageData
8 http fetch GET 200 https://registry.npmjs.org/bigchaindb-driver 17ms (from cache)
9 http fetch GET 200 https://registry.npmjs.org/bigchaindb-driver/-/bigchaindb-driver-4.0.1.tgz 272ms (from cache)
10 silly fetchPackageMetaData error for bigchaindb-driver@latest zlib: unexpected end of file
11 timing stage:rollbackFailedOptional Completed in 2ms
12 timing stage:runTopLevelLifecycles Completed in 698ms
13 verbose stack ZlibError: zlib: unexpected end of file
13 verbose stack     at Zlib.(anonymous function).onerror (/usr/local/lib/node_modules/npm/node_modules/tar/node_m$
13 verbose stack     at Unzip.write (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minizlib/index.$
13 verbose stack     at Unzip.flush (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minizlib/index.$
13 verbose stack     at Unzip.end (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minizlib/index.js$
13 verbose stack     at Object.end (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:415:21)
13 verbose stack     at PassThrough.onend (_stream_readable.js:595:10)
13 verbose stack     at Object.onceWrapper (events.js:313:30)
13 verbose stack     at emitNone (events.js:111:20)
13 verbose stack     at PassThrough.emit (events.js:208:7)
13 verbose stack     at endReadableNT (_stream_readable.js:1064:12)
13 verbose stack     at _combinedTickCallback (internal/process/next_tick.js:138:11)
13 verbose stack     at process._tickCallback (internal/process/next_tick.js:180:9)
14 verbose cwd /Users/myuser
15 verbose Darwin 17.5.0
16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "bigchaindb-driver"
17 verbose node v8.11.1
18 verbose npm  v6.0.0
19 error code Z_BUF_ERROR
20 error errno -5
21 error zlib: unexpected end of file
22 verbose exit [ -5, true ]
Thanks.

using the same environment I can't reproduce this error. Are you still having this problem?

try this npm cache clean --force

npm cache clean --force worked for me. Thanks.

You are welcome.

I am facing this same problem, I am using win10 , I ran these commands but didn't get something:-

npm remove nativescript -g
npm cache clear --force
npm install nativescript -g

@kplvashisahat I doubt you face the same problem, you probably wanna go here https://github.com/NativeScript/nativescript-cli

I am facing this same problem, but using ubuntu 18.04 and
"npm cache clean --force" didn't work for me.
Need help please

I have the same issue that @obendesmond  on Debian stretch

npm cache clean --force worked for me. Thanks.

npm cache clean --force
npm WARN using --force I sure hope you know what you are doing.
[..................] | : WARN using --force I sure hope you know what you are doing.
its stop ....cant run above command

I am having the same issue, anyone found the solution ?

test

Same issue

try this npm cache clean --force

for me too worked thanks

win10 here, npm cache clean --force worked for me.

npm cache clean --force
worked for me also


Add api to profile on demand

This will allow to balance continuous profiling overhead and real time constraints, for example 5m interval with an api opt to rarely debug cpu in real time, rather than 1m interval to support rare real time scenarios.

Is this to allow on-demand profiling?

yes


Adjust randomized benchmarking to newest Terra

Summary
Changes in randomized benchmarking, code and test, are required for it to run with Terra's master branch.
Details and comments
Ready for review.
Related to #154.

I'll merge this, we need to update the tests, but I checked it works.


Installing Update Can't Find Folder Location

Microsoft PowerToys version
0.68.1
Installation method
PowerToys auto-update, Microsoft Store
Running as admin
Yes
Area(s) with issue?
Installer, PowerToys Run
Steps to reproduce
Just installing the 0.69 update it can't find:
C:\ProgramData\Package Cache{B216161C-A8ED-4248-B2FC-75A9BA9D3832}v0.68.0

✔ Expected Behavior
For the install to happen without problems
❌ Actual Behavior
An issue I do not know how to resolve, but will try uninstalling power toys and reinstalling again.
Other Software
No response

Installer is looking for PowerToys v0.68 MSI installer. This happens from time to time. What you need to do is to download PowerToys v0.68 EXE installer from our releases page https://github.com/microsoft/PowerToys/releases/tag/v0.68.0
Follow these steps https://learn.microsoft.com/en-us/windows/powertoys/install#extracting-the-msi-from-the-bundle to extract MSI from EXE and when installer asks for it again point to the extracted MSI.
Does this help? /needinfo


Details about provided weights

Hi, @caiyuanhao1998 !
Thank you for your awesome work!
Can you please clarify the difference between MIRNet_sidd and MIRNet_polyu? I suppose these two models were trained on exact data but with different hyperparameters; am I correct?

Yes, you are correct.


Update manual alt control and bugfix....

Changes:
(1) Fixed a bug where altitude control was not functioning in Sport Mode (Acro Mode).
(2) Improved control feel in Sport Mode.
(3) Enhanced manual altitude control handling.
(4) Adjusted control gains for altitude and angular velocity.
(5) Tuned the system noise variance in the Kalman filter.

fixed alt control bug


Fix a typo in vep_faq.html

in the section: Why do I see multiple known variants mapped to my input variant?
I have changed: "VEP compares (you) > (your) input to known variants from the Ensembl variation database. In some cases one input variant can match multiple known variants:

Note that the base branch needs fixing.


Implement templatefile

What happened?
Templatefile needed for some AWS modules
Example
https://github.com/terraform-aws-modules/terraform-aws-iam/examples/iam-role-for-service-accounts-eks
Output of pulumi about
NA
Additional context
https://developer.hashicorp.com/terraform/language/functions/templatefile
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

We'd likely implement the functionality in pulumi-std. See https://github.com/pulumi/pulumi-std/issues/17


Verbose logging mode

Lots of programs have verbose modes which can help debugging and allow for informed bug reports. For example, ssh -vvv (super verbose), or npm set config loglevel={silent to silly}. Node itself has a fair number of logging options. Is there a verbose mode? Would it make sense to have one?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

We use debug module in node inspector for extended logging.
Are you want something like this?

Sorry for the delay, I wandered over to WebStorm for my server-side debugging for a bit. This is exactly what I'm looking for, although I can't get it to run. Could you provide an actually running example? I tried:

First, I tried the example: DEBUG=node-inspector* node-debug notify.js. I received feedback (Node Inspector is now available from http://<IP_ADDRESS>:8080/?ws=<IP_ADDRESS>:8080&port=5858 Debugging notify.js) but when I loaded that up I just got a blank page.
I guessed around a bit and tried DEBUG=node-inspector* node-inspector notify.js and I was able to get the log, but I'm getting the error: node-inspector:protocol:devtools backend: {"id":10,"error":"ErrorNotConnected: Error: connect ECONNREFUSED. Is node running with --debug port 5858?"} +2ms

Also, what do you think about featuring this more prominently, such as the front page or contributing section? I think a reporting issues section in the front-page README which points this out and suggests posting a gist with the log could be helpful.

Not worth looking into this I think... also I lean towards focusing on chrome devtools node debugger https://github.com/node-inspector/node-inspector/issues/977


dm.xmlsec.bindings python package broken on windows

I tried to install the python-saml package using the pip install command, however it failed to installed with following error:
Collecting dm.xmlsec.binding==1.3.2 (from python-saml)
Using cached dm.xmlsec.binding-1.3.2.tar.gz
Complete output from command python setup.py egg_info:
Error : cannot get LibXML2 pre-processor and compiler flags; do you have the libxml2 development package installed?
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in c:\users\pradym~1\appdata\local\temp\pip-build-njqt1i\dm.xmlsec.binding

Manual installation of the pre-built binaries also not working by copying them in python folders.
Can you please help me know if windows platform is being considered for python-saml package and if yes, then proper steps to configure the dm.xmlsec-bindings?
Since windows does not have concept of devel packages unlike linux, how to get the required files for configuration.

The error message already tells you what you have to do: install the libxml2-dev package.

I have no experience installing it on Windows.
But I think you may review this old doc where libxml2 was successfully installed:
http://www.returnbooleantrue.com/2008/11/compiling-pyxmlsec-for-windows.html
Reference: https://www.zlatkovic.com/libxml.en.html

We were following the reference link only initially, but that is not working with python version 2.7.X(using commands module of python which is deprecated from windows and hence compilation is failing with that source).
Seems like python3-saml will not work for our need, since we are yet on python 2.7.9 version. Porting to python 3.x will take lot efforts.
Is there anything else we can try?

python3-saml works with Python 2 too.

With python3-saml, we are running into the compilation issues. Following are the errors:
============================================
C:\Users\Pradymuna\Downloads\xmlsec-0.3.3\xmlsec-0.3.3>pip install python3-saml
You are using pip version 7.1.0, however version 7.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Requirement already satisfied (use --upgrade to upgrade): python3-saml in c:\python27\lib\site-packages\python3_saml-1.0.0-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): isodate>=0.5.0 in c:\python27\lib\site-packages\isodate-0.5.0-py2.7.egg (from python3-saml)
Collecting xmlsec>=0.3.1 (from python3-saml)
Using cached xmlsec-0.3.3.tar.gz
Requirement already satisfied (use --upgrade to upgrade): lxml>=3.0 in c:\python27\lib\site-packages (from xmlsec>=0.3.1->python3-saml)
Installing collected packages: xmlsec
Running setup.py install for xmlsec
Complete output from command C:\Python27\python.exe -c "import setuptools, tokenize;file='c:\users\pradym~1\appdata\local\temp\pip-build-1hti31\xmlsec
\setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record c:\users\pradym~1\appdata\local
\temp\pip-nwdwoj-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\xmlsec
copying src\xmlsec\error.py -> build\lib.win-amd64-2.7\xmlsec
copying src\xmlsec\meta.py -> build\lib.win-amd64-2.7\xmlsec
copying src\xmlsec_init_.py -> build\lib.win-amd64-2.7\xmlsec
running build_ext
cythoning src\xmlsec\constants.pyx to src\xmlsec\constants.c
building 'xmlsec.constants' extension
creating build\temp.win-amd64-2.7
creating build\temp.win-amd64-2.7\Release
creating build\temp.win-amd64-2.7\Release\src
creating build\temp.win-amd64-2.7\Release\src\xmlsec
C:\Users\Pradymuna\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Isrc -IC:\Python27
\lib\site-packages\lxml\includes -IC:\Python27\lib\site-packages\lxml -IC:\Python27\include -IC:\Python27\PC /Tcsrc\xmlsec\constants.c /Fobuild\temp.win-amd64-2.7\Re
lease\src\xmlsec\constants.obj -DXMLSEC_CRYPTO_OPENSSL=1
constants.c
src\xmlsec\constants.c(2311) : error C2065: 'xmlSecOpenSSLTransformAes128CbcId' : undeclared identifier
src\xmlsec\constants.c(2311) : warning C4047: 'function' : 'xmlSecTransformId' differs in levels of indirection from 'int'
src\xmlsec\constants.c(2311) : warning C4024: '__pyx_f_6xmlsec_9constants__mkti' : different types for formal and actual parameter 1
src\xmlsec\constants.c(2323) : error C2065: 'xmlSecOpenSSLTransformAes192CbcId' : undeclared identifier
src\xmlsec\constants.c(2323) : warning C4047: 'function' : 'xmlSecTransformId' differs in levels of indirection from 'int'
src\xmlsec\constants.c(2323) : warning C4024: '__pyx_f_6xmlsec_9constants__mkti' : different types for formal and actual parameter 1
src\xmlsec\constants.c(2335) : error C2065: 'xmlSecOpenSSLTransformAes256CbcId' : undeclared identifier
src\xmlsec\constants.c(2335) : warning C4047: 'function' : 'xmlSecTransformId' differs in levels of indirection from 'int'
src\xmlsec\constants.c(2335) : warning C4024: '__pyx_f_6xmlsec_9constants__mkti' : different types for formal and actual parameter 1
src\xmlsec\constants.c(2347) : error C2065: 'xmlSecOpenSSLTransformKWAes128Id' : undeclared identifier
src\xmlsec\constants.c(2347) : warning C4047: 'function' : 'xmlSecTransformId' differs in levels of indirection from 'int'
src\xmlsec\constants.c(2347) : warning C4024: '__pyx_f_6xmlsec_9constants__mkti' : different types for formal and actual parameter 1
src\xmlsec\constants.c(2359) : error C2065: 'xmlSecOpenSSLTransformKWAes192Id' : undeclared identifier
src\xmlsec\constants.c(2359) : warning C4047: 'function' : 'xmlSecTransformId' differs in levels of indirection from 'int'
src\xmlsec\constants.c(2359) : warning C4024: '__pyx_f_6xmlsec_9constants__mkti' : different types for formal and actual parameter 1
Sorry for long logs..:(. Is there anything we are missing? I tried few tweaks with compilation as well.

I'm experiencing the same issue unfortunately,
I opened an issue on both projects (dm.xmlsec.binding and python-xmlsec)
https://github.com/tachang/dm.xmlsec.binding/issues/1
https://github.com/mehcode/python-xmlsec/issues/15
I'm looking for another library that works on windows right now

@pradyumnak we were able to make python3-saml work on windows, here I've added some details: https://github.com/mehcode/python-xmlsec/issues/15
Ping me if you need some help ;)

Good to hear that!!!!! I just wanted to know if we tried to compile the code with VC++ for python or with minGW. Or any compiler should be fine. I am currently running into some issues, which probably are my environment issues. I will try to rectify those.

@pradyumnak I used Visual Studio for Python, this one IIRC, https://www.microsoft.com/en-us/download/details.aspx?id=44266

Thanks much. We are currently trying to build this package from basic and are stuck on libiconv.lib,

@pradyumnak maybe it's better to move this conversation somewhere else, feel free to send me an email with all the errors you get (it is in my profile)

I fixed build for windows in https://github.com/mehcode/python-xmlsec/releases/tag/1.3.1
python3-saml uses python-xmlsec and you can use it on windows.


Update TraceEventProgrammersGuide.md - fixed several typoes

Fixed several typoes

@brianrob thanks for the great documentation - it was super helpful to me.


Guardian CI failing

Problem description
Guardian CI is failing in main branch.
Step to reproduce
Need to change the Package name and merge it to Main
Expected behavior
Guardian CI should be passed in Main branch
Screenshots

This is Duplicate of ticket #468


Solve corrupted bag issue for raster model migration

Can one of the admins verify this patch?

+1


SAK-47024 Moving CKEditor's attachments into attachments in Content Hosting

https://sakaiproject.atlassian.net/browse/SAK-47024
From our point of view, attachment's collection is probably the indicated folder to store this kind of information.
With this PR, pasted images into CKEditor are stored in /attachments/"site_id"/ckeditor_attachments/"image.png"/"image.png".
Also, before this PR this images was stored in resources of the site, so when you wanted to import Tasks, T&Q or some other tool with CKEditor pasted images you have also to import Resources, so, now, when you import a site into another, we are going to also import the ckeditor-attachments of the site into the destination site.
I think that instructor or student images should not be accesible by any instructor or student (at least as easy as open a resources folder). Also, if a student or instructor send a picture with Messages Tool, this information should be also private or not easy to know. Currently you can paste an image as stundent and see in resources as instructor this image, or see as instructor the other instructor pasted images into any CKEditor component in the site.

After discussion during the core call, we determined that we should send content from instructors (or those with permission to add content to resources) to a "direct-uploads" folder in resources and content from students (or those without permission) to attachments.


[WB-6697] fix error condition for plotting feature importances in sklearn

https://wandb.atlassian.net/browse/WB-6697
Fixes #2671.
Description
A user reported:

Hi wandb team,

I am trying to plot the feature importance of a LogisticRegression model for binary classification problem. Then
model.coef_.shape == (1, n_features)
and this check fails :
client/wandb/sklearn/init.py

Line 646 in 63a5dd0

if np.prod(importances.shape) > importances.shape[0]:

(unless we have n_features == 1)
I believe we should (at least) squeeze importance before the check and not have the else branch?

/Jens

So basically the squeeze will happen if the feature importances are shaped like (10, 1) but not (1, 10).
This PR fixes the squeeze to trigger in any case where there is only one siginficant dimension in the feature imporatnces matrix, e.g.,
(1, 10, 1, 1, 1) would trigger
(10,) would trigger
(10, 1) would trigger
(1, 10, 1, 1, 2) would error (we cant coerce that into a plottable shape).
Testing
How was this PR tested?
tested manually against the user's case.
Release Notes
Below, please enter user-facing release notes as one or more bullet points.
If your change is not user-visible, write NO RELEASE NOTES instead, with no bullet points.
------------- BEGIN RELEASE NOTES ------------------
Fixes a bug in feature importance plotting to handle feature importance matrices of different shapes
------------- END RELEASE NOTES --------------------

@raubitsj added yea test and verified that it fails on master and passes here


Wfuzz JSON import parser

Work in progress related to #2878

source repo seems to be deleted, closing.


Aether compatibility for elytra cape skins.

Implemented compatibility with the Aether mod so that the mod's cape skins for Elytras can also display on Customized Elytras.
NOTE: As the Aether port for 1.16 is not actually released on Curseforge and is only on GitHub, to avoid workspace crashing, Aether will have to be added locally to the workspace (unless there is a better way to handle this that I don't know of, and if there is and it can be done on my end I will gladly make adjustments to this PR). I used the now commented out compileOnly fileTree(dir: 'libs', include: '*.jar') code in build.gradle to handle this on my end for development, with the libs folder in the main workspace directory being where I put a built Aether jar (this is the latest as of the time I'm making this PR: https://app.circleci.com/pipelines/github/Gilded-Games/The-Aether/171/workflows/ee16ca29-8fea-4cf5-ba00-92a937376526/jobs/176/artifacts)

Thanks, seems to work perfectly from my testing, I'll upload a new version on curseforge soon :)


Create and Sign transactions

Hi @miaolz123 . First I want to thank for this great code. Can you tell me , can I create and sign transactions  offline? Thanks!

First of all, I'm so sorry to reply so late.
Yes, you can and this is an example:
example/createRawTransaction/main.go


feat:autoconfigure language

Summary by CodeRabbit

New Features

Introduced the autoconfigure command for automatic configuration of language, STT, and TTS settings via command-line options.
Added multiple new configuration files for both online and offline STT and TTS functionalities across various languages, allowing for customized audio output and speech recognition.

Bug Fixes

Improved error handling for conflicting command options in the autoconfigure command.

Documentation

Updated configuration files for offline and online TTS and STT settings in multiple languages.

@coderabbitai review


Use app version from BuildConfigProvider

We are currently using a constant for the app version on the about screen. Ideally, we should use the version from BuildConfigProvider. The challenge is how to inject it. We could refer to last year's app for guidance.
https://github.com/DroidKaigi/conference-app-2024/blob/edd88b0c94a6060e94b2b7427fa53fe25dcd9fe1/feature/about/src/commonMain/kotlin/io/github/droidkaigi/confsched/about/AboutScreen.kt#L127

I would like to get this issue. 🙋♂

Thanks! Assigned 👍


Font Awesome not added to package.json

Submit a feature request or bug report

[x] I've read the guidelines for Contributing to Roots Projects
[ ] This is a feature request
[x] This is a bug report
[x] This request isn't a duplicate of an existing issue
[x] I've read the docs and NPM Debugging Guidelines post and followed them (if applicable)
[ ] This is not a personal support request that should be posted on the Roots Discourse forums

What is the current behavior?
When running through the Sage install options, entering y at the Add Font Awesome? prompt does not end up adding font-awesome to package.json.
What is the expected or desired behavior?
It should be added to package.json

Bug report
Please provide steps to reproduce, including full log output:

In theme directory, composer create-project roots/sage your-theme-name dev-master
Use defaults for all prompts, except Add Font Awesome?
Type y at Add Font Awesome? prompt

I noticed the styles were correctly added to main.scss and _variables.scss so the script is running, the first part just isn't working :(
Please describe your local environment:
WordPress version: 4.7.1
OS: 10.12.2
NPM/Node version:
$ npm -v
4.0.5

$ node -v
v7.4.0

Where did the bug happen? Development or remote servers?
Development
Is there a related Discourse thread or were any utilized (please link them)?
No

For the time being, adding it manually via Yarn works:
yarn add font-awesome
yarn run build

@runofthemill @drawcard https://github.com/roots/sage/pull/1819 should fix it.


Begin triggered by 2nd bpftrace script

When starting two bpftrace scripts simultaneously the 2nd script triggers the begin of the first. E.g. for this simple script you only expect one print, but everytime bpftrace is started it triggers.
sudo bpftrace_master -e 'BEGIN { printf("begin %lu\n", nsecs); }'
Attaching 1 probe...
begin<PHONE_NUMBER>22011
begin<PHONE_NUMBER>08743
begin<PHONE_NUMBER>86801
begin<PHONE_NUMBER>51439
begin<PHONE_NUMBER>84258
begin<PHONE_NUMBER>14956
begin<PHONE_NUMBER>70662

Didn't see this documented yet, or found an issue for it.
I'll look into it.

Nice catch. BEGIN is implemented as a uprobe due to kernel limitations (see #360 for more context). I guess we could fix this by detaching from BEGIN after the probe is executed.

Guess it would be the same for END too. Could make them automatically filter by PID


[config.py] Config.load do not deepcopy the default dict

Here is a potential bug:
When the Config inits, it pass the Config.DEFAULTS to self.load.
The self.load do not use deepcopy but reference.

Closed via ba6c0c2


Posh-SSH fingerprint

Good afternoon.
Use your module for Posh script. Script works with Cisco switches, helping helpdesk to connect to printers floors without reference to our department.
Prompt how to implement the adoption of auto signature key from the switch(box with the inscription I fingeprint Y or N)?
Thanks in advance.

There is an option to auto-accept the key on new-sshsession cmdlet is it not working?

On Mar 12, 2015, at 5:41 AM, shrv<EMAIL_ADDRESS>wrote:
Good afternoon.
Use your module for Posh script. Script works with Cisco switches, helping helpdesk to connect to printers floors without reference to our department.
Prompt how to implement the adoption of auto signature key from the switch(box with the inscription I fingeprint Y or N)?
Thanks in advance.
—
Reply to this email directly or view it on GitHub.

my question is just this, how?
I have a connection to the Cisco made the following code:
New-SSHSession -ComputerName $selected_router -Credential($Cred) | Out-Null
$session = Get-SSHSession -Index 0
$stream = $session.Session.CreateShellStream("dumb",0,0,0,0,1000)
$stream.Write("conf t")
$stream.Write("int $port_router_intn")           $stream.Write("switchport access vlan $selected_vlann")
$stream.Write("switchport mode accessn")           $stream.Write("ip arp inspection limit rate 150n")
$stream.Write("spanning-tree portfastn")           $stream.Write("exitn")
$stream.Write("exitn")           $stream.Write("wr memn")
Remove-SSHSession -RemoveAll
after the first line, and a window appears with the text key fingerprint and accept the request or not ... So it is necessary to have the script automatically say yes

New-SSHSession -ComputerName $selected_router -Credential($Cred)  -AcceptKey $true
:) just needed to do Get-Help New-SSHSession

On Mar 12, 2015, at 8:42 AM, shrv<EMAIL_ADDRESS>wrote:
my question is just this, how?
I have a connection to the Cisco made the following code:
New-SSHSession -ComputerName $selected_router -Credential($Cred) | Out-Null
$session = Get-SSHSession -Index 0
$stream = $session.Session.CreateShellStream("dumb",0,0,0,0,1000)
$stream.Write("conf t")
$stream.Write("int $port_router_intn")
$stream.Write("switchport access vlan $selected_vlann")
$stream.Write("switchport mode accessn")
$stream.Write("ip arp inspection limit rate 150n")
$stream.Write("spanning-tree portfastn")
$stream.Write("exitn")
$stream.Write("exitn")
$stream.Write("wr memn")
Remove-SSHSession -RemoveAll
after the first line, and a window appears with the text key fingerprint and accept the request or not ... So it is necessary to have the script automatically say yes
—
Reply to this email directly or view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/16#issuecomment-78472198.

New-SSHSession -ComputerName "<IP_ADDRESS>" -Credential ($cred) -AcceptKey $true
Correctly understood you?

:)   Get-help used, but without your tips are not realized.
Thank you so much.

yep
PS C:\Users\Carlos Perez> help New-SSHSession -parameter acceptkey
-AcceptKey []
Automatically accepts a new SSH fingerprint for a host
Required?                    false
Position?                    named
Default value                False
Accept pipeline input?       true (ByPropertyName)
Accept wildcard characters?  false

On Mar 12, 2015, at 8:44 AM, shrv<EMAIL_ADDRESS>wrote:
New-SSHSession -ComputerName "<IP_ADDRESS>" -Credential ($cred) -AcceptKey $true
Correctly understood you?
—
Reply to this email directly or view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/16#issuecomment-78472592.


Removing a typo in Makefile

make start starts in daemon mode to release the shell prompt.
Also removing a typo for rm -rf

Thank you!


Removing "from" option because it doesn't make sense

Verification
$ sudo ./swam start
$ make test-logs

Elaborate?

The "from" parameter is only use for pagination purposes which aren't used from the CLI.
This parameter was added for a potential amp web UI but isn't used anyway and doesn't work with the CLI.

ah, makes sense. thanks.


added general Fermi-Hubbard model and HubbardLattice helper class

Ready for review. Can split up into smaller PRs if needed.

The failing tests seem to have nothing to do with this PR. Are those a known issue?

Not sure. Looks like some issue with the pubchem website might have occurred. I'll restart tests.

Do you have a reference where I could read about the multi-band Hubbard model? Is there one that you were looking at while implementing this?

Yes to magnetic_field, maybe to particle_hole_symmetry if there's a use case. The PR was already getting huge, so I figured I'd wait on those.

@kevinsung Here's one example: https://arxiv.org/pdf/1007.5431.pdf

Is that clearer?

Overriding status check being stuck, since all checks passed.


Post request functionality and render

WHEN I click on the Write icon in the navigation at the top of the page
THEN I am presented with empty fields to enter a new note title and the note’s text in the right-hand column

completed


Discord

Hey, I know this isn't really related, but I'd love if you could create a version of this viewbot for discord.
I'd also want to know if it would be possible to create a twitch token gen w Kasada bypass.
Thanks.

Hey, I'll look into it, but it's unlikely to be possible because the bot requires computation and power which Discord may not support. Regarding the Twitch token generator with a Kasada bypass, I'll also check, but bypassing such security measures might be against ethical guidelines and could lead to legal issues. Thanks for understanding.

Hey, with Discord I mean keep same code but add slash commands like a discord bot, its possible

Regarding integrating slash commands into the Discord bot using the same code, I'll explore the possibilities. Thanks for your patience and understanding.

thanks man