URGENT - LOGS - POS last_vrf_output contains binary

In File "lib/consensus/proof_of_stake.ml
line 2466, characters 54-61
message":"Selecting best consensus state
metadata.candidate
"last_vrf_output":"\u000e4w˅s\\u0004,"X;<82>z\u0012LoQdlk\u001d-\u
Please help keep binary data out of text logs.

Urgent because this breaks most ability to parse logs cleanly.
eg
cat test-coda/coda.log | grep curr_global_slot
Binary file (standard input) **matches**

last_vrf_evaluation is actually important for debugging. And we might not want to truncate it from the log messages.
@imeckler or @nholland94 might find a better way to represent this field, so that it doesn't read like binary.

As a followup to this removal, I have logged an issue here which encapsulates the work to do to put it back into the logs with a reasonable format. https://github.com/CodaProtocol/coda/issues/3628

@nholland94  to be clear, I wasn't asking for a removal, just a cleaner representation that doesn't break text tools

@ghost-not-in-the-shell to delete it re https://github.com/CodaProtocol/coda/issues/3628


Bug in emscripten JS bindings

LiveSplitCore is not defined.
Looks like something changed for the typescript bindings but didn't get changed for the JS bindings.

Oh yeah, looks like you are right. I'll fix it later today. May I ask what you are using it for? :)

thanks,
I am currently just testing ls-core to see if I can use it to make a timer using clojurescript and electron.

Ah, that's cool. While I would love people to write timers with livesplit-core, I would like to ask you if the use case is different enough from LiveSplit One which is a React based front end + Electron to livesplit-core. So that's very similar to what you are trying to do. If it's just for experimenting around, that's fine. If it has entirely different goals, like being a much more streamlined and simpler timer with less clutter (maybe no game time, no or less comparisons, ...), then that's also a perfectly good goal to have. However if our goals are too similar, it may make more sense to help us with LiveSplit One instead.

This is also resolved now. I'll keep this open until your response though.

Thanks,
at the moment I am just testing and experimenting no real plans.


[Coder] Split source coder ui element in reusable components

now we have separate actions and editor elements


Add pretty background image per visual styles

https://drive.google.com/drive/folders/10HHg-WR3IEb4ziYrykH9eS2QixQGjur7

Duplicate of #158


MySQL: Inbound Order - Warehouse Selection logic

Inventory Automatically Update
Implement a stored procedure to automatically update product inventory and choose the best warehouse based on available space.
- To simplify, let's assume each product item has a total area of (width * length * height). Then, the system will choose the warehouse with the largest space available to stock those product items. If there is not enough space, the remaining product items will be stocked in the next warehouse, and so on, until all product items have been stocked or no more space is available in all warehouses

Done


line labels for 1D plotting

Is your feature request related to a problem? Please describe.
I find myself wanting to compare multiple 1D line plots.
d1 = xr.DataArray(np.ones((3,100)),dims=('channel','time'),coords={'channel':np.array(['a','b','c'])})
d1.sel(channel='a').plot()
d1.sel(channel='b').plot()
d1.sel(channel='c').plot()

The auto-magic labeling that happens when _labels=True (the default) is to place the title as channel='a' using the function _title_for_slice().  This works fine when I only want to plot one line, but if I plot sequential lines, then the title gets over-written. So, I end up doing:
d1.sel(channel='a').plot(label='channel=a')
d1.sel(channel='b').plot(label='channel=c')
d1.sel(channel='c').plot(label='channel=b')

which is more boiler-plate than I'd like, and prone to errors (kudos if you noticed the one I made intentionally there).
Describe the solution you'd like
Basically, I'd just like to have these two lines added to the body of xarray.plot.line right around line 101:
    if _labels and not "label" in kwargs:
        kwargs["label"] = darray._title_for_slice()

This would automatically add the title as a label.  This would not change the way the plot looks in the original case, and if the caller of plot supplies a label, that will over-ride this default.
Describe alternatives you've considered
Another alternative is to make a switch in plot that would allow 2D arrays to be plotted as a series of 1D line plots like this, rather than as 2D heatmaps. It would be necessary to supply an indication of which of the two axes should be used as the x-axis of the plot, and which one would supply the line labels.

See the hue kwarg: https://xarray.pydata.org/en/stable/plotting.html#multiple-lines-showing-variation-along-a-dimension

Thanks @dcherian, that's what I'm looking for.


The chat service will now auto-announce live-coders team members. Closes #41

Purpose
There was a question / feature request to have the chatbot auto announce live-coder team members. This PR seeks to solve that feature request.
How it works

DISCLAIMER: Unfortunately the 'Helix' Twitch APIs do not have an endpoint to retrieve Twitch Team information. However, the 'Kraken' APIs do have an endpoint. Although 'Kraken' is deprecated, I felt it was Ok to use it's API because 'Helix' has no alternative and Kraken still works today.

chron service starts, then waits 15 seconds and calls the api service for the live-coders team information.
api service sends a request to the Kraken API for information on the live-coders team.
api service receives the response from the Kraken API and sends the information over the Socket.
hub service listens for the event, pulls out the 'users' array from the live-coders team then re-submits the information over it's io socket.
chat service listens for the event and saves the list of members in memory as liveCodersTeamMembers.
chat service listens for 'chat' events and checks the user against the liveCodersTeamMembers list, and if the individual both exists on the team AND has not already been announce for this stream, chat will send out a shoutout.

Closes #41

@MichaelJolley mentioned on chat that he received an email which had a hard cutoff date but couldn't remember if that was for the v3 or v5 APIs. I believe the email was referring to the shutdown of v3, not v5 (Helix), which is still being used as the migration path for v3 API developers. v5 is deprecated, but a shutdown timeframe is still unknown.
Here are the developer announcements:

Twitch API v3 Shutdown Timeline
Twitch API v3 and v5 Deprecation Updates

Ha!  Just realized I wrote garbage above.  I clearly remember things I say/do so well.

I cleaned up the place. Hopefully, it passes muster!


example(rustls-mtls): adding mtls example using custom tls::Provider

Resolved issues:
resolves #1193
Description of changes:
Created examples/rustls-mtls  which leverages the Server created in s2n-quic-rustls but constructs it using a custom rustls::ServerConfig and rustls::ClientConfig which supports an mTLS configuration.
Call-outs:
I'm not sure if I'm meant to depend on other types created in s2n-quic-rustls, but its implementation of Server and Client were exactly what I needed, and it'd be redundant to create a new one.
Testing:
Ran the echo server using the supplied certs, tested it and it didn't explode.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Awesome, thanks for the PR!

Thanks for working on this!


Upgrade borgbackup to 0.30.0

Please add an appcast, as it's hosted on GitHub

@adidalal Fixed.
BTW, I just wanted to update, your suggestion that add appcast was a little troubled.
I have experienced add of appcast for other Cask, so I was not cumbersome.
But, shallow of program experience users will be confused.
Is this automation is possible?
I'm very fond of Homebrew|Caskroom culture, so I think it is better to lower the threshold of contributing as much as possible.
Not a criticism.
Thanks.


is there any tutorial for voice call

Hi, Im looking for voice call solution. is there any tutorial or demo app for this purpose? thanks

You can use the following parameters when gettingUserMedia:
Final Map<String, dynamic> mediaConstraints = {
       'audio': true,
       'video': false
     };


How can i hidden image name on chat screen

How can i hidden image name on chat screen when upload image

Was this resolved by https://github.com/zulip/zulip/issues/12576#issuecomment-510314120? When I use “!” as in ![IMG_5547.JPG](/path/to/IMG_5547.JPG), I see unparsed markdown and no image.

I think the complaint here, or the request, is:

Go to compose a message, and attach an image (using e.g. the "image" icon in the compose menu.)
The resulting message has not only the image, but also the filename, as in the screenshot above.

Which is indeed kind of unsightly and probably not the ideal behavior.
This behavior reproduces for me today, on a version from master. It also reproduces in the webapp -- so I think "dupe from server" is right, but should point to an open issue on the server, or else an issue where we've received this UI feedback and decided not to act on it.
... And I guess in fact zulip/zulip#12576 is exactly a report of this same thing, but just wasn't understood when it was closed. I've replied there and re-opened it.
We'll leave this issue open, to help find it when searching in this repo's tracker, but let's put discussion on zulip/zulip#12576 until that reaches a conclusion.
Thanks @wsupajirakit for the feedback!


doom-gruvbox Org agenda level colors are wrong

What happened?
The colors for the multiple heading levels are duplicated/incorrect so nearly all of them are green and yellow. This wasn't the case before I upgraded doom emacs, before the colors where normal and changed each heading.
What did you expect to happen?
The colors to change between heading levels. I can even see the changes made in the git commits, I just don't understand why the changes were made.
Steps to reproduce

Open Org file with doom-gruvbox enabled, and then make several different level headings

System Information

Emacs version: 27.2
Emacs Distro: Doom Emacs
Operating System Arch
Installed commit of doom-themes: 4199e74

What it looks like

When an agenda file has many 1st and 2nd level headings the whole thing just looks green, and even with 1-4 level headings the entire document is green and yellow which is very hard to read/distinguish text
What I was expecting(or something similar)

What would be the steps to change these colors for my local install of doom emacs? I can't find doom-gruvbox.el

I found the theme file in     /home/$USER/.emacs.d/.local/straight/repos/emacs-doom-themes/themes/
And I make the org-mode heading changes in there and it fixed it.
Closing


move poweredby to users in doc

Fixes #4586 .

Codecov Report

Merging #4587 into master will decrease coverage by 0.54%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4587      +/-   ##
============================================
- Coverage      54.8%   54.26%   -0.55%
- Complexity      327      343      +16
============================================
  Files           967     1001      +34
  Lines         18019    17985      -34
  Branches       3406     3372      -34
============================================
- Hits           9875     9759     -116
- Misses         7509     7602      +93
+ Partials        635      624      -11

Impacted Files
Coverage Δ
Complexity Δ

...ngjdbc/jdbc/adapter/AbstractConnectionAdapter.java
70% <0%> (-3.53%)
6% <0%> (ø)

...ngsphere/sharding/route/engine/ShardingRouter.java
25.42% <0%> (-2.45%)
0% <0%> (ø)

...cryptForUseDefaultInsertColumnsTokenGenerator.java
73.8% <0%> (-2.28%)
1% <0%> (ø)

...ingjdbc/jdbc/adapter/AbstractStatementAdapter.java
91.37% <0%> (-1.87%)
4% <0%> (ø)

...sphere/transaction/core/TransactionTypeHolder.java
85.71% <0%> (-1.79%)
0% <0%> (ø)

...rslave/route/engine/impl/MasterVisitedManager.java
85.71% <0%> (-1.79%)
0% <0%> (ø)

...rypt/rewrite/condition/EncryptConditionEngine.java
65.85% <0%> (-1.59%)
0% <0%> (ø)

.../execute/threadlocal/ExecutorExceptionHandler.java
81.81% <0%> (-1.52%)
0% <0%> (ø)

...tor/engine/impl/ShardingSphereExecutorService.java
72.22% <0%> (-1.47%)
0% <0%> (ø)

...ingjdbc/jdbc/adapter/AbstractResultSetAdapter.java
79.06% <0%> (-1.33%)
1% <0%> (ø)

... and 116 more

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 3ef0690...cb2ebe4. Read the comment docs.

Pull Request Test Coverage Report for Build 9996

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.006%) to 57.798%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-core/src/main/java/org/apache/shardingsphere/orchestration/internal/util/IpUtils.java
3
76.0%

Totals

Change from base Build 976:
-0.006%

Covered Lines:
10395

Relevant Lines:
17985

💛  - Coveralls


Turn on LHF/SHF calculation but don't use in sgs.f90

Peter suggested I re-enable the LHF and SHF calculation because these are used to determine the amount of mixing even for momentum in the SGS schemes.
If I don't want SAM to include these effects, I should do so in sgs.f90 instead.

I did this in 7d984d72da4c59fe34230cfbb6c6ed1eb4690a9b


importance sampling option for IBL

This will be useful for testing and can be
enabled at compile time by setting
IBL_INTEGRATION to IBL_INTEGRATION_IMPORTANCE_SAMPLING
in both indirectLight.cpp and light_indirect.fs
BUGS: clearcoat and subsurface won’t
work well when this is enabled since the prefiltered
cubemap is not available and, we don’t evaluate
those lobes with importance sampling (yet).
Additionally, anisotropy can’t work with our
prefiltered importance sampling, so it still uses
the emulation by bending the normal.

So we can use this function with another normal, e.g. with the clear coat
normal (in a subsequent change).
Maybe a better solution would be to pass R (i.e. the tangent space) as a
parameter.
On Tue, Sep 11, 2018, 10:51 Romain Guy<EMAIL_ADDRESS>wrote:

@romainguy commented on this pull request.
In shaders/src/light_indirect.fs
https://github.com/google/filament/pull/234#discussion_r216754217:

#else
vec3 r = shading_reflected;
#endif
return getSpecularDominantDirection(n, r, pixel.linearRoughness);
}

+//------------------------------------------------------------------------------
+// Prefiltered importance sampling
+//------------------------------------------------------------------------------
+
+#if IBL_INTEGRATION == IBL_INTEGRATION_IMPORTANCE_SAMPLING
+vec3 importanceSampleIBL(vec3 n, vec3 v, float NoV, const PixelParams pixel) {
Sorry, missed that one too: pass PixelParams first, make n and v const.
In shaders/src/light_indirect.fs
https://github.com/google/filament/pull/234#discussion_r216754290:

#else
vec3 r = shading_reflected;
#endif
return getSpecularDominantDirection(n, r, pixel.linearRoughness);
}

+//------------------------------------------------------------------------------
+// Prefiltered importance sampling
+//------------------------------------------------------------------------------
+
+#if IBL_INTEGRATION == IBL_INTEGRATION_IMPORTANCE_SAMPLING
+vec3 importanceSampleIBL(vec3 n, vec3 v, float NoV, const PixelParams pixel) {
+

mat3 R;
vec3 up = abs(n.z) < 0.999 ? vec3(0.0, 0.0, 1.0) : vec3(1.0, 0.0, 0.0);

Why reconstruct it since we have shading_tangentToWorld?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/filament/pull/234#pullrequestreview-154311826,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLvQIM9dB2ieIjZiU0YXvv5HXGcMKA6ks5uZ_gugaJpZM4WikGA
.

FWIW we keep track of the geometric normal, the base layer normal (if there's a normal map) and the clear coat normal already (which can have its own normal map). That means we already have 2 different tangent frames when needed (base layer and clear coat, if either one has a normal map, they are different, otherwise we use the same tangent frame).

FWIW we keep track of the geometric normal, the base layer normal (if there's a normal map) and the clear coat normal already (which can have its own normal map). That means we already have 2 different tangent frames when needed (base layer and clear coat, if either one has a normal map, they are different, otherwise we use the same tangent frame).


Make submission requires 7zip for windows

We can remove any third-party requirements by using tools that come with Windows.

Updated make_submission.bat to use powershell vs 7zip with cb96fa94c09b25483c6e9d5ea6970ebfbe9e0bc6.
Left the make_submission_gitbash.sh as is to provide another option.


Add variables section support to BOSH manifest

Allow the service adapter to generate BOSH manifest with the variables section.
KUBO requires this functionality for integration with CredHub.

This looks good, thanks. Merging.


Duplicated bottom of image

Hi!
When taking snapshots, it looks like the bottom of the image of the screenshots are duplicated. Here an example:

There should be just 3 buttons at the bottom of the page, not 6: the other 3 are duplicated. The same is happening to me in all screenshots I take.
Why is this happening?
Thanks!

Huh that is strange, does this also happen when you use cy.screenshot() directly?

Yep, I'm afraid... I managed to "fix" this and now is working as a gem. I'll leave you some info as I'm not sure what could be failing, in case someone else finds the same problem, but I was using macbook-15 | 1440 | 900 viewport dimensions for my tests, and after changing it for something more generic (1280x720) it now works perfectly!
Thanks!

To others coming here, what I found worked for me was explicitly setting { capture: 'viewport' } which is a native Cypress cy.screenshot() option.
i.e.:
cy.matchImageSnapshot('SomeName', { capture: 'viewport' })


[Android] update tf-lite and nnfw version

update default version, tensorflow-lite v2.3.0 and nnfw v1.15.0.
Signed-off-by: Jaeyun<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #47. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

Don't need to change default version in Android-tensorflow-lite.mk ?

@anyj0527 if we need to change official version, I will update build script and mk file later.


Add possibility to set "preserveAspectRatio" for svg

Hi there,
I have a problem with resizing of my SVG image while using your package. preserveAspectRatio attribute allows you to tell from which anchor point to scale, but inside of your implementation this attribute is hardcoded to preserveAspectRatio="xMidYMid meet". I have an idea to create a pull request to fix it and start passing this attribute as a prop. What do you think?
Thank you,
Igor

should this work?
<MorphReplace preserveAspectRatio="...">
...
</MorphReplace>

https://github.com/gorangajic/react-svg-morph/pull/20
I did fix in this PR.


Add IfIsHumanReadable

Closes #687
Used to specify different transformations for text-based and binary formats.

This already looks really good :) It has all the parts, documentation, test, and a mention in the user guide. I will merge this as is.

Sure, I published 3.6.0 containing this change. Thanks again for preparing it.


Cannot paly video using Gstreamerbackend

We are working on the latest chromium release that we integrated with the GStreamer Samsung Backend, following the instruction from the official website.
We try to play videos without success(local videos, videos on youtube).
It seems that the video never starts.
In chromium flags the gstreamer option is enabled. Using gstremer as standalone application  all are fine.
We use a Beebox Asrock ( http://www.asrock.com/microsite/Beebox/ )with the latest intel drivers  in which the latest Debian 9 has been installed.
Any error in console is appeared. Could you please give us a hint?
Chromium starts using ./chrome --no-sandbox

same issue for me, did you find a solution since one years ? :)
gstreamer stop after GstTypeFindElement without errors or warnings.

update: after removing the glimagesink and let the default video-sink to xvimagesink, playback is functional but appear in a separate window.

@omasse-linaro Hi, did you get anywhere with this? We're trying to support HW video acceleration on NVIDIA Tegra 3.
The PDK comes with gstreamer examples which support HW video acceleration via OpenMax, but there is also support in the upstream kernel for VDPAU - which we might be able to integrate with the existing (and supported) VA-API backend in Chromium.
I'm trying to decide which is the best way forward. Any experience you had with this backend would be useful to know about. Thank you!


Error when patch and source files are almost empty

Hello,
First, thank you for writing this tool. Very useful.
I got this error:
Traceback (most recent call last):
  File "/home/user/.local/bin/csvpatch", line 11, in <module>
    sys.exit(csvpatch_cmd())
  File "/home/user/.local/lib/python3.4/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/user/.local/lib/python3.4/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/user/.local/lib/python3.4/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/user/.local/lib/python3.4/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/user/.local/lib/python3.4/site-packages/csvdiff/__init__.py", line 218, in csvpatch_cmd
    patch_file(patch_stream, fromcsv_stream, tocsv_stream, strict=strict)
  File "/home/user/.local/lib/python3.4/site-packages/csvdiff/__init__.py", line 69, in patch_file
    fieldnames = from_records.fieldnames
AttributeError: 'generator' object has no attribute 'fieldnames'

when applying an empty patch file
{
  "_index": [
    "W",
    "B",
    "B2"
  ],
  "added": [],
  "changed": [],
  "removed": []
}

to an almost empty document:
"UE","W","B","B2","B3","UB",

Thanks for the report. I found the problem and put out a new release: https://pypi.python.org/pypi/csvdiff/0.3.2

Thank you very much.


Create a spring-boot module

Spring integration should be as painless as possible. Just having the sql-stream spring module on the classpath should register an instance of Sql taking its datasource directly from the context.
The spring module should also hook into the transaction API to follow the experience spring users will expect with regards to declarative transactions.
https://docs.spring.io/spring-framework/docs/4.2.x/spring-framework-reference/html/transaction.html

https://github.com/bendem/sql-streams-spring


Retrieve Account Id and Region using Amplify Override

Is this feature request related to a new or existing Amplify category?
api
Is this related to another service?
No response
Describe the feature you'd like to request

Retrieve AWS Account ID and Region using the override feature of Amplify.

Example :
 resources.api.GraphQLAPI.logConfig = {
    fieldLogLevel: "ERROR",
    excludeVerboseContent: true,
    cloudWatchLogsRoleArn: `arn:aws:iam::${accountId}:role/service-role/${getProjectInfo}-appsync-graphqlapi-logs-${envname}`,
  }

Describe the solution you'd like

Add AWS Account ID and Region in existing AmplifyProjectInfo category.

Describe alternatives you've considered
We could use "amplify-meta.json" and "pre-push.js" file.

Create "prepush.js" file under "amplify/hooks"

const fs = require("fs");
const parameters = JSON.parse(fs.readFileSync(0, {encoding: 'utf8'}));
let accountId, region, environment;

try {
    const amplifyMeta = JSON.parse(fs.readFileSync("amplify/backend/amplify-meta.json"));
    accountId = amplifyMeta.providers.awscloudformation.AuthRoleArn.split(":")[4];
    region = amplifyMeta.providers.awscloudformation.Region;
    environment = parameters.data.amplify.environment.envName;
    projinfo = amplifyMeta.providers.awscloudformation.AuthRoleArn.split("/")[1];
} catch (e) {
    console.warn("No amplify-meta.json found, falling back to environment variables");
    accountId = process.env.CUSTOMER_ACCOUNTID;
    region = process.env.AWS_REGION;
    environment = process.env.AWS_BACKEND_ENVIRONMENT_ARN.split("/").pop();
}
if (!accountId || !region || !environment) {
    throw new Error("Couldn't find accountId, region or environment");
}
const content = `export const BuildContext = {
    "environment": "${environment}",
    "account_id":"${accountId}",
    "region":"${region}"
}`;
console.info("config-override content:", content);
try {
    fs.writeFileSync(`amplify/backend/auth/mytestappsetup2b34051c/config-override.ts`, content);
    fs.writeFileSync(`amplify/backend/api/mytestappsetup/config-override.ts`, content);
    process.exit(0);
} catch (err) {
    console.error(err);
    process.exit(1);
}

Ref : issues/9063

config-override.ts file

export const BuildContext = {
    "environment": "${environment}",
    "account_id":"${accountId}",
    "region":"${region}"
}

override.ts file

import {AmplifyApiGraphQlResourceStackTemplate  } from "@aws-amplify/cli-extensibility-helper";
import { BuildContext } from "./config-override";
export function override(resources: AmplifyApiGraphQlResourceStackTemplate) {

  const accountId = BuildContext["account_id"];
  const envname = BuildContext["environment"];
  const regions = BuildContext["region"];
  const getProjectInfo = "mytestappsetup";

  console.log("account id:", accountId);
  console.log("envname:", envname);
  console.log("region:", regions);
  console.log("projectinfo:", getProjectInfo);

  // enable logging
  resources.api.GraphQLAPI.logConfig = {
    fieldLogLevel: "ERROR",
    excludeVerboseContent: true,
    cloudWatchLogsRoleArn: `arn:aws:iam::${accountId}:role/service-role/${getProjectInfo}-appsync-graphqlapi-logs-${envname}`,
  };
}

Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request

Would this feature include a breaking change?

[ ] ⚠ This feature might incur a breaking change

Hey @shivennn :wave: you can reference the Account ID and region by writing raw CloudFormation with addPropertyOverride()
import { AmplifyApiGraphQlResourceStackTemplate } from '@aws-amplify/cli-extensibility-helper'

export function override(resources: AmplifyApiGraphQlResourceStackTemplate) {
  // create a Tag to demo
  resources.api.GraphQLAPI.addPropertyOverride('Tags', [
    { Key: 'Name', Value: { Ref: 'AWS::StackName' } },
    {
      Key: 'MyString',
      Value: {
        'Fn::Join': [
          '',
          [
            'arn:aws:iam::',
            { Ref: 'AWS::AccountId' },
            ':role/service-role/',
            { Ref: 'AWS::StackName' },
            '-appsync-graphqlapi-logs-',
            { Ref: 'env' },
          ],
        ],
      },
    },
  ])

  resources.api.GraphQLAPI.addPropertyOverride('LogConfig', {
    FieldLogLevel: 'ERROR',
    ExcludeVerboseContent: true,
    CloudWatchLogsRoleArn: {
      'Fn::Join': [
        '',
        [
          'arn:aws:iam::',
          { Ref: 'AWS::AccountId' },
          ':role/service-role/',
          { Ref: 'AWS::StackName' },
          '-appsync-graphqlapi-logs-',
          { Ref: 'env' },
        ],
      ],
    },
  })
}

Where the sample Tag's value will be set to (note xxxxx is just a placeholder)
arn:aws:iam::814763xxxxxx:role/service-role/amplify-a12357-dev-75648-apia12357-DNO9ZTHULBDC-appsync-graphqlapi-logs-dev

Closing due to inactivity


Update Git to <IP_ADDRESS> version

Update Git to version <IP_ADDRESS>

Added in release 1.4.0 of Toolbox


Update Provisio plugin

For upcoming release 1.0.19. This PR currently updates
to 1.0.19-SNAPSHOT (need to build locally to work).
For list of changes refer to commit (mvnd used 1.0.15):
https://github.com/jvanzyl/provisio/commits/master

Thx, I think 1.0.19 has just been released.


Pixel-perfect scaling mode

There could be a new scaling mode in godot that preserves pixel matching on the screen.
For example, when the window resizes, instead of trying to fit the viewport on it in various ways, only do it with integer steps (x1, x2, x3...).
An example of this would be the GUI of Minecraft when set to Auto. If you resize the screen, it will change its scale but only by an integer factor, thus keeping game pixels and screen pixels in sync. So you can actually tell that the viewport scale is equal to the number of pixels a "game pixel" takes on screen.
I could investigate of a way to do this as a plugin, but I wonder if this can actually make it in the engine.
WDYT?

I actually made a script for this not too long ago, and all you have to do is set the script as an AutoLoad. It's simple enough, I don't really know if it needs to be built in.
extends Node

onready var root = get_tree().get_root()
onready var base_size = root.get_rect().size

func _ready():
	get_tree().connect("screen_resized", self, "_on_screen_resized")

	var base_rect = Rect2(Vector2(0, 0), base_size)

	root.set_rect(root.get_rect())
	root.set_as_render_target(true)
	root.set_render_target_update_mode(root.RENDER_TARGET_UPDATE_ALWAYS)
	root.set_render_target_to_screen_rect(root.get_rect())

func _on_screen_resized():
	var new_window_size = OS.get_window_size()

	var scale_w = max(int(new_window_size.x / base_size.x), 1)
	var scale_h = max(int(new_window_size.y / base_size.y), 1)
	var scale = min(scale_w, scale_h)

	var diff = new_window_size - (base_size * scale)
	var diffhalf = (diff * 0.5).floor()

	root.set_rect(Rect2(diffhalf, base_size))
	root.set_render_target_to_screen_rect(Rect2(diffhalf, base_size * scale))

	# Black bars aren't needed, it already renders black outside of the viewport.
#	var odd_offset = Vector2(int(new_window_size.x) % 2, int(new_window_size.y) % 2)
#	VisualServer.black_bars_set_margins(diffhalf.x, diffhalf.y, diffhalf.x + odd_offset.x, diffhalf.y + odd_offset.y)

Oh, looks great :) but is there a way to get rid of the black borders when the window is resized? Like, make the game scale according to the given resolution but expand beyond the borders so we get the chance to fill it with some nice texture for example, or simply have a little bigger field of view?

Hey @Zylann,
I came across this post (fortunately) while making my first dive into Godot Engine, coming from Unity. I'm just a hobbyist, with only a couple years in Unity, but I've been pretty impressed with Godot so far.
Anyway, I'm posting because your post, and @CowThing's post made me think about possible other solutions.
I tried out his script, and it does work nicely, but I desperately wanted to avoid black space if possible.
Now, what I ended up doing, I haven't fully worked out yet, but I think its possible that it could be a solution, and I wanted your input before I just settle on it.
What I did was set (in Display settings) my stretch mode to disabled. So by doing this, my game starts out at a pixel perfect scale, but resizing the window causes the viewable area to expand if the window is made larger, and the inverse if smaller, as you would expect.
Then, instead of resizing the viewport and getting blackspace, I decided I would instead use the Camera2D node's zoom to handle the amount of space I show on either side.
So in func _on_screen_resized() , I use the new window size to test the width in pixels against some const I made to hold my main target resolutions, which I got from a list reported by steam. Basically, if the window size is less than 1600, I zoom by 2x (0.5,0.5). If its between 1600 and 2200, I scale by 3x, if between 2200 and 3k, 4x. etc.
These zoom amounts work nicely for my game which is 32 x 32 for a tile, or base size of an object. Basically, everyone wont see things EXACTLY the same, unless they are 1080, 1440, or 4k, but I plan to solve this by allowing a mouse pan to accomodate the remaining unseen portions.
Anyway, I just wanted to toss that idea out for you if you dont mind showing more/less by a margin while always remaining pixel perfect. My game is top down so its not a deal breaker to show a little more or less between AR's or window sizes, especially if the player will be able to pan more/less depending on whats shown.
Thanks for posting, big help to me!

I think it would be nice for pixel art games so it probably should be part of engine.

@tiltfox
For resizing, I make all of my backgrounds with a 1:1 aspect ratio at 1.5x times the max size of my intended viewing area. The 1.5x area is just a "bleed" zone if the user has a different aspect ratio. If view*zoom would extend beyond the 1.5x area, zoom is blocked.
Prevents players from seeing regions they shouldn't while preventing black bars on any screen. Just a bit more work to get backgrounds set up that look nice.
	var height = viewport.get_rect().size.y
	var width = viewport.get_rect().size.x
	var zoom_ratio = max(1920.0/width,1080.0/height)
	var visW = width*zoom_ratio
	var visH = height*zoom_ratio
	if visW > 1920.0*1.5 or visH > 1920.0*1.5:#Limit view area
		zoom_ratio = min(1920.0*1.5/screenSize.width,(1920.0*1.5)/screenSize.height)

@tiltfox Using Camera zoom is nice and easy to do, but it won't scale the pixel grid, but the pixels themselves, even if zoom scales are integer. So you could end up with two moving objects overlapping a half of a pixel. This is not an issue for most games, but if you really want all game pixels to fit the viewport grid as in old-school games, the only way is to change the viewport size, not the camera zoom. But with this solution you get black borders, and I wonder if it's possible to get rid of them while still being able to get real blocky pixels. Maybe a different calculation?

Ah I see, for the game I was making I wanted to keep it at the same resolution, just scale it up from there. I modified the code so that the resolution can change and it will still scale up based on the initial size. There are still small black borders on the sides, but they will never be more than one scaled up pixel large (so if the scale is 7, the black border would never be more than 6 pixels large, the code also centers the image, so it would be 3 pixels on each side). This is because as far as I can tell it's not possible to render only part of a pixel using this method, it needs to be whole pixels.
extends Node

onready var root = get_tree().get_root()
onready var base_size = root.get_rect().size

func _ready():
	get_tree().connect("screen_resized", self, "_on_screen_resized")

	root.set_as_render_target(true)
	root.set_render_target_update_mode(root.RENDER_TARGET_UPDATE_ALWAYS)
	root.set_render_target_to_screen_rect(root.get_rect())

func _on_screen_resized():
	var new_window_size = OS.get_window_size()

	var scale_w = max(int(new_window_size.x / base_size.x), 1)
	var scale_h = max(int(new_window_size.y / base_size.y), 1)
	var scale = min(scale_w, scale_h)

	#This offset is needed to keep pixels square
	var offset = ((new_window_size / scale) - (new_window_size / scale).floor()) * scale
	var offsethalf = (offset * 0.5).floor()

	root.set_rect(Rect2(offsethalf, new_window_size / scale))
	root.set_render_target_to_screen_rect(Rect2(offsethalf, new_window_size - offset))

Just chiming in to say that I would love to see this as a built-in feature. For now though I am glad I found this discussion- lots of great insight on how to handle this via scripting.

I love this idea @CowThing !

@HummusSamurai Please do not bump issues without significant new information, use the 👍 reaction button on the issue post instead.

the Viewport API in Godot has everything you need to make this yourself. As it's not a feature you might use commonly, I suggest just make a script and put it in the asset library for others to use.

"the Viewport API in Godot has everything you need to make this yourself. As it's not a feature you might use commonly, I suggest just make a script and put it in the asset library for others to use."
Any pointer as to how?
The code written in this discussion is obsolete and based on 2.1 functions, and I don't think Viewport can be manipulated in that way anymore, especially in fullscreen.
I've been trying to make something like that work for a week but nothing seems to really work, aside from zooming the camera (but that has the mentioned problem of not preserving the pixel grid)

@Omiminpo Look in your Project Settings under "Display -> Window -> Stretch"
Try setting "Mode" to "2D" and "Aspect" to "keep".
You might want other settings, but you can play with them to get what you want.
Does that help?

Try setting "Mode" to "2D" and "Aspect" to "keep".

This can scale to fractional values, which will look really bad when done with nearest-neighbor-filtered textures such as pixel art.
This could be fixed by adding something like a "2D Integer" and "Viewport Integer" scaling modes, which would only resize or scale the 2D viewport by the largest integer factor possible (and fill the rest with black or another color).

@Calinou it should not necessarily fill spaces with black if the view can expand further

@Calinou it should not necessarily fill spaces with black if the view can expand further

This is only possible with the "2D Integer" scaling mode I proposed, not the "Viewport Integer" scaling mode (unless you plan on implementing fractional pixel scaling, which is possible but doesn't look ideal).

@Calinou You can set Aspect to "expand" to try to remove the black bars.

@Calinou @Omiminpo I'm writing an article on how integer-only scaling can be done using an inner viewport so you can freely set what you want to display on the borders, but the gist of it is:

Using Camera2D and an inner viewport you can pretty much do it, expand the viewport on multiples only, and set the zoom to the opposite of that multiple, so if you are scaling by two set zoom to 0.5, etc
If you want to get really pedantic and avoid using floats, instead manipulate the canvas directly, which is what Camera2D is doing anyway, please see the script below for that.

extends Node2D

const DESIRED_RESOLUTION = Vector2(320, 180)

func _ready():
	self.get_viewport().connect("size_changed", self, "on_root_vp_size_change")
	self.on_root_vp_size_change()

func on_root_vp_size_change():
	var scales = self.get_viewport().size / self.DESIRED_RESOLUTION
	var scaling_factor = floor(min(scales[0], scales[1]))
	var actual_resolution = DESIRED_RESOLUTION * scaling_factor
	$Control/ViewportContainer.margin_top = -actual_resolution[1] / 2
	$Control/ViewportContainer.margin_bottom = actual_resolution[1] / 2
	$Control/ViewportContainer.margin_left = -actual_resolution[0] / 2
	$Control/ViewportContainer.margin_right = actual_resolution[0] / 2
	var default_transform = Transform2D(Vector2(1, 0), Vector2(0, 1), Vector2())
	$Control/ViewportContainer/Viewport.canvas_transform = default_transform.scaled(Vector2(scaling_factor, scaling_factor))

On the script I've purposely kept the inner viewport in the middle by setting all anchors to 0.5 and setting margins around that, but there are other ways to do it that are probably better, such as allowing viewport to be larger on x-axis so borders are only on the sides without breaking integer scaling.
I´m not 100 % sure this is perfect, as I´m still playing with it, but seems to work well enough.

Another property that can be used to easily control the viewport pixel size is Viewport's set_size_override method.

Here is a full example
extends Node

onready var viewport = get_viewport()
onready var content_width = ProjectSettings.get("display/window/size/width")
onready var content_height = ProjectSettings.get("display/window/size/height")

func _ready():
	viewport.connect("size_changed", self, "window_resize")

func window_resize():
	var window_size = OS.get_window_size()

	var x_multiple = floor( window_size.x / content_width )
	var y_multiple = floor( window_size.y / content_height )

	var multiple = min( x_multiple, y_multiple )

	if (multiple < 1):
		multiple = 1

	var target_size = window_size / multiple

	viewport.set_size_override(true, target_size)

	# center viewport on content
	viewport.global_canvas_transform = Transform2D( 0, Vector2( target_size.x/2 - content_width/2, target_size.y/2 - content_height/2) )

Here is a full example project:
scaleExample.zip
The example uses a 320x240 screen (content) size set in project settings with a 320x240 image with an alternating pixel background to check for artifacts. 2D pixel snapping had to be turned on and the image's filtering is off.
What I found is that at 3x, there is sometimes a vertical or horizontal artifact at some widths/heights. It seems at some sizes it can't map the pixels exactly. Maybe it can be fixed by checking and tweaking the values a bit, I'm not sure.

n-pigeon

I think it would be nice for pixel art games so it probably should be part of engine.

reduz

As it's not a feature you might use commonly, I suggest just make a script and put it in the asset library for others to use.

Why would this not be used commonly? There is definitely demand for it (in this thread, here and here) And I for one would want to see how my pixelart game looks without any halve-pixels scaled up pixels on screen. I agree with n-pigeon it probably should be part of the engine for everyone who created pixel art games. This is anything but a small portion of Godot users after all.
Right now, you have to wade through comments on reddit (I would not have found this thread here otherwise) for solutions you don't even know how well they are supported. If there are performance or other usability costs. If it would be part of the preference settings, as I newbie, I would not have any of these worries.
And if features are missing (like the ability to scale without black bars) they could be tracked and discussed here on github and added to in future releases.

I had an issue with my fonts becoming distorted if the resized window's size contained an odd number.
I used this code in a screen_resized signal:
	var size = OS.get_window_size()
	var nW = size.x
	var nH = size.y

	if int(size.x) % 2 == 1:
		nW = size.x + 1
	if int(size.y) % 2 == 1:
		nH = size.y + 1

	get_viewport().set_size_override(true, Vector2(nW, nH))

Before and After
Hope that helps.  I stumbled upon this issue from Google

Closing in favor of https://github.com/godotengine/godot/issues/6506, as feature proposals are now tracked in the Godot proposals repository.


Sidecar judge which module can be process by app configuration

Description
This PR provide an optional way for daprd to judge which module should process. If app provide a module name list, daprd will only init module which in the list.
By default, daprd will process all component which can be loaded.
Issue reference
Please reference the issue this PR will close: https://github.com/dapr/dapr/issues/2940
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@theonefx tests are failing.

@theonefx tests are failing.

I'll fix it right away

@yaron2 @daixiang0 the e2e test has passed

Please, validate this with E2E tests first. Overall, I am concerned about this feature changing the order of sidecar initialization.
How is this different than https://docs.dapr.io/operations/components/component-scopes/ ?

Please, validate this with E2E tests first. Overall, I am concerned about this feature changing the order of sidecar initialization.
How is this different than https://docs.dapr.io/operations/components/component-scopes/ ?

There is a key difference: "Who decides which components can be loaded" :

Namespace-based solutions defer this decision until the deployment phase;
AppConfig-based solution, this is decided at the development phase;

The difference is that developers or operations maintain component data;
If AppConfig-based solution is supported, the following scenario can be implemented:
Operations can maintain a large component pool, and application developers can determine which components are loaded just by looking at component names.
Of course, AppConfig-based solution is an optional feature, and Namespace-based is valid whether or not developers configure it;

Please, validate this with E2E tests first. Overall, I am concerned about this feature changing the order of sidecar initialization.
How is this different than https://docs.dapr.io/operations/components/component-scopes/ ?

There is a key difference: "Who decides which components can be loaded" :

Namespace-based solutions defer this decision until the deployment phase;
AppConfig-based solution, this is decided at the development phase;

The difference is that developers or operations maintain component data;
If AppConfig-based solution is supported, the following scenario can be implemented: Operations can maintain a large component pool, and application developers can determine which components are loaded just by looking at component names.
Of course, AppConfig-based solution is an optional feature, and Namespace-based is valid whether or not developers configure it;

My main question is about the component scope section. What is the added value of this changed compared to the existing filter we have already implemented here: https://github.com/dapr/dapr/blob/0ba79334e6fe81e2a0539b70abfe2b696beef05f/pkg/runtime/runtime.go#L1688
In summary, this feature is already present in runtime. Unless I am missing the context here.

Let me summarize my understanding:
The current approach lets the operator / devops person define which Dapr components exist in a certain namespace and which applications have access to the component.
But additionally an application developer may want to improve the performance of their application (e.g. limit the memory footprint of the sidecar, remove components that are slow to initialize and not needed etc) from the sidecar that connects to their application.
The request here is to additionally instruct the sidecar only to initialize certain components, even if the operator allowed the application to have access to more components.
I can see this being desirable in organizations where developers cannot manage / modify component definitions themselves.


Twitch

Hi, i have seen this modloader in the mods for 1.13 in the twitch app but it did not add the 1.13-rift-1.0.1 in the versions folder in the roaming appdata folder .minecraft/versions it is installed and it works with the Java Launcher. I copyed the 1.13-rift-1.0.1 from .minecraft/versions to the version directory of twitch but it dont work :( any idea how i can use your modloader with twitch?

Twitch launcher is beyond the control of Rift. Twitch and CurseForge are very particular and aren't open-source, so there is no current way to use Rift with Twitch. I would recommend using the MultiMC instance the developers have created.
Rift.zip

Rift isn't planned for 1.14 just yet, since 1.14 isn't even out.


Alignment of headings

By going through the website, I came to see that the subheadings are not properly aligned throughout the webpage .Few are at the center and few are either little left or little right from the center.

please assign to me @Soumya6Tiwari

please assign this issue to me, i can work on this,  i can make the changes, and resolve this issue and i'll make responsive

i can make it look much better by applying the knowledge i have ,i can add some professional looking animations and add clean font and provide users a better experience,  i would be glad i was assigned this issue , thank you.

I've actually solved the issue , could you just assign me the task and I'll push the changes


Useless return in wagtail.wagtailforms.forms.BaseForm

Looks like wagtail.wagtailforms.forms.BaseForm have a useless return in __init__ method.

Thanks!


Add option to FIPS module to enforce EMS check during KDF TLS1_PRF

Fixes #19989
The check is disabled by default.
It can be enabled via fipsinstall using '-ems_check'
It can be removed from openssl config using 'no-fips-ems_check'
To detect its use inside the TLS_PRF it looks at the label.. If the label is 'mastersecret' then the check fails.
TLS1_PRF is used multiple times for other purposes, so if we need to pass it as a param then it may need multiple params passed.

Checklist

[x] documentation is added or updated
[x] tests are added or updated

CI is relevant

OTC: do we want the FIPS EMS check as a separate build time option even if this check is off by default?

OTC: ditch the configure time option.

approved subject to removal of the compile time build option as per OTC disucssion

build time option removed

Rebased to fix a conflict, and removed spacing change in Configure file  (So Configure is not part of the commit)

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

CI is relevant

@paulidale? Did you want this in 3.1? Waiting till OTC meeting put this inside the freeze period?

Yes to 3.1.  We will need this come the transitions.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

OTC: should this go to 3.1?

OTC: this is okay to go into 3.1.

Merged to master and 3.1 branches. Thank you.


Campaign | Challenges: Decline opposing team challenge

Once a team gets a challenge invitation, they can also decline it.

Prototype: https://www.figma.com/proto/7wE0Iveas3GGb8u4oL0714/App-Design-Mitglieder-App-(1)-(Copy)?node-id=2769-7270&t=b8swD5IOAFfZ0OSo-1&starting-point-node-id=2425%3A17429
Pollion reference: https://github.com/pollion/sunflower-app/issues/102

UX questions @leagerndt @JuliaFreitagBGSt:

can everybody in the team decline such an invitation or just the team lead?


Remote Remote Requests/Commands

I've poked around the code a bit and there doesn't seem to be an implementation of sending remote requests/commands as listed on the natnet docs (c# example):
https://v20.wiki.optitrack.com/index.php?title=NatNet:_Remote_Requests/Commands#ErrorCode
Is this at all possible?
If not I'm happy to get started implementing it if you could point me in the right direction on where to get started making changes.

Hey, thanks for the request. I haven't implemented those as I've never needed them, but it shouldn't be too tricky.
First, get set up with some other application that allows you to send them (e.g. probably WinFormsSample from the NatNet SDK), capture some network traffic with Wireshark or similar, find the request packet and the response packet (they should start with 0x02 0x00 and 0x03 0x00), and dump them to files (as I have for each packet type in test_data/).
Then you can implement a RequestMessage and ResponseMessage class in the protocol module (like the other message classes), using your dumped packets as test data for unit testing.
At that point you should be able to test your code against Motive by sending a command with Connection.send_message and blocking until you get a response with Connection.wait_for_message_with_id.
From there it would just be a matter of adding a send_command method to Client and a handling responses in Client.run_once.
Out of interests, what do you want to use requests or commmands for?

Thanks for the pointers, hopefully I'll have some time in the next couple of weeks to get started with a proper implementation.
I'm currently running motive along side an eye tracking system and lab streaming layer for synchronization. I wrote a basic python tool to control each system simultaneously, rather than having to manually trigger and update everything (start/stop recording, update save names, etc).  Up to now I was able to get by with hijacking control of the GUIs themselves using pywinauto, but it wasn't worth it to update this method to working with motive 2.0 (we were using 1.9 previously and the UI changed a lot), and we'll soon be adding in more data streams, so I figured I'd do it properly this time.


JPA and JTA in MP native-image

Add support for JTA and JPA with Hibernate in MP native-image

Related to #716


Error in files related to XLToolbox on loading Excel

Every time I load Excel, I get the following error message:

error059760_01.xmlErrors were detected in file 'C:\Users<myusername>\AppData\Local\Temp\qi1yxnpn.kj2\XLToolbox.Legacy.XLToolboxLegacyAddin.xlam'Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.
I am also told "Excel was able to open the file by repairing or removing the unreadable content."
I am running Excel 2010, 32 bit, on a machine that is running Windows 10. The machine was originally installed with Windows 7, 64-bit and has been upgraded to Windows 8.0 --> 8.1 --> 10 (Home). My computer hardware is Intel Core i5-4430 running at 3.00 GHz. I have 12 GB of RAM, 2 GB of Video RAM, and 6 TB of hard drive storage across two physical drives.

That's a harmless error message. I've changed the code to load the legacy add-in (Basic code) so that certain errors experienced by some users are suppressed. I did not notice that this may cause these messages which really don't mean anything in this particular scenario.
You have two options: Revert to 7.1.2 (available for download at www.xltoolbox.net or at https://github.com/bovender/XLToolbox/releases), or keep clicking "OK" and wait for 7.1.4 which I'll release shortly, maybe today or tomorrow.
My apologies for the inconvenience!

I'll keep using it. I like it, and so long as it's harmless, I'm not worried about clicking okay.
Thanks for the quick response.
Robert
----- Original Message -----
From: "Daniel Kraus"<EMAIL_ADDRESS>To: "bovender/XLToolbox"<EMAIL_ADDRESS>Cc: "RHWoodman"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Sent: Thursday, September 15, 2016 12:09:23 AM
Subject: Re: [bovender/XLToolbox] Error in files related to XLToolbox on loading Excel (#186)
That's a harmless error message. I've changed the code to load the legacy add-in (Basic code) so that certain errors experienced by some users are suppressed. I did not notice that this may cause these messages which really don't mean anything in this particular scenario.
You have two options: Revert to 7.1.2 (available for download at www.xltoolbox.net or at https://github.com/bovender/XLToolbox/releases ), or keep clicking "OK" and wait for 7.1.4 which I'll release shortly, maybe today or tomorrow.
My apologies for the inconvenience!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .


[PLUGIN REQUEST] Compiler.nvim

Field
Description

Plugin
Compiler.nvim

Homepage
https://github.com/Zeioth/compiler.nvim

Nixpkgs
false

Extra Information
This plugin depends on overseer.nvim, which is in nixpkgs but not in nixvim (#1528).

this is a good one i think i wanted this but it was not in nixpkgs
so someone has to add compiler.nvim as nix pkgs ?

I asked @GaetanLepage how to add vim plugins to nixpkgs and apparently it's not that hard, but when I followed these steps (linked later) to try submitting a PR, I didn't get the same result as what was in some of the PR's I was seeing. Maybe if you try you'll get different results? The comment with how to do it is here: https://github.com/nix-community/nixvim/issues/1338#issuecomment-2025118208

I asked @GaetanLepage how to add vim plugins to nixpkgs and apparently it's not that hard, but when I followed these steps (linked later) to try submitting a PR, I didn't get the same result as what was in some of the PR's I was seeing. Maybe if you try you'll get different results? The comment with how to do it is here: #1338 (comment)

What method have you tried ? Running the script or manually appending the relevant snippet to generated.nix ?

https://github.com/NixOS/nixpkgs/pull/312410 a PR has been made :white_check_mark:


Fix Any as input of operator and workflow

Fixes #1670
A PR is required server-side for the LegacyGrpc server type to work.

Thanks @PProfizi! Maybe just a fixture needed to protect the verison and then a PR on the server...

Thanks @PProfizi! Maybe just a fixture needed to protect the verison and then a PR on the server...

Yep, will do! I was waiting to know which versions would fail.

Thanks @PProfizi! Maybe just a fixture needed to protect the verison and then a PR on the server...

Yep, will do! I was waiting to know which versions would fail.

BTW, quite nice and explicit error message :)


Build failed to compile on GitHub Actions after last runner upgrade

Describe the bug
Since May 15/16, after the latest update of the runner hosted by GitHub (ubuntu22.04) the build of my application started to fail with errors related to Gremlinq code. There were no changes in the codebase. Rerun on last sucessful run ends with same errors.
error CS0121: The call is ambiguous between the following methods or properties: 'IVertexGremlinQueryBase<TVertex>.Properties<TValue>(params Expression<Func<TVertex, TValue>>[])' and 'IVertexGremlinQueryBase<TVertex>.Properties<TValue>(params Expression<Func<TVertex, TValue[]>>[])'

code:
    public async Task RemoveEdgeHints<T>(string id, string[] hintNames) where T : IEdgeHints
    {
        await _g.V<T>().Where(x => x.Id == id).Properties(p => p.EdgeHints!).Where(x => hintNames.Contains(x.Value)).Drop();
    }

and:
error CS1061: 'PartnerProfile' does not contain a definition for 'Coalesce' and no accessible extension method 'Coalesce' accepting a first argument of type 'PartnerProfile' could be found (are you missing a using directive or an assembly reference?)

Tried also on macos runner with same result, but it works on windows-2022.
Version information
11.2.5 with package.lock restore
Minimal working example
    - name: dotnet ♻ restore
      run: dotnet restore --locked-mode

    - name: dotnet 📖 publish
      run: dotnet publish "${{ inputs.dotnetWorkingDirectory }}" --no-restore `
            --configuration ${{ inputs.dotnetConfiguration }} `
            --output "${{ inputs.dotnetWorkingDirectory }}/publish"

Does anyone experience a similar issue? There are no issues during local build both on windows and macos machine.

I have noticed SDK change between runner versions and tried the below step but it didn't help.
      - uses: actions/setup-dotnet@v4
        with:
          dotnet-version: '8.0.204'

I thought it would be enough, but will still use 8.0.300. I wish I had asked earlier.... The above step + global.json solved my problem.
{
  "sdk": {
    "version": "8.0.204"
  }
}

Thank you!

Update: Visual Studio 17.11.0 Preview 2.0 and .NET 9.0.100-preview.5 have the compiler fix.

Fixed in Visual Studio 17.11.0 and .NET SDK 8.0.400.


Dev Home Service

Suggested new feature or improvement
I'd like a service to help me stay productive in my ideal state.
Scenario

Periodically check WinGet package updates and inform me when new packages are available.
Automatically update my packages with WinGet when updates become available.
Inform me when a package I've pinned with WinGet has become non-compliant with my setting.

The discussion has also suggested some improvements around helping keep my system properly configured.
I'm sure there are several other scenarios associated with making developers more productive and keeping them informed.
Additional details
Over at the WinGet repository, we've been asked about a service that could help keep WinGet packages updated:

https://github.com/microsoft/winget-cli/issues/212

I think this should also be extended to other package managers as well:

#20

I would ABSOLUTELY LOVE THIS feature, omg. It could replace my winget update --all scheduled task.

I could see this information getting surfaced through the apps and packages management experience (https://github.com/microsoft/devhome/issues/1984) or handled through the proposed notification system (https://github.com/microsoft/devhome/issues/1915)


Player: add an optional config option

Currently, ktk.Player accepts a segments dictionary as an optional argument to draw lines between markers.
Also, currently, ktkPlayer doesn't allow drawing vectors such as forces and moments. For this, we must have an origin.
We could add an optional config argument that would be a dict of dicts, to specify information relative to some markers. For example:
config['MarkerName']: {
'color': char,
}
config['ForceName']: {
'origin': 'MarkerName',
'scale': 'm/N',
'color': char,
}
config['MomentName']: {
'origin': 'MarkerName',
'scale': 'm/Nm'
'color': char,
}

See #88 and #112


Add different coloring options to PauliList.group_commuting

What should we add?
The group_commuting method of PauliList (qiskit.quantum_info.pauli_list) currently only has one method for grouping the list of Pauli operators into commuting subsets, using a greedy method. To group a set of Pauli operators based on commutation (or qubit-wise commutation), one forms the anticommutation (or qubit-wise anticommutation) graph, in which nodes representing qubits are connected with edges if they do NOT commute (or qubit-wise commute). Then a node coloring on this graph corresponds to a grouping into commuting (qubit-wise commuting) subsets.
The current method is restricted to use Rustworkx's graph_greedy_color function, but there are many other heuristics for node coloring out there, such as Recursive Largest First (https://en.wikipedia.org/wiki/Recursive_largest_first_algorithm) and DSatur (e.g. https://link.springer.com/book/10.1007/978-3-030-81054-2, which also contains other examples). It would be great to give the user a few options of heuristic (greedy_graph_color could still be used as the default), since this is an NP-complete problem in worst-cases and in practical cases of relevance, greedy_graph_color often does not find the optimal grouping.

@jakelishman

A number of heuristics are implemented here in C++ https://rhydlewis.eu/gcol/

Need to enhance rustworkx as well @mtreinish

Indeed, it's easy to reduce an edge-coloring problem to a node-coloring problem, but  (afaik) not the other way around. I don't know either if the original problem can be directly recast as an edge-coloring problem.
@willkirby1, what are the typical graph sizes (number of nodes and vertices) for your problem? Also, do you know which of the algorithms described in the book perform best in practice?

I just came across this coincidentally. Whether or not additional coloring methods can/should be exposed as part of the group_commuting API aside, I would suggest that we actually make the method which constructs the Pauli graph part of the public API. Specifically, this means turning PauliList._create_graph into a public method, such as PauliList.noncommutation_graph. The equivalent can be exposed via SparsePauliOp.
This will give users the freedom to use whatever rustworkx algorithm to perform the coloring themselves until more options are exposed via the group_commuting API.
I can work on a PR to do this, as well as some other minor de-duplication of code around this topic inside PauliList and SparsePauliOp if that is a desired approach :+1:

@alexanderivrii the graph sizes could vary widely, from e.g. 10s of Paulis for tiny toy Hamiltonians up to millions or more for medium-sized chemistry Hamiltonians. IMO, though, adding more options for heuristics and making the method performant enough to handle such extremely large cases are really two different issues. And no, I don't know which heuristics work best or if there is any real pattern to them, which is part of why I thought it would be good to just have a few options that the user could try.

And one more question: how are these commuting subsets of Pauli operators used later? In particular, do you want them to satisfy other properties, or the only required property is that their number is as small as possible?

The only property we would still want is that we can specify whether local or global commutation is used to form the graph. Otherwise, I think for the coloring itself the main goal would just be as few colors as possible since that will translate into the smallest number of distinct circuits. There might be other desiderata in some circumstances, but I don't know of any...

We're now merging #11795, which will make the non-commutation graph part of the public API, but that PR doesn't change the mechanisms of SparsePauliOp.group_commuting, so I'll leave this issue open for further discussion.


Autorest Regen Preview to 3.0.0-alpha.20230503.2 by Chun Yu from refs/pull/3350/head

Triggered from https://github.com/Azure/autorest.csharp/pull/3350

API change check
API changes are not detected in this pull request.


Make sorting code example more complete

As requested in https://github.com/MicrosoftDocs/WindowsCommunityToolkitDocs/issues/234

Docs Build status updates of commit 3282648:
:clock10: Full build: the average full build time is 5 min(s) 36 sec(s), this is based on the last 7 build(s) for this repository.

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

File
Status
Preview URL
Details

docs/controls/datagrid_guidance/group_sort_filter.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


question about 0.13.x doc

Hi, guy.
i found a question about example in react document.
https://github.com/rackt/react-router/blob/0.13.x/doc/00 Guides/Router Overview.md
if i take below configration. it will be ok when i enter /inbox/message/232.

but your markdown has a little difrent. i think it is wrong.

PLS mend this , if it is really clerical error.

v0.13.x is no longer supported.

but 2.x is RC right now. what time is the stable time?

1.x is stable. 2.x is almost stable and is preferred, though.


Monitor disk usage metrics for the JENKINS_HOME

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your master branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

What
Add disk usage metrics for the JENKINS_HOME.
Metric id jenkins.disk.usage
I've decided to use the MonitoringComputerListener instead creating it somewhere else or using any Periodic Jenkins task since setUpdater was something useful for this particular context.
Manual Tests

Issues
Closes https://github.com/jenkinsci/opentelemetry-plugin/issues/74

My understanding, based on my experience with the Jenkins Pipeline Maven Plugin that heavily involves optional dependencies, is that

The entire MonitoringComputerListener extension will NOT be loaded if the cloudbees-disk-usage-simple plugin is not installed because MonitoringComputerListener will have a ClassNotFoundException on com.cloudbees.simplediskusage.QuickDiskUsagePlugin and on com.cloudbees.simplediskusage.DiskItem.
A simple solution to dal with code related to optional dependencies is to create dedicated @Extension, we could create a dedicated DiskUsageMonitoringComputerListener next to the MonitoringComputerListener
I propose as a temporary defensive approach to mark the cloudbees-disk-usage-simple as required instead of optional.


Jump to Item is not working

I am using this code:
`for i in 0 ..< songInfoArray.count {
let item = songInfoArray[i]

let audio = DefaultAudioItem(audioUrl: item.url artist: item.singerName, title: item.title, albumTitle: item.thumbnail, sourceType: .stream)

 sources.append(audio)

        }`

try? player.add(items: sources, playWhenReady: false)
`if songInfoArray.count  > 1 {
 try? player.jumpToItem(atIndex: songInfoArray.count - 1)

}`
**try? player.jumpToItem(atIndex: songInfoArray.count - 1)** is not working
the player always play the songs from the start

Sorry, it is hard for me to understand your issue.
It is much easier to understand your code if you are clear on what you expect to happen, what you do, and what actually happens. Also please provide what version you are on when reporting an issue.

The issue is I am populating the source array of the fly so If I have 3 items and I added 5 and then I wanted to jump to the last item it's not working.
If I set the array with all the items at first that way it works.
I am using the last version on Github.


Upgrade to vscode-language-client 6.0.0

it would be nice to upgrade to 6.0.0
https://github.com/Microsoft/vscode-languageserver-node/blob/master/README.md#3150-protocol-600-client--600-server
there is especially fixed devDependencies to make it easier to use:
https://github.com/microsoft/vscode-languageserver-node/blob/0b7a2b3c3f00c596fe799b31d6a34a594a53e26b/client/package.json#L22
https://github.com/microsoft/vscode-languageserver-node/blob/a61f308d22a54c4e187b01fda00f061cf21b184c/client/package.json#L22

closed by https://github.com/TypeFox/monaco-languageclient/pull/199
Thanks @RomanNikitenko!


LSNBLDR-948: always show required items evem if they aren't published

See test plan in Jira.
The fixes problems with which items are visible. If an item is required it must be visible even if it's not published. The intent of requiring an item is that they have to pass the test or whatever in order to do later dependent items. If the test isn't published, they'll need to wait until it is. It's unlikely that the instructor is OK with them doing later items before the test is published, and once it's publilshed, they suddenly want access to later items to be blocked.
In testing, I found a problem with the original code. If the item isn't required, then it's not supposed to show if it's not published. But for a couple of item types it showed. That's because I pushed an advisor and then did an accessibility test that would always return true due to the advisor.

What may not be obvious is that in doing availability checks, only items that are visible are checked. So making an item invisible means it's not check to see whether later items can be done. I could rearrange the code to allow unpublished items to be counted in computing availablility of later items but not show them to the user. But that would leave the user puzzled as to why items aren't available yet.


Names with diacritics not returned when searching

Describe the bug
When I search for people with diacritics (e.g. Tomaszewska & Ślipiński) without including those diacritics, the names do not appear and are not selectable.
To Reproduce
Steps to reproduce the behavior:

When I am editing a taxon name.
Then I go to the "Person" tab under "Author"
And I search "Name"
Then I only see "Name" without diacritics, instead of "Náme".

Name searched without diacritics:

Names searched with diacritics:

Expected behavior
Searching the name with or without diacritics should return both names with and without diacritics for selection.
Environment (please identify where you experience this bug:

Production - Cucujoidea Species File
Chrome

Technically not working incorrectly, it could just be working differently. It may be difficult to enable this without a different indexing backend.

I'd be a good thing to have to keep undergrads or data entry folks from adding duplicate names.

Duplicates are more effective in some ways because they let the user concentrate on data entry, and curators concentrate on curation.  Remember Uniquify people and other data objects will be possible.

Still ... it's better to not have the duplication at all right? I can see this being a problem if we increase the number of foreign users of TaxonWorks. If it's an underlying indexing problem, better to solve it now rather than later right?

Normalized data is of course nice for many reasons.  Out of curiousity have you ever interacted with any curatorial system that did this well?
Links for devs (you can see how infinitely more complicated back end bits get).

https://thoughtbot.com/blog/optimizing-full-text-search-with-postgres-tsvector-columns-and-triggers
https://gist.github.com/rach/9289959

I have not, but it would be great if one did.

Exactly ;)
On Thu, Mar 14, 2019 at 4:44 PM Tommy McElrath<EMAIL_ADDRESS>wrote:

I have not, but it would be great if one did.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SpeciesFileGroup/taxonworks/issues/879#issuecomment-473054393,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABYSEY1mu2gmTV0ngfGv2PN9fm9ZMuBks5vWrS7gaJpZM4b0yne
.

https://www.postgresql.org/docs/current/unaccent.html

If you add as alternate values, then search should work at present.  Still not the guessing/fuzzy, but for common names this is a good solution.

See - https://blog.crunchydata.com/blog/postgres-full-text-search-a-search-engine-in-a-database

Honestly this issue isn't an issue for me with alternate values. Not sure if still an issue with indexing or search calls? If not, then I think closing is fine.


Number of trees in multiclass classification in LightGBM

I am using iris dataset to perform multi-class classification using LightGBM. The code snippet is given below:
from sklearn import datasets
from sklearn.model_selection import train_test_split
import pandas as pd
import numpy as np
from time import time
from sklearn.metrics import r2_score, mean_squared_error
import lightgbm as lgb
iris = datasets.load_iris()
df_features = iris.data
df_dependent = iris.target
x_train,x_test,y_train,y_test = train_test_split(df_features,df_dependent,test_size=0.3, random_state=2)
params = {
    'task' : 'train',
    'boosting_type' : 'gbdt',
    'objective' : 'multiclass',
    'metric' : {'multi_logloss'},
    'num_leaves' : 63,
    'learning_rate' : 0.1,
    'feature_fraction' : 0.9,
    'bagging_fraction' : 0.9,
    'bagging_freq': 0,
    'verbose' : 0,
    'num_class' : 3
}
lgb_train = lgb.Dataset(x_train, y_train)
lgb_eval = lgb.Dataset(x_test, y_test, reference=lgb_train)
gbm = lgb.train(params,
                lgb_train,
                num_boost_round=20,
                valid_sets=lgb_eval,
                early_stopping_rounds=5)

print('Save model...')
# save model to file
gbm.save_model('model.txt')

In the model.txt, I expected the number_of_trees to be equal to num_boost_round. but I see 60 trees which is num_boost_round*num_class which is wrong.
Why is this happening?

This is correct behavior. Please see:
https://lightgbm.readthedocs.io/en/latest/Parameters.html#num_iterations

Note: internally, LightGBM constructs num_class * num_iterations trees for multi-class classification problems

Any reason for this behavior in multi-class classification?

Any reason for this behavior in multi-class classification?

I'm supposed that it's because the Light GBM uses one-vs-all. For example, you have 3 classes A, B, C. The algorithm will create 3 trees for each round. The first tree is used  to classify class A and NOT A (i.e, B and C), the second tree will try to work on class B and NOT B (A and C). That's why with multi-class problem, we need n_class * num_rounds trees.
At the end,  Light GBM uses softmax function to normalize the 3 raw scores to probability, and return that to us.
For Binary problem, 1 tree each round seems enough because it already helps to distinguish 2 classes.


Tailwind Linter

This pull request contains changes for streamlining your Tailwind configuration file and utilities.
Before merging, you need to:

Checkout the shift-70789 branch
Review all pull request comments for additional changes
Verify your Tailwind build

:alembic: This Shift is still being refined. Please report any issues or suggestions to<EMAIL_ADDRESS>Your feedback is what helps improve the experience for everyone.


test

For #

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Codecov Report

Merging #6319 (e2b2b15) into main (d6ac40f) will decrease coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main   #6319   +/-   ##
=====================================
- Coverage     72%     72%   -1%
=====================================
  Files        401     401
  Lines      27063   27063
  Branches    3988    3988
=====================================
- Hits       19579   19539   -40
- Misses      5853    5879   +26
- Partials    1631    1645   +14

Impacted Files
Coverage Δ

...t/datascience/jupyter/jupyterInvalidKernelError.ts
66% <0%> (-34%)
:arrow_down:

...nt/datascience/editor-integration/hoverProvider.ts
84% <0%> (-6%)
:arrow_down:

src/client/common/process/pythonDaemonPool.ts
75% <0%> (-5%)
:arrow_down:

src/client/datascience/jupyter/jupyterSession.ts
75% <0%> (-5%)
:arrow_down:

...t/datascience/kernel-launcher/localKernelFinder.ts
80% <0%> (-4%)
:arrow_down:

...rc/client/datascience/jupyter/debuggerVariables.ts
76% <0%> (-3%)
:arrow_down:

src/client/datascience/baseJupyterSession.ts
71% <0%> (-3%)
:arrow_down:

...datascience/notebookStorage/nativeEditorStorage.ts
80% <0%> (-1%)
:arrow_down:

src/client/datascience/jupyter/kernels/helpers.ts
74% <0%> (-1%)
:arrow_down:


Enchanted macos application pings Ollama every 5 seconds

Can you add a feature to allow users to disable this behaviour?

I guess this is from "startCheckingReachability()" ?
Constantly pinging the server every 5 seconds is unnessesary.
Perhaps check one when the URI is updated then then once more on some event where it would be useful, like a chat window is opened?

Yeah this used up all my bandwidth for ngrok. Needs to be disabled.

This ate up ngrok's 20k free requests in less than 16 hours for me simply by having left it open overnight on my second Mac. In fact, my logs are showing that my iPhone sent 1000 HEADrequests - 1000 being the limit that ngrok's traffic inspector will display - for 27 GET requests and 50 POST requests.
This issue leaves users with no suitable workaround given that Cloudflare Tunnels appear to have mixed results (I hadn't investigated this yet but can there are some other issues there e.g. #88 #48), which make this an even more pressing concern and limits usage to the local network e.g. http://192.168.x.x:11434. I also have AnythingLLM running on my Macbooks without anything like this happening, no other tools I've tried do this either.
I like the look of the solution in #102 at a glance. Some duplicate issues to consolidate/close/merge: #78, #98.

Fixed by https://github.com/AugustDev/enchanted/pull/102. Releasing new version now!

I downloaded the new version and when the ios app is open it is still pinging every 5 seconds, however when the app is closed or not visible it stops pinging, which seems like the intended outcome. Thank you! I'm closing out https://github.com/AugustDev/enchanted/issues/78

This ate up ngrok's 20k free requests in less than 16 hours for me simply by having left it open overnight on my second Mac. In fact, my logs are showing that my iPhone sent 1000 HEADrequests - 1000 being the limit that ngrok's traffic inspector will display - for 27 GET requests and 50 POST requests.
This issue leaves users with no suitable workaround given that Cloudflare Tunnels appear to have mixed results (I hadn't investigated this yet but can there are some other issues there e.g. #88 #48), which make this an even more pressing concern and limits usage to the local network e.g. http://192.168.x.x:11434. I also have AnythingLLM running on my Macbooks without anything like this happening, no other tools I've tried do this either.
I like the look of the solution in #102 at a glance. Some duplicate issues to consolidate/close/merge: #78, #98.

can Enchanted connect AnythingLLM？

@unclebryan719 what do you mean? do you mean ollama?

This ate up ngrok's 20k free requests in less than 16 hours for me simply by having left it open overnight on my second Mac. In fact, my logs are showing that my iPhone sent 1000 HEADrequests - 1000 being the limit that ngrok's traffic inspector will display - for 27 GET requests and 50 POST requests.
This issue leaves users with no suitable workaround given that Cloudflare Tunnels appear to have mixed results (I hadn't investigated this yet but can there are some other issues there e.g. #88 #48), which make this an even more pressing concern and limits usage to the local network e.g. http://192.168.x.x:11434. I also have AnythingLLM running on my Macbooks without anything like this happening, no other tools I've tried do this either.
I like the look of the solution in #102 at a glance. Some duplicate issues to consolidate/close/merge: #78, #98.

can Enchanted connect AnythingLLM？

Not yet but that would be very cool. The API is not fully compatible yet. Create an issue for a feature request and me or someone else will try to make it available


Change IDM name

Description
Acceptance Criteria

[ ] Change the IDM name to didm
[x] Change the UI elements with IDM name to Nomios
[x] Register de domain: nomios.io ; nomios.app ; nomios.id

I think the renaming to Nomios is pretty much done at this point:

https://github.com/ipfs-shipyard/pm-idm/pull/79
https://github.com/ipfs-shipyard/nomios-web-uikit/pull/3
All designs were updated to use Nomios

Regarding renaming IDM to DIDm, I'm not entirely sure. I think DIDm (DID Manager) might cause the impression that the project simply managves DIDs, which is not the case. We manage everything around identities, from their DIDs to their Verifiable Credentials to interactions to issuers/verifiers. What are your thoughts about renaming IDM to DIDm @dominguesgm @PedroMiguelSS @paulobmarcos @joaosantos15?

Between those two, I think I still prefer IDM. In any case, it may be nitpicking, but I don't really like the capitalization in DIDm, though I understand it is a way to separate the DID keyword from the "Manager" part.

As I mentioned on IRC, my only concern is that there may be a chance of it being seen as us appropriating the DID term... In the sense that calling it DID Manager makes it seem like this is THE manager for DIDs. What are your thoughts on this?

Based on all the feedback, I would say to keep IDM. This will also save us some time as it would require renaming a lot of stuff.


Multiple Branch Handling

Awesome Service btw. Been looking for a good workflow for git, latex and sharing the outputs to my supervisors. This seems to be easiest solution so far!
I have a few questions that I am unsure about:
Does the CI handle multiple branches of repo? For example, my intended workflow is to create have a release branch, that CI builds off, and another branch for my own work that regularly commit to but doesn't trigger the CI build? I haven't tried any of this yet but you think it would be possible?

Isn't there yet a solution to this issue?

Github latex ci has been closed down for a few months now.


App Registration

https://dev.windows.com/en-us/overview no longer goes to registration portal

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 74a82385-7025-d364-0113-f9e952e61bda
Version Independent ID: e2932c86-a8b2-753e-9715-54444e9bce79
Content: Add push notifications to your Universal Windows Platform (UWP) app
Content Source: articles/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started-push.md
Service: app-service-mobile
GitHub Login: @conceptdev
Microsoft Alias: crdun

Hi @mganeshphani, thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

Can I get alternative. to proceed for now?
On Wed, Oct 31, 2018 at 10:56 PM Grace-MacJones-MSFT <
<EMAIL_ADDRESS>wrote:

Hi @mganeshphani https://github.com/mganeshphani, thanks for bringing
this to our attention. Your feedback has been shared with the content owner
for further review.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/18006#issuecomment-434922964,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV7GILOCeFbSL-MV-ZkdHxv1PlrHCtRgks5uqnDWgaJpZM4YExDa
.

--
Ganesh Phani Majeti.

According to the UWP Push notifications doc, you register at the Windows Dev Center.

While investigating further, I found these App Center instructions might be more relevant, and they link to https://apps.dev.microsoft.com/

I've updated the page with the link above. The new version will be published soon.


Support SMALLINT as well / unsigned functionality seems not to work at all

Hey guys,
I get a lot of [MySQL] Unsupported type: SMALLINT errors.
MySQL SMALLINT => C API MYSQL_TYPE_SHORT => C short int (16 bit) => Swift UInt16 / Int16.
Something like this in Bind+Node.swift solves my problem.
case MYSQL_TYPE_SHORT:
                if cBind.is_unsigned == 1 {
                    let uint = unwrap(buffer, UInt16.self)
                    return .number(.uint(UInt(uint)))
                } else {
                    let int = unwrap(buffer, Int16.self)
                    return .number(.int(Int(int)))
                }

On the other hand, unsigned functionality seems not to work at all. I have a lot of unsigned types in my database but cBind.is_unsigned = 0 always, as the initializer always sets unsigned: Bool = false. This result in a proper database structure being unusable at all.
Thank you,
Andrei

As far as I can tell, the unsigned functionality seems to be fixed, but SMALLINT support still isn't added. @tannernelson Is SMALLINT worth supporting? If so, we should probably open another issue for it or trim the unsigned stuff from the OP.

I need support for SMALLINT. Do you have any plans to add support for it?


Save dialog of desktop app suggests extension with two dots for PDFs

Describe the bug:

When saving a PDF report, the file dialog suggests files with the extension *..pdf, resulting in an empty list of existing PDFs.

Expected behaviour:

It should be *.pdf.
Environment:

Version: (2.0.2)
Platform: (Desktop App)
OS: (Windows)

To Reproduce:

open or create a threat model
menu: File > Save PDF
button: Save PDF

Thanks for catching this @ecobux
Do you want to create this fix? Or I can do this if you like

Please do. It would take some time to set up a development environment and get acquainted with the code.


Fix: For mac non-docker GPU builds fix handling of test concurrency. …

…(#5218)

All tests except windows passing.
Merging.


allow environment to be passed to the HTML page

Hello,
I made few changes to allow the environment to be passed from the rack middleware to the HTML page. This is especially needed when you have other middlewares in your middleware stack that defines some variables in the environment that needed to be passed to the HTML page.
Please let me know what you think. Thank you very much.

Hi @bogdanRada. Thanks for the pull request. The change sounds reasonable, but I guess I'm confused about how you're going to actually implement it.
Turnout doesn't support ERB in the HTML templates. Currently it's a Liquid style syntax, but even that isn't really Liquid since that seemed like overkill for just the {{ reason }} tag. So it's just a simple gsub to get @reason into the HTML template right now.
So how exactly are you going to use @rack_env  in your page?
Thanks for clarifying this for me.

i have multiple rack middlewares in my middleware stack and one of the middlewares is detecting the brand of the application and sets some configurations based on that. The brand howewer is set as a environment variable by this rack middleware and i can not access it unless i do some hacking. And i need to have access to this environment variable because i also need to display not only different reasons for maintenance ( that contain branded specific information)  but also different assets based on the brand.
This is currently the hack i am using and this pull request would help me get rid of the hack. I really don't like to monkey patch gems , because it will be harder in future to maintain the patches.
Rack::Turnout.class_eval do
  alias_method :call_orig, :call

  # we need to rewrite the call method and save our brand
  def call(env)
    MyAwesomeMiddleware.new(@app)

    request = Turnout::Request.new(env)
    settings = Turnout::MaintenanceFile.find

    if settings && !request.allowed?(settings)
      page_class = Turnout::MaintenancePage.best_for(env)
      page = page_class.new(settings.reason)
      page.instance_eval { @brand = env['BRAND'] }

      page.rack_response(settings.response_code, settings.retry_after)
    else
      @app.call(env)
    end
  end
end

And currently i am using Nokogiri to parse the content and insert the correct information like this
Turnout::MaintenancePage::HTML.class_eval do

  #adding html content to our default page
  def content
    brand = Rails.configuration.brands[@brand]
    content = File.open(Rails.configuration.maintenance_page, 'rb').read

    html = Nokogiri::HTML(content)
     ........
     # using here the html instance class to insert the information
     # code has been stripped from here for confidential reasons
     ........
    content = html.to_s

    content
  end
end

And if you accept this pull request, it will probably help me get rid of both monkey patches.
If you have other questions , please let me know.

Thanks for the thorough explanation. The problem I see is that defining @rack_env without any way to use it without monkey patching, wouldn't be helpful to the average user without monkey patching.
I will, however, consider adding support for maintenance.html.erb files so that the environment hash can be used in the maintenance files. If you'd like to create a pull request for that, that would be great. Otherwise I'll see if I can work on it when I have some downtime.

will definitely try my best to do those changes :) thank you

i added Tilt gem (https://github.com/rtomayko/tilt) as dependency to turnout for rendering templates.
It supports multiple engines like ERB, HAML, Liquid, so if anyone uses liquid template for their maintenance pages, they should not see any difference.
Also made the class Turnout::MaintenancePage::Base to acccept an option list , in case something else will be needed in future.
Let me know what you think. Thank you very much
Travis CI build failing seems to be not related to the changes: i think this is the reason: https://github.com/rubygems/rubygems/issues/1220

Still working on this though . Would be nice if i could find a way to use ActionView helpers in templates .
I am trying to research that.

Thanks for working on this. Adding Tilt sounds fine but I'm a bit hesitant to add actionview as a dependency since it has so many other dependencies and I think that would add a bit too much bloat for non-Ralis apps.

i already did the changes for actionview here: https://github.com/bogdanRada/turnout/tree/feature/actionview . And they do seem to work. Just need to test it more .

i have fixed the tests, and i have moved the Tilt rendering into its own class and added a check if File exists in the lib/turnout/maintenance_page.rb . Let me know what you think if you still want to proceed with Tilt or use Actionview. Thank you very much

This looks pretty good. I'd like to try this out and test the code myself before merging it but I'm a bit busy right now. I'll do my best to get to it soon though.
Thanks for all the work on this.

Great :D Thank you very much

Just one thing. I think we could relax a bit the version requirement for tilt to be >= 1.4 and < 2, because it seems actionpack and sprockets depend on tilt and Rails version that are >= 4.0 are also dependent to tilt 1.4 . what do you think?

any news on this? Does this PR need anything else to be merged? Or any other changes? I am opened to suggestions .

I apologize it's taken me so long. I wanted to play around with it before merging it because it changes so much. I've been pretty busy and I have a project deadline coming up now. But I'll make it a priority to get to it the next time I've got some free time.

ok, thanks. Let me know if there is anything i can do to help you.

Thanks for the comments. Will take a look hopefully tomorrow and see how can i improve that.

i have fixed the issue you mentioned. Let me know if it is better now or something else needs to be changed or improved. Thank you very much

Finally got a chance to try out the latest version. It looks good. Thanks for your patience and all your work on this. I'll update the README and push out a new version soon.

awesome :smile:

So I do hate to delay this any further but I had a realization as I was writing the README. There are a couple of unlikely but possible security concerns with having .erb support.

The file is in the public directory so it's source code will be readable by visiting example.com/maintenance.html.erb.
If uploads are allowed directly in the /public directory, then it would allow any code to be executed.

The second one especyally shouldn't every happen because the /public/assets directory also needs to be protected from user uploads. But it's still something to keep in mind. And I doubt anybody would put any sensitive information in their maintenance page file. But I do want to be extra cautious about security.
So my thought is to make a small change to disable the ERB pages by default with the option to enable them for the people who need it. I'll then add some warnings to the README. Eventually I may just move to a totally different location outside of /public to store the custom maintenance page templates.
How does that sound to you?

Hello,
I do understand the first part that the souce code might be readable if you visit example.com/maintenance.html.erb although this can be prevented by htaccess or virtual host configuration and also using a robots.txt to prevent spiders trying to read the content.
And it does make sense that uploads should not be allowed to override the maintenance files. But this is something that could happen with older versions as well, so that should be taken in consideration with any version, regardless if erb support is enabled or not . but i think any good developer knows that uploads should not override or rewrite application files.
And about displaying sensitive information on maintenance pages , i really doubt this would ever happen, because if maintenance mode is enabled, this pages would however be visible to anyone. So i think we should not be concerned about this aspect.
I do like the idea though of moving the ERB template to other directory. I have been thinking about this too.  Tilt is capable to render it from any location, so people that use Rails might want to put it into app/views directory.
I think if we just move the ERB template to another directory everything would be ok, because no one could access it directly from browser anymore, so first point would be solved.
You can put in the README into the TIPS section the information about not allowing uploads in the same directory, but i would not consider this as a important security concern. Because anyone can customize their own path to their own maintenance pages by setting the app_root when instantiating the Rack midldeware. So i really think this is out of this gem's control and it's up to the user to decide where he wants this files to reside .

I had some time to work on this. I added a maintenance_pages_path setting and a warning to the README. I feel this covers the bases sufficiently. So I released version 2.3.0. I hope this takes care of your needs. Thanks for all of your work on this. It's a nice new feature to have.

thank you also :)


support OpenLayers 6.15

Add OpenLayers 6.15 and OpenLayers 6.15.1 to the unit testing

Codecov Report

Merging #75 (1e88a25) into master (73470d2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #75   +/-   ##
=======================================
  Coverage   98.94%   98.94%
=======================================
  Files          69       69
  Lines        1232     1232
  Branches      190      186    -4
=======================================
  Hits         1219     1219
  Misses         13       13

Impacted Files
Coverage Δ

src/interaction/RDraw.tsx
100.00% <ø> (ø)

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 73470d2...1e88a25. Read the comment docs.


Fix custom display to amigosdobem project

Coverage remained the same at 86.428% when pulling a67ebd3b6fb7c1888d4dbfaf701be0918d768372 on fix/custom-display into 247a7a8091db13725f813cc5d0bd8301073a8470 on master.