Is it possible to use ABSL flags in a child process?

I am trying to use the FLAGS values on a application which uses multiple process (python multiprocess lib) with pipe objects, but, when I try to access those values on a child process I get the error absl.flags._exceptions.UnparsedFlagAccessError: Trying to access flag --tracking before flags were parsed  .
I think that I am getting this error because when I try to spawn a new process, it not run the app.run() function again on each function that is called by  b_proc = Process(target=modes, args=[receiver])
Is there a way to solve it without the need to parse each FLAG value to a list and pass it to the child process as a argument?
code Example:

import multiprocessing as mp
from multiprocessing import Pool, Process, Value, Array
from absl import app, flags, logging
from absl.flags import FLAGS

flags.DEFINE_boolean('tracking', False, 'new tracking')

def modes(detection):
    print('start streaming')
    print(type(detection))
    FLAGS = flags.FLAGS
    if FLAGS.tracking:
        time.sleep(10)
        track=get_track(detection)
        np.savetxt("my_track.txt", track, newline="\n")
    else:
        streaming(detection)

def main(argv):
    receiver , sender = mp.Pipe()
    b_proc = Process(target=modes, args=[receiver])

if __name__ == "__main__":
    try:
        app.run(main)
    except SystemExit:
        pass

Within Google the use of multiprocessing is rare as it doesn't work in our environment for a variety of reasons not worth getting into here.  But what this does mean is that we haven't designed absl with that in mind.
What it'd take for it to work with multiprocessing using the safe spawn method of child process creation would be a way for such spawned children to get their own copy of the global FLAGS containing the same values.
At a quick glance, you can probably do this without too much effort via FLAGS.append_flags_into_file() on the parent process side and FLAGS.read_flags_from_files('--flagfile=path/to/said/file') + .mark_as_parsed() in the child process before using FLAGS.

It work like a charm! thank you :)

How you figure out this problem, Can you post detailed code？ Thanks！


3487/smart refresh

NOTE: Hubflow closed the other PR since it was to hotfix 1.9.1.
Adds smart refresh for refresh workflow and refresh version. Smart refresh will only update a version if required (change on dockstore or on git). If a version has not been edited, it will be skipped. This is based mostly on whether the commit ID for a version has changed since the last refresh.
There is the case where the commit id has not been changed, however, a refresh needs to be done since changes were made on Dockstore. Perhaps the default path for a workflow was changed. This is solved by the synced column for workflow versions.
The new column synced represents whether or not a change has been made to a workflow/version on Dockstore since the last refresh was done. Any API call which edits a workflow (ex. change default path) or edits a version (ex. change workflow path) will set this bit to false. When a version is added for the first time or updated, synced is set to true.
There is also a new optional hard refresh option for refresh and refresh version (Default true). Setting this to true is equivalent to the current refresh implementation. When it is false, it will be a smart refresh. This smart refresh is what the refresh in the UI will call.
For the migration, the default value of synced is false. This is because any new version added should be refreshed.
The migration also sets all existing workflow versions to have synced as true. This probably requires some discussion. It assumes that no one has used the API to update a workflow or workflow version, since doing so doesn't automatically call refresh. In the UI, any changes to a workflow or workflow version is followed by a refresh.
https://github.com/dockstore/dockstore/issues/3487

NOTE: Hubflow closed the other PR since it was to hotfix 1.9.1.

Maybe too late now, but could the PR have been reopened and then targeted to the new branch? Or maybe GitHub won't let you reopen it against a non-existent branch? Would have been nice for the conversation to carry over... But no biggie.

@coverbeck it looked like there wasn't an option for reopening the PR.

@coverbeck it looked like there wasn't an option for reopening the PR.

Bummer. Yeah, I saw the button to reopen, but didn't pay close attention that it is disabled. And when I hover over it, it says it can't reopen because the branch doesn't exist.


DRDT-33: Install ACF Pro and update premium plugin repos

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-58
master
Result

Homepage
93
96
✔

Article
98
98
✔

Listicle
92
98
✘

Page
98
98
✔

Hub
97
86
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-58. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

Congrats! Frontend performance tests passed!
Full Lighthouse performance results:

Page/Branch
pr-58
master
Result

Homepage
93
97
✔

Article
97
98
✔

Listicle
97
98
✔

Page
98
98
✔

Hub
97
96
✔

(Note: Tests are against the NOADS version of the pages!)


improve docs

Opening this PR just to get some initial feedback and also to make the docs more of a collaborative effort. ;)
Will add comments where I need help/feedback on things.
(note to @krnowak will of course redo commits before merging.)

@asymmetric Adjusted based on your suggestions.

Rebased on latest master and merged into one commit. Will write sensible commits once @krnowak has a look again in case he has anything else to suggest.

@asymmetric @krnowak Fixed the docs as agreed, can you have another look.

LFAD.


How can we pass authentication/authorization data more implicitly?

Today, transferring user data (I'll call it token) between usecases and sometimes even between applications always ends up requiring the creation of explicit variables in use cases, middlewares, manipulation classes, etc.
How can we define a convention or sometimes even some new functionality in Herbs for passing user tokens via context?

I think it would be nice to understand the issue if we had a sample code and how it is a problem today.


support for WebAppSSSLBinding to add cert to AppService

Hi,
It looks like SDK only supports AppServiceCertificates, need to support importing extenally issued certificate, similar to Powershell:
New-AzureRmWebAppSSLBinding -ResourceGroupName app1 -WebAppName app100 -SslState SniEnabled -Name app100.azuredemos.us
-CertificateFilePath C:\temp\app100.pfx
Could sample python-sdk code be created for the SSL binding, similar to Powershell.
Azure CLI similar functionality:
https://github.com/Azure/azure-cli/blob/dev/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/custom.py#L1426

Thank for the issue Will look at this asap.


Support different types for hash key and range key

get, delete and so on take the key as (key: (Symbol, K)*), but this means that all the components of the primary key have to have the same type K. This seems like quite a special case to me.
For example, in my app, the hash key is a RecipeId (with a DynamoFormat to persist it as a string) and the range key is the build number, an Int.
What about just providing 2 versions of each method that requires a key? e.g.
def get[K, T](client: AmazonDynamoDB)(tableName: String)(hashkey: (Symbol, K))
    (implicit fk: DynamoFormat[K], ft: DynamoFormat[T]): Option[ValidatedNel[DynamoReadError, T]] = ...

def get[HK, RK, T](client: AmazonDynamoDB)(tableName: String)(hashkey: (Symbol, HK), rangekey: (Symbol, RK))
    (implicit fhk: DynamoFormat[HK], frk: DynamoFormat[RK], ft: DynamoFormat[T]): Option[ValidatedNel[DynamoReadError, T]] = ...

The varargs param strikes me as a bit odd anyway, as you will only ever pass exactly 1 or 2 keys.
I can put a PR together if you're happy with this suggestion.

:+1:

:+1:

This is addressed along with one or two other things by #8

I've just made a 0.2.0 release which supports different types for hash and range keys on get/put/delete.


Add MP4, MKV, MOV, FLV codec information to windows explorer columns

Description of the new feature / enhancement
Windows explorer has a whole bunch of colums which can be turned on and off, and many are intended for videos but only work for older container formats. X/H264 shows some properties in explorer, but there are now many other codec variants like VP9 and H265. Please can the wizards who know how to write shell extensions add support for what are now common video codecs?
It also bothers me that there is 'Frame Width' and 'Frame Height' (which are useful and more likely to work than other columns) but images don't use this and have a combined 'Dimensions' column. Why not just have one set of columns for both file types? Also, music uses 'Duration' and videos use 'Length'. So inconsistent and overly complicated!
Scenario when this would be used?
Currently, to find out this information you have to use an external application like MediaInfo, but it generally only does one file at a time. It's also impossible to use windows search on these pieces of metadata.
Frankly I find it crazy that windows doesn't already do this better.
Supporting information
There is already a shell extension for matroska (MKV), which can be found here; https://github.com/Matroska-Org/matroskautils/tree/master/ShellExtension

there is 'Frame Width' and 'Frame Height' (which are useful and more likely to work than other columns) but images don't use this and have a combined 'Dimensions' column

Images don't have frames like a video does. And if I'm correct, for an image there are width, height, and width x height labels.

Ok, sure. What I meant was 'Frame Width' and 'Frame Height' could be replaced with 'Width' and 'Height'. If 'Dimension' is just using these values it would then also work for videos, although I don't see what the point of it is since it's far more useful to sort them separately. Having a 'Resolution' calculation (in Megapixels) would be better, because you can then group together files with the same overall number of pixels (per frame if a video).
In regards to using feedback hub, it's that the same as shouting my complaint into a pillow? I've made suggestions there before and never heard any more about it. At least here I can see if/when progress is made with it.

Feedback hub is a better spot for this.

Feedback hub

For now, you can use the sheet view in MediaInfo. Run the program, use select a folder to examine, load the folder containing the videos, and then switch to sheet view. Before that, you have to go to preferences, customize the sheet by editing it, and then add video height and width columns.

@monkeylove I already have MediaInfo, but I want to be able to group/filter by those columns in windows explorer, so it's not helpful.

This is in reference to your point that MediaInfo can only do one file at a time. If you follow the instructions I gave, it can load all files in a folder and display them in sheet mode. This is the best it can do.
In Windows explorer, I think frame height and width work, but not for MKV. For some reason, Windows won't show them even in file properties.


Widget doesn't show up

I can open the app and change settings but the app doesn't appear on my home screen

I've just published a new beta update, let me know if the problem persists.

I've just published a new beta update, let me know if the problem persists.

I've found out that for me the problem is the clock...if I try to add it onto the main screen, everything else disappears.

@MJ8260 that's interesting!
Could you please test that? If you hide the clock the widget appears?
Have you set a custom application to open when tapping on the clock?

Yes, I did. And yes, It does.
After doing what you asked yesterday, I reset it several times and tried
each feature at a time...the one that makes it all disappear is the clock -
if I make it visible (and with the clock as its default app) everything in
the widget in the home screen vanishes.
On Tue, 5 May 2020 at 09:22, Tommaso Berlose<EMAIL_ADDRESS>wrote:

@MJ8260 https://github.com/MJ8260 that's interesting!
Could you please test that? If you hide the clock the widget appears?
Have you set a custom application to open when tapping on the clock?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tommasoberlose/another-widget/issues/51#issuecomment-623922699,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOFJCDYUX6VR3LQOU35CYTRP7EDJANCNFSM4MY7OFQA
.

@MJ8260, @iiclocks
I've just published a new beta updated. Let me know if you have the chance to try it.

Some progress!! Now the widget doesn't completely disappear but the clock
still doesn't show up. Funnily though, if I touch the space where the
clock's meant to be, it takes me to the clock app!
On Tue, 5 May 2020 at 10:36, Tommaso Berlose<EMAIL_ADDRESS>wrote:

@MJ8260 https://github.com/MJ8260, @iiclocks
https://github.com/iiclocks
I've just published a new beta updated. Let me know if you have the chance
to try it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tommasoberlose/another-widget/issues/51#issuecomment-623954504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOFJCGHYUO5KJRNGPB4PILRP7MYNANCNFSM4MY7OFQA
.

@MJ8260 any update about this bug after the last beta update?

I've just re-installed it and now it crashes...doesn't even open :(
On Wed, 6 May 2020 at 15:23, Tommaso Berlose<EMAIL_ADDRESS>wrote:

@MJ8260 https://github.com/MJ8260 any update about this bug after the
last beta update?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tommasoberlose/another-widget/issues/51#issuecomment-624674799,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOFJCA2RTRNCRSAXLQLAGLRQFXGXANCNFSM4MY7OFQA
.

I've just re-installed it and now it crashes...doesn't even open :(
…
On Wed, 6 May 2020 at 15:23, Tommaso Berlose @.***> wrote: @MJ8260 https://github.com/MJ8260 any update about this bug after the last beta update? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#51 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APOFJCA2RTRNCRSAXLQLAGLRQFXGXANCNFSM4MY7OFQA .

Please try the last update, code version 71 (you can check it in the advanced settings).

I can only get the previous version (70).
On Wed, 6 May 2020, 20:18 Tommaso Berlose<EMAIL_ADDRESS>wrote:

I've just re-installed it and now it crashes...doesn't even open :(
… <#m_-5919954187957632426_>
On Wed, 6 May 2020 at 15:23, Tommaso Berlose @.***> wrote: @MJ8260
https://github.com/MJ8260 https://github.com/MJ8260 any update about
this bug after the last beta update? — You are receiving this because you
were mentioned. Reply to this email directly, view it on GitHub <#51
(comment)
https://github.com/tommasoberlose/another-widget/issues/51#issuecomment-624674799>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOFJCA2RTRNCRSAXLQLAGLRQFXGXANCNFSM4MY7OFQA
.
Please try the last update, code version 71 (you can check it in the
advanced settings).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tommasoberlose/another-widget/issues/51#issuecomment-624839403,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOFJCGOKCOMRG2MK4EZQLTRQGZYJANCNFSM4MY7OFQA
.

@MJ8260 did u try resizing the widget? Though by default it is 5x1 i believe, i can enlarge it to fill the whole homescreen, but of course the texts don't increase in size, just the space the widget occupies. I found that in much earlier versions the issue of some text being chopped off can be fixed temporarily by slightly enlarging the widget size, maybe you can try that and see if it hotfixes it?


Bug 1171898 - Box call arguments in ExternalInterface before invoking registered callbacks

r? @yurydelendik

Review ping.

Looks good

Review status: 0 of 1 files reviewed, 1 unresolved discussion, all commit checks successful.

src/flash/external/ExternalInterface.ts, line 89 [r1] (raw file):
(I don't think it would be a case here but) can you compare for not-null using arg !== null to avoid potential valueOf call.

Comments from the review on Reviewable.io

Review status: all files reviewed, 1 unresolved discussion, all commit checks successful.
Reviewed files:

src/flash/external/ExternalInterface.ts @ r1

Comments from the review on Reviewable.io

Review status: all files reviewed, 2 unresolved discussions, all commit checks successful.

src/flash/external/ExternalInterface.ts, line 84 [r1] (raw file):
on second thought, also keep this as (args != null)

Comments from the review on Reviewable.io

Thanks for the review. I opted not to make the changes you requested, for the reasons given below.

Review status: all files reviewed, 2 unresolved discussions, all commit checks successful.

src/flash/external/ExternalInterface.ts, line 84 [r1] (raw file):
Same as for the other check: a valueOf call can't happen here, making the check equivalent with what you propose for all intents and purposes.

src/flash/external/ExternalInterface.ts, line 89 [r1] (raw file):
A valueOf can't happen here: objects are always truthy, without any further checks. (The only exception is document.all, but that doesn't apply here, obviously.

Comments from the review on Reviewable.io


[#115845521] Remove $DEPLOY_ENV from bosh-cli execution in Makefile

What
As we have changed bosh-cli behaviour in previous PR we need to modify
Makefile to behave accordingly.
How to review
run make dev bosh-cli
Who can review
not @jimconner or @combor

thanks!


🚀 [Feature] Design Authentik EMails

🚀 Feature

Design Authentik EMails
As DreamMall we want to have registration, forgot password and other emails with an DreamMall design so that the Users that receive an EMail don't get confused by the Authentik logo.
Currently it looks like this:

Hint: There is a existing Design in Brevo for DM EMails

The Authentik EMails are designed via a html and a txt file with special template syntax.
The default files can be viewed here:
https://github.com/goauthentik/authentik/tree/main/authentik/stages/email/templates/email
The template syntax is described here:
https://docs.goauthentik.io/docs/flow/stages/email/#custom-templates
There is 3 important EMails:

Account Confirmation
Forgot Password
Event Notification

To test you can go to https://stage1.dreammall.earth/ and register an account with the Sign UpButton in the top right corner or on small devices in the burger menu on the same position.

Closed in favor of https://github.com/dreammall-earth/dreammall.earth/issues/2211#issuecomment-2404440102


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_cbb41728-5aa3-4a6a-acde-8d27de92e496/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_cbb41728-5aa3-4a6a-acde-8d27de92e496.git

Docs Build status updates of commit 6436951:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-07-20-02-05-49 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


kafkatest: Deploy VerifiableClient in constructor to avoid test timeouts

Previous to this fix a plugged-in verifiable client, such as
confluent-kafka-python, would be deployed on the node in the background
worker thread as the client was started. Since this could be time consuming
(e.g., 10+ seconds) and since the main test thread would continue to
operate, it was common for the current test to time out waiting
for e.g. the verifiable producer to produce messages while it was in fact
still deploying.
The fix here is to deploy the verifiable client on the node when
the verifiable client is instantiated, which is thus a blocking
operation on the main test thread, avoiding any test-based timeouts.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Link to tests: http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2020-05-20--001.1589989080--edenhill--verifclt_deploy--227c13b64/report.html


Refactor PromptUI

Desired Outcome
PromptUI was causing several issues on Windows cmd/powershell prompts:

ANSI control characters printing and excess newlines on user input (WORKAROUND)
Windows bell on every backspace (WORKAROUND)
Occasionally prompts are printed multiple times due to stdout sync issues
Inability to use arrow keys for navigation when in a prompt
Hijacks the background color in Windows powershell (blue -> black)

Rather than continue to pursue workarounds and fixes in PromptUI, I did some experimenting with Survey. In my testing, it appears that the Survey library has much better support for Window while still being cross-platform.
Implemented Changes

Implement the same prompt functionality with survey
Improve tests relying on simulated user input

Virtual terminal functionality in tests inspired by https://github.com/cli/cli/pull/4831
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog

[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code
changes, or
[x] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: [insert issue ID]
[x] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
[x] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[ ] These changes are part of a larger initiative with a separate security review, or
[x] There are no security aspects to these changes

This was reverted in #95


NETOBSERV-1400 Feature filters are observed even though they are not enabled

Description

remove duplicate DSCP field
fix fields :

DNSLatency
Duration
Collection time
Collection latency

ICMP removed from default
fix ICMP code filter

Dependencies
https://github.com/netobserv/network-observability-console-plugin/pull/427/files
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


[BEAM-3356] Add builtin varint coder for the Go SDK

The varint coder is a standard coder and should be supported.

R: @wcn3

r:@lcwik please merge.

R:@lukecwik please merge


Fix non-standard usage of <sys/poll.h>

Fixes the following build warning with musl libc:
In file included from ../src/util/rfkill.cpp:24:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~

Thanks!


[CI][C++] Add a testing coverage tool

It would be good to estimate what fraction of the code the tests cover. Using a tool such as CodeCov or Coveralls maybe helpful
Reporter: Benson Muite / @bkmgit
Related issues:

[TESTS] Add a testing coverage tool (fixes)
[C++] Organize tests in scalar_compare_test.cc (is depended upon by)

Note: This issue was originally created as ARROW-15308. Please see the migration documentation for further details.

This is a duplicate of GH-31212


Invalid prop dataField of type array supplied to DateRange, expected string.

Hello
I wanted to filter data by date. I have two fields "startDate" and "endDate" so I opted to use the DateRange with the option of using two fields in dataField...
In the official documentation of the DateRange is written:
dataField String or Array
database field(s) to be connected to the component’s UI view.
https://opensource.appbase.io/reactive-manual/range-components/daterange.html
But when I use an array of two strings I get a warning Invalid prop dataField of type array supplied to DateRange, expected string.
             <DateRange                   ...                   dataField={["MY_START_DATE", "MY_END_DATE"]}                   ...                  />

This is because, we support only one field (hence string) in the DateRange component. If you wish to use two fields in this component, I'd suggest you to use a customQuery. Check this codesandbox for example.

Thanks for bringing this up. Track the progress here: https://github.com/appbaseio/reactivesearch/issues/421

This can be closed now.


EKF: Improvements to accuracy reporting and alignment

Note: needs to used in conjunction with https://github.com/PX4/Firmware/pull/3826 for full benefit
Use reported GPS accuracy to set observation noise, but keeps noise between limits set by parameters. This reduces the sensitivity to variations in GPS accuracy
Adjust initial diagonal elements in the covariance matrix to provide a more consistent alignment
Publish the EKF horizontal and vertical position 1-sigma error estimates
Monitor tilt error decay during alignment and don't align yaw and declare the EKF output as valid until tilt errors have decayed.
Change to use of the most recent IMU data from the buffer to do the initial tilt alignment because the non-buffered data being used was vulnerable to a race condition that could make it zero.
Fix a bug that caused an incorrect sign in initial roll when aligning from inverted.
Alignment has been tested from a number of starting orientations - upright and inverted. A single flight has been performed to verify that the normal post alignment prediction and fusion functions operate as expected. The position innovation variances can now be seen to adjust as the GPS EPH increases.
GPS EPH and EPV

GPS position innovations

GPS velocity innovations

Magnetometer innovations

Barometer innovations

@priseborough Tested initialising inverted while shaking, seemed to handle it nicely!

Travis is unhappy about a mathlib include, so i will take a look at that tomorrow

@priseborough use "mathlib.h" directly instead, after rebasing on top of latest master

I've rebased on master and fixed the Travis message

Chasing up an observed behaviour with horizon errors during bench testing - will re-open when resolved

I will break this up into two PR's - one for the essential alignment fixes, and one for the status reporting.


Extractors should use KYTHE_CORPUS env variable if corpus is unset in vnames.json

This allows easily re-using the same vnames.json for different corpora without any changes. Some of our extractors already do this, but others will need adjusting.

Feature request for java: https://github.com/kythe/kythe/issues/4389.

KYTHE_CORPUS should go in the compilation unit VName, which can then be used in the file vnames if the vname rewrite rules would leave it with an empty corpus.


Support PTVSD debugging in the container

Now that the job is running in the container, we'll have to do remote debugging to debug this in VSCode. I think all we'd have to do is add the ptvsd module to the requirements and have a way to change the run command to
-m ptvsd --host localhost --port 5678 --wait run_jobs.py
Maybe by using a custom shell script to start in debug verses non-debug?
Python code could also set this up verses using the CLI syntax.

We could probably also just have a separate docker-compose file for ptvsd and would pass this command.


Not an issue just a question.

How can i get the skybox to update to a custom skybox? I've tried countless amounts of times to change it I just cant seem to get anything to work? Is it baked in? Like I changed the cubemap in the lighting tab while in unity however it still keeps displaying the default cloud skybox?

How can i get the skybox to update to a custom skybox? I've tried countless amounts of times to change it I just cant seem to get anything to work? Is it baked in? Like I changed the cubemap in the lighting tab while in unity however it still keeps displaying the default cloud skybox?

create a new volume profile


Slight changes to README

The download link did no longer function. Changed to Apache archives, which should be around "forever".

Accepted by self as the changes has been discussed with halina.


Table sorting icon is working when user do the second click on arrow

Hi, I'm implementing the sorting in my table but only works when user do the 2 click in the arrow,
Is there a way to set the sorting in the first user click all the time?
Thanks

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

React

Browser

TypeScript

etc.

@cristinarojas material-table is a third-party project, head to http://material-table.com/. If you are looking for the same component but supported by Material-UI, head to https://material-ui.com/components/data-grid/.


Flatter tiles

The tiles look quite dated with the massive bevel. How about a flatter look for the GUI redesign?

The contrast of the blue tile borders could be a bit higher, I admit...
(Could be_control_look->DrawTextControlBorder() be used?)

How about a flatter look for the GUI redesign?

Yes. Also, the dark blue background is kind of depressing. Perhaps a lighter color scheme like the image below?

Using the default panel background colour is a good idea, I think. Not sure if labeled buttons are better than icon buttons.
What'd be nice is if the tiles would re-size along with the window and board size. So the tiles of a 3x3 would be bigger, filling the available space. Possible?

How about something like this:

or:

The Level pop-up could have a spinner widget, I guess...
If you wanna "mock" about some more, I can upload the wonderbrush file.
Those 3 small buttons:

colours: change the on/off colours randomly with every click on the button.
speaker: sound on/off
?: show documentation

I like your idea of getting rid of the menu bar. Regarding the navigation buttons, the user might confuse the "restart" button with "undo"? What about a set of 4 buttons below?

What'd be nice is if the tiles would re-size along with the window and board size. So the tiles of a 3x3 would be bigger, filling the available space. Possible?

Yes with #57.

What about a set of 4 buttons below?

Yes. Maybe the buttons of MediaPlayer can be re-used, though it seems to draw those symbols explicitely. I'd have thought there were UTF characters for those, but can't find any in the Noto font...
Maybe try in the direction of the 2nd mockup: board, move counter, buttons. I think the buttons should stay close to the move counter as they are related in a way, and the counter shows a reaction to the use of the buttons.

Maybe try in the direction of the 2nd mockup

I wanted to say: the 1st mockup... :)


crash on helix

Hello,
Thank you for your initiative.
I've tried to configure helix as mentioned in the examples directory with :
[language-server.lsp-ai.config.models.model1]
  type = "llama_cpp"
  repository = "stabilityai/stable-code-3b"
  name = "stable-code-3b-Q5_K_M.gguf"
  n_ctx = 2048

[language-server.lsp-ai.config.completion]
  model = "model1"

[language-server.lsp-ai.config.completion.parameters]
  max_tokens = 32
  max_context = 1024

[language-server.lsp-ai.config.completion.parameters.fim]
  start = "<fim_prefix>"
  middle = "<fim_suffix>"
  end = "<fim_middle>"

When I try to use it, I get the following error:
2024-08-08T19:46:48.116 helix_lsp::transport [ERROR] Exiting lsp-ai after unexpected error: Parse(Error("data did not match any variant of untagged enum ServerMessage", line: 0, column: 0))
2024-08-08T19:46:50.389 helix_lsp::transport [ERROR] lsp-ai err <- "ERROR lsp_ai::transformer_worker: sending response: \"SendError(..)\"\n"

Any idea ?

Oh that is interesting. I don't know if I have seen that error before.
Try enabling logging as seen in the wiki here: https://github.com/SilasMarvin/lsp-ai/wiki/Debugging
export LSP_AI_LOG=DEBUG

Before opening Helix, can you clear the log file:
rm ~/.cache/helix/helix.log

After opening it can you share the log file here.
Thanks!

Hi @SilasMarvin ,
Sorry for delayed response, after set log in DEBUG, it seems worked now on the same project (which have a little bit evolved since my last try).
Very strange.
I'll keep you posted if I succeed to reproduce.

Glad to hear its working. I'm going to close this but feel free to submit a new issue if something goes wrong. You can also jump into the Discord if you have questions.


isDefined should count null as defined

Should isDefined not actually count null as being defined—as in be the exact opposite of isUndefined? Particularly since we already have isNil for null or undefined…

Well since you can define something as null, I would say isDefined is the thing that might be unexpected…

it may be nice to have something built-in.
Maybe the name could be changed, any suggestions?

I’m good with isNil, as also a Ruby fan… I think it’s opposite could be something like isntNil—to play nice with .filter—and then have isDefined be !== undefined, the opposite of isUndefined, as mentioned. What do you think?


elevation: 0 results in shadow on iOS

Tested on Tabris.js 2.x.
elevation 0 creates a square, hard shadow, although with 0, no shadow should be rendered.

Closing as resolved.


tests: prepare local development test cluster

In order to have a local working cluster the following things need to be done:

[x] Make current configuration in https://github.com/reanahub/reana-resources-k8s abstract, so local/production configuration can be automatically generated on demand. (https://github.com/reanahub/reana-resources-k8s/issues/17)
[x] Deploy current system using minikube.
[x] Create a CephFS cluster. Use host directories to mock distributed file system.
[x] Add documentation to deploy and test locally. (https://github.com/reanahub/reana/issues/4)
[x] Create hello world example. (https://github.com/reanahub/reana-demo-helloworld/issues/2)

Perhaps Vagrant sync folders can be used? I had a good experience with shared folders in a multi-VM environment for light cache sharing (some R/W, but mostly R/O accesses by VMs). I did not test any heavy R/W race conditions at the time though...

perhaps for super local environment, just a mounted host directory could be used?

If we suppose that the local environment is always going to be run in only one VM we could. This is true for the current minikube version, which creates the full cluster in one VM, but we do not know what will happen in the near future or even if we will want more than one VM for some reason.
Shall we stay simple for now and try host directories and let see what happens later?

Shall we stay simple for now and try host directories and let see what happens later?

Sounds good! 👍

The local development environment is now available. The docs have been added. Closing the issue.

@tiborsimko can you please point to the appropriate docs?


Ignore Spark marker files when performing Parquet Scans

When Spark writes parquet files out it creates non-data files as part of the write.
these include _metadata, _common_metadata, _SUCCESS, and *.crc checksum files. We should instead filter these out!
Checkout Pyarrow's implementation for this. https://github.com/apache/arrow/blob/eb7be48ef80fcecea11be29320b244df82f1cc06/python/pyarrow/parquet.py#L556

end behavior should allow user to run
daft.read_parquet("s3://path/to/data")

that has marker files but it is still able to work

Do we want to be filtering out files like _metadata, _common_metadata, _SUCCESS, and *.crc. Or, would it be easier to just filter out files that don't have .parq or .parquet extension (or .csv .json for that matter).

I think it would be a better user experience if we filter out the above files. Many systems actually don't write out with a .parquet extension or may write out files that look like .parquet.0000 or something like that


Correct GRS and GZRS replication strategy

Specify replication stratgety to secondardy region for GRS and GZRS to be asynchronous

@tarunngc : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@tarunngc - Thanks for your contribution. However, the doc is correct as it is. Within the secondary region, all replication happens with LRS, and it is synchronous.
Between the primary and secondary regions, replication is asynchronous.
#please-close


⚡ Integrate analyzers

This integrates the Bang.Analyzers package in Murder. Good Stuff!
Glad it's already doing the works: There were many non-readonly structs (and even a class component!)
Now we need to talk about the other violations so you can confirm to me they are actual violations:

All IMessagerSystems have Filters that are taking Components. Is this correct? If yes, we need to change the analyzer, since it expects Messager systems to be filtered by messages and not components.
All IReactiveSystems are not using the Filter attribute at all. Is this correct? Right now Filter is mandatory for every system Watch is mandatory for reactive systems. If the Watch attribute is supposed to be used INSTEAD of the Filter attribute, then this needs to be changed in the analyzers as well

Also there's one proper violation in FullscreenShortcutListener, a system that does not act on any component 🕵 . This is either something that needs to be changed or we can slap a  #pragma because this is a valid exception

This is sooo helpful!! Very interesting questions.

Also there's one proper violation in FullscreenShortcutListener, a system that does not act on any component

I think we want a [Filter(ContextAccessorFilter.None)] for that one!

All IMessagerSystems have Filters that are taking Components. Is this correct? If yes, we need to change the analyzer, since it expects Messager systems to be filtered by messages and not components.

So the MessagerAttribute should have only messages, but the FilterAttribute still expects to receive components (so we can filter which entities are receiving messages).

All IReactiveSystems are not using the Filter attribute at all. Is this correct? Right now Filter is mandatory for every system Watch is mandatory for reactive systems. If the Watch attribute is supposed to be used INSTEAD of the Filter attribute, then this needs to be changed in the analyzers as well

I think that's because most of the reactive systems don't care which entities come in. Maybe we can make this optional for reactive systems specifically (and probably messagers)? Some do use a filter, some just don't use any (and receive all the entities)

Thanks for the thoroughness!
For clarity, the changes needed are:

Making FilterAttribute expect components even in IMessagerSystems
Making FilterAttribute optional for IReactiveSystem and IMessagerSystem but mandatory everywhere else (better be explicit with [Filter(ContextAccessorFilter.None)] so you know you're not filtering)


integrate synthranger's viewmodel class

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

i made a recent commit in 7f632b9,i haven't tested it though, go check for yourself


Dataset browser may not be very useful

Currently, it allows to search for and download individual files. I imagine site visitors won’t typically use it this way. Perhaps they would like some means to download related data as they make their way through other documentation, or something else. Before committing to improvements on the dataset browser, it would help to discuss the use scenarios and patterns for dataset access by site visitors.

I agree.
We (Anne and I) need to put some high level content in place.
This is a great start!

On Mar 18, 2022, at 10:25 AM, Anton Strogonoff @.*** @.***>> wrote:
Currently, it allows to search for and download individual files. I imagine site visitors won’t typically use it this way. Perhaps they would like some means to download related data as they make their way through other documentation, or something else. Before committing to improvements on the dataset browser, it would help to discuss the use scenarios and patterns for dataset access by site visitors.
—
Reply to this email directly, view it on GitHub https://github.com/expresslang/ap210.org/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMMKVEKPXAKWOFQFSTI26TVASN7TANCNFSM5RCE662A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.

I have split up the pages to implement the site structure (#15) so I've disabled the dataset browser for now. Closing.


System Theme Detection doesn't work in Firefox

Description
In Firefox, changes to the System Theme do not reach the extension pages.

Even though:

my System is set to light
Website Theme is set to "Automatic"
layout.css.prefers-color-scheme.content-override = 2 is set. (so it uses system theme)
the themes i use don't have any properties or code that mess with color-sheme

This behaviour seems to be very related to issues the darkreader team had:
https://github.com/darkreader/darkreader/issues/9582
https://github.com/darkreader/darkreader/commit/29e9312d7ec81f5cbda19e9952856a00cd465912
Their fix seems to be to collect the messages:
matchMedia('(prefers-color-scheme: dark)').addEventListener("change", ({matches}) => console.log(matches))
from all tabs, and then manage the resulting mayhem by filtering duplicate messages.
i can't say i've been able to fully parse their code into my brain, it's quite a lot.
the core mechanism of matching media queries seems to be the only way though, and it's unreliability must just be accounted for.
System Information

OS: Windows 11
Firefox update branch: Release (regular)
Version 112.0.2 (64-bit)

Steps To Reproduce
Steps to reproduce the behaviour:

Open the extention tab, and execute matchMedia("(prefers-color-scheme: dark)").matches
Always returns true. Always.

Expected behaviour
It should return false in System Light Mode

Interestingly, the system theme doesn't reach the DevTool either. (i have it set to automatic - it is dark on every page)

Interestingly, the system theme doesn't reach the DevTool either. (i have it set to automatic - it is dark on every page)
For some pages ff just assumes dark, and never changes the theme - what a strange issue on their part
cus i have "light" specified everywhere that is remotely user facing

Using the prefixed (-moz-system-dark-theme) media query is one way of checking if the OS theme is dark or not, however it only seems to be allowed for privileged pages like about:preferences or in the actual browser.

Not sure if it would be possible to use this in a WebExtension context though.

Doesn't work :(

The listener didnt fire going from dark to light to dark
And the direct query always returned false

Did you run this from the browser toolbox?

On the bright side however that means my annoying-to-implement workaround wasn't invain

Did you run this from the browser toolbox?

I navigated to about:debugging, and opened the extension inspector

it's where the extension background script lives

my workaround has the disadvantage that it only works immediately if you are fcosing on a tab, that is not protected by firefox.
otherwise none of the contentScripts get the matchMedia change event - so you have to open a website, reload it, and focus the window
then it will update
but ig if you're not lurking on about:newtab, it kinda works

and if there was a better one, i figure the dark reader folks would've caught on

my workaround has the disadvantage that it only works immediately if you are fcosing on a tab, that is not protected by firefox. otherwise none of the contentScripts get the matchMedia change event - so you have to open a website, reload it, and focus the window then it will update
but ig if you're not lurking on about:newtab, it kinda works

I mean, if you've just got the new tab page open, you're probably not really using the web browser anyway so I don't see this as too big of an issue tbh. It seems to be working fine for me on Linux.

My patch?
If so i'm glad!
It probably will have broken the "only on startup thing"
Something another global variable could fix
But i didnt want to make too many changes

My patch? If so i'm glad!
It probably will have broken the "only on startup thing"
Something another global variable could fix But i didnt want to make too many changes

Yeah, your patch works really well. I don't see why it needs to send the window.location.href surely just the current color-scheme is sufficient?

Yeah just for logging

and if there was a better one, i figure the dark reader folks would’ve caught on

Sad thing is, Dark Reader only needs to run on unprotected tabs. So, matchMedia("(prefers-color-scheme: dark)").matches always works for it.
Maybe we can refer to #31

It seems like Firefox has been struggling to deal with system colour theme for a while. Like, in this repo, “system theme detection” issue has come out and been fixed for some times already.

It seems like Firefox has been struggling to deal with system colour theme for a while. Like, in this repo, “system theme detection” issue has come out and been fixed for some times already.

Hmm... in Firefox (on macOS) native "system theme" seems to work fine, same goes for page colours.
I just started using this theme and it seems great - it changed theme to the dark flavour last night but today it got stuck on dark one. For now I set fixed times (that maches my system) as a workaround and this seems to work...


Too difficult

as seen by other issues, the simple installation of this bot is too difficult for the unintelligent people that would actually want to kill servers with this thing

@DrMeepster I don't think that i can implement a bugfix for this.

You should just give us the invite link.

@HyperFlame1324 that would make Barsik responsible for what you do

@HyperFlame1324 You should just follow the readme tutorial.

JUST GIVE US THE BOT INVITE LINK

@P2468 You are cringe. Smh my head.

It's actually really easy. It took me two Google searches to follow instructions, if you really wanted to destroy a server, wouldn't you put some effort into it?

It's actually really easy. It took me two Google searches to follow instructions, if you really wanted to destroy a server, wouldn't you put some effort into it?

I totally agree with that. I´m not a programmer or something and it just took me some research and I could use the bot.
Btw. Thank you @Barsik008 for this super cool bot.

it doesnt work, i just tried it.. gave it all rights but i didnt get the ownership of the server

it doesnt work, i just tried it.. gave it all rights but i didnt get the ownership of the server

Who the heck thinks that this bot can overcome the entire DISCORD API and the DISCORD'S BACKEND?

"It doesn't work" doesn't help

it doesnt work, i just tried it.. gave it all rights but i didnt get the ownership of the server

Who the heck thinks that this bot can overcome the entire DISCORD API and the DISCORD'S BACKEND?

 Anyone have a fix for this?

my bot will not run when i try to run the StartBot file. Anyone have a fix for this?

this is the issue mocking people like you, not the place for you to ask for help without giving any information that could help you at all.

my bot will not run when i try to run the StartBot file. Anyone have a fix for this?

this is the issue mocking people like you, not the place for you to ask for help without giving any information that could help you at all.

when I try to run the file in the folder it simply pops up and then just immediately disappears also I tried the node bot.js command and that did not work because it said there was no such file

my bot will not run when i try to run the StartBot file. Anyone have a fix for this?

this is the issue mocking people like you, not the place for you to ask for help without giving any information that could help you at all.

pls help me

PLEASE HELP ive done everything correctly, except where do i enter the ! commands? and the bot doesnt start either, it just briefly opens and then disappears. thank you


Assertion error in integer overflow check

Describe the bug
Integer overflow analysis terminates with an AssertionError in some cases.
To Reproduce
Steps to reproduce the behavior:
$ $MYTH -xia 0xff8f2519ff90c844f41a79c50577d2f528849421
Traceback (most recent call last):
  File "/Users/bernhardmueller/Projects/mythril/myth", line 9, in <module>
    mythril.interfaces.cli.main()
  File "/Users/bernhardmueller/Projects/mythril/mythril/interfaces/cli.py", line 202, in main
    max_depth=args.max_depth)
  File "/Users/bernhardmueller/Projects/mythril/mythril/mythril.py", line 325, in fire_lasers
    issues = fire_lasers(sym, modules)
  File "/Users/bernhardmueller/Projects/mythril/mythril/analysis/security.py", line 20, in fire_lasers
    issues += module.execute(statespace)
  File "/Users/bernhardmueller/Projects/mythril/mythril/analysis/modules/integer.py", line 34, in execute
    issues += _check_integer_overflow(statespace, state, node)
  File "/Users/bernhardmueller/Projects/mythril/mythril/analysis/modules/integer.py", line 84, in _check_integer_overflow
    if not _verify_integer_overflow(statespace, node, expr, state, model, constraint, op0, op1):
  File "/Users/bernhardmueller/Projects/mythril/mythril/analysis/modules/integer.py", line 103, in _verify_integer_overflow
    interesting_usages = _search_children(statespace, node, expr, constraint=[constraint], index=node.states.index(state))
  File "/Users/bernhardmueller/Projects/mythril/mythril/analysis/modules/integer.py", line 234, in _search_children
    taint_result = TaintRunner.execute(statespace, node, state, initial_stack=taint_stack)
  File "/Users/bernhardmueller/Projects/mythril/mythril/laser/ethereum/taint_analysis.py", line 106, in execute
    records = TaintRunner.execute_node(node, record, index)
  File "/Users/bernhardmueller/Projects/mythril/mythril/laser/ethereum/taint_analysis.py", line 126, in execute_node
    records.append(TaintRunner.execute_state(records[-1], current_state))
  File "/Users/bernhardmueller/Projects/mythril/mythril/laser/ethereum/taint_analysis.py", line 131, in execute_state
    assert len(state.mstate.stack) == len(record.stack)
AssertionError

It is related to #286 . By using the latest version after the commit this was working fine.


Wrapped code in a function to allow re-use

This is about the simplest possible change wrapping the code in a function for re-use.
The function can be called with either interactive=True or interactive=False.

Out of curiosity, where would you like to reuse it?
The same thing happened to analyse-point-source-scans, and I'm not 100% convinced it's in a better state afterwards.
This old code also struggles with model-view-controller separation issues. It would make more sense to me to reuse the model part without the plots, but that requires partitioning the code at a lower level.

i have been using the code in this form (but only with interactive=False) for some time now, and thought others could possibly benefit from it too. i would ideally like to use this automation to perform an "Analysis of Variance" but currently my main use cases are
A: simply automating model fitting from CSV files, without generating figures
B: simple brute-force generation of filters for a set of CSV files (e.g. "including target X makes the fits consistently worse", etc)
i agree that it would be "better" to re-factor the code completely, but i can't commit to spending time on that at present.
for reference my workflow is approximately:
B: generating filters for a set of CSV files
B.1) construct a specific filter (e.g. omit certain targets, sun-elevation or wind-speed ranges)
B.2) apply the filter to a set of CSV files -> filteredCSV
B.3) run fit_model(filteredCSV, interactive=False) -> model
B.4) assess the "goodness of fit" of the updated model against filtered/un-filtered CSVs
B.5) repeat from A.1 to generate a set of filters, each with a quality metric
B.6) pick filters that meet the desired criteria

not worth wile following up on this now.


Configure circle.ci build and test run

Fix circle.ci configuration for running tests.

#21

Fixed in #43


Why did I get this runtime error?

I train DALLE in colab code that published by this page.
But I don't know that this runtime error occured..
please help me

This is because your images are in the RGBA format. You need to convert them to RGB format. PyImage can help do that.
img = Image.open(filename)
new_image = Image.new("RGBA", img.size, "WHITE") # Create a white rgba background
new_image.paste(img, (0, 0), img)              # Paste the image on the background.
new_image.convert('RGB').save(newfilename)

@yundaehyuck Hi! Try pulling the latest and rerunning https://github.com/lucidrains/DALLE-pytorch/commit/4fa108271aeb1972fcb118390ec15b656f2c328a , should take care of it for you!

@lucidrains Thanks a lot! Maybe it works for me. Once the error occurs, I will ask you again.


Improve Lakeroad Yosys integration

Closes uwsampl/lakeroad#277.

Going to merge this in, and then

[ ] Move all of the Lakeroad-related stuff onto its own branch
[ ] Make Lakeroad stuff build optionally; connect it to an external Lakeroad with the Yosys plugin system
[ ] Clean up Lakeroad and document it so that it can be externally used
[ ] Open PR on Yosys


[SPARK-42262][SQL] Table schema changes via V2SessionCatalog with HiveExternalCatalog

What changes were proposed in this pull request?

In the case of V2SessionCatalog.alterTable, SessionCatalog.alterTable is called for any type of modification. In case HiveExternalCatalog is configured, the alterTable method does not support schema modification. For schema modifications it is necessary to use alterTableDataSchema. For this particular case, operations like adding columns or changing columns are not working.
If we analyze the commands that perform column modifications in SessionCatalog (AlterTableChangeColumnCommand, AlterTableAddColumnsCommand) they use the alterTableDataSchema method for schema modification and not alterTable.
In this PR it is proposed that the modifications of the schema in V2sessionCatalog are done through the alterTableDataSchema method of the SessionCatalog.
Why are the changes needed?

To fix this bug
Does this PR introduce any user-facing change?

No
How was this patch tested?

A HiveExternalV2SessionCatalogSuite is introduced to launch the same tests as V2SessionCatalogTableSuite but with the hive catalog configured. Despite the improvements introduced not everything is supported for HiveExternalCatalog so some tests are excluded.

CC @cloud-fan @rdblue thanks!


Issue #30 not being reports as resolved in alpha release notes

I fixed issue #30 but its not listed in the release notes. I thoughts it would have appears in alpha 8 or 9 but its not in either.

Ah, thanks, I marked the issue as fixed in alpha 8.
Honza

I still dont see it listed as fixed in Alpha 8.

Yep, I know, I am asking here:
https://github.com/firebug/firebug.next/issues/313#issuecomment-75017806
Honza


Make SyliusRefundPlugin integration optional

Closed in https://github.com/CommerceWeavers/SyliusTpayPlugin/pull/175


[BUG] buttons not visible on MacOS after changing Dark Mode Accent Color in Style Settings plugin

Describe the bug

When I use Style Settings plugin to change Dark Mode Accent Color to anything but the default Teal, my UI buttons turn dark grey text on dark grey background. I reproduced this in the Obsidian Help vault, no snippets or plugins.
To Reproduce
Steps to reproduce the behavior (this is an example):

Activate Sanctum theme in Dark Mode with default styling and no CSS snippets
Open Style Settings plugin and change Dark Mode Accent Color to Pink
Click Community Plugins in settings and notice that the UI buttons are dark grey text on dark grey background

Expected behavior

Button background should be the selected accent color
Screenshots

Version [Desktop or Mobile]:
Desktop v0.13.23
Editor

New editor
Additional context

I can reproduce the issue. I've been taking a few days off from coding, but I'll get back in the coming couple days, so I'll probably release a small bug fixing update.

Thanks - that fixed it for the default install. However my own Style Settings snippet for changing dark accent color still produces the blank buttons. I'm trying to pick a custom accent color because I find the presets too muted. But there seems to be an incompatibility with how you implement accent colors. The following snippet uses custom color picker but produces the blank buttons bug. Do you have an additional CSS snippet that might protect the buttons from getting messed up like this, or another suggestion or fix?
/* @settings

name: Sanctum DS tweaks
id: ds-sanctum
settings:
	-
		id: color-accent-d
		title: DS Dark Mode Accent Color
		type: variable-color
		format: rgb-values
        	default: rgb(255, 51, 190)
*/

I found a CSS solution. I copied the button CSS code from your theme and modified slightly in the following snippet. I simply changed the Alpha channel syntax from slash format /0.9 to the older comma format , 0.9. Perhaps Obsidian and/or Style Settings doesn't fully support the slash syntax.
.theme-dark button.mod-cta {
    font-weight: var(--font-medium);
    background-color: rgba(var(--color-accent-d), 1.0);
    border: 1px solid var(--color-primary-0);
    box-shadow: 0px -1px 0px 0px rgba(8, 8, 8, 0.3) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.1);
}

.theme-dark button.mod-cta:hover {
  background-color: rgba(var(--color-accent-d), 0.9);
}
.theme-dark button.mod-cta:active {
  background-color: rgba(var(--color-accent-d), 1.0);
  box-shadow: 0px -1px 0px 0px rgba(8, 8, 8, 0.2) inset, 0px 1px 3px 1px rgba(8, 8, 8, 0.3) inset;
}


Ctrl+Alt+ keybindings should not be used by default under Windows.

run scripts\code.bat

On many keyboard layouts, Ctrl+Alt+[alphanum] are used for typing. It has to do with how AltGr+ works. We should therefore not ship by default any keybindings like that which might prohibit folks from typing on Windows.
Introduced via https://github.com/microsoft/vscode/commit/075664387464693a578454e80a3ad726d47d1dec

removed the shortcut for now


[REVIEW] Vijay Jaisankar

Portfolio link
https://vijay-jaisankar.github.io/

It isn't responsive - but I'll love feedback on this :)

Reviewed with the awesome EddieHub on live stream https://www.youtube.com/watch?v=e5EDm9S3m-4
Looks good, here are some thoughts:

project section, colours and font are difficult to read
the name/logo animate is very cool


Adds json parsing

This allows for a JObject to be provided to the the generator rather than a domain model object.

Taking a look now


ParameterBuilderPlugin not picking up custom objects from method input params

We are trying to write a parameter builder plugin to ease the docs generation.
We are using springfox-2.7.0 with spring-mvc-4.3.3.  We are not using spring-boot.
We have a couple of parameter resolvers configured in our mvc stack, so the mapping methods in our controllers look something like:
public List doStuff(
            @RequestParam(value = "id", required = false) String[] ids,
            @CustomAnnotation CustomClass custom
    ) {
   // A lot of magic
}

We would like to generate some automatic documentation for custom if it's annotated with @CustomAnnotation.
We are following various examples on how to write the plugin, and it mostly works. Our only problem is that our plugin is not invoked for custom input classes (in other words, the apply method of the plugin is not invoked for params as custom in the above example). We tried many combinations and we can see the plugin being fed and working with different types of fields:

Strings
Integers
Maps
etc.

But as soon as we provide a class from our own domain, the input parameter is completely skipped. Is this the expected behaviour? Is there any reason behind this? Is there a way to override this behaviour or force it?
Cheers

I think I have figured out what's the issue :\
The issue is OperationParameterReader. It sees our object as something to expand:
  private boolean shouldExpand(final ResolvedMethodParameter parameter, ResolvedType resolvedParamType) {
    return !parameter.hasParameterAnnotation(RequestBody.class)
        && !parameter.hasParameterAnnotation(RequestPart.class)
        && !isBaseType(typeNameFor(resolvedParamType.getErasedType()))
        && !resolvedParamType.getErasedType().isEnum()
        && !isContainerType(resolvedParamType)
        && !isMapType(resolvedParamType);

  }

Even if I can sorta see the reason behind that, if you use a custom object and don't want (can't) annotate it yourself, it would be useful to make it not expandable. In the current situation you can't even use a Guava Multimap :\

a Guava Multimap should resolve to a Map. You can indicate if a parameter needs to be expanded or not by using a RequestBody annotation of course. If you do want to use it as a non-body parameter you can implement your own ExpandedParameterBuilderPlugin rather than a OperationParameterReader plugin.

a Guava Multimap should resolve to a Map

Unfortunately they don't since they don't extend the Map interface.

If you do want to use it as a non-body parameter

Yes, this is the case

you can implement your own ExpandedParameterBuilderPlugin

Does this require me to use a specific annotation to trigger?

Unfortunately they don't since they don't extend the Map interface.

I realized as soon as I posted. I'll see how that can be handled.

Does this require me to use a specific annotation to trigger?

If its a regular bean then no. But if its a custom object reconstituted by an argument resolver (string -> custom object) it can be a little tricky to describe.

hi, pamput, you said
"The only solution I can see for now is to create an operation builder plugin instead of a parameter one",  how is it realized in detail?
@pamput


Register act_runner as ephemeral to Gitea

Feature Description
My idea is to

add a Ephemeral field to the database structure of the Runner
when the Ephemeral field is true let FetchTask return no task without error if the assigned task is in progress
when the Ephemeral field is true let FetchTask return no task with an error if the assigned task is in done, and remove the runner from the database.
UpdateTask and UpdateLog scope access to runnerid
Update the runnerv1 protocol to have an Ephemeral field as well during registration
Update act_runner to have the ephemeral flag, which implies run-once

This proposal would allow to securely deploy a registred host-mode act_runner in a VM and reset the same after job exit.
Some of my idea has been scetched in https://github.com/ChristopherHX/gitea/tree/ephemeral-runners.
Protocol proposal here: https://gitea.com/gitea/actions-proto-def/pulls/14
Read more here: https://gitea.com/gitea/act_runner/issues/19#issuecomment-932880
Screenshots
No response

I have a wait-and-see attitude towards this proposal.
Regarding running safely in host mode, my first instinct is:

Do not register a new act_runner every time.
The concurrency of tasks for the registered runner can only be 1, so during the execution of a task, the runner will not fetch a second one. (This is my biggest concern about the proposal; when the runner is not suitable for receiving new tasks, it should not FetchTask, rather than letting the FetchTask function decide whether to allocate tasks.)
When executing tasks, once the execution is successful, do not immediately fetch the next task. Instead, clean up the env or even rebuild the virtual machine.
When starting a new runner in new env, reuse the local state file of the previously registered runner so that it can be recognized and accepted by Gitea without needing to register again.

It cannot be a reason that "#598 has been merged so we should keep going that way." I just want to discuss whether we have a better design to handle this.


support for executable

Could you add a few lines of description to this PR explain what problem does it solve?

This pull-request:

add runnable capability to the generator package
now you can execute generator direct from bazel with bazel run //generator:generator -- --help
a simple test is executed in generator after create it


add my University domain

University website: https://english.bnu.edu.cn/

@Mostig I am sorry, the domain bnu.edu.cn is removed from our trusted domains list because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).


Rewrite/verify structural analysis

I've recently learned of https://github.com/cxnder/ktool/blob/master/src/ktool/objc.py, which — unlike Objective Ninja — implements accurate analysis of Objective-C data in binaries. This is unsurprising considering that the current analysis is the product of my own (poor) reverse engineering.

I am not familiar enough with writing C++ to make meaningful contributions to the code, however I'm actively working on a full proper site devoted to documenting the macho+objc+swift ABIs in detail, and can let you know when thats online.
The code in that linked file should hopefully be self documenting enough, to some extent, but feel free to reach out if you're confused about something or need help. objc abi is a big, undocumented pain.


fix issue #216, Deal with internally created ConfigMap mounted onto S…

…PARK_CONF_DIR

Please note, that this code patch introduced by @bbenzikry and me does not fully solve https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/issues/216.
See the newly created troubleshooting.md and https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/pull/1568/commits/9abcd0a377e4fe33999b6ecc501fe52c183e4082#diff-0aa888a76ed441948985bc01c47945dc5572d3173b19e7beef96d7947920b763R353 for more information.


SDK export_snapshot_create time out

128419 tasks create snapshot
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='xxxx', port=50005): Read timed out. (read timeout=180.0)

@sujunze please refer to this document regarding export timeouts in label studio. Also, the Label Studio GitHub issues are for reporting bugs to the development team. Please reach out in the community Slack channel for support requests. https://labelstud.io/guide/export#Export-timeout-in-Community-Edition


red theme redbasic

From @pixelroot on October 18, 2013 7:55
I have my problems with site /admin/plugins/ :
red and green circles have little difference for me.
I have red-green weakness.
For those people like me would be more contrast better.
Even better: full or empty circles.
Copied from original issue: friendica/red#182

From @friendica on November 24, 2013 7:19
fixed in ed129f19b01f4f8f34129e297f9


Gem issues with example docker-compose.yml during client container initialization

When using the example docker-compose.yml I ran into a problem where the client container would  try to run parallel gem installations of sstarcher/aws and mailer plugins which both have dependencies on unf_ext.  It seems to create a race condition where one gem starts to build unf_ext and the other begins to build unf_ext and wipes out the priors work as seen here:
https://github.com/sstarcher/sensu-plugins-aws/archive/master.tar.gz
Downloading      sensu-plugins/mailer:master
https://github.com/sensu-plugins/sensu-plugins-mailer/archive/master.tar.gz
Building         sensu-plugins/mailer:master
Building         sstarcher/aws:master
Installing       sensu-plugins/mailer:master
Installing       sstarcher/aws:master
ERROR:  Error installing sensu-plugins-mailer-1.2.0.gem:
        ERROR: Failed to build gem native extension.

    current directory: /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/unf_ext-<IP_ADDRESS>/ext/unf_ext
/opt/sensu/embedded/bin/ruby -r ./siteconf20170911-31-1dglfcg.rb extconf.rb
checking for -lstdc++... yes
creating Makefile

current directory: /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/unf_ext-<IP_ADDRESS>/ext/unf_ext
make "DESTDIR=" clean

current directory: /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/unf_ext-<IP_ADDRESS>/ext/unf_ext
make "DESTDIR="
compiling unf.cc
In file included from unf.cc:1:0:
unf/normalizer.hh:11:19: fatal error: util.hh: No such file or directory
compilation terminated.
Makefile:209: recipe for target 'unf.o' failed
make: *** [unf.o] Error 1

make failed, exit code 2

Gem files will remain installed in /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/unf_ext-<IP_ADDRESS> for inspection.
Results logged to /opt/sensu/embedded/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0/unf_ext-<IP_ADDRESS>/gem_make.out

I've worked around this by preventing the install script from backgrounding each plugin install.  I can submit a PR but I'm not sure if this is the best approach.

Due to the parallel installation I don't know if a good option exists.  One option would be to install unf_ext prior to running the installation.

That would work.  Although I guess it could come up any time there are shared native extension dependencies in multiple packages.  Maybe don't parallelize it?  I'm just not sure how often it would come up and the speed increase is nice.  What I think is important is that people can run the example compose file and bring up a working cluster.  After getting past the compile issue I ran into CLIENT_ADDRESS not being populated (which I got going with <IP_ADDRESS> but I believe that makes the server run checks against itself and not the actual client?) and then uchiwa needs env vars for SENSU_DC_NAME, SENSU_HOSTNAME and SENSU_SERVICE_PORT in order to hit the API and show the registered clients.  I can create a PR for the uchiwa vars.

@genofedanzo part of the problem may have been that the sstarcher/aws repo that was reference is very out dated.  I pushed the upstream updates back to sstarcher/sensu-plugins-aws.  Try doing the example install again.

@sstarcher looks like it still has the dependency.  Drop the parallel install to prevent it coming up again in the future?  Bake this gem into the image?  Seems like it could come up again.  What did you think the uchiwa vars I mentioned that are needed to connect to the API?  Would you like me to create a PR or open a separate issue?  I'd like to help so others don't have to troubleshoot as much as I did.

ya, the uchiwa vars need fixed in the README.  The docker-compose.yaml works and it may make more sense to just remove the example out of the README and link to the docker-compose.yaml
As for the parallel build I would be fine with a flag to turn it off.  I don't recommend doing the RUNTIME install.  I would recommend building a new dockerfile based off this dockerfile and putting in a
RUN gem install unf_ext
RUN /bin/install aws,mailer

That makes sense.  Dropping the sample compose config out of the readme and linking to the repo compose file makes sense.  Wish I realized it existed before but I ended up learning a bunch while troubleshooting.  I hadn't heard of dumb-init or envtpl and now I'm using them in my own images.  Thanks for the help.

@genofedanzo haha np, sorry for not keeping that README as up to date.


Production-quality manifest.json

manifest.json has some security settings disabled to make HMR work.  We need a production-quality version.
What are the minimum necessary permissions?  Can we defer asking for permission to
fetch until after a user does something?

#34 #35 and #36 are my notes from my chat with Devlin about making a production-quality manifest.
Other actions to take:

[ ] remove 'unsafe-eval' and localhost from content_security_policy.  I should check what the default CSP is - I might be able to remove this entry entirely in the production version.
[ ] switch from page_action to browser_action to ensure the icon is always available.
[ ] remove the declarativeContent permission and usage in index.ts until #36 is ready.

Looks like I can remove CSP entirely; the default is:
script-src 'self'; object-src 'self'


Unable to add world exclusive system

Bevy version
8d67832dfab867b934105c9ee982df6a94082d18
Also happens on 0.7.0
Operating system & version
Windows 10
What you did
Enable the exclusive_player_system for the ecs_guide example:
diff --git a/examples/ecs/ecs_guide.rs b/examples/ecs/ecs_guide.rs
index c199a001..45f922e5 100644
--- a/examples/ecs/ecs_guide.rs
+++ b/examples/ecs/ecs_guide.rs
@@ -261,6 +261,7 @@ fn main() {
         // app initialization code (ex: adding entities and resources)
         .add_startup_system(startup_system)
         .add_system(print_message_system)
+        .add_system(exclusive_player_system)
         // SYSTEM EXECUTION ORDER
         //
         // Each system belongs to a `Stage`, which controls the execution strategy and broad order

Build the example:
$ cargo run --example ecs_guide

What you expected to happen
It should build and run
What actually happened
It gives a compile error:
   Compiling bevy v0.8.0-dev (C:\dev\rust\bevy)
error[E0277]: the trait bound `for<'r> fn(&'r mut bevy::prelude::World) {exclusive_player_system}: IntoSystem<(), (), _>` is not satisfied
   --> examples/ecs/ecs_guide.rs:264:21
    |
264 |         .add_system(exclusive_player_system)
    |          ---------- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoSystem<(), (), _>` is not implemented for `for<'r> fn(&'r mut bevy::prelude::World) {exclusive_player_system}`
    |          |
    |          required by a bound introduced by this call
    |
    = note: required because of the requirements on the impl of `IntoSystemDescriptor<_>` for `for<'r> fn(&'r mut bevy::prelude::World) {exclusive_player_system}`
note: required by a bound in `bevy::prelude::App::add_system`
   --> C:\dev\rust\bevy\crates\bevy_app\src\app.rs:325:55
    |
325 |     pub fn add_system<Params>(&mut self, system: impl IntoSystemDescriptor<Params>) -> &mut Self {
    |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `bevy::prelude::App::add_system`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `bevy` due to previous error

Additional information
I encountered while trying to make a system that accessed world, and couldn't get that to work, so it's probably not just an issue with the example, but rather in Bevy itself. Though I must admit I'm very much a beginner at both Rust and Bevy, so it's quite possible I have done something wrong here.

It is already enabled:
https://github.com/bevyengine/bevy/blob/8d67832dfab867b934105c9ee982df6a94082d18/examples/ecs/ecs_guide.rs#L317-L323
Exclusive systems need a special syntax to be added, with .exclusive_system()

Apologies then, that does explain why I couldn't get it working. Thank you very much for the assistance and the extremely fast response :)


MMap crashes on Win7 when compiled as /MT and std::mutex is used

After 'investing' a whole day into finding out why the injection crashes the program only on W7, it turns out that using a std::mutex and compiling the dll as static ( /MT ), the ManualMap injection instantly crashes the target program. It works fine on W10. Compiling it with /MD works fine. Not using std::mutex works fine.
Tested on W7 SP1, injecting into even notepad.exe crashes it.
Completely empty Testproject (incl compiled dll):
ConsoleApplication.zip
Test Code:
`#include "stdafx.h"
#include <Windows.h>
#include
DWORD WINAPI InitDLL(LPVOID param)
{
std::mutex test;
test.lock();
test.unlock();
MessageBox(0, L"I WORK", L"Error", MB_ICONEXCLAMATION);
getchar();
return 0;
}
// DLL Entry Point
int __stdcall DllMain(HMODULE hModule, size_t  ul_reason_for_call, LPVOID lpReserved) {
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
DWORD InitDLLThreadID;
CreateThread(0, 255, InitDLL, hModule, 0, &InitDLLThreadID);
break;
}
return true;
}
`
Injection details:
Just use Xenos for injection, default MMap settings will do the job:

Thanks for checking it out <3

What do you mean with "directly" ?
I used the most recent blackbone for the xenos injector, if that is what you asked.

Btw. I did some more tests, this bug happens also when I use std::thread or std::future, so I'd say it is a bug related to threading. No pressure though, I can work around this, using Poco or boost for the thread/mutex/future etc. works completely fine in W7. I know W7 is kinda outdated and if you don't have the time or opportunity to check it out, please feel free to close the issue. But just in case others experience the same bug :)

What do you mean with "directly" ?
I mean call mmap directly from standalone app, without Xenos.

Yes, I have my own inject code, which loads the dll into memory and injects that with mmap of blackbone. This is where I originally experienced that bug, then I moved to Xenos and it had the same problem.
I do the same as Xenos though...
blackbone::eLoadFlags flags = NoDelayLoad | WipeHeader; 		if (img.isExe()) 			flags |= blackbone::RebaseProcess; 			auto image = _process.mmap().MapImage(DLLSize, (void*)ostreamDll.str().c_str(), false, flags);

Thanks for the answer :)


Miscellaneous Fixes

This is a rollup of some minor fixes that have been on my back burner.    I figured it was easiest to put them in a single pull request.

Attributes.updated and the variadic Attributes.+ now return an Attributes rather than a Map.  They also use the same trick as unary + to get the benefit of the (String, String) => (QName, String) conversion.

Attributes is now always backed by an order-preserving map.   Prior to this change, it was possible to bypass the companion object and construct an Attributes with an arbitrary delegate map.   The old constructor still exists for the sake of passivity, but it is deprecated and it copies it's argument to an order-preserving map.

Zipper.withFilter now preserves the zipper context.  The v0.2 Zipper supported this, but we forgot to add it to the new one.

All calls to error have been changed to sys.error, which gets rid of all of our deprecation warnings.

Elem no longer caches its hashcode.  This isn't needed anymore and removing it improves the 7MB load time by 10 to 20 percent.  (@ncreep - I know we'll soon be checking for duplicate paths again, but it should now be easy to make the test based solely on location.   That's probably a more accurate test anyway.)

For the sake of full disclosure, #1 does introduce a minor compile-time passivity break.  Namely, if attrs is an Attributes, you can no longer write:
attrs + ("key","value")

Instead, you must write:
attrs + (("key","value"))

Map behaves the same way;   Attributes was only more permissive because it didn't override variadic +, which caused the compiler to give greater weight to the unary +.   But I'm assuming that was unintentional :-)
Code compiled against the old version of Attributes will still be able to run against the new version;  the issue only arises at compile time.

Merged; thanks!


[DOCS] Timber\Term documentation is lacks get_terms()

Expected Behavior
Following example "Get a term with a slug" at https://timber.github.io/docs/v2/reference/timber-term/ with WooCommerce Brands plugin (uses taxonomy with slug "product_brand"), I expected following to return brands but the template keeps getting empty brands:
$context['brands'] = Timber::get_term('product_brand');

Actual behavior
Correct command seems to be:
$context['brands'] = Timber::get_terms('product_brand');

After this the brands can be printed in template.
Steps to reproduce behavior
Have taxonomy with slug 'product_brand' that is added to some posts, or WooCommerce Brands -plugin.
Notes
Didn't test if other code examples on the page are working..
Digging documentation further, I find information on get_terms() here: https://timber.github.io/docs/v2/guides/terms/#querying-terms. I think it's just missing from the API reference..
What version of Timber are you using?
2.2.0
What version of WordPress are you using?
No response
What version of PHP are you using?
No response
How did you install Timber?
None

Hi @jasalt,
Timber::get_term('product_brand'); will not work to get all terms of an item since you are using the taxonomy name instead of of a term identifier. As you found out, you will need to use Timber::get_terms for that.
Timber::get_terms() is an API function of the Timber class which uses the underlying TimberFactory private class under the hood. So that's why you wont find the docs on the https://timber.github.io/docs/v2/reference/timber-term/ page.
Hope that helps!


python3Packages.jupyter_core: 4.9.2 -> 4.11.2

Description of changes
https://nvd.nist.gov/vuln/detail/CVE-2022-39286 aka GHSA-m678-f26j-3hrp
Have rebuilt quite a few packages on x86_64 linux, but am unable to do a full rebuild right now, would appreciate someone helping out with that.
Hoping to be able to patch stable branch.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build python310Packages.jupyterhub python310Packages.jupyterlab python39Packages.jupyterhub python39Packages.jupyterlab

@ofborg build python39Packages.jupyterhub python39Packages.jupyterlab
Trying 3.9 alone to limit concurrency on darwin.

nixpkgs-review happy for me, aarch64 linux.

doh #198340


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #259 (f08be94) into main (2974dfe) will increase coverage by 8.93%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #259      +/-   ##
==========================================
+ Coverage   83.33%   92.26%   +8.93%
==========================================
  Files           2        1       -1
  Lines         126      349     +223
  Branches       31       43      +12
==========================================
+ Hits          105      322     +217
- Misses         21       27       +6

Impacted Files
Coverage Δ

src/index.ts
92.26% <100.00%> (+10.26%)
:arrow_up:

example/src/main.ts

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f8c7e82...f08be94. Read the comment docs.


Feature Request: Create a mutating policy that can mutate any object based on configuration options

Is your feature request related to a problem?
Whenever a new namespace is created we want to add some PSA labels, automatically in case they are missing or different.
Whenever a new POD in a given namespace is created we want to add some labels on that POD, automatically based on the namespace the POD is created in.
Solution you'd like
A policy with some configuration options would be great.
See also https://open-policy-agent.github.io/gatekeeper/website/docs/mutation/
Alternatives you've considered
Using OPA https://open-policy-agent.github.io/gatekeeper/website/docs/mutation/
Anything else?
No response

Closing this issue, I've created two dedicated issues:

https://github.com/kubewarden/kubewarden-controller/issues/451
https://github.com/kubewarden/kubewarden-controller/issues/452

@Martin-Weiss please take a look at these new issues and provide feedback about the policies


Smooth transition between goto commands from map

If we give go to command from fly map to opposite direction while vehicle is moving with normal speed. It tries to brake immediately which cause unstable flight.
Is it possible to wait for a bit slow down and have a smooth transition to reposition command ?
Steps To Reproduce
Send Vehicle to one direction.
Tap a point from map which is exaclty opposite direction while vehicle moving.
Send Go to command to new point.

Enviroments

Daily QGC or stable version
Autopilot board: Pixhawk 2
Autopilot firmware: 1.7.3 or 1.8.0

@Stifael are the tuning parameters fully documented by now?

In general if the flight becomes unstable then your vehicle is not set up correctly and you have a more fundamental problem. It should just be very knife-edge, but not unstable.

The tuning parameter for auto are summarized here.
About instability:

if the flight becomes unstable then your vehicle is not set up correctly and you have a more fundamental problem.

Agreed. @feemi, you should follow the tuning guide for multi-copters.
About Go-To command:
Currently the implementation is such as you have described with instantaneous direction change. For mission, however, it will behave as you have requested: the vehicle will slow-down close to first waypoint to guarantee a smooth trajectory. In principle this could also be accomplished with a Go-to commands, but I am not convinced that this would be the right thing to do mainly due to safety in situation where an instantaneous flight direction change is required.

I think description of my problem is little bit wrong. The unstable flight that i am try to describe is about size of our drone and movement limitations. In mission mode or in position mode vehicle moves very smooth with current limitations. But go to command is knife edge and it is too much for our structure. Probably there is no such issue with small drones since they are very agile. I am just wondering would that be useful if there would be prior slow down option before knife edge brake when vehicle gets go to command?

@feemi @LorenzMeier @dagar
I see the same issue in my vehicle, and its not nice at all seems like it going to flip on every turn.
I understood it fixed on version 1.9, but for version 1.8 it seems critical.
is there a possibility to 'cherry pick' the fix into new version 1.8.3?
or, is there a workaround that can mitigate the issue by setting some parameters?

@feemi thanks! I will try that.
I reduced the roll_rate to 120deg/sec before, I will reduce it more

@feemi, there are many changes between 1.8 to master (1.9 TBD) and I am not sure which issue solved the harsh pitch/roll, but in the end it doesn't exist on 1.9, you can see that in the simulator.
BTW, why do you think that the PID need to be retune, I think that that rate_max's are just limiters, and should not affect the PID unless the drone really need this "high" rates from time to time.

@feemi I think the issue still exist in v1.9 beta, if you look at this log you an see this hard roll when turnning.
do you think its also max roll issue there?

@BazookaJoe1900 The roll error you see in that plot is an artefact due to the Euler attitude representation. For example: the shortest way to move from a 45° pitch, 0° yaw to -45° pitch, 180° yaw is to perform a pure rotation around the vehicle's Z axis, no pitch change is required. This is why you see large pitch/roll tracking errors during sudden yaw changes.
For the rest, the aggressive change of speed is fixed in 1.9 with the new jerk-limited auto mode.


Error when testing simulation mode

I got this error when I testing the simulation mode .. I'm pretty sure I filled correctly the parameters as shown as on the Instruction..
MAP Dialog InvokeTimeout for Dialog=1 and invokeid=0
Error:SendRoutingInfo.jar Failed to Lunch,

please i wish to perform some test in sigploit framework in simulation mode but i dont know how to go about it even though i have installed it. i can not even see simulation mode on it.please help me, its for educational purpose. thanks

What type of test are you to do
Sent from ProtonMail mobile
-------- Original Message --------
On Feb 4, 2020, 8:39 AM, Eyong-Ebob wrote:

please i wish to perform some test in sigploit framework in simulation mode but i dont know how to go about it even though i have installed it. i can not even see simulation mode on it.please help me, its for educational purpose. thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

i wish to test the vulnerabilities with the server side code in sigploit framework to see the outcomes from the attacks in the simulation mode and get a view of what results can be obtained if does attacks were made in live mode. thanks

that is testing the vulnerabilities in SS7 in simulation mode, but i am finding it dificult setting the virtual lab and uploading the server side code for the test.

For the test to be successful. You need to be on the sever side.
Sent from ProtonMail mobile
-------- Original Message --------
On Feb 6, 2020, 10:43 PM, Eyong-Ebob wrote:

that is testing the vulnerabilities in SS7 in simulation mode, but i am finding it dificult setting the virtual lab and uploading the server side code for the test.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Please refer to the wiki for instructions
On Thursday, 6 February 2020, Zeroplus4<EMAIL_ADDRESS>wrote:

For the test to be successful. You need to be on the sever side.
Sent from ProtonMail mobile
-------- Original Message --------
On Feb 6, 2020, 10:43 PM, Eyong-Ebob wrote:

that is testing the vulnerabilities in SS7 in simulation mode, but i am
finding it dificult setting the virtual lab and uploading the server side
code for the test.
—
You are receiving this because you commented.
Reply to this email directly, [view it on GitHub](https://github.com/
SigPloiter/SigPloit/issues/149?email_source=notifications&email_token=
AMDPV5WUDSDQS2FDDO3CGP3RBSABVA5CNFSM4GCT5RKKYY3PNVWWK3TUL52H
S4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELA4UWA#issuecomment-583125592),
or [unsubscribe](https://github.com/notifications/unsubscribe-auth/
AMDPV5QUEYBAJYWJTRFX37LRBSABVANCNFSM4GCT5RKA).

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SigPloiter/SigPloit/issues/149?email_source=notifications&email_token=AF265PZQDAKPNLN6NTNCX6TRBSALTA5CNFSM4GCT5RKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELA44CQ#issuecomment-583126538,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF265P2RYWGRHRJJPIJZR2LRBSALTANCNFSM4GCT5RKA
.


Switching between active articles not prompting save

Regression - switching between active articles used to prompt you to save so you don't lose your changes. This seems to no longer be happening.

Fixed in v0.22.1


How to decrypt the vehicle_data

The vehicle_data returned by the API endpoint /api/1/vehicles/{vehicle_tag}/vehicle_data when passed with the parameter endpoints=vehicle_data_combo appears to be a base64-encoded string. However, after decrypting it, the resulting data appears to be garbled.

The data field is a protobuf that mostly overlaps with the JSON data. There's a good chance this is getting refactored, so I would recommend against relying on it and don't want to release code that will encourage clients to do so.


Draft: test new theme

https://htmlrecipes.dev/#sidebar
https://github.com/markdown-it/markdown-it-container
https://agaric.gitlab.io/raw-notes/notes/2018-07-19-writing-an-aside-in-markdown/
https://talk.commonmark.org/t/pipe-character-for-aside/2227/4

https://github.com/11ty/eleventy/issues/2033

https://itnext.io/how-to-create-a-file-by-file-custom-scss-build-including-dependencies-using-postcss-and-optional-c83f8e5677d8

https://hex46.fr/posts/postcss-and-11ty/


HTTP code is 409 which indicates error: undefined - [object Object]

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided or steps to replicate - Closing


Loosen input validation of name and phone

to make sure name can include special characters
and phone can include multiple phone numbers.
Also, look at other places where input validation is done too zealously and fix them as well.

name

"" empty string
"       " whitespace-only string

phone

a valid phone number is a string (without spaces, has at least 3 digits)
the valid phone attribute just needs to have a valid phone number as some substring

.split(' ') then check that some entry in the list is a valid phone number

81234567 (handphone)
(handphone) 81234567
(hp) 81234567


gdk/sys: Re-ignore N_FORMATS

It was reverted in 8e7e745913d42f698cba83ac7c1bf2f96fdff0a6 as it is useful for -sys bindings
but it is probelmatic for us now as new values breaks our sys tests until we add a way to ignore certains consts from the abi test

This is so annoying as ignoring an enum member doesn't drop it from the sys test. I guess we will just push the new gir-files in as well.


pd_worker, split_controller: introduce the new config and CPU collector registration mechanism

Signed-off-by: JmPotato<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: ref #12063. This is a sub-PR of #12593.
What's Changed:

Introduce the new split config and CPU collector registration mechanism.

Check List
Tests

Unit test
Integration test

Release note
None.

/cc @nolouch @lhy1024

/merge


rasterization argument  error

The following error occurred when I ran the script ：train_ground.py .
I checked that all versions of gsplat do not have this parameter. Is this missing parameter added by the author
Training progress:   0%|                                                              | 0/30000 [00:00<?, ?it/s]Traceback (most recent call last):
File "/root/outside/HUGSIM/train_ground.py", line 244, in
main()
File "/root/outside/HUGSIM/train_ground.py", line 240, in main
training(cfg)
File "/root/outside/HUGSIM/train_ground.py", line 77, in training
render_pkg = render_ground(viewpoint_cam, gaussians, background)
File "/root/outside/HUGSIM/gaussian_renderer/init.py", line 200, in render_ground
renders, render_alphas, info = rasterization(
TypeError: rasterization() got an unexpected keyword argument 'smts'
Hope the author can reply me！ thanks

It seems you installed official version of gsplat and encountered the error. Instead, ours modified version of gsplat should be installed from the source code, available at https://github.com/hyzhou404/HUGSIM_splat/tree/main.

Thanks, this problem is solved by using modified version gsplat！


docs: Translating conditional rendering

Everything looks great! Should we translate the title of the page?

Good catch!. I have updated the page title.


Scala Stream Collector: restrict access?

Is there any known or preferred way to globally restrict access to the collector endpoints? I know I can filter Events from the stream at a later point, but I'd prefer requests from "unauthorized" trackers to not ever be written to Kinesis. I can envision how this would work server-side, where secrets can be protected, but I'm at a loss when it comes to the JS and No-JS trackers.
Any ideas?

The problem is determining if an event is "unauthorized" or not. Our view is that you are better off determining that downstream where you have an audit trail for the events and if you make a mistake in your categorization, you can correct it (because you still have the raw events archived in S3).
See also: #1139

:+1: