Unable to find package Microsoft.Data.DataFrame

Describe the bug
Downloaded the sample notebooks and ran them in my local Jupyter Lab. Attempted to run #r "nuget:Microsoft.Data.DataFrame,0.1.1-e190920-1" and attempted to run without the version and got the below error.
Failed to add reference to package Microsoft.Data.DataFrame

error: Unable to find package Microsoft.Data.DataFrame. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, ML.NET Daily, nuget.org

Probably an issue with my set up but wanted to report it just in case.
Did this error occur while using dotnet try or online?

[x] dotnet-try
[ ] online

What kind of error was it?

[ ] User Interface (UI):  For example the output never displayed
[x] Service Error: For example "The service is temporarily unavailable. We are working on it"
[ ] Other:

Please complete the following:

OS

[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[x] Chrome
[ ] Edge
[ ] Safari

This package isn't available yet on nuget.org but you can get it by adding the following to your global nuget.config under configuration/packageSources:
<add key="corefxlab" value="https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json" />

Thanks @jonsequitur! That was what I needed to run the sample :)

I found you can add this instead of modifying your global settings
#r "nuget:bl=true"
#r "nuget:RestoreSources=https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json"
#r "nuget:Microsoft.ML,version=1.4.0-preview"
#r "nuget:Microsoft.ML.AutoML"
#r "nuget:Microsoft.Data.DataFrame,version=0.1.1-e191008-1"

Tried the solution @rfrerebe  wrote.
Installing package bl.....done!
Failed to add reference to package bl
...
Installing package RestoreSources.....done!
Failed to add reference to package RestoreSources

Get new version from https://dotnet.myget.org/feed/dotnet-corefxlab/package/nuget/Microsoft.Data.DataFrame
Hopefully at some point it will be on https://nuget.org


dialog inside IFrameDialog rendering issue

Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 6.189.2  ]
Expected / Desired Behavior / Question
Child, modal dialogs should show on top of the IFrameDialog
Observed Behavior
child modal dialogs apepar behiind the IFrameDialog
Steps to Reproduce
Have a list with a field of type taxonomy picker in classic experience
Show the list item edit form via IFormDialog as modal
Click the taxonomy picker browse button

Hi @lvasiliou
Could you please provide some screen shot or code of what exactly you're doing and trying to achieve.
I didn't quite get it from the description, sorry...

I am using the iframedialog to show a list edit form which happens to be in classic experience. One of the list fields is a taxonomy picker. When the window size is small-ish then the taxonomy picker dialog shows up behind the iframedialog control. This doesnt happen on 4k UHD res.
Also raising a second issue, when i press Save, the dialog doesnt close, but it works as expected with Cancel.

@lvasiliou
I wouldn't say that this is an IFrameDialog issue...
We're just providing a way to show the iframe-d page in Office UI Fabric Dialog.
If the page opens something else - we're not aware of it.
In your specific situation taxonomy picker dialog is implemented using old JS model for SharePoint. And most probably it handles logic how to render itself on the page (that's probably why it's rendered outside the iframe).
I would recommend to check on 2 things:

when you open Edit form in IFrameDialog you should provide IsDlg=1 parameter in the url. In that case form should understand that it is opened as an iframe.
You can try to apply styles to IFrameDilaog to decrease z-index. It can solve your problem as well.

Also raising a second issue, when i press Save, the dialog doesnt close, but it works as expected with Cancel.

Again, we don't know what's happening on the page.
Try to handle IFrameDialog's iframeOnLoad event to get loaded document and handle dismiss or something from there. BTW, IsDlg=1 may help here as well.
Please, let me know if that makes sense.

@lvasiliou
I wouldn't say that this is an IFrameDialog issue...
We're just providing a way to show the iframe-ed page in Office UI Fabric Dialog.
If the page opens something else - we're not aware of it.
In your specific situation taxonomy picker dialog is implemented using old JS model for SharePoint. And most probably it handles logic how to render itself on the page (that's probably why it's rendered outside the iframe).
I would recommend to check on 2 things:
1. when you open Edit form in `IFrameDialog` you should provide IsDlg=1 parameter in the url. In that case form should understand that it is opened as an iframe.

2. You can try to apply styles to `IFrameDilaog` to decrease `z-index`. It can solve your problem as well.

Also raising a second issue, when i press Save, the dialog doesnt close, but it works as expected with Cancel.

Again, we don't know what's happening on the page.
Try to handle IFrameDialog's iframeOnLoad event to get loaded document and handle dismiss or something from there. BTW, IsDlg=1 may help here as well.
Please, let me know if that makes sense.

IsDlg=1 is already in place. Will try and look into figuring out when the page is saved using JS I guess

@lvasiliou did this resolve your issue?


Give on_epoch_completion data set access

Optionally, on_epoch_completion handlers can specify three additional
parameters, and if present, these parameters would receive X_valid,
y_valid, and y_predict.

@gitty-up I'm merging this.

@poulsbo
Problem: if batch_iterator_test is shuffled, the elements of y_predict will not line up with with those of y_valid and X_valid.

Nice, did you find this by inspection?
On Sun, May 22, 2016 at 7:57 PM, Scott Mayer McKinney <
<EMAIL_ADDRESS>wrote:

@poulsbo https://github.com/poulsbo
Problem: if batch_iterator_test is shuffled, the elements of y_predict
will not line up with with those of y_valid and X_valid.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/enlitic/nolearn/pull/2#issuecomment-220877735

Yeah.

Dude
On Mon, May 23, 2016 at 9:52 AM, Scott Mayer McKinney <
<EMAIL_ADDRESS>wrote:

Yeah.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/enlitic/nolearn/pull/2#issuecomment-221029622


Remove double quotes from values in properties files.

Java's property loader includes everything after the equals sign in the value. This resulted in values that were surrounded by quotes.

Thanks for the fix!


bind(2): remove hard-coded 8080:5201

https://github.com/rootless-containers/bypass4netns/blob/ae6712ebc4abdec7546d65c76bb43e121da8e396/pkg/bypass4netns/bypass4netns.go#L406
https://github.com/rootless-containers/bypass4netns/blob/ae6712ebc4abdec7546d65c76bb43e121da8e396/pkg/bypass4netns/bypass4netns.go#L419
https://github.com/rootless-containers/bypass4netns/blob/ae6712ebc4abdec7546d65c76bb43e121da8e396/Vagrantfile#L72

This should be specified in a CLI flag like --publish 8080:5201.
https://pkg.go.dev/github.com/spf13/pflag#StringArrayP
nerdctl should launch bypass4netns with this flag.
cc @naoki9911

Resolved in #12


Discuss post-v1.0.0 release strategy

I think this crate is pretty complete, but we can't know for sure.
If we find the need to make changes, quality improvements, fix bugs, or accept PRs from outside contributors, how should we be releasing them?
One thing to keep in mind that as a trait-based API, we'll want to try really hard to avoid bumping the semver-major version (unless we do the semver trick).

I think bug fixes should be released as patch versions as soon as possible.
The API is still relatively small, so it should be ok to add other versions of strftime in separate modules if needed, then release with a minor version increase.
However, we should not change the signature of the Time trait to avoid breaking changes.

Agreed. Let's do this.


lint: Enable pycodestyle in tests

Only leave E501 (line-too-long) disabled: There is a lot of embedded test data that is not formatted according to the rules.
Fixes #2568

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.805%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1386

Relevant Lines:
1409

💛  - Coveralls


add clippy check

Add clippy rules

could you please split the commits ? (same PR is fine)
One to enable more clippy checks and the other to fix existing issues.
thanks

Yes, i created https://github.com/uutils/coreutils/pull/6505


[AIRFLOW-685] Add test for MySqlHook.bulk_load()

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-685

Testing Done:

All unit tests passed

Current coverage is 66.61% (diff: 100%)

Merging #1929 into master will increase coverage by 0.04%

@@             master      #1929   diff @@
==========================================
  Files           135        135
  Lines         10133      10133
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6745       6750     +5
+ Misses         3388       3383     -5
  Partials          0          0

Powered by Codecov. Last update b674656...d28c5cc


Full stats from 2 days ago

So I just noticed that "Full Stats" only displays data from within the last day. All of the heatmaps I generated a couple days ago no longer show up here. Is this DB data archived somewhere or is it overridden? I am just curious if I need to manually archive such things or if they are in some special section of the AppData for this app

Probably only have your stats set to last day.  Click options in when you are in the full stats menu


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-10-09)
Features

initial container workflow (7ad6c30)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.0
:sunflower:


Move the Emergence menu to the side

This pull requests move the navbar menu to the side. It also fixes the modal background image bug of #8. I took the code changes of @IAbda and changed the css logic to pure collapsable bootstrap. It's not as fancy as the original commits, but it get the icons at the right place.
Maybe we could still add the nice CSS move-over from the previous commits?
Please @IAbda take a look at it and merge if it's fine with you.

The latest commit also fixes #12


How to check if a user is friends with a specific user?

I'd like to return a boolean in a search query for each user if the current user is friends with that user. Possible with some .includes and .where?

I think you can use HasFriendship.Friendship.exist?(friendable, friend) The order of the argument is not important.
See https://github.com/sungwoncho/has_friendship/blob/master/lib/has_friendship/friendship.rb#L8

I added an instance method friends_with? for Friendables (https://github.com/sungwoncho/has_friendship/pull/6). Upgrade the gem to use it.

Thanks for creating the method, I have a few questions and potentially an issue as well.
First of all, if I check current_user.friends_with?(user) when they are not friends, it returns false, but when I flip it so that user.friends_with?(current_user) when they are not friends, it returns true, so I think there may be some issue in the logic, because that should return the same value in both scenarios.
Secondly, I'd appreciate if I could get some help on improving a query that's making multiple SELECT queries.
I have the following code:
<% User.all.each do |user| %>
	<%= current_user.friends_with?(user) %>
<% end %>

This returns the correct friends_with value when it's checking the current_user against an arbitrary user, but like I said above, when flipped (<%= user.friends_with?(current_user) %>), it returns true always. So my question is how can I, if at all possible, avoid querying the friendships table every single iteration and do some sort of .includes or .preload in order to not have to hit the database every iteration.
Thanks Sung!

I fixed the #friends_with? logic and pushed the patch to devel branch.
By the design of your code, I don't think it's possible to dial it down to one query, because it is iterating through every user and calling #friends_with on each of them. Maybe you can save a reference to current_user.friends collection and check by calling #include?(user).
@friends = current_user.friends
...
<% User.all.each do |user| %>
    <%= @friends.include?(user) %>
<% end %>

Let me know if you have a better way.


rooms-list is not listing all rooms

After testing multiple demo systems like.
https://www.webrtc-experiment.com/RTCMultiConnection/videoconferencing.html
https://www.webrtc-experiment.com/RTCMultiConnection/audioconferencing.html
I noticed that it just lists 1 room at a time. I'm currently using/developing the Audio Conference system on my website. Is there any way we can come in contact like skype orso?
Besides that i have more wishes like displaying the "Character Name" and at this point i dont know how, since it's new to me.

Replace Line 176-L181 with:
document.getElementById('setup-new-conference').onclick = function() {
    this.disabled = true;

    var roomid = document.getElementById('conference-name').value || 'Anonymous';
    connection.extra = {
        'session-name': roomid,
        'fullName': 'something special'
    };
    connection.sessionid = roomid;
    connection.open();
};

Regarding passing extra data - Line 124-L129:
connection.onstream = function(e) {
    e.mediaElement.title = e.extra.fullName; // check this line

    e.mediaElement.width = 600;
    videosContainer.insertBefore(e.mediaElement, videosContainer.firstChild);
    rotateVideo(e.mediaElement);
    scaleVideos();
};

BTW, both demos are fixed. You can reload the pages multiple times and try again. Make sure that you enters unique session-name before creating the rooms.
Demos are using something simpler now, instead:
document.getElementById('setup-new-conference').onclick = function() {
    this.disabled = true;
    connection.open(document.getElementById('conference-name').value || 'Anonymous');
};

// and
connection.onNewSession = function(session) {
     alert( session.sessionid ); // unique session id listed on users' pages.
};

Is there anyway to come in contact with you? I'm working on a Opensource game and i would love to integrate the system into the website, but i'm having some diffculties matching the voice stream to the logged in player to display his name and such.
http://fortissimum.net
http://test.fortissimum.net
Thanks for Replying


adding a page for users to checkout their current cell deployments

Create a profile page that allows users to view all their currently deployed cells and add new cells. Each cell should display their name and location. There's no figma design for this page yet. Looking for interested people to tackle a simple material UI based design for review and develop the page once design is approved.

Handled as part of the profile page


consider making k3s-uninstall.sh not delete local-path-provisioner volumes

Is your feature request related to a problem? Please describe.
When I uninstalled k3s, I assumed it would leave around local path PVs, based on the warning on this page: https://docs.k3s.io/installation/uninstall. I didn't loose any important data, but it was surprising.
Describe the solution you'd like
Leave the files in /var/lib/rancher/k3s/storage/* around and tell the user about it.

We could perhaps amend the warning on that page to make it clear that external Kubernetes storage does not include local-path-provisioner volumes, as these are not external.
We're unlikely to modify the uninstall script to leave additional things behind, this is the sort of "personal preference" change that while you might consider helpful, someone else would open an issue to complain about if we did do it that way.


New metric with exporter version and build information

A new metric x509_exporter_build_info with labels of constant values:

version: running version of the exporter
revision: commit id used for this build
built: date and time of build
goversion: Go version used
goos: target Operating System
goarch: target machine architecture

:tada: This PR is included in version 3.5.0-beta.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.5.0-beta.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.5.0-beta.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.5.0-beta.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Fix square root scaling for circle radii and boundary strokes

The current function this.populationRadiusScale() needs to be fixed to better handle scaling for 1) setting the appropriate stroke thickness to state and country borders, and 2) setting the appropriate stroke thickness to the circles. It will also need to handle different types of data coming at it from cityMembership and denominationFilter.

Resolved in 8bc19da7825b817302568db291180b07d7373d82.


Duplicate events - Button is inside popper

I am having problems with the click event when it is inside the popper component apparently the event is being duplicated.

Can you give me a reproduction?


allow to bypass SIGURG signal with env var

allow to bypass SIGURG signal with env var
closes #13

Have you been able to do some further testing and support why this option is needed?

Hello kvij,
Sorry for the long delay with providing test results.
Unfortunately i'm depending on our application team, so i have to wait for their test results/confirmations.

Hello kvij,
We cannot reproduce the issue with or without this patch.
I think that was a bad coincidence. I also can't find that istio-proxy can send tcp traffic with URG flag enabled.
Closing the PR.
Thanks for your support.


Further stablize ci

Further fixes to CI

Prevent JRuby RSpec from getting stuck.

Ancillary

Remove remnants of sucker_punch
Remove unused :hard_shutdown event.

@gfaza Can you review this for me?

@mattcar Can you merge this for us?


Interactivity is busy

I've done the setup based on the readme and even checked the exchanges in issue#1, but any python I'm running, including a package import gives me "Interactivity is busy".

@zanodor could you please share your Interactivity settings

@zanodor please run this command from the plugin's directory on your machine and send me the output:
/usr/bin/python3 -iq ./py_manager.py

@zanodor Let's start with vanilla plugin's files. Before the changes were you able to call chat() from Obsidian?

Closing this issue due to inactivity.


myjobs need support for debug mode

[ ] pudb / j.shell support

when pudb of j.shell found in method to execute, launch in tmux worker so we can debug

verified.


Switch back to function name in catalog.

Partially addresses https://github.com/GoogleContainerTools/kpt/issues/2076

I'm assuming there's a follow up to add the image name in functions usage docs.

I'm assuming there's a follow up to add the image name in functions usage docs or somewhere else.
@mengqiy Is there an issue tracking per-README full image paths?


Sprite getLocalBounds Bug

Hey guys I just stumbled onto this little bug while copying/overriding some Sprite methods: getLocalBounds incorrectly uses anchor.x to compute maxY.
this._bounds.maxY = this._texture.orig.height * (1 - this.anchor.x);
https://github.com/pixijs/pixi.js/blob/dev/src/core/sprites/Sprite.js#L360

heh, that's fun :)


Expose the eat function

In some bots the plugin can't be used because the bot might try to eat while doing some other thing (breaking blocks, ...) thus interfering. But the eat function is really useful and I think it would be nice to expose it, that would allow the user to decide when to eat so it doesn't interfere.
It would require a callback to know when the bot is done eating.

Thanks for the feedback!
I will defenitly implement this

well, I'm kinda 9 days late but whatever, definitely gonna implement it today
I had some school stuff

Done and the package has been updated to 1.3.0


quote() doesn't escape ' or "

Notes from @basarat  in https://github.com/typestyle/csx/commit/cfd1fc39db457547e01282d21f1462e5c66b2481

I'm trying to figure out why we need to double escape the ' in the string.

There is no double escaping, only single escaping.
The JS strings are equivalent : "ta ' da" == 'ta \' da', i.e there is just a quote, no \' (slash + quote) in that string.
The string we want to output is 'ta \' da'. In js that can be written as "'ta \\' da'".

If someone gives us the string 'hello' e.g. "'hello'" in js

We want to write '\'hello\'' in CSS. Hence that transform.  Hope that helps :rose:

The 'ta ' da' example helped me understand what you were talking about.  You are talking about quotes inside the quoted string. 👍

Fixed in ef8b46d3220bd0d0d4794c22797ea93f5008b4c3


HolmBonferroni correction generates error with certain p-value lists

I am encountering an error for certain sets of p-values derived from GO-term analyses. I have traced the error to the HolmBonferroni correction method, but I can't quite figure out the most appropriate modification to GOAtools to handle the issue properly. Below is a minimal example, and the resulting error:
from goatools import multiple_testing

# WORKS
pvals = [0.24, 1.0, 1.0, 1.0, 1.0]
hb_obj = multiple_testing.HolmBonferroni(pvals)
print(hb_obj.corrected_pvals)

# GENERATES ValueError
pvals = [0.25, 1.0, 1.0, 1.0, 1.0]
hb_obj = multiple_testing.HolmBonferroni(pvals)
print(hb_obj.corrected_pvals)

# GENERATES ValueError
# pvals = [1.0, 1.0, 1.0, 1.0]
# hb_obj = multiple_testing.HolmBonferroni(pvals)
# print(hb_obj.corrected_pvals)

Error:
    hb_obj = multiple_testing.HolmBonferroni(pvals)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File goatools\multiple_testing.py, line 158, in __init__
    self.set_correction()
  File goatools\multiple_testing.py, line 207, in set_correction
    idxs, correction = list(zip(*self._generate_significant()))
    ^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)

The error seems to depend both on the number of p-values and the lowest p-value. I am encountering this mostly for small sets of proteins and proteomes, but it does show up repeatedly in my dataset.
Any help would be appreciated! Thank you.

After a bit more testing, I think I have a possible solution that may be a conceptual improvement as well. If I'm understanding the code correctly, the HolmBonferroni was only applying a correction to p-values that were below their respective nominal alpha thresholds (determined by the number of p-values and their position in a sorted list). However, it seems like a correction should be applied to all p-values less than 1 (presumably making them equal 1 after correction).
To accomplish this, it seems like changing one line in the _generate_significant(self) method of the HolmBonferroni class in multiple_testing.py from
if p * 1. / num_pvals < self.a:
to
if p < 1.:
would properly adjust all p-values less than 1. Of course, this would not technically "generate significant" p-values: but it would apply the correction to all non-1 p-values.
When I make this adjustment in the GOATOOLS code locally, the test cases described above (and other test cases) no longer result in ValueErrors and appear to generate the appropriate corrected p-values.

@RossLabCSU
Thank you for the deep dive on this. Would you be able to do a pull request on this improvement? This will be super helpful.
Haibao


Running into a list index out of range

HI I am running into these error

It seems to be missing at preamble decoding. The preamble is a package defined in the PD spec, consisting of a 64-bit sequence of alternating '0' and '1'. Could you check if the input Manchester decoding is correct?


Compiling iOS export templates for Godot v4.2-stable fails on Macos

Tested versions
Only tested with Godot 4.2.stable
System information
Godot v4.2.stable - macOS 14.1.2 - integrated Apple M1 - Apple M1 (8 Threads)
Issue description
I am trying to compile the iOS export template binaries from source using the Godot 4.2.stable source code, following the instructions here
I get the following error when I try to compile with SCons:
scons p=ios target=template_debug
scons: Reading SConscript files ...
Auto-detected 8 CPU cores available for build parallelism. Using 7 cores by default. You can override it with the -j argument.
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
Failed to find SDK path while running xcrun --sdk iphoneos --show-sdk-path.
CalledProcessError: Command '['xcrun', '--sdk', 'iphoneos', '--show-sdk-path']' returned non-zero exit status 1.:
  File "/Users/Alex/Downloads/godot-4.2-stable/SConstruct", line 572:
    detect.configure(env)
  File "/Users/Alex/Downloads/godot-4.2-stable/platform/ios/detect.py", line 111:
    detect_darwin_sdk_path("ios", env)
  File "/Users/Alex/Downloads/godot-4.2-stable/methods.py", line 984:
    sdk_path = subprocess.check_output(["xcrun", "--sdk", sdk_name, "--show-sdk-path"]).strip().decode("utf-8")
  File<EMAIL_ADDRESS>line 466:
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File<EMAIL_ADDRESS>line 571:
    raise CalledProcessError(retcode, process.args,

Further version information. SCons installed with brew:
scons --version
SCons by Steven Knight et al.:
	SCons: v4.6.0.e5eef322a4a727b96358a436dca46e8085ac8692, Sun, 19 Nov 2023 17:22:20 -0700, by bdbaddog on M1Dog2021
	SCons path: ['/opt/homebrew/lib/python3.12/site-packages/SCons']

Xcode command line tools version:
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables

package-id: com.apple.pkg.CLTools_Executables
version: <IP_ADDRESS>.1.1700200546

I also found a related issue #43090 for Godot 3.2 which was said to have been fixed by #43091, so has this bug been re-introduced in Godot 4?
Steps to reproduce
scons p=ios target=template_debug
within the top-level of the Godot 4.2.stable source code folder after following the instructions here
Minimal reproduction project (MRP)
N/A

Do you have full Xcode installed? Command line tool are OK for macOS build, but not sufficient for iOS. Make sure to open it at least once (after installing or updating) to accept license and allow it to install all necessary components.
Check what's the following commands output:
xcrun --sdk iphoneos --show-sdk-path

xcode-select -p

Both should point to the location in Xcode.app, if it's not, try running:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

Thanks @bruvzg, initially running xcrun --sdk iphoneos --show-sdk-path errored as it couldn't find the SDK path, but running sudo xcode-select -s /Applications/Xcode.app/Contents/Developer has fixed it and the iOS export templates are now compiling for me. Thanks for opening the PR to update the docs, I'm happy for the issue to be closed once thats addressed.


Lost my password

I don't know if this is the right place to send this, but I've lost my password to the homebrewery.. is there any way i can get it back? Thanks!

I can't help you with it, but if I might make a suggestion, using a password vault like LastPass is a very good way to have extremely strong passwords on every site and also never ever forget a password again.

Closing 4 year old issue about missing password.  It can be reopened if necessary.


Wno-deprecated-copy compile option not found

While compiling i've got error:
error: unknown warning option '-Wno-deprecated-copy'; did you mean '-Wno-deprecated'? [-Werror,-Wunknown-warning-option]
Changing Wno-deprecated-copy to Wno-deprecated fixed the problem
Platform: MAC OSX 10.15
Devkit: 25_4000
Targeted Archicad 25
AppleClang <IP_ADDRESS>00032

Hi can you specify what tool have you used? XCode or VSCode? The mentioned diagnostic message should be available from clang v10, so there is another problem here. I'm able to build this package both with XCode and VSCode on OSX.


Add reuse port and backlog to port 80 and 443

This change is

@foolusion thanks for the report

Coverage remained the same at 42.563% when pulling 7fa5aecd71c3ad7e9c3aaa536aaa9c9ebab7d13a on aledbf:fix-backlog into 28c67257e3b86eed934efede973f901d4c50864f on kubernetes:master.

@justinsb thanks!


MSID: 91598 Version: 2 DOI: 10.1101/2<IP_ADDRESS>9517

MSID: 91598
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>9517
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=91598
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>9517

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/91598v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>9517
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/91598/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Filippo Rusconi is also a corresponding author

The above has been fixed.
The only remaining issue is the assessment:

I can see the hypothesis comment was edited. But the page on Sciety hasn't yet updated. We'll need to wait until that's happened before we can proceed.


chore: update all posts front-matter

[ ] Read the theme publishing doc or plugin publishing doc.

I did this to my own site long ago.
This is more compatible with other system, see Hugo.

Thanks @ertrzyiks & @leesei :)


text_on_image Creator - Web design #28

https://images01.nicepagecdn.com/page/45/28/html-template-4528323.jpg Design a text_on_image like the above image
Create a file "text_on_image_NUM_by_(YourName).html" in the modules/text_on_image folder.
Use simple HTML and CSS and JAVASCRIPT to create the text_on_image animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "text_on_image_NUM_YOUR_NAME_.html" in the "modules/text_on_image" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/text_on_image/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
<div>
    <!---YOUR CODE---->
</div>

<style>
    /* YOUR STYLE */
</style>

<script>
    // YOUR SCRIPT if any
</script>

The goal of this issue is to create modules that other people/dev/designers can use or easily import into their projects. Avoid the desire to style all elements in the page by using codes like:
<style>

*{

}
/* OR */

div, a, h1, pre{

}

</style>

use classes or id to style the elements to avoid a collision of styles.
Remember to make your module usable across different screens(Make your design responsive).
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck and thank you.

I have started working on this issue, and will raise PR as soon as possible.

Hi @NtemKenyor  I have reoslved this issue and created a PR. Please review it. Thankyou


remove unused import witness

Unused import is purposely added for ease of discoverability in this case. Users have the choice of removing it if desired in their own implementations.


test issue

Description of the requested feature

Impacted component(s)

Related issues

(#100) Description

this did not auto-add itself to the PFE Project board


Add links to relevant ISO / P&ID Drawings

Expected outcome

In the pull out tab, add an area for links to ISO / P&ID drawings where users can manually add the P&ID / ISOs that they need:

Not sure if we get the P&IDs / ISO Drawings from the Tags?
The P&ID / ISO PDFs can be found in ECHO - Need to check this with Atle:

We need to check with Atle if these P&IDs will be newly created ones / picked up from the relevant HT, or if a user would need to Drag and Drop the relevant PDF
Here is a picture of how the ISO / P&IDs for LUN (similar to RC) looked in Johan Sverdrup:

Acceptance Criteria

[ ] in the "Scope" Tab. There is a "Links to Documents"  where ISOs / P&ID are linked.

@atlewee  - Could you confirm how we should connect P&IDs / ISOs to RC requests? Are they automatically picked up from tags, or would ISO / P&ID be manually inputted by a user?
I am unsure how Sverdrup did it, see last pic for LUN view that Sverdrup had.

Info: STID or procosys is best for tag/doc links.
Also If you have the docNumber, you can easily just construct a Stid link from the Number and plant.
(Echo has no documents, echo looks them up in STID API )

Great, is the plan that users manually add P&IDs, or is there a way we can pull these in an automated fashion?

Write lookup to stid to get P&ID and ISO's. There is an endpoint for getting this based on the tagNo and the instCode. Should fix the #1542 first. As it will affect the code for handling this

Atle answered Kjetil on teams:

@EDUT-Equinor, my current implementation look like this.
Does it look ok?

closed by mistake - reopening

@EDUT-Equinor, this is now ready for testing.
Link: https://jc.fusion.test.equinor.com/ConstructionAndCommissioning/release/table

A new bug appeared in the OPS logs. Could easily be fixed, along with the changes requrested by Ed.

Failed API calls to STID, should not cause the entire request to fail.
Document-links should open the document directly.


AC Dimming not happening in ESP32S3 (IDFGH-9621)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I have tested AC dimming in ESP32 and they are supported LEDC_HIGH_SPEED_MODE and they working fine.
now those same code i implement on ESP32-S3 and change some required function still i didn't get AC Dimming.
Used Hardware :
Micro Controller : ESP32-S3-DevkitV1
Circuit  : Z -Cross AC detector
Please found in below code :
Change 1:
ledc_timer_config_t timer_config = {
        .speed_mode = LEDC_LOW_SPEED_MODE,  //change mode
        .timer_num = 0,
        .duty_resolution = DUTY_BIT_DEPTH,
        .freq_hz = HZ * 2,
    };
    ESP_ERROR_CHECK(ledc_timer_config(&timer_config));

    ESP_LOGI(LOG_STARTUP, "Configured timer.\n");
    ledc_cbs_t callbacks = {
        .fade_cb = cb_ledc_fade_end_event};
    SemaphoreHandle_t counting_sem = xSemaphoreCreateCounting(NUM_CHANNELS, 0);
    for (int i = 0; i < NUM_CHANNELS; ++i)
    {
        ledc_channel_config_t led_config = {
            .gpio_num = channel_pins[i],
            .speed_mode = LEDC_LOW_SPEED_MODE,  //change mode
            .channel = i,
            .timer_sel = LEDC_TIMER_0,
            .duty = (1 << DUTY_BIT_DEPTH) - 1,
            .intr_type = LEDC_INTR_DISABLE,
        };
        ESP_ERROR_CHECK(ledc_channel_config(&led_config));
        LEDC.channel_group[0].channel[i].duty.duty = TRIAC_GATE_IMPULSE_CYCLES << 4;
        // Initial brightness of 0, meaning turn TRIAC on at very end:
        LEDC.channel_group[0].channel[i].hpoint.hpoint = (1 << DUTY_BIT_DEPTH) - 1;
        LEDC.channel_group[0].channel[i].conf0.sig_out_en = 1;
        LEDC.channel_group[0].channel[i].conf1.duty_start = 1;
        ledc_cb_register(LEDC_LOW_SPEED_MODE, i, &callbacks, (void *)counting_sem);
    }

Change 2:

//ESP32 Working part to set Fade
        ESP_LOGE(LOG_FADE, "#");
        // Not currently fading, use current value, but remember to invert it (low hpoint is high brightness).
        start_brightness = ((1 << DUTY_BIT_DEPTH) - 1) - LEDC.channel_group[0].channel[channel].hpoint.hpoint;

        /////////////////////////////////////////
        /* Change log for ESP32S3 Module */

        ledc_fade_start(LEDC_LOW_SPEED_MODE,channel,LEDC_FADE_NO_WAIT);
        // ledc_set_duty_with_hpoint(LEDC_LOW_SPEED_MODE, channel, start_brightness, LEDC.channel_group[0].channel[channel].hpoint.hpoint);
        ledc_set_fade_with_time(LEDC_LOW_SPEED_MODE,channel,(1 << DUTY_BIT_DEPTH) - 1,1000);  //after add DC dimming okay
        // ledc_update_duty(LEDC_LOW_SPEED_MODE, channel);

        ///////////////////////////////////////////

I have taken reference code: (https://github.com/masoncj/esp32-dimmer/tree/master)

Can you please tell me why i am not able to do dimming in AC supply.

Sorry for i didn't mention some details:
Compiling: idf.py build
Framework : ESP-IDF

Any update?

Hi @CC-MASTER05, I don't quite understand what is changed in "change 2". I took a look at the reference code you mentioned, it looks like it didn't use the LEDC driver APIs to do fading, but implemented the software fading in the application. Now, you would like to use the hardware fading with the driver APIs?
Not sure if it is a copy & pasta problem, but in your code, the calling order of ledc_fade_start and ledc_set_fade_with_time is wrong. You should first set up a fade with ledc_set_fade_with_time, and then call ledc_fade_start to start the fade :)

@songruo thanks for the answer but acutely when i am changing and load into my esp32s3 it not working but when this same code i implement in ESP32 at a time it working fine.
have you any idea?

@CC-MASTER05 The code you posted is not very clear for me. Can you show how you configure the fading on esp32 and esp32s3 explicitly?

Hey @songruo  i am using LEDC library and Zero-cross detect circuit for AC dimming.
Once , i try to change duty cycle at a time not sync zero-cross detect signal and output PWM signal so we are not able to manage same time AC signal calipering.
Please find below my code.
Summary of Code:

I am taking once UART based serial input and accordingly those input set and update duty cycle in between taking zero-cross signal interrupt using ISR.
In ISR used semaphore binary
Implement one timer reset in Zero-cross signal detect at time and made one small delay

NOTE: No flickering happening at any point just issue with signal sync.
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "driver/ledc.h"
#include "soc/ledc_struct.h"
#include "soc/gpio_struct.h"
#include "driver/gpio.h"
#include "driver/uart.h"
#include "freertos/semphr.h"
#include "esp_log.h"
#include "stdio.h"
#include "strings.h"
#include <sys/time.h>

#define LEDC_CH_NUM 0
#define LEDC_CH_FREQ 50
#define LEDC_CH_RESOLUTION LEDC_TIMER_13_BIT
#define AC_ZERO_CROSS_GPIO GPIO_NUM_4
#define AC_DIMMER_GPIO GPIO_NUM_12
#define UART_PORT_NUM UART_NUM_0
#define TIMER LEDC_TIMER_0
#define BUF_SIZE (1024)

int ledc_duty = 0;
int reg_sel = 0;
static QueueHandle_t uart0_queue;
static volatile SemaphoreHandle_t zero_cross_semaphore = NULL;
uart_event_t event;

static ledc_channel_config_t ledc_channel = {
    .gpio_num = AC_DIMMER_GPIO,
    .speed_mode = LEDC_LOW_SPEED_MODE,
    .channel = LEDC_CH_NUM,
    .intr_type = LEDC_INTR_FADE_END,
    .timer_sel = TIMER,
    // .gpio_num = AC_ZERO_CROSS_GPIO,
    .duty = 0,
    .hpoint = 0};

static void IRAM_ATTR ac_zero_cross_isr_handler(void *arg)
{

    static BaseType_t xHigherPriorityTaskWoken = pdFALSE;
    xSemaphoreGiveFromISR(zero_cross_semaphore, &xHigherPriorityTaskWoken);
}

static void ac_dimmer_task(void *arg)
{
    while (true)
    {
        if (xSemaphoreTake(zero_cross_semaphore, portMAX_DELAY) == pdTRUE)
        {
            if (GPIO.in & (1 << AC_ZERO_CROSS_GPIO))
            {
                 LEDC.timer_group[0].timer[0].conf.rst = 1;
                 LEDC.timer_group[0].timer[0].conf.rst = 0;
                ledc_set_duty_and_update(ledc_channel.speed_mode, ledc_channel.channel, ledc_duty, 0);
                for (int i = 0; i < 100; ++i)
                {
                }
            }
        }
    }
}

static void uart_task(void *pvParameters)
{
    uint8_t *dtmp = (uint8_t *)malloc(BUF_SIZE);
    for (;;)
    {
        // Waiting for UART event.
        if (xQueueReceive(uart0_queue, (void *)&event, 1000 / portTICK_PERIOD_MS))
        {
            bzero(dtmp, BUF_SIZE);
            switch (event.type)
            {
            // Event of UART receving data
            case UART_DATA:
                int len = uart_read_bytes(UART_NUM_0, dtmp, BUF_SIZE, 1000 / portTICK_PERIOD_MS);
                if (len > 0)
                {
                    dtmp[len] = '\0';
                    printf("Recv str: %s\n", dtmp);

                    reg_sel = atoi((const char *)dtmp);
                    if (reg_sel >= 1 || reg_sel <= 5)
                    {
                        switch (reg_sel)
                        {
                        case 1:
                            ledc_duty = 25 * ((1 << LEDC_CH_RESOLUTION) - 1) / 100;
                            break;

                        case 2:
                            ledc_duty = 50 * ((1 << LEDC_CH_RESOLUTION) - 1) / 100;
                            break;

                        case 3:
                            ledc_duty = 75 * ((1 << LEDC_CH_RESOLUTION) - 1) / 100;
                            break;

                        case 4:
                            ledc_duty = 100 * ((1 << LEDC_CH_RESOLUTION) - 1) / 100;
                            break;

                        case 5:
                            ledc_duty = 0 * ((1 << LEDC_CH_RESOLUTION) - 1) / 100;
                            break;

                        default:
                            printf("Please select in beetween 1 to 5\n");
                            break;
                        }
                        printf("ledc duty: %d\r\n", ledc_duty);
                        ledc_set_duty_and_update(ledc_channel.speed_mode, ledc_channel.channel, ledc_duty, 0);
                    }
                }
                break;
            default:
                break;
            }
        }
    }
}

static bool cb_ledc_fade_end_event(const ledc_cb_param_t *param, void *user_arg)
{
    portBASE_TYPE taskAwoken = pdFALSE;

    if (param->event == LEDC_FADE_END_EVT)
    {
        SemaphoreHandle_t counting_sem = (SemaphoreHandle_t)user_arg;
        xSemaphoreGiveFromISR(counting_sem, &taskAwoken);
    }

    return (taskAwoken == pdTRUE);
}

void app_main()
{
    gpio_install_isr_service(0);
    ledc_fade_func_install(0);
    gpio_config_t io_conf;
    io_conf.intr_type = GPIO_INTR_DISABLE;
    io_conf.mode = GPIO_MODE_OUTPUT;
    io_conf.pin_bit_mask = (1ULL << AC_DIMMER_GPIO);
    io_conf.pull_down_en = 0;
    io_conf.pull_up_en = 0;
    gpio_config(&io_conf);

    io_conf.intr_type = GPIO_INTR_NEGEDGE;
    io_conf.mode = GPIO_MODE_INPUT;
    io_conf.pin_bit_mask = (1ULL << AC_ZERO_CROSS_GPIO);
    io_conf.pull_down_en = 0;
    io_conf.pull_up_en = 0;
    gpio_config(&io_conf);

    ledc_timer_config_t ledc_timer = {
        .duty_resolution = LEDC_CH_RESOLUTION,
        .freq_hz = LEDC_CH_FREQ * 2,
        .speed_mode = LEDC_LOW_SPEED_MODE,
        .timer_num = TIMER,
        .clk_cfg = LEDC_AUTO_CLK,
    };
    ledc_timer_config(&ledc_timer);

    ledc_cbs_t callbacks = {
        .fade_cb = cb_ledc_fade_end_event};
    SemaphoreHandle_t counting_sem = xSemaphoreCreateCounting(1, 0);

    ledc_channel_config(&ledc_channel);
    ledc_cb_register(ledc_channel.speed_mode, ledc_channel.channel, &callbacks, (void *)counting_sem);

    zero_cross_semaphore = xSemaphoreCreateBinary();

    if (zero_cross_semaphore == NULL)
    {
        printf("Semaphone create fail");
    }
    else
    {
        printf("Semaphone created!!!");
    }

    gpio_isr_handler_add(AC_ZERO_CROSS_GPIO, ac_zero_cross_isr_handler, NULL);

    // Configure UART
    static const uart_config_t uart_config = {
        .baud_rate = 115200,
        .data_bits = UART_DATA_8_BITS,
        .parity = UART_PARITY_DISABLE,
        .stop_bits = UART_STOP_BITS_1,
        .flow_ctrl = UART_HW_FLOWCTRL_DISABLE,
        .source_clk = UART_SCLK_DEFAULT};

    ESP_ERROR_CHECK(uart_param_config(UART_PORT_NUM, &uart_config));
    ESP_ERROR_CHECK(uart_set_pin(UART_PORT_NUM, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE));
    uart_driver_install(UART_PORT_NUM, BUF_SIZE * 2, BUF_SIZE * 2, 10, &uart0_queue, 0);

    // Create task to handle UART input
    xTaskCreate(uart_task, "UART Task", 2048, NULL, 10, NULL);

    xTaskCreate(ac_dimmer_task, "AC Dimmer Task", 2048, NULL, 10, NULL);

    while (1)
    {
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }
}

@CC-MASTER05 I have tried your code. It looks fine to me, the LEDC signal is working, UART is working, and zero crossing IO can trigger the interrupt properly. I am not sure what is your issue now, are you trying to say that the duty change is not synced with the zero-crossing moment? If so, two suggestions:

You don't need to call ledc_set_duty_and_update in the uart_task, right? ledc_set_duty_and_update should only be called in the ac_dimmer_task to make it synchronize with zero-crossing, instead of UART event.
Is your AC_ZERO_CROSS_GPIO pin floating when you are testing? A floating pin can trigger the interrupt randomly. You should either connect the pin to external circuit or enable internal pull-up / pull-down resistors in gpio_config_t.

Thanks for the input i have tested and working fine with your suggestion.


Move istio config patches into a separate file

Changes

Move bad config patches into their own file. They don't currently work because they're applied before  the configmap is created.

Moved changes into a script, so this one should be merged first now.
/assign @JRBANCEL @nak3
/unhold

/lgtm
/approve


v2.6.0, HA 23.07.1

At _active_power there is no possibility change measuring unit from kW to W.
After change is still stuck at kW.

Can you be a bit more specific, because normally they are reported as the unit the API provides them.
Which entity specifically is faulty? For which device?

@QaDoPL can you check the comment above?

@QaDoPL I will close this issue as there is no feedback.


v 2.5

Preliminary Release notes:
Happy new Year everyone! 🎉  Let's start 2022 with some neat additions!


Numpy-style Docstring cannot be recognized correctly at all

Bug: Numpy-style Docstring cannot be recognized correctly at all
For example, I use a Numpy-style docstring format at follow:
class Layer:
    def __init__(self,
                    index=None,
                    predecessors=None,
                    successors=None,
                    operation=None,
                    kernel_size=None,
                    num_of_filters=None,
                    normalization=None,
                    activation=None):
        """Initialize a layer

        Parameters
        ----------
        index : int
            Index of the layer in the block
        predecessors : list
            A list composed of precedent layers of the layer
        successors : list
            A list composed of successive layers of the layer
        operation : string
            Defines what the layer does
        kernel_size : string
            Defines what the layer's kernel size is if the layer's operation is a convolution or pooling, otherwise `None`
        num_of_filters : int
            Defines what the number of the layer's filters is if the layer's operation is a convolution or pooling, otherwise `None`
        normalization : string
            What is the normalization method after this layer. If don't normalize, fill in `None`
        activation : string
            What is the activation method after this layer. If don't activate, fill in `None`
        """
        pass

Actual behavior
This is what vscode-python shows:

All lines are connected...
Expected behavior
This is what PyCharm shows:

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Closing in favour of #38


substitute Quantities

Should be quite easy. How high priority is this?

I think this will help with best practice in substitution, including places where substitutions.update is used.
My vision is that any time a numeric value is substituted, the units should be clearly indicated. This will help since currently substitution often occurs in code where it's not obvious what the units are.
Taking this to the extreme, we would not ever allow a bare value to be substituted for a Variable unless that Variable is dimensionless.
Here is a vision for how this might work. Substitution would accept Quantity objects or (value, units) tuples; float arguments would be assumed dimensionless.
In [1]: from gpkit import Variable, units

In [2]: Quantity = units.Quantity

In [3]: drag = Variable("T", "lbf") * Variable("V", "m/s")

In [4]: drag
Out[4]: gpkit.Monomial(T*V [lbf*m/s])

In [5]: drag.sub({"V": 10}) # should not work, 10 needs units
Out[5]: gpkit.Monomial(10*T [lbf*m/s])

In [6]: drag.sub({"V": Quantity(10, "mph")})  # should work
---------------------------------------------------------------------------
DimensionalityError                       Traceback (most recent call last)
<ipython-input-6-c7b1571f50c4> in <module>()
----> 1 drag.sub({"V": Quantity(10, "mph")})  # should work

/Users/whoburg/MIT/dev/gpkit/gpkit/nomials.pyc in sub(self, substitutions, val, require_positive)
    206         Returns substituted nomial.
    207         """
--> 208         _, exps, cs, _ = substitution(self, substitutions, val)
    209         return Signomial(exps, cs, require_positive=require_positive)
    210

/Users/whoburg/MIT/dev/gpkit/gpkit/substitution.pyc in substitution(nomial, substitutions, val)
    158             if isinstance(sub, Numbers):
    159                 if sub != 0:
--> 160                     cs_[i] *= sub**x
    161                 else:  # frickin' pints bug. let's reimplement pow()
    162                     if x > 0:

/Users/whoburg/anaconda/envs/gpkit/lib/python2.7/site-packages/pint/quantity.pyc in __setitem__(self, key, value)
   1030                                               extra_msg='. Assign a quantity with the same dimensionality or '
   1031                                                         'access the magnitude directly as '
-> 1032                                                         '`obj.magnitude[%s] = %s`' % (key, value))
   1033                 self._magnitude[key] = factor.magnitude
   1034             else:

DimensionalityError: Cannot convert from '10.0 force_pound * meter * mph / second' to 'force_pound * meter / second'. Assign a quantity with the same dimensionality or access the magnitude directly as `obj.magnitude[0] = 10.0 force_pound * meter * mph / second`

In [7]: drag.sub({"V": (10, "ft/s")})  # should work
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-7-8f73f1e9abad> in <module>()
----> 1 drag.sub({"V": (10, "ft/s")})  # should work

/Users/whoburg/MIT/dev/gpkit/gpkit/nomials.pyc in sub(self, substitutions, val, require_positive)
    206         Returns substituted nomial.
    207         """
--> 208         _, exps, cs, _ = substitution(self, substitutions, val)
    209         return Signomial(exps, cs, require_positive=require_positive)
    210

/Users/whoburg/MIT/dev/gpkit/gpkit/substitution.pyc in substitution(nomial, substitutions, val)
    211             else:
    212                 raise TypeError("could not substitute with value"
--> 213                                 " of type '%s'" % type(sub))
    214     return varlocs_, exps_, cs_, subs

TypeError: could not substitute with value of type '<type 'tuple'>'

I think this should ideally go in a separate PR from the refactor.

priority is medium to high assuming we agree on the vision.

This is working but untested.


[DR-1589] Show limit status box if the daily limit is zero

Background
Users can't see their limit status if it's zero
Changes done
-Update reports view to show the limit status box always
-Create tests
Pending to be done
N/A
Notes
N/A
Demo

@andresmoschini @mvillaseco I updated the pr to show limits including limit zero and mantain the original logic.


attribute and column_name mixed up for export and Meta.fields

Describe the bug
Unable to export columns when the column_name is ne the same as attribute when fields using attribute.
To Reproduce
Steps to reproduce the behavior:
1- Create a field and put his attribute name in the Meta.fields list and use another name for column_name
2- execute export
Versions (please complete the following information):
Last, last last, surfing on the last.
Expected behavior
Columns appears on export with the good translation of the column_name header
Screenshots
Useless
Additional context
Use less
** Fix **
Replace column_name by attribute when applicable. resource.py line 1034
    def export_resource(self, instance, fields=None):
        export_fields = self.get_export_fields()

        if isinstance(fields, list) and fields:
            return [
                self.export_field(field, instance)
                for field in export_fields
                if field.attribute in fields
            ]

        return [self.export_field(field, instance) for field in export_fields]

    def get_export_headers(self, fields=None):
        if isinstance(fields, list) and fields:
            return [force_str(field.column_name) for field in self.get_export_fields() if field.attribute in fields]
        return [force_str(field.column_name) for field in self.get_export_fields()]

Thanks

also seeing this. thanks for reporting it.

the feature used to work in the v3 series. desired behavior is also documented here: https://django-import-export.readthedocs.io/en/stable/advanced_usage.html#explicit-field-declaration

Thanks for reporting.  I confirm this is a bug in v4.  I tested in v3 with the following in the example app:
class BookResource(ModelResource):
    published = Field(attribute='published', column_name='published_date')

    class Meta:
        model = Book
        fields = ('id', 'name', 'price', 'published')

In v3, this will export to a column with header 'published_date'.  In v4, it doesn't export the column.  If you remove the custom declaration, then it exports ok as 'published'.


[tacoshack] It'd be great not to have the t as an alias.

Hey!
James, hope you're doing great! Love your tacoshack cog, it's so good. And being able to play taco through your own bot makes it even more fun.
Thank you for the cog.

I was just wondering if you could remove one of the default alias t from the list of alias, as it's messing up with other cogs that has the cmd already and are more important in a way.
I think it'd be great to have the cog without the t as a default alias, one can add it if they like, and removing t won't make it harder either.

Thanks and looking forward to see the franchisee implementation on tacoshack cog in future. :)
Have a great day ahead.

Oh awesome somebody is using my cog I love it! I'm glad you like it I will implement the changes right away and remove the t alias

I have removed the 't' alias for now I will make updates in the future I went off TacoShack-classic and it was written it nodejs so it was a little tricky. The hourly income needs to be fixed as well it gives hourly income everytime you reload the cog right now I want to turn it into a cron task on the hour

Thank you, James, and yes, getting the timer for hourly income on cron should solve the issue.
It'd also help with the cmds like overtime for franchise when you're able to implement that.
Thanks again!


Install work in python3.8

platform.linux_distribution is removed in python 3.8 a we should use distro package instead.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: SabatierBoris sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Sorry, adding this line won't fix the problem.
We are considering using other way to keey this script working.

Hey, @SabatierBoris Thanks for you contribution!
We have received a lot issues about that installation problem. And sincerely considered your suggestion. distro is a really good alternative of platform.dist() and platform.linux_distribution(). And it's recommended by https://docs.python.org/3.7/library/platform.html.
However, the installation script is a bit irrational, do much things for user and its code is not so clean. We may refine that script in the future.
Also, considering we only need a small part of the functionality. we descided not to introduce distro into azure-cli. We fix that by a small simple alternative function.
It's possible that we will bring in distro in some days.
We did get inspired by your idea. Thanks again.


[linux] Todo: Timestamp compare BankSignitures.bin

Oversight on my part, I should probably also timestamp check the BankSignitures.bin before copying it to the PackedFileBackup folder.
If the user runs this when an update didn't happen, it currently will overwrite the official BankSignitures.bin with the modified one in all cases.
Not a significant problem, just a bad practice.  Whenever I push the next update- I should fix this.

Handled this in the repo copy of the script, but I won't be posting a release just for this small thing.

This will need ported to the linux script too at some point, so I'll re-open under that context


continuing problems with loop devices

I still have this sort of problem inconsistently on RHEL6 with the latest source.  At other times I can do this without the error.   I don't know how to debug it off-hand, and probably don't have time to delve into kernel tracing.
# /usr/local/singularity/bin/singularity -q create xy
Creating a sparse image with a maximum size of 1024MiB...
Formatting image (/sbin/mkfs.ext3)
ERROR: Could not clear loop device: Device or resource busy
ERROR: Failed to detach loop device: /dev/loop12
Done. Image can be found at: xy

losetup -a shows
/dev/loop0: [fd00]:662797 (/dev/loop0)
/dev/loop1: [fd00]:662798 (/dev/loop1)
/dev/loop2: [fd02]:85 (), offset 31
[...]
/dev/loop10: [fd02]:34 (), offset 31
/dev/loop11: [fd02]:35 (), offset 31

with only 0 and 1 appearing on the right-hand side, and the loopN only seem to be associated with kernel threads in /proc.  They just show up from ps like
root      2389  0.0  0.0      0     0 ?        S<   15:12   0:00 [loop11]

Rhel6 64bit? I will keep running create and see if I can replicate it. Is it always on create, or do any other singularity commands yield this error?

I have not been able to replicate this on several OS versions including C5, C6, and C7. I've ran this loop over and over and still no problem:
for i in seq -w 0 250; do if ! sudo singularity create test.$i; then echo FAIL; break; fi ; done
I have not had any loop devices uncleared or become associated with kernel threads that won't let go of them. I will leave this issue open for a while just incase anybody else comes across similar behavior and can describe a reproducer.

do you have a docker service running? defaulting to loop mounted sparse file storage
what does losetup -a reports?

You wrote:

Rhel6 64bit?

Yes.

I will keep running create and see if I can replicate
it. Is it always on create, or do any other singularity commands yield
this error?

I think others did.

You wrote:

do you have a docker service running?

Yes, but I've seen the same in a vagrant box that definitely didn't.

defaulting to loop mounted
sparse file storage

I don't know -- just the basic EPEL installation.

what does losetup -a reports?

I thought I posted output before.  I can't repeat it just now.

Well, it is unfortunate that loops are consumables on the physical host... Is it possible that the docker daemon exhausted them and was causing or contributing to this? I've tried again, I can't replicate. :(

"Gregory M. Kurtzer"<EMAIL_ADDRESS>writes:

Well, it is unfortunate that loops are consumables on the physical
host...

I suppose that should be documented.

Is it possible that the docker daemon exhausted them and was
causing or contributing to this? I've tried again, I can't
replicate. :(

I saw the problem after killing docker.  As far as I can tell it needs
debugging at the kernel level, which I don't have time to look into.

I will document that and leave this issue open for now incase anybody else sees something similar or related.

Closing issues as this appears to be resolved now. If not, let me know and I'll reopen.
Thanks!


Check if bootstrap helper classes need to be reimplemented after getting rid of bootstrap

Bootstrap not only provided a lot of uility clases, but also some helper classes.
We need to check if we need to reimplement them or document the breaking change.
See bootstrap helper classes here: https://getbootstrap.com/docs/5.3/helpers

Create a ticket for each helper class as subtickets here, do research on gitit on how frequent these classes are being used and then we decide if we're going to implement them or not.


x86_64: prevent GCC and Clang from generating FMAs in cscal/zscal.

If e.g. -march=haswell is set in CFLAGS, GCC generates FMAs by default, which is inconsistent with the microkernels, none of which use FMAs. These inconsistencies cause a few failures in the LAPACK testcases, where eigenvalue results with/without eigenvectors are compared.
Moreover using FMAs for multiplication of complex numbers can give surprising results, see 22aa81f for more information.
This uses the same syntax as used in 22aa81f for zarch (s390x).

Thank you.


snappi 0.13.4: log for bgp ASN number overflowed

07-01,23:22:20,Config,GetVersion returning OTG version as 0.13.4 , app version as <IP_ADDRESS>8
For ASN<PHONE_NUMBER>, one would get AS -296 in the log of a ixia-c-protocol-engine container.
07-01,23:27:44,Config,          BgpIpv4Interface: name otg1.eth[0].ipv4[0], no. of peers 1
07-01,23:27:44,Config,                  BGP Peer : Name otg1.bgp4.peer[0] DUT IP XXXX AS -296 type eBGP

Config used:
                  "as_type":  "ebgp",
                  "as_number":  "4294967000",
                  "as_number_width":  "four",

Related issue: https://github.com/open-traffic-generator/snappi/issues/195

Indeed it is a logging issue wherein logging was not fixed after OTG datatype for ASno was fixed to uint32 from int to handle large 32 bit AS Nos .  ( for https://github.com/open-traffic-generator/snappi/issues/195 )
It is printing the value as int instead of unsigned int.

Fixed in v0.1.0-222


UserGuide.adoc: Fix caption typo

Pull Request Test Coverage Report for Build 395

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.85%

Totals

Change from base Build 393:
0.0%

Covered Lines:
2885

Relevant Lines:
3284

💛  - Coveralls


removed coverage requirements

We need to increase test coverage to 80% to resolve the issue with failed tests on github


Deduplicate @changesets/config in yarn.lock

I believe that this should resolve your issue reported by @timbonicus here: https://github.com/atlassian/changesets/issues/505 . You still need to re-check if it does though - if not please let me know and I will take a deeper look into this.

Right, would appreciate though if you re-check this and let me know if I can close that issue in Changesets repo :P

This does fix it, thank you @Andarist! Brilliant, above and beyond to investigate this repo. 😄


Add reference to nasa-api wrapper

@zanetworker I added some additional goals to the README and it's causing a conflict (sorry about that). Can you catch up your branch to the latest master and I'll merge this?

@Mierdin no worries, should be fine now.


KeyError: "['target'] not found in axis" using FeatureSelector

When using the FeatureSelector, I get the error as the title shows. The error stack is as follows:
~/env/lib/python3.8/site-packages/verstack/tools.py in wrapped(*args, **kwargs)
     17     def wrapped(*args, **kwargs):
     18         start = time.time()
---> 19         result = func(*args, **kwargs)
     20         end = time.time()
     21         elapsed = round(end-start,5)

~/env/lib/python3.8/site-packages/verstack/FeatureSelector.py in fit_transform(self, X, y, **kwargs)
    230         if self.auto:
    231             self.printer.print(f'Comparing LinearRegression and RandomForest for feature selection', order = 2)
--> 232             self._auto_linear_randomforest_selector(X, y, kwargs)
    233         else:
    234             self.printer.print(f'Running feature selection with {self._model}', order = 2)

~/env/lib/python3.8/site-packages/verstack/FeatureSelector.py in _auto_linear_randomforest_selector(self, X, y, kwargs)
    292
    293         self.printer.print(f'Running feature selection with {linear_model}', order = 2)
--> 294         feats_lr_flags = self._prepare_data_apply_selector(X, y, selector_lr, scale_data = True)
    295
    296         self.printer.print(f'Running feature selection with {randomforest_model}', order = 2)

~/env/lib/python3.8/site-packages/verstack/FeatureSelector.py in _prepare_data_apply_selector(self, X, y, selector, scale_data)
    247
    248     def _prepare_data_apply_selector(self, X, y, selector, scale_data = False):
--> 249         X_subset, y_subset = self._subset_data(X, y)
    250         if scale_data:
    251             X_subset = self._scale_data(X_subset)

~/env/lib/python3.8/site-packages/verstack/FeatureSelector.py in _subset_data(self, X, y)
    484             experimental_data = temp.sample(frac=batch)
    485             experimental_data.reset_index(drop=True, inplace=True)
--> 486             X = experimental_data.drop('target', axis=1)
    487             y = experimental_data.target

I am using v3.3.3 and the source code for FeatureSelector remains unchanged when compared to the newer version

Can you provide the error message? Your stack trace is not complete and does not show the actual error message.
To make it complete also please provide the code how you have applied the FeatureSelector.

You are right with your hypothesis. I've pushed the changes to FeatureSelector to be able to accept any iterable for 'y'.
$pip install --upgrade verstack
You should get verstack version 3.7.1 and FeatureSelector version 0.0.5


ActionIcon

Link to the page where something isn't quite right
https://www.svelteui.org/core/action-icon
Exact quote of what is wrong
Colors aren't applied to the icon in the USAGE demo, when variant=defult
(but it works with other variants)
Are you willing to create pull request with the fix?
Yes

So, the default variant is supposed to not change the color of the icon. The error here is that the "default" value for variant is hover and not default.


Scripts to import documentation from fastify/fastify

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure the issue has not already been raised

Issue
Following on from fastify/fastify#3492, I think we have everything we need to import documentation into this project.
For v3 (current):

The /docs/ folder from main branch needs to be cloned into /docs/ locally.
While we restructure these docs, we should use docs-reorg branch instead (but can easily switch main once it is merged).

For v2:

The /docs/ folder from 2.x branch needs to be cloned into /versioned_docs/version-v2/ locally.

For v1:

The /docs/ folder from 1.x branch needs to be cloned into /versioned_docs/version-v1/ locally.

@luisorbaiceta is this something you are able to work on? Thanks!

I already have most of the work done. I will need to add some more logic though as separating some of the docs to a nested path called versioned_docs and the latest version to a root level folder will add complexity

Here is a fresh start for this project https://github.com/fastify/website-next/issues/32


About Success Rate calculating details

Hi there,
I have already run the demo and through the paper carefully. I'm wondering is there a automatic way you guys calculate the success rate in your appendix results about the L1~L4 based on different methods(eg: Flamingo).Say, I gotta a one-time inference on the specific task(visual_manipulation) with the prompt(put obj1 into obj2), how do we know it succeeds in a quantitative way. And how to calculate this on a large test data with a automatic way?
Thank you for your attention.

Quote from the paper "Each task in
VIMA-B ENCH has a binary success criterion and does not
provide partial reward. During test time, we execute agent
policies in the simulator for multiple episodes to compute
a percentage success rate". Is there anyway you can explain this in a more detailed way?

This is achieved through the method implemented in VIMABench. Concretely,
obs, _, done, info = env.step(...)

print(info)
>>> {"success": ..., "failure": ..., ...}

In practice, for each task we run multiple evaluations and compute an average success rate.


Add ability to configure RC timer for RTC on nRF51

Typo fix: I meant to say that the coding standard says use spaces instead of tabs.

@wes3, since there wasn't a clear place specified to put the XTAL_RC value, I picked the BSP. That seems to me to be a more logical place for it, since board differences would require this change, not chip differences.

I think the mcu package is a better place for this setting, since only MCU code actually references it.  The BSP package could then override this setting.  This is slightly preferably in my opinion because then the setting only needs to be defined once.  With the setting defined in the BSP, every BSP that uses this MCU will need to redefine this setting.
I don't think it's a huge deal.  There is also an argument to be made that the BSP is the correct place for this setting because that is where the other timer settings are (wrongly? :)) defined.


Need to remove unnecessary line breaks

Expected behavior (预期行为)
There should be no unnecessary line breaks.
Actual behavior (实际行为)
In fact, there are extra line breaks.
Steps to reproduce the behavior (重现步骤)
See the screenshot attached to this issue.
NexT Version:

✔ Master
Latest Release
Old version -

NexT Scheme:

All schemes
Muse
Mist
✔ Pisces

Other Information (Like Browser, System, Screenshots)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

you can use  gulp-htmlclean and gulp-htmlmin to solve your problem ！
npm install gulp-htmlmin --save-dev
npm install gulp-htmlclean --save-dev

gulp-htmlmin--压缩html，可以压缩页面javascript、css，去除页面空格、注释，删除多余属性等操作文档
gulp-htmlclean-- null

config
var gulp = require('gulp');
var htmlmin = require('gulp-htmlmin');
var htmlclean = require('gulp-htmlclean');
//
gulp.task('minify-html', function() {
  return gulp.src('./public/**/*.html')
  .pipe(htmlclean())
  .pipe(htmlmin({
    removeComments: true,
    minifyJS: true,
    minifyCSS: true,
    minifyURLs: true,
  }))
  .pipe(gulp.dest('./public'))
});
// 默认任务
gulp.task('default', [
  'minify-html'
]);

good idea

HTML minification plugins may help in this. Also, this is not big problem with this line breaks and search engines do not see this. So, no need to do this for now, need to do other great and usable things instead this.


[Bug]: ChatOpenAI Client Defaults to Azure OpenAI for plugins.

Contact Details
No response
What happened?
If using both Azure OpenAI and the OpenAI plugins with a user-provided or key defined as an environment variable, ChatOpenAI will default to using the Azure OpenAI endpoint and the OpenAI plugins won't work. We need to see how we can manage the environment variables when creating the client so that we can support hybrid scenarios.
Steps to Reproduce

Set up Azure OpenAI Keys:

process.env.AZURE_OPENAI_API_KEY;
process.env.AZURE_OPENAI_API_INSTANCE_NAME;
process.env.AZURE_OPENAI_API_DEPLOYMENT_NAME
process.env.AZURE_OPENAI_API_VERSION;

Set up an OPENAI_API_KEY:

process
.
env
.
OPENAI_API_KEY

Observe that requests will go to Azure OpenAI even if a user-provided OPENAI_API_KEY is available in the environment variables.
Now delete the Azure OpenAI environment variables right before creating the ChatOpenAI Client:
PluginsClient.js:175

delete process.env.AZURE_OPENAI_API_KEY;
delete process.env.AZURE_OPENAI_API_INSTANCE_NAME;
delete process.env.AZURE_OPENAI_API_DEPLOYMENT_NAME
delete process.env.AZURE_OPENAI_API_VERSION;

And watch the plugins work when using a valid key.
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

As of 0.5.3, I addressed this issue with the following

Changed AZURE_OPENAI_API_KEY to AZURE_API_KEY:
I had to change the environment variable from AZURE_OPENAI_API_KEY to AZURE_API_KEY, because the former would be read by langchain and cause issues when a user has both Azure and OpenAI keys set. This is a known issue in the langchain library

https://docs.librechat.ai/general_info/breaking_changes.html#v054
Let me know if this addresses the issue.

I do think the env. variable handling is a bit tricky and some work needs to be done to handle using plugins dynamically, with or without env variables set. As of now, you will also need to explicitly define PLUGINS_USE_AZURE=true as well.
This should be a quick fix to update this behavior


cleanup(pubsub): Fix more typos in Pub/Sub header files.

Related: #4860

This change is

Thanks!  In my defense [1]:
https://www.grammarly.com/blog/what-is-the-difference-between-acknowledgement-and-acknowledgment/
[1]: or is that defence? 😁


Fix so it is possible to ignore discovered config entry handlers

Description:
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

This is fine for now. In the future, I want it to be possible for users to "decline" discovered config entries and we won't discover it again.

Sounds good, there is a lot of promise and possibilities with config entries

Fixes #13880


⚠ Bofrost.de has degraded performance

In 1bf12d0, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1697 ms

Resolved: Bofrost.de performance has improved in 031f68f.


add issue translation robot

Codecov Report
Patch coverage has no change and project coverage change: +0.07 :tada:

Comparison is base (34946f6) 79.96% compared to head (6ce5cff) 80.04%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2490      +/-   ##
==========================================
+ Coverage   79.96%   80.04%   +0.07%
==========================================
  Files         598      597       -1
  Lines       49570    49669      +99
==========================================
+ Hits        39641    39756     +115
+ Misses       7984     7961      -23
- Partials     1945     1952       +7

Flag
Coverage Δ

go-1.15-386
79.98% <ø> (-0.05%)
:arrow_down:

go-1.15-amd64
80.02% <ø> (?)

go-1.16-386
?

go-1.16-amd64
?

go-1.17-amd64
80.02% <ø> (?)

go-1.18-386
?

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

Impacted Files
Coverage Δ

net/gtcp/gtcp_pool.go
68.88% <0.00%> (-6.67%)
:arrow_down:

contrib/config/kubecm/kubecm.go

contrib/config/kubecm/kubecm_kube.go

contrib/drivers/oracle/oracle.go
79.45% <0.00%> (ø)

os/gfsnotify/gfsnotify_watcher_loop.go
83.19% <0.00%> (+5.04%)
:arrow_up:

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

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


[FSDE-13060] Create reusable component for accessibility and properties section in new Vue doc

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-293/1/. :white_check_mark:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-293/2/. :white_check_mark:

You can check this PRs instance in https://d019ab8a5ad4844d5522442b61a14460798c5e90-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-293-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-293/3/. :white_check_mark:

You can check this PRs instance in https://71a429f98620c1f2feb4d9518f6f51f98dc8473b-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-293-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-293/4/. :white_check_mark:

You can check this PRs instance in https://319e738ee58e486431fc832fd3d726f69bcadfd1-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-293-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-293/5/. :white_check_mark:

You can check this PRs instance in https://cd341dc9630ff54dfc5e751371a8488e96d0224a-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-293-ux-chi.kubeodc-test.corp.intranet/ (internal)


Error: duplicates in sam-header when running Bowtie2 on full NT

When following up KrakenUniq hits with Bowtie2 on full NT and not on the PathoGenome (default), there is an error originating from duplicate records in the sam-header. One needs to grep the duplicates, clean the header, and replace it in the sam-file. I have the codes that do it, and will push a commit that fixes this issue soon.

Re PR #123 ; now I see what you were doing, should have read this first!

fixed with new commit https://github.com/NBISweden/aMeta/pull/123


[FLINK-32228] Bump testcontainers version

Bump testcontainers version to last one

@MartijnVisser could you check?


Documentation additions to Tag operations

Documentation surrounding modification of tags could use improvement. Specifically:

Caveats around updating tags at the DAO level.
Explaining that updating a tag will not change its version.

Closed by #2174


Pass xccurrentversions explicitly in AppleResourceInfo.unprocessed

Changes in this PR

In _precompiled_apple_resource_bundle explicitly pass .xccurrentversion files to AppleResourceInfo provider in the datamodels attribute
Add a test case to exercise .xccurrentversion being picked up by rules_ios's Xcode project generator (just because this wasn't being exercise before, the previous item is not a prerequisite for this to work in the rules_ios's generator):

Why
This is part of the work to make rules_ios work better with rules_xcodeproj for those using it.
If one's .xcdatamodeld contains more than one version a .xccurrentversion file is used to set the current active one (represented by the ✅ in Xcode). When using rules_xcodeproj because _precompiled_apple_resource_bundle bundles just a .plist and a .bundle .xccurrentversion is not visible to rules_xcodeproj by the time it gets here.
The issue with that is that if one's project contains two Foo.xcdatamodel and Foo 2.xcdatamodel and the .xccurrentversion points to Foo 2.xcdatamodel the generated Xcode project using rules_xcodeproj won't select the correct one and pick Foo.xcdatamodel instead since it couldn't collect the .xccurrentversion file.
This will cause Xcode to mutate the .pbxproj and select Foo.xcdatamodel instea of Foo 2.xcdatamodel on launch causing an undesired non-empty git diff, plus the code itself will use the wrong version when building in Xcode.
While I was here added a test case to exercise the .xccurrentversion file in rules_ios's Xcode project generator, this is just to exemplify how this change is not changing any behaviour but instead just making it easier to integrate with rules_xcodeproj.
FAQ

Why this is not happening in rules_ios's Xcode project generator?

rules_ios's Xcode project generator was intentionally built to work with the rules and and the .xccurrentversion file is collected here.

Why not fix this in rules_xcodeproj instead?

We're collaborating with the rules_xcodeproj maintainers to better integrate rules_ios and when a change is generic enough and applies to common use cases too (pure rules_apple, other custom rule sets, etc) and not only to rules_ios we're prioritizing making the changes in rules_xcodeproj.
I don't think the proposed change in this PR falls in the above category. rules_ios has its own approach for some things and it doesn't make sense to introduce special handling in rules_xcodeproj if it was a decision in rules_ios to diverge from what other rules are doing (e.g. not populating all fields in AppleResourceInfo, including the datamodels attr which is the one I'm updating here to pass the .xccurrentversion file).

I feel like the hacks or near hacks are mounting in the context of LTS, which is unfortunate. It'd be nice to move to a place where we could have "a supported rules_apple/rules_swift/apple_support version" that's pinned to a release, IMO. Perhaps an audit to really understand how much you all have in your LTS/forks would be nice since rules_iOS is inevitably pretty implementation detail dependent on them.

I feel like the hacks or near hacks are mounting in the context of LTS, which is unfortunate. It'd be nice to move to a place where we could have "a supported rules_apple/rules_swift/apple_support version" that's pinned to a release, IMO. Perhaps an audit to really understand how much you all have in your LTS/forks would be nice since rules_iOS is inevitably pretty implementation detail dependent on them.

We've been getting this feedback relatively often and I agree with you. I think it would require some planning and a detailed audit with tasks tracked in an "epic"-like issue. Long term ideally we would not need LTS once we manage to always run on the latest releases.

To be transparent I'm open to follow a diff approach here, keeping it as a draft while I collect feedback from folks

Actually I might have found a way to  .xccurrentversion to datamodels, will run some tests and update this PR.

Pushed a change using datamodels here and updated the PR description to remote the datamodels related topics since that's now resolved.

Is it accurate to say the point of this thread is to make  rules_xcodeproj work with Bazel 5? I updated to Bazel 6.x.x today does it go away?
AFAIK the community still does use rules_ios use the LTS release and Bazel 5.x.x with rules_ios. IME good to align with Bazel's LTS vision - that said if I'm the last user of 5.x.x I'm ok to part ways with it.  On a side note, Bazel 6.x.x is finally looking like a reality, but I have blocking issues for 7 would need LTS support for 6.x.x until I can fix those 🙃

Is it accurate to say the point of this thread is to make rules_xcodeproj work with Bazel 5? If I updated to Bazel 6.x.x today does it go away?

@jerrymarino Not exactly, the fact that .xccurrentversion is not present in AppleResourceInfo => datamodels would also cause issues in Bazel 6. Previously I couldn't find a way to set in datamodels without hitting a build failure in rules_apple. But after the latest commit I shared above I was able to do just that and set it in datamodels so this change now is just passing more info via AppleResourceInfo in the correct way (i.e. data model files set in datamodels attribute) and it has an additional benefit of fixing an issue with rules_xcodeproj I've found (detailed in the PR descr).

Sure, the PR seems reasonable in general if it helps fix that 👍

I might have found a bug here... preping a PR


Create docker images from openzipkin github org

:+1:

Fixed in https://github.com/openzipkin/docker-zipkin/commit/2076a9aed16a9e079198ffa0be0f7a5d2154fe85


Please respect fullnameOverride like all the other helm charts

Bug description
Please respect fullnameOverride like all the other helm charts
Version of Helm and Kubernetes
n/a
Which chart?
nr-bundle and all subcharts

This issue was closed because it has been inactive for a long time despite it can be reopened at any point if you think it still relevant.
Thank you for your contribution!


⚠ Mobitopup has degraded performance

In 20f1bb2, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 7806 ms

Resolved: Mobitopup performance has improved in 4b64985.


Change exiting JavaScript in Webview2

How  to change an existing Javascript in page loaded through WebView2 under .Net Winforms as I need to do some customizations.
The code that I am trying to change it during the runtime is:
`

There are a few things that aren't supported yet, such as document.forms and window.open and window.resizeTo, but I will add those.

I've added the additional functionality to WVWindow, so you can achieve this in .Net now.


Usability testing NVDA (screen reader)

Keynav initial testing:

Tabs can navigate left-right keys (but not up-down). Cannot activate tab w/space/enter
Questions Tree nav, easy to get into a state where arrow keys stop responding? I think this is my computer lagging though.  (try again later)


Add Bind[Vertex/Fragment]SamplerSlices

We're already keeping track of 2D subresources for relevant texture types, so we could add a path to bind slices for samplers instead of the entire texture. This would be useful for clients and simplify the Blit source path a lot.
There might be a better name for this function.

Is this affected by #179?

Yeah we can close this now.


x1136 support qPCR results via OpWithSlotMeasurementsRequest

Also refactored the service a bit re later added features.
For #332

merged to devel


RI from s65

Some conflicts, mostly Generated stuff.

@davidkwoods,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Reminder to self: Don't squash the merge.


MegaService yaml to docker compose and K8S

script of MegaService yaml to docker compose and K8S

https://github.com/opea-project/GenAIComps/pull/634

PR:
https://github.com/opea-project/GenAIComps/pull/642
https://github.com/opea-project/GenAIComps/pull/634

new PR: https://github.com/opea-project/GenAIComps/pull/813

PR https://github.com/opea-project/GenAIComps/pull/813 merged, close this issue.


Storage: update priority class

Short description:
Update PriorityClass
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/lgtm

/verified

/lgtm


Version 2.0.5

Landed in https://github.com/metarhia/impress/commit/aa93da060731f72230b5857ba1751ca4dd662aea


Manually set bid price

Is it possible to manually set the prices in the AB? I always have trouble with the automatic prices.
Thanks

See #55 for updates and progress on this.


Remove Server?

I installed on my Mac, lost the Admin access, how do I remove it so i can reinstall?

Hi, you can delete the database file at ~/Library/Application Support/Karaoke Forever Server/database.sqlite3 and then restart the server, and it will be back to a fresh install.
If you want to keep the existing database, another option is to create a new user account, then flip that user's isAdmin column to 1 using a sqlite database editor (there are a few freely available ones out there). Then restart the server so it picks up that change.
Hope that helps!


Support sourceless packages

What feature request would you like to suggest?
Sometimes, packages are just bundles of external packages. For example, a pyproject.toml with just dev dependencies created to manage CI tooling not even targeting Python. These don't need a source code directory. Currently, Creosote requires a source directory, has a default of src/ and crashes if it doesn't exist.
I propose that Creosote warns if src/ doesn't exist, but doesn't crash and provides a zero exit status, possibly behind a configuration option if the fault is desired in the common case.
Will the feature request break backwards compatibility?
No.

Hi @sanmai-NL,
I'm not sure I understand this suggestion entirely.
If you don't have a src folder on your end, you need to explicitly specify where Creosote can find your source code. This is also true for other input parameters that Creosote need to work properly, such as the path to e.g. the pyproject.toml. It doesn't make sense to run Creosote on projects where there is no source code.
Can you elaborate a bit here on your use case, because I don't quite understand it.
It sounds like you'd like to run Creosote on a project with only dev-dependencies, without source code, and want to just see redundant warnings as a result. In which way does it even make sense to run Creosote here in the first place?

... possibly behind a configuration option if the fault is desired in the common case.

A configuration option could perhaps be introduced to do what you need, but this all sounds like an extreme edge case so I don't think it's something we should make the default. Please feel free to open a PR.

[!NOTE]
Creosote checks which dependencies you have defined against your source code. Then it figures out if the source code isn't using those dependencies and warns you about potentially unused dependencies.
In this sense, Creosote needs the source code to do its job. If you remove the source code as a required input, you're essentially going to have all dependencies reported as potentially unused.

@fredrikaverpil

Hi @sanmai-NL,
I'm not sure I understand this suggestion entirely.
If you don't have a src folder on your end, you need to explicitly specify where Creosote can find your source code. This is also true for other input parameters that Creosote need to work properly, such as the path to e.g. the pyproject.toml. It doesn't make sense to run Creosote on projects where there is no source code.
Can you elaborate a bit here on your use case, because I don't quite understand it.
It sounds like you'd like to run Creosote on a project with only dev-dependencies, without source code, and want to just see redundant warnings as a result. In which way does it even make sense to run Creosote here in the first place?

I don't entirely control when Creosote is run, this is part of a CI pipeline that triggers when a pyproject.toml exists. I can't test for non-existence of a directory (since those aren't tracked by Git), not in a cross-platform way without introducing a wrapper script.
I agree it's an edge case, but I want to focus on the following point. I propose that Creosote warns if src/ doesn't exist, but doesn't crash and provides a zero exit status, possibly behind a configuration option if the fault is desired in the common case. If an src/ or more generally a target code base doesn't exist, running Creosote may be redundant, but it's not a fault. Creosote can cut short to: no duplicate dependencies found. Currently, an unhandled exception is raised, which is not ideal in any case. It could be caught and turned into a warning.

You are welcome to open a PR where you add a non-default feature (--use-feature <feature>) along with tests for this behavior.


Handle re-creating the existing app

This PR will close #199.
I implement two things.

Add the param replace to handle the case where trying to re-create an existing app.
Update createApp() test and make subscribe() test

Suprisignly, we haven't tested for subscribe(), thus the coverage wasn't 100%.
I tried to implement it, but encountered a minor problem.
I should handle the case where the app tries to subscribe a channel already subscribed to.
But, I think there is no way to distinguish two cases (line 316 and 318), because we cannot mock set.add().
Can I test two cases with mocking logger?

If you want to test both cases, you can mock the self.qiwis._subscribers dictionary.

It has a problem!
At the beginning of subscribe(), it checks if app in self._subscribers[channel] so that it shouldn't be mocked.
Another considerable solution is mocking self.qiwis._subscribers[channel].add function but it is blocked in Python.

If you want to test both cases, you can mock the self.qiwis._subscribers dictionary.

It has a problem! At the beginning of subscribe(), it checks if app in self._subscribers[channel] so that it shouldn't be mocked.

Oh, I was talking about mock.patch.dict(self.qiwis._subscribers, {"ch": mock.MagicMock()}) or something like that.

If you want to test both cases, you can mock the self.qiwis._subscribers dictionary.

It has a problem! At the beginning of subscribe(), it checks if app in self._subscribers[channel] so that it shouldn't be mocked.

Oh, I was talking about mock.patch.dict(self.qiwis._subscribers, {"ch": set()}) or something like that.

I'm sorry now I get it. I will think about it.

If you want to test both cases, you can mock the self.qiwis._subscribers dictionary.

It has a problem! At the beginning of subscribe(), it checks if app in self._subscribers[channel] so that it shouldn't be mocked. Another considerable solution is mocking self.qiwis._subscribers[channel].add function but it is blocked in Python.

How about exploiting the magic methods (note that MagicMock is Mock with magic methods implemented)?
For example,
m = mock.MagicMock()
m.__contains__.side_effect = ("a", "b").__contains__

Then "a" in m returns True, "c" in m returns False, and all the mocked calls are recorded as well.

Thanks for suggesting a solution😂
First, I solved the problem in my own way and please review it.

Please check the updated parts! @kangz12345


Option to turn off blockquote max length

Please provide an option to turn off blockquote max length as breaks the quote into 2 lines unnecessarily.

I removed the legacy code that was breaking blockquotes up into smaller lines. So this should work better now


Proof of concept: Refactoring UserListView an NodeListView to use django-filter [OSF-7962] [OSF-8090]

Note:
This is no longer an actual PR that would be merged, rather a proof of concept. Main focus is document linked on below JIRA ticket!
Purpose
Investigate using the DjangoFilterBackend for APIv2. This is just a proof-of-concept, not necessarily for merging, but just for reviewing and seeing what sorts of modifications using the 3rd party DjangoFilterBackend could entail.
Changes

Use DjangoFilterBackend for the UserList view and NodeList views
Create JSONAPIFilterSet using some of the same filter param logic to break down filter syntax
Custom filter properties that will filter with OR queries for two different fields when using filter syntax such as /?filter[given_name,family_name]=Doe
Also add OR functionality with one field, such as /?filter[family_name]=Jane,Dog
UserFilterSet and NodeFilterSet that facilitate filtering on node and user fields, consistent with what we have in the API currently

Side effects
No real ones at the moment,  since it's only a proof of concept!
Other thoughts
A lot of messing around with standard functionality seemed to be needed to be done for our filter syntax to work properly with variable OR filters (see changes above). I'm not sure how well the built in solutions will work given the modifications we've done to get these things to work, but it could be alright! Just not sure if we'd need to alter the basics so much that we lose the benefits of using a maintained 3rd party library.
Ticket
https://openscience.atlassian.net/browse/OSF-7962
https://openscience.atlassian.net/browse/OSF-8090

Closing. See https://openscience.atlassian.net/browse/PLAT-492 for our analysis