changed dependency to new bio.io GitHub version. Alternatively publis…

Alternatively publish bio.io patch to npm and update version number. Works with the example provided in the GitHub issue (and should also do with all others).

Thanks a lot @bene200.
Could you just append the according git commit hash, so that it doesn't break in the future?
See eg this for more infos
http://stackoverflow.com/questions/14187956/npm-install-from-git-in-a-specific-version
(second answer with #)

Thanks! Going live :)


rcaaqs R package enhancements

Background
Environmental Reporting BC provides access to scientific data and information about our environment and how it relates to British Columbians. This information comes in the form of indicators that examine the state and trends of different aspects of our environment.
Environmental Reporting BC follows the Canadian Council of Ministers of the Environment (CCME) Air Quality Management System for reporting on air quality in B.C.
Story
As an analyst with Environmental Reporting BC, I need some enhancements completed to the R package rcaaqs to facilitate calculating the Canadian Ambient Air Quality Standard (CAAQS) metric values for implementing the CCME Air Quality Management System.
How to contribute
We are offering this issue as a paid opportunity through the BCDevExchange experimental procurement model, Code-with-Us.
To work on this issue, we are accepting proposals until 3:00 PM Pacific Standard Time (PST) on Friday, November 18th, 2016. After that time, we will evaluate the proposals we have received, and assign the work to one person by end of the day Monday, November 21st.  How assignment works
What to include in your proposal
We will evaluate and score proposals by the following criteria:

The date by which you can complete the issue (10 points).
A short (around 200 words or less would be nice) summary of your proposed approach (40 points).
References to your relevant experience and demonstrated ability to do the work (50 points). For example, a link to your GitHub projects.
To qualify for assignment your proposal must meet a minimum score of 80 points out of 100 (Mandatory).
With your proposal, you must attach a copy of the Code-with-Us Terms, with the required information asked for in the "Acceptance" section of the Terms inserted into the document (Mandatory).

The highest scoring proposal will get the assignment.
How to submit your proposal
Please submit your proposal to<EMAIL_ADDRESS>by 3:00 PM Pacific Standard Time (PST) on Friday, November 18th, 2016.  Please put "rcaaqs enhancements for Environmental Reporting BC" in the subject line.
Acceptance Criteria
To be paid for this opportunity we need you to:

Ensure rcaaqs includes functions for calculating the:
i. CAAQS metric for Ozone (close Issue #2)
ii. Metrics for SO2 (close Issue #11)
iii. Metrics for NO2 (close Issue #12)
*Note that functionality for the CAAQS metric for PM2.5 is already implemented and should be a good starting point for the above. See the README for a simple example.

For each of the above, ensure that the steps include functions for:
i. Calculating data completeness according to documentation, accounting for exceptions where indicated.
ii. Calculating daily values according to documentation.
iii. Calculating annual values from daily values according to documentation.
iv. Calculating a three-year metric from annual values according to documentation.

Ensure that the functionality for evaluating the data completeness criteria for PM2.5 is enhanced to deal with exceptions (close Issue #13).

Ensure rcaaqs includes functions for excluding data influenced by Transboundary Flows & Exceptional Events and calculating the revised metric value (close Issue #5).

Ensure functions are small, testable, and reusable, following the DRY (do not repeat yourself) principle. As there is significant overlap in methodology for fine particulate matter (PM2.5), ground-level ozone (O3), sulphur dioxide (SO2), and nitrogen dioxide (NO2), core functions should be reused in the calculation steps for these parameters wherever possible.

Ensure all exported functions have clear and comprehensive documentation. Using the 'Roxygen' package to generate documentation is encouraged.

Ensure all functions have good unit tests written (preferably using the 'testthat' package) to ensure correct calculations.

Ensure that upon completion, the rcaaqs package passes all continuous integration builds using Travis CI (already implemented).

Ensure that all code is original code written by the assignee, with the exception of functions from other R packages included as dependencies. If it is necessary to include third-party code, ensure that the code is released under an open-source license that is compatible with the Apache 2.0 license, and its source and original license is explicitly documented.

If you are assigned the opportunity, be sure to submit your completed enhancements a few days before the completion date to give us time to review. It is likely we may ask you for a round of changes and you will want to have the time to complete any changes before the agreed deadline.
How payment works
Questions, Comments, Suggestions?
Please post your questions in the comments section below.

Hi folks -- myself and @ateucher are the Opportunity Contacts for this Issue. Please post any questions you have here and we'll do our best to respond promptly.

Can foreign developers participate?

@Iselzer Any developer can respond to an opportunity, there are no restrictions based on geographical location. All respondents will be subject to the same evaluation and success criteria.

I have updated the repository README file with a simple example of the current functionality as implemented for PM2.5. Thanks @daattali for the suggestion.

Hello Subscribers: Just a friendly reminder to submit your proposal before 12:00 PM PST today. Thanks for your interest!

Thanks to everyone who provided feedback on our first Code-with-Us experiment. We have heard excitement from the R community about Code-with-Us, and also that the initial timeline for closing the issue was ambitious.
Based on this feedback, we have decided to re-open the paid opportunity, asking that you provide the date by which you can complete the issue. The updated opportunity will be open until 3:00 PM Pacific Standard Time (PST) on Friday, November 18th, 2016. The issue has been edited to reflect the updated proposal criteria and submission timeline. Please feel free to provide any further feedback on this issue or Code-with-Us below, or you can email me at the address on my profile.

Just a friendly reminder that proposals for this Code-with-Us opportunity are due this Friday, November 18th by 3PM Pacific Standard Time. Please e-mail proposals to<EMAIL_ADDRESS>and feel free to ask questions or provide feedback.

Hi folks. There was a request for clarification on Issue #13 -- closing Issue #13 is part of the acceptance criteria for this Code-With-Us opportunity. I have edited Issue #13 to try and make the requested enhancement more clear for everyone. Please feel free to ask further questions on any of the acceptance criteria.

Hello Subscribers: Just a friendly reminder to submit your proposal before 3PM PST (Pacific Standard Time) today. Thanks for your interest!

Thanks everyone who submitted a proposal. The proposal period is now closed. @ateucher and I will be reviewing them and will let you know by end of day Monday who is assigned.

Thank you to everyone who submitted a proposal for our rcaaqs R package enhancements Code-with-Us opportunity. Based on the proposal evaluation criteria, @nograpes scored the highest, so we’re assigning him to work on this issue until December 5th.
To others who submitted a proposal, please feel free to contact me if you would like feedback on your proposal or you have comments or feedback on the Code-with-Us experiment.

Congrats @nograpes!

Hi @nograpes. I just merged #16, so you'll probably want to update your fork. Also, just a quick suggestion - I often find a nice way to work on a feature/enahncement is to open a pull request early and mark it as "Not ready for merge". Then as you push to your branch the changes show up in the pull request and it is easy to comment on the changes.

Thanks for the heads up, I'll do that later on tonight.

The pull request by @nograpes (#17) satisfies the acceptance criteria for this Code With Us opportunity as of commit https://github.com/bcgov/rcaaqs/pull/17/commits/6fabf602e963ab536f13f967a4f8105474f19222. There are two very small changes pending (adding a test and fixing one small bug) before we merge.

Thanks for the great work @nograpes. Your Pull Request (#17) has been merged!


[Feature Request] Open Explorer

When clicking on transaction open blockchain explorer.

I would not want to enable this for two reasons:

this adds a reliance on a centralized service while the idea is to have none or at least minimize this kind of dependencies (currently the only centralized dependency is fiat rates providers).

this makes it easy for users to dox themselves: explorer may track IPs which check specific transactions and group them, thus revealing user transaction history.


Fix INIT_YAML embeddings default settings

Description
There's a small issue with the default settings.yaml when initializing the workspace. In the embeddings configuration, batch_size and batch_max_tokens should not be part of  llm, causing them to always use their default values.
Checklist

[ ] I have tested these changes locally.
[ ] I have reviewed the code changes.
[ ] I have updated the documentation (if necessary).
[ ] I have added appropriate unit tests (if applicable).

@microsoft-github-policy-service agree


Add Existing Dev Donation/Patreon Pages To The "Donations" Section

We have a donations section, some people do wish to donate, and to my knowledge both rubenwardy and paramat have Patreon pages. It only seems fitting to pad out this section with that information.

Any updates for this? After the discussion on https://www.reddit.com/r/opensource/comments/rrzg6g/italian_linux_society_donated_9000_to_foss/hqjrcit/?context=3 I think that is important that this page is improved to avoid this confusion.

I came to write an issue about this but low and behold, there it is already. This is a complex situation and I'm not a good storyteller, but I'll try to describe it.
Minetest does not have a non-profit organization. The reason is, I don't like running such organizations, making someone else to run such a thing would cost more than the value of donations usually is, and due to attacks towards community members by a hostile party, most members including me want to stay as anonymous as possible. It is not possible to set up a non-profit organization without releasing a lot of personal information, handily being available for doxxing, fake accusations to your employer and whatnot. The stuff that would happen is literally terrifying. For this reason, we can only accept donations personally.
Currently, I am the only person mentioned on the donation section. I trust the core team to speak up to me if they are not happy with the situation, and it has not happened. I make it clear what I use donations for, and so far donations have never exceeded what is reasonable for those uses. Again, I trust the core team to raise the topic towards me when necessary, which has not happened.
We have a team that specializes in administrative tasks called the Minetest Staff which was formed years ago organically from forum moderators, those hosting official-ish servers and doing administrative tasks. (if you do "Staff stuff" and aren't invited to the IRC channel, /msg me) The linux.it donation was discussed there yesterday. Present was sfan5, rubenwardy and myself, and we agreed for now I will allocate it towards long term hosting expenses (just like is stated on the donation page and on my liberapay page), and if more such donations pop up it will be discussed again.
Many core devs do not want to be mentioned on the donations section. I discussed this rubenwardy and sfan5. Their respective statements were "My patreon covers all my Minetest costs already" and "[would I like to be mentioned on minetest.net] as people to donate to? not really".
Thus I propose two alternative solutions:

We keep it as it is, just adding a link to this issue. People donating can view this issue, which explains the situation and has public comments from the core team that are in agreement.

We add a list of those core team members who would like to receive donations, with each having a description of what their use case for donations is, and a link where to donate. And of course link this issue.

Thus, I would like the core team and staff to either agree with the current donation section, or to request themselves to be added, listing the required information for the addition.

<Krock> I can provide my two cents, but it won't help any further. I do not care about donations.

:point_up:

Personally, donations aren't a big deal to me one way or another.  I appreciate anyone who would want to donate money to me for my development work, but it's not really a motivating factor for me, so I've never taken the trouble to find a donation platform and set up an account.  I think I trust c55 enough when he says that donations just go to hosting costs and nothing else really.

Happy with (1)
I work on this for the fun of writing some code, I'd prefer not be mentioned as possible recipient of donations.

Happy with (1)
I work on this for the fun of writing some code, I'd prefer not be mentioned as possible recipient of donations.


1803 File Explorer is reset

1709 File Explorer is normal，but 1803 File Explorer ico  is reset
1803 An error occurred, I mean File Explorer was configured, but File Explorer was reset and the location was moved to the front.
https://docs.microsoft.com/en-us/windows/configuration/configure-windows-10-taskbar

defaultlayout:TaskbarLayout
taskbar:TaskbarPinList
<taskbar:UWA AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" />
<taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" />
</taskbar:TaskbarPinList>
</defaultlayout:TaskbarLayout>

@kaweizz I'm sorry, I don't understand exactly what problem you're seeing, could you give me more details?

Closing for now until more details are provided.


Typo "Azure Cognitive services"→"Azure Cognitive Services"

https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/networking/party-unreal-engine-oss-overview
https://github.com/MicrosoftDocs/playfab-docs/blob/docs/playfab-docs/features/multiplayer/networking/party-unreal-engine-oss-overview.md
#PingMSFTDocs

Thank you @hyoshioka0128 for making the changes and submitting a PR.


patch file to change provisional profile from dev to adhoc is throwing errors in Fastlane output

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Currently I have a beta_testflight lane, which looks like this:
desc "Submits a new Beta Build to Apple TestFlight"
	lane :beta_testflight do
    	# cocoapods
    	adhoc_cert
    	store_cert
    	increment_build_number
    	sh "cd .. && git apply adhoc.patch"
    	gym(clean: true)
    	pilot(app_identifier: "com.xxxx.xxxxxxxxxxxxxxxxxxxxxxx")
    	sh "cd .. && git apply -R adhoc.patch"
  	end

When I invoke the lane, the sh "cd .. && git apply adhoc.patch" part  is not working (throwing errors). This part is basically meant to switch the provisional profile from development to adhoc for you so you don't have to go into xcode general settings and do it manually. This is so to enable gym to create the correct build for testing (using the correct (adhoc) profile). This line/command is basically applying a patch file, which I created, which contains the Git diff text created as a result of switching from development to adhoc provisional profile in xcode. Hence it's applied automatically and you don't have to change the provisional profile manually.
Here's the output I get in Fastlane:

[[17:04:08]: --------------------------------------------
[17:04:08]: --- Step: cd .. && git apply adhoc.patch ---
[17:04:08]: --------------------------------------------
[17:04:08]: $ cd .. && git apply adhoc.patch
[17:04:08]: ▸ error: corrupt patch at line 24
[17:04:08]: An error occurred while executing the `error` block:
[17:04:08]: undefined method `error_info' for #
+------------------------------------+---------------------------------------------------------------+
|                                            Lane Context                                            |
+------------------------------------+---------------------------------------------------------------+
| DEFAULT_PLATFORM                   | ios                                                           |
| PLATFORM_NAME                      | ios                                                           |
| LANE_NAME                          | ios beta_testflight                                           |
| SIGH_PROFILE_TYPE                  | app-store                                                     |
| MATCH_PROVISIONING_PROFILE_MAPPING | {"com.xxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxx"=>"match AppStore  |
|                                    | com.xxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxx"}                    |
| BUILD_NUMBER                       | 23                                                            |
+------------------------------------+---------------------------------------------------------------+
[17:04:08]: Exit status of command 'cd .. && git apply adhoc.patch' was 128 instead of 0.
error: corrupt patch at line 24
+------+--------------------------------+-------------+
|                  fastlane summary                   |
+------+--------------------------------+-------------+
| Step | Action                         | Time (in s) |
+------+--------------------------------+-------------+
| 1    | default_platform               | 0           |
| 2    | Switch to ios adhoc_cert lane  | 0           |
| 3    | match                          | 5           |
| 4    | Switch to ios store_cert lane  | 0           |
| 5    | match                          | 6           |
| 6    | increment_build_number         | 1           |
| 💥   | cd .. && git apply adhoc.patch | 0           |
+------+--------------------------------+-------------+
[17:04:08]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
➡  Adds more options to the slack command
https://github.com/fastlane/fastlane/pull/128 [closed] 3 💬
04 Feb 2017
➡  Added hipchat messaging support
https://github.com/fastlane/fastlane/pull/24 [closed] 6 💬
04 Feb 2017
🔗  You can ⌘ + double-click on links to open them directly in your browser.
/Users/harethnaji/.rvm/gems/ruby-2.4.0/gems/fastlane-2.84.0/fastlane_core/lib/fastlane_core/ui/interface.rb:145:in `shell_error!': [!] Exit status of command 'cd .. && git apply adhoc.patch' was 128 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
error: corrupt patch at line 24
]

And this is the content of the patch file (the file name is adhoc.patch:
diff --git a/mZone Poker.xcodeproj/project.pbxproj b/mZone Poker.xcodeproj/project.pbxproj
index b350605..15ed78a 100644
--- a/mZone Poker.xcodeproj/project.pbxproj
+++ b/mZone Poker.xcodeproj/project.pbxproj
@@ -452,7 +452,7 @@
                        buildSettings = {
                                ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
                                CODE_SIGN_IDENTITY = "iPhone Distribution";
-                               "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+                               "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
                                CODE_SIGN_STYLE = Manual;
                                CURRENT_PROJECT_VERSION = 21;
                                DEVELOPMENT_TEAM = xxxxxxxx;
@@ -465,8 +465,8 @@
                                LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
                                PRODUCT_BUNDLE_IDENTIFIER = "com.xxxxxxxxxxxxxxxxxxxxx";
                                PRODUCT_NAME = "$(TARGET_NAME)";
-                               PROVISIONING_PROFILE = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
-                               PROVISIONING_PROFILE_SPECIFIER = "match Development com.xxxxxxxxxxxxxxxxxxxxxxx";
+                               PROVISIONING_PROFILE = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
+                               PROVISIONING_PROFILE_SPECIFIER = "match AdHoc com.xxxxxxxxxxxxxxxxxxxxxx";
                                SWIFT_VERSION = 4.0;
                                VERSIONING_SYSTEM = "Apple Generic";
                        };

By the way, I picked up on this approach from a developer called Jag Cesar from his video tutorial fastfile demo: https://www.youtube.com/watch?v=fxLgEtk-ALA&t=639s (skip to 09:20 in the video for this particular part), if it's of any help.
Environment

[✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.2

Ruby
2.4.0

Bundler?
true

Git
git version 2.14.3 (Apple Git-98)

Installation Source
~/.rvm/gems/ruby-2.4.0/bin/fastlane

Host
Mac OS X 10.13.2 (17C88)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.4.0/lib

OpenSSL Version
OpenSSL 1.1.0f  25 May 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

]

@hazzaldo Does git apply adhoc.patch work when run by itself outside of fastlane in the CLI? It looks like the git command is returning an error because of an invalid patch Exit status of command 'cd .. && git apply adhoc.patch' was 128 instead of 0. error: corrupt patch at line 24
I have no idea if this will work but maybe try...
Bundler.with_clean_env do
  sh "cd.. && git apply adhoc.patch"
end

If this doesn't work I don't think we can offer much help here since this is a pretty custom setup where it looks like the git patch you are applying is causing the issue - not anything fastlane related 😇  But hopefully we can get this working for you!

Hi @joshdholtz , thanks for the response and suggestion :)
So the corrupt patch at line 24 is no longer showing when I added \ No newline at end of file at the end of the patch file. However, now when I run git apply adhoc.patch I get a different output error:
error: mZone Poker.xcodeproj/project.pbxproj     : No such file or directory

When I navigated to that directory, the file does exist. So I don't know why it's saying no such file or directory!!!

@hazzaldo It sounds like something is still wonky with the patch and where (the directory) the command is being execute from? The space in the file name might be an issue? I don't think I can be too much help since this is more of a custom implementation than something built and supported by fastlane 🙃

No problem. Thanks for your suggestions in any case :)

Anytime! Have fun fastlaning 🚀


Write query to host terminal if running inside screen

See #16

Todo:

[ ] I'm not particularly happy with write_to_host_terminal, maybe ask @janhohenheim if he has an idea?
[ ] Maybe document terminal quirks in lib docs
[ ] Test what happens when no client is attached to screen


CLOUD-1311: Update DecisionServer63 templates to use 1.4 image

CLOUD-1311: Update DecisionServer63 templates to use 1.4 image
https://issues.jboss.org/browse/CLOUD-1311

merged


wast: likely-confusing unicode character found '\u{202e}'

I just updated the wast dependency from 38.0.1 to 39.0.0 for the wasim interpreter which causes the names.wast Wasm spec test to start failing with the message:
thread 'spec::v1::wasm_names' panicked at 'failed to create ParseBuffer for tests/spec/testsuite-v1/names.wast: likely-confusing unicode character found '\u{202e}'
     --> <anon>:112:22
      |
  112 |   (func (export "￯  ") (result i32) (i32.const 40))
      |                      ^', tests/spec/v1/run.rs:24:23

We use the Wasm spec test suite from commit 0e7987e.
I think this bug might have to do with a recent optimization for Wast because it changed some unicode handling code:
https://github.com/bytecodealliance/wasm-tools/pull/389
(just a guess though)

This is working as intended, and for the spec tests you'll need to configure lexer.allow_confusing_unicode to allow this.

Thanks a lot for the answer! I will try this out.


Doc updates for roadmap and Jira Server install docs

The Jira Server install docs is how this is currently implemented, but we'll likely update this prior to the release.

@jfrerich Good feedback, updated PR


dockerized application

Hey there,
thank you very much for your handy web application, it helped me a lot with my android car head unit.
I don't wanted to install it directly on my machine so i created a dockerfile and a docker compose file for my personal use.
I added a docker compose file as well, because i prefer using docker compose and it makes it easier to us in my opinion.
Regard's
Phil

@pjope thank you!


Error: getting an id not defined in api-helpers when creating a case

Looks like there may be some breaking changes in the updated dependencies for this sample project.
I'm unable to create a new case with console returning an error found in api-helpers.js. Looks like caseDocId is not being defined.
I rolled back the package.json changes made and it started working again. Perhaps a breaking change in redux-promise?

Hello, I'm having trouble reproducing your issue with the information given. Can you let me know what version of Node you're on as well as the full error output you're experiencing? This will help me further diagnose the issue.


Request for C++/CLI intellisence

Once I  want to code a tool for .net I found that I have few supports.Intellisence doesn't recognise the code concerning CLR.
//a.cpp
\#using<system.dll>
using namespace System;
int main(void){
    Console::WriteLine("Hello World");
    return 0;
}

This code surely passes the compilation with cl a.cpp /clr ,but I got these Intellisence errors:
name followed by '::' must be a class or namespace name
"#using" requires C++/CLI mode

I think it it because intellisence can't find a file declaring these namespaces and function.So I build a header.
//tips.h
namespace System{
class Console final{
public:
	static void WriteLine(...);
	static void Write(...);
private:
};
}//namespace System

However, this will trigger a redefination error at compile time.
system.h(4): error C2011: redefination of “System::Console”:“class”

Is there a way to get tips and Intellisence check without coming into compile time errors? Can this problem be solved by extra features? or by manually making headers?,or other snippet options? I wish there is a method.

/extC++


Repeated RTL

When Lost RC signal. It will go into RTL. But when it touched land, It will detect takeoff. and go into RTL again.
`bool set_nav_state(struct vehicle_status_s *status, const bool data_link_loss_enabled, const bool mission_finished,
const bool stay_in_failsafe)
{
navigation_state_t nav_state_old = status->nav_state;
bool armed = (status->arming_state == vehicle_status_s::ARMING_STATE_ARMED || status->arming_state == vehicle_status_s::ARMING_STATE_ARMED_ERROR);
status->failsafe = false;

/* evaluate main state to decide in normal (non-failsafe) mode */
switch (status->main_state) {
case vehicle_status_s::MAIN_STATE_ACRO:
	/* require RC for all manual modes */
	if ((status->rc_signal_lost || status->rc_signal_lost_cmd) && armed &&  !landed) {
		status->failsafe = true;

		if (status->condition_global_position_valid && status->condition_home_position_valid) {
			if (status->nav_state == vehicle_status_s::NAVIGATION_STATE_AUTO_RCRECOVER
					&& stay_in_failsafe) {
				status->rc_loss_finished = true;
			}
			if (!status->rc_loss_finished) {
				status->nav_state = vehicle_status_s::NAVIGATION_STATE_AUTO_RCRECOVER;
			} else {
				status->nav_state = vehicle_status_s::NAVIGATION_STATE_AUTO_RTL;
			}
		} else if (status->condition_local_position_valid) {
			status->nav_state = vehicle_status_s::NAVIGATION_STATE_LAND;
		} else if (status->condition_local_altitude_valid) {
			status->nav_state = vehicle_status_s::NAVIGATION_STATE_DESCEND;
		} else {
			status->nav_state = vehicle_status_s::NAVIGATION_STATE_TERMINATION;
		}

	} else {
		switch (status->main_state) {
		case vehicle_status_s::MAIN_STATE_ACRO:
			status->nav_state = vehicle_status_s::NAVIGATION_STATE_ACRO;
			break;

`
I think there is something wrong in lost signal condition "!landed". Because in RTL. When touched the land It is still uncompleted. But it will change to other navigator_mode. So I suggest Delete that condition.

Thanks for reporting. Is this easily reproducible in SITL or how did you find this?

I test it with my plane. I just shutdown my rc controller, but it just repeated rtl. YES, I think you can reproducible in SITL.

@ender-chen: can you share logs please and watch out for messages like "Takeoff detected" or "land detected" in QGC?
I would guess that the problem is that landing is not detected (yet) in which case RTL is triggered.

OK, Tomorrow I will test it again. I think I have lost logs.

Fixed in #4559.


Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.2.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: b3751bca8c4a3c76107d5aa3b75b81db93cf4bb6
Last commit: 6 days ago
Core tap HEAD: 64c44e53f7fe5b7ad3f53ab95c66717bfb1b6568
Core tap last commit: 13 minutes ago
Core tap JSON: 14 Jan 00:37 UTC
Core cask tap HEAD: a8cc7609596033a0a754ca67fe8af010a7559655
Core cask tap last commit: 3 hours ago
Core cask tap JSON: 14 Jan 00:37 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.EtQzHXV2QG/org.macports:0
HOMEBREW_EDITOR: /opt/local/bin/nano
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 24
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 24-core 64-bit arm_blizzard_avalanche
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.2.1-arm64
CLT: <IP_ADDRESS>.1.1700200546
Xcode: 15.2
Rosetta 2: false

What were you trying to do (and why)?
Use auto completion for brew command
What happened (include all command output)?
It does not complete verbs like install and uninstall. If I type brew and hit tab twice, it lists stuff in the current directory.
If I type brew install and then tab, it lists formulae and casks just fine.
What did you expect to happen?
It lists verbs
Step-by-step reproduction instructions (by running brew commands)
Open a bash shell with bash completion setup
Source /opt/homebrew/etc/bash_completion.d/brew
Type brew
Hit tab a few times

Are you eval'ing brew shellenv in your config file? Or at least setting those environment variables ?
I can't reproduce this as long as I have HOMEBREW_REPOSITORY set (unsetting that will reproduce this). There are parts of brew's bash completion script that expect these variables to be set:
https://github.com/Homebrew/brew/blob/302e83e9aaa0a3a4c0644f43a0302a582128ed1f/completions/bash/brew#L109-L111

Are you eval'ing brew shellenv in your config file? Or at least setting those environment variables (e.g. HOMEBREW_REPOSITORY, HOMEBREW_CELLAR, HOMEBREW_PREFIX)?
I can't reproduce this as long as I have HOMEBREW_REPOSITORY set (unsetting that can reproduce this). There are parts of brew's bash completion script that expect these variables to be set:
https://github.com/Homebrew/brew/blob/302e83e9aaa0a3a4c0644f43a0302a582128ed1f/completions/bash/brew#L109-L111

I was not, I simply added the two bin dirs to my PATH. Auto completion stopped working a few months ago I believe, so I didn't know this variable is now required. Thanks.


Merge remote-tracking branch 'origin/main' into main-sca

In order to write the pre-push / pre-receive command for SCA we need to get what was done recently for IaC

FYI @gg-jonathangriffe, I think you will have some conflicts with your CI branch

Codecov Report

Merging #644 (2f8fc7d) into main-sca (1c2ac57) will increase coverage by 0.05%.
The diff coverage is 93.15%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff              @@
##           main-sca     #644      +/-   ##
============================================
+ Coverage     93.52%   93.57%   +0.05%
============================================
  Files           117      118       +1
  Lines          5249     5275      +26
============================================
+ Hits           4909     4936      +27
+ Misses          340      339       -1

Flag
Coverage Δ

unittests
93.57% <93.15%> (+0.05%)
:arrow_up:

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

Impacted Files
Coverage Δ

ggshield/cmd/iac/scan/diff.py
79.68% <ø> (ø)

ggshield/cmd/iac/scan/iac_scan_common_options.py
100.00% <ø> (ø)

ggshield/cmd/iac/scan/prereceive.py
68.42% <ø> (ø)

ggshield/core/git_shell.py
92.66% <ø> (ø)

ggshield/cmd/iac/scan/precommit.py
60.86% <25.00%> (-7.56%)
:arrow_down:

ggshield/cmd/main.py
87.80% <71.42%> (-1.53%)
:arrow_down:

ggshield/cmd/iac/scan/prepush.py
100.00% <100.00%> (+31.57%)
:arrow_up:

ggshield/cmd/secret/scan/prepush.py
96.00% <100.00%> (-1.68%)
:arrow_down:

ggshield/core/git_hooks/prepush.py
100.00% <100.00%> (ø)

will be done in another branch


Support custom table of contents: PDF

Follow on from https://github.com/metanorma/metanorma-bipm/issues/148
We are realising the idiosyncratic table of contents of Appendix 1 in the BIPM brochure as a native Table of Contents. To that end, I have introduced a new <toc> tag in Metanorma XML. Its contents are an unordered list, potentially nested, of section titles, as xrefs.
To realise this in PDF, you can assume that all xrefs within a toc tag should be realised as page references, um, looking like a ToC does.
I will generate and send to you XML for the BIPM brochure to work from. This is not immediate priority, since BIPM are currently on holidays, but it should be done within the month.

have not implemented what the Brochure has now, an idiosyncratic manually authored list of values

I have confirmed with BIPM that they require the TOC titles for resolutions to "differ" from the real titles after a lengthy discussion.
An alternative to consider: a "TOC title" for sections?

Yeah, I'll come up with something. We still need the functionality I've implemented though

Good point @opoudjis , I did not realize that there were two descriptive columns.
Now that makes me think — is that a TOC or an Index?

@opoudjis  I can render this structure as ToC:
<toc>

			<xref target='clause1A'>Clause 1A</xref>

					<xref target='clause1Aa'>Clause 1Aa</xref>

					<xref target='clause1Ab'>Clause 1Ab</xref>

			<xref target='clause1B'>Clause 1B</xref>

					<xref target='clause1Ba'>Clause 1Ba</xref>

</toc>

but you wrote:

If you need a marker saying "this table needs to be considered a ToC", we will need to do something else, such as wrap <toc> around the table.

I.e. if ToC will be represented in xml as
, then I need to know some indication about how it should be rendered - as usual table or as ToC. In case of ToC I have to know about indentation for each table row. For example, toc/ul/li and toc/ul/li/li will be displayed as nested lists. But in case of table/tr - there isn't possibility to determine the indentation...

From: https://github.com/metanorma/metanorma-standoc/issues/515#issuecomment-920091661
To do: modify xslt for xml based on:
[type=toc]
== Table of Contents of Appendix 1

=== Decisions relating to the establishment of the SI page

* <<resolution:foo>>

=== Decisions relating to the base units of the SI

==== Length

* <<resolution:bar, populated title>>

If you don't provide text in the xrefs in the ordered list, the text will be retrieved from the variant title of type toc in the section referenced, or failing that the proper title of the section referenced.

Done.


stored name not showing up in stresses dataframe

When adding a stress with a metadata dictionary containing 'name' as a key:
pstore.add_stress(s, "my_name", kind="prec", metadata={"name": "not_what_i_intendend"})

The resulting pstore.stresses DataFrame uses the metadata name, and not the name passed when adding the stress as the index:
                                  kind
name
not_what_i_intended               prec

I should be seeing my_name there, regardless of the metadata dictionary.

Fixed in #88


Tkinterweb/Tkhtml3 not working.

General description of issue
I have written an application using pygubu and tkitnerweb. Running via my conda environment, it works perfectly. However, nuitka fails to compile it.
Versions
I am using anaconda, and installed nuitka via pip in my anaconda environment.
Nuitka
python -m nuitka --version
2.4.11
Commercial: None
Python: 3.11.9 (main, Apr 19 2024, 16:48:06) [GCC 11.2.0]
Flavor: Anaconda Python
Executable: /home/rtuser/software/metac/.conda/bin/python
OS: Linux
Arch: x86_64
Distribution: Ubuntu (based on Debian) 22.04.5
Version C compiler: /usr/bin/gcc (gcc 11).

Relevant Packages
Package                   Version     Location                                                                             Installer
------------------------- ----------- ------------------------------------------------------------------------------------ ---------

Nuitka                    2.4.11      /home/rtuser/software/metac/.conda/lib/python3.11/site-packages pip
pygubu                    0.35.1      /home/rtuser/software/metac/.conda/lib/python3.11/site-packages pip
pygubu-designer           0.39.2      /home/rtuser/software/metac/.conda/lib/python3.11/site-packages pip
tkfilebrowser             2.3.2       /home/rtuser/software/metac/.conda/lib/python3.11/site-packages pip
tkinterhtml               0.7         /home/rtuser/software/metac/.conda/lib/python3.11/site-packages pip
tkinterweb                3.24.7      /home/rtuser/software/metac/.conda/lib/python3.11/site-packages pip

Nuitka Output
nuitka --standalone --include-data-dir=./view=view --include-package=pygubu --include-package=tkinterweb --enable-plugin=tk-inter --include-module=tkinterweb.bindings --follow-import-to=tkinterweb --follow-imports --include-package-data=tkinterweb main.py
Nuitka-Options: Used command line options: --standalone --include-data-dir=./view=view --include-package=pygubu --include-package=tkinterweb --enable-plugin=tk-inter
Nuitka-Options: --include-module=tkinterweb.bindings --follow-import-to=tkinterweb --follow-imports --include-package-data=tkinterweb main.py
Nuitka-Options: Following all imports is the default for standalone mode and need not be specified.
Nuitka: Starting Python compilation with Nuitka '2.4.11' on Python '3.11' commercial grade 'not installed'.
Nuitka-Plugins:WARNING: options-nanny: Module has plugin consideration: For matplotlib a GUI tooltkit selection might be needed use, use
Nuitka-Plugins:WARNING: '--enable-plugin=tk-inter|PySide6|PySide2|PyQt6|PyQt5', or use '--enable-plugin=no-qt' for headless mode.
Nuitka-Plugins:anti-bloat: Not including '_bisect' automatically in order to avoid bloat, but this may cause: may slow down by using fallback implementation.
Nuitka-Plugins:anti-bloat: Not including '_json' automatically in order to avoid bloat, but this may cause: may slow down by using fallback implementation.
Nuitka-Plugins:anti-bloat: Not including 'PIL.ImageQt' automatically in order to avoid bloat, but this may cause: PIL will not be able to create Qt image objects.
Nuitka-Plugins:matplotlib: Using configuration file or default backend 'TkAgg'.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: gcc (gcc 11).
Nuitka-Scons: Backend linking program with 1732 files (no progress information available for this stage).
Nuitka-Scons: Compiled 1731 C files using ccache.
Nuitka-Scons: Cached C files (using ccache) with result 'cache hit': 1731
Nuitka-Plugins:dll-files: Found 1 file DLLs from cv2 installation.
Nuitka-Plugins:dll-files: Found 1 file DLLs from kiwisolver installation.
Nuitka-Inclusion:WARNING: Ignoring non-identical DLLs for libquadmath-96973f99.so.0.0.0,
Nuitka-Inclusion:WARNING: '/home/rtuser/software/metac/.conda/lib/python3.11/site-packages/opencv_python.libs/libquadmath-96973f99.so.0.0.0' of package 'cv2' different
Nuitka-Inclusion:WARNING: from '/home/rtuser/software/metac/.conda/lib/python3.11/site-packages/numpy.libs/libquadmath-96973f99.so.0.0.0' of package 'numpy.core'.
Nuitka-Inclusion:WARNING: Using first one and hoping for the best.
Nuitka-Inclusion:WARNING: Ignoring non-identical DLLs for libquadmath-96973f99.so.0.0.0,
Nuitka-Inclusion:WARNING: '/home/rtuser/software/metac/.conda/lib/python3.11/site-packages/opencv_python.libs/libquadmath-96973f99.so.0.0.0' of package 'cv2' different
Nuitka-Inclusion:WARNING: from '/home/rtuser/software/metac/.conda/lib/python3.11/site-packages/numpy.libs/libquadmath-96973f99.so.0.0.0' of package 'numpy.linalg'.
Nuitka-Inclusion:WARNING: Using first one and hoping for the best.
FATAL: Error, failed to locate package 'tkinterweb.tkhtml.binaries.libTkhtml3' while trying to look up DLL dependencies, that should not happen. Please report the issue.

Minimal Code Needed For Error
nuitka_test.py
import tkinter as tk
import tkinter.ttk as ttk
import pygubu

from pathlib import Path

UI_PATH = "nuitka_test.ui"

class html_ui:

    toplevel: tk.Toplevel
    builder: pygubu.builder

    def __init__(self) -> None:
        self.builder = builder = pygubu.Builder()

        builder.add_from_file(Path(__file__).parent/UI_PATH)

        self.toplevel = builder.get_object("Toplevel1")

    def run(self) -> None:
        self.toplevel.mainloop()

app = html_ui()
app.run()

nuitka_test.ui
<?xml version='1.0' encoding='utf-8'?>
<interface version="1.4" author="PygubuDesigner 0.39.2">
  <project>
    <settings />
    <customwidgets />
  </project>
  <object class="tk.Toplevel" id="Toplevel1">
    <property name="height">200</property>
    <property name="width">200</property>
    <child>
      <object class="ttk.Notebook" id="Notebook1">
        <property name="height">200</property>
        <property name="width">200</property>
        <layout manager="grid">
          <property name="column">0</property>
          <property name="row">0</property>
        </layout>
        <child>
          <object class="ttk.Notebook.Tab" id="Tab1" named="True">
            <property name="text" translatable="yes">Tab</property>
            <child>
              <object class="pygubu.builder.widgets.scrolledframe" id="ScrollTab" named="True">
                <property name="scrolltype">both</property>
                <property name="usemousewheel">false</property>
                <layout manager="grid">
                  <property name="column">0</property>
                  <property name="row">0</property>
                </layout>
                <child>
                  <object class="tkinterweb.HtmlFrame" id="Htmlframe2">
                    <layout manager="grid">
                      <property name="column">0</property>
                      <property name="row">0</property>
                    </layout>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>

So, when I don't do the --include-package, I am getting this error:
Exception: Class "tk.Toplevel" not mapped

With this UI style of dynamic dependencies, I guess the usages are not visible indeed, and that's probably the way it has to be done, but it's ugly of course. With the options added, I am getting a crash that is different, because I am using the 2.5 pre-release, and that stumbles over the module name not resolving to a filename too.

So, from the looks of it, --include-package  which recently got a fix to include extension modules as well, and not only Python code, is finding a DLL that looks like an extension module to it, adds it, and then later when locating it, there might be code in place that rejects a non-extension module to be found.

At this point, it seems no checks on it actually being an extension module are performed, so my theory is wrong, so this might be a bug of not finding that module in the namespace directory or such, which would be very surprising, but need to check that out I guess.

Ah, it is not supposed to be found:
>>> import tkinterweb.tkhtml.binaries.libTkhtml3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'tkinterweb.tkhtml.binaries.libTkhtml3'

So, that probably means we should associate it with binaries, which is actually found as an import. Nuitka's behavior of not being able to resolve this is compatible, but for extension modules, owning a package is probably more relevant to look at then.

Ah, honing in on the issue, the module name becomes tkinterweb.tkhtml.binaries.libTkhtml3.0 of which the package package would be tkinterweb.tkhtml.binaries.libTkhtml3 but that indeed does not exist. Nothing to do with namespace packages. So the scan --include-package does, must skip filenames with suffixes like that and that is the real bug here.

I am suspecting missing data files, DLLs are now remaining issues. I invite you to help us here:
If you are available to do a PR, this can be fixed by adding to the yaml configuration, described here: https://nuitka.net/doc/nuitka-package-config.html
And here is more of a walk through style post: https://nuitka.net/posts/nuitka-package-config-kickoff.html
Here are a example PRs for other packages:
#2030
#1993

I'll look into it, will let you know if I find further info or fixed it!


[desktop/crash] SearchTab.getComponent() -> java.lang.ExceptionInInitializerError

version=6.6.8
build=260
==========
FrostWire version 6.6.8 build 260
Java version 1.8.0_162 from Oracle Corporation
Windows 10 v. 10.0 on x86
Free/total memory: 8595680/25370624

FATAL ERROR!

java.lang.ExceptionInInitializerError
	at com.frostwire.gui.tabs.SearchTab.getComponent(Unknown Source)
	at com.frostwire.gui.tabs.SearchTransfersTab.<init>(Unknown Source)
	at com.limegroup.gnutella.gui.MainFrame.buildTabs(Unknown Source)
	at com.limegroup.gnutella.gui.MainFrame.<init>(Unknown Source)
	at com.limegroup.gnutella.gui.GUIMediator.<init>(Unknown Source)
	at com.limegroup.gnutella.gui.GUIMediator.instance(Unknown Source)
	at com.limegroup.gnutella.gui.Initializer$5.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.util.UnknownFormatConversionException: Conversion = ' '
	at java.util.Formatter.checkText(Unknown Source)
	at java.util.Formatter.parse(Unknown Source)
	at java.util.Formatter.format(Unknown Source)
	at java.util.Formatter.format(Unknown Source)
	at java.lang.String.format(Unknown Source)
	at com.limegroup.gnutella.gui.search.SchemaBox.addSchemas(Unknown Source)
	at com.limegroup.gnutella.gui.search.SchemaBox.<init>(Unknown Source)
	at com.limegroup.gnutella.gui.search.SearchResultMediator.createSchemaBox(Unknown Source)
	at com.limegroup.gnutella.gui.search.SearchResultMediator.setupMainPanelBase(Unknown Source)
	at com.limegroup.gnutella.gui.search.SearchResultMediator.setupMainPanel(Unknown Source)
	at com.limegroup.gnutella.gui.tables.AbstractTableMediator.<init>(Unknown Source)
	at com.limegroup.gnutella.gui.search.SearchResultMediator.<init>(Unknown Source)
	at com.limegroup.gnutella.gui.search.SearchResultDisplayer.<init>(Unknown Source)
	at com.limegroup.gnutella.gui.search.SearchMediator.getSearchResultDisplayer(Unknown Source)
	at com.limegroup.gnutella.gui.search.SearchMediator.<init>(Unknown Source)
	at com.limegroup.gnutella.gui.search.SearchMediator.<clinit>(Unknown Source)
	... 21 more

Other than a try/catch, no clue how to fix this one @aldenml

This is a bad translation more likely with an rtl language (and there are many), the try-catch is a solution is aceptable: https://github.com/frostwire/frostwire/commit/cb008b509e492514d9d2287d890da969cb1fa4cb


Add support to jquery version 3

Change some envents handlers, to use the 'on' method

But why? We use jquery 2.2.1?

Thank you!
Is there something broken that this fixes?

Not, it not fixes something, it onlys allows to run the play server, with jQuery >= 3.
Use case:
For package in Debian, we drop the javascript libraries distributed inside the crystal source code (jquery, codemirror, etc). The current jQuery version in Debian is 3, so I use it in the play server.

Did anyone try this? If it works, I see no reason not to merge it.

Would it make sense to update vendored jQuery to v3 then?

Thanks @deiv
@Sija jQuery could be updated, but I don't think it's a pressing matter. The playground is only intended for local use anyways, and as longs as it works...
But if someone feels like doing that, please provide a PR.


showUnderStatusBar (translucent) is not affected until input is focused (keyboard forces to resize the window)

showUnderStatusBar should call                  window.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS, WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
which makes the status bar translucent and goes above navbar.
Unfortunately, it does not take effect until I focus some input on android device. After this my window resizes and navbar moves up, behind the status bar, status bar becomes translucent.
I thought it could be that after setting the flags we need to refresh the view, and tried to make decorView.invalidate() in order to force android to redraw everything, but it seems not working.
Does anyone knows what to do?
https://github.com/lain-me/cordova-plugin-fullscreen/commit/92cb320cb4f751b88105531adaae7b521066192f
https://github.com/lain-me/cordova-plugin-fullscreen/commit/f136f201b3f37cf4c8f506becedb2c2b6968eb7d

I'm also getting the same issue. ..apart from focusing on input field window also resize on when video start streaming.

i'm having the same issue too. Any idea ?

First remove android platform, then update android sdk to 26. After that add android platform again. Now it works.

Hi!
I'm facing the same problem! Any workaround?
I tried to do what @adil-Pathan said, but no success.
Thank you.

This should be resolved in release 1.3.0, if not please feel free to reopen this issue.


time-varying bins

Hi, it is a nice package.  Just want to know if the bins parameter can be time-varying.  Or more flexible, can the bins parameter be also a xarray.DataArray?  I find that xhistogram at here cannot accept xarray.DataArray as its bin argument.

Hi, thanks!
I hadn't thought of time-varying bins, but I can see it implemented without too much trouble.
As for accepting xarray.DataArray for the bins argument, it is also feasible (I guess it would be a good idea to make it mandatory for time-varying bins).
This needs some refactoring so that the code stays clean but right now I don't see anything impossible. That would be nice since it seems from this comment that it won't be implemented in xhistogram before a while. I will work on that as soon as I have a solid base package (in a few days hopefully).

That's a good news.  I have to calculate PDF of a tracer field between min and max values and these values change with time (or even with depth).  So I am expecting this behavior or similar:
# tracer[T, Z, Y, X] is a 4D variable
hist = xh.histogram(tracer, bins=[tracer.min(['X', 'Y']), tracer.max(['X', 'Y'])], dims=['X', 'Y'])
# output hist[T, Z, PDF] should be 3D variable

xhistogram cannot accept xarray as its bins argument because it relies on numpy.  In addition, it does not support dask well.  Looking forward to your solutions.  I guess the bins argument accepting xarray.DataArray would be a very good point for your release.


Cut a website branch for the Kubeflow 1.5 release

@zijianjoy we cut the 1.5 docs branch. If I remember correctly, you need to do something on the backend to make it live?
cc: @kimwnasptd

That is right, I have performed this step https://github.com/kubeflow/kubeflow/blob/master/docs_dev/releasing.md#deploy-new-branch-to-netlify. We need to give it a day or so for SSL certificate update.

Thanks, @zijianjoy !

/close


How does this tool make routines delay?

Hey, I read your paper and it's interesting to use runtime.Gosched() to random the ordering of routines.
I want to know that does it implement this by patching the source file of go or inst the source code of the target project, and where?

Emmm, I find it. At evaluate/instrumentor.go


No more works

Hi,
Last time i had used audiocurve, it works.
I need to reopen some  projects create in snapshots some months ago,which work perfectly, but now i get errors in the script editor:
Failed to execute onParamChanged callback: While executing script:
AudioCurve.paramHasChanged(app1.AudioCurve1.atFrameNum,app1.AudioCurve1,app1,app1,False)
Python error:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/hafuz/.Natron/Plugins/AudioCurve.py", line 105, in paramHasChanged
    if ascii_file is not None and audio_file is not None and thisParam == thisNode.importCurve:
AttributeError: 'NatronEngine.Effect' object has no attribute 'importCurve'

Hi,
I will check if this is a bug in Natron, or if the API changed. Will try to fix as soon as possible.
Thanks for reporting the issue.

Should work in next Natron release, 2.0.2.


Implement statistics parsing.

Added: Implement statistics parsing.
Removed: Remove use_metadata option when reading stats.
By implementing statistics parsing, we make the statistics object
easier to use. Note that it's still possible to access the raw
representation if needed.
I removed use_metadata option because when turned on, many metrics are no longer flattened properly when using the gRPC endpoint. Metrics like proc-cpu or proc-freeMem had EventStore.Core.Services.Monitoring.Stats.StatMetadata as value.

To be added as separate package from the client repo so as to not add functionality to the core client that is not supported in the other clients.


Bug: SQLAlchemy models with default=func.now() error with Unexpected default type

Description
Columns with default=func.now() will cause SQLAlchemySerializationPlugin to error with ValueError: Unexpected default type.
Workaround is replacing it with server_default=func.now()
URL to code causing the issue
No response
MCVE
from litestar import Litestar, get
from litestar.contrib.sqlalchemy.plugins import SQLAlchemySerializationPlugin
from sqlalchemy import BigInteger, Column, DateTime, String
from sqlalchemy.orm import DeclarativeBase
from sqlalchemy.sql import func

class Base(DeclarativeBase): ...

class User(Base):
    __tablename__ = "users"
    id = Column(BigInteger, primary_key=True)
    username = Column(String)
    first_interaction = Column(DateTime, default=func.now())
    last_interaction = Column(DateTime, default=func.now(), onupdate=func.now())

@get("/{user_id:int}")
async def get_user(user_id: int) -> User:
    user = "pretend this is a User"
    return user

app = Litestar(
    route_handlers=[get_user],
    plugins=[SQLAlchemySerializationPlugin()],
)

Steps to reproduce
No response
Screenshots
No response
Logs
Traceback (most recent call last):
  File "/home/mit/frbot/./asd.py", line 25, in <module>
    app = Litestar(
          ^^^^^^^^^
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/litestar/app.py", line 483, in __init__
    self.register(route_handler)
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/litestar/app.py", line 667, in register
    route_handler.on_registration(self)
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/litestar/handlers/http_handlers/base.py", line 560, in on_registration
    super().on_registration(app)
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/litestar/handlers/base.py", line 544, in on_registration
    self.resolve_return_dto()
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/litestar/handlers/base.py", line 504, in resolve_return_dto
    return_dto.create_for_field_definition(
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/litestar/dto/base_dto.py", line 183, in create_for_field_definition
    backend_context[key] = backend_cls(  # type: ignore[literal-required]
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/litestar/dto/_codegen_backend.py", line 72, in __init__
    super().__init__(
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/litestar/dto/_backend.py", line 108, in __init__
    self.parsed_field_definitions = self.parse_model(
                                    ^^^^^^^^^^^^^^^^^
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/litestar/dto/_backend.py", line 140, in parse_model
    for field_definition in self.dto_factory.generate_field_definitions(model_type):
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/advanced_alchemy/extensions/litestar/dto.py", line 280, in generate_field_definitions
    yield from cls.handle_orm_descriptor(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/functools.py", line 946, in _method
    return method.__get__(obj, cls)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/advanced_alchemy/extensions/litestar/dto.py", line 116, in _
    default, default_factory = _detect_defaults(elem)
                               ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mit/frbot/.venv/lib/python3.11/site-packages/advanced_alchemy/extensions/litestar/dto.py", line 311, in _detect_defaults
    raise ValueError(msg)
ValueError: Unexpected default type

Litestar Version
sqlalchemy = { extras = ["asyncio"], version = "^2.0.29" }
litestar = {extras = ["sqlalchemy", "standard"], version = "^2.8.2"}
Platform

[X] Linux
[ ] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

@MitPitt
Hi!!
I also encountered the same error.
And this seems to be an expected error.
As a concept like a responsibility branching point, it seems better not to let the db generate values as much as possible, so use lambda: datetime.now(timezone.utc) instead of func.nou(). However, in this case, I think it can be said that it is good.
like this
And it's in hereadvanced-alchemy
class AuditColumns:
    """Created/Updated At Fields Mixin."""

    created_at: Mapped[datetime] = mapped_column(
        DateTimeUTC(timezone=True),
        default=lambda: datetime.now(timezone.utc),
    )
    """Date/time of instance creation."""
    updated_at: Mapped[datetime] = mapped_column(
        DateTimeUTC(timezone=True),
        default=lambda: datetime.now(timezone.utc),
    )
    """Date/time of instance last update."""

@sion908 I am introducing litestar to a project which already had sqlalchemy in it. I would like to keep new litestar code separated from older sqlalchemy stuff. Meaning I don't want to import AuditColumns from litestar. In case I wanted to remove litestar from the project in the future, this would create problems.
But I will try using lambda: datetime.now(), thanks.

I hope it was helpful

@sion908 I am introducing litestar to a project which already had sqlalchemy in it. I would like to keep new litestar code separated from older sqlalchemy stuff. Meaning I don't want to import AuditColumns from litestar. In case I wanted to remove litestar from the project in the future, this would create problems.

You can just import it from advanced-alchemy directly:
from advanced_alchemy.base import AuditColumn

Closing this as it's not really a bug. Thanks @sion908 for providing the explanation and alternative solution :)


Update create-swarm.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Heh, alright. Thanks, @scjane :)


Add hypertrace instrumentation

Adding hypertrace instrumentation. Also added to https://github.com/holepunchto/hyperdht/pull/158

@mafintosh @freeall should this be merged or closed?


Update http4s-circe, http4s-client to 0.23.27

About this PR
📦 Updates

org.http4s:http4s-circe
org.http4s:http4s-client

from 0.23.26 to 0.23.27
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #255.


ios: Add openNotificationSettingsURLString

Implemented option to open app notification setting fixing issue #42

Is anything holding this PR back from being merged?


Understanding builders and types

Disclaimer: this isn't really an issue, more a question/request for guidance.
Having read the section on Builders, and having scanned through the babel-types package, I'm still somewhat at a loss as to how to go about creating nodes. Through lots of trial and error, I've managed to do a few things successfully, but it feels like an API reference (of sorts) would be super helpful here.

Are there any resources that exist currently, outlining each type, and their dependencies? Or perhaps some examples of building common expressions? If so, please do point me towards them.

If this is something you're planning already, that's great! If I can help out in any way, I'd be up for doing so. Just let me know.

Failing both of those 👆are there any other recommendations you can give? To be explicit, here's something I'm still struggling with...
I'm trying to change
var router = require('myRouter');
var route = router.route;

to
var myRouter = require('myRouter');
var router = myRouter.router;
var route = myRouter.route;

Trying to insert the middle line is proving difficult. I've tried various combinations of AssignmentExpression, VariableDeclaration, MemberExpression... 😕
Any guidance you can offer would be great.
Thanks

A builder is any AST Node type with the first letter lowercase. For example if you wanted to build a MemberExpression you would use t.memberExpression(...).
The arguments of these builders is decided by the AST definition. There's some work that's been done to generate easy-to-read documentation on the definitions, but for now they can all be found here.
A definition looks like the following:
defineType("MemberExpression", {
  builder: ["object", "property", "computed"],
  visitor: ["object", "property"],
  aliases: ["Expression", "LVal"],
  fields: {
    object: {
      validate: assertNodeType("Expression")
    },
    property: {
      validate(node, key, val) {
        let expectedType = node.computed ? "Expression" : "Identifier";
        assertNodeType(expectedType)(node, key, val);
      }
    },
    computed: {
      default: false
    }
  }
});

Here you can see all the information about this particular node type, including how to build it, traverse it, and validate it.
If you look at the builder property, you can see the arguments that will be passed to the builder (t.memberExpression).
  builder: ["object", "property", "computed"],

Below that you can see the validation for it. So we can see that object needs to be an Expression, property either needs to be an Expression or an Identifier depending on if it's computed which is simply a boolean that defaults to false.
So we can construct a MemberExpression by doing the following:
t.memberExpression(
  t.identifier('object'),
  t.identifier('property')
);

Which will result in:
object.property

However, we said that object needed to be an Expression so why is Identifier valid?
Well if we look at the definitions again we see an aliases property.
aliases: ["Expression", "LVal"],

So since MemberExpression is a type of Expression, we could set it as the object of another MemberExpression:
t.memberExpression(
  t.memberExpression(
    t.identifier('member'),
    t.identifier('expression')
  ),
  t.identifier('property')
)

Which will result in:
member.expression.property

Hopefully you can now see how these work, if you don't want to look at the builders directly there is also some documentation on it here: https://github.com/babel/babel/blob/master/doc/ast/spec.md

Now for your problem of adding multiple variable declarations that are siblings with one another.
var router = require('myRouter');
var route = router.route;

var myRouter = require('myRouter');
var router = myRouter.router;
var route = myRouter.route;

You're actually going about this the wrong way by just using builders, while you do need to build up each statement, in order to insert them you need path.
If you look at the AST of your code, you'll see that each VariableDeclaration is an item in the Program's body. So when you try to replace them, you're actually modifying Program.
Now you could visit Program and manually modify the body array. However, it's much better to take advantage of one of path's methods.
For example you can replace a path with multiple nodes by calling path.replaceWithMultiple([...]) or you could insert a sibling node before or after by calling path.insertBefore or path.insertAfter. It all depends on how you want to structure your logic.

Also be careful when generating VariableDeclarations as you are pushing new bindings to the scope and you want to make sure that they don't collide with existing bindings. See the section of the handbook on scope.

Thanks for such a comprehensive response!
 I think the missing piece of the puzzle for me was this link you included, so thanks for posting that. To a large extent, I think I've been struggling with the formal language barrier (i.e. what is the right name for object.property). I may well run into that again, but the docs you pointed me to should help.
With respect to my specific example, I am currently using visitors, with appropriate path methods. I've tried going down the VariableDeclaration route for my example, but then changed to CallExpression for the require line, and MemberExpression for the others. Adding the new node was then done using insertBefore on the parent to the MemberExpression. If that makes sense.
Thanks for the heads up on VariableDeclaration and scopes, I'll be sure to double check that.
All in all, I think this will help me crack on with what I'm doing, so thank you very much for that.

The easiest way to figure out how you want to do the transformation is to insert the input code and output code in http://astexplorer.net and look at the AST of each. You'll learn the node types quickly with it.

Awesome!
I hadn't seen astexplorer before. That'll should do the trick. Thanks again.


graphql-java-runtime 1.18.6 is not available in Maven central

The latest available version is 1.18. I checked here https://repo.maven.apache.org/maven2/com/graphql-java-generator/graphql-java-runtime/ and here https://search.maven.org/artifact/com.graphql-java-generator/graphql-java-runtime
Could you please advice if the latest version was uploaded to Maven repo?

Hello,
This component has been removed, to be split between the client and the server runtime.
Please check this link instead :
https://mvnrepository.com/artifact/com.graphql-java-generator/graphql-java-client-dependencies
Étienne


[storybook/cli] Fails if package.json at /home/user has no license field.

Summary
storybook/cli gives an error when initiating a repo with $ getstorybook.
Here's the error:
:~/blog/taskbox$ npx -p @storybook/cli getstorybook
  npx: installed 312 in 22.043s

  getstorybook - the simplest way to add a storybook to your project.

  • Detecting project type. ✓
  • Adding storybook support to your "Create React App" based project
      ../../package.json: No license field

      ../../package.json: No license field

      ../../package.json: No license field

Seems like getstorybook fails if package.json at /home/user does not have a licese field.

Steps to reproduce

sudo npm i -g @storybook/cli
getstorybook

Please specify which version of Storybook and optionally any affected addons that you're running

storybook/cli: 3.4.2
Addons: none

Solution
It works fine if I add a license field in package.json at home dir.

I believe this is a warning thrown by npm.
If you do npm install @storybook/react for example in the same directory, you should get the same warning.
Does this prevent getstorybook from completing the install?
I personally don't think we should get into the business of catching npm warnings as there are many more such as No repository field, No description. The message is clear and the error issimple enough to fix.

@danielduan thanks.

Does this prevent getstorybook from completing the install?

Yes it does prevent getstorybook from completing the install.
Content of package.json

Before license field.

{
  "dependencies": {
    "create-react-app": "^1.5.2",
    "gatsby": "^1.9.240",
    "gatsby-cli": "^1.1.48",
    "global": "^4.3.2",
    "roast-my-deps": "^2.0.0"
  }
}

After license field.

{
  "license": "MIT",
  "dependencies": {
    "create-react-app": "^1.5.2",
    "gatsby": "^1.9.240",
    "gatsby-cli": "^1.1.48",
    "global": "^4.3.2",
    "roast-my-deps": "^2.0.0"
  }
}

Screenshot of terminal before and after license field.

If you or someone would like to open a PR to fix this, please do.

@danielduan
It seems that here it goes to the error if the license is not specified.
https://github.com/storybooks/storybook/blob/master/lib/cli/lib/latest_version.js#L8
Can u guide me to fix this issue??
@Keraito  if this finding helps you to fix ,feel free to.

That’s weird that it checks package.json in your home directory. Unless you have no package.json in the directory where you run getstorybook. You might want to create it first using npm init

@Keraito  @Hypnosphi
Did this issue get fixed.I was trying today on 3.4.3version of the  cli and this went through with out any errors.I understand that @Keraito  code is not merged.But the issue is not there anymore.
Please confirm

@sunilhari can you check whether

There is a package.json at the direct path from your home to your project?
It has no license field?
You have yarn installed?

@Hypnosphi
Sorry some way it was using npm.Yeah the issue still exist.Sorry

released as 3.4.4

It fixed my problem
sudo npm i -g @storybook/cli
sb init


Minor modification for eh-FDTD

This PR adds minor modification for eh-FDTD.

Thank you for merging, @ayamada224 san!


Maps not loading in Internet Explorer (IE)

Map doesnt loads up in IE Browser. Any quick fix?

quick fix? don't use IE, it's depreciated by MS


[165] breadcrumbs redux

This adds in a breadcrumb component, which acts as a title bar and lets you move back to parent pages within the app.

adds BreadCrumb component
uses  angular'slocation to add a backClicked() function to templates
bumps some outdated dependencies needed for angular/cli

Screenshot:

Updated with the back arrow hidden on /dashboard


Added a find function to search project by name

It will be possible to searrch a project by name using the new function:
api.projects.find("myusername", "Project name")

you can also use it to restrict the list of projects returned if you only know a substring:
api.projects.find("myusername", "Project nam", exact=False)

Let me know what you guys think.

Will not be added.


pidgin-sipe: 1.23.3 -> 1.24.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pidgin-sipe/versions.
meta.description for pidgin-sipe is: '"SIPE plugin for Pidgin IM"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.24.0 with grep in /nix/store/35ih6i4y435p4v8abgvg129l384gh19h-pidgin-sipe-1.24.0

directory tree listing: https://gist.github.com/e55fe3201a6620dad3dac1e85eb0033d

du listing: https://gist.github.com/c0dcb800dfc2fe2ce7b4e5a0580a65d5

Rebuild report (click to expand)

5046 total rebuild path(s)
1454 package rebuild(s)
1447 x86_64-linux rebuild(s)
1412 i686-linux rebuild(s)
783 x86_64-darwin rebuild(s)
1404 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
adapta-gtk-theme
akonadi
akregator
amarok
amarok-kf5
appdaemon
appleseed
arc-theme
ark
arx-libertatis
asciidoc-full
asciidoc-full-with-plugins
aws-rotate-key
beegfs
bluedevil
breeze-gtk
breeze-icons
breeze-plymouth
breeze-qt5
btrbk
cachix
caffe2
calamares
calligra
cantata
capitaine-cursors
cntk
colord-kde
compactor
cura
davfs2
dblatexFull
dbxml
devpi-client
devpi-server
dfilemanager
dhall-bash
dhall-nix
digikam
disorderfs
dl-poly-classic-mpi
doitlive
dolphin
dragon
drawpile
eigen3_3
elisa
emojione
extra-cmake-modules
falkon

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/35ih6i4y435p4v8abgvg129l384gh19h-pidgin-sipe-1.24.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A pidgin-sipe https://github.com/r-ryantm/nixpkgs/archive/8ddac60404e6ad6f7eb41ad1152a928093ad37c9.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/35ih6i4y435p4v8abgvg129l384gh19h-pidgin-sipe-1.24.0
ls -la /nix/store/35ih6i4y435p4v8abgvg129l384gh19h-pidgin-sipe-1.24.0/bin

Failure on x86_64-linux (full log)
Attempted: pidgin-sipe
Partial log (click to expand)
cannot build derivation '/nix/store/lhi61x5d4n8v8h3r8qk1cnkmbxgi1kgh-gupnp-1.0.3.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/rhi8s7i73j05v1lvv3ksp0i972blgyxj-sratom-0.6.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/b8hl7k4mg5f4lh7mj5fa1mq645pdx540-gupnp-igd-0.2.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/57ca7wx7aazlxwqmvykl9z6cv1msllj1-lilv-0.24.4.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/dmdjccfp182xz9a4l9f8aq61avgwimpv-libnice-0.1.14.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/wm54fz8pmrr8f2fhb32r7nnjihk7d347-gst-plugins-bad-1.14.4.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/srshic6njrsm4fjsbb7rrxl9gv918f2x-farstream-0.2.8.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/hnip1a85b4i2fxrryk3kvi1x11q8r9zy-pidgin-2.13.0.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/h6qs4irva1bcs6zwniwjv7ryxy03q1l4-pidgin-sipe-1.24.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/h6qs4irva1bcs6zwniwjv7ryxy03q1l4-pidgin-sipe-1.24.0.drv' failed

Failure on aarch64-linux (full log)
Attempted: pidgin-sipe
Partial log (click to expand)
Generate a DSA key pair ...
Moving /nix/store/jrpm3n821rr429bfqi313lq0982nmi9s-nss-3.40/bin to /nix/store/svasbb21py464iw93v9nx9bcbb51233c-nss-3.40-tools/bin
rmdir: failed to remove '/nix/store/jrpm3n821rr429bfqi313lq0982nmi9s-nss-3.40': Directory not empty
Moving /nix/store/svasbb21py464iw93v9nx9bcbb51233c-nss-3.40-tools/bin/nss-config to /nix/store/ns28cm5yi8sjp5xaw9y7b3d9v87i4v7f-nss-3.40-dev/bin/nss-config
rmdir: failed to remove '/nix/store/svasbb21py464iw93v9nx9bcbb51233c-nss-3.40-tools/bin': Directory not empty
Moving /nix/store/jrpm3n821rr429bfqi313lq0982nmi9s-nss-3.40/lib/libcrmf.a to /nix/store/ns28cm5yi8sjp5xaw9y7b3d9v87i4v7f-nss-3.40-dev/lib/libcrmf.a
rmdir: failed to remove '/nix/store/jrpm3n821rr429bfqi313lq0982nmi9s-nss-3.40/lib': Directory not empty
cannot build derivation '/nix/store/xxrjvnhl54aawbg1zj0wnvxiv6kk5brn-pidgin-2.13.0.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/21v2xn0k34b14fc7j5685lfpmnapph3w-pidgin-sipe-1.24.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/21v2xn0k34b14fc7j5685lfpmnapph3w-pidgin-sipe-1.24.0.drv' failed

Looks like meson didn't build, trying an ofborg run again hoping it has been fixed in master since then.
@GrahamcOfBorg build pidgin-sipe

Timed out, unknown build status on x86_64-linux (full log)
Attempted: pidgin-sipe
Partial log (click to expand)
patching script interpreter paths in /nix/store/3ws4i66ad9hhp1hsr8cqpxciw25gad50-gst-libav-1.14.4
checking for references to /build/ in /nix/store/3ws4i66ad9hhp1hsr8cqpxciw25gad50-gst-libav-1.14.4...
strip is /nix/store/br51frm28n8n85bs9wrcx6g8rpa42ain-binutils-2.30/bin/strip
building of '/nix/store/759aavj89n337kpw9rzlvqqzv2lllj2g-gupnp-igd-0.2.5.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/dkb3das3xgdl8s6lmyadhff08254mw1f-libnice-0.1.14.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/nk04vcla1h957i2n2ndmlc59vf1140zr-gst-plugins-bad-1.14.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/fc4xj3knl0n4jki08s6gvsriwlhca3jq-farstream-0.2.8.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/vvhmxwjz9r7gs5pcq8x3ynz2rwnl747a-pidgin-2.13.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/mak3pl2b8dj2fll48djib411aan6ihq6-pidgin-sipe-1.24.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/mak3pl2b8dj2fll48djib411aan6ihq6-pidgin-sipe-1.24.0.drv' failed


meta_function enum not doing what it's supposed to do?

First of all, eventhough I've spent hours on your documentation already (great job on that btw), I am quite new to Lua in general and I don't know if what I did is anything useful, but I tried.
In case it has something to do with all this, I am using Sol with LuaJIT.
So in the docs you have the meta_function enum which, from my understanding, is used as an easier way of doing stuff like metatable["__index"].
However I found that at least one of them, sol::meta_function::metatable to be specific, either doesn't work as it's supposed to or I misunderstood the documentation quite a bit.
What I tried to do was, hiding/protecting my metatable from unwanted changes:
// index will be called for every access as the rest of the metatable is empty
env_metatable[sol::meta_function::index] = [env_origtable](sol::table _tbl, std::string key)
{
	return env_origtable[key];
};

// block write access
env_metatable[sol::meta_function::new_index] = &access_violation; // this is just a one line wrapper of luaL_error()

// block getmetatable()
env_metatable[sol::meta_function::metatable] = false;

// apply metatable
env_protected[sol::metatable_key] = env_metatable;

At this point I have a table called "input_handler" with a function called "is_key_pressed" and now run the following script:
print(input_handler.is_key_pressed(0x12)) -- VK_MENU (ALT key)
print(getmetatable(input_handler))

The output I expected (while pressing the ALT key) was
true
false

because according to the Lua Docs (http://lua-users.org/wiki/MetatableEvents)
__metatable - Hide the metatable. When "getmetatable( myTable )" is called, if the metatable for myTable has a __metatable key, the value of that key is returned instead of the actual metatable.
however the output I got was this:
true
table: 0x00f550d0

After god knows how many hours, for some reason I tried it like this:
// index will be called for every access as the rest of the metatable is empty
env_metatable["__index"] = [env_origtable](sol::table _tbl, std::string key)
{
	return env_origtable[key];
};

// block write access
env_metatable["__newindex"] = &access_violation; // this is just a one line wrapper of luaL_error()

// block getmetatable()
env_metatable["__metatable"] = false;

// apply metatable
env_protected[sol::metatable_key] = env_metatable;

and got the wanted output
true
false

Is this intended behavior and I completely misunderstood something or is this acutally a bug that almost cost me sanity.

Huh. I'm not sure why I defined the name of sol::meta_function::metatable to be __mt instead of __metatable.
Lemme go do some digging.

Alright, so there's some old crufty garbage that relies on __mt rather than __metatable, and I think it changes between versions. I need to do some more double-checking, but since I might not care about that old, crufty garbage I'll probably swap to always using __metatable.

Fixed.


feat(ai-proxy): enable compatibility with LLM SDKs, model selection by request-parameters

Summary
Our users have noted that they wanted to have the option to not use the plugin configured model "tuning" options, but rather use something like e.g. the OpenAI SDK, and send the options in per-request.
This function enables this.
Checklist

[x] The Pull Request has tests
[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference
KAG-4127
https://konghq.atlassian.net/browse/KAG-4124

This one is ready to go.

I am rebasing this now, pls hold

@flrgh Fixed it, oops

This is going to be superseded by a different PR, closing.


Separate channel dialing and service stub in node client

I'm interested in splitting the Node.JS dialing and stub creation step into two parts.
In this way we could connect in a two step process, and share channels between different service stubs. This is assuming there are zero or more services defined on the remote server. You could still connect without actually creating a client stub immediately.
This is similar to the Go client, where you can Dial() a connection and then attach a client to it later.

It should be possible to do this by allowing passing a channel in here:
https://github.com/grpc/grpc/blob/master/src/node/src/client.js#L735

Very simple code change. Made here, with a proof of concept example: https://github.com/paralin/grpc/commit/17962296d70526101bd154fe09f68bcc9b13098a
Any thoughts from the maintainers?

I'm not sure how necessary this is. Already, if you construct two clients with the same server address, options, and the same credentials object (or insecure credentials), the underlying connection is shared. That's not to say that I think this change is bad, but I'm not sure it's worth the additional complexity that it would add to the Client API.
In addition, if this change was made, I would want to only expose the Channel class, not the entire extension. The extension API is not meant to have the same stability guarantees as the current surface API.

@murgatroid99 After investigating the internals a bit I came to the same conclusion, probably best to leave it as-is.


False positive prefetch external error when deployed to GitHub pages

Describe the bug
Not quite sure what's going wrong and if this is really a bug or misconfiguration on my part.
Trying to deploy this app to GitHub pages at https://janosh.github.io/periodic-table, all internal links log console errors:

Uncaught (in promise) Error: Attempted to prefetch a URL that does not belong to this app: https://janosh.github.io/periodic-table/polonium

The error is raised here:
https://github.com/sveltejs/kit/blob/f87d55b6d5d425c395e0c2585da28fdf1e27ab81/packages/kit/src/runtime/client/client.js#L217
and might be due to URLs incorrectly classified as external here (hard to say with minified stack trace in prod and can't reproduce in dev)
https://github.com/sveltejs/kit/blob/f87d55b6d5d425c395e0c2585da28fdf1e27ab81/packages/kit/src/runtime/client/client.js#L1002-L1003
data-sveltekit-prefetch is set globally on the body.
Reproduction
Doesn't repro on StackBlitz as I think it's related to serving the app on a non-root URL with a <base> tag as suggested in #7733.
Logs
No response
System Info
System:
    OS: macOS 13.0
    CPU: (10) arm64 Apple M1 Pro
    Memory: 88.06 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.9.0 - /opt/homebrew/bin/node
    npm: 8.19.1 - /opt/homebrew/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 107.0.5304.110
    Safari: 16.1
  npmPackages:
    @sveltejs/adapter-static: 1.0.0-next.48 => 1.0.0-next.48
    @sveltejs/kit: 1.0.0-next.553 => 1.0.0-next.553
    svelte: ^3.53.1 => 3.53.1
    vite: ^3.2.4 => 3.2.4

Severity
annoyance
Additional Information
No response

Does this issue persist if you use base from $app/paths instead of a <base> element? I was able to turn on prefetching successfully with a GitLab Pages deployment that way.

@stephenlrandall Yeah looks like same problem.

I think you don't need to use the base element in your app, but you do need to set it in the config. The check takes into account the base path from the config. Could you test if that works?

@dummdidumm That would mean the docs here are incorrect:

Note that you need to prepend all your root-relative links with the base value or they will point to the root of your domain, not your base (this is how the browser works). You can use base from $app/paths for that: Link.

Which check are you referring to?

@dummdidumm Then I get lots of build errors:

Error: 404 /hydrogen does not begin with base, which is configured in paths.base and can be imported from $app/paths - see https://kit.svelte.dev/docs/configuration#paths for more info (linked from /periodic-table)
at file:///home/runner/work/periodic-table/periodic-table/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.553_svelte@3.53.1+vite@3.2.4/node_modules/@sveltejs/kit/src/core/prerender/prerender.js:30:11

Ah yeah, mhhm. I'm wondering if we shouldn't do that if we somehow detect there's a base path set - or if the is_external check should look for a base tag to use in case the base path isn't set.

The safest way for now is as suggested to prepend the links with base from $app/paths as you did in that one linked commit.

And ignore the console errors about trying to prefetch from external source you mean?

Sorry, for some reason I thought I saw a commit where you did ... <- I meant doing it like this instead of using <base href=".."> tags. Else - yes I think you probably have to ignore them for now.

Sorry, for some reason I thought I saw a commit where you did ....

Yes, there was one. I force-pushed. Sorry for the confusion. That commit had the same external prefetch console errors though.


NETOBSERV-1630 allow not for ip filters

Description
Allow not for ip filters

https://grafana.com/docs/loki/latest/query/ip/
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

[X] Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
[ ] Does this PR require product documentation?

[ ] If so, make sure the JIRA epic is labelled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.

[ ] Does this PR require a product release notes entry?

[ ] If so, fill in "Release Note Text" in the JIRA.

[ ] Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.

[ ] If so, make sure it is described in the JIRA ticket.

QE requirements (check 1 from the list):

[X] Standard QE validation, with pre-merge tests unless stated otherwise.
[ ] Regression tests only (e.g. refactoring with no user-facing change).
[ ] No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

/ok-to-test

/label qe-approved

/approve


Adding Diagnostics features support for cli

A new features in CLI to get a diagnosis of Artifactory after each upgrade. This command should run before and after upgrade, so that it will print the performance and stability of artifactory instance. The default command is like
jfrog  rt diagnosis

@dashbhanu,
First, thanks for working on this!
I have to say that I'm having issues with the basic design of this functionality. There's a lot I think we need to modify, so I'm starting from some of the most significant points:
Reading plain text (not formatted) response and then parsing it manually, is something we really want to avoid.
It is okay receive a JSON responses and then reading it into a struct, but parsing strings is not the way to go from our perspective. In addition, the content is currently saved to files as a stream of bytes, which make it unreadable.
I don't think that the code should be included as part of the jfrog-client-go library, because I find it hard it believe that it is useful for other applications - at least they way the API is built now.
There's a lot more to discuss, in terms of where the info files should be saved to, how the command should receive them, code styling and more, but I suggest we start with the above first.
Thanks

Closing this issue for now, since https://github.com/jfrog/jfrog-cli/pull/415 is also closed.


ttl value is being stored to ttln in atNotification

Describe the bug
The ttl value is being stored to ttln
To Reproduce
Steps to reproduce the behavior:

First Pass the value of ttl
Then run the unit test

Expected behavior
ttl value should be added to ttl instead of ttln
Screenshots

Smartphone (please complete the following information):
Were you using an @application when the bug was found?
Additional context
Add any other context about the problem here.

This seems bad. Setting priority High

@purnimavenkatasubbu there are two values on the notify verb
ttl - expiry of the key
ttln - expiry of the notification
ttl set on the notificationBuilder will correspond to ttln on the notify verb.

Oh ok. As it is expected behavior I'll close the bug.


Implement basic admission control framework

This is the implementation for the basic admission control hooks documented here:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/design/admission_control.md
At this point, there are two admission control options:
AlwaysAdmit - this is the default to accept everything
AlwaysDeny - this is the default for testing to reject everything
More refined admission control plug-in to come once basic framework is merged.
Want to get this upstream before we start looking at other verbs - resize, etc. so its not missed.

@erictune @smarterclayton - need a few more unit tests on resthandler, but let me know if you have any issues with current solution.

fixing up some stuff, please hold on review.

@erictune - this should be ready for review.  I am not sure why Travis is flaking on Go 1.2 only, and I poked it a few times to try to make it happy, but each time gives a different result.

@erictune - please take another look.  I removed the interface AdmissionControl , removed Client from Attributes and instead let it optionally be held by a plug-in implementation at initialization time if it needs to introspect the cluster to make a decision.  This makes the apiserver pieces simpler.  Thanks - I like this outcome better than what I first hacked.

LGTM.


POST json from localhost gives error 500 and cors warning

Behaviour
Hosted app

GET -> works
POST -> works

Localhost app

GET -> works
POST -> doesn't work

Anyone here did ever succeeded in posting json from localhost?

man my head is almost bald..post not working at all ..any greenlight

So everybody try client requests after uploading the app by ftp on a hosted environnement?
👂

@jameskandau did you find a solution?

Same problem here. When making get request from local host it works but POST request give the:
(index):1 Failed to load http://mysite.com/postrequest: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. The response had HTTP status code 500.

Same here...

I FINALLY found a way!
Instead of using :
    return fetch(url, {
      method: 'POST',
      headers: {
        'Accept': 'application/json',
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        payload: payload,
      }),
  })

Use 'application/x-www-form-urlencoded and qsmodule (will stringify your payload on multi nested levels: npm i qs --save )
import qs from 'qs';

...

    return fetch(url, {
      method: 'POST',
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
      },
      body: qs.stringify(payload),
    })
    .then((response) => {
      ..
    }


feat!: helm chart and base image refactor DO NOT MERGE

Individual commits for the specific changes at a high level this pr removes the need for hostPID (container is still privileged)

remove lvmd as a independent ds it can still be external or embedded
in embedded mode runs lvmd in its own container within the pod created by the DS
moves the socket for inter-process communication to a emptydir()
removes the dependency on the host having /sbin/lvm in the distro
adds logging of the lvm command line (base64 encoded)
Removes uselegacy
moves CRDs to the crd folder for safer uninstall/reinstall

I really don't expect to see this PR merged but the feedback is useful and I will pull the parts out that make sense and submit as bit size PRs.

@ryanfaircloth
hostPID is needed because lvm command should run in the host namespaces due to its posix semaphore usage.

@ryanfaircloth
This PR is too big for me (as you said). Please make it smaller to solve a specific problem when you send the next PR, even if you need feedback.

I leave my comments for each commit.
7b33e32874e1244b19ef65d423204366ac9fc247
Since it is hard for existing users to migrate from the old API group to the new one, we don't want to delete it. So I decline this.
6cdae0549be75eb5ea9cb5912371871f633b7c68
I suppose there are both advantages and disadvantages to this change. Also, this is a break, we should separate it from the PR if you want to continue.
5c9d8599730fc53f1e9dfd04fd2e00f5c88f8904
This was introduced by the contributor for IaaS environments. We have less knowledge of them, it may work well, but this is a break. Please separate it.
f62a1ac3d802fe8d3408c1b1b2b77c501ab99133
We want users to choose to use priorityClasses. I object to this.
3cce93dcaab5c5afd4097aff6c81b5786ce4a9e6
We are familiar with Ubuntu and chose Ubuntu because of its ease of maintenance rather than image size. I decline it.

I leave my comments for each commit.
7b33e32 Since it is hard for existing users to migrate from the old API group to the new one, we don't want to delete it. So I decline this.
6cdae05 I suppose there are both advantages and disadvantages to this change. Also, this is a break, we should separate it from the PR if you want to continue.
5c9d859 This was introduced by the contributor for IaaS environments. We have less knowledge of them, it may work well, but this is a break. Please separate it.
f62a1ac We want users to choose to use priorityClasses. I object to this.
3cce93d We are familiar with Ubuntu and chose Ubuntu because of its ease of maintenance rather than image size. I decline it.

Thanks I will keep this open for easy access to the feedback and close it off when I've proposed the smaller PRs for proper discussion.


InsighOps handler is missing (but is present in monolog)

Hello,
InsightOps handler is supported on Monolog since the 10 Sep 2017
Yet, when I try to configure it on Symfony side with MonologBundle v3.4.0): There is no handler class defined for handler "insightops"`
monolog:
    handlers:
        main:
            type: fingers_crossed
            action_level: error
            handler: insightops
            excluded_http_codes: [404, 405]
        console:
            type: console
            process_psr_3_messages: false
            channels: ["!event", "!doctrine"]
        insightops:
            type: insightops
            token: xxxxxx-xxxxxx-xxxxx
            region: eu
            level: info

(also the region key seems not to be supported inside the Configuration of the array node)

Hello @tristanbes
Would you mind to submit a PR?

@lyrixx done, i'm testing it in 2 minutes on my local. #312


don't surface occassional execptions when we attept to accerlate the …

…update center data download
Have typically seen an NPE attempting to get data on newer versions of jenkins core ... when seen, on the first start up only

/lgtm

/cherrypick openshift-3.11


Refactor Yamux

Description of the Change
After transport interfaces changed and a new adaptor paradigm was introduced, Yamux had to be changed. Also, the Streams now rely on Continuable library.
Benefits
Yamux works.
Possible Drawbacks
None.

WIP