[4.0 6/23] Disable an unnecessary assert in AccessSummaryAnalysis.

I’m totally disabling this assert in 4.0. Tracking down a compiler crash for
each obscure case of missing access marker is not a good use of time since we’re
not actually fixing these cases when we find them anyway. Instead, post 4.0, we
will catch all of these missing cases by implementing strong SIL
verification. Much more SILGen work is really required to fully implement
exclusivity diagnostics. SIL verification will be necessary to drive that.
Fixes rdar://problem/33024357 AccessSummaryAnalysis assert "Unrecognized
argument use" building source compatibility siesta project.
4.0 PR: https://github.com/apple/swift/pull/10668

@swift-ci test.


[Bug]: Always propagate successful results in BQ StreamingInserts seems to reduce performance

What happened?
After the inclusion of the propagation of successful inserts in v2.37.0 pipelines that were able to handle very large throughputs (+10GB/s) started to see problems when recovering from backlog or when delays happened from upstream and there were already at max num of workers.
It seems that holding the TupleTag data after insertion generates some pressure on the workers that slowdown the pipeline reducing the max throughput at a given number of user workers.
Introducing an option to enable/disable this propagation (enabled by default for backwards compatibility) should help to recover part of that lost throughput on large volume pipelines.
Issue Priority
Priority: 1
Issue Component
Component: io-java-gcp

.take-issue

.remove-labels 'awaiting triage'
.add-labels java,gcp,bigquery

.add-labels java,gcp,bigquery


Doesn't handle syntax errors so great?

I'm working with a Sinatra app, using guard-rack to monitor my config.ru file. This works fine.
However if I save the file with a typo, guard-rack tries to restart WEBrick and fails due to the syntax error.
22:16:24 - INFO - Rack restarted, pid 69
/bundler/ruby/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval':
  /app/config.ru:24: syntax error, unexpected end-of-input, expecting `end' (SyntaxError)
# *** Stacktrace Snipped***

22:28:48 - INFO - Restarting Rack...

22:28:48 - INFO - Rackup exited with non-zero exit status (1) whilst trying to stop.
22:28:48 - INFO - Rack NOT restarted, check your log files.

(The log output from guard-rack happens after the failure from the child process.)
This situation isn't exactly ideal, because just fixing the typo does not restart rack again. I'm left in a state where I have to Ctrl-C the bundle exec guard and restart it. Which kind of feels like defeating the purpose. 😣
Am I missing some configuration option? I've looked at the source code and this behavior seems to be hard-coded:
https://github.com/dblock/guard-rack/blob/2f4d1b01a9bf4f384c4214c8c759fe8bc6d58f18/lib/guard/rack.rb#L41
https://github.com/dblock/guard-rack/blob/2f4d1b01a9bf4f384c4214c8c759fe8bc6d58f18/lib/guard/rack/runner.rb#L27

I don't think you're missing anything, this looks like a bug. Maybe there's a way to turn this into a failing spec?


bug(mat-button): Many buttons are losing their border in high contrast (forced-colors) mode

Is this a regression?

[ ? ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
Uncertain
Description
Many buttons (such as mat-button and mat-flat-button) lack a border in high contrast mode on Google Chrome. This makes it difficult for users who are vision impaired or who prefer HC mode to identify the buttons as interactive components.

Reproduction
Steps to reproduce:

Enable forced-colors:active in Google Chrome (see this link)
Navigate to button demos at https://material.angular.io/components/button/overview
Observe that almost none of the buttons have borders

Expected Behavior
I expect the buttons to have a border or other visual indicator that makes them easy to identify
Actual Behavior
The buttons lack a border, causing them to resemble plain text
Environment

Angular: 13.3.1 (as per demo page)
CDK/Material:
Browser(s): Google Chrome
Operating System (e.g. Windows, macOS, Ubuntu): macOs

Did you refresh after you enabled high contrast mode? Here's what they look like for me:

Closing since this works if there's been a refresh after high contrast mode has been enabled.


[docs] Move @eps1lon to community

@eps1lon Enjoy it at Klarna :)! I'm updating the /about page to be more accurate, from Company to Community.

I forgot to remove this file https://github.com/mui-org/material-ui/blob/master/docs/public/static/branding/about/sebastian.png. Done in #30747.


Change Picturama's slogan

The slogan "Digital image organizer powered by the web" should be explained more clearly!
I already know people I have recommended this application to and they are turning away because: "... this is an online/cloud thing like Google & Co.".

Yes, you're right. I don't like the slogan either. "Digital" is unnecessary and "powered by the web" is mistakable as you say and the user doesn't care that the UI is technically run by a web browser.
The problem is, that I don't have a good alternative yet. Maybe something with "Photo organizer", "Open Source", "privacy", "fast".
Any suggestions?

My suggestions is "your photos in your hands"

some more ideas, if you hold on idea to underline the technology you use:

next generation photo-organizer
a logically next step app
a logically next step development
your digital lifestyle - organized with ease
make use of the next-gen technology
make use of the advantages of next-gen technology

I favor 3. - 5. a little more

thnx for this awesome photo organizer. Suggestion based on why I used this:

Photo Organizer meets privacy
Photo Organizer for your privacy
Privacy First Photo Organizer

thnx for this awesome photo organizer. Suggestion based on why I used this:

Photo Organizer meets privacy
Photo Organizer for your privacy
Privacy First Photo Organizer


Speed up percentile standard error calculation

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #1772
What are the significant changes in functionality due to this change request?
Changes order of loops to minimize number of times KDEs are built to speed up calculation of percentile standard error.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

@dgarrett622 Do you to include the modification that we discussed today in this PR or in a separate PR?

Since this is passing tests and the work is done, I can review it now, and an issue can be opened for the standard normal calculation as a speedup option, along with determining which should be default.

Checklists pass.
@dgarrett622 please open an issue to track @wangcj05 comments regarding speedup using the standard normal error assumption.


Improve the design of OSCode's blog page

The page for the blogs is not attractive to read.
I would like to improve the design of this page.
Currently, the page looks like

I want to improve the design and make it more readable.
Kindly assign me this issue under GSSOC'23.

Hey @smritimangal26 the blog page is created through hashnode , so we won't be able to give permission to everyone. If there is anyhting else, u would like to work on, pls go ahead!


Improved appending test for inplace behaviour

Please confirm that this PR has done the following:

[x] Tests Added
[x] Documentation Added
[x] Description in RELEASE_NOTES.md Added

Adding to RELEASE_NOTES.md (remove section after adding to RELEASE_NOTES.md)
Please add a single line in the release notes similar to the following:
- (#XX)[http://link-to-pr.com] Added feature which does something

Description of PR
Please describe the changes introduced by this PR.

SEVEN line changes!? Well if you insist

Well, I did suggest it (as a comment, not "requested changes") - but I do think that the code looks better... Thanks!


Document usage of BFG and modify usage to be more ergonomic

Bouncing off #21, the following changes arose after I tried (and failed) to use Bfg on a simple java project.
Documentation
NOTE: This is a WIP. My primary intent is to get the ball rolling on documentation.
It has been roughly a year since I last made serious contributions to Bfg, so there were a number of basic facts I had to recollect (e.g. like motivation, usage, etc). I augmented the README with whatever I felt was inadequately documented. Admittedly, there are a number of TODO statements littered through the README for things that were still unclear to me. For example, I don't really understand how you what the new proto format should look like.
Ergonomics
One thing I found incredibly annoying was needing to perform
bazel run //src/main/java/com/google/devtools/build/bfg:bfg

I found it more ergonomic to perform
bazel run //src:bfg

Consequently, I have moved the java_binary targets into their respective top level directories lang/ and src/. There is little need for the java_binary's to be wedged deep into the code base.
@cgrushko, undoubtedly, I have likely made stylistic snafus with how I managed visibility. Please let me know what the best approach is there.

@spomorski since carmi is on paternity leave. Here is the documentation I was referring to.

I don't have write access to this repository, but I provided approval from the documentation standpoint.

Hey guys, any movement on this? I'm writing official documentation for bazel-deps and Bfg and would love to use this readme as source material. Thank you!


Verify unstable install and update README docs

Make sure curl -sSL https://dl.bintray.com/emccode/polly/install | sh -s unstable works and also include a command with -s in the end to give a hint at how to switch versions.

I verified that the generic install of stable and unstable is working.
Had an issue with a specific unstable version but maybe the issue was with the build of the version, need to research further


Launching from sdb does not report error if failed to launch

Try with a class that doesn't exist in the classpath.


Download_Model_at_ImageBol_Run_time

added function to download model at runtime from the official freshly-built repository
added progress bar for visualizing downloading progress
the function now will return 1 on successful execution while 0 on failed execution
create a directory for models
check whether model already present or not
tested on:
official freshly-built repository
stable internet connection
warning:
unstable internet connection might cause the function to halt unexpectedly

Duplicate of #5


Surviving Minified and Uglified

Has anyone had any luck getting the (browser) library to be minified and uglified....
My build process  (based on grunt) seems to be breaking something, somewhere...
first error : "n is not defined" at the first line (remembering that n is probably a minified name)
var g = n("../utils")
                  , h = n("./ConvertWorker")
                  , i = n("./GenericWorker")
                  , j = n("../base64")
                  , k = n("../support")
                  , l = n("../external")

which leads to an  "Uncaught ReferenceError: XlsxPopulate is not defined" in my code

Hmmmm... I was able to uglify/minify fine with uglify-js even with mange and compress.
Which uglifier are you using? And what options?

I'm going to close this as there was no response. Feel free to reopen if you have more detail.


Update troubleshooting-dependabot-errors.md

Why:
https://github.com/github/docs/issues/2579
What's being changed:
Last sentence:

Check off the following:

[X] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[X] For content changes, I have reviewed the localization checklist
[X] For content changes, I have reviewed the Content style guide for GitHub Docs.

@dfrankow Thanks for opening a PR 👍 Please fill out the pull request template in the top comment in this pull request, then we'll get this up for review!

@dfrankow Thanks for opening a PR 👍 Please fill out the pull request template in the top comment in this pull request, then we'll get this up for review!

@janiceilene Thank you for your reply. I checked the three checkboxes above.

@janiceilene Thank you for your reply. I checked the three checkboxes above.

Janice
Will do in a little while figured out why I could sign in give me a few
hours
Thanks Michael
On Mon, Jan 4, 2021, 12:46 PM Dan F<EMAIL_ADDRESS>wrote:

@janiceilene https://github.com/janiceilene Thank you for your reply. I
checked the three checkboxes above.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/2475#issuecomment-754117234, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AK2M22SLOEYR5BWA7LW5MWTSYH5IVANCNFSM4VQNITGA
.

Janice
Will do in a little while figured out why I could sign in give me a few
hours
Thanks Michael
On Mon, Jan 4, 2021, 12:46 PM Dan F<EMAIL_ADDRESS>wrote:

@janiceilene https://github.com/janiceilene Thank you for your reply. I
checked the three checkboxes above.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/2475#issuecomment-754117234, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AK2M22SLOEYR5BWA7LW5MWTSYH5IVANCNFSM4VQNITGA
.

Thanks @dfrankow Could you also answer the Why? and What's being changed? Those questions help us to understand who to triage the PR to and can help us with our review ⚡

Thanks @dfrankow Could you also answer the Why? and What's being changed? Those questions help us to understand who to triage the PR to and can help us with our review ⚡

Thanks @dfrankow Could you also answer the Why? and What's being changed? Those questions help us to understand who to triage the PR to and can help us with our review ⚡

I actually didn't see those.
Answered.

Thanks @dfrankow Could you also answer the Why? and What's being changed? Those questions help us to understand who to triage the PR to and can help us with our review ⚡

I actually didn't see those.
Answered.

Thanks so much for filling that out and opening an issue @dfrankow! I've triaged this for the team to review 👀

Thanks so much for filling that out and opening an issue @dfrankow! I've triaged this for the team to review 👀


Switching tabs in snippets doesn't work in Safari

It seems not possible to switch tabs in snippets in docs pages in Safari.
I'm on Safari v15.4, with JS enabled and all extensions disabled. I've attached a video and a screenshot that might be helpful.
https://user-images.githubusercontent.com/16809714/186877582-efaa5a5b-1abf-44e4-ae29-b4ddb50ef50f.mov

This no longer happens on Safari and has been fixed.


Walking into the boundary between a set of double doors opens neither of them

Repro

Walk perfectly into the center boundary of 2 doors
Behold for they do not open

Video: https://cdn.discordapp.com/attachments/675078881425752124/731533881999622275/2020-07-11_16-32-35.mp4

This was fixed at some point.


Bug: Azure IoT Hub <> Portal sync doesn't work as expected

Expected Behavior
Since the introduction of the database cache for the portal, I expect it to stay up to date with what's actually in the IoT Hub on Azure (models, devices, etc).
Current Behavior
The portal doesn't fully synchronize with IoT Hub. It adds elements from IoT Hub to its db, but if elements are deleted directly from the IoT Hub without using the portal, elements stay in the DB and sometimes can't even be removed from the portal. Same goes if the IoT Hub is deleted and created again: The portal still has the old data.
It can also lead to errors in automated deployment tasks: We use the API to check for existing models and we create or update them depending on the result, but since it doesn't return the actual Azure data, it doesn't always properly create or update elements. This is also especially problematic on elements with unique IDs, connection keys, etc. (e.g., Edge Devices credentials).
Steps to Reproduce

Add something (e.g. device model) to the portal
Remove the element from Azure directly
The element is still in the portal

Context (Environment)
Portal version: <IP_ADDRESS>
LoRaWAN Stack version: N/A
Logs

Additional Information

@Metal-Mighty the portal has a synchronization scheduler. I could take some minutes to reflect Azure IoT Hub changes to the portal directly.
I encourage you to not change devices directly on IoT Hub while using the portal to limit the apparition to this issue.
By the way, the refresh timeout is by default set to 5 minute. You can adapt it in your settings to reduce it in case it is necessary:
(See: https://cgi-fr.github.io/IoT-Hub-Portal/stable/dev-guide/#application-settings:~:text=Job__SyncDatabaseJobRefreshIntervalInMinutes for more details).
Ar you able to reproduce it after the sync timeout?

Hi @kbeaugrand !
I can confirm it's still an issue after a sync timeout since I realized this afternoon that device models (in IoT Hub > Configurations + Deployments) were missing, even though they were in the portal since Friday.
Sadly this comes after having to recreate the IoT Hub because it wasn't properly created on Azure, and it was the only thing to do according to our contact at Microsoft, so not something we could have done in the Portal ;)
What I could have done would be to delete everything from the Portal prior to deleting the IoT Hub, but I didn't think about it back then!

I In this case, I assume that this problem occurs because device models are not created in the development environment.
Could you check that all models are also created in the development environment because they should be present to be able to synchronize their devices.
Note that since models are not a supported feature on Azure IoT hub, they could not be synchronized anyway.


Support other mobile browsers

By adding a few more checks to the userAgent check, we can determine if the user is using Android, and make this library more general.
@xStrom suggested that this works over in production on his app, and I'm doing a similar hack myself.
Question:
A similar method can be used to add support for Blackberry and Windows Phone. Do we want to do that?
//cc @xStrom @timruffles

Ideally we would only use feature detection. We do have feature detection in there, but iOS Safari (and apparently also the Android browser) report that they support drag events while in reality they do not. That's why we have the additional user-agent checks. Modernizr has the same feature detection as us, which also fails. Other people have come to the same solution.
Regarding support of minority platforms, I don't think we should prevent code from working on them due to some "not supported" policy. However I personally do not have any way to test on them and thus would rather not commit to proper support for those platforms.
So the question for me becomes, is the code currently not executing? Do the browsers on these platforms also lie about their drag events and thus give a false positive to our feature detection?
Also of note is that the Windows Phone 8.1 user-agent is:
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 520) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
Thus it already gets patched by the iPhone detection. Older Windows Phone browsers don't have that, but do they have proper touch events? Do they lie about drag events? I don't really know. I guess we could also add IEMobile for the hell of it.

By the way, your own hack is probably broken on browsers that support both touch events and drag events, like desktop Chrome.


Make sure path's pixel coords are up to date when updating

This is yet another fix for #5170, I believe the simplest. From looking at the code, it seems to be an oversight that _updatePaths(), which is just an optimization for doing _update(layer) for all the canvas' layers, does not call project(layer), which _update(layer) does.
Adding this fixes the provided example for #5170, and it's just a one line fix.

Closing in favour of #5250.


Missing step in "Create your own"

Hi there, this is fantastic!
One little thing that took me 20 minutes to work out: In the "Create your own" page, maybe add a step between 1 and 2 to update lines 8 and 9 in the _config.yml file with the person's own github repo details.
An added bonus is that this triggers the GH Pages Deploy, which I was trying to trigger using other methods.

Thanks for the feedback.
How is this now?
https://github.com/MichaelCurrin/jekyll-gh-actions-quickstart/blob/main/create-your-own.md#deploy-from-template

Yep! noice


Wrong syntax Highlighting

VSCode Version: 0.10.11
OS Version: Windows 10

Steps to Reproduce:

open vs code
create typescript file with keywords like class

Here is how it should be, class with green color, return with pink

Here is how it actual looks

Almost every time I update vs code to newer version I get this problem.

@aeschli can you please take this.

@Anjmao What color theme are you on?
The 'sadFile.ts' one looks like the Dark Visual Studio, the first one looks like Dark+.
Make sure to switch to the Dark+.
There were some theme swirls in the past, but we have settled now with to the 2 styles of default themes (VS and plus).

@Anjmao I'd need more information....


Any plan to support ioapic and lapic in haxm ?

Hi,
We found that, compared with linux kvm, haxm does not support ioapic and lapic which seriously affect IO performance. We tested the network performance with Qemu's NAT mode (Use slirp) in VM, and found that, it can only reach 100Mbits/s with haxm while we can reach 1000Mbits/s with kvm in linux.
After a deep analysis, we found that the main reason for lower performance with haxm is it does not
support ioapic and lapic, and we can only use the qemu userspace ioapic and lapic, besides, it does not
support apicv either.
So, i'd like to know if you have any plan to support ioapic and lapic in haxm, or is there any prototype we can refer to ?
Thanks.

Thanks for your report. You have made a very in-depth analysis, and meanwhile it will be a great proposal for us.
Indeed, KVM supports IOAPIC and LAPIC on Linux, which greatly improves network transmission performance. As for APIC virtualization, we also made some investigations on it before. As you know, HAXM is a lightweight hypervisor, mainly targeted to optimize for Android. So far, our team has not had a development plan for these features.
Thank you for your attention to the development of HAXM. We will update the notification in the community when we add above features in our development plan.


XP multiplier retroactivity does not work

Describe the bug
I gained XP and passed from Grade D to Grade C. But I wanted my Grade D league to last longer, so I decided to decrease XP multiplier to 0.3. I went back to "Go Race". Now I see my XP correctly decreased, I am still Grade D, but the offered races are still related to "Grade C" vehicles.
To Reproduce
Decrease CP multiplier so that there is a step-back in "Grade".
Go back to "Go Race", check that the generated races are still referring to the upper "Grade".
Expected behavior
The offered races should be consistent to the Grade of the player.
Screenshots

Also in this case, it is sufficient to regenerate races to have all the correct retroactive settings applied. Issue closed.


Implement minor redesign for copy buttons (log message and rpc details)

Feature details
https://github.com/NiceNode/nice-node/pull/333#issuecomment-1767849825

[ ] shows copy confirmation
[ ] looks like pictures
[ ] test on dark mode
[ ] test on light mode

please include screenshots or a short screen recording

Great work on this!


generic-hyperlink-thumbnail - Shows only the first version of the file

Category

[x] Question
[ ] Bug
[ ] Enhancement

Expected or Desired Behavior
I would want to see the newest version of the picture file in the thumbnail
Observed Behavior
The thumbnails shows only the first version of the picture file.
Steps to Reproduce
Upload a file to the library. Format column with Json provided in the sample. Upload new version of the picture file. Observe the thumbnail - it does not change
Should it be like that? Maybe a small change to json in the sample would fix it?

Update:
It took some time (don't know exactly how much), but finally the thumbnail changed.
Case closed.


Review names for packages and release to PyPI:

[x] asset-scanner (root framework package)
[ ] asset-extractor (implementation of asset scanner to index assets)
[ ] item-generator (implementation of the asset scanner to index items)
[ ] collection-generator (implementation of asset scanner to aggregate item properties at the collection level)
[ ] stac-fastapi-elasticsearch (elasticsearch backend for stac-fastapi API server)
[ ] stac-ui (ReactJS UI to the STAC API)
[ ] stac.py-wrapper

asset-scanner is in PyPi. Probably OK to leave the rest for now.


Upgrade resin-settings-storage to prefix browser token keys with resin-

Ping @emirotin. Can you approve this please, so I can pull this across into the SDK?

Sure sorry for the delay


⚠ Bofrost.de has degraded performance

In 97c0be1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 812 ms

Resolved: Bofrost.de performance has improved in a1d9797 after 6 minutes.


:sparkles:  Add workspace mount battery & controller

Summary
Add workspace mounts battery and loose coupling controller which checks workspace annotations, dynamically watches mount objects, and updates workspace annotations accordingly with updated status
Related issue(s)
Fixes #
Release Notes

Add experimental workspace mount reconciler

@sttts updated

/hold

Clearly experimental. We will come back.
/lgtm
/approve

/test pull-kcp-test-e2e-shared

/hold cancel


Add regression tests for past bugs

We should really add an extra test every time a bug is fixed just to make sure that bug doesn't pop up again.

would be worth listing the bugs which were omitted here. how long back do we plan on checking?

I suggest a total rewrite with full testing from the beginning ;)

Gonna make a start on this. I'm working on issues posted from late July 2021 onwards.

After some thought, this is only necessary for issues where:

It doesn't need a sanity check (e.g. #209 or #287)
The corresponding element tests wouldn't fail
It's relevant to v2.6+


Cypress test. Filters, sorting jobs. Tooltip search task filter.

Motivation and context
Cypress test for feature #3030
Update cypress/code-coverage version for a possible solution to the encountered CypressError: `cy.task('combineCoverage')` timed out after waiting `60000ms`. error
How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Coverage increased (+0.03%) to 75.533% when pulling faf1540eda64486c10cce264ce2c0e92f2db256c on dvkruchinin:dkru/cypress-test-case-69-filters-sorting-jobs-tooltip-task-filter-origin into a60b4895c2f6fda292cf890c34e24df6535dd2e2 on openvinotoolkit:develop.


Add CONTRIBUTING.md and Update README for Better Guidance

This PR issue no. # 8 introduces a CONTRIBUTING.md file that provides clear sections on code style, writing tests, documentation, and reporting issues. It also modifies the README to redirect users to the new contributing guidelines, enhancing the project's documentation and making it easier for potential contributors to understand how to get involved. These changes aim to improve the onboarding process for new contributors and ensure consistency across the project.
Thank you for assigning me this task! I appreciate the opportunity to contribute to the project and improve its documentation.

Can You please add labels for it?

hii @tanishaness can you please add labels for it?

done


Podman support

Podman is a rootless and lighter alternative to Docker which is compatible with the OCI standard. The command syntax is the same as Docker. The ability to build elemental-toolkit with Podman would be greatly appreciated.
Currently make build depends on Docker which results in:
# make build
(...)
 INFO   📦  system/cos-features-0.5-17  Using image:  quay.io/costoolkit/build-teal-cache:2d5da2ad8e7abf9ab55b5a8336e1126ba2cf32973ccfc598dbfebf84de66dbd0
 INFO   📦  system/cos-features-0.5-17 🐋  Generating 'builder' image from quay.io/costoolkit/build-teal-cache:2d5da2ad8e7abf9ab55b5a8336e1126ba2cf32973ccfc598dbfebf84de66dbd0 as quay.io/costoolkit/build-teal-cache:builder-4392e325315c39c9887e7b38f5289171 with prelude steps
 WARNING   Failed to download 'quay.io/costoolkit/build-teal-cache:builder-4392e325315c39c9887e7b38f5289171'. Will keep going and build the image unless you use --fatal
 WARNING   Failed pulling image: : exec: "docker": executable file not found in $PATH

Can you
alias docker=podman

and try again ?

Any suggestions on how to change the Makefile ?

Thanks for the idea @kkaempf
This turned out to be more complex than I anticipated, nonetheless here's the solutions that I came up with 🙂
v0.10.7
Using alias in bash doesn't work with Makefile as it spawns a new non-interactive child process which uses /bin/sh (on my system this resolves to /usr/bin/bash):
$ echo "alias docker=podman" >> ~/.bashrc && source ~/.bashrc

$ docker version
Client:       Podman Engine
Version:      4.5.1
(...)

$ make build
(...)
 WARNING   Failed to download 'quay.io/costoolkit/build-teal-cache:builder-4392e325315c39c9887e7b38f5289171'. Will keep going and build the image unless you use --fatal
 WARNING   Failed pulling image: : exec: "docker": executable file not found in $PATH

This makes the alias unavailable as per the documentation:

When Bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.

However, it's possible to workaround this with:
$ make SHELL="/bin/bash -i" build

But this might lead to unexpected behavior depending on the user's environment variables and aliases
Another alternative is setting non-interactive variables in /etc/bashrc but I'm not a fan of that either which lead me further down the rabbit hole:

Aliases are not expanded when the shell is not interactive, unless the expand_aliases shell option is set using shopt […].
The rules concerning the definition and use of aliases are somewhat confusing. Bash always reads at least one complete line of input before executing any of the commands on that line. Aliases are expanded when a command is read, not when it is executed. Therefore, an alias definition appearing on the same line as another command does not take effect until the next line of input is read. […] To be safe, always put alias definitions on a separate line, and do not use alias in compound commands.
For almost every purpose, aliases are superseded by shell functions.

Unfortunately aliases are tricky with subshells and the best practice is to use functions:
$ docker () { podman $@; }
$ export -f docker
$ make SHELL="/bin/bash -O expand_aliases" build

Ultimately I wanted less commands and ended up doing:
$ ln -s $(which podman) /usr/bin/docker

main / upcoming release
Fortunately, DOCKER argument is already properly implemented in Makefile (which is the best practice). I was able to do it this way:
sudo -i
pacman -S crun podman git go
git clone --depth 1 --single-branch --branch main https://github.com/rancher/elemental-toolkit.git && cd elemental-toolkit
echo 'unqualified-search-registries = ["docker.io"]' >> /etc/containers/registries.conf
DOCKER=podman make build

reopening - we should make this more prominent in the documentation


Example docs mangling url

Hi, not sure if I am using this incorrectly but when I use the function:
 .wrap(RedirectHTTPS::with_replacements(&[(":8080".to_owned(), ":8443".to_owned())]))
With 2 apps running on 8080 and 8443 respectively, when I type localhost:8080, I get redirected to a weird port (https://localhost44380/).
When I use "8080" and "8443", it works.
actix-web 2.0
actix-web-middleware-redirect-https 1.0.0

Hey, thanks for the issue - did you resolve this in the end or is it still a bug?

Looks like I solved it with the following, though it has been a while
.bind_openssl(ssl_address, builder).expect("Cannot bind to ssl port.")
    .run();
    let non_ssl_server = HttpServer::new(move || {
        App::new()
            .wrap(RedirectHTTPS::with_replacements(&[(env::var("NON_SSL_PORT").unwrap().to_owned(), env::var("SSL_PORT").unwrap().to_owned()), (env::var("SSL_PORT").unwrap().to_owned(), env::var("SSL_PORT").unwrap().to_owned())]))
    })
    .bind(non_ssl_address).expect("Cannot bind to non ssl port")
    .run();
    future::try_join(ssl_server, non_ssl_server).await?;


Performance : tag and push

Docker allows to tag and push only one image.
For limiting the interactions between the server and the repository it's possible to add the possibility to push an image with multiple tag in one time ?

Thanks for opening, this is a duplicate of https://github.com/docker/docker/issues/7336, please subscribe to that issue to stay informed on updates


Visualization

Do you think it is possible to provide the code for the visualization that is provided in the paper:
like

or this:

About visualization you could use the function plot_3d_pose_v2 in
utills/plot_script.py for plotting poses, or function plot_3d_motion_v2 for
short video (.gif) animations.
Sey Eeet<EMAIL_ADDRESS>于2020年9月3日周四 下午2:53写道：

Do you think it is possible to provide the code for the visualization that
is provided in the paper:
like
[image: image]
https://user-images.githubusercontent.com/62394093/92166017-e906b700-ee05-11ea-8598-129d2973815e.png
or this:
[image: image]
https://user-images.githubusercontent.com/62394093/92166050-fa4fc380-ee05-11ea-829f-b7bec985f77e.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EricGuo5513/action-to-motion/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRYNBYZAXQE3G27LRCLASLSD765LANCNFSM4QV5EDWA
.

Hi seyseet,
If you want to plot the semi-nude 3d model like the second figure, you may need to render the 3d poses into SMPL models.


Fix transparent background of the popup to share query link.

The popup for sharing the query link has transparent background, as can be seen here:

I changed the popup's background to white.

thanks!


Created a action workflow

To get a jar without building it be yourself

Alright, I'll merge with the 1.18 branch. Thank you!


runc: 1.0.0-rc10 -> 1.0.0-rc90

https://github.com/opencontainers/runc/releases/tag/v1.0.0-rc90
Identical to rc10.
We can switch to buildGoModule and drop goPackagePath  with rc91.

This is a weird release, but umm.. Ok. :P

This is a weird release, but umm.. Ok. :P

I especially love the changelog.


feat: add python bindings for the cleanup_old_versions function

Closes #1180

@wjones127 I made considerable changes to this PR and it probably needs review again, sorry.

It now records the number of bytes removed and reports that
It will now delete more recent files if it can verify they are part of some old manifest
I have removed the two-week limit on the before parameter

@westonpace do you want to clean this up so we can merge? I'd like to integrate this into LanceDB this week if possible.

@westonpace do you want to clean this up so we can merge? I'd like to integrate this into LanceDB this week if possible.

@wjones127 this should be ready again (I'll check CI in a bit)


it allows zoom-gesture when PreferencesModal is open

Description
This fixes #731
I implemented the second solution, enabling zoom-in functionality when the PreferencesModal is open on both mobile and desktop
How I tested
I tested it on an iPhone 15 Pro and Google Chrome on desktop, and it now allows zoom-in, zoom-out, as well as scrolling when zoomed in
Test Screenshot
Zoomed in

Zoomed out

@menghif Thank you always for your kind feedback,
and apologies for the late reply—I've been swamped with assignments as the semester comes to a close.
I’ve adjusted the font size of input elements in the PreferencesModal to prevent Safari’s auto-zoom-in behavior.


hxl2tab: tab format, focused for compatibility with Orange Data Mining

Orange Data Miner specification about .tab

http://orange.biolab.si/docs/latest/reference/rst/Orange.data.formats.html
https://orange-data-mining-library.readthedocs.io/en/latest/reference/data.io.html

File:

bin/hxl2tab
https://github.com/EticaAI/HXL-Data-Science-file-formats/blob/main/bin/hxl2tab

TODO: add more information.

The EticaAI-Data_HXL-Data-Science-file-formats_Tab already have an draft of an table that could be used to make an Expert system without the need of full machine learning models.
But for this implementation, I think that we can simply implement both the more specific prefixes, like the +vt_orange_, and and maybe some special more generic attributes to be used with #3, like the one to mention the "class" (both Orange and Weka use class).

The EticaAI-Data_HXL-Data-Science-file-formats_Tab already have an draft of an table that could be used to make an Expert system without the need of full machine learning models.
But for this implementation, I think that we can simply implement both the more specific prefixes, like the +vt_orange_, and and maybe some special more generic attributes to be used with #3, like the one to mention the "class" (both Orange and Weka use class).

Ok. Interesting. Here the Orange 'Simplified header' specification

While not ideal, the HXLated output without text headers actually are pretty similar to what orange would expect. The biggest difference is that everything after the # the orange consider as textual header, but before this is possible to add a few extra short variables.

Ok. Interesting. Here the Orange 'Simplified header' specification

While not ideal, the HXLated output without text headers actually are pretty similar to what orange would expect. The biggest difference is that everything after the # the orange consider as textual header, but before this is possible to add a few extra short variables.

hxl2tab https://docs.google.com/spreadsheets/d/1Vqv6-EAdSHMSZvZtE426aXkDiwP8Mdrpft3tiGQ1RH0/edit#gid=0 temp/example-ebola-dataset-1_HXLated+tab.csv

fititnt@bravo:/workspace/git/EticaAI/HXL-Data-Science-file-formats$ head temp/example-ebola-dataset-1_HXLated+tab.csv
#status	#country	#adm1	#adm1+code	#loc	#loc	#org	#loc+type	#affected+dead	#affected+confirmed	#affected+suspected
Pending	Liberia	Margibi	LR09	Kakata 1	Kakata 2 AFL	AFL	ETC	0	0	0
Functional	Guinea	Nzerekore	GN008		Nzerekore	Ailema (?)	ETC	45	56	3
Pending	Liberia	River Gee	LR13	Fishtown	Fishtown ETC	American Red Cross	ETC	0	0	0
Functional	Sierra Leone	Western	SL04	Jui	Sierra Leone-China Friendship Hospital (Jui Hospital)	Chinese CDC	ETC	47	65	17
Pending	Guinea	Nzerekore	GN008			Croix-Rouge franÃ§aise	ETC	0	0	0
Pending	Sierra Leone	Western	SL04	Freetown	Goderich	EMERGENCY	ETC	0	0	0
Functional	Sierra Leone	Western	SL04	Lakka	Lakka Hospital ETU	EMERGENCY Italian NGO	ETC	3	17	11
Functional	Liberia	Margibi	LR09	Firestone	Firestone Medical Center	Firestone Company	ETC	14	29	19
Functional	Liberia	Montserrado	LR11	Monrovia	Monrovia, Congo Town - Old Ministry of Defence ETU 1	FMT	ETC	1	30	6

hxl2tab https://docs.google.com/spreadsheets/d/1Vqv6-EAdSHMSZvZtE426aXkDiwP8Mdrpft3tiGQ1RH0/edit#gid=0 temp/example-ebola-dataset-1_HXLated+tab_hxltabv15.tab

fititnt@bravo:/workspace/git/EticaAI/HXL-Data-Science-file-formats$ head temp/example-ebola-dataset-1_HXLated+tab_hxltabv15.tab
cD#status+vt_categorical+vt_class	D#country+vt_categorical	D#adm1+vt_categorical	D#adm1+code+vt_categorical	D#loc+vt_categorical	D#loc+vt_categorical	D#org+vt_categorical	#loc+type+vt_meta	C#affected+dead+number	C#affected+confirmed+number	C#affected+suspected+number
Pending	Liberia	Margibi	LR09	Kakata 1	Kakata 2 AFL	AFL	ETC	0	0	0
Functional	Guinea	Nzerekore	GN008		Nzerekore	Ailema (?)	ETC	45	56	3
Pending	Liberia	River Gee	LR13	Fishtown	Fishtown ETC	American Red Cross	ETC	0	0	0
Functional	Sierra Leone	Western	SL04	Jui	Sierra Leone-China Friendship Hospital (Jui Hospital)	Chinese CDC	ETC	47	65	17
Pending	Guinea	Nzerekore	GN008			Croix-Rouge franÃ§aise	ETC	0	0	0
Pending	Sierra Leone	Western	SL04	Freetown	Goderich	EMERGENCY	ETC	0	0	0
Functional	Sierra Leone	Western	SL04	Lakka	Lakka Hospital ETU	EMERGENCY Italian NGO	ETC	3	17	11
Functional	Liberia	Margibi	LR09	Firestone	Firestone Medical Center	Firestone Company	ETC	14	29	19
Functional	Liberia	Montserrado	LR11	Monrovia	Monrovia, Congo Town - Old Ministry of Defence ETU 1	FMT	ETC	1	30	6

Humm, from this semi-random Reddit thread I found this https://github.com/hugapi/hug. So, in theory, is possible to do an hackish way to expose cli interface as webapp. At bare minimum this can help with pass to orange an URL (even if local) instead of manually save the file with the cli app.
The post cites other alternatives, but this one requires less dependencies and low number of changes. Also for some quick tests, if need to quick expose the URL without setup remote server, would be possible to use ngrok (https://ngrok.com/), so it may be useful if someone elses need something for a quick period and any randon people from community just send an private URL from their computer and solve the issue util something better comes.

A proof of concept exist since at least v<IP_ADDRESS>, and is documented on the main README.md.
This can be used standalone, but still require original dataset already be valid HXL and have some tags like +vt_orange_flag_class to work as hint for the export to Orange.
Trivia: the hxlquickmeta is one way to automate how a dataset could be tagged to be used with hxl2tab (which could be useful for very large datasets with so many columns. But the inner parts of bin/hxl2tab still need edit python code (not like most other new tools here with fully configurable ontologies with YAML.

From the README:
1.2.2 hxl2tab: tab format, focused for compatibility with Orange Data Mining

Main issue: https://github.com/EticaAI/HXL-Data-Science-file-formats/issues/2
Orange File Specification: https://orange-data-mining-library.readthedocs.io/en/latest/reference/data.io.html
Source code: bin/hxl2tab

What it does: hxl2tab uses an already HXLated dataset and then, based on
#hashtag+attributes, generates an Orange Data Mining .tab format with extra
hints.

The hxl2tab v2.0 has some usable functionality to use a web interface
instead of cli to generate the file. Uses hug 🐨 🤗.

If you want quick expose outside localhost, try ngrok.

Installation
This package can both be installed by doing a copy of
bin/hxl2tab to a place on your executable path and
installing dependencies manually.
The automated way to your path or as part of the
Python pypi package hdp-toolchain
already with extra dependencies is:
python3 -m pip install hdp-toolchain[hxl2tab]

# python3 -m pip install hdp-toolchain[full]


v1.10 CustomReport is broken by later versions

We have a CustomReport that wraps a v1.10 Report.
It adds 2 data points to the report's data:
data.env = cfg.env
data.baseUrl = cfg.baseUrl

It further records details about failed scenarios into this data about a test's scenario name, file path, and exception message.
Additionally, it outputs a separate json report like so:
    private void createFile() {
        def reportPath = cfg.workingDir.resolve('webtau.report.json').toAbsolutePath()
        reportPath.toFile().text = JsonUtils.serializePrettyPrint(data)

        ConsoleOutputs.out('additional report is generated: ', Color.PURPLE, reportPath)
    }

How should this report be generated with the current version of webtau?

Can you elaborate on wraps Report?
Are you implementing webtau-report/src/main/java/com/twosigma/webtau/report/ReportGenerator.java And registering it via META-INF or groovy config file?

private CustomReport(Report report) {
        this.report = report
        this.testEntries = report.testEntries
        this.data = report.createSummary().toMap()
    }

The CustomReport does not implement ReportGenerator.
in our webtau.cfg we register reportGenerator = CustomReport.&generate , where the generate function takes the Report, creates and initializes a CustomReport and creates the additional json report via createFile()

I was able to update our CustomReport to replicate what it used to do, but had to duplicate some lines from the HtmlReportGenerator:

reportSummaryToMap()
parts from generateHtml that create the reportAsMap map

One might argue those functions are not Html specific and could be exposed somewhere meaningful. Thoughts?

Ah sorry, I thought I have replied some time back :(
That's probably OK to duplicate map creation as long as you don't duplicate any calculation logic.
Wanted to make sure you also switched to WebTauReport as a parameter to generator.

@tsiq-clemens were you able to figure things out?

yes, I'm all set with this. No calc logic duplicated.


Dataset error when using with XLA device (No unary variant device copy function found)

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04.3 LTS
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below):  v2.8.0-rc1-32-g3f878cff5b6 2.8.0
tensorflow-2.8.0-cp38-cp38-manylinux2010_x86_64.whl
Python version: 3.8
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): NA
CUDA/cuDNN version: NA
GPU model and memory: NA

Describe the current behavior
error in script:
tensorflow.python.framework.errors_impl.InternalError: Failed copying input tensor from /job:localhost/replica:0/task:0/device:CPU:0 to /job:localhost/replica:0/task:0/device:XLA_CPU:0 in order to run __inference_f_27: No unary variant device copy function found for direction: 1 and Variant type_index: tensorflow::data::(anonymous namespace)::DatasetVariantWrapper [Op:__inference_f_27]
Describe the expected behavior
script runs with no errors and produces values as expected
Contributing

Do you want to contribute a PR? (yes/no): no - internal error
Briefly describe your candidate solution(if contributing): no - internal error

Standalone code to reproduce the issue
import os
os.environ['TF_XLA_FLAGS'] = '--tf_xla_enable_xla_devices'

import tensorflow as tf

dataset = tf.data.Dataset.range(10)

@tf.function
def f():
    for x in dataset:
        tf.print(x)

with tf.device('/device:XLA_CPU:0'):
    f()

@jvishnuvardhan ,
I was able to reproduce the issue in tf v2.8, v2.7 and  nightly.Please find the gist here.

adding more context:
it appears like this failure is related to the fact that XLA is (rightfully) not supporting dataset structs and operations. however, the failure is not clear and it would be better to try and generate a clear failure statement that explains that.
the user is expected to explicitly place all dataset related work on the CPU and hand over only pure tensors to the function, when must-compile is used (in this case, the must-compile is implicitly triggered because of the explicit placement on an XLA device).

@penpornk

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


add navbar

i have reviewed the changes that you have made and it was quite good but my only query that if the nav items came to the left then where does the my Account and Cart go?


oauth2 authentification with meteor dev account

Hello,
I have managed to deploy the application on meteorhunt-jgl.meteor.com but my oauth2 mechanism does not work.
I did insert in settings.json the information I got from the https://www.meteor.com/account-settings/apps web site (I have created a meteorhunt application with the http://meteorhunt-jgl.meteor.com redirent url and I use the app id and app secret as the client id and the secret respectively).
when I try to log into the application (tab 3 and 4) and get the following error:
Something went wrong: Invalid redirect URI [400]
and nothing in the galaxy server logs.
thanks.
regards

I'm having the same issue.

The redirect URL you configure here needs to have the path _oauth/meteor-developer?close at the end of it.

perfect. it works fine now. :)
thanks a lot.


Updated search to use XML fields - high_frequency_copy_of_files_in_network_share

Details
Changed the search block to have XML fields. Additionally, added "ShareLocalPath" into the stats statement as that can be very helpful to the analyst to determine where on that system the share is located.
Also updated the required_fields block.
Checklist

[ ] Validate name matches <platform>_<mitre att&ck technique>_<short description> nomenclature
[ ] CI/CD jobs passed ✔
[ ] Validated SPL logic.
[ ] Validated tags, description, and how to implement.
[ ] Verified references match analytic.

@Rivosyke thank you so much for the fix! Any way you can share a data dump/log file that we can use to test this detection with, for example, the original was using https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1537/high_copy_files_in_net_share/security.log but obviously in multiline format.. a small (1-2) set of events that would trigger is sufficient. Otherwise, I can look into generating it ourselves, but if you have it off the cuff might make the process of merging this PR faster :smile:

@Rivosyke : Any update on the dataset? I will close the PR due to in activity. Please feel free to reopen this PR. Thank you


Is this still needed in 2021, vscode 1.52.1?

Is this extension still needed in 2021? Doesn't vscode do all this out of the box now?

For anyone coming here in 2021, it is clear that the extension is abandoned and in fact is causing issues, like this:
https://stackoverflow.com/questions/62534459/vscode-intellisense-typescript-exclude-path-that-is-referenced-in-paths
The latest version of vscode handles everything out of the box.


Docs: debian_INSTALL.md, missing libfmt-dev lib

Add apt install -y libfmt-dev to list of libraries required to Build & install the collector libraries (Integrate the collector)

Hi @paololucente ,
libfmt-dev it's coming automagically together with   libspdlog-dev.
+toto@debian0 ~ $ apt-cache depends libspdlog-dev
libspdlog-dev
  Depends: libspdlog1
  Depends: libfmt-dev

Somehow not on Ubuntu. Just adding that lib to the list of the ones to install makes the process go flawlessly on a Ubuntu 20.04

I see the problem ...
Ubuntu:
[bionic  (18.04LTS)] - libspdlog-dev: 0.16.3-1	    ---> the library seems to be a bit outdated. Never did any tests, however I would say officially not supported
[focal   (20.04LTS)] - libspdlog-dev: 1:1.5.0-1     ---> libfmt-dev is not a direct dependency. Workaround: sudo apt -y install libfmt-dev.
[jammy   (22.04LTS)] - libspdlog-dev: 1.9.2+ds-0.2  ---> fine with the current install procedure.
[kinetic (22.10)   ] - libspdlog-dev: 1.10.0+ds-0.4 ---> fine with the current install procedure.
[lunar             ] - libspdlog-dev: 1.10.0+ds-0.4 ---> fine with the current install procedure.

Hi @paololucente,
install.sh is now supporting the build/install process.


Small issues with the documentation

Hi There. I noticed a couple of issues in the documentation:
in hyper-express-session/docs/Examples.md:
const SessionEngine = require('hyper-express-session');
const TestEngine = new session_engine({

that should be:
const SessionEngine = require('hyper-express-session');
const TestEngine = new TestEngine({

also it seems that in same example:
TestEngine.on('destroy', async (session) => {
    return await redis.del('session:' + session.id);
});

but it appears that on is not a method for SessionEngine:
file:///Users/jason/NodeProjects/BaaS/hyper-express/Authentication/SessionHandling.js:43
TestEngine.on('destroy', async (session) => {
           ^

TypeError: TestEngine.on is not a function
    at file:///Users/jason/NodeProjects/BaaS/hyper-express/Authentication/SessionHandling.js:43:12
    at ModuleJob.run (node:internal/modules/esm/module_job:185:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:281:24)
    at async loadESM (node:internal/process/esm_loader:88:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12)
[nodemon] app crashed - waiting for file changes before starting...

Hi, I must've forgotten to change these from the last major update. These have been fixed now in a commit.

Thanks!


CCTweaks 1.4.0 serverside crash

Crash report: https://hastebin.com/ojogaxuhiy.sql
Forge 2281.

I'm not entirely sure why this was loading client only methods, but it should all be fixed - I'll get a build out now. Thanks for reporting!


Fix: iOS build from Android Studio did not run on simulator due to wrong path of ios framework

#482  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


What is maskmode(in models.lua defineG_shiftNet used for?

Dear author, thank you for your excellent work.
I can't understand the code in models.lua
https://github.com/Zhaoyi-Yan/Shift-Net/blob/b4bb2d19e33320efd26b2bd94187b213bce8a996/models.lua#L49
https://github.com/Zhaoyi-Yan/Shift-Net/blob/b4bb2d19e33320efd26b2bd94187b213bce8a996/models.lua#L13
Could you please  tell me why it is needed?

Hi,
it represents a three-layer convs(1 channel each, with all weights 1/16). It is just used to represent the masked region in feature space. threshold can filter out masked region and unmasked region, by judging whether the correspond value is larger than threshold or not.

Thank you for the quick reply! It helps a lot!
But i still have some problem with this code,in train.lua https://github.com/Zhaoyi-Yan/Shift-Net/blob/7669232c22d4b16a989ecd8169ec9983215afefe/train.lua#L426
Is df_dummy the gradient of the guidance loss?why is there zero() function? Could you please explain it ?
thanks!

https://github.com/Zhaoyi-Yan/Shift-Net/blob/master/lib/innerCos.lua#L51
function AddCos:updateGradInput(input, gradOutput)
    local gradInput_former = self.criterion:backward(self.input_latent_mask, self.GT_latent_mask)
    gradInput_former:mul(self.strength)
    gradInput_former:add(gradOutput)

    local dummy_mask_grad = torch.Tensor(self.bz, 1, self.h, self.w):typeAs(input):zero()
    self.gradInput = torch.cat({gradInput_former, dummy_mask_grad}, 2)
    return self.gradInput
end

Guidance loss is handled in InnerCos.lua, the truth gradients is calculate in this function.
So you need to pass zero graidents in.

yes!Thanks


Because flutter_osm_plugin >=0.29.0 depends on permission_handler ^8.3.0 and biopower depends on permission_handler ^10.0.0,

Because flutter_osm_plugin >=0.29.0 depends on permission_handler ^8.3.0 and biopower depends on permission_handler ^10.0.0, flutter_osm_plugin >=0.29.0 is forbidden.
So, because biopower depends on flutter_osm_plugin ^0.34.1+2, version solving failed.
pub get failed (1; So, because biopower depends on flutter_osm_plugin ^0.34.1+2, version solving failed.)

add this to pubspec
dependency_overrides :
   permission_handler:  ^10.0.0


Does not wait for process to finish

We have a process that writes a value to a file which is then required by the actual build process like this:
git describe --tags HEAD >.app-version || date --rfc-3339=seconds >.app-version

Then, the "version file" generated as above is require()d in the application source.
It turns out this plugin does not wait for the command to finish before passing control back to webpack, because today we got an error during the JS build:
ModuleNotFoundError: Module not found: Error: Cannot resolve 'file' or 'directory' ../.app-version in /builds/xxx/src

Here is a more minimal demonstration:
                new WebpackShellPlugin({
                        onBuildStart: [
                                'sleep 60; touch .myfile'
                        ],
                        safe: true
                })

Then, if you run your build as usual, it will actually finish before the file has been created. This prevents you from require()ing files generated as such in your webpack project.
I see 2 solutions:

Use the callback interface provided by Webpack plugin API, or
Use execSync instead of exec

Same issue here,plugin should wait for process to finish if possible. It's causing a compile loop for me because the pre-build process emits input for the actual webpack compilation after webpack has already completed its build process.

Just made a pr https://github.com/1337programming/webpack-shell-plugin/pull/50

It would be great to get this merged - this is a pretty big blocker for using this lib for us.

Is there any update on merging the PR? I can use npm pre- hook for now, but it doesn't execute when webpack rebuild the project on watch. This is a great plugin, it would be perfect for me if this feature is implemented. thanks!

Having the compile loop issue here too. would love to see this merged!

I made a fork that allows you to block until the scripts finish execution. please check it out: https://www.npmjs.com/package/webpack-synchronizable-shell-plugin


Add support for $fb.trackCustom

My mistake, just realized this is very easy to work around with:
this.$fb.query('trackCustom', 'AddressInfoStep')


Support re-run activity that using sagaPropertBag to pass information

We're using SagaPropertBag to pass parameters between different activities, and we have a re-try mechanism to re-run failing activities, but in case we run the same activity that already added a key to the bag, we will get an exception that key already exists.
This fix should fix the issue above.

Thanks for the pull request. I notice it triggered a NuGet publish build which I'm looking into as this shouldn't happen until it is merged.


Need json converter from PYBIB-1 in order to complete PYBIB-10

We don't actually need this. We will need to merge this back into PYBIB-1 when we're done.


python311Packages.appthreat-vulnerability-db: 5.5.7 -> 5.5.8

Diff: https://github.com/AppThreat/vulnerability-db/compare/refs/tags/v5.5.7...v5.5.8
Changelog: https://github.com/AppThreat/vulnerability-db/releases/tag/v5.5.8
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 279103 run on x86_64-linux 1

8 packages built:

appthreat-depscan
appthreat-depscan.dist
dep-scan
dep-scan.dist
python310Packages.appthreat-vulnerability-db
python310Packages.appthreat-vulnerability-db.dist
python311Packages.appthreat-vulnerability-db
python311Packages.appthreat-vulnerability-db.dist


new group: Nitrogen

host location
nitrogenczslprh3xyw6lh5xyjvmsz7ciljoqxxknd7uymkfetfhgvqd.onion
group name
Nitrogen
group information
No response
host
v3 (onion)
parser
No response

@joshhighet
Parser cmd line could be :
 grep -oP '(?<=
)(.*?)(?=
)' source/nitrogen-*.html


bccontainerhelper uses a function called Expand-7zipArchive that breaks commands

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
When using Download-Artifacts on a local machine just to download the artifacts, the cmdlet will fail when using Expand-7zipArchive.
The function Expand-7zipArchive doesn't seem to be part of bccontainerhelper module and the module also doesn't mention any dependent modules in it's manifest.
Scripts used to create container and cause the issue
Download-Artifacts -artifactUrl $ArtifactUrl

Full output of scripts
Download-Artifacts -artifactUrl $ArtifactUrl -basePath $DestinationPath
Downloading application artifact /onprem/17.5.22499.22546/nl
Downloading C:\Users\XXX\AppData\Local\Temp\5b23446c-a8db-43e3-9187-a8ced44b9515.zip
Unpacking application artifact to tmp folder Expand-7zipArchive : The property 'use7zipIfAvailable
' cannot be found on this object. Verify
that the property exists.
At C:\Program
Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.4\Misc\Download-Artifacts.ps1:84 char:21
+ ...             Expand-7zipArchive -Path $appZip -DestinationPath $tmpFol ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Expand-7zipArchive], PropertyNotFoundException
    + FullyQualifiedErrorId : PropertyNotFoundStrict,Expand-7zipArchive
...

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
It happens all the time.
I don't know if it worked before, this is the first time I am trying it.

Try to run
Import-Module BcContainerHelper
before using Download-Artifacts

Already doing that, no luck. The module is loaded. As you can see, the download of the artifact doesn't give issues, only the extraction part.

If I list the cmdlets available in the module, I don't see any Expand-7ZipArchive.

That is an internal function using a variable, which is initialized in the module initialization code.

Are you explicitely running Import-Module (I know it is loaded - but what did that line print out)?

I forced the load and worked this time.
Thanks for the help.

I will change the use of the variable in the expand-7zip function to call the function, which initializes the variable.
This way, this shouldn't happen again


Dozens of TCP out resets

Using Goofys, I experience dozens of TCP out resets per second. I am concerned this is affecting performance.
Environment: Goofys 0.24.0, Ubuntu 20.04.2 LTS
VM location: Have tried with VMs running on prem, in GCP, and in Digital Ocean
S3 target: Have tried with Wasabi and RSTOR
If I switch to s3fs, the out resets go away completely. But s3fs is very slow, and I would much rather use Goofys :)
Because I have tried multiple backend S3 targets, and multiple VMs in multiple clouds, I have to assume the issue is with Goofys.

Here is a pcap showing the resets.

@kahing any thoughts?

Seeing the same thing, just installed netdata to verify.

Using rustc 1.53.0, and 1.52.1 to compile, using both release 0.24.0 of goofys, and a freshly compiled clone of main.
I tracked the RST's using tcpdump, "tcpdump -i eth0 -n -v 'tcp[tcpflags] & (tcp-rst) != 0'" sending RST back to S3 Provider.
I enabled debug_s3, and debug_fuse and did not view any outstanding errors.
My S3 mount is ReadOnly on S3 Policy Side, and fstab side, so I am only doing reads.
I have turned off my application reading from S3, and am able to duplicate by cat filename > /dev/null immediately shows RST packets back to S3.

@kahing pinging this issue again


Initial setup with v2: ERROR:  relation "sessions" does not exist

Hello,
I worked on an Ansible Role for scumblr and did an update for just released v2.
https://github.com/juju4/ansible-scumblr
setup is mostly the same than v1 but resulting instance doesn't pass test
$ curl -sSq http://localhost:3000/
PG::UndefinedTable at /unauthenticated
======================================

> ERROR:  relation "sessions" does not exist
LINE 5:                WHERE a.attrelid = '"sessions"'::regclass
                                          ^

activerecord (4.2.6) lib/active_record/connection_adapters/postgresql_adapter.rb, line 592
------------------------------------------------------------------------------------------

ruby
  587             result.clear
  588             ret
  589           end
  590
  591           def exec_no_cache(sql, name, binds)
> 592             log(sql, name, binds) { @connection.async_exec(sql, []) }
  593           end

I don't see any new steps on the wiki and database is initialize by rake, so not sure why there is a relation missing.
Thanks

Hi @juju4,
It looks like you're missing a database table that should be created in setup. I think this is our fault as there were some updates to the documentation that it looks like weren't pushed up. We'll get that pushed up this morning and we'll point you in the right direction on this ticket once it's there.
Sorry about that!

Wiki should be updated now. Take a look here: https://github.com/Netflix/Scumblr/wiki/Setting-up-Scumblr-2.0-(New-install)
For instructions on setting up a fresh install. If you're interested in migrating from an earlier version there are instructions for that here:
https://github.com/Netflix/Scumblr/wiki/Upgrading-To-Scumblr-2.0-From-Scumblr-1.X

HI @juju4,
We missed pushing up our new Wiki documentation.  It should be up to date, specifically setting up 2.0 can be found here: https://github.com/Netflix/Scumblr/wiki/Setting-up-Scumblr-2.0-(New-install).  We also have migration steps from 1.0 which you can see in the Wiki as well.
Thanks,
Scott


Feature:  Tempo

We summon this when computing beats - we just need to add it to Audio, so we can do audio.tempo

Done with https://github.com/algorithmic-music-exploration/amen/pull/91


Code review

I did some linting and code review. Happy to discuss the changes :-)

Pull Request Test Coverage Report for Build 289

58 of 72 (80.56%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.8%) to 98.784%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

selection.go
3
5
60.0%

models.go
15
27
55.56%

Totals

Change from base Build 288:
-0.8%

Covered Lines:
1625

Relevant Lines:
1645

💛  - Coveralls

LGTM!


feat(opslevel): upload image scan result summary to opslevel

What this PR does / why we need it: Upload image vulnerability scan results produced by Circle CI to OpsLevel.

JIRA ID: DT-509

Notes for your reviewer: I tested with local run simulation setting Circle CI env directly to point out to one of the bootstraptestservice job with image scan results. I have also created health checks in OpsLevel (and added bootstraptestservice as a service there) -  I can see the Prismacloud vuln and compliance health checks appear on the bootstraptestservice service health page. I will shortly test it with fake bootstrap/devbase run locally as well e2e.

@nissim-natanov-outreach Can you document the env vars and their purpose / value on this PR? We'll need to write docs for these decently soon

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


(maint) Updates Chocolatey Install Script

Description Of Changes
This PR is being created to show the differences between the existing install script, and our baseline install script.
Motivation and Context
There have been updates made to the install script that we need to bring in. Ideally, I'd argue, we should be keeping the baseline of the QSG install script using the existing Install.ps1 (and modifying it within the environment if required).
Testing
This will currently break things, and needs discussion.
Change Types Made

~[ ] Bug fix (non-breaking change).~
~[ ] Feature / Enhancement (non-breaking change).~
[x] Breaking change (fix or feature that could cause existing functionality to change).
[ ] Documentation changes.
[x] PowerShell code changes.

Change Checklist

[x] Requires a change to the documentation.
[ ] Documentation has been updated.
~[ ] Tests to cover my changes, have been added.~
[ ] All new and existing tests passed?
~[ ] PowerShell code changes: PowerShell v2 compatibility checked?~

Related Issue
Related to https://github.com/chocolatey/home/issues/276

@JPRuskin I think this is good, we just need to adjust client setup to "do the right things" to take advantage of the new parameter layout of the install script.


Vert.x Config Map Booster consistency fixes

Change acceptance criteria for Vert.x booster
Explain integration test execution
Make [source] tags consistent
change of CFG map is now consistent with other boosters
reallign oc get routes output

Merged: https://github.com/openshiftio/appdev-documentation/commit/497e559f4ef3e727f6261cae4a534c40f0820570


[110] - Convert panic calls in ./service/main.go to cleanly exit

Closes #110
I've done a couple things in this PR:

[X] Added a stderr logger (@jk-intuit mentioned that is where we'd like this output to go, so I created a separate logger for stderr according to https://github.com/go-kit/log#interact-with-stdlib-logger.  I'm happy to swap this out to log a different way; I just wanted to make sure I captured the success criteria listed in the issue).

[X] Updated the panic statements to use the newly created stderr logger

[X] Added os.Exit(1) exits as requested.

Codecov Report

Merging #369 (f5d38ef) into main (1393854) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #369   +/-   ##
=======================================
  Coverage   70.01%   70.01%
=======================================
  Files          11       11
  Lines        2041     2041
=======================================
  Hits         1429     1429
  Misses        510      510
  Partials      102      102

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 1393854...f5d38ef. Read the comment docs.


Android: Add Saved Stories segmented control to All/Unread/Focus

Saved stories by feed, showing the saved count per feed in blue (same as the unread counts for saved stories). This exists on the web.
Adding read_filter=starred will get you the stories, per-feed.
The counts are in starred_counts from /reader/feeds?flat=true. It is two parts merged:
...
{
    "count": 1,
    "feed_address": null,
    "feed_id": 5077457,
    "tag": null
},
{
    "count": 1,
    "feed_address": null,
    "feed_id": 97100,
    "tag": null
},
{
    "count": 5,
    "feed_address": "http://www.newsblur.com/reader/starred_rss/13/db0d7a788724/art",
    "feed_id": null,
    "tag": "Art"
},
{
    "count": 3,
    "feed_address": "http://www.newsblur.com/reader/starred_rss/13/db0d7a788724/",
    "feed_id": null,
    "tag": "being human"
},
...

The top two are the feed counts, bottom two are the tag counts. Why I merged the two I don't know but it's easy to separate them.

Hmm, this way of looking at saved stories by feed is a bit different than how I had the design in my head and how I was already coding things.  I had thus far been treating saved counts for a feed as a sort of specialised tag and showing both tags and feed groupings in the expandable tree under the all-saved-stories list item.
This made sense to me, in that it puts all of the saved stories info in one spot in the UI, lets you see saved counts by feed, and avoids the myriad evils of a modal filter UI.
Would you be willing to entertain a demo version of the UI that works in this way? I am liking the design for my own use, and it is virtually finished, once I merge this code that I started a month ago with all of the hyperuser rewrites that pushed it back.

Sure I'll take a look, but why not merge the two and let feeds show their own saved story count?

(Bias Disclaimer: I find modal interfaces deeply confusing for users and Android has a really bad history with them; users often end up saying "my stories/emails/photos are missing!" when in reality they were just in the wrong mode.)
Just my personal thought process that led me to the particular UI choice?  It never even dawned on me to make saved viewing a mode rather than a heirarchy.  Since saved stories as split by tags were viewed as a level under the existing saved stories section of the tree, saved stories split by feed also belonged there at that level.  Furthermore, I think of saved stories as having been archived and thus behave differently than fresh stories (no read state, no intel state, ordered by save date rather than publish date, etc), they live in a separate world down in the lower part of the tree.
I would also find the use of a mode switch a bit confusing because some saved story sections already do appear (and always have appeared) when not in a 'saved' mode, so why should slicing and dicing in this one new way require a mode switch?
All that said, moving to the design as described in this issue wouldn't be too enormous a change, code-wise.

I hear you. It's a tradeoff between consistency (lists of lists) and ease (list modes). Since we already have the mode "problem" where users get into Focus mode or Text mode and don't understand why they are there, it seems to me that we've already solved it with messaging. Show the "No saved stories" dialog if nothing, just like we do for Focus. And if they do have a saved story, the user taps the feed, sees that the story has a clock next to its title (web and iOS do this, does android change the story title when a story is saved? that should definitely be a ticket if not), and realizes it's a saved story.

Can we use the updated icons from iOS? Check<EMAIL_ADDRESS>unread_green, and unread_blue. Oh, and<EMAIL_ADDRESS>https://github.com/samuelclay/NewsBlur/blob/5.1/clients/ios/Resources/unread_blue%403x.png
https://github.com/samuelclay/NewsBlur/blob/5.1/clients/ios/Resources/unread_green%403x.png
https://github.com/samuelclay/NewsBlur/blob/5.1/clients/ios/Resources/unread_yellow%403x.png
https://github.com/samuelclay/NewsBlur/blob/5.1/clients/ios/Resources/all%403x.png

Note that they are only in the 5.1 branch right now. But feel free to just copy those resources over.

Absolutely. My first PR will be just the new functionality, and then I am
going to do a big UI pass to get things up to date and consistent in
several spots.
On 30 Mar 2016 5:33 pm, "Samuel Clay"<EMAIL_ADDRESS>wrote:

Note that they are only in the 5.1 branch right now. But feel free to just
copy those resources over.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/samuelclay/NewsBlur/issues/898#issuecomment-203696135

done in #902