Upgrading from v1.12 - works from local dev website or unit test but will not work from Azure Cloud Server project

Trying to upgrade some legacy code from Azure.DocumentDB 1.12.0 to 1.22.0
Running on .Net Framework 4.6, Azure SDK 2,9
If I run a DocumentDB query from my unit tests, or within the web application that is the base project the query works fine without any issues....
However once I try to deploy it to an Azure Cloud Service Project either in my Dev, QA or even the Azure Emulator the call for the query returns with a "Bad Request - Value does not fall within the expected range." error.
Please note - I am connecting to the Dev CosmosDB account on my Azure account.
I've tried a variety of NuGet versions (1.15.0, 1.14.0, 1.13.4, 1.13.0) and they all have the same issue - runs outside of Azure but cannot run within the Dev, QA or emulator environment.
I've double checked the Azure Cloud Service project but don't see any settings that would be set for a specific version of Microsoft.Azure.DocumentDB or cause it to run fine locally and not within the Cloud Service Project.

If I run a DocumentDB query from my unit tests, or within the web application that is the base project the query works fine without any issues....
However once I try to deploy it to an Azure Cloud Service Project either in my Dev, QA or even the Azure Emulator the call for the query returns with a "Bad Request - Value does not fall within the expected range." error.

When you work with the Emulator and the Web Application, it works fine then?
If I understand correctly, the issue appears when running in a Web Role?

No it only works when running a console based unit test or within a web application.
Once we attempt to use the Azure Emulator or push it to our Dev or Test environment it fails with that error.  Please note we are hitting the same Dev Cosmos endpoint in all situations.
Someone had also responded indicating it might be an issue returning the queries contents  .ToList() but that doesn’t make sense that it would only fail within the Cloud Service project but work fine otherwise
Sent from my iPhone
On Jul 10, 2018, at 6:15 AM, Matias Quaranta <notifications<EMAIL_ADDRESS>wrote:
If I run a DocumentDB query from my unit tests, or within the web application that is the base project the query works fine without any issues....
However once I try to deploy it to an Azure Cloud Service Project either in my Dev, QA or even the Azure Emulator the call for the query returns with a "Bad Request - Value does not fall within the expected range." error.
When you work with the Emulator and the Web Application, it works fine then?
If I understand correctly, the issue appears when running in a Web Role?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-documentdb-dotnet/issues/540#issuecomment-403772802, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARSqgY86W7zj0Tu-zW5iX4YnukxXeAD-ks5uFH6OgaJpZM4VG7a8.

Ok, when you mean Emulator you mean the Azure Cloud Emulator, not the Azure Cosmos DB Emulator.
Can you check in your WebRole project, if you have any dependency (Nuget package) with a conflicting / different version than the Web Application / Console Unit Test project? It could be that the WebRole is overriding a dependency or using a different dependency than your Web/Console project.

Yes the Cloud Emulator for the SDK 2.9.....    We are hitting the Dev Cosmos DB normally....    Yes we have double checked that all NuGet versions are the same between the code layers.
One thing we did notice in trying to debug further is that when the Code runs in the Emulator or in Azure as the Cloud Service (where it doesn't work) - but works fine as a normal web project...   is that it tripps up when we try and deserialize the result with a .ToList() with v1.22
Method: GetMetadata()
public static async Task<List> GetMetaData(string noSqlDbName, string queryString)
{
var client = GetDocumentDbClient(noSqlDbName);
var collection = CosmosSingleton.Instance.GetDocColl(String.Empty, SearchUtility.SearchConfig.DocDbs.DatabaseName, SearchMgrEnty.Meta).UriInfo;
        var dq = client.CreateDocumentQuery<T>(collection, String.Format(queryString));

        return dq.ToList();
    }

I was able to extract this particular error during emulator runtime when we try to convert ToList().
error CS0030: Cannot convert type 'System.Linq.IQueryable' to 'Microsoft.Azure.Documents.Linq.DocumentQuery<Microsoft.Azure.Documents.Document>'
But yet if I run in outside of the Azure Cloud Service it runs fine.
Also if we attempt with v1.15 it just fails with a "Bad Request" Value Not In Range.
However when running v1.12 it runs fine in both Azure Cloud Service and as a Web Project.

@SubyBrue I'm working on a repro of this locally and will share my findings.

@SubyBrue I created a blank new Cloud Service project with DocumentDB SDK 1.22: https://github.com/ealsur/cloudservicedocdbsample
I did not have your Model (or actually the value of <T> you are using in the CreateDocumentQuery so I created one based on your query).
It is a Cloud Service with 1 WebRole containing in simple ASP.NET MVC App.
The sample connects to the Azure Cosmos DB Emulator (you don't need to use a live account), it will create a sample collection and some documents OnStart just to have something to query on.
Then on the main Controller, when loading the default View, it will run the query you suggested and return the results to the client.
Running it in the local Cloud Emulator 2.9 it works correctly and does not throw any error.
If you could share what is <T>, or what model are you passing, it might shed some light on your issue since it seems to be related to that.

@ealsur    I'll look at your blank Cloud Service project tomorrow.
We are on .Net Framework 4.6 (Not Core or Standard).    Our Cloud Service has 2 WebRoles in it  which has a webproject that exposes a WCF service.
Also we have no issue when we load the DocumentDB - just when querying it.
 is just Document....   Microsoft.Azure.Document.Documents....
  doc = AzureDocDb.GetMetaDataDoc<Document>(iStateReq.NamedName).Result;
                AssetMetaData metaData = (dynamic) doc;

Code:
public static async Task GetMetaDataDoc(string noSqlDbName)
{
var oListofMetaAssets = await GetMetaData(noSqlDbName, String.Format(SearchUtility.QueryByMetaDataId));
return oListofMetaAssets.FirstOrDefault();
}
public static async Task<List> GetMetaData(string noSqlDbName, string queryString)
{
var client = GetDocumentDbClient(noSqlDbName);
return client == null
? null
: client.CreateDocumentQuery(
CosmosSingleton.Instance.GetDocColl(String.Empty, SearchUtility.SearchConfig.DocDbs.DatabaseName,
SearchMgrEnty.Meta).UriInfo, String.Format(queryString)).ToList();
//DocumentCollection collDocDb = await GetOrCreateDocDbCollection(client, noSqlDbName, SearchUtility.SearchConfig.DocDbs.DatabaseName, SearchMgrEnty.Meta);
//return client.CreateDocumentQuery(collDocDb.SelfLink, String.Format(queryString)).ToList();
}
Model:
public class AssetMetaData
{
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
    /// <summary>
    /// Document Type - {Meta}
    /// </summary>
    [JsonProperty]
    public string DocType { get; set; }

    [JsonProperty]
    public long ArtistCount { get; set; }

    [JsonProperty]
    public long CompCount { get; set; }

    [JsonProperty]
    public long ShowCount { get; set; }

    [JsonProperty]
    public long SongCount { get; set; }

    [JsonProperty]
    public string MetaCreatedDateTime { get; set; }

    [JsonProperty]
    public string MetaUpdatedDateTime { get; set; }

    [JsonProperty]
    public string CreatedBy { get; set; }

    [JsonProperty]
    public List<RefreshInfo> ListRefreshInfo { get; set; }

I updated the sample repo with your AssetMetadata and calling the methods described and it still works.
There are some warnings regarding the use of async in methods that are not actually async, but it compiles and runs.
The webapp uses Net Full Framework, no Net Core, it's a good ol' MVC app.

Strange maybe its something with the azure Cloud Service project in our solution then?  As its only breaking when it runs there?
Sent from my iPhone
On Jul 12, 2018, at 5:43 PM, Matias Quaranta <notifications<EMAIL_ADDRESS>wrote:
I updated the sample repo with your AssetMetadata and calling the methods describedhttps://github.com/ealsur/cloudservicedocdbsample/blob/master/WebRole1/Controllers/HomeController.cs and it still works.
There are some warnings regarding the use of async in methods that are not actually async, but it compiles and runs.
The webapp uses Net Full Framework, no Net Core, it's a good ol' MVC app.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-documentdb-dotnet/issues/540#issuecomment-404660204, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARSqgb5uMXeS3BBrWVBloG-l_MGC4rDBks5uF8LxgaJpZM4VG7a8.

@SubyBrue It does sound related, since you can confirm that running it as a standalone Web runs fine.
Some setting in the ccproj file that might be affecting some dependency? Like some binding redirect? Did you try creating a new Cloud Service project and point the WebRoles to use the ones in your current Cloud Service project? To see if the same web content with a blank Cloud Service works.

@ealsur Yes I have made sure that all the versions are the same and that the binding redirects are setup properly.    Haven't tried creating a new Cloud Service project.
I didn't get a chance to look through your full solution yet (will do so later tonight EST) but two things on yours that I noticed.
A) Yours is still running Newtonsoft 6.0.8, we have upgraded to 11.0.2  and
B) We changed all package.configs to PackageReference inside the csproj of the dll library projects and web project.
Was there a reason that you didn't move to Newtonsoft 11.0.2 (or a version past 6.0.8) as one of my fellow developers found an article claiming that Microsoft.Azure.DocumentDB from version 1.15 onward didn't play nice with newer version of Newtonsoft.     Unfortunately, the same webproject we have has dependencies on newer versions of Newtonsoft.

@SubyBrue I left all default packages that came with a Cloud Service project creation, I didn't want to customize anything other than the DocumentDB SDK package.
I updated the sample repo to Newtonsoft 11.0.2 and it still works.
Did you remove the packages.json from the project files then if you migrated to PackageReference?
You mentioned you have multiple library projects, were all of them updated to the DocumentDB SDK? Can you share more details on that scenario?

The overall architecture has the Solution that has the CloudService project, two Web Projects which are for the WCF services.   There are then 2 shared underlying repository and infrastructure library projects.   The Infrastructure project has a reference to our SearchLibrary.DLL code where I've pulled the samples I'd displayed above, and where the code is dying when running within the Azure Cloud Service.
When we updated the Search Library project, and the underlying repository and infrastructure library's we used the build in (to VS 15.7.4) Migration tool to convert the Package.Config to PackageReference.
For the two web projects that we converted to PackageReference the built in converter wasn't available so we used NuGet PackageReference Upgrader v1.0.1.vsix  to convert it....
I'll look at your project again tonight and see if I notice any variations between the two as per the settings on the projects or the Cloud Service.

Trying to open your GIT solution and run it and it keeps complaining about Microsoft.Net.Compilers.props and Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props in the csproj file.... I tried to reset them to ones on my machine and when I do that 1/2 of the references disappear

That's odd, I created it with File > New Project in Visual Studio 2015:

Ah I'm using VS2017... after clearing and reinstalling a few of the references I was able to get it to compile but still can't get it running.    Currently its throwing the following error - just need some time to work through it "No connection could be made because the target machine actively refused it"

The sample is connecting to the Cosmos DB Emulator, change the credentials in Startup.cs and HomeController.cs if you want it to run on another account.

From: SubyBrue<EMAIL_ADDRESS>Sent: Saturday, July 14, 2018 8:02:30 PM
To: Azure/azure-documentdb-dotnet
Cc: Matias Quaranta; Mention
Subject: Re: [Azure/azure-documentdb-dotnet] Upgrading from v1.12 - works from local dev website or unit test but will not work from Azure Cloud Server project (#540)
Ah I'm using VS2017... after clearing and reinstalling a few of the references I was able to get it to compile but still can't get it running. Currently its throwing the following error - just need some time to work through it "No connection could be made because the target machine actively refused it"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-documentdb-dotnet/issues/540#issuecomment-405055267, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABjseVy8co5EjT5teLW6GRx-BoiDP4CFks5uGniGgaJpZM4VG7a8.

@SubyBrue Did you try creating a Cloud Service project from scratch and pointing to the 2 existing WebRole projects?

Haven't had a chance - hoping to return looking at this in a few days.

@SubyBrue did you finally found the issue? Can this be closed?

Yes - very strange after going through and attempting all the fixes you suggested after we upgraded to VS 2017 15.7.5 it started working for us.    Your code repository always worked (with our Cosmo credentials).   I'm wondering if there was some inconsistency with the way the PackageReference upgrade we did was wonky and solved itself with the 15.7.5 release.... As we had another developer on an earlier release 15.7.2 attempt the same code and hit the failures we did.
Thanks Again ealsur....

Fantastic, glad it worked 😄


K8SPG-458: Add default affinity settings

CHANGE DESCRIPTION
Problem:
There's no affinity configuration by default.
Solution:
Configure affinity settings in default cr.yaml.
CHECKLIST
Jira

[x] Is the Jira ticket created and referenced properly?
[x] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[x] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[x] Is an E2E test/test case added for the new feature/change?
[x] Are unit tests added where appropriate?

Config/Logging/Testability

[x] Are all needed new/changed options added to default YAML files?
[x] Are the manifests (crd/bundle) regenerated if needed?
[x] Did we add proper logging messages for operator actions?
[x] Did we ensure compatibility with the previous version or cluster upgrade process?
[x] Does the change support oldest and newest supported PG version?
[x] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

demand-backup
passed

init-deploy
passed

monitoring
passed

operator-self-healing
passed

scaling
passed

scheduled-backup
passed

self-healing
passed

start-from-backup
passed

telemetry-transfer
passed

users
passed

We run 10 out of 10

commit: https://github.com/percona/percona-postgresql-operator/pull/572/commits/ff1f9f674947408a38a6ff2fd931b581cf0b3915
image: perconalab/percona-postgresql-operator:PR-572-ff1f9f674


[Question][Jenkins] Most Jenkins Projects Not Selectable

Question
I'm running version v1.0.0-beta5@e6ea5f6. Can you advise as to why almost all my Jenkins projects in the "Add Data Scope" section are not selectable.  I have tried with different Jenkins users (highest permission levels) and cannot determine why this is occurring.  I am running a self hosted Jenkins instance (version 2.363)
Thank you!
Screenshots

Maybe caused by https://github.com/apache/incubator-devlake/pull/7213/files#diff-ef2d9899f5788356b03b7c5c1320ad5bb7e78aa63047d202cde86ed1360bd7abR79
What is the job type?
@gustavobini What do you think?

@klesh that could be the reason.
@tc-jason-gregory do you know the type of those jobs you're unable to select? Adding /api/json to the end of the URL should tell you that, if you look at the _class property.

@gustavobini
here is what I show for one that is not selectable…
{"_class":"hudson.model.FreeStyleProject","name":"PROD - Release Analytics_UI",
… then for one that is selectable…
{"_class":"org.jenkinsci.plugins.workflow.job.WorkflowJob","name":"TC_terraform",

@klesh @gustavobini Is there an updated docker image that includes this change I should work with?

@tc-jason-gregory this is the image generated by the commit https://hub.docker.com/layers/apache/devlake/main_240430_0413_cb146f8/images/sha256-312317a5b98734d030dd6b667d9342f5a05105e8fd0e464df474a837f5cc7e2b?context=explore. There's no beta yet with the commit included

@gustavobini @tc-jason-gregory It takes effect in version v1.0.0-beta7.


using Pkg.Artifacts or Scratch?

TODO: using Pkg.Artifacts or Scratch?

https://github.com/qwjyh/UCDxml.jl/blob/efd7c2433ef6813cd5b4d6a3b103bbe2a61b825f/deps/build.jl#L10

The benefits of using Scratch.jl.

no need to mess up other directories
files in the scratch space will be cleaned up when the package is removed
remove unnecessary downloading while building

Using Artifacts with generated ucd_coded.jl might be a good idea since it reduces build time.
Yet I need to think about how to handle small test cases for local testing.


Color updates

Adds a number of color-related tweaks and updates:

Upgrades @buildit/gravity-particles to newer v0.3 release and itegrates the updates color schemes it provides
Removes some (now no longer needed) color overrides to nav links
Adds support for OS's "dark mode" setting in the page's default color scheme and the new grav-u-color-scheme-contrast color scheme utility. (Other color schemes continue to just apply the same colors regardless of the user's "dark mode" settings)
Updates the styling of <mark> elements, which were not integrated with the color system and could therefore become unreadable when certain schemes were applied.
Applies the "contrast" color scheme to page footers in the pattern library to demo it

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[FLINK-2788] [apis] Add TypeHint class to allow type-safe generic type parsing

This adds the TypeHint as a type-safe way to create TypeInformation for generic types. I think it should gradually replace the TypeInfoParser.
Generic type infos can be created via
TypeInformation<Tuple2<String, Double>> info = TypeInformation.of(new TypeHint<Tuple2<String, Double>>() {});

This creates an inline class that captures the generic parameters, and fetches them via the TypeExtractor.
This pull request is in preparation for improving the streaming example.

Looks good beside a small comment. Do we also want to update the returns methods in SingleInputUdfOperator and TwoInputUdfOperator?

Good catch, I'll update the annotations.
I would like to add a returns(TypeHint) method and deprecate the String variant in a separate issue.

I think we might abuse the of() name a bit to much. Maybe from() or for() would be more appropriate here. So it would be TypeInformation.for(new TypeHint...)

But otherwise, big +1 for this change. :smile:

I am pretty much emotionless when it comes to ofvs from. I think fordoes not work, it is a reserved keyword in both Java and Scala...


Import nc_time_axis when needed

[x] Closes #7275
[x] Tests added
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst
[x] ~New functions/methods are listed in api.rst~

Looks good - thanks! Should auto-merge on green.

Close/ reopen


Since 1.4.8+ keyboard input no longer stops the screensaver

[x] Mac model: mac mini 2018
[x] macOS version: 10.14.4
[x] Monitor setup: 2 external 23" displays

Description of issue
Since ver 1.4.8 or so (maybe 1.4.9?) when I tap the keyboard to end the screensaver and get to the lockscreen, the mac just plays a beep/alert sound, but the video keeps playing. Only moving the mouse causes the video to stop playing.
I'm now on 1.4.10beta2 but the issue remains. I've been using Aerial for years, since 1.1 and never had this issue before.
Can't really think of anything that would cause this, but browsing through recent commits, https://github.com/JohnCoates/Aerial/commit/7786dc683bd3f2a5a7827a3c8e46400781ad2251 seems like the only thing even close to being related.
I've just enabled debug logging, so next time this happens I'll be sure to post a log.

Hi @luckman212
Does no key work, not even the space bar ? Can you try unchecking the "Right arrow skips video" option in main panel to see if it helps ? Thanks

Correct - when this bug occurs, no keys work. I have unchecked the "Allow Right arrow key to skip" box for now and will report back if that makes any difference.

Ok, so this just happened again, even with the Allow skip option enabled. I'm attaching the debug log here. I noticed this time that the "CTRL" key (that's how I usually wake up the display) has no effect, and does not cause the error/beep sound to play. However other standard keys such as spacebar, any letter keys, arrow keys etc do cause a beep sound. Moving the mouse also had no effect - the only way to stop the video playback and get back to the lockscreen was to CLICK the mouse.
AerialLog.txt

Ok thanks for the report, I'll have a look and let you know. Can you tell me which keyboard you have on your mac mini ? Are you by any chance using multiple keyboards (even if not at the same time ?) ?

Currently I'm using a Logitech G413 keyboard. I don't have multiple keyboards but I do have Karabiner-Elements installed, to disable the CapsLock key.

So according to your log, Aerial doesn't receive the keydown events (there should be a "keyDown" somewhere), which is consistant with you hearing beeps when pressing non modifier keys (just like typing when you don't have focus). Karabiner-Elements probably intercepts events and that throws the logic.
I may have missed an event forwarding, trying some stuff and will get back to you.

Thank you - anything else I can do to help debug just let me know

Well, I just put up beta3 if you can give it a shot, there's a tentative fix for both your issues, although I'm very unsure about this one to be honest ! Let me know how it goes and we'll try to figure out what's next.

Great, happy to test - I will give this a go and report back

Just reporting in. Been running beta3 for a few days now and it hasn't fixed this for me (sadly). I also removed Karabiner-Elements temporarily for testing (did not help). I don't know what else to do to debug. Sometimes the keyboard works to bring up the login prompt and sometimes it doesn't. Mouse clicks always work!
I think this is related to the /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow process having focus and thus eating keypresses. The reason I suspect this is: I've noticed that sometimes when the screen unlocks, the frontmost app does not have focus even though it appears from the menu bar that it should.
E.g. when I walk away, the frontmost app was Sublime Text and I was in the middle of editing a file. When I come back and unlock, even though Sublime is still the frontmost app, all keypresses result in a beep sound until I click the mouse in the Sublime window—this mimics the original bug I am seeing from within Aerial / ScreenSaverEngine sometimes. I can tell that this is happening because Karabiner includes a helpful app called EventViewer that displays the frontmost app in a floating window (see screenshot below).

In case it's at all helpful, I'm attaching a fresh log here.
AerialLog.txt

I was going to suggest maybe disabling Karabiner-elements, as I strongly suspected it could be linked to your issue. You mentioned disabling it, though.
There may be something else specific to your setup that's causing this (I can't reproduce and nobody else complained about it yet so there's probably something pretty specific). The fact that you also have the issue with Sublime not getting focus back certainly isn't right either. Here I systematically get focus back on the previous window when coming out of screensaver. Are you using some third party login addon maybe ? Do you have some sort of extra "keyboard driver" installed ? I'll try to grab that EventViewer to give it a shot here and see what I get.
In general, we don't control much as a screensaver, we are just a plugin for ScreenSaverEngine and don't control our lifecycle. Our view gets initialized by ScreenSaverEngine, and ScreenSaverEngine kills us when he wants to.
I do see many keyDown events that we intercept now (since 1.4.8) in your log, can you confirm that you kept enabled the right arrow key thing ? Our interception seems to work since the right arrow thing works for you, but it looks like when we forward the key event now (after intercepting), on your machine it goes to loginwindow and not ScreenSaverEngine.
By not intercepting in previous versions, it looks like you didn't have the issue. A quick fix would have been to conditionally override the keyDown event but that's not possible.
I'll keep investigating this, and try to see what EventViewer says here and report back to you.  It also overrides the right arrow key (I haven't looked at their source code though to see how they do it) so maybe you'll get to see if you have the same issue or not ? Could be a good data point.
https://electricsheep.org/mac/

Sure I will give ElectricSheep a try and see if the results are the same, and if they are I will work backwards on any 3rd party things that might be conflicting. I did remove Karabiner but then re-installed it after I continued having the issue. So I will try some more thorough testing.

Ok, I believe I've uncovered more info!

I tried ElectricSheep as well as some other screensavers and observed that they triggered this bug too. So, good news - it does NOT seem to be an Aerial bug at all 🎉
I completely uninstalled Karabiner-Elements, rebooted, double checked that the kext was not present via kextstat | grep -v com.apple, and then re-tested. The problem was still present - so does not seem to be related to KbE either
I do think I've traced the source of this problem to the "screen lock" feature in System Preferences > Security & Privacy. I had mine enabled/set like this (which is not the default):

As a test, I created a brand new user account, downloaded Aerial 1.4.10b3 and tested on that (no modifications whatsoever) and was UNABLE to reproduce the issue
I then enabled the auto-lock feature (no other changes made) and re-tested. I was then able to reproduce the bug. So it seems very likely to be related
When the screensaver exits and the auto-lock feature is enabled (at least on my system) - the active aka focused app will be NULL (it actually wasn't loginwindow as I previously thought—it's just that KbE's EventViewer app doesn't seem to report NULL values, whereas the Python script below does).

Please verify yourself if you have time, by saving this script and running it from a Terminal:
https://gist.github.com/luckman212/91cdd9a08e98a9f01214bdfde3057e85
Then enable the screen lock preference and activate your screensaver. See if when you exit, you have output similar to the below (and any keypresses result in beep sounds...)

Hi @luckman212

Ok, I believe I've uncovered more info!

I tried ElectricSheep as well as some other screensavers and observed that they triggered this bug too. So, good news - it does NOT seem to be an Aerial bug at all 🎉

Good news in a sense indeed, although I hope we can fix your issue.

I completely uninstalled Karabiner-Elements, rebooted, double checked that the kext was not present via kextstat | grep -v com.apple, and then re-tested. The problem was still present - so does not seem to be related to KbE either

Ok good to clear that one up too!

I do think I've traced the source of this problem to the "screen lock" feature in System Preferences > Security & Privacy. I had mine enabled/set like this (which is not the default):

As a test, I created a brand new user account, downloaded Aerial 1.4.10b3 and tested on that (no modifications whatsoever) and was UNABLE to reproduce the issue
I then enabled the auto-lock feature (no other changes made) and re-tested. I was then able to reproduce the bug. So it seems very likely to be related
When the screensaver exits and the auto-lock feature is enabled (at least on my system) - the active aka focused app will be NULL (it actually wasn't loginwindow as I previously thought—it's just that KbE's EventViewer app doesn't seem to report NULL values, whereas the Python script below does).

Please verify yourself if you have time, by saving this script and running it from a Terminal:
https://gist.github.com/luckman212/91cdd9a08e98a9f01214bdfde3057e85
Then enable the screen lock preference and activate your screensaver. See if when you exit, you have output similar to the below (and any keypresses result in beep sounds...)

First, thanks for digging into this so deeply, hopefully we can get to the bottom of this.
Soooooo...
FYI I had it at 5 minutes here (probably default ?) AND I have Apple Watch unlock enabled. So, first with my original setup:

No loginwindow.app (makes sense, below 5 mins), no no active app either.
With insta-lock AND Apple Watch unlock:

As you can see I also have the no active app thing. And I can confirm that on exiting screensaver, iTerm2 (or any other app) didn't have focus. I switched to another app to be sure in subsequent test and every time, no focus. That's not particularly good and look like a (new?) system bug indeed.
Yet, every single time, as I used space key, the login screen instantly popped and I was relogged (with no keyboard focus, but still relogged). I also did try disabling Apple Watch unlock but same result on 5 tries.
As a side note, I do use Mojave's latest beta 10.14.5 (18F131a) which may (or may not) make a difference. But with that said, I tried on my painfully old 2011 Macbook Air under High Sierra and...

iTerm (or whatever) keeps focus, tried a few times, after loginwindow I always get focus back. So the no active app looks like a new Mojave bug, which is definitely worth a radar !
There's a tiny chance that this mayyyyy be a 10.14.4 bug that happens to be fixed in 10.14.5 beta, that could explain why I can't replicate but if so, I'm pretty sure someone else would have complained ? Or maybe it only happens with insta lock which noone else uses ? People make issues about way less usually and that's a pretty major one.
This doesn't clear it all up sadly, sorry. Side question, do you have any logitech software installed by the way ?

Thanks for the detailed reply and for taking more time out to test on this! (No I don't have any Logitech software installed).
Glad you were able to reproduce my results, at least the NIL app focus on screensaver exit. I'll file a rdar for that and reference back here.
I'm going to try installing 10.14.5 beta just to see if by chance the original issue is just a 10.14.4 bug.

I installed 10.14.5beta5 (18F131a) and re-ran my tests. Interestingly, the VERY FIRST time I invoked Aerial (via hot-corner), upon trying to wake up the screen, I hit the original bug again 😞 (keypresses were just resulting in a "beep" but not causing the login prompt to appear).
So, I clicked the mouse and unlocked the screen. Then, I triggered the screensaver a second time, and this time the keypresses worked fine. I repeated a few more times, and it also worked. So I guess it's back to being inconsistent, or somewhat improved. I'll keep investigating.
Sadly, the "no active app" bug still seems present to me. It is always triggered when the screen is woken up AFTER the "require password after" timer has elapsed.
E.g. if you have it set to 1 minute, and then you trigger the screensaver and wait only 15 seconds, and then wake up the screen, your app will regain focus correctly.
However, if you instead wait e.g. 65 seconds, when you wake up the screen (after unlocking it) you will have the NIL focused app.

@luckman212 hmm, well at least it's a tiny bit better now, it looks like this is really some new Mojave bug then. Hopefully the frequency will be pretty low now. I never managed in maybe 30 tries here. Maybe it now only happens once upon reboot (hoping).
Definitely file a radar for both issues I think !

For now I filed bug 50661344 for the issue that leaves NULL focusedapp after resume (since that's the one I can reliably reproduce).
I'll keep testing on the other one to try to get better repro steps.

Just FYI- I am now running 1.4.99beta1

Great, let me know if you have any issues with the new multi monitor stuff! Some pretty radical changes I've been working on all week ;)

So far no issues! 🙌
The new multi monitor modes are very cool, I really like the "spanned" mode - great effect.

Thanks ! Took me a while to figure out how to properly detect the screens but got it in the end :)

Here is the problem I was having with the keyboard not switching scenes (with the arrow key) and my screensaver not stopping with any keystrokes, and the solution that fixed both:
https://apple.stackexchange.com/questions/332448/how-to-stop-screensaver-with-a-keyboard-button-press-rather-than-a-mouse-button

Note: Ok upon even further experimentation, I discovered that the arrow and the keyboard screensaver-off both work also if I have the "Displays have separate spaces" turned on or off and the "When switching to an application, switch to a space with open windows for the application" enabled as well.
So, either of these settings will allow it to work correctly under MacOS Mojave:

@gregarios many many thanks for following up on this ! This is super useful feedback !

Just wanted to post an update since I've been banging away at this for a while. Some things I've learned:

This is not an Aerial bug. It affects all screensavers, including the ones shipped with macOS.
The bug lies in macOS, and seems to have started with High Sierra (10.13).
Does not affect all systems, and even on the systems that are affected, it does not occur 100% of the time ScreenSaverEngine is invoked, making it very difficult to troubleshoot.
The bug does not seem to be in /System/Library/CoreServices/ScreenSaverEngine.app itself: I extracted a copy of this app from 10.12 and code-signed it so it would run on 10.14, and tried to invoke it manually—the same bug manifested itself (keypresses are eaten, do not stop the saver).
In this thread on AskDifferent, one user reported that changing these Mission Control settings was a workaround. However, I tested all of the combinations that were supposed to work, and in my case, they did NOT fix the issue. So I reverted back to my preferred settings (Displays have separate spaces: unchecked).

In light of the above, feel free to close this and I'll post back with any updates I receive from Apple via the BugReporter, or if any future macOS releases fix the bug.

hey @luckman212
Thanks a lot for the followup, gregarios posted two combinations that work for him above just in case you want to give this a shot.
I'll be closing this then, pretty sad that it's a macos bug, bit disheartening to see so many little things starting to fail over time :(


Extended Data Augmentation -> Text

Added a structure into token level, sentence part level and sentence level augmentation
Added some more references
Replaced arxiv with ACL-Anthology links

Thanks for the contribution!!


Adds Storage Veneer samples and CLI

NOTE: These samples will need to be updated for https://github.com/GoogleCloudPlatform/google-cloud-php/pull/169 once a new tag is available.

Personally I don't like the date driven development because it sacrifices quality.
LGTM if you want to meet the deadline with following TODOs:

More appropriate test
README that actually instruct how to run the cli
nit, but generate -> generate-key


Pt 153897559 add transaction TTL

https://github.com/aeternity/protocol/pull/107

Will need rebase.

Rebased

Was in scope of https://www.pivotaltracker.com/story/show/153897559


S3 Backup details for Rook/Ceph

Hi, I am trying to work out what I need to put into my "example-backup-secret.yaml" file for our local self hosted Rook / Ceph object store.... I think I have the correct details to hand I am just not sure how to refer to them in the yaml file ?
The Rook / Ceph Object manual pages = https://rook.io/docs/rook/v1.0/ceph-object.html
I have details similar to these...
export AWS_HOST=rook-ceph-rgw-my-store.rook-ceph
export AWS_ENDPOINT=<IP_ADDRESS>:80
export AWS_ACCESS_KEY_ID=XEZDB3UJ6X7HVBE7X7MA
export AWS_SECRET_ACCESS_KEY=7yGIZON7EhFORz0I40BFniML36D2rl8CQQ5kXU6l
Any help would be appreciated.

Hi @Keithsc, To publish backups we use Rclone, and it works with Ceph. From more details, you can check the official Rclone documentation.
The Rclone configuration is set by this script. So for your given credentials the backup secret should look something like this:
apiVersion: v1
kind: Secret
metadata:
  name: backup-secret
type: Opaque
data:
    AWS_ACCESS_KEY_ID: XEZDB3UJ6X7HVBE7X7MA
    AWS_SECRET_ACCESS_KEY: 7yGIZON7EhFORz0I40BFniML36D2rl8CQQ5kXU6l
    S3_PROVIDER: Ceph
    S3_ENDPOINT: rook-ceph-rgw-my-store.rook-ceph  # or <IP_ADDRESS>:80

Please let me know if it works for you!

Hi @AMecea. Thanks the yaml example, I've got my "backup-secret" installed now :+1:
Can I ask one more thing... I am not sure what I should set "backupURL: gs://pl-test-mysql-operator/" to for my selfhosted rook/ceph install. Could you help ?
Thanks.

In your case the backupURL should look something like this: s3://<bucket-name>/

So I think I am almost there.... I am getting the following errors now, if anyone could help that would be great....
Create rclone.conf file.
Create google-credentials.json file.
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MY_CLUSTER_NAME"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MY_NAMESPACE"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MY_SERVICE_NAME"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "INIT_BUCKET_URI"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "ORCHESTRATOR_URI"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_REPLICATION_USER"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_REPLICATION_PASSWORD"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_METRICS_EXPORTER_USER"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_METRICS_EXPORTER_PASSWORD"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_ORC_TOPOLOGY_USER"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_ORC_TOPOLOGY_PASSWORD"}
2019-06-28T10:47:05.721Z	INFO	sidecar	take a backup	{"host": "BLAH-shared-mysql-0.BLAH-shared-mysql-nodes.db-mysql-presslabs-BLAH", "bucket": "s3://mysql-bucket/my-cluster-backup-2019-06-28T10:45:39.xbackup.gz"}
2019-06-28T10:47:05.721Z	INFO	sidecar	initialize a backup	{"host": "BLAH-shared-mysql-0.BLAH-shared-mysql-nodes.db-mysql-presslabs-BLAH", "endpoint": "/xbackup"}
2019/06/28 10:47:10 Failed to create file system for "s3:mysql-bucket/": secret_access_key not found
2019-06-28T10:47:10.578Z	ERROR	sidecar	take backup command failed	{"error": "exit status 1"}
github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error
/go/src/github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr/zapr.go:128
main.main.func6
/go/src/github.com/presslabs/mysql-operator/cmd/mysql-operator-sidecar/main.go:113
github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra.(*Command).execute
/go/src/github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra/command.go:766
github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra.(*Command).ExecuteC
/go/src/github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra/command.go:852
github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra.(*Command).Execute
/go/src/github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra/command.go:800
main.main
/go/src/github.com/presslabs/mysql-operator/cmd/mysql-operator-sidecar/main.go:121
runtime.main
/usr/local/go/src/runtime/proc.go:201

Hi, Thanks for the help @AMecea, not sure if you can help me again but I think I almost have object backups working. I am getting the following error now and I have included my yaml config files below. Any help with this is really appreciated.
Create rclone.conf file.
Create google-credentials.json file.
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MY_CLUSTER_NAME"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MY_NAMESPACE"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MY_SERVICE_NAME"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "INIT_BUCKET_URI"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "ORCHESTRATOR_URI"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_REPLICATION_USER"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_REPLICATION_PASSWORD"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_METRICS_EXPORTER_USER"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_METRICS_EXPORTER_PASSWORD"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_ORC_TOPOLOGY_USER"}
2019-06-28T10:47:05.720Z	INFO	sidecar	environment is not set	{"key": "MYSQL_ORC_TOPOLOGY_PASSWORD"}
2019-06-28T10:47:05.721Z	INFO	sidecar	take a backup	{"host": "BLAH-shared-mysql-0.BLAH-shared-mysql-nodes.db-mysql-presslabs-BLAH", "bucket": "s3://mysql-bucket/my-cluster-backup-2019-06-28T10:45:39.xbackup.gz"}
2019-06-28T10:47:05.721Z	INFO	sidecar	initialize a backup	{"host": "BLAH-shared-mysql-0.BLAH-shared-mysql-nodes.db-mysql-presslabs-BLAH", "endpoint": "/xbackup"}
2019/06/28 10:47:10 Failed to create file system for "s3:mysql-bucket/": secret_access_key not found
2019-06-28T10:47:10.578Z	ERROR	sidecar	take backup command failed	{"error": "exit status 1"}
github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error
/go/src/github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr/zapr.go:128
main.main.func6
/go/src/github.com/presslabs/mysql-operator/cmd/mysql-operator-sidecar/main.go:113
github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra.(*Command).execute
/go/src/github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra/command.go:766
github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra.(*Command).ExecuteC
/go/src/github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra/command.go:852
github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra.(*Command).Execute
/go/src/github.com/presslabs/mysql-operator/vendor/github.com/spf13/cobra/command.go:800
main.main
/go/src/github.com/presslabs/mysql-operator/cmd/mysql-operator-sidecar/main.go:121
runtime.main
/usr/local/go/src/runtime/proc.go:201
cluster.yaml
apiVersion: mysql.presslabs.org/v1alpha1
kind: MysqlCluster
metadata:
name: blah-shared
spec:
replicas: 2
secretName: my-secret
backupSecretName: backup-secret
backupURL: s3://mysql-bucket/
cluster-secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: my-secret
type: Opaque
data:
ROOT_PASSWORD: ber...
request-backup.yaml
apiVersion: mysql.presslabs.org/v1alpha1
kind: MysqlBackup
metadata:
name: my-cluster-backup
spec:
clusterName: blah-shared
s3-bkup.yaml
apiVersion: v1
kind: Secret
metadata:
name: backup-secret
type: Opaque
data:
AWS_ACCESS_KEY_ID: QUEwRE...
AWS_SECRET_ACCESS_KEY: cmhHQU...
S3_PROVIDER: Q2Vw... = Ceph
S3_ENDPOINT: cm9v... = rook-ceph-rgw-my-store.rook-ceph

It's my fault. The documentation points to the latest version v0.3.0-rc.3 which is still a pre-release. and we change the format of the backup secret. We renamed AWS_SECRET_KEY to AWS_SECRET_ACCESS_KEY.
And I think you are using version v0.2.10. If this is the case just change the AWS_SECRET_ACCESS_KEY to AWS_SECRET_KEY, for example:
apiVersion: v1
kind: Secret
metadata:
  name: backup-secret
type: Opaque
data:
  AWS_ACCESS_KEY_ID: QUEwRE...
  AWS_SECRET_KEY: cmhHQU...
  S3_PROVIDER: Q2Vw... = Ceph
  S3_ENDPOINT: cm9v... = rook-ceph-rgw-my-store.rook-ceph

This should fix your issue. I'm sorry for this misunderstanding.

@AMecea I have backup !!! Thanks for your help / patience.I am able to list my backup but am unable to "describe" it. I have two namespaces, one where I put the operator and another for the database.
k get mysqlbackup -n db-mysql-x-database
NAME                AGE
my-cluster-backup   85s
but am unable to describe it... I haven't tried restoring yet..
kubectl describe backup my-cluster-backup -n database    ( I tried the operator ns also)
error: the server doesn't have a resource type "backup"
Do you know what might be going on ? Also would you mind if I append to this issue just until I get a backup / restore working ?
Keith.

you have to use the full name to kubectl mysqlbackup not just backup.
kubectl describe mysqlbackup my-cluster-backup -n database

No problem! Hope this helps!

Thank you, that worked perfectly...
I was hoping to be able to backup individual databases using the operator but looking through the docs it doesn't seem like that is possible ?   Should I just use a mysql / mysql-dump command to import / export individual databases ?

No, it's not possible to back-up individual databases, yet. You can fill an issue and we can discuss this feature further.

I might open a issue later about individual db backups but I want to try the presslabs wordpress operator next as I have 150ish wordpress sites I want to try and migrate to Kubernetes.
Thanks for all your help & patience. :+1:

Thank you for sharing your plans! If you have not looked yet at https://www.presslabs.com/stack/, my colleagues can run a quick demo on how to get up and running and maybe save your time.

The stack looks really impressive, I have requested a demo although our K8S cluster is currently on bare metal it would be interesting to see how the Stacks various parts fit together.


Template

Value Proposition
As a < type of user >, I want < some goal > so that < some reason >.
Discription
// Insert Wire Frame
Acception Criteria

[ ] Actual functionality of feature
[ ] listed here
[ ] and another one

Tasks

[ ] tasks to achieve the functionalities
[ ] step by step
[ ] to be executed by developer


APNS documentation errors re: Zendesk 79973

Kevin, Stefanos, and I read the following support ticket and identified where documentation led to user problems:
https://mendixsupport.zendesk.com/agent/tickets/79973
This PR solves the documentation problems which arose from Zendesk Ticket 79973. The customer was already helped by expert services, and the Zendesk ticket is closed. I will notify expert services of this doc change, particularly Sjors Hak.

@ConnorLand nice PR

@ConnorLand nice PR

Thank you.


Update prototypes for DAC retest

Changes made:

Page 13 - new window icon - Updated to latest to DS to resolve DS issue - prototype accordion landing page

Page 16 - non unique ID - Updated to latest to DS to resolve DS issue - external link ID

Page 18 - non unique ID - Updated to latest to DS to resolve DS issue - Org logo ID

Page 19 - non unique ID - Updated to latest to DS to resolve DS issue - Multi level nav - this now points to the component in the DS

Page 21 - non unique ID - Need to update the journey steps to use the DS website to test the side navigation which the proto now points to

Page 22 - non unique ID - Fixed in prototype - select element has same ID as radio input

Page 24 - non unique ID - Updated to latest to DS to resolve DS issue - checkbox ID duplicate

Page 25 - Parsing - Updated to latest to DS to resolve DS issue - accordion markup

Page 27 - Expandable content  - Updated to latest to DS to resolve DS issue -  website search autosuggest

Page 27 - Hidden content  - Issue with proto which won't be used - website search

Page 32 - Hidden content  - Issue with proto which won't be used - navigation

Page 34 - Incorrect Use Of ARIA - Updated to latest DS to resolve issue - Need to update the journey steps to use the DS website to test the cards (on DS homepage) which the proto now points to

Page 37 - Broken skip links - Updated to latest to DS to resolve DS issue -  skip link

Page  39 - Focus order - Updated to latest to DS to resolve DS issue - simple accordion checkboxes

Page 41 - Grouped Form Controls - Updated to latest to DS to resolve DS issue - inputs with suffix

Page 43 - No accessible name - Updated to latest to DS to resolve DS issue - icon only search button

Page 45 - Keyboard Access - Updated to latest to DS to resolve DS issue - simple accordion checkboxes

Page 47 - Keyboard Access - Updated to latest to DS to resolve DS issue - search native x clear button

Page 48 - Illogical Headings - Fixed in prototype - simple accordion heading tag

Page 50 - Instructions - Updated to latest to DS to resolve DS issue - html5 format error tooltip

Page 52 - Dialog - Updated to latest to DS to resolve DS issue - download resources mobile filter overlay

Page 54 - Duplicate page titles - Updated to latest to DS to resolve DS issue - page titles

Page 56 - Inaccurate name - Updated to latest to DS to resolve DS issue -  autosuggest aria label on list option

Page 58 - Status - Updated to latest to DS to resolve DS issue -  download resources results change

Page 60 - Non-Descriptive Names - Updated to latest to DS to resolve DS issue -  side nav

All other issues relating to low vision user problems, reflow and usability have been included from the latest DS release.


Add a favicon to the website

Currently, there is no any favicon added to the website.
I opened this issue under hactoberfest 2022.

You can start working on this issue @Laxmankohar

okk


Update README.md

Added dependencies

Thanks for you contribution!
I see that #19 is already merged and - albeit implicitly - now mentions this in the README.md. So I will close this PR.


Create a formatted SDK error response

Input is the error and a custom message:
    return {
      statusCode: formattedError.httpStatusCode,
      body: JSON.stringify({
        message: "An error ocurred getting your user info",
        ...formattedError,
      }),
    };

can be reduced to:
return createSDKErrorResponse({
  error,
  message: "An error ocurred getting your user info"
});

Done


Haskell highlighting: class definition with no "where"

When a class definition doesn't have a "where" body (which is legal Haskell) the hightlighter gets stuck and doesn't highlight the rest of the code correctly. Examples:
-- Highlighted as comment
class X y
-- Not highlighted correctly

https://github.com/Fedjmike/ngen/blob/07296373ff6dc9a7933652f6fa1bc373f0c3d06f/language.hs#L12

This is an issue with the language-grammar Linguist uses to provide syntax highlighting. You're better off submitting a bug report there. =)


LineChart - New option to add labels to the end of lines

We should have a chart option to add labels to the end of lines like we have in the ImportSummary dashboard:

The text for each label should defined as follows:

If using the "Group By" option, use the value of the selected field
If not using "Group By", add a new form input in each data series groupbox called "Label". The input should be a simple text field

Here's an example of how to add a label/tag to the end of the line:
https://github.com/CentrifugeTech/BlueWave/blob/master/web/app/dashboards/ImportSummary.js#L626


Invalid object in PredicateClasses.json

PredicateClasses.json contains 5 invalid objects like
  {
    "PredicateClassID": 13,
    "PredicateClassLabel": "<default>",
    "IndividualPredicates": [],
    "PredicateClassDescription": "used to cover all predicate classes not listed separately DO NOT USE ANY MORE - use pred cl. 1, 2, and 3 instead"
  },

lacking LID, Glottocode, etc.

There was an issue with JSON serialisation — the serialised dropped all variables with missing values. They are now exported as null in bf28c24ccc8e7d6caf24ad4931828101f2761109
The data itself is "correct", these are cross-language default predicate classes and they are not tied to specific language IDs. They should be probably removed from the database anyway though, as these entries are obsolete.


Add Dhanbad Public School To JetBrains Schools List

Changed details

@Ujjawal-Kumar-Chouhan Please provide us with:

the school official website URL
the school full name
the school street address, including the city and the country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

Thank you!

@Ujjawal-Kumar-Chouhan You might miss my previous comment. Please react.

Where to provide all this details the file was autogenerated
On Thu, 8 Apr 2021, 12:27 pm Philip Torchinsky, @.***>
wrote:

@Ujjawal-Kumar-Chouhan https://github.com/Ujjawal-Kumar-Chouhan You
might miss my previous comment. Please react.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/11180#issuecomment-815502487, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALNEIDKHOGGM5YXDAQBAS7DTHVHT7ANCNFSM42F76M5A
.

@Ujjawal-Kumar-Chouhan Please just add your comment at https://github.com/JetBrains/swot/pull/11180. Open this page in your browser and add the comment. Thank you!


Can it support mac and cell phone ???

This bug-tracker is monitored by Windows Console development team and other technical types.  We like detail!
If you have a feature request, please post to the UserVoice.

Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues. Instead, send dumps/traces to<EMAIL_ADDRESS>referencing this GitHub issue.

Please use this form and describe your issue, concisely but precisely, with as much detail as possible

Your Windows build number:  (Type ver at a Windows Command Prompt)

What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)

What's wrong / what should be happening instead:

Can it support mac and cell phone ???

Please search before filing new issues. This is an exact dupe of #563.


disableOssIndex isn't being read in Action

Hi,
I am trying to execute Action and it is showing me the error
Error:  Failed to request component-reports
Error:  Failed to request component-reports
Searching this error a bit tells that it might be due to Sonatype Index searching, so I put the --disableOssIndex arguement in args for my Github Action. But it does not seem to solve my problem. Adding this argument locally does solve the error but not in Action. Can you tell me the correct syntax to add this argument in my action or is there something else I need to do?

Hi
Are you behind a proxy or similar? My recommendation is to try the cli for depcheck stand-alone and check if you have the same error

No there isn't any proxy issue and I have tried depcheck cli with this same argument and is working fine. Can you please tell me that the syntax I used above to add additional arguments is correct or not?

It looks correct… do you have any logs in the workflow execution?

Hi,
Sorry for the delay, I was away for some days.
[INFO] Finished Node Audit Analyzer (1 seconds)
[INFO] Finished Yarn Audit Analyzer (0 seconds)
[INFO] Finished RetireJS Analyzer (177 seconds)
[WARN] An error occurred while analyzing<EMAIL_ADDRESS>(Sonatype OSS Index Analyzer).
[WARN] An error occurred while analyzing<EMAIL_ADDRESS>(Sonatype OSS Index Analyzer).
[INFO] Finished Sonatype OSS Index Analyzer (2 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Known Exploited Vulnerability Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (128 seconds)
[INFO] Finished Unused Suppression Rule Analyzer (0 seconds)
[INFO] Analysis Complete (342 seconds)
[INFO] Writing report to: /github/workspace/reports/dependency-check-report.html
Error:  Failed to request component-reports
Error:  Failed to request component-reports

My workflow fails with above mentioned error messages. I have added arguments in workflow as:
          args: >-
            --failOnCVSS 7
            --disableOssIndex true

Hm, interesting. Is the project public? Can I fork it to debug the issue?

Closed due to inactivity


Add lint rule to catch things like console.log, debugger etc.

I think we can close this issue as well https://github.com/open-telemetry/opentelemetry-js/pull/2018


Normalize band width

https://github.com/bukosabino/ta/blob/64eee69974522d3c9f658e691a1c1b28039cc542/ta/volatility.py#L116
Divide by middle band: https://school.stockcharts.com/doku.php?id=technical_indicators:bollinger_band_width

Also, we should include percentage band from Bollinger Bands:
https://school.stockcharts.com/doku.php?id=technical_indicators:bollinger_band_perce

It is implemented in the last library version 0.5.12
@rk4rdo


power iteration and operator-norm

This implements a power iteration method to estimate the largest eigenvalue and largest eigenvector if a function. This can be further used to estimate the operator-norm of a LinearOperator.
Examples where this can be used are iterative_walsh_inati (see #210 and #97), the calculation of the operator norm for a simple Landweber method, the calculation of the upper bound for the step sizes to be used in pdhg, etc

maybe we should talk about what a good power iteration function for our code is.
the eigenvector estimation that we need in most of the algorithms (walsh, espirit, etc) is just 3 lines. to use a separate function, we need to define the batched application of the matrix as a function, and the norm as a function, than call the power iteration function. To further calculate the eigenvalue, we need not only a norm, but also a scalar product.
Maybe we only have an operator norm on linear operators and continue to write the power iteration for eigenvector estimation whenever we need it?
For the operator norm, there is still the questions how to define the norm/scalar product with regards to batching
so either we add a complicated logic to describe batching dimensions, or we only provide a operator_norm function outside the operator class and we have to provide the appropriate scalar product whenever you want to use it to calculate the norm of an operator.

What do you mean by "defining the norm with regards to batching dimensions"? I think this notion is not needed for computing the operator-norm. Why would one want to use a batch-size greater than one for computing it?
For other use cases, I would say that the appropriate way to compute the norm of a batch of tensors is to compute it for all the batched tensors and to return as many different values as there were tensors in the batch.

We can have an arbitrary number of leading dimensions. Which of these is a batching dimension and which is a dimension the operator operates on is not defined.
So either we need to define this for each operator, and pass it as a tuple of dimensions to the power iteration. OR we define the norm outside of the power iteration as a callable for each operator, and use it in the power iteration.

ok, i see. However, I am still not sure whether this problem is really related to the computation of the operator norm or actually more general. Actually, for the computation of the operator norm, it is sufficient to work with a single element of the domain.
However, I see the point. Your second suggestion to me seems to go in the direction of how ODL handles things like that.
There, operators have a domain and a range and one could associate an inner product to the respective spaces.
But probably this requires a longer discussion.

But have we actually ever used another space rather than R^N or C^N equipped with the Euclidean norms induced by the "standard" inner product?

Two questions:
Is there a simple way to specify a relative difference between iterates as a stopping criterion  - without having to add much computation in each iteration, i.e. can this be written to only check for changes of the vector ?
If yes, it would be good to include this (and rename n_max_iterations back to max_iterations)
Otherwise, I would rename n_max_iterations to n_iterations -- as it is the fixed number of iteratinos.
@ckolbPTB : n_max_iterations for cg et.c seems quiteredundant. I would prefer max_iterations if it is a bound and n_iterations if it is the actually number of iterations.

@ckolbPTB : n_max_iterations for cg et.c seems quiteredundant. I would prefer max_iterations if it is a bound and n_iterations if it is the actually number of iterations.

Fine by me as long is we use it consistenly for cg (currently max_iterations), lbfgs/adam (currently max_iter). Also in CsmData/iterative_walsh we use power_iterations which should then probably be n_power_iterations

@ckolbPTB : n_max_iterations for cg et.c seems quiteredundant. I would prefer max_iterations if it is a bound and n_iterations if it is the actually number of iterations.

Fine by me as long is we use it consistenly for cg (currently max_iterations), lbfgs/adam (currently max_iter). Also in CsmData/iterative_walsh we use power_iterations which should then probably be n_power_iterations

ok, so let's maybe agree that in general n stands for number, and we use the word max only if there an additional check that potentially allows the iteration to stop?
I.e. for CG we should either change to n_iterations or include a stopping criterion like checking the norm of the residual and use n_max_iterations.
For ADAM, we should use n_iterations, for LBFGS we should check what is exactly done.

CG: max_iterations (tolerance criterion)
Lbfgs: max_iterations (tolerance criterion)
Adam: n_iterations
Here: n_iterstions

iterative_walsh/CsmData: n_iterations

iterative_walsh/CsmData: n_iterations

For Walsh, I would even consider removing that option and either defining a constant  in the file and using that ,  checking for convergence, or using an existing pytorch funxtion. This only finds the largest ev of the matrix.
As described in the paper, Walsh is not an iterative algoritm. So having this option there is either useless or confusing, is it is more of a technical detail within part of the algorithm..

CG: max_iterations (tolerance criterion) Lbfgs: max_iterations (tolerance criterion) Adam: n_iterations Here: n_iterstions
Never n_max_iterstions. :)

Fine for me.

Two questions: Is there a simple way to specify a relative difference between iterates as a stopping criterion - without having to add much computation in each iteration, i.e. can this be written to only check for changes of the vector ? If yes, it would be good to include this (and rename n_max_iterations back to max_iterations)
Otherwise, I would rename n_max_iterations to n_iterations -- as it is the fixed number of iteratinos.
@ckolbPTB : n_max_iterations for cg et.c seems quiteredundant. I would prefer max_iterations if it is a bound and n_iterations if it is the actually number of iterations.

I guess then we need something like a vector_old and vector_new, which, as far as I remember we did not want to have in the beginning.

This is not the issue here.
I wondered if it is mathematically possible to say something about the difference between iterates of the norm, without actually calculating these iterates, and instead only use some criterion on vector and vector_old.
Or put differently, how does is the relative difference of operator norm iterates related to vector_old and vector? Is there a shortcut?

Two questions: Is there a simple way to specify a relative difference between iterates as a stopping criterion - without having to add much computation in each iteration, i.e. can this be written to only check for changes of the vector ? If yes, it would be good to include this (and rename n_max_iterations back to max_iterations)
Otherwise, I would rename n_max_iterations to n_iterations -- as it is the fixed number of iteratinos.
@ckolbPTB : n_max_iterations for cg et.c seems quiteredundant. I would prefer max_iterations if it is a bound and n_iterations if it is the actually number of iterations.

I guess then we need something like a vector_old and vector_new, which, as far as I remember we did not want to have in the beginning.

This is not the issue here.
I wondered if it is mathematically possible to say something about the difference between iterates of the norm, without actually calculating these iterates, and instead only use some criterion on vector and vector_old. Or put differently, how does is the relative difference of operator norm iterates related to vector_old and vector? Is there a shortcut?

I now included a check similar as in ODL, see https://odlgroup.github.io/odl/_modules/odl/operator/oputils.html#power_method_opnorm and additional tests to test whether it is possible to exit the loop before exhausting the for-loop. Obviously, the cost somewhat increases because we calculate the inner product between the old vector and the new one, but I guess this should be ok.

btwm this is not what i meant: i specifically asked if there is a way to avoid the additional computation of the norm in each loop-- > so the answer is no. shrugs nevermind

btwm this is not what i meant: i specifically asked if there is a way to avoid the additional computation of the norm in each loop-- > so the answer is no. shrugs nevermind

I thought this is what you meant with "some criterion on vector and vector_old". What other criterion less expansive than the inner product between the two were you thinking of?
In terms of application of the adjoint and the forward, which might be the potentially computationally intensive part depending on the operator, the code is the same as before.


Install different versions of same package, for example: <package_name>[all]

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: latest macOS, this is irrelevant though
Poetry version: 0.12.17

Issue
Trying to install fastapi with all the extra packages. I can successfully do this by running pip install fastapi[all] but poetry add fastapi[all] fails with:
[PackageNotFound]
Package [fastapi[all]] not found.

Not sure what the issue is, does poetry support things like [all] in package names?

Please ignore this, found a relevant issue with an answer. In case anyone is wondering: https://github.com/sdispater/poetry/issues/806
My bad!


[FLINK-28227][connectors] Migrate o.a.f.streaming.examples to the new Source API

What is the purpose of the change
Migrates the existing examples to use the new DataGeneratorSource instead of SourceFunction. This change is required to unblock https://github.com/apache/flink/pull/20049/files (CI checks do not allow usage of deprecated APIs in examples).
Verifying this change
This change is covered by the existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure

Hi @afedulov, would you minding telling me how it is progressing now, thanks.

Hi @reswqa I actually just finished reimplementing the SocketSource(Function)  as the new Source and - this unblocks https://github.com/apache/flink/pull/20049 . I just need to go though some internal OSS contributions formality and will most likely complement this PR with last missing bit early next week.

@reswqa I just pushed the latest changes, please take a look.

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@reswqa Thanks for the thorough review!
I addressed your comments in a separate commit 96d0a93 (#21774)

Arghhh, this example is broken 🙄
@reswqa The issue is that the original function miscalculates the distance by making it 10 times larger than it is supposed to be based on the time elapsed between sampling (described here https://github.com/apache/flink/pull/21774#discussion_r1242618518, basically it thinks the speed is 10 times larger, not 0-100km/h, but 0-1000km/h - some next gen cars).
This threshold https://github.com/apache/flink/blob/af4e0506ce39e014d56a28d36cfc497bf0aa00f0/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/windowing/TopSpeedWindowing.java#L124 controls how often the window trigger will fire, so in the old example it feels that the data is generated "faster" simply because the cars all move super fast, as you originally correctly pointed out in https://github.com/apache/flink/pull/21774#discussion_r1239993143.
So there are three potential solutions I see to fix the test:

Keep the triggerMeters=50, but overestimate the speed by a factor of 10, same way as the original function did (I checked - when the distance is simply multiplied by, the 10 results come out much faster and also the test passes)
Keep the correct distance calculation and modify the threshold to triggerMeters=5. This will lead to the same rate of produced results, but it is the most cumbersome solution, because the test data needs to be fixed by adding about 100 samples "manually": https://github.com/apache/flink/blob/c6997c97c575d334679915c328792b8a3067cfb5/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/windowing/util/TopSpeedWindowingExampleData.java#L23
Keep the correct distance calculation, but also keep the triggerMeters=50 - this will manifest itself as the "slower" data generation, there are simply not too many samples that exceed the delta when the calculation is done right.

Given how broken this example is, I would personally prefer to go for option 3) since it is the most "correct" one making too many changes. That said, I am open to consider the alternatives if you think otherwise.

Well, from my point of view, how to generate data here is not what users really want to care about. We just need to maintain a self consistent logic. So It is ok for me to choose both option (1) and (3).

@flinkbot run azure


Error creating a rack. rack_group required

Hi,
I am using Nautobot v2.0.3 with pynautobot v2.0.1.
When creating a rack via pynautobot, the error message :
pynautobot.core.query.RequestError: The request failed with code 400 Bad Request: {'rack_group': ['This field is required.']} appears.
even if we add the rack_group field, leaving it empty. the request is unsuccessful :
pynautobot.core.query.RequestError: The request failed with code 400 Bad Request: {'rack_group': ['Related objects must be referenced by ID or by dictionary of attributes. Received an unrecognized value: null']}
The rack_group field is not mandatory in the documentation.
Regards,

I have moved the issue to nautobot as it's a bug in the core.


Disable day within selected range

Should the user be allowed to select a range date, when within it, there is a disabled (or more than one) disabled day ?
For instance:

October 4th is disabled
I'd gladly drop a PR fixing it (if it's a bug)

Hi,
Sounds like a bug. We will be happy to see your PR.
BR,
Applikey team

Sure, no problem. What's the expected behavior here ? Not allow the user to select future dates after the disabled day(s) ?

Yes, you are 100% right!

Cool, see if I can drop a PR this week

if u want this feature just add the code in CalanderView class  in getSelectedDays() functions
 if(!day.isDisabled()){                         selectedDays.add(day);                     }else {                         selectedDays.clear();                         clearSelections();                     }

if u want this feature just add the code in CalanderView class in getSelectedDays() functions
` /**
* Returns all selected days
*
* @return
*/
public List getSelectedDays() {
List selectedDays = new ArrayList<>();
for (Iterator monthIterator = monthAdapter.getData().iterator(); monthIterator.hasNext(); ) {
Month month = monthIterator.next();
for (Iterator dayIterator = month.getDaysWithoutTitlesAndOnlyCurrent().iterator(); dayIterator.hasNext(); ) {
Day day = dayIterator.next();
//     Log.e("day",day.getCalendar().getTime()+"");
if (selectionManager.isDaySelected(day)) {
if(!day.isDisabled()){
                    selectedDays.add(day);
                    Log.e("seda",day+"");

                }else {
                    selectedDays.clear();
                    clearSelections();
                }

            }
        }
    }
    return selectedDays;
}`


move queue_name to ext_management_system

changes requested by @jrafanie here: https://github.com/ManageIQ/manageiq/pull/14848#discussion_r113016525
make queue_name the responsibility of ems_management_system
@jrafanie Please review

@jrafanie bump

Sorry, didn't see these comments. @zeari Can you do a followup PR for further refactorings since I clicked the green button too early?

or not :) because now it still works and you said this part of the code will be refactored soonish anyway

so yes...? no...?

cc @simon3z i dont think youre tagged here

@zeari I think it's ok leaving it as is until we need to change it for rearch or if you find problems needing you to change how queue_name is decided for each class.


Cross-Database Query Issue in withCount() and Similar Methods

Laravel Version
10.4.1
PHP Version
8.1.4
Database Driver & Version
No response
Description
When using cross-database queries, specifically in the context of the withCount() method and similar methods, there is a problem that needs to be addressed. The issue arises when the prefix set in the database configuration file is omitted in the embedded subquery generated by withCount(). This leads to SQL errors, such as "Column not found" when attempting to execute the query.

Workaround Solution:
In the "database.php" configuration file, for the database where the prefix is omitted in the query, set the prefix to an empty string by modifying 'prefix' => '',.
In each model that interacts with this database, explicitly specify the database name along with the prefix. For example, instead of "protected $table = 'content';", set "protected $table = 'prefix_content';".

Solution with Potential Code Fix:
file path vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php.

public function getRelationExistenceQuery(Builder $query, Builder $parentQuery, $columns = ['*'])
    {
        $qualifiedParentKeyName = $this->getQualifiedParentKeyName();
        $databasePrefix = $parentQuery->getConnection()->getTablePrefix();

        if ($this->getConnection()->getTablePrefix() !== $databasePrefix
            && !str_starts_with($qualifiedParentKeyName, $databasePrefix)) {
            $qualifiedParentKeyName = $databasePrefix.$qualifiedParentKeyName;
        }
        return $query->select($columns)->whereColumn(
            $qualifiedParentKeyName, '=', $this->getExistenceCompareKey()
        );
    }

There may be other possible solutions to address this issue, and the provided options are offered as potential approaches to consider.
Screen:

Note: This issue may also occur in other similar methods that generate subqueries for cross-database relationships.
Steps To Reproduce

Set up a Laravel application with multiple databases.
Configure the database prefixes in the database configuration file.
Create a model with relationships across different databases.
Invoke the withCount() method on the model and observe the generated SQL query.

Expected Behavior:
The withCount() method should generate a SQL query with the correct prefix for cross-database relationships, ensuring that all columns are properly referenced and the query executes successfully.
Actual Behavior:
The generated SQL query from withCount() method omits the prefix for cross-database relationships, resulting in SQL errors and failed query execution.

I don't think what you're trying to do is intended to work. In general, we don't recommend modifying the $table property to include connection names, prefixes etc. It's soley intended to have the table name.

I don't think what you're trying to do is intended to work. In general, we don't recommend modifying the $table property to include connection names, prefixes etc. It's soley intended to have the table name.

Ok. How can I work with models that are located in different databases if a query is causing an error? When using the query Bookable::withCount(['media']), I encounter an error.


Offer TensorFlow Docker Images Based on 18.04

Nvidia is now shipping docker images based on ubuntu 18.04 (see), it would be great if TensorFlow started offering builds against these.
Ubuntu 18.04 has added Python 3.6.
Have I written custom code N/A
OS Platform and Distribution Docker
TensorFlow installed from Docker
TensorFlow version N/A
Bazel version N/A
CUDA/cuDNN version N/A
GPU model and memory N/A
Exact command to reproduce N/A

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

@gunan Thoughts on this?
@cancan101 Please feel free to submit a PR for this.

For CPU, I do not see a reason why we cannot.
For GPU, we are strictly required to build on top of nvidia cuda docker images.
So If nvidia/cuda has ubuntu 18.04, it is certainly possible for us, too.

I started: https://github.com/tensorflow/tensorflow/pull/19474

Please remove the assignee, as this issue is inviting external contributions. Otherwise, remove the contributions welcome label. Thank you.

Please remove the assignee, as this issue is inviting external contributions. Otherwise, remove the contributions welcome label. Thank you.

I've recently proposed a change to TensorFlow that obsoletes parameterized_docker_build.sh, which may help alleviate this issue. If anyone following this thread is interested in making TensorFlow's Dockerfile story better for everyone, please take a look at the RFC.

looks like current images are based on ubuntu 18.04:
$ docker run --rm -it
docker.apple.com/tensorflow/tensorflow:2.1.0-gpu-py3 bash

root@7468b22afb64:/# cat /etc/issue
Ubuntu 18.04.3 LTS \n \l

seems like this issue can be closed...

Close this issue as it has been solved.


Fix: Unknown key recipe-name

Not sure if this is the right way to fix this or not, so feel free to close it if it is not.

Thanks for the PR.
However I believe there is a better way to implement this. Added here:
https://github.com/notnotmelon/factorissimo-2-notnotmelon/commit/0e4fcf5a74c7ebc65ed08c37063f19eea6b0d09f


Cluster med refactor + un-abandoning of surgery room

About the PR

Refactored the cluster med(moved around the beds, added cryo, removed the inner walls) and un-abandoned the surgery room
Why / Balance

Technical details

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl: Boaz1111

tweak: Refactored Cluster's medbay, including cryo in the bottom left room

Surgery room must be sterile, so it is better to remove the connection with the morgue, because bruh.

Oh, my bad. Surgery in maintenance. Anyway, it need to be sterile.

it's really nice! although, i would like some more green in virology.

cryo with no filters eventually poisoning patients :trollface:

Maybe add a paramedic locker somewhere because cluster always missed one

Maybe add a paramedic locker somewhere because cluster always missed one

cluster's too lowpop for paramed

cryo with no filters eventually poisoning patients :trollface:

With 1000L and 540 pressure surely it will be enough to last whole shift... right? clueless

well, lets atmos do something I suppose

weird decals placement

cryo with no filters eventually poisoning patients :trollface:

With 1000L and 540 pressure surely it will be enough to last whole shift... right? clueless

well, lets atmos do something I suppose

Even if cryopod gets toxic, medical can always crowbar it open and reassemble to let in another 1k of gas.

Maybe add a paramedic locker somewhere because cluster always missed one

cluster's too lowpop for paramed

Yes but unless it got changed a thief objective is the void suit and it is impossible to get it without a admin spawning it on cluster


style: reformat index.ts using deno fmt default

Pull Request Test Coverage Report for Build a7c990153c845453bf749dcefcc38aa10d90aad3-PR-14
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.154%

Totals

Change from base Build 6296cbf4434e0f47529b80aa04cb5421e6061e40:
0.0%

Covered Lines:
50

Relevant Lines:
52

💛  - Coveralls


make a contribution guide

Make a short guide for new contributors

include pointers to get access to code, issue tracker, mailing list
include style guide
include pr guidance
include licensing guidance
include expectations around releases

Are we review then commit, @cmccoy? I'd be in favor of adopting it as our policy.
For folks who aren't familiar, that would mean maintainers are on the same footing as other contributors: someone else has to agree that a change is ready for merge before things are pushed into the main repo.
Given our current low maintainer count, I'd be fine with accepting community reviews as authoritative (regardless they'd be lovely to have).

On May 23, 2015 8:17 AM, "Sean Busbey"<EMAIL_ADDRESS>wrote:

Are we review then commit, @cmccoy? I'd be in favor of adopting it as our
policy.

Me too, especially for code changes.
I'm heading out if town for the weekend, but will catch up Monday or so.

For folks who aren't familiar, that would mean maintainers are on the
same footing as other contributors: someone else has to agree that a change
is ready for merge before things are pushed into the main repo.
Given our current low maintainer count, I'd be fine with accepting
community reviews as authoritative (regardless they'd be lovely to have).
—
Reply to this email directly or view it on GitHub.

include expectations for adding new bindings / workloads

require a README that walks through running a load and a workload (for both bindings and workloads)
javadocs
example properties

make sure to remind folks that we expect to work on Windows

Additional note as per @busbey comments on #500.

YCSB clients should default to the strictest consistency available and document consistency tuning and tradeoffs in their readme.

other guidance that I don't see above that we've discussed:

no client side buffering by default (but if you allow it please document how to use it and the tradeoffs)
document which specific version(s) of the datastore you expect to work with
document any set up of the datastore needed (like how some systems need to create a table with a particular schema)

As noted in #596:

in general bindings should be in their own package

We should just make a CONTRIBUTING.md and have Github handle displaying it.


GAPIC documentation missing types

The GAPIC documentation for common protobuf types is missing the following:

Google::Protobuf::NullValue
Google::Protobuf::Timestamp
Google::Type::LatLng

The GAPIC client documentation also documents the Google::Cloud::Datastore::V1::DatastoreClient#datastore_stub attribute returning a Google::Datastore::V1::Datastore::Stub object, but Google::Datastore::V1::Datastore::Stub is not contained in the protobuf documentation. Perhaps the datastore_stub should be marked private?

@jbolinger @dazuma Thoughts on this?

I just realized that Datastore doesn't have a synth.py file, so the GAPIC generated files may be out of data. it is possible the missing types have already been added to the generated documentation and the GAPIC files are regenerated these types will show up in the documentation.

I believe at least one of those missing types should be generated. So, it's probably best to regenerate first and then I can add if we find anything is still missing.
I'm not sure about the stub part. I suspect using it is rare but I'm not sure if it's a good idea to make it private.

@dazuma Is there a timeline for adding synth.py to the hand coded gems?

I'm working on them now (actually first the gapic-only and partial gapics, then the hand-coded). I was hoping to have it done this week, but it's going slowly and will be well into next week.

I'll frontload synth for datastore (probably Monday) and see if it fixes it.

FYI, I still don't see these types being documented in Datastore.
http://googlecloudplatform.github.io/google-cloud-ruby/docs/google-cloud-datastore/master/

Hmm, those docs files aren't getting generated. There might be a config missing. I'll investigate.

This issue was fixed by #2428. If a new Datastore version is generated and is missing these files, please re-open or reference in a new issue.


Add a solution to problem 92

The idea is to detach the portion that is to be reversed, reverse it, and reattach it to the original list. This approach requires two passes: the first pass is to detach the portion that is to be reversed, and the second pass is to reverse it. To achieve a one-pass solution, you can break the original linked list at the left, reverse the nodes up to the right, and then relink them.

The one-pass solution is also included


Datasets

Post a dataset you are interested in using

https://waterdata.usgs.gov/nwis

USDA county level agricultural commodity production (~2000-2022) https://quickstats.nass.usda.gov/results/8D29DE9E-D75D-3CE4-98B7-75F66C9F3A02

USDA Cropscape: https://nassgeodata.gmu.edu/CropScape/

temperature and other climatic variables: https://www.ncei.noaa.gov/access/monitoring/climate-at-a-glance/county/time-series/AZ-001/tavg/12/1/1895-2024?base_prd=true&begbaseyear=1901&endbaseyear=2024

Link to DOE report on effects of climate change on energy production and use: chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://science.osti.gov/-/media/ber/pdf/Sap_4_5_final_all.pdf

Arizona water resources: https://www.azwater.gov/conservation/public-resources

Annual Electric Power Industry Report: https://www.eia.gov/electricity/data/eia861/


Vendor openssl

Fixes #423
The alpine packages perl  and build-base are needed to build openssl from source.

@gbip thanks!!!  Looks great, enabling automerge. If you have any energy left (as a separate PR), can you make a test that builds a docker image and runs all of our tests in it? Current test starts PG in a docker, but runs rust on the host. The new test would also start a PG in a docker, but would also build and start Martin in a docker, and run the same tests on that.

@gbip thanks!!! Looks great, enabling automerge. If you have any energy left (as a separate PR), can you make a test that builds a docker image and runs all of our tests in it? Current test starts PG in a docker, but runs rust on the host. The new test would also start a PG in a docker, but would also build and start Martin in a docker, and run the same tests on that.

I can give it a try !


RuntimeError: device >= 0 && device < num_gpus INTERNAL ASSERT FAILED

error massage:
prop = get_device_properties(device)
File "/mnt/data/anaconda3/envs/pytorch-cuda/lib/python3.10/site-packages/torch/cuda/init.py", line 399, in get_device_properties
return _get_device_properties(device)  # type: ignore[name-defined]
RuntimeError: device >= 0 && device < num_gpus INTERNAL ASSERT FAILED at "../aten/src/ATen/cuda/CUDAContext.cpp":50, please report a bug to PyTorch.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/data/loong/aquila_awq.py", line 15, in
model = AutoAWQForCausalLM.from_pretrained(model_path, **{"low_cpu_mem_usage": True})
File "/mnt/data/anaconda3/envs/pytorch-cuda/lib/python3.10/site-packages/awq/models/auto.py", line 38, in from_pretrained
return AWQ_CAUSAL_LM_MODEL_MAP[model_type].from_pretrained(
File "/mnt/data/anaconda3/envs/pytorch-cuda/lib/python3.10/site-packages/awq/models/base.py", line 112, in from_pretrained
device_map = infer_auto_device_map(
File "/mnt/data/anaconda3/envs/pytorch-cuda/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 901, in infer_auto_device_map
max_memory = get_max_memory(max_memory)
File "/mnt/data/anaconda3/envs/pytorch-cuda/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 639, in get_max_memory
_ = torch.tensor([0], device=i)
File "/mnt/data/anaconda3/envs/pytorch-cuda/lib/python3.10/site-packages/torch/cuda/init.py", line 264, in _lazy_init
raise DeferredCudaCallError(msg) from e
torch.cuda.DeferredCudaCallError: CUDA call failed lazily at initialization with error: device >= 0 && device < num_gpus INTERNAL ASSERT FAILED at "../aten/src/ATen/cuda/CUDAContext.cpp":50, please report a bug to PyTorch.

but use this command works
CUDA_VISIBLE_DEVICES=1  python aquila_awq.py

This most likely has to do with your environment. I suggest you reinstall Nvidia drivers and the CUDA toolkit.

This most likely has to do with your environment. I suggest you reinstall Nvidia drivers and the CUDA toolkit.

tks，fixed by reinstall cuda version to 12.0


The points' format

There are airplane.pt, examples/car.pt, and examples/toilet.pt in the example.
But I have never seen this format of point cloud.
How can I test my own point clouds?

@Marmiya Thanks for your interest in our work.
You can indeed evaluate your own point clouds by utilizing the data loading code specific to your data format. For reference, you can check line 165 in this file of Point-LLM.

Thanks for your reply.
Good work :D


when Alluxio is down，how read data from iceberg Tables on Alluxio

When using Running Presto on Iceberg Tables with Alluxio, if the Alluxio service is down, how to read the Iceberg Tables under the hdfs path? I tried to use hive to modify the metadata and DDL statements
 'alter table person3 set location "hdfs://hadoop1:9000/alluxio/data/mnt/ramdisk/person3',
but it failed. How can I modify the metadata of the iceberg table when Alluxio is down, so that presto or hive can read the data normally and ensure the normal operation of the business
DDL
> CREATE TABLE person3
> (name string, age int, id int)
> STORED BY 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler'
> LOCATION 'alluxio://<IP_ADDRESS>:19998/mnt/ramdisk/person3';

Describe alternatives you've considered
when Alluxio is down,presto or hive can read the data normally
Urgency
Ensuring the normal operation of the production system is the first priority

You can try presto + alluxio sdk. This cannot be achieved with alluxio service.

@Kai-Zhang Yes, this probably has nothing to do with Alluxio，but I think this situation should be worth considering, the stability of the system put into production is the first requirement we consider, if the HDFS service is down, Alluxio can make the business run normally ， on the contrary, the HDFS service is not down and Alluxio service is down, how to make the system run normally, should also be considered. In addition, the non-iceberg format of the hive management table can be accessed directly after Alluxio is hung up to modify the path, and iceberg This situation I can't think of a good way
对，这个可能确实跟alluxio本身无关，但是既然想投入到生产系统里去，稳定性肯定是首要考虑因素。极端的情况假如Alluxio就是短时间无法修复的情况下如何保证业务正常开展，这种担忧肯定也是很多客户的担忧。作为一个整体的解决方案肯定是需要有plan B的情况，也感谢老哥的回答啊

@liuzx8888 There enterprise feature for that which is called transparent URI, maybe you can take a look https://github.com/Alluxio/alluxio/pull/16823#issuecomment-1473105398


Changes in ASHE for specimin CI

In this change example.properties was renamed as config.properties for using it in CI for specimin

Hi Professor
The change was just change in file name.This was done as per instructions
provided by johnathan in the README file. I have adjusted the same in my
script and we won't be needing this PR.
Another reason I decided to go with a change in script over a PR is because
in case we go ahead with this PR , the file name change will keep showing
up in diff for future changes in this file.
I will close this PR.
Also I have found the cause of the script malfunctioning in my PR request
for CI integration in specimin project and fixed it. However, I am still
unable to actually run it in the PR request myself.
There was a difference in gradle build being used for running. Let me know
when can we connect to discuss how run issue
Thanks and regards
Niharika Jamble
On Fri, Jul 19, 2024 at 10:37 AM Martin Kellogg @.***>
wrote:

@ kelloggm commented on this pull request. The only change in this PR
appears to the addition of a newline at the end of the file. Is that
intentionally the only change? Based on our conversation, I was under the
impression that there would be
@.**** commented on this pull request.
The only change in this PR appears to the addition of a newline at the end
of the file. Is that intentionally the only change?
Based on our conversation, I was under the impression that there would be
more here.
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/njit-jerse/ASHE_Automated-Software-Hardening-for-Entrypoints/pull/1*pullrequestreview-2188399604__;Iw!!DLa72PTfQgg!NThtbZu4BuHHJisMoi3Ox8LeJADw24I3MipMKkrs4xLmrAPwcrMEEhPZrvRo-eSdtSxL9kGlcRCcdJWF3h-qwbxk3w$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/BIZGHND2WHJWDGSSKCGL6ETZNEQDXAVCNFSM6AAAAABLBQMZ7GVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCOBYGM4TSNRQGQ__;!!DLa72PTfQgg!NThtbZu4BuHHJisMoi3Ox8LeJADw24I3MipMKkrs4xLmrAPwcrMEEhPZrvRo-eSdtSxL9kGlcRCcdJWF3h-Da0YQUg$
.
You are receiving this because you authored the thread.Message ID:
<njit-jerse/ASHE_Automated-Software-Hardening-for-Entrypoints/pull/1/review/2188399604
@github.com>

Also I have found the cause of the script malfunctioning in my PR request
for CI integration in specimin project and fixed it. However, I am still
unable to actually run it in the PR request myself.

See my comment on https://github.com/njit-jerse/specimin/pull/323

Let me know when can we connect to discuss how run issue

My calendar says we have a meeting scheduled for this afternoon at 4:45pm


Tree item label jiggles up and down (if inline tree item commands have text and no icon)

Does this issue occur when all extensions are disabled?: N/A

VS Code Version: 1.74.2 and tested on insiders
OS Version: Windows

I used git bisect to identify this commit as the cause - 0f2de31e4856886cdbf32f85488bc40f480fb38f @daviddossett
Steps to Reproduce:

Build and install this extension https://github.com/r3m0t/vscode-extension-samples/tree/tree-action/tree-view-sample
When you select or hover over items in the tree view, the label moves up a few pixels from its correct position.

I can repro, thank you for the sample.


0.28.0 Breaks connection

Problem/Motivation
When updating to 0.28.0 my Aeotec Zigbee USB stick Gen 5 gets disconnected from the VM and zwavejs2mqtt cannot connect to it.
Expected behavior
It is able to establish a connection.
Actual behavior
No connection happens, just keeps trying to connect whilst the logs in Supervisor announce the removal of the USB device
Supervisor Logs
21-11-03 16:35:57 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD hardware /dev/ttyACM1 - /dev/serial/by-id/usb-0658_0200-if00
(... truncated)
21-11-03 16:40:53 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE hardware /dev/ttyACM1 - /dev/serial/by-id/usb-0658_0200-if00

zjs2mqtt Logs
2021-11-03 16:40:50.817 WARN STORE: scenes.json not found
2021-11-03 16:40:50.826 INFO APP: Listening on port 44920 host <IP_ADDRESS> protocol HTTP
2021-11-03 16:40:50.843 INFO MQTT: MQTT is disabled
2021-11-03 16:40:50.849 INFO ZWAVE: Connecting to /dev/serial/by-id/usb-0658_0200-if00
2021-11-03 16:40:50.870 INFO ZWAVE: Zwavejs usage statistics ENABLED
[16:40:51] INFO: Starting NGinx...
2021-11-03 16:41:27.387 INFO ZWAVE: Controller status: Driver: Failed to open the serial port: Error: No such file or directory, cannot open /dev/serial/by-id/usb-0658_0200-if00 (ZW0100)
2021-11-03 16:41:27.389 INFO GATEWAY: Driver is CLOSED
2021-11-03 16:41:27.389 INFO ZWAVE-SERVER: Server closed
2021-11-03 16:41:27.393 INFO ZWAVE: Client closed
2021-11-03 16:41:27.393 INFO GATEWAY: Driver is CLOSED
2021-11-03 16:41:27.397 INFO ZWAVE: Connecting to /dev/serial/by-id/usb-0658_0200-if00
2021-11-03 16:41:36.412 WARN ZWAVE: Retry connection in 3 seconds...

Steps to reproduce
Upgrade to 0.28.0, restart addon
Proposed changes
Had to downgrade by modifying the backup file

Closing as the issue is related to soft reset causing the USB to disconnect, which unraid does not automatically connect. This means that disabling soft reset has solved the problem

@aguilaair you sir are a gentleman and a scholar!  i have the same set up and same issue.  unraid + zstick + 0.28

@aguilaair you sir are a gentleman and a scholar!  i have the same set up and same issue.  unraid + zstick + 0.28

Fixed it, no?

@aguilaair it did!

Similar to rudf0rd above - I also had the same issue - unraid + HassOS VM + aeotec zstick.  Im on v0.27.0 - there is no option to option to disable the soft-reset.  Do I upgrade to the latest version and then disable soft-reset?  Will the zStick then reconnect?
Thanks!


change api url for prod environment

Codecov Report

Merging #18 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #18   +/-   ##
======================================
  Coverage    99.7%   99.7%
======================================
  Files         266     266
  Lines        2041    2041
  Branches       55      55
======================================
  Hits         2035    2035
  Misses          6       6

Continue to review full report at Codecov.

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