load custom preset in pyhton

Hello I need some help 😄
I try to use my custom made (with RS Viewer) json-file in pyhton.
`
import pyrealsense2 as rs
import numpy as np
import cv2
import imageio
import json
DS5_product_ids = ["0AD1", "0AD2", "0AD3", "0AD4", "0AD5", "0AF6", "0AFE", "0AFF", "0B00", "0B01", "0B03", "0B07","0B3A"]
def find_device_that_supports_advanced_mode() :
ctx = rs.context()
ds5_dev = rs.device()
devices = ctx.query_devices();
for dev in devices:
if dev.supports(rs.camera_info.product_id) and str(dev.get_info(rs.camera_info.product_id)) in DS5_product_ids:
if dev.supports(rs.camera_info.name):
print("Found device that supports advanced mode:", dev.get_info(rs.camera_info.name))
return dev
raise Exception("No device that supports advanced mode was found")
dev = find_device_that_supports_advanced_mode()
advnc_mode = rs.rs400_advanced_mode(dev)
print(advnc_mode)
print("Advanced mode is", "enabled" if advnc_mode.is_enabled() else "disabled")
while not advnc_mode.is_enabled():
print("Trying to enable advanced mode...")
advnc_mode.toggle_advanced_mode(True)
# At this point the device will disconnect and re-connect.
print("Sleeping for 5 seconds...")
time.sleep(5)
# The 'dev' object will become invalid and we need to initialize it again
dev = find_device_that_supports_advanced_mode()
advnc_mode = rs.rs400_advanced_mode(dev)
print("Advanced mode is", "enabled" if advnc_mode.is_enabled() else "disabled")
#print("Depth Control: \n", advnc_mode.get_depth_control())
#print("RSM: \n", advnc_mode.get_rsm())
#print("RAU Support Vector Control: \n", advnc_mode.get_rau_support_vector_control())
#print("Color Control: \n", advnc_mode.get_color_control())
#print("RAU Thresholds Control: \n", advnc_mode.get_rau_thresholds_control())
#print("SLO Color Thresholds Control: \n", advnc_mode.get_slo_color_thresholds_control())
#print("SLO Penalty Control: \n", advnc_mode.get_slo_penalty_control())
#print("HDAD: \n", advnc_mode.get_hdad())
#print("Color Correction: \n", advnc_mode.get_color_correction())
#print("Depth Table: \n", advnc_mode.get_depth_table())
#print("Auto Exposure Control: \n", advnc_mode.get_ae_control())
#print("Census: \n", advnc_mode.get_census())
#serialized_string = advnc_mode.serialize_json()
#print("Controls as JSON: \n", serialized_string)
with open("as_json_object.json", "r") as read_file:
data = json.load(read_file)
as_json_object = data
if type(next(iter(as_json_object))) != str:
as_json_object = {k.encode('utf-8'): v.encode("utf-8") for k, v in as_json_object.items()}
json_string = str(as_json_object).replace("'", '"')
advnc_mode.load_json(json_string)
pipeline = rs.pipeline()
config = rs.config()
#config.enable_stream(rs.stream.depth, 1280, 720, rs.format.z16, 30)
#config.enable_stream(rs.stream.color, 1280, 720, rs.format.bgr8, 30)
config.enable_stream(rs.stream.depth, 640, 480, rs.format.z16, 30)
config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30)
profile = pipeline.start(config)
depth_sensor = profile.get_device().first_depth_sensor()
depth_scale = depth_sensor.get_depth_scale()
print("Depth Scale is: " , depth_scale)
align_to = rs.stream.color
align = rs.align(align_to)
for i in range(1000000):
frames = pipeline.wait_for_frames()
    aligned_frames = align.process(frames)
    aligned_depth_frame = aligned_frames.get_depth_frame()
    color_frame = aligned_frames.get_color_frame()

    if not aligned_depth_frame or not color_frame:
        continue

    depth_image = np.asanyarray(aligned_depth_frame.get_data())
    color_image = np.asanyarray(color_frame.get_data())

    depth_colormap = cv2.applyColorMap(cv2.convertScaleAbs(depth_image, alpha=0.03), cv2.COLORMAP_JET)
    images = np.hstack((color_image, depth_colormap))

    cv2.namedWindow('Align Example', cv2.WINDOW_AUTOSIZE)
    cv2.imshow('Align Example', images)
    key = cv2.waitKey(1)

    if key & 0xFF == ord('q') or key == 27:
        cv2.destroyAllWindows()
        break

     cv2.imwrite("../data/003/depth%d.jpg" % i, depth_colormap)
     cv2.imwrite("../data/003/rgb%d.jpg" % i, color_image)

else:
cv2.destroyAllWindows()
pipeline.stop()
`
what is needed to import the jason and use it during the dataaquisition?
please I need help

I hope that the Python script in the link below will be useful to you.
https://github.com/IntelRealSense/librealsense/issues/856#issuecomment-347828788

Hey thanks for your reply - I allready tried to implement this "python-rs400-advanced-mode-example.py"
in the code printed above.
unfortunately without success...

Have you also seen Dorodnic's modification of opencv_viewer_example.py to cycle through presets, please?
https://github.com/IntelRealSense/librealsense/issues/856#issuecomment-347828788

Hi @ColinSmith123
So what is happening instead of expected behavior? I don't see anything immediately wrong with the code and can't run it right now

Thanks for the replies.
@dorodnic I don't get what you try to say with

In addition, load_json should also work. After reviewing your code, I had two ideas:

Instead of using find_device_that_supports_advanced_mode, get the device from pipeline configuration after start:

cfg = pipeline.start(config)
dev = cfg.get_device()
Perform load_json after you start streaming

could you give me a specific axcample?
Thank you very much!! :)

I don't know how but it worked :D
but now I have another problem... the RGB image has changed colours (see Images)
does someone know why?

Hi @ColinSmith123,
Is the issue clarified and resolved?
As for RGB image, I wonder if the image display format via OpenCV is different with the config setting?

Hi @ColinSmith123,
Any status update?

Hi @ColinSmith123,
I will close this ticket if no additional question. Feel free to reopen if you still have the trouble.


Error during compile - using MSVC C++17

I'm seeing this error during the compiling of your program (using Visual Studio Enterprise 2022);
'&' requires l-value
triggered within "module_relocation_information.cpp", line 112

For anyone else, this seems to have fixed the problem;
    auto it = m_reverese_export_map.find(addr);
    if (it == m_reverese_export_map.end())
        return nullptr; // didnt find it


Fix typo GettingStarted.md

Summary of the changes
Just a simple typo

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


v8, Express feature request, move Express data entries between data sets

Hi Folks,
I've been trying to get the attention of the devs for a bunch of months now, and I've been bounced from the forums, to IRC, to slack, now to github (that alone is extremely frustrating).
Now, what I'm hoping is for, what appears to be, a small feature to be added to v8 in regards to Express.
The forum post originally is at : https://www.concrete5.org/community/forums/block_requests/form-improvements-in-v8-approvereject/#848274
PLEASE KEEP IN MIND I HAVE REFINED WHAT I AM LOOKING FOR SINCE MAKING THAT POST.
I will describe it, hopefully more effectively, below:
My understanding is Express is a way to expand the functionality of Forms, and the submitted data. It looks awesome, but I want to have a way to move Express data entries from one "database" (place where the entries are stored) to another. (within the same server)
The example scenario is we're running a play, but we have a bunch of cast openings in different roles. There is one form to submit, but the director needs to be able to vet those who apply to be in the play. Let's say there are 3 different roles, and we want to consider multiple people for those roles. Now, let's say that means there's 4x "databases" (terminology probably not accurate here).
Databases:

This is where the Express form submissions go.
This is another Express "database", for the lead play role
This is another Express "database", for a minor play role
This is another Express "database", for the villain's role in the play

Now, I want to build a page that shows the entries in database #1 to the Director. I also want the Director to have the ability to move those who have applied into the "database" that the Director might think they're fit for. As such, I'm thinking a "button" for each of databases 2-4 (to move the selected applicant) would be appropriate.
So, on this page, the Director sees the list of applicants that have not been sorted. They then select (checkbox, perhaps) those who they want to move to the "lead role database", and hit "lead role" button. The selected entries now are moved from database #1 to #2.
Then, the Director can do the same for the other roles, whereby each "move" has a corresponding button.
I know this is kind of clunky to explain, and I'm sorry, but I think this might be the simplest example I can provide quickly.
The function of these buttons is simply so a user has a means to move Express data entries from one "database" to another, but in a way that is convenient for them.
I actually need this function for a project I'm working on, hence the effort to try and get it included.
I'm sorry if this doesn't make sense, I'm trying really hard here.

Instead of moving entries between databases, what about adding a new attribute or maybe a new permission key?  (to represent the concept The boss can view this entry)

Or maybe the workflows could be attached into this in some way? I would imagine the moving of data between the different entities could be done in a custom workflow type's approve/deny actions.
In general, I think attaching workflows to the express entities would be beneficial anyways, although not quite sure how easy or hard that would be to implement.

@mlocati well, it's not just that the "director"/"boss" can see the entry, more that it can be also moved to other areas by that person, or whoever has the appropriate access to the built page (possibly everyone if the page is setup like that).
@ahukkanen well, I'm sure workflows would benefit from integration with Express, but I think what I'm seeking here shouldn't inherently require workflow integration. Also, aren't workflows a paid product?

@BloodyIron No, workflows are integrated into core. Only if you need multi-step workflow, it's paid (it's a custom workflow type that is added to the system).
I was suggesting here that if workflows were already implemented for the Express objects, I think this need could be handled by a custom workflow type without any core changes.

I don't know much about workflow types. I mostly care about the logical function here. What about custom workflows do you think might make it the best method?

Why I think it would be the best is that the workflow concept is quite flexibly built already in the core. If this was already available, this type of requests could be fulfilled without any core changes. I think
And the other reason why I think this is that this use case is exactly what workflows are meant for (approval, denial, moving data, changing status, etc.). And this concept already exists in the core.
Here are two different workflow types implemented in the core:
https://github.com/concrete5/concrete5/blob/develop/concrete/src/Workflow/BasicWorkflow.php
https://github.com/concrete5/concrete5/blob/develop/concrete/src/Workflow/EmptyWorkflow.php
Creating one of these classes and adding it with \Concrete\Core\Workflow\Type::add('custom', 'Custom Type', $pkg); would give you the control over the saving process of the entities in case it was already available.
If you haven't played much with workflows, I think they are better explained by testing them out. You can set workflows for the page's various permission (move, approve, delete) and also for the users' activate/deactivate permission.

Hmm, so how hard would it be do you think to have something like this implemented?
I think structuring the entities is all that really has to happen here;

I'd create an Applicant entity, and the associated form on the front-end. This is the form people fill out to be in the play.
Applicants then get listed in the Dashboard Express area, as normal.
Then, I'd create a new entity called "Play", and give it just a name.
Then, I'd create another new entity called Role, and I'd make it an entity "owned by" the Play entity. This can be done in the "Advanced Options" section that is present when you add a new Express entity.
I'd set up the Part so that each part has a many to one association with an Applicant.
Then, after you add your first play, you'll see an "Add Role" button at the top of the Dashboard screen. Clicking this will give you the ability to add a role, which will be a combination of selecting the play (which, if you set up your form properly, will already automatically be selected) and one of the applicants.
At the end of this, you have applicants submitting to the pool, and director (or the admin) adds a play, and can cast it by adding roles, which are joins between the play and the applicants.

If this is a bit cumbersome, I would also explore adding a custom dashboard interface to make this easier, once the actual data model works and is figured out.

Is any of this currently implemented in the web-GUI elements? This sounds quite flexible, and I think perhaps making it so permissions can be granularly set per button would be very helpful too (let's say you don't want the Director to make the play, but perhaps the Admin should have that ability).
As for the apologies about not being heard, well, I accept them! Hah! I am getting a rather impressive response here, I'm hoping this keeps momentum! :D
Thanks for pitching in here so far folks! I'm not sure how much more I can help apart from thoughts/feedback.

Yes, everything I've described so far in this thread is something you can
do through the UI
On Tue, Nov 22, 2016 at 4:39 PM, BloodyIron<EMAIL_ADDRESS>wrote:

Is any of this currently implemented in the web-GUI elements? This sounds
quite flexible, and I think perhaps making it so permissions can be
granularly set per button would be very helpful too (let's say you don't
want the Director to make the play, but perhaps the Admin should have that
ability).
As for the apologies about not being heard, well, I accept them! Hah! I am
getting a rather impressive response here, I'm hoping this keeps momentum!
:D
Thanks for pitching in here so far folks! I'm not sure how much more I can
help apart from thoughts/feedback.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/concrete5/concrete5/issues/4702#issuecomment-262408319,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgNwU7it_s8mQnZ_ApDQTq6PpSaL6IWks5rA4tdgaJpZM4K45oU
.


Toggle: Users must accept T's & C's before continuing

Context
Currently dApps can provide a link to their Terms & Conditions on W3M, but there is no way for dApps to ensure that users have accepted their T's & C's before they connect.
Example from Blocknative

Current View in W3M

Requirement

Add an option toggle that dApps can include to force their users to accept terms and conditions.

https://docs.walletconnect.com/web3modal/javascript/options#termsconditionsurl

Hey @Sam-Newman , we could have a checkbix before the Wallets lists and disable them until T&Cs are agreed as here
https://www.figma.com/file/gmX3t1YIFLvXdKEwbeuqEW/Web3Modal-v3?type=design&node-id=14656-367744&mode=design&t=EnkLa7jai4IMjbnq-4


Integration with IDEs

Hello there! Thank you very much for your work.
I'd like to get it to work in PyCharm, alas it's not trigerring at all there, but it works in consoles. Any advice here? :)

Hmm, I'm not sure, but I'd say try to set the environment variable? I don't know your exact setup, I'm afraid...


Make 'SelectMenu.Modal' forward 'ref'

This change makes it possible to get a reference to non-nested DOM elements when the SelectMenu.Modal is rendered in a Portal (e.g. to avoid overflow clipping).
Merge checklist

[ ] Added or updated TypeScript definitions (index.d.ts) if necessary
[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

SelectMenu.List forwards ref, so I can access the element I needed.
Abandoning this PR, especially since React considers the introduction of forwardRef to be a breaking change:

When you start using forwardRef in a component library, you should treat it as a breaking change and release a new major version of your library. This is because your library likely has an observably different behavior (such as what refs get assigned to, and what types are exported), and this can break apps and other libraries that depend on the old behavior.

https://reactjs.org/docs/forwarding-refs.html#note-for-component-library-maintainers


Hyperionics.HyperSnap9 version 9.5.1

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

ReleaseNotesUrl removed as direct link breaks out of the sites use of iframes.


docs:  "Comparisons" section should be merged/added to "Builtin Tests"

Every item described inside Comparisons is a test. However, those items are not included in the test section.
This is quite counterintuitive and should be changed.

That is not true. "Test" has a special meaning in Jinja.

I do not agree here. Tests and comparisons may differ in how they are declared, but they have the exact same purpose: Be a test in a conditional statement.
If someone reads the docs and finds one of either tests or comparisons, he or she will be led to believe there are no other conditional statemens available.

I think this was addressed by #665, which added the missing comparison operators as tests.


example yaml config outputs key: value where appropriate

Fixed with PR #51, rusty-yaml did not allow for indexing a section that used key: value syntax, but now it can act as a vector with length 1. This makes the behaviour of the Yaml struct more stable / consistent, and has the added benefit of fixing this error.


ServiceBusTrigger with IsBatched true is delivering same message id more than once

Description
.Net Framework: .net 8.0
Microsoft.Azure.Functions.Worker.Extensions.ServiceBus 5.22.0
We are writing an Azure function that will process many messages in batches but, for a single message in the queue, we are receiving multiple ServiceBusReceivedMessage with the same message id, and body but different delivery count (1,2,3). That is causing some issues as we would like to process batches of fixed-size to optimize costs on a dependency called by this function.
In addition to that, when we try to complete some of the messages, it will sometimes give us an Azure.Messaging.ServiceBus.ServiceBusException: "The lock supplied is invalid. Either the lock expired, or the message has already been removed from the queue". We think both problems are related since each duplicate message has a different lock token. We partially mitigated this by deduping messages by message id and doing a RenewMessageLockAsync(message) on every message before completing.
Function signature looks as below with IsBatched flag as true:
[Function("TestFunction")] public async Task RunQueueAsync(             [ServiceBusTrigger("ourtopic", "oursubscription", Connection = "ServiceBusConfiguration:ConnectionString", **IsBatched = true, AutoCompleteMessages = false**)]              ServiceBusReceivedMessage[] messages,              ServiceBusMessageActions messageActions)
Host.json:
{   "version": "2.0",   "logging": {     "applicationInsights": {       "samplingSettings": {         "isEnabled": true,         "excludedTypes": "Request"       },       "enableLiveMetricsFilters": true     }   },   "functionTimeout": "00:30:00",   "extensions": {     "serviceBus": {       "autoCompleteMessages": false,       "autoRenewTimeout": "00:05:00",       "maxBatchWaitTime": "00:02:00",       "maxMessageBatchSize": 800,       "minMessageBatchSize": 80,       "maxAutoLockRenewalDuration": "00:30:00"     }   } }
Logs:
2024-09-17T21:30:13.837 [Information] Executing 'Functions.TestFunction' (Reason='(null)', Id=0d0777fe-d8f8-4ef9-a377-88f671929505) 2024-09-17T21:30:13.838 [Information] Trigger Details: MessageIdArray: 4ab8a173bf4a414b9bebd81ba5816eb3,4ab8a173bf4a414b9bebd81ba5816eb3,4ab8a173bf4a414b9bebd81ba5816eb3, SequenceNumberArray: 6,6,6, DeliveryCountArray: 1,2,3, EnqueuedTimeUtcArray: 2024-09-17T21:28:13.7660000+00:00,2024-09-17T21:28:13.7660000+00:00,2024-09-17T21:28:13.7660000+00:00, LockedUntilArray: 2024-09-17T21:29:13.7970000+00:00,2024-09-17T21:30:13.7700000+00:00,2024-09-17T21:31:13.7110000+00:00, SessionId: (null)
Steps to reproduce

Create function with IsBatched as true
Create a queue or topic (tried both)
Enqueue a single message
Wait for the time defined in maxBatchWaitTime
Check messages received in function

Any updates here?


directive with detectChanges() prevent md-menu from closing

Bug, feature request, or proposal:
Bug
What is the expected behavior?
md-menu must be closed
What is the current behavior?
md-menu does not close
What are the steps to reproduce?
https://embed.plnkr.co/Ml2CPR/
just click the button

Maybe this is related to the fact that Material 2 components are switching to OnPush strategy (not sure when or how they are doing this). Just try markForCheck() instead of detectChanges().

This looks really weird. The issue is that triggering change detection manually, before the Material components have initialized, seems to cause any subsequent directives not to fire their lifecycle hooks (in the menu case it's ngAfterViewInit. This also broke all of the icons that we have on the demo page.
cc @jelbourn

Related angular issue:
angular/angular#17035

Closing as this was fixed upstream in angular/angular.  Working example here


JAX-RS @BeanParam annotation does not work for beans with FormParam properties

Since upgrade to open api, swagger does not extract FormParam properties from @BeanParam annotated objects.

implemented in #2986. Thx!


Unix: Use llvm-ar by default

Now that llvm-ar is installed by default in the toolchain, apple/swift#62510, and a recent SPM change requires there to be an archiver in the toolchain/PATH, apple/swift-package-manager#5761, use that bundled llvm-ar for all Unix platforms.
This is the Swift translation of apple/swift#62800.

@artemcm, please run the CI on this.

@swift-ci test

Windows CI failure is unrelated, all pulls are failing on the Windows CI.

@artemcm, now that the CI is working, would you run it again?

@swift-ci test

Rebased, need another CI run.

@swift-ci test

@swift-ci test

@swift-ci test macos


Specify use of TLS 1.3 for encrypted communication

Current text:
For the encrypted communication, SSL 3.0/TLS 1.0 or later is used.
Suggested text:
For the encrypted communication, TLS 1.3 or later is used.

Merged in 3.2.2 draft


~source command

This should link to the Github page (or, I presume, whatever is canonical at the time of execution).

Added.


Generator needs to support new locales

Code has regexps validating the old language tags - needs to support the new locales available in the platform
example:
    regexp = new RegExp("^#{name}\.[a-zA-Z]{2}", 'i')

submitted pull request https://github.com/sphereio/sphere-product-type-json-generator/pull/31


Add include_attributes, include_functions, etc.. options to Auto

From porting plotnine docs. Functions like scale_continuous want to document their methods, but not attributes.
Let's add these flags:

include_attributes
include_functions
include_classes

Note that sphinx autosummary has many flags / buckets it provides for its templates. Let's open another issue to track support more complex behaviors that sphinx templates support (e.g. class specific behavior, function specific behavior, all in the same template)

released in v0.5.0


fix: do not pass retry options to fetch

fixes: #40

hey @rauchg would you be so kind to point someone to this to check and merge it? Thanks!


⚠ Bofrost.fr has degraded performance

In 6df0c44, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 971 ms

Resolved: Bofrost.fr performance has improved in 7052ace.


Perform liveness check on statically configured listener

This makes sure the router is not killed if it is not configured within
liveness probe interval. Only readiness check should check that
router is configured. This bug was introduced when switching to http
based probes.

@enmasse-ci run tests testcase=standard.SmokeTest


Project metadata form is stuck in loading

Steps to replicate:

Click the create new project button and it'll redirect you to page https://dev.contribute.data.humancellatlas.org/projects/register/autofill
Click the link, no DOI yet

Actual Behavior:
The user is redirected to the New Project form page but is never loaded successfully.
Expected Behavior:
Empty project is loaded.
Browser: Chrome
Env: Happening in dev and prod.
Workaround: hard refresh the page (cmd + shift + r in mac chrome browser) https://fabricdigital.co.nz/blog/how-to-hard-refresh-your-browser-and-clear-cache
Reported by @Wkt8 and @ESapenaVentura  https://embl-ebi-ait.slack.com/archives/C016R78CDV1/p1633686659152800
This issue seems to also happen when loading form with DOI, it may be a different issue but I couldn't replicate it atm. It might be closely related to this loading issue.

no change


Error installing Atom on Windows while editor is already running

AtomSetup.exe produced exceptions when starting while the editor was still running. Closing all instances and re-running the setup installed Atom without issues.
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\filip\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\filip\AppData\Local\atom\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\filip\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\filip\AppData\Local\atom\app-0.194.0
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\filip\AppData\Local\atom\app-0.194.0\atom.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: cleanDeadVersions: for version 0.194.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.194.0
2015-07-21 16:42:08> Program: Starting Squirrel Updater: --install .
2015-07-21 16:42:08> Program: Starting install, writing to C:\Users\filip\AppData\Local\SquirrelTemp
2015-07-21 16:42:08> Program: About to install to: C:\Users\filip\AppData\Local\slack
2015-07-21 16:42:08> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\filip\AppData\Local\slack\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
2015-07-21 16:42:08> CheckForUpdateImpl: Reading RELEASES file from C:\Users\filip\AppData\Local\SquirrelTemp
2015-07-21 16:42:08> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2015-07-21 16:42:09> ApplyReleasesImpl: Writing files to app directory: C:\Users\filip\AppData\Local\slack\app-1.1.5
2015-07-21 16:42:16> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\filip\AppData\Local\slack\app-1.1.5\slack.exe]
2015-07-21 16:42:17> ApplyReleasesImpl: Starting fixPinnedExecutables
2015-07-21 16:42:17> ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
2015-07-21 16:42:17> ApplyReleasesImpl: cleanDeadVersions: for version 1.1.5
2015-07-21 16:42:17> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-1.1.5
2015-08-20 17:43:46> Program: Starting Squirrel Updater: --install .
2015-08-20 17:43:46> Program: Starting install, writing to C:\Users\filip\AppData\Local\SquirrelTemp
2015-08-20 17:43:46> Program: About to install to: C:\Users\filip\AppData\Local\atom
2015-08-20 17:43:47> CheckForUpdateImpl: Reading RELEASES file from C:\Users\filip\AppData\Local\SquirrelTemp
2015-08-20 17:43:47> ApplyReleasesImpl: Writing files to app directory: C:\Users\filip\AppData\Local\atom\app-1.0.7
2015-08-20 17:44:11> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\filip\AppData\Local\atom\app-1.0.7\atom.exe]
2015-08-20 17:44:12> ApplyReleasesImpl: Starting fixPinnedExecutables
2015-08-20 17:44:12> ApplyReleasesImpl: Processing shortcut ''
2015-08-20 17:44:12> ApplyReleasesImpl: Does not match 'C:\Users\filip\AppData\Local\atom\app-0.194.0', continuing to next directory
2015-08-20 17:44:12> ApplyReleasesImpl: Processing shortcut 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
2015-08-20 17:44:12> ApplyReleasesImpl: Does not match 'C:\Users\filip\AppData\Local\atom\app-0.194.0', continuing to next directory
2015-08-20 17:44:12> ApplyReleasesImpl: Processing shortcut 'C:\Users\filip\AppData\Local\slack\Update.exe'
2015-08-20 17:44:12> ApplyReleasesImpl: Does not match 'C:\Users\filip\AppData\Local\atom\app-0.194.0', continuing to next directory
2015-08-20 17:44:12> ApplyReleasesImpl: cleanDeadVersions: for version 1.0.7
2015-08-20 17:44:12> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.194.0
2015-08-20 17:44:12> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-1.0.7
2015-11-16 13:06:00> Program: Starting Squirrel Updater: --install .
2015-11-16 13:06:00> Program: Starting install, writing to C:\Users\filip\AppData\Local\SquirrelTemp
2015-11-16 13:06:00> Program: About to install to: C:\Users\filip\AppData\Local\atom
2015-11-16 13:06:00> Program: Install path C:\Users\filip\AppData\Local\atom already exists, burning it to the ground
2015-11-16 13:06:00> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\filip\AppData\Local\atom\app-1.1.0\atom.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<DeleteDirectory>b__34(String file)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__51.MoveNext()
2015-11-16 13:06:00> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\filip\AppData\Local\atom\app-1.1.0\atom.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<DeleteDirectory>b__34(String file)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__37.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\filip\AppData\Local\atom\app-1.1.0\atom.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<DeleteDirectory>b__34(String file)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__37.MoveNext()<---

2015-11-16 13:59:41> Program: Starting Squirrel Updater: --install .
2015-11-16 13:59:41> Program: Starting install, writing to C:\Users\filip\AppData\Local\SquirrelTemp
2015-11-16 13:59:41> Program: About to install to: C:\Users\filip\AppData\Local\atom
2015-11-16 13:59:41> Program: Install path C:\Users\filip\AppData\Local\atom already exists, burning it to the ground
2015-11-16 13:59:41> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\filip\AppData\Local\atom\app-1.1.0\atom.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<DeleteDirectory>b__34(String file)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__51.MoveNext()
2015-11-16 13:59:41> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\filip\AppData\Local\atom\app-1.1.0\atom.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<DeleteDirectory>b__34(String file)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__37.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\filip\AppData\Local\atom\app-1.1.0\atom.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<DeleteDirectory>b__34(String file)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__37.MoveNext()<---

2015-11-16 13:59:54> Program: Starting Squirrel Updater: --install .
2015-11-16 13:59:54> Program: Starting install, writing to C:\Users\filip\AppData\Local\SquirrelTemp
2015-11-16 13:59:54> Program: About to install to: C:\Users\filip\AppData\Local\atom
2015-11-16 13:59:54> Program: Install path C:\Users\filip\AppData\Local\atom already exists, burning it to the ground
2015-11-16 13:59:54> IEnableLogger: Failed to remove existing directory on full install, is the app still running???: System.UnauthorizedAccessException: Access to the path 'C:\Users\filip\AppData\Local\atom\app-1.1.0\atom.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<DeleteDirectory>b__34(String file)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__51.MoveNext()
2015-11-16 13:59:54> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\filip\AppData\Local\atom\app-1.1.0\atom.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<DeleteDirectory>b__34(String file)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__37.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\Users\filip\AppData\Local\atom\app-1.1.0\atom.exe' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Squirrel.Utility.<DeleteDirectory>b__34(String file)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Install>d__37.MoveNext()<---

Run into totally the same issue.

/cc @paulcbetts

If you do silly things, you get a silly result. Won't Fix!

More recent versions of the Squirrel updater shut down the app during upgrade.


which exported models that predict the true metrics depth?

depth = binding.get_outputs()[0].numpy()
then is this variable in dynamo.py is the HxW depth map in meters in numpy?


When the code will be released?

Thanks for your work! When the code will be released?

Reconstructing for open source, will be released in late March after being reviewed.

Thanks for your reply!


Archive collection search relevance

@jamesgorrie can this also be non-archive collection search relevance to include Tacey's example of 'origin of species'. I would expect to see a lot of these showing up at the top of the search results but I'm not seeing them at https://wellcomecollection.org/works?query=origin of species

Going to close this as it's been usurped by the search project and archive project.


Setup "replaceJsonStringProperty" body filter with Spring Boot Auto-configuration

Currently I cannot find a possibility to setup the replaceJsonStringProperty body filter via the Spring Boot auto-configuration. I would require this setup in order to obfuscate some values sent within the request body.
Is there a way to do this without working around the auto-configuration?

I assume you're looking for a way to configure it within the application.yml. That is in fact not supported right now, but in standard auto-configuration fashion you can just provide your own BodyFilter that takes precedence of the default:
@Bean
public BodyFilter bodyFilter() {
    return merge(defaultValue(), replaceJsonStringProperty(singleton("secret"), "XXX"));
}


Chrome driver issue

Why do i get this error ? How do i fix it

Hello,
Make sure to install all requirements :
--> pip install -r requirements.txt
If it still doesn't work, reinstall ChromeDriver
Also don't run with root permission
hexsh1dow


Rename native-link to nativelink

We previously changed the project name from turbo-cache to native-link. Now we've changed it to nativelink and need assistance to change the repo URLs.
https://www.bestpractices.dev/en/projects/8050

Actually, you could edit those URLs yourselves. We rate-limit URL changes, but as long as you don't keep changing them, it's fine. Also, GitHub automatically redirects links when you rename a project, so most people would never notice.
That said, I've made the changes. You should be all set!


Reimplement invocation of per-message Filter methods

Problem
Kroxy is vulnerable to a JVM performance problem (JDK-8180450). A filter that implements two or more specific-message Filter interfaces its secondary_super_cache (in its Klass instance within the JVM) would frequently be changing between those interfaces, with cache line interference result in poor performance on some hardware.
Solution
Instead of calling the KrpcFilter defined methods on a Per-Message filter implementation we instead construct a Per-Message Invoker for that filter. The invoker determines all the Per-Message interfaces that are implemented at construction time. It tracks which request and response APIs need to be deserialized based on which interfaces are implemented. If a filter implements Per-Message API X, then we cast it and store it in a field of type X. Then at filtering time we can check if an ApiKey should be handled, and then delegate to the appropriate field.
We also enable the Per-Method interfaces to further specialize which messages should be deserialized by invoking their shouldDeserialize* methods if they match the incoming messages ApiKey.
Note that we are also laying the groundwork for alternative implementations of KrpcFilter. So KrpcFilter now has a method KrpcFilter of(Object filter) which will introspect the object. For now it will wrap it in a PerMessageInvoker if it implements any Per-Message interface. In future we can stop the Per-Message interfaces extending KrpcFilter and offer alternative interfaces for different use-cases (like intercepting all messages conveniently). This will decouple the internals of kroxy from the filter interfaces users implement to build out new filters.

From the discussion I'm going to reduce the scope of this to adding an invoker and leave interface reworking for a separate PR

I'm really liking the direction this is heading. Thanks @robobario for pushing this forward.    +1 to the idea separating the inclusion of headers into the API to a future PR delivered after this one.

Alright, I've reworked this to just implement just the Per-Message invoker changes to the Per-Message interfaces are removed. Also unsupported is implementing KrpcFilter directly, this could be done later after we discuss the API changes (like introducing RequestFilter, ResponseFilter interfaces instead)

@tombentley I've taken those comments onboard and introduced a separate FilterInvoker interface for the invoker. It now operates on KrpcFilter rather than object. I also moved the construction of the invoker into the KafkaProxyFrontendHandler, so it creates the invokers and uses them to construct FilterHandlers and the DecodePredicate. So now the invoker and KrpcFilter do not share interfaces.
As you said it would be nice to move the construction up so we could log out which filter configuration we could not construct an invoker for, but we could add this later. Maybe the FilterChainFactory should produce an array of context object that contains the filter and invoker.

/perf

Closing in favour of #304


Support to release this repository automatically

I have created the token for the release action.

please illustrate the result of the changes

hi @xujiangyu
goreleaser is a very powerful tool that could build and release the Golang application. It will trigger the release workflow once there is a git tag created.

hi @xujiangyu see the result


ql check运行后，会出问题。

开始执行... 2022-04-22 15:12:41
=====> 开始检测
Progress: resolved 0, reused 1, downloaded 0, added 0
Progress: resolved 3, reused 3, downloaded 0, added 0
Progress: resolved 4, reused 3, downloaded 0, added 0
Progress: resolved 41, reused 41, downloaded 0, added 0
Progress: resolved 47, reused 47, downloaded 0, added 0
Progress: resolved 48, reused 47, downloaded 0, added 0
Progress: resolved 78, reused 75, downloaded 0, added 0
 WARN  deprecated<EMAIL_ADDRESS>Please update to latest patch version to fix memory leak https://github.com/isaacs/node-lru-cache/issues/227
 WARN  deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
 WARN  deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
 WARN  deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
Progress: resolved 130, reused 129, downloaded 0, added 0
Progress: resolved 180, reused 179, downloaded 0, added 0
Already up-to-date
Progress: resolved 193, reused 192, downloaded 0, added 0, done
WARN  Issues with peer dependencies found
.
└─┬ ts-node
└── ✕ missing peer @types/node@""
Peer dependencies that should be installed:
@types/node@""
---> 1. 复制通知文件
---> 复制一份 /ql/sample/notify.py 为 /ql/data/scripts/notify.py
'/ql/sample/notify.py' -> '/ql/data/scripts/notify.py'
---> 复制一份 /ql/sample/notify.js 为 /ql/data/scripts/sendNotify.js
'/ql/sample/notify.js' -> '/ql/data/scripts/sendNotify.js'
---> 通知文件复制完成
---> 2. 复制nginx配置文件
'/ql/docker/nginx.conf' -> '/etc/nginx/nginx.conf'
'/ql/docker/front.conf' -> '/etc/nginx/conf.d/front.conf'
---> 配置文件复制完成
=====> 检测面板

<script src="https://gw.alipayobjects.com/os/lib/react/16.13.1/umd/react.production.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/react-dom/16.13.1/umd/react-dom.production.min.js"></script>
<script src="/umi.e12d55a8.js"></script>

=====> 面板服务启动正常
=====> 检测nginx服务
42 root      0:00 nginx: master process nginx -c /etc/nginx/nginx.conf
43 root      0:00 nginx: worker process
44 root      0:00 nginx: worker process
45 root      0:00 nginx: worker process
47 root      0:00 nginx: worker process
48 root      0:00 nginx: worker process
49 root      0:00 nginx: worker process
50 root      0:00 nginx: worker process
51 root      0:00 nginx: worker process
=====> nginx服务正常
---> pm2日志
2022-04-22T14:56:11: info:    ✌ Init file down
2022-04-22T14:56:11: info:    ✌ Sentry loaded
2022-04-22T14:56:12: info:    ✌ DB loaded
2022-04-22T14:56:12: info:    ✌ Dependency Injector loaded
2022-04-22T14:56:12: info:    ✌ Express loaded
2022-04-22T14:56:12: info:    ✌ init data loaded
2022-04-22T14:56:12: info:    ✌ link deps
2022-04-22T14:56:12: info:    ✌ Sock loaded
2022-04-22T14:56:12: info:
2022-04-22T14:56:12:       ################################################
2022-04-22T14:56:12:       🛡  Server listening on port: 5600 🛡
2022-04-22T14:56:12:       ################################################
2022-04-22T14:56:12:
2022-04-22T14:56:56: info:    [取消interval任务]，任务ID: 3，任务名：删除日志
2022-04-22T14:56:56: info:    [创建interval任务]，任务ID: 3，任务名: 删除日志，执行命令: ql rmlog 2
2022-04-22T14:57:46: info:    ✌ Init file down
2022-04-22T14:57:47: info:    ✌ Sentry loaded
2022-04-22T14:57:47: info:    ✌ DB loaded
2022-04-22T14:57:48: info:    ✌ Dependency Injector loaded
2022-04-22T14:57:48: info:    ✌ Express loaded
2022-04-22T14:57:48: info:    [创建interval任务]，任务ID: 3，任务名: 删除日志，执行命令: ql rmlog 2
2022-04-22T14:57:48: info:    ✌ init data loaded
2022-04-22T14:57:48: info:    ✌ link deps
2022-04-22T14:57:48: info:    ✌ Sock loaded
2022-04-22T14:57:48: info:
2022-04-22T14:57:48:       ################################################
2022-04-22T14:57:48:       🛡  Server listening on port: 5600 🛡
2022-04-22T14:57:48:       ################################################
2022-04-22T14:57:48:
2022-04-22T15:04:48: info:    ✌ Server need close
2022-04-22T15:04:51: info:    ✌ Init file down
2022-04-22T15:04:51: info:    ✌ Sentry loaded
2022-04-22T15:04:51: info:    ✌ DB loaded
2022-04-22T15:04:52: info:    ✌ Dependency Injector loaded
2022-04-22T15:04:52: info:    ✌ Express loaded
2022-04-22T15:04:52: info:    [创建interval任务]，任务ID: 3，任务名: 删除日志，执行命令: ql rmlog 2
2022-04-22T15:04:52: info:    ✌ init data loaded
2022-04-22T15:04:52: info:    ✌ link deps
2022-04-22T15:04:52: info:    ✌ Sock loaded
2022-04-22T15:04:52: info:
2022-04-22T15:04:52:       ################################################
2022-04-22T15:04:52:       🛡  Server listening on port: 5600 🛡
2022-04-22T15:04:52:       ################################################
2022-04-22T15:04:52:
2022-04-22T15:06:48: info:    ✌ Init file down
2022-04-22T15:06:49: info:    ✌ Sentry loaded
2022-04-22T15:06:49: info:    ✌ DB loaded
2022-04-22T15:06:50: info:    ✌ Dependency Injector loaded
2022-04-22T15:06:50: info:    ✌ Express loaded
2022-04-22T15:06:50: info:    [创建interval任务]，任务ID: 3，任务名: 删除日志，执行命令: ql rmlog 2
2022-04-22T15:06:50: info:    ✌ init data loaded
2022-04-22T15:06:50: info:    ✌ link deps
2022-04-22T15:06:51: info:    ✌ Sock loaded
2022-04-22T15:06:51: info:
2022-04-22T15:06:51:       ################################################
2022-04-22T15:06:51:       🛡  Server listening on port: 5600 🛡
2022-04-22T15:06:51:       ################################################
2022-04-22T15:06:51:
2022-04-22T15:10:29: info:    ✌ Server need close
2022-04-22T15:10:31: info:    ✌ Init file down
2022-04-22T15:10:31: info:    ✌ Sentry loaded
2022-04-22T15:10:32: info:    ✌ DB loaded
2022-04-22T15:10:32: info:    ✌ Dependency Injector loaded
2022-04-22T15:10:32: info:    ✌ Express loaded
2022-04-22T15:10:32: info:    [创建interval任务]，任务ID: 3，任务名: 删除日志，执行命令: ql rmlog 2
2022-04-22T15:10:32: info:    ✌ init data loaded
2022-04-22T15:10:32: info:    ✌ link deps
2022-04-22T15:10:32: info:    ✌ Sock loaded
2022-04-22T15:10:32: info:
2022-04-22T15:10:32:       ################################################
2022-04-22T15:10:32:       🛡  Server listening on port: 5600 🛡
2022-04-22T15:10:32:       ################################################
2022-04-22T15:10:32:
=====> 检测后台
=====> 后台服务异常，重置基础环境并重启后台
---> 1. 开始检测配置文件
---> 配置文件检测完成
---> 2. 开始安装青龙依赖
检测到 /ql 的依赖包有变化，运行 npm install...
Recreating /ql/node_modules
Lockfile is up-to-date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +348
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: /root/.pnpm-store/v3
Virtual store is at:             node_modules/.pnpm
Progress: resolved 348, reused 24, downloaded 0, added 24
Progress: resolved 348, reused 61, downloaded 39, added 99
Progress: resolved 348, reused 61, downloaded 119, added 180
Progress: resolved 348, reused 61, downloaded 176, added 236
Progress: resolved 348, reused 61, downloaded 253, added 314
.../node_modules/@louislam/sqlite3 install$ node-pre-gyp install --fallback-to-build
.../node_modules/@louislam/sqlite3 install: node-pre-gyp info it worked if it ends with ok
.../node_modules/@louislam/sqlite3 install: node-pre-gyp info using<EMAIL_ADDRESS>.../node_modules/@louislam/sqlite3 install: node-pre-gyp info using<EMAIL_ADDRESS>| linux | x64
.../node_modules/@louislam/sqlite3 install: node-pre-gyp info check checked for "/ql/node_modules/.pnpm/@louislam+sqlite3<EMAIL_ADDRESS>(not found)
.../node_modules/@louislam/sqlite3 install: node-pre-gyp http GET https://prebuilt.louislam.net/cache/sqlite3/v6.0.1/napi-v6-linux-x64-musl.tar.gz
Progress: resolved 348, reused 61, downloaded 287, added 348, done
.../node_modules/@louislam/sqlite3 install: node-pre-gyp info install unpacking napi-v6-linux-x64/node_sqlite3.node
.../node_modules/@louislam/sqlite3 install: node-pre-gyp info extracted file count: 1
.../node_modules/@louislam/sqlite3 install: [@louislam/sqlite3] Success: "/ql/node_modules/.pnpm/@louislam+sqlite3<EMAIL_ADDRESS>is installed via remote
.../node_modules/@louislam/sqlite3 install: node-pre-gyp info ok
.../node_modules/@louislam/sqlite3 install: Done
dependencies:

@otplib/preset-default 12.0.1
@sentry/node 6.19.6
@sentry/tracing 6.19.6
body-parser 1.20.0
celebrate 15.0.1
chokidar 3.5.3
cors 2.8.5
cron-parser 4.3.0
dotenv 16.0.0
express 4.17.3
express-jwt 6.1.1
express-urlrewrite 1.4.0
got 11.8.3
hpagent 0.1.2
iconv-lite 0.6.3
jsonwebtoken 8.5.1
lodash 4.17.21
nedb 1.8.0
node-fetch 3.2.3
node-schedule 2.1.0
nodemailer 6.7.3
p-queue 7.2.0
reflect-metadata 0.1.13
sequelize 6.18.0
serve-handler 6.1.3
sockjs 0.3.24
sqlite3 <- @louislam/sqlite3 6.0.1
toad-scheduler 1.6.0
typedi 0.10.0
uuid 8.3.2
winston 3.7.2
yargs 17.4.0

devDependencies: skipped
WARN  "prepare" script of "@" inside "/ql" is skipped as the working directory seems suspicious. To run this lifecycle script anyway, use "--unsafe-perm".
---> 青龙依赖安装完成
---> 3. 开始安装脚本依赖
检测到 /ql/data/scripts 的依赖包有变化，运行 npm install...
Lockfile is up-to-date, resolution step is skipped
Already up-to-date
devDependencies: skipped
---> 脚本依赖安装完成
=====> 检测结束
执行结束... 2022-04-22 15:13:12  耗时 31 秒

另外，
使用“whyour/qinglong:latest ” 镜像是2.10.X版本，升级就报错。报错后运行check还是错。（忘记保存日志了）
后面使用“whyour/qinglong:2.12.1” 镜像是2.12.1版本，升级提示最新。蛮运行一下check，重启后就又报错了。（日志如上）


arm: mps_an521: Add support for the AN521 on MPS2+

The AN521 is a Soft Macro Model implementation of the SSE-200 subsystem
with SIE-200 and CMSDK components targeting the MPS2+ board. The
SSE-200 subsystem implements two Cortex-M33 cores.
This PR is based on https://github.com/zephyrproject-rtos/zephyr/pull/6597
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>Signed-off-by: Karl Zhang<EMAIL_ADDRESS>

@karl-zh @galak  should we try to get this in?

As this patch still not merged and there will be more work about integrate TFM with Zephyr on AN521 after this patch. Mostly are for PSA isolation level one which seems good to have soon. I would close this PR and trace all AN521 supporting stuff on https://github.com/zephyrproject-rtos/zephyr/pull/16450

Superceded by  #16450

Let's keep this open and get the base board support merged.

Need to fixup dts_fixup.h so we dont break MPS AN385.

Fixed.


fix!: typo in py-rattler

This change is breaking

I dont think this change is breaking, I think that type is only used internally.

I dont think this change is breaking, I think that type is only used internally.

Even better :)
Will change the PR description and title accordingly


Duplicate serial number fix

Fix to issue 13 where the serial number was being duplicated across all devices.

@sbozarth would you approve this to the repo and perhaps consider giving one or two people write access for future changes?

I know next to nothing about github, so I was finally able to sit down and look at this.
I (think I) committed the changes. I don't necessarily have an issue with granting access. I gather I should "invite collaborator". Are you volunteering?
There is also the issue of pushing npm updates. Can I do the same there?
On Friday, April 15, 2022, 11:00:26 AM PDT, thk-socal @.***> wrote:
@sbozarth would you approve this to the repo and perhaps consider giving one or two people write access for future changes?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

I will be honest, it took me a while to figure out the branching and pull requests! So I'm probably not the best person to help. But I suspect you can publish it to npm? Probably the same process as to how it was put there in the first place?

@sbozarth you will need to release a new version as well. Perhaps 1.2.1 or 1.3.0 in essence here on github. I would be happy to help if you would like me to.


Don't run curl as root

There's no particularly good reason to run the curl as root, so move that out of the sudo block.
Also switch the - to :- in script location; the former only applies if the variable is undefined, while the latter also applies if the variable is defined but empty.  It's unlikely that anyone actually wants an empty location directory to cause a weird curl error. :)
And delete the vestigial () after the function name while I'm in there, as well as adding an && after the mkdir -- which also returns true if the directory also exists.

@dannysauer Thank your for that PR, it was already put into another PR. Can you please confirm everything works as expected? Please put another MR otherwise.


Deploy April 2021 second publish

This is only for Autoruns v13.100

Docs Build status updates of commit dd0a9ac:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
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.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Papersscissors.rock

Hi,
Just added https://papersscissors.rock webapp to the site. Kept it nice and clean. Solved #114 .

I'd thought about that but there were already a couple of png images. So I thought it wasn't strictly followed?

Any more details on why this was closed?

@andreasbovens I created a new PR keeping your suggestions in mind.


Build never stops

May be related to #23.
I have made a modification to https://github.com/tschf/atom-build-oracle/blob/master/lib/make.js#L58
so it compiles on Windows. It is now:
"", // pkgDir

Now I am able to run both sqlplus and sqlcl, nice!
But it appears like the build runs endlessly:

Unless a do a Build: Stop manually. Weird because the result set is returned pretty quickly.

Looks like the SQL (compilation) script isn't exiting. Is this with both sqlcl/sqlplus?

Yes, both.

That worked, thanks!


FOUC on production

Describe the bug
A flash of unstyled content (FOUC) is observable in a production website when navigating between internal pages that use rel=external. I support this is equivalent to initial page load, but one would expect core CSS to be cached between navigations, even if the JS router isn't used.
Reproduction
This bug can be seen when previewing this branch on Netlify:
https://github.com/bahaistudies/conference/tree/fouc-issue
Preview URL:
Logs
No response
System Info
System:
    OS: Windows 10 10.0.19042
    CPU: (16) x64 AMD Ryzen 7 3800X 8-Core Processor
    Memory: 11.39 GB / 31.92 GB
  Binaries:
    Node: 14.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.14.11 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 91.0.4472.124
    Edge: Spartan (44.19041.1023.0), Chromium (91.0.864.67)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    @sveltejs/adapter-netlify: ^1.0.0-next.20 => 1.0.0-next.20
    @sveltejs/kit: ^1.0.0-next.125 => 1.0.0-next.125
    svelte: ^3.38.3 => 3.38.3

Severity
blocking an upgrade
Additional Information
Unfortunately this sort of FOUC stops us from using Kit in production, as it's quite noticeable. We will work to try the JS router again in the coming days, but it had bugs with handling load and would often not navigate, so I have concern about using that.
Best case I suppose, would be to find out that it's an issue with our repo in particular. After reviewing a similar issue (https://github.com/sveltejs/kit/issues/915) it seems others (towards the bottom) may have similar issues. I have noticed the issue get worse after upgrading from "@sveltejs/kit": "^1.0.0-next.121" to "@sveltejs/kit": "^1.0.0-next.125" as noted here: https://github.com/sveltejs/kit/issues/915#issuecomment-878754249
I'm creating a separate issue since #915 addresses dev mode only, which is Vite's territory.

I'm unclear at this point if the upgrade played a significant role. If anyone has any ideas on testing it, I'd be happy to do some tests. When upgrade/downgrading so far I see the issue minimize quite a lot on earlier versions, but it still occasionally happens.

I have the exact same problem with the latest version of sveltekit (127), svelte (3.38.3) and adapter-netlify (21) and without using rel=external.

Could this be related to #962?

Interesting. I tried throttling the network speed to Slow 3G in dev tools and it looks like it actually:

Shows proper styling on initial load
Flashes unstyled content
Finally loads proper styles

This seems to suggest that it's not a classic FOUC issue that you'd get with a vanilla HTML/CSS website, stemming from network requests. I think that's part of the delay (the flash is much longer on slow connections) but this seems like an architectural issue more than anything
https://user-images.githubusercontent.com/17771229/125832211-46784dad-0aac-4c0a-b81d-ad85b83a48eb.mp4
The video is dimmed from the compression 🤷🏻♂

Have exactly same as on @benaltair video for all prerendered pages using static-adapter.
And everything is fine with node-adapter.

For me workaround of this bug is to reverting svelte to 3.38.2 seems like its same issue as https://github.com/sveltejs/svelte/issues/6463

For what it's worth, I have this exact issue with svelte 3.38.3 and netlify-adapter without any pre-rendering (so all ssr'd on request). Reverting to svelte 3.38.2 fixes the issue, so I don't think the problem is from the Sveltekit version.

https://github.com/sveltejs/svelte/pull/6449 was merged into master. Not released yet. Though 3.39.0 was released with other fixes

3.40.0 has been released. I expect that this should be fixed now

Correction. You will need to update to both Svelte 3.40.0 and SvelteKit 1.0.0-next.135


Remove unnecessary critical messages in model.py scripts

Description
Critical logging messages were being raised by Model __init__'s when the errors they were emitting were being handled by higher level functions in main.py. This is obviously not correct, as it led to multiple CRITICAL messages being logged. I thought it was worth fixing this immediately as the documentation informing people how to setup a model was basically instructing people to make this mistake.
This does not fix #113 or #160, which are much broader discussion. It does however remove an egregious example of the problem.
Type of change

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[x] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[x] All tests pass: $ poetry run pytest

Further checks

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

Codecov Report

Merging #169 (d5b1339) into develop (d17cb71) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #169   +/-   ##
========================================
  Coverage    95.58%   95.58%
========================================
  Files           18       18
  Lines          907      907
========================================
  Hits           867      867
  Misses          40       40

Impacted Files
Coverage Δ

virtual_rainforest/models/abiotic/model.py
94.11% <100.00%> (ø)

virtual_rainforest/models/soil/model.py
95.23% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


better working clock in qemu

With these tweaks the clock in qemu is sane (as long as you don't suspend the laptop). The clock can drift by seconds as opposed to minutes; those seconds ntpd can adjust for.
Should we also delete/disable the ntpd container since it does nothing?

Big +1 to this qemu change!
As for the ntpd container -- we really should investigate why it does nothing. There's clearly networking issues that we are glossing over that can potentially bite our customers.


update Hook to optionally pass self to hook_func?

Can we write less code and/or gain any flexibility if we use 06_cuda_cnn_hooks_init.ipynb style hook functions? https://gist.github.com/pete88b/6e773b8c280f6e2db3500872caaf6d86

Mmmm, thanks for the PR but we designed func_kwargs to do exactly that (be able to pass a function at init and don't worry about self). Could you make a new PR using this instead? Look at the code of our DataLoader in data.laod for an example.

we designed func_kwargs to do exactly that

Hi Sylvain,
Really sorry if I'm being thick but ... I can't find anything in foundation that does this.
The change I'm suggesting is to allow hook functions with either:

3 args (model, input, output) or
4 args (model, input, output, stored)
so that we don't have to use HookCallback classes in order to store things.
So .. as a fastai user, I can use 3 arg hook functions and HookCallback exactly as we do today - but ... if I want to access stored from a hook function, I can just add another argument.
I'll try to write an LSUV gist - think it'll demo this better

Yes, if you use @func_kwargs, like in the DataLoader, you can pass a function that takes 3 args and will be converted in a proper method. It makes no sense to pass a function taht takes 4 args as self will not really work (in that case people should subclass HookCallback).


Data prepareation?

Is there any guide about the data prepareation, for example how to process megadepth for training?

Sorry for the late reply. You should follow the instruction in https://github.com/dvl-tum/gomatch/blob/main/tools/README.md. Have you tried those yet?

great! I didn't see the tools for the first time. You solve my problem. Thanks

I'll move those instruction somewhere more visible.


Identifying unobserved confounder

Does the way we do causal modeling, for the unobserved con-founder impact in getting estimands. Can you provide some guidance for the same

Hi @Knights3c, I'm not sure I understand your question.  Could you please elaborate?


Win + space often not being rebound

ℹ Computer information
— PowerToys version: 0.29.3
— PowerToy Utility: Keyboard Manager / run
— Running PowerToys as Admin: y
— Windows build number: 20H2 19042.746
✔ Expected result
Rebinding win + space to Alt  r ⇾ which is the command 4 powert Run
Consistently allows me to use win + space to open power toys run.
❌ Actual result
Often times powertoys run will not start, but the language will be switched then other times it works as intended

@NicTanghe
Win + Space is a system shortcut, we cannot guarantee it will always work, and there is not much we can do about it.
The best option you have is to choose a different shortcut.

@NicTanghe
Win + Space is a system shortcut, we cannot guarantee it will always work, and there is not much we can do about it.
The best option you have is to choose a different shortcut.

Similar to https://github.com/microsoft/PowerToys/issues/9271

Similar to https://github.com/microsoft/PowerToys/issues/9271

But some if not most of the contributors work at the company that make the OS.
So really we're not going to fix this is a more accurate description.

But some if not most of the contributors work at the company that make the OS.
So really we're not going to fix this is a more accurate description.


Enable stream upload

General Checkups

[x] Have you checked that there aren't other open pull requests for the same issue/update/change?
[x] If your code includes new features and not just bug fixes/copy editing: Did you include new tests?

Description
Add stream function using the direct-to-S3 upload, which is the more
generally usable API endpoint as it can handle large data. Switch all
other file upload functions to act as a wrapper to this. (This change
changes upload_file to be synonymous to upload_aws.)
Switch file upload testing to use example files included in the repo,
and add test for upload_stream.
Related Issue
Closes #87.
Example
with open('myfile', 'rb') as testfile:
    testdata = testfile.read()
    stream = io.BytesIO(testdata)
upload_stream(
    stream=stream,
    filename='myfile',
    metadata={'tags': ['testfile'], 'description': 'Test file'},
    access_token=ACCESS_TOKEN,
    project_member_id=PROJ_MEMBER_ID)

@madprime , I have run this code with the django open humans and it's totally working. Thank you so much. :)


docs: Assessment of existing components against new template

Capturing the work required to update all components to follow the new template. Also noting:

additional content that can be included from Support audit
any other issues that need to be addressed

This work has been completed.

This work has been completed.


Missing license

First of all thanks for providing this great library. I really like the context selector API.
As far as I can tell there is currently no license information in the repository. Would you be willing to add one?
https://choosealicense.com/no-permission/

Oh, I didn't notice that. Maybe, I forgot to add one in the initial commit.
Thanks for the notice. I will fix it very soon.