Musings on AutoScaling

Note: this issue is not really an issue per se. It's a place for me to write down my thoughts and solicit feedback in place where people can easily access the document and comment.

I imagine when people want to set up autoscaling, they want to set up something like this:
 Scaling        -3       -1                                     +1       +3
 activity   │        │        │                            │         │         │
            ├────────┼────────┼────────────────────────────┼─────────┼─────────┤
            │        │        │                            │         │         │

CPU usage   0%      10%      30%                          70%        90%      100%

Disregarding TargetTracking scaling for a moment, the way to set this up is with StepScaling. You'll make a StepScaling policy which is activated by a CloudWatch alarm. The StepScaling policy has different scaling tiers depending on the distance of the current metric value to its Alarm threshold. Configuration for a step scaling policy looks like this:
    Scaling           -2             -1               +1              +2
    activity                  │               │               │
               ◀──────────────┼───────────────┼───────────────┼───────────────────▶
                              │               │               │
 Distance from
alarm threshold              -10              0              +10

Normally, CloudWatch Alarm Actions are edge-triggered (that is, an Action occurs only when the alarm transitions from OK to ALARM or vice-versa). However, if the Alarm Action is an AutoScaling policy the Alarm keeps on triggering the AutoScaling policy periodically, so that if the alarm goes further out of spec, higher scaling tiers can be activated. (For example, the CPU usage goes to 75% and an instance is added. However, that doesn't make the load go down enough yet, and after an (undefined) while the policy is activated again and another instance is added).
The question is, how to set up step scaling policies to achieve the scaling that the user wants?
Solution 1: Two alarms, two policies
This is what I see most on the internet--a separate alarm and a separate scaling policy for scaling out and scaling in. Seems inefficient, resource-wise.
Also, AutoScaling policies seem to imply they can both scale in and scale out in a single policy, but you'd never take advantage of that in this way.
               -3       -1                                     +1       +3
           │        │        │                            │         │         │
  Metric   ├────────┼────────┼────────────────────────────┼─────────┼─────────┤
           │        │        │                            │         │         │

           0%      10%      30%                          70%        90%      100%

                                                          ║
   Alarm1                                     > 70%       ║
                                                          ║
                                                               +1        +3
                                                          │         │
  Policy1                                                 ├─────────┼─────────▶
                                                          │         │

                                                          0        +20

                             ║
   Alarm2           < 30%    ║
                             ║
               -3       -1
                    │        │
  Policy2 ◀─────────┼────────┤
                    │        │

                  -60       -40

Solution 2: One alarm, one policy
Ideally, it seems like I would want just a single alarm/metric/scalingpolicy configuration. But I don't know if this would even work, it would require that the scaling policy is activated on both sides of the CloudWatch alarm, and it might not do that.
               -3       -1                                     +1       +3
           │        │        │                            │         │         │
  Metric   ├────────┼────────┼────────────────────────────┼─────────┼─────────┤
           │        │        │                            │         │         │

           0%      10%      30%                          70%        90%      100%

                                                          ║
   Alarm                                  Alarm at 70%    ║
                                                          ║

               -3       -1                0                    +1        +3
                    │        │                            │         │
  Policy  ◀─────────┼────────┼────────────────────────────┼─────────┼─────────▶
                    │        │                            │         │

                  -60       -40                           0        +20

Solution 3: Two alarms, one policy
Another potential way to go would be to have two alarms trigger the same scaling policy (one lower-than-threshold and one greater-than-threshold) and just describe the scaling behavior with respect to the alarm thresholds on either side.
We can save on a ScalingPolicy in this way (with respect to solution 1). It's not as obvious what's going on though, and would rely on the fact that 2 different alarms give the deltas to 2 different thresholds to the same scaling policy ONLY when they're in alarm.
               -3       -1                                     +1       +3
           │        │        │                            │         │         │
  Metric   ├────────┼────────┼────────────────────────────┼─────────┼─────────┤
           │        │        │                            │         │         │

           0%      10%      30%                          70%        90%      100%

                                                          ║
   Alarm1                                     > 70%       ║
                                                          ║
                             ║
   Alarm2           < 30%    ║                            ─
                             ║                         ┌ ┘
                             ─                        ─
                              └ ┐                  ┌ ┘
                                 ─                ─
                                  └ ┐          ┌ ┘
                                     ─        ─
                                      └ ┐  ┌ ┘
                                         ─┌
                         -3        -1     ▼     +1           +3
                              │           │           │
  Policy  ◀───────────────────┼───────────┼───────────┼───────────────────────▶
                              │           │           │

                            -20           0          +20

Questions

Can an AutoScaling Policy be in the OKActions of a CloudWatch Alarm? Does that work?
If it does work, will it also continue evaluating and triggering the Scaling Policy periodically if it's on the OKActions, just like it does in AlarmActions?
Can a single AutoScaling policy even be the target of two CloudWatch alarms? If so, will it respect both threshold deltas as I'm expecting it to in scenario 3?
Is there a difference between Application AutoScaling and EC2 Instance AutoScaling?
Can I have multiple StepScalingPolicies on the same target that both scale the target at the same time? Are they going to fight? What if one has a ChangeInCapacity = 0 ?

By the way, this is all predicated on the assumption that users would rather think in terms of the very first thing I showed: absolute metric values and the scaling behavior based on that; all the drilldown that happens to scaling policies to me feels just like implementation details and calculations that can and should be hidden.
I don't have data for that, it's just a gut feeling. Am I sorely wrong on that?

Can I ask why you're not considering TargetTracking here? From my (admittedly limited) understanding, this would be a way to scale in and out based on one policy/metric. Are there specifics re: how such a setup would behave that you're concerned about?

I love the idea of target tracking, and I will definitely implement that as well.
But do you think I should not implement step scaling at all? Just leave it out of the API and force people to use target tracking?

@allisaurus, by the way, do customized metrics work for target tracking? Because the CloudFormation docs seem to imply they don't.

It looks like custom metrics related to EC2 instance utilization are permissible with target tracking. Looks like there may be a gap in what's currently supported in the service vs. via CFN.
To your second point: accommodating use cases that require significantly different scale in/out behavior, or those that work off metrics incompatible w/ target tracking, would be a good argument for implementing step scaling as well (though I'm ill equipped to speak to how prevalent they are).

I don't think we can afford to only implement only part of the feature set. So that means we have to build an API for step scaling anyway, and I'd like it to be as good as possible.

@allisaurus, by the way, do custom metrics work for target tracking? Because the CloudFormation docs seem to imply they don't.

The link is about Application Auto Scaling, not EC2 Auto Scaling.

@jungseoklee where did you get the impression this topic was about EC2 autoscaling? I don't think I've mentioned it anywhere, and in fact I did come at this by just looking at App AutoScaling so far (although I do believe the instance autoscaling API is very similar).

@jungseoklee where did you get the impression this topic was about EC2 autoscaling? I don't think I've mentioned it anywhere, and in fact I did come at this by just looking at App AutoScaling so far (although I do believe the instance autoscaling API is very similar).

True. You mentioned two terms, "CPU usage" and "instance is added", only. Nevertheless, I unconsciously combined the terms with 1) the link, custom metrics related to EC2 instance utilization, in the comment stream and 2) my understanding that step scaling policy is not applicable to DynamoDB [1] which is about Application Auto Scaling, so I got the impression.
I would like to understand this topic correctly. There are no other intentions.
[1] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-policytype

Here's another question, feel free to provide input:
How are we going to model the API to represent thresholds and scaling actions?

I would vote for option 1 which is a great abstraction and modeling to me.
Regarding option 2, users need to understand what upperBound, lowerBound, and adjustment are, and upperBound and lowerBound seems like optional members of a property used for addTier method.
Regarding option 3, it seems error-prone compared to other options. For example, what if I switch 0 scale with 20 threshold like scale([ 0, -2, 10, -1, 0, 20, 80, +1, 90, +2, 100 ])?
In case of option 4, this option looks better than options 2 and option 3, but we probably need to check if array size of scale == (array size of threshold - 1).


But does it work?

Hi, is it possible to have a network map of the example you published? I can't understand the rules and how it handles the rules after I've authenticated. It would seem that it works only for internal networks and not through public ip and therefore wireguard input from public ip. Thank you

We use it such that "some" external/public addresses are routed from our WireGuard. This is due to IP filters some of the externals have. We have to come from our Office IP.
The important part is the routing/gateway on the WireGuard server. From there you must be able to route to your destinations, public or otherwise. Then we ensure that the AllowedIPs on the clients includes those public addresses, then the client knows to route to the WireGuard server.
Image: https://imgur.com/iD45u1O

Hi there @111blackeagle111,
A short answer to your issue title is, Yes it does work.
The long answer to your question is, this acts as a firewall on-top of the wireguard device. When you, or your users authenticate it simply allows whatever ip/subnet to pass through the host.
Wag tries not to touch the host configuration as much as possible, so it does not set the ip_forward sysctl flag automatically, which might be causing you to not be able to route from your wag server to other networks.
Unfortunately I dont think drawing a diagram is going to help much here, as it would just consist of showing a wag server connected to the hosts that you define in the Polices list, as it wont be able to route traffic to things its not connected to.
Could you please describe the problem you're having in a bit more depth?

I don't know if this will help, but here's an article I wrote, with config in it.
https://warlord0blog.wordpress.com/2022/09/29/wireguard-otp-and-acls/
For each of the Mfa and Allow entries, you must match them on the client side with the AllowIPs in their client config. eg.
[Interface]
PrivateKey = SuperSecretKey
DNS = <IP_ADDRESS>
Address = <IP_ADDRESS>

[Peer]
Endpoint =  X.X.X.X:51820
PublicKey = SecretKey
AllowedIPs = <IP_ADDRESS>/24, <IP_ADDRESS>/32, <IP_ADDRESS>/24
PersistentKeepAlive = 10

If I wanted to include a single host, <IP_ADDRESS> as per your posted example, I must also have that in the AllowedIPs
AllowedIPs = <IP_ADDRESS>/24, <IP_ADDRESS>/32, <IP_ADDRESS>/24, <IP_ADDRESS>/32

(Just as a side note to that comment, if you use the wag registration endpoint it'll do all the allowedips for you)

I managed to make all the configurations go the right way.
After I had problems with ssh connections but I solved by setting the MTU = 1200 parameter inside the wireguard configuration file of the client and now ssh connections also work, after doing two-factor authentication.


Tentative steps towards MTGJSON4. This will probably fail.

Travis tests have failed
Hey @bakert,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
1st Build
View build log

     echo $CMD

python dev.py tests
travis_time:end:252e47b0:start=1545420705352850171,finish=1545420705355527163,duration=2676992

     $CMD

travis_time:start:0acfd56e
$ $CMD
CONFIG: production=False
CONFIG: web_cache=.web_cache
CONFIG: redis_enabled=True
CONFIG: redis_host=localhost
CONFIG: redis_port=6379
CONFIG: redis_db=0
CONFIG: whoosh_index_dir=whoosh_index
Fetching https://mtgjson.com/json/version.json (cache ok)
CONFIG: slow_fetch=10.0
CONFIG: magic_database=cards
CONFIG: mysql_host=localhost
CONFIG: mysql_port=3306
CONFIG: mysql_user=root
CONFIG: mysql_passwd=
CONFIG: slow_query=5.0
Creating database cards
Database update required
Before BEGIN ([])
After BEGIN (['update_database'])
CONFIG: scratch_dir=.
Storing https://mtgjson.com/json/AllCards-x.json.zip in ./zip/zip.zip
Traceback (most recent call last):
  File "/home/travis/build/PennyDreadfulMTG/Penny-Dreadful-Tools/magic/fetcher.py", line 23, in all_cards
    return json.load(open('AllCards-x.json'))
FileNotFoundError: [Errno 2] No such file or directory: 'AllCards-x.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "dev.py", line 172, in <module>
    run()
  File "dev.py", line 30, in run
    tests(args)
  File "dev.py", line 111, in tests
    multiverse.init()
  File "/home/travis/build/PennyDreadfulMTG/Penny-Dreadful-Tools/magic/multiverse.py", line 28, in init
    update_database(current_version)
  File "/home/travis/build/PennyDreadfulMTG/Penny-Dreadful-Tools/magic/multiverse.py", line 105, in update_database
    cards = fetcher.all_cards()
  File "/home/travis/build/PennyDreadfulMTG/Penny-Dreadful-Tools/magic/fetcher.py", line 25, in all_cards
    s = internal.unzip('https://mtgjson.com/json/AllCards-x.json.zip', 'AllCards-x.json')
  File "/home/travis/build/PennyDreadfulMTG/Penny-Dreadful-Tools/shared/fetcher_internal.py", line 32, in unzip
    f = zipfile.ZipFile('{location}/zip.zip'.format(location=location), 'r')
  File "/opt/python/3.6.3/lib/python3.6/zipfile.py", line 1108, in __init__
    self._RealGetContents()
  File "/opt/python/3.6.3/lib/python3.6/zipfile.py", line 1175, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
travis_time:end:0acfd56e:start=1545420705359661579,finish=1545420706807065010,duration=1447403431

TravisBuddy Request Identifier: 85a83dc0-0557-11e9-92d9-752c2b3373fa


Deploy only for .NET framework, not .NET Core,

I'm writing an API using ASP.NET 5, the problem here is that locally I can just ignore the errors that the compiler throws when compiling some third party libraries that aren't available for .NET Core, how can I ignore those errors? because when trying to deploy to Azure, it just stops after the compiling errors appear.
thanks for your help!

You can remove dnxcore50 (and everything in it) from your project.json to avoid compiling for .NET Core.

thank you so much! haha I'm a noob with ASP.NET 5


Some years are selected incorrectly

Hi. Steps to reproduce:

Click on 'year' to select year and choose any year less than 2011
You can see that on left side there's 2010 year selected -> weekday and month no more match on the left and right sides on datepicker.

It's reproducing in Chrome and not reproducing in Firefox.
Sorry for Russian locality in attached image

@n8m Thanks for reporting. Working on a fix.

iron-list is the culprit.

see #87 and #88

Closing this issue as this has been fixed in some other raised issues #87 and #88. Thank you for all the reporting. Really appreciate that! 👍


Add udp appender

Add udp appender

add udp appender
self-testing has been completed.
add example
update readme

Please fix the compilation issue. Thx.

Please fix the compilation issue. Thx.

I have fixed the compilation issue.

I have fixed the timeout issue that occurred during UDP testing. The cause was logging before the UDP service was successfully created.

Could you add an option to allow users to serialize log message freely?
The current implementation is quite limited. What if we want to add some meta data before sending log messages?

Could you add an option to allow users to serialize log message freely? The current implementation is quite limited. What if we want to add some meta data before sending log messages?

Thank you for your reply!
I don't add too many options because I think the user should know how to find all the context-sensitive logs once the logs are ready to be collected.
Do you mean that you need to add some information to distinguish the logs of different services in the log server? Or generate JSON data for easy retrieval or analysis?


[Question] Multi-root Workspace

Having to add each new project manually to the workspace is not practical, so I put all my projects inside a root folder and added that folder instead, so every time I add a new folder inside the root folder it will appear in the workspace automatically (or by refreshing it).
How to configure the workspace so it asks me what folder to debug?
I can Run Build Task and it asks me what folder to build and it builds successfully, but not with debugging.
Start Debugging will complain the folder doesn't have a asconfig.json.
Thank you.

Having to add each new project manually to the workspace is not practical

Why not? You add it once, save the workspace, and it will be restored every time you reopen the same workspace.

@joshtynjala what would be answer here:

How to configure the workspace so it asks me what folder to debug?
I can Run Build Task and it asks me what folder to build and it builds successfully, but not with debugging.
Start Debugging will complain the folder doesn't have a asconfig.json.

Each root folder in workspace must have launch.json configured?

It can start debugging without launch.json, but it's possible that only works when there's only one workspace root. When you have multiple roots, it's best to set up launch configurations for each one.

It can start debugging without launch.json, but it's possible that only works when there's only one workspace root. When you have multiple roots, it's best to set up launch configurations for each one.

Hi @joshtynjala , does you mean I should have a launch.json file even for my SWC component folder in workspace?
Thanks.

@wmfelipe You can't launch .swc library files, so no, you don't need launch.json files for those. It's only for application projects that you want to run/debug.


Getting response of Content-Type from API.

I guess due to Cloudflare caching the oembed API endpoint is now returning a response with Content-Type: text/plain; charset=UTF-8 instead of application/json. Is this expected?
$ curl -I https://api.meetup.com/oembed?url=https://www.meetup.com/rambler/events/234687680
HTTP/1.1 200 OK
Date: Sun, 16 Oct 2016 15:52:36 GMT
Content-Type: text/plain; charset=UTF-8
Connection: keep-alive
Set-Cookie: __cfduid=dcb55b32767cf2d5ee4713461b31f5c581476633156; expires=Mon, 16-Oct-17 15:52:36 GMT; path=/; domain=.meetup.com; HttpOnly
X-Varnish: 95371019
Age: 0
Via: 1.1 varnish
Vary: Accept-Encoding,User-Agent,Accept-Language
Server: cloudflare-nginx
CF-RAY: 2f2cadc919d22deb-BOM

https://drive.google.com/start/apps

gooder


⚠ SceneTime has degraded performance

In a04f2a3, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3690 ms

Resolved: SceneTime performance has improved in 235db11 after 9 minutes.


Please update pypi pytest-localserver page

https://pypi.org/project/pytest-localserver/ still points to bitbucket :)

There's nothing I can do about that. You'd have to contact the owner of the pytest-localserver name (@redtoad) to get changes made on PyPI.

I'll reopen this now that we've gotten permissions straightened out with @redtoad. We will update the PyPI page soon!

If you want me to test some PR/patch before commit please let me know :)

Absolutely, thanks! I think at this point the only thing holding this up is the updated certificate (#2) and any other crucial changes that we may want to build into a release, so if you think there's anything else that particularly needs to be done before publishing the next version on PyPI, please do let us know.
We're also dealing with some "growing pains" of the project - the three of us maintainers have to figure out how best to work together and not step on each others' toes. So I'm taking it a little slow. But I'm sure we can make a new release and update PyPI within a few days.

I just pushed the new version to PyPI so you should be all set now. Thanks for your involvement @kloczek! Let us know if you find any issues with the new version. (It's a small package, I figured the automated tests would be enough to make it safe to release, hopefully I don't come to regret that :smile: )


Strict null check extHostDebugService.ts

Great work strict null checking debug! One more debug related file to handle: vs/workbench/api/node/extHostDebugService.ts with 42 errors

@mjbvz I've fixed strict-null issues in extHostDebugService.ts and variableResolver.ts.
But if I enable vs/workbench/api/node/extHostDebugService.ts in tsconfig.strictNullChecks.ts I get lots of errors in proxyResolver.ts and extHostTreeView.ts.
So I leave it up to you to enable the vs/workbench/api/node/extHostDebugService.ts eventually.


Is it possible to refresh Cloud provider inside method?

I'm creating a Security group using a datastore method. But I want refresh the cloud provider so that the new security group is updated in the database and so I can modify the catalog item dialog hash or update the dialog with the new security group ID.
Is it possible to refresh the Cloud provider inside a method?

Discussing on Gitter :point_up: February 15, 2022 4:41 PM
Basically yes you can, best architecture is to queue a refresh and wait for it to complete in a state machine, then lookup the new security group ems_ref and kick off the provision with that new value


Nonsensical error message

TypeScript Version:  2.9.0-dev
Code
type Wat<T extends string> = { [x: T]: string };  // Error: An index signature cannot be a union type ?!?

Expected behavior:
Meaningful error message.
Actual behavior:
Error message complains about a union type, but there is no union type.
Related Issues:
The error message is caused by #20726. There is no verification that the type is actually a union type.

@kujon wanna take a crack at this one as well?


Make the project available as Aqua template

It seems that initializing the project can be done a bit more handy with Aqua template engine. It's generaly created for this purposes.
With small changes the project can be boilerplated using
mix aqua new boilerplate MyApp

with optional docker (for example):
mix aqua new boilerplate MyApp --no-docker

With auto predefined Elixir versions, and better discovered project_name changes.
If it's possible - I can do this for the project, just want to be sure that it has any sence.

Looks like the Aqua project is not being maintained anymore (last commit 3 years ago). If the changes you want to do makes sense without Aqua you can still send a PR 😃


Track financial details, including the total spend incurred by usage of the DCP in production conditions

We need to monitor our spending and find ways to improve where possible.
Coverage is required In both AWS and GCP.  Need to be able to break spend down by DCP component, and by service type (bucket storage, compute, batch, etc).
In AWS I believe this requires we tag each of our resources and then use their finance tools to mine those tags and aggregate costs.  Not sure how this works in GCP.
Step 1 = research the different mechanisms in AWS / GCP.
Step 2 = design tagging strategy, detail it in the dcp repo ticket #78 (https://app.zenhub.com/workspaces/dcp-backlogs-5ac7bcf9465cb172b77760d9/issues/humancellatlas/dcp/78)
Step 3 = ping component teams to implement their part
Step 4 = ensure platform-wide tools work as advertised

Applies to DCP/1 only. If the need arises to implement this for future compliance/certification, we'll open a new ticket.


Error importing

Could not find a declaration file for module 'oslllo-svg-fixer'. 'c:/Users/username/Desktop/projectName/node_modules/oslllo-svg-fixer/src/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/oslllo-svg-fixer if it exists or add a new declaration (.d.ts) file containing declare module 'oslllo-svg-fixer';
I am a beginner at javascript and am confused by this error when importing this library. I haven't gotten this error importing any other javascript libraries and have been stuck on this for a few days.
I tried what it suggested and no luck..

Hi, this is a typescript error, this package does not have any type declarations yet so to fix your error  simply add this before the line of your import:
// @ts-ignore
import SVGFixer from "oslllo-svg-fixer"

or use require
const SVGFixer = require('oslllo-svg-fixer')

I am unsure why I am getting typescript errors as I used vite to build my project and selected vanilla javascript. I also tried not using vite and had the same issue.
Using require I get a "require is not defined" error in the console.
Thank you for your quick reply, I hope this information helps.

@colemaring did that fix the issue?

No it did not

@colemaring please provide me with your stack or reproduction steps so I can try to fix the issue on my end.

Ohhhh Vite!, I dont know how I missed that in your previous comment but you cannot run this package in vite because its a frontend environment aka browser.
This module requires a Node.js runtime because It depends on packages such as https://www.npmjs.com/package/domino which are server side only.
If you are trying to make a tool like https://iconly.io/tools/svg-convert-stroke-to-fill then you are going to need a node.js backend to do the processing, then send the results to the vite frontend.

Got it, Ill need to use the node.js backend for what I am trying to do. Thank you.


Add an image resolver for Debian.

Fixes #740.

CI still doesn't work, so ignore that failure please.


[GMOD] PostCollision / PhysCollisionScreenShake cause server crash

Not sure it supposed to be working with Garry's Mod, but in case if anyone know how this could be fixed, I'll post some details of my issue here.
So I just created one cube and used stacker against it, once boxes fall and collide - crash is happened, I dive a bit deep into the problem and found that crash is caused by PhysCollisionScreenShake (game\server\physics.cpp) at pEvent->pInternalData->GetContactPoint( vecPos );.
As you can see in the debugger, pInternalData of the event is an invalid pointer:
UDP: Nvm, this is an VTable ptr, the data is seems to be at least non-nullptr:

The call-stack is the following:
>	server.dll!__Z24PhysCollisionScreenShakeP21gamevcollisionevent_ti()	Unknown
 	server.dll!__ZN11CBaseEntity17VPhysicsCollisionEiP21gamevcollisionevent_t()	Unknown
 	server.dll!__ZN12CPhysicsProp17VPhysicsCollisionEiP21gamevcollisionevent_t()	Unknown
 	server.dll!__ZN15CCollisionEvent13PostCollisionEP17vcollisionevent_t()	Unknown
 	vphysics.dll!`JoltPhysicsContactListener::FlushCallbacks'::`2'::<lambda_5>::operator()(JoltPhysicsContactListener::JoltPhysicsCollisionEvent & event) Line 356	C++
 	vphysics.dll!JoltPhysicsContactListener::JoltPhysicsEventTracker<JoltPhysicsContactListener::JoltPhysicsCollisionEvent>::ForEach<1,`JoltPhysicsContactListener::FlushCallbacks'::`2'::<lambda_5>>(JoltPhysicsContactListener::FlushCallbacks::__l2::<lambda_5> func) Line 541	C++
 	vphysics.dll!JoltPhysicsContactListener::FlushCallbacks() Line 360	C++
 	vphysics.dll!JoltPhysicsEnvironment::Simulate(float deltaTime) Line 793	C++
 	server.dll!__ZL9PhysFramef()	Unknown
 	server.dll!__ZN12CPhysicsHook26FrameUpdatePostEntityThinkEv()	Unknown

Crashes in PhysCollisionScreenShake:
	57241A0E  comiss      xmm0,dword ptr ds:[57658AF0h]
	57241A15  jbe         __Z24PhysCollisionScreenShakeP21gamevcollisionevent_ti+133h (57241A83h)
	57241A17  mov         ecx,dword ptr [esi+1Ch]
	57241A1A  lea         edx,[ebp-10h]
	57241A1D  push        edx
	57241A1E  mov         eax,dword ptr [ecx]
>	57241A20  call        dword ptr [eax+4]
	57241A23  movss       xmm0,dword ptr [esi+18h]
	57241A28  mulss       xmm0,dword ptr [ebp-20h]
	57241A2D  mov         eax,dword ptr ds:[5797B0D4h]
	57241A32  push        0
	57241A34  push        0
	57241A36  sub         esp,10h
	57241A39  mulss       xmm0,dword ptr [eax+2Ch]
	57241A3E  mov         eax,dword ptr ds:[5797B164h]
	57241A43  mulss       xmm0,dword ptr ds:[576DCE80h]

at 57241A20 (*(void (__thiscall **)(_DWORD, float *))(**(_DWORD **)(a4 + 28) + 4))(*(_DWORD *)(a4 + 28), vecPos); which is probably pEvent->pInternalData->GetContactPoint( vecPos );, so it's trying to call GetContactPoint against nullptr.
Any ideas?
P.S. Manual windows build of VPhysics-Jolt@347e78d using SSDK-2013@0d8dcee, VS2022 (target for module is x32-Debug).

(I won't have time to implement this tonight, so feel free to try it out yourself + PR and get the free GitHub points, otherwise I will fix it tomorrow).

Actually, I'll do it now... I lied.

That is fastest issue response I've seen, heh, thank you!
Btw, I had an another issue with ->
https://github.com/Joshua-Ashton/VPhysics-Jolt/blob/347e78d122973dc5135bd5c16c734f4ef39e01a6/vphysics_jolt/vjolt_environment.cpp#L916
There are some STL/SDL (not remember) checks that asserting on assignment of m_CachedObjects[ i ] to smth, I did a small replacement locally to m_CachedObjects.insert(m_CachedObjects.begin() + i, reinterpret_cast<IPhysicsObject*>(pBody->GetUserData())); and it works like a charm.

Sure, let me try.

There are some STL/SDL (not remember) checks that asserting on assignment of m_CachedObjects[ i ] to smth, I did a small replacement locally to m_CachedObjects.insert(m_CachedObjects.begin() + i, reinterpret_cast<IPhysicsObject*>(pBody->GetUserData())); and it works like a charm.

Just looked, it should be resize and not reserve haha. I'll do a PR for that too.

https://github.com/Joshua-Ashton/VPhysics-Jolt/pull/53 tada

Thanks for the clear issue, some ez wins before bed :-)

Hehe, no problem, I can confirm that https://github.com/Joshua-Ashton/VPhysics-Jolt/pull/52 fixes my issue, no crash so far.


New Website Logo: 3DR

Organization name: 3DR
Homepage url: https://3dr.com/
Logo url: https://dl.dropboxusercontent.com/u/9694286/3dr-logo.svg
How you are using Rust: Our usage of Rust includes but its not limited to managing accessories connected to our vehicles, Rust handles communications through USB devices to critical components for Flight and our Mobile apps (more details can be provided if needed)
Organization contact: Ramón Roche @mrpollo

Thanks! If you don't mind I'd like to condense the description so it fits in the space we have to "Rust handles communications through USB devices to critical components for Flight and our Mobile apps."

sure thing!


Make program to line up all motors to ensure that motor home positions are known and consistent.

Need a way to get all motors to North position in order to properly assemble the robot's legs at the correct angle. Created the project "pca9685servoExperiments" on Andrew's hard drive to do one motor at a time on row 0 of the 0x40 I2C addressed motor driver.

Created a program on my hard drive that puts any servo connected to the PWM pin 15 of the driver with an I2C address of 0x41 to North (300 PWM). Can load this program to calibrate centre of each motor.


vscode freezing on centos7

After a fresh install on a freshly installed centos 7 system, vscode freezes. here is the verbose output
[test@localhost SNT]$ code --verbose [main 2021-03-15T23:59:02.283Z] Starting VS Code [main 2021-03-15T23:59:02.284Z] from: /usr/share/code/resources/app [main 2021-03-15T23:59:02.284Z] args: {   _: [],   diff: false,   add: false,   goto: false,   'new-window': false,   'reuse-window': false,   wait: false,   help: false,   'list-extensions': false,   'show-versions': false,   version: false,   verbose: true,   status: false,   'prof-startup': false,   'prof-v8-extensions': false,   'disable-extensions': false,   'disable-gpu': false,   telemetry: false,   debugRenderer: false,   logExtensionHostCommunication: false,   'skip-release-notes': false,   'disable-telemetry': false,   'disable-updates': false,   'disable-keytar': false,   'disable-crash-reporter': false,   'crash-reporter-id': 'ae9dc575-4e43-4062-bd32-65050abe63a7',   'skip-add-to-recently-opened': false,   'unity-launch': false,   'open-url': false,   'file-write': false,   'file-chmod': false,   'driver-verbose': false,   force: false,   'do-not-sync': false,   trace: false,   'force-user-env': false,   'force-disable-user-env': false,   'open-devtools': false,   __sandbox: false,   'no-proxy-server': false,   nolazy: false,   'force-renderer-accessibility': false,   'ignore-certificate-errors': false,   'allow-insecure-localhost': false,   logsPath: '/home/test/.config/Code/logs/20210315T195902' } [main 2021-03-15T23:59:02.288Z] Resolving machine identifier... [main 2021-03-15T23:59:02.289Z] Resolved machine identifier: c5b575076284184ad6b998397b19729374a2e8023f70d64a193a6fc9d90a7d57 [main 2021-03-15T23:59:02.290Z] Main->SharedProcess#connect Error: /lib64/libstdc++.so.6: versionCXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node)
at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1250:18)
at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)
at Module.load (internal/modules/cjs/loader.js:1039:32)
at Module._load (internal/modules/cjs/loader.js:932:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
at Module.require (internal/modules/cjs/loader.js:1079:19)
at v (/usr/share/code/resources/app/out/vs/loader.js:3:12287)
at bindings (/usr/share/code/resources/app/node_modules.asar/bindings/bindings.js:112:48)
at Object. (/usr/share/code/resources/app/node_modules.asar/spdlog/index.js:3:35)
at Module.u._compile (/usr/share/code/resources/app/out/vs/loader.js:3:12841)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1039:32)
at Module._load (internal/modules/cjs/loader.js:932:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
at Module.require (internal/modules/cjs/loader.js:1079:19)
at require (internal/modules/cjs/helpers.js:72:18)
at t (/usr/share/code/resources/app/out/vs/loader.js:4:101)
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13249)
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)
at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)
at Object.errorback (/usr/share/code/resources/app/out/vs/loader.js:4:10435)
at r.triggerErrorback (/usr/share/code/resources/app/out/vs/loader.js:3:10626)
at /usr/share/code/resources/app/out/vs/loader.js:3:10332
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13266)
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)
at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)
at r._loadModule (/usr/share/code/resources/app/out/vs/loader.js:4:10444)
at r._resolve (/usr/share/code/resources/app/out/vs/loader.js:5:452)
at r.defineModule (/usr/share/code/resources/app/out/vs/loader.js:4:6145)
at r._relativeRequire (/usr/share/code/resources/app/out/vs/loader.js:4:6831)
at n (/usr/share/code/resources/app/out/vs/loader.js:4:9420)
at L.E (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:4689)
at new Promise ()
at L (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:4669)
at n._createSpdLogLogger (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:5602)
at new n (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:5418)
at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:58:1945
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async j.startup (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:58:1760) {
phase: 'loading',
moduleId: 'spdlog',
neededBy: [ '===anonymous3===' ]
}
[main 2021-03-15T23:59:02.329Z] StorageMainService: creating global storage
[main 2021-03-15T23:59:02.330Z] lifecycle (main): phase changed (value: 2)
[main 2021-03-15T23:59:02.331Z] windowsManager#open
[main 2021-03-15T23:59:02.331Z] windowsManager#open pathsToOpen [ [Object: null prototype] {} ]
[main 2021-03-15T23:59:02.333Z] window#validateWindowState: validating window state on 1 display(s) {
width: 1024,
height: 768,
mode: 1,
x: 448,
y: 108,
hasDefaultState: true
}
[main 2021-03-15T23:59:02.333Z] window#validateWindowState: 1 monitor working area { x: 0, y: 28, width: 1920, height: 918 }
[main 2021-03-15T23:59:02.333Z] window#ctor: using window state {
width: 1024,
height: 768,
mode: 1,
x: 448,
y: 108,
hasDefaultState: true
}
[main 2021-03-15T23:59:02.430Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 0, emptyToRestore: 0, emptyToOpen: 1)
[main 2021-03-15T23:59:02.431Z] lifecycle (main): phase changed (value: 3)
[main 2021-03-15T23:59:02.431Z] update#setState idle
[main 2021-03-15T23:59:02.431Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
Error: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/native-keymap/build/Release/keymapping.node)     at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1250:18)     at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)     at Module.load (internal/modules/cjs/loader.js:1039:32)     at Module._load (internal/modules/cjs/loader.js:932:14)     at Function.f._load (electron/js2c/asar_bundle.js:5:12738)     at Module.require (internal/modules/cjs/loader.js:1079:19)     at v (/usr/share/code/resources/app/out/vs/loader.js:3:12287)     at NativeBinding._init (/usr/share/code/resources/app/node_modules.asar/native-keymap/index.js:15:22)     at NativeBinding.getKeyMap (/usr/share/code/resources/app/node_modules.asar/native-keymap/index.js:19:10)     at Object.exports.getKeyMap (/usr/share/code/resources/app/node_modules.asar/native-keymap/index.js:58:18)     at n (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:30:11066)     at M._doInitialize (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:30:10750) TypeError: Cannot read property 'getCurrentKeyboardLayout' of null     at NativeBinding.getCurrentKeyboardLayout (/usr/share/code/resources/app/node_modules.asar/native-keymap/index.js:29:29)     at Object.exports.getCurrentKeyboardLayout (/usr/share/code/resources/app/node_modules.asar/native-keymap/index.js:55:18)     at n (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:30:11082)     at M._doInitialize (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:30:10750) TypeError: Cannot read property 'onDidChangeKeyboardLayout' of null     at NativeBinding.onDidChangeKeyboardLayout (/usr/share/code/resources/app/node_modules.asar/native-keymap/index.js:38:22)     at Object.exports.onDidChangeKeyboardLayout (/usr/share/code/resources/app/node_modules.asar/native-keymap/index.js:61:18)     at M._doInitialize (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:30:10757) [main 2021-03-15T23:59:02.470Z] [storage state.vscdb] open(): Unable to open DB due to Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node)
(node:15150) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
[main 2021-03-15T23:59:02.492Z] [storage state.vscdb] open(): Unable to use backup due to Error: ENOENT: no such file or directory, unlink '/home/test/.config/Code/User/globalStorage/state.vscdb'
[main 2021-03-15T23:59:02.493Z] StorageMain#initialize(): Unable to init storage due to Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node) [15183:0315/195902.606788:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization [main 2021-03-15T23:59:02.615Z] [uncaught exception in main]: Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node)
[main 2021-03-15T23:59:02.615Z] Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node)     at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1250:18)     at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)     at Module.load (internal/modules/cjs/loader.js:1039:32)     at Module._load (internal/modules/cjs/loader.js:932:14)     at Function.f._load (electron/js2c/asar_bundle.js:5:12738)     at Module.require (internal/modules/cjs/loader.js:1079:19)     at v (/usr/share/code/resources/app/out/vs/loader.js:3:12287)     at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/vscode-sqlite3/lib/sqlite3.js:1:77)     at Module.u._compile (/usr/share/code/resources/app/out/vs/loader.js:3:12841)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)     at Module.load (internal/modules/cjs/loader.js:1039:32)     at Module._load (internal/modules/cjs/loader.js:932:14)     at Function.f._load (electron/js2c/asar_bundle.js:5:12738)     at Module.require (internal/modules/cjs/loader.js:1079:19)     at require (internal/modules/cjs/helpers.js:72:18)     at t (/usr/share/code/resources/app/out/vs/loader.js:4:101)     at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13249)     at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)     at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)     at Object.errorback (/usr/share/code/resources/app/out/vs/loader.js:4:10435)     at r.triggerErrorback (/usr/share/code/resources/app/out/vs/loader.js:3:10626)     at /usr/share/code/resources/app/out/vs/loader.js:3:10332     at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13266)     at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)     at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)     at r._loadModule (/usr/share/code/resources/app/out/vs/loader.js:4:10444)     at r._resolve (/usr/share/code/resources/app/out/vs/loader.js:5:452)     at r.defineModule (/usr/share/code/resources/app/out/vs/loader.js:4:6145)     at r._relativeRequire (/usr/share/code/resources/app/out/vs/loader.js:4:6831)     at n (/usr/share/code/resources/app/out/vs/loader.js:4:9420)     at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:31605     at new Promise (<anonymous>)     at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:31585     at new Promise (<anonymous>)     at S.doConnect (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:31565)     at S.connect (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:31014)     at new S (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:28365)     at w.doCreate (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:50:9131)     at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:50:8021     at w.init (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:50:8363)     at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:50:11997 [main 2021-03-15T23:59:02.729Z] resolveShellEnv(): skipped (VSCODE_CLI is set) Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node)
at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1250:18)
at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)
at Module.load (internal/modules/cjs/loader.js:1039:32)
at Module._load (internal/modules/cjs/loader.js:932:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
at Module.require (internal/modules/cjs/loader.js:1079:19)
at v (/usr/share/code/resources/app/out/vs/loader.js:3:12287)
at bindings (/usr/share/code/resources/app/node_modules.asar/bindings/bindings.js:112:48)
at Object. (/usr/share/code/resources/app/node_modules.asar/spdlog/index.js:3:35)
at Module.u._compile (/usr/share/code/resources/app/out/vs/loader.js:3:12841)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1039:32)
at Module._load (internal/modules/cjs/loader.js:932:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
at Module.require (internal/modules/cjs/loader.js:1079:19)
at require (internal/modules/cjs/helpers.js:72:18)
at t (/usr/share/code/resources/app/out/vs/loader.js:4:101)
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13249)
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)
at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)
at Object.errorback (/usr/share/code/resources/app/out/vs/loader.js:4:10435)
at r.triggerErrorback (/usr/share/code/resources/app/out/vs/loader.js:3:10626)
at /usr/share/code/resources/app/out/vs/loader.js:3:10332
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13266)
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)
at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)
at r._loadModule (/usr/share/code/resources/app/out/vs/loader.js:4:10444)
at r._resolve (/usr/share/code/resources/app/out/vs/loader.js:5:452)
at r.defineModule (/usr/share/code/resources/app/out/vs/loader.js:4:6145)
at r._relativeRequire (/usr/share/code/resources/app/out/vs/loader.js:4:6831)
at n (/usr/share/code/resources/app/out/vs/loader.js:4:9420)
at L.E (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:4689)
at new Promise ()
at L (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:4669)
at n._createSpdLogLogger (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:5602)
at new n (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:5418)
at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:58:1945
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async j.startup (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:58:1760) {
phase: 'loading',
moduleId: 'spdlog',
neededBy: [ '===anonymous3===' ]
}
[15150:0315/195903.131062:INFO:CONSOLE(626)] "%c  ERR color: #f33 [storage state.vscdb] open(): Unable to open DB due to Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node)", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.150519:INFO:CONSOLE(626)] "%cTRACE color: #888 [lifecycle] starting up (startup kind: 1)", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.150545:INFO:CONSOLE(626)] "%cTRACE color: #888 lifecycle: phase changed (value: 2)", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.150568:INFO:CONSOLE(626)] "%cTRACE color: #888 Renderer->SharedProcess#connect", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.150581:INFO:CONSOLE(626)] "%cTRACE color: #888 Skipping initializing user data in desktop", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.262325:INFO:CONSOLE(626)] "%cTRACE color: #888 Layout#layout, height: 743, width: 1024", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.315254:INFO:CONSOLE(626)] "%cTRACE color: #888 workbench configuration {"_":[],"verbose":true,"crash-reporter-id":"ae9dc575-4e43-4062-bd32-65050abe63a7","logsPath":"/home/test/.config/Code/logs/20210315T195902","appRoot":"/usr/share/code/resources/app","machineId":"c5b575076284184ad6b998397b19729374a2e8023f70d64a193a6fc9d90a7d57","nodeCachedDataDir":"/home/test/.config/Code/CachedData/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8","mainPid":15150,"execPath":"/usr/share/code/code","userEnv":{"VSCODE_IPC_HOOK":"/run/user/1000/vscode-489b2748-1.54.3-main.sock","VSCODE_NLS_CONFIG":"{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}"},"isInitialStartup":true,"backupPath":"/home/test/.config/Code/Backups/1615852742948","windowId":1,"sessionId":"window:1","logLevel":0,"colorScheme":{"dark":false,"highContrast":false},"autoDetectHighContrast":true,"perfMarks":[{"name":"code/timeOrigin","startTime":1615852742027},{"name":"code/didStartMain","startTime":1615852742111},{"name":"code/mainAppReady","startTime":1615852742176},{"name":"code/willLoadMainBundle","startTime":1615852742184},{"name":"code/fork/willLoadCode","startTime":1615852742203},{"name":"code/registerFilesystem/file","startTime":1615852742267},{"name":"code/didLoadMainBundle","startTime":1615852742269},{"name":"code/willOpenNewWindow","startTime":1615852742407}],"partsSplashPath":"/home/test/.config/Code/rapid_render.json","os":{"release":"3.10.0-1160.15.2.el7.x86_64"}}", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.315339:INFO:CONSOLE(626)] "%c  ERR color: #f33 [storage state.vscdb] open(): Unable to use backup due to Error: ENOENT: no such file or directory, unlink '/home/test/.config/Code/User/workspaceStorage/1615852742948/state.vscdb'", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.315376:INFO:CONSOLE(626)] "%cTRACE color: #888 lifecycle: phase changed (value: 3)", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [main 2021-03-15T23:59:03.334Z] SharedProcess: on vscode:createSharedProcessMessageChannel [main 2021-03-15T23:59:03.334Z] resolveShellEnv(): skipped (VSCODE_CLI is set) (node:15150) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information [15150:0315/195903.460444:INFO:CONSOLE(626)] "%c  ERR color: #f33 [uncaught exception in main]: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node): Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node)     at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1250:18)     at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)     at Module.load (internal/modules/cjs/loader.js:1039:32)     at Module._load (internal/modules/cjs/loader.js:932:14)     at Function.f._load (electron/js2c/asar_bundle.js:5:12738)     at Module.require (internal/modules/cjs/loader.js:1079:19)     at v (/usr/share/code/resources/app/out/vs/loader.js:3:12287)     at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/vscode-sqlite3/lib/sqlite3.js:1:77)     at Module.u._compile (/usr/share/code/resources/app/out/vs/loader.js:3:12841)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)     at Module.load (internal/modules/cjs/loader.js:1039:32)     at Module._load (internal/modules/cjs/loader.js:932:14)     at Function.f._load (electron/js2c/asar_bundle.js:5:12738)     at Module.require (internal/modules/cjs/loader.js:1079:19)     at require (internal/modules/cjs/helpers.js:72:18)     at t (/usr/share/code/resources/app/out/vs/loader.js:4:101)     at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13249)     at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)     at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)     at Object.errorback (/usr/share/code/resources/app/out/vs/loader.js:4:10435)     at r.triggerErrorback (/usr/share/code/resources/app/out/vs/loader.js:3:10626)     at /usr/share/code/resources/app/out/vs/loader.js:3:10332     at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13266)     at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)     at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)     at r._loadModule (/usr/share/code/resources/app/out/vs/loader.js:4:10444)     at r._resolve (/usr/share/code/resources/app/out/vs/loader.js:5:452)     at r.defineModule (/usr/share/code/resources/app/out/vs/loader.js:4:6145)     at r._relativeRequire (/usr/share/code/resources/app/out/vs/loader.js:4:6831)     at n (/usr/share/code/resources/app/out/vs/loader.js:4:9420)     at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:31605     at new Promise (<anonymous>)     at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:31585     at new Promise (<anonymous>)     at S.doConnect (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:31565)     at S.connect (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:31014)     at new S (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:21:28365)     at w.doCreate (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:50:9131)     at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:50:8021     at w.init (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:50:8363)     at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:50:11997", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.460490:INFO:CONSOLE(626)] "%c  ERR color: #f33 /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node): Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node)     at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1250:18)     at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)     at Module.load (internal/modules/cjs/loader.js:1039:32)     at Module._load (internal/modules/cjs/loader.js:932:14)     at Function.f._load (electron/js2c/asar_bundle.js:5:12738)     at Module.require (internal/modules/cjs/loader.js:1079:19)     at v (file:///usr/share/code/resources/app/out/vs/loader.js:3:12287)     at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/vscode-sqlite3/lib/sqlite3.js:1:170)     at Object.<anonymous> (/usr/share/code/resources/app/node_modules.asar/vscode-sqlite3/lib/sqlite3.js:207:3)     at Module.u._compile (file:///usr/share/code/resources/app/out/vs/loader.js:3:12841)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)     at Module.load (internal/modules/cjs/loader.js:1039:32)     at Module._load (internal/modules/cjs/loader.js:932:14)     at Function.f._load (electron/js2c/asar_bundle.js:5:12738)     at Module.require (internal/modules/cjs/loader.js:1079:19)     at require (internal/modules/cjs/helpers.js:72:18)     at t (file:///usr/share/code/resources/app/out/vs/loader.js:4:101)     at r.load (file:///usr/share/code/resources/app/out/vs/loader.js:3:13249)     at r.load (file:///usr/share/code/resources/app/out/vs/loader.js:3:10262)     at c (file:///usr/share/code/resources/app/out/vs/loader.js:4:10314)     at Object.errorback (file:///usr/share/code/resources/app/out/vs/loader.js:4:10435)     at r.triggerErrorback (file:///usr/share/code/resources/app/out/vs/loader.js:3:10626)     at file:///usr/share/code/resources/app/out/vs/loader.js:3:10332     at r.load (file:///usr/share/code/resources/app/out/vs/loader.js:3:13266)     at r.load (file:///usr/share/code/resources/app/out/vs/loader.js:3:10262)     at c (file:///usr/share/code/resources/app/out/vs/loader.js:4:10314)     at r._loadModule (file:///usr/share/code/resources/app/out/vs/loader.js:4:10444)     at r._resolve (file:///usr/share/code/resources/app/out/vs/loader.js:5:452)     at r.defineModule (file:///usr/share/code/resources/app/out/vs/loader.js:4:6145)     at r._relativeRequire (file:///usr/share/code/resources/app/out/vs/loader.js:4:6831)     at n (file:///usr/share/code/resources/app/out/vs/loader.js:4:9420)     at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:33625     at new Promise (<anonymous>)     at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:33605     at new Promise (<anonymous>)     at y.doConnect (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:33585)     at y.connect (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:33034)     at new y (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:30385)     at sn.createWorkspaceStorage (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:731:54139)     at sn.initializeWorkspaceStorage (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:731:53378)     at async Promise.all (index 1)     at async Object.H [as settled] (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:57:27045)     at async sn.doInitialize (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:731:52980)     at async file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:634:4912     at async ee.createStorageService (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2765:8017)     at async Promise.all (index 1)     at async ee.initServices (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2765:6597)     at async ee.open (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2765:4450)     at async file:///usr/share/code/resources/app/out/bootstrap-window.js:1:2555", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [main 2021-03-15T23:59:03.462Z] menubarService#updateMenubar 1 [15150:0315/195903.508587:INFO:CONSOLE(626)] "%cTRACE color: #888 Error while resolving configuration file 'vscode-userdata:/home/test/.config/Code/User/settings.json': Unable to read file 'vscode-userdata:/home/test/.config/Code/User/settings.json' (Error: Unable to resolve non-existing file 'vscode-userdata:/home/test/.config/Code/User/settings.json')", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) [15150:0315/195903.508618:INFO:CONSOLE(626)] "%cTRACE color: #888 Error while resolving configuration file 'vscode-userdata:/home/test/.config/Code/User/tasks.json': Unable to read file 'vscode-userdata:/home/test/.config/Code/User/tasks.json' (Error: Unable to resolve non-existing file 'vscode-userdata:/home/test/.config/Code/User/tasks.json')", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (626) Error: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/share/code/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node)
at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1250:18)
at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)
at Module.load (internal/modules/cjs/loader.js:1039:32)
at Module._load (internal/modules/cjs/loader.js:932:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
at Module.require (internal/modules/cjs/loader.js:1079:19)
at v (/usr/share/code/resources/app/out/vs/loader.js:3:12287)
at bindings (/usr/share/code/resources/app/node_modules.asar/bindings/bindings.js:112:48)
at Object. (/usr/share/code/resources/app/node_modules.asar/spdlog/index.js:3:35)
at Module.u._compile (/usr/share/code/resources/app/out/vs/loader.js:3:12841)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1039:32)
at Module._load (internal/modules/cjs/loader.js:932:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
at Module.require (internal/modules/cjs/loader.js:1079:19)
at require (internal/modules/cjs/helpers.js:72:18)
at t (/usr/share/code/resources/app/out/vs/loader.js:4:101)
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13249)
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)
at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)
at Object.errorback (/usr/share/code/resources/app/out/vs/loader.js:4:10435)
at r.triggerErrorback (/usr/share/code/resources/app/out/vs/loader.js:3:10626)
at /usr/share/code/resources/app/out/vs/loader.js:3:10332
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:13266)
at r.load (/usr/share/code/resources/app/out/vs/loader.js:3:10262)
at c (/usr/share/code/resources/app/out/vs/loader.js:4:10314)
at r._loadModule (/usr/share/code/resources/app/out/vs/loader.js:4:10444)
at r._resolve (/usr/share/code/resources/app/out/vs/loader.js:5:452)
at r.defineModule (/usr/share/code/resources/app/out/vs/loader.js:4:6145)
at r._relativeRequire (/usr/share/code/resources/app/out/vs/loader.js:4:6831)
at n (/usr/share/code/resources/app/out/vs/loader.js:4:9420)
at L.E (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:4689)
at new Promise ()
at L (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:4669)
at n._createSpdLogLogger (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:5602)
at new n (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:29:5418)
at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:58:1945
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async j.startup (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:58:1760) {
phase: 'loading',
moduleId: 'spdlog',
neededBy: [ '===anonymous3===' ]
}
`

Looks like duplicate of #115784
See https://code.visualstudio.com/updates/v1_53#_electron-11-update and https://github.com/microsoft/vscode/issues/115784#issuecomment-775364356 for details.
Linked issue also contained workaround, but no guarantees that it will work for everyone.

Looks like some prereqs of speedy log are not fulfilled. @sandy081 not sure if you or @joaomoreno

https://github.com/microsoft/vscode/issues/115784


Alcide - Cloud Native Security

Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source?
[ ] If it is open source, does your project have at least 250 GitHub stars?
[x] Have you picked the single best category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Are you including an SVG?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[x] 2 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Please see: https://github.com/cncf/landscape/pull/615#issuecomment-385328950

Deploy preview for landscape ready!
Built with commit 1c400a50e4355584b362a90583da99d990ef812b
https://deploy-preview-616--landscape.netlify.com


Enable Alarmo integration and configure it wihout using the UI

Hello,
first, thank you so much for your work. The alarmo integration is simply amazing!
I would like to ask you if there are ways to enable the alarmo integration, and configure it, without using the UI, e.g. by adding entries to the configuration.yaml file.
I am assuming that the alarmo package has been installed in the custom_components/ folder. Then, I would like to configure home assistant in such a way that if it finds the custom_components/alarmo folder, it starts up alarmo with a pre-configured setting.
I reached in achieving something like that by adding an entry like the following one in the .storage/core.config_entries file:
{
"version": 1,
"minor_version": 1,
"key": "core.config_entries",
"data": {
"entries": [
{
"entry_id": "28eb233267c07b12aaa4d021e6b29dd4",
"version": "1.0.0",
"domain": "alarmo",
"title": "Alarmo",
"data": {},
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"unique_id": "7d157df4ab24",
"disabled_by": null
}
]
}
}
and by having the file .storage/alarmo.storage with the following content (I want to enable the away, home and night modes):
{
"version": 6,
"minor_version": 1,
"key": "alarmo.storage",
"data": {
"config": {
"code_arm_required": false,
"code_disarm_required": false,
"code_format": "number",
"disarm_after_trigger": false,
"master": {
"enabled": true,
"name": "master"
},
"mqtt": {
"enabled": false,
"state_topic": "alarmo/state",
"state_payload": {},
"command_topic": "alarmo/command",
"command_payload": {},
"require_code": true,
"event_topic": "alarmo/event"
}
},
"areas": [
{
"area_id": "1685025590",
"name": "Alarmo",
"modes": {
"armed_away": {
"enabled": true,
"exit_time": 60,
"entry_time": 60,
"trigger_time": 1800
},
"armed_home": {
"enabled": true,
"exit_time": 0,
"entry_time": 0,
"trigger_time": 1800
},
"armed_night": {
"enabled": true,
"exit_time": 0,
"entry_time": 0,
"trigger_time": 0
}
}
}
],
"sensors": [
],
"users": [],
"automations": [],
"sensor_groups": []
}
}
I just want to ask if there are better ways that do not require to change files in the .storage folder.
Thank you so much for your help.

+1
I try to configure HA as much as possible using CasC.
having an example of configuration using yaml files would be great.

This is not possible due to limitations of HA.
An integration is either UI or yaml managed, not both.


Make client Javascript work offline

Currently when I run the SvelteKit example using pnpm run dev-generate, if I go offline and refresh the page the counter doesn't work anymore. Is it normal ?
As the counter seems to be client-only code, is it possible to make it work offline and how ?
Do we need to cache more files ?

Thank you.

@gschurck offline cannot be tested in dev server, you must build the app and test offline via preview

@gschurck offline cannot be tested in dev server, you must build the app and test offline via preview

Oh ok thank you


feat(install): add FreeBSD initial support

PR progress checklist (to be filled in by reviewers)

[ ] Changes to documentation are appropriate (or tick if not required)
[ ] Changes to tests are appropriate (or tick if not required)
[ ] Reviews completed

What type of PR is this?

Primary type

[ ] [build]    Changes related to the build system
[ ] [chore]    Changes to the build process or auxiliary tools and libraries such as documentation generation
[ ] [ci]       Changes to the continuous integration configuration
[ ] [feat]     A new feature
[ ] [fix]      A bug fix
[ ] [perf]     A code change that improves performance
[ ] [refactor] A code change that neither fixes a bug nor adds a feature
[ ] [revert]   A change used to revert a previous commit
[ ] [style]    Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)

Secondary type

[ ] [docs]     Documentation changes
[ ] [test]     Adding missing or correcting existing tests

Does this PR introduce a BREAKING CHANGE?

No.
Related issues and/or pull requests

Describe the changes you're proposing

Add initial and quicky support to support alcali installation on FreeBSD
Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

[ ] Updated the README (e.g. Available states).
[ ] Updated pillar.example.

Testing checklist

[ ] Included in Kitchen (i.e. under state_top).
[ ] Covered by new/existing tests (e.g. InSpec, Serverspec, etc.).
[ ] Updated the relevant test pillar.

Additional context

Thanks @valentin2105


Make XOR, OR, AND functions more consistent with Excel

Description
The way the XOR, OR, and AND functions interpret their arguments is inconsistent with Excel in a few ways:

EmptyCell & Text: Excel ignores arguments evaluating to these types of values, treating them as if they didn't exist.

Error if no args: Excel returns a #VALUE! error for these functions if no arguments are provided, or if all arguments are ignored (see above).

EmptyArg: Bizarrely, Unlike EmptyCell, EmptyArg is not ignored and is treated as if it were FALSE by Excel.

ErrorPropagation: Excel propagates errors in the arguments and in cells belonging to any Range arguments.

Additionally, these functions are not consistent with each other, XOR, OR, AND vary in how they handle the cases mentioned above.
Rectify these consistency issues by re-implementing them all in terms of a single base function which is more consistent with Excel behavior.
Tests
I wasn't sure if unit tests or the .xslx based tests would be preferred, let me know what you think.
Further Work
I think there are still some differences when it comes to nested ranges, for example:
A1: =OR(B1:B10)
B1: =C1:C10

However I think this relates to differences between ranges in Excel and IronCalc in general so I haven't tackled that yet.

Hi @gian-hancock , I haven't finished my review but one thing that would be nice is to add some Excel tests workbooks. Just create files with all the examples you have in here and place that file in:

I've added Excel workbook tests, I added an additional sheet to logical.xlsx.

You don't need the r#" that is used in rust when you have a " in the string and don't want to escape it.

I removed the unnecessary raw string literalls.

I also added some test cases I hadn't thought of and fixed another edge case.

Hi @gian-hancock , thanks for your patience. I will try to get this review today.

Ah! you can just add #[allow(clippy::print_stdout)] in the test file. Otherwise LGTM!

Alright, think that's everything now!

(merged)
Thanks!


Vagrant Playbook Check Failing On Ubuntu 20.04

The vagrant playbook check is failing on Ubuntu 20.04 with the following error:
/boot/initrd.img-5.4.0-187-generic", "Error 24 : Write error : cannot write compressed block ", "E: mkinitramfs failure cpio 141 lz4 -9 -l 24", "update-initramfs: failed for /boot/initrd.img-5.4.0-187-generic with 1.", "run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1", "dpkg: error processing package linux-image-5.4.0-187-generic (--configure):", " installed linux-image-5.4.0-187-generic package post-installation script subprocess returned error exit status 1", "Errors were encountered while processing:", " initramfs-tools", " linux-image-5.4.0-187-generic"]}

As seen here:
https://ci.adoptium.net/job/VagrantPlaybookCheck/1904/OS=Ubuntu2004,label=vagrant/console

Closed via: https://github.com/adoptium/infrastructure/pull/3660


Running Junit tests results in errors

I'm trying to set up some Junit tests, however it appears that Retrolambda is breaking my testCompile. This is the error I'm getting: Is there a way to set up junit tests that utilize retrolambda? Cause as of now I cannot figure it out, even though it appears I haven't done anything wrong and this error was supposed to have been patched out?
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found```

Here's my build.gradle: https://github.com/patrykpoborca/CleanArchitecture/blob/feature/nested-unit-testing/app/build.gradle

My repo is here: https://github.com/patrykpoborca/CleanArchitecture/tree/feature/nested-unit-testing

Try with Retrolambda 3.0.1 to see if it works.

@jjvargas It seems like 3.2.2 worked for me... wow. I thought I had the newest version! Thanks, sorry for the trouble, I'll let you know if anything breaks!

Probably a dup of https://github.com/evant/gradle-retrolambda/issues/120 then.


Terminal keeps switching to Output tab to code settings sync output

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.67.0
OS Version: Mac OS Monterey 12.3.1  or from VS code about Darwin arm64 21.4.0

Steps to Reproduce:

Open VS code, open terminal
Then VS code keeps opening the output tab every 3 mins

I keep switching back to terminal and then again it opens up the output tab. It goes to the code settings sync output. I havent installed any extension or changed settings recently.

This is the settings sync extension:
https://github.com/shanalikhan/code-settings-sync/blob/eb332ba5e8180680e613e94be89119119c5638d1/src/sync.ts#L595-L597
Note that VS Code now has a setting sync feature built-in: https://code.visualstudio.com/docs/editor/settings-sync

https://github.com/shanalikhan/code-settings-sync/blob/eb332ba5e8180680e613e94be89119119c5638d1/src/sync.ts#L595-L597

Opps my bad. I though that was the built in VS code Settings Sync. As thats the one I am using. Must have been still installed from before you guys added built in Sync settings. Thanks for the help and the quick reply. I really appreciate it.


ipad UTM.HV 4.1.0 ubuntu16.04 X86_64 e1000 can't set ipv6 port forwarding

Describe the issue
ipad UTM.HV 4.1.0 ubuntu16.04 X86_64 e1000 can't set ipv6 port forwarding.
Configuration (required)

UTM Version: 4.1.0
OS Version: ipadOS15.0.2
Device Model: Standard PC(Q35+ICH9,2009)(alias of pc-q35-7.1)(q35)
Is it jailbroken (name jailbreak used)? no
How did you install UTM? trollstore

Crash log
no crash.just cannt port forwarding via ipv6.
thanks for reading.looking for ur answer.

only ipv4 port forwarding is ok.


Issue with "iwr https://deno.land/x/install/install.ps1 -useb | iex"

Hello, I ran: iwr https://deno.land/x/install/install.ps1 -useb | iex and had this problem. It seems at https://deno.land/x/install/install.ps1:39 it is trying to remove a file that does not exist. I am unsure if that problem is on my end. Is that deno.zip file supposed to be the same as ? I genuinely do not understand what is happening.
OS: Windows 10 Home x64

"The revocation function was unable to check revocation for the certificate."
Seems to me like a duplicate of #223.

Are we sure the problem is that the revocation server is down? It seems to be happening too often. It has happened to many people on Discord and even to my coworkers.
I think we should give more attention to this problem because I'm afraid that frustrated newcomers might just give up on using Deno because they can't install it.
Discussion about the security implications of --ssl-no-revoke: https://security.stackexchange.com/questions/267725/is-it-necessary-for-curl-to-check-for-crl-in-windows


Android/iOS mobile support

Add support for building on Android/iOS (in that order).
For Android we can use ndk-build with an Android.mk file. Supporting 32 bit Android may require some rethinking of how we configure default zones as there won't be as much memory available to us. 64 bit should be straight forward as it closely mirrors 64 bit Linux which has been heavily tested.
Supporting iOS builds will take more time. We don't have to worry about 32 bit builds here but using XCode is never as easy as it seems.

Added very basic Android build makefiles https://github.com/struct/isoalloc/commit/70bdd7fe1a394ff5a8cdce820aef723f45d2b80c


Add support for node selector and tolerations

Please review my proposed changes to the repo, mainly to add support for node selector and tolerations

@microsoft-github-policy-service agree [company="{NA}"]

@microsoft-github-policy-service agree

Can anyone complete merging this PR?


Change validation for existing passwords > 0

The button "Unlock" under "Unlock your Wallet:" appears only when you typed 4 or more symbols of your password. My keystore was created on an old version of Mist and my password is consist of 1 symbol so I'm unable to use your service with my keystore file. It's also quite difficult to export the private key from keystore since there're no official way to do so.

😂 Sorry about that! I will update the validation on the password field to be one character required.

Sorry for the delay - this is fixed now.