The request was aborted: Could not create SSL/TLS secure channel.

I found a bug to report
Steps to reproduce
		var bot = new TelegramBotClient("mybotid");
		await bot.SendTextMessageAsync(
			chatId: new Telegram.Bot.Types.ChatId(mytelegramIntId),
			text: "HI",
			parseMode: ParseMode.Markdown
		);

Expected  behavior
I receive the message.  This worked previously.  February 5th was last successful message I received and I'm not seeing any update history that would affect that.

Actual behavior
Exception:
Message - An error occurred while sending the request.
StackTrace:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Telegram.Bot.TelegramBotClient.d__541.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at UserQuery.TelegramNotification.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()   at UserQueryd__0.MoveNext()
Inner Exception:
Message - The request was aborted: Could not create SSL/TLS secure channel.
StackTrace -
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar) | at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
Environment data
NuGet Package Version: 15.3
Environment.Version: 4.0.30319.42000
Environment.OSVersion.VersionString: Microsoft Windows NT 6.3.9600.0
IDE: LINQPad
App: LINQPAD
OS: Windows 2012 R2 Server

Please, search other issue before posting a new one
#868
https://github.com/TelegramBots/Telegram.Bot/issues/867#issuecomment-583138884

Was just coming to close.  I searched with 'google' and nothing showed up.  Then after submitting my bug, I saw those.  Sorry about that.


multi language in react

I think we need to use some tools that would get the annotated strings automatically. This is too error prone.

This should be considered. Do you have any suggestions?

Is it possible to use React-intl to implement multiple languages?

For internationalization of the frontend, I'd like to impose some constraints that aren't respected here:

single place for backend / frontend translations (we use Python's Babel in the backend)
should be integrated with webpack somehow so that there's different entry points built for each language somehow so that the javascript would be minified properly with only what you need as opposed to downloading all languages

To share the translation files of Python and the translation files of JS.
I looked at some information and did some experiments with API. I got some results
I translate the python translation to JS translation by calling the function method

the translation of the string is implemented in the form of reference, but to translate multiple pages, you need to send multiple requests that slow down the load. This method is not available
I tried another method, through the function call the translation of files, disposable loading to translate the language files, but the string type to call them the result of API that is not what we want to use the translation, the conversion process is not achieved.
3., I have found through other tools, such as react-intl, react-intl-universal, that internationalization functions or new language configuration files, translation files can't be unified.

I wonder if you have any new ideas to implement common translation files to achieve universal internationalization of Python and JS

@lxzhangchao seen this? https://github.com/apache/incubator-superset/issues/1926#issuecomment-313050727

@lxzhangchao if you have opened a new PR please close this one.

Changes Unknown when pulling d06df152f4b7db29be67ca0c0ff860d32835a8d7 on lxzhangchao:ch_react_page into ** on apache:master**.

Changes Unknown when pulling d06df152f4b7db29be67ca0c0ff860d32835a8d7 on lxzhangchao:ch_react_page into ** on apache:master**.

Changes Unknown when pulling d06df152f4b7db29be67ca0c0ff860d32835a8d7 on lxzhangchao:ch_react_page into ** on apache:master**.

Changes Unknown when pulling d06df152f4b7db29be67ca0c0ff860d32835a8d7 on lxzhangchao:ch_react_page into ** on apache:master**.


ci: add uf self-hosted linux-aarch64 and macos-aarch64 runners

Resolves #44.

Are we able to run this before merge to validate it won't break the build?

Yes, that's what it means when the jobs in this PR succeed.

I tried to just do a one-line swap of GitHub's ubuntu-22.04 image for BuildJet's equivalent, but the build failed on some bazel download error, so I just reverted that change.

@matthew-levan perhaps this is more trouble than it's worth and we should just use bazelisk like in your previous commit. https://github.com/urbit/vere/commit/ef5ff40ef142eab131eab3b2eada7d6c7932bb2c


MM-37697 - Updating favicons

Summary
MM-37697 - Updating favicons
Ticket Link
https://mattermost.atlassian.net/browse/MM-37697
Screenshots

Release Note
None

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: dbba16f533ab8772914f25d31cfceded804b99bc

Cherry pick is scheduled.

Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
From github.com:mattermost/mattermost-webapp
   ece79934d..1efc89653  MM-34899-fix-dark-theme-in-purchase-modal -> upstream/MM-34899-fix-dark-theme-in-purchase-modal
   f1de12b24..133a2563f  MM-37021_separate-channel-unreads -> upstream/MM-37021_separate-channel-unreads
   4daa1cf2c..c051f2f4e  MM-37429_collapsible-images-fix -> upstream/MM-37429_collapsible-images-fix
   200621e4c..e4aefe431  MM-37462-add-channel-split -> upstream/MM-37462-add-channel-split
   f425e9491..cd8485131  MM-37682            -> upstream/MM-37682
   f17a2acee..a321f4f16  MM-37707            -> upstream/MM-37707
   b04c08342..ab18d3b4b  cloud               -> upstream/cloud
 * [new branch]          fix-pipeline-master -> upstream/fix-pipeline-master
   76f71e5b7..dbba16f53  master              -> upstream/master
Fetching origin
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0-1629400505
Switched to a new branch 'automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0-1629400505'
Branch 'automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0-1629400505' set up to track remote branch 'release-6.0' from 'upstream'.

+++ About to attempt cherry pick of PR #8660 with merge commit dbba16f533ab8772914f25d31cfceded804b99bc.

[automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0-1629400505 862d20347] MM-37697 - Updating favicons (#8660)
 Author: Asaad Mahmood<EMAIL_ADDRESS> Date: Fri Aug 20 00:15:03 2021 +0500
 26 files changed, 0 insertions(+), 0 deletions(-)
 rewrite images/favicon/android-chrome-192x192.png (96%)
 rewrite images/favicon/apple-touch-icon-120x120.png (99%)
 rewrite images/favicon/apple-touch-icon-144x144.png (99%)
 rewrite images/favicon/apple-touch-icon-152x152.png (99%)
 rewrite images/favicon/apple-touch-icon-57x57.png (99%)
 rewrite images/favicon/apple-touch-icon-60x60.png (99%)
 rewrite images/favicon/apple-touch-icon-72x72.png (99%)
 rewrite images/favicon/apple-touch-icon-76x76.png (99%)
 rewrite images/favicon/favicon-16x16.png (97%)
 rewrite images/favicon/favicon-32x32.png (98%)
 rewrite images/favicon/favicon-96x96.png (99%)
 rewrite images/favicon/favicon-default-16x16.png (85%)
 rewrite images/favicon/favicon-default-24x24.png (90%)
 rewrite images/favicon/favicon-default-32x32.png (92%)
 rewrite images/favicon/favicon-default-64x64.png (96%)
 rewrite images/favicon/favicon-default-96x96.png (97%)
 rewrite images/favicon/favicon-mentions-16x16.png (86%)
 rewrite images/favicon/favicon-mentions-24x24.png (90%)
 rewrite images/favicon/favicon-mentions-32x32.png (92%)
 rewrite images/favicon/favicon-mentions-64x64.png (96%)
 rewrite images/favicon/favicon-mentions-96x96.png (97%)
 rewrite images/favicon/favicon-unread-16x16.png (85%)
 rewrite images/favicon/favicon-unread-24x24.png (90%)
 rewrite images/favicon/favicon-unread-32x32.png (92%)
 rewrite images/favicon/favicon-unread-64x64.png (96%)
 rewrite images/favicon/favicon-unread-96x96.png (97%)

+++ I'm about to do the following to push to GitHub (and I'm assuming origin is your personal fork):

  git push origin automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0-1629400505:automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0

Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
remote:
remote: Create a pull request for 'automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0' on GitHub by visiting:
remote:      https://github.com/mattermost-build/mattermost-webapp/pull/new/automated-cherry-pick-of-mattermost-webapp-%238660-upstream-release-6.0
remote:
To github.com:mattermost-build/mattermost-webapp.git
 * [new branch]          automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0-1629400505 -> automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0

+++ Creating a pull request on GitHub at mattermost-build:automated-cherry-pick-of-mattermost-webapp-#8660-upstream-release-6.0
Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "base"

+++ Returning you to the master branch and cleaning up.

/cherry-pick cloud

Cherry pick is scheduled.


subfolder exceptions no longer work

In my WordPress site .gitignore prior to v1.7 this worked to ignore all the wp-content folders and then specify some sub folders as exceptions. Using PHPStorm 2016.3.2
!wp-content/
wp-content/*
!wp-content/mu-plugins
!wp-content/themes/zeropointdevelopment

As of v1.7 all of wp-content is ignored and it doesn't seem to pick up any sub folder exceptions.

@DeveloperWil
Thanks for reporting. I've fixed it and it will be available in the next release this morning


var scoping

before varscoping Test Results Stats (6,554 ms)
after varscoping Test Results Stats (5,340 ms)
the major one i didn't address is this one....

C:\lucee\tomcat\webapps\ROOT\lucee-spreadsheet\Spreadsheet.cfc
2142
arguments
WORKBOOK
8121

I did a bit of var scoping on testbox too
https://github.com/Ortus-Solutions/TestBox/pull/110

Thanks Zac. To be honest I've generally taken Sean Corfield's view that references to vars previously defined in the variables scope of a cfc don't need to be scoped, and doing so just adds unnecessary noise.
Having said that he also applied the same principle to arguments scoped vars, but I've found a few edge cases where it creates confusion and have gone back to scoping those. Thanks for picking up a few I'd missed.
In my coding generally I no longer bother much with the pseudo "instance" scope, preferring properties, plus static variables where appropriate. I've been meaning to shift to those with this library, but I need to make sure ACF will work as I support 2016+.
If that doesn't work out then I'll probably take your advice.

I tend to somewhat agree, mostly I just went for the hot code sections* with a lot of references, but in a large file like spreadsheet.cfc, I think the overhead of lookups justifies it
*except the exception type which i did a search and replace on

I've rationalized the variables scoped vars in favour of properties, which all works in ACF (static doesn't). This should avoid a tiny bit of lookup overhead while also being clearer/more expressive.
So I'll politely decline your PR, but I really appreciate the input and time spent on it, and I have adopted your selective scoping in the test suite as well as the missing arguments scopes. Cheers Zac.


Cannot connect to the socket server. [Error: websocket error] Reconnecting...

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I have configured my reverse proxy using nginx and cloudflare with strict ssl support but my uptime kuma setup fails to open up.
Error: Cannot connect to the socket server. [Error: websocket error] Reconnecting...
🐻 Uptime-Kuma Version
1.11.3
💻 Operating System and Arch
Ubuntu 20.1
🌐 Browser
Chrome
🐋 Docker Version
Docker version 20.10.7
🟩 NodeJS Version
No response

Did you use the Nginx config from the wiki with the required headers?
https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy#nginx
Do you have websockets enabled in Cloudflare?
Please post the Nginx config if that's not the problem.

i added proxy headers and it started working, thanks for the info

你好，我根据文档进行配置了，依旧出现这种问题。


Home Page shows no Campaigns when there are campaigns seeded

when loading HomeController/Index, the page is displaying with no Campaigns

looking at the view model before it's sent back to the view, there are six campaigns that were populated from a query handler:

so we should be showing these campaigns.
Looking closer at \Home\Index.cshtml it looks like we're using knockout to populate the list of campaigns. Checking out the errors via Chrome's debugger, looks like knockout is throwing this error:

Not being a javascript or a knockout guy, my initial guess is knockout can't "define" ImageUrl b/c it's included on each CampaignViewModel coming back in the list of campaigns

and the ImageUrl used on CampaignSummaryViewModel.

which are both included on the HomePageViewModel returned to the view.
That, or there is a problem with the version of the knockout library we're using in conjunction with RTM? (this is also a guess).
A very simple fix for this is to not use knockout. We're showing a simple table of data here, so MVC is the easiest way to make that happen. After a quick refactor to use MVC/razor view to show the data, the page is working again:

Should I submit a PR for this by "knocking out"  :facepunch: the knockout code?

Any ideas as to why this broke after the rtm update?
IIRC the organisation page also does not display data.

Again, my guess is something with our version of knockout and RTM? Just a gues. I'd  check to see if the org page uses knockout, and if it does, check to see if there is data coming back on the model from the query handler.

The problem seams be caused is caused by the fact that, in 1.0.0, MVC uses camel case names by default as announced here:
https://github.com/aspnet/Announcements/issues/194
the easiest change would be to change:
services.AddMvc()
to
services.AddMvc().AddJsonOptions(options => options.SerializerSettings.ContractResolver = new DefaultContractResolver());
as described by the article. But I think it would be better to change the case used and follow the new MVC standard.
These are all the views that could are probably broken because they serialize objects using the Json Helper:
Areas\Admin\Views\Event\Edit.cshtml
Areas\Admin\Views\Site\EditUser.cshtml
Areas\Admin\Views\Skill\Edit.cshtml
Areas\Admin\Views\Task\Edit.cshtml
Views\Campaign\Details.cshtml
Views\Campaign\Index.cshtml
Views\Campaign\Map.cshtml
Views\Event_EventScripts.cshtml
Views\Home\Index.cshtml
Views\Manage\Index.cshtml
Views\Organization\Index.cshtml
Views\Organization\Organization.cshtml
I'd love to take care of it

@danielepo, thanks for tracking that down!
If you could check those other views to see if they are impacted, that would be really helpful. If any of them are impacted, please open a PR with the fix to the StartUp.cs class like you mentioned above.
As far as this Issue is concerned, I already have an open PR that fixes the problem by getting rid of knockout and using MVC. Since it's such a simple page, knockout here is overkill.

+1 "to change the case used and follow the new MVC standard." over reverting to pre rtm Json serialization behavior.

@mgmccarthy I did the PR as you suggested because the problem was spread in every view that used knockout. Now that there is a global fix for the knockout binding problem, do you think PR https://github.com/HTBox/allReady/pull/1028 it's still necessary? I my opinion even if the Home/Index view is simple enough to don't require knockout, the use of it is still consistent with other views on the site. What do you think?

@danielepo
First, thank you for you contributions. I appreciate you jumping in and doing the research for this as well as submitting a PR.
As far as deleting PR #1028, I'm probably the wrong person to ask because I believe frameworks like knockout should only be used when it's warranted. Warranted to me means there is some type of dynamic UI functionality on the page which MVC would not be good at which certain frameworks, like knockout, Angular, etc... are good at.
A good example of this in AllReady is creating or editing Tasks. There is a part of the UI that allow you to dynamically add Required Skills to a task before creating a Task or editing an existing task:

Every time you hit "Add", you add another drop down in which you can add a Required Skill to the Task. You can also remove these items as well (my Required Skills dropdown list is empty right now, probably b/c of a specific branch i'm working on locally)

Home/Index, IMO, does not warrant the usage of the overhead of knockout when we can get the job done with MVC. The TaskController views, however do warrant the usages of knockout b/c of the dynamic nature of the UI.
However, I am not a project owner, and this is open source, so I am going to defer this decision to the project owners.
@tonysurma @MisterJames @BillWagner can we get a decision on this?

@mgmccarthy that's actually a good point, thank you for the explanation, the project I'm currently maintaining overuses Knockout so I couldn't understand it before. I'm also not used to this open source thing :)

@danielepo keep in mind my comment above is my opinion about using a framework that doesn't need to be used in a specific case.
We'll let the project owners weigh in on it. Looks like they have a good amount of PR's to work through and merge as well, so they have their work cut out for them :wink:


Python Weaviate memory store improvements

Describe the bug
There are a few issues with the weviate memory store python impl

there is no way to pass embedded options during instantiation of weaviate

upsert will not update a record if it already exists

class names are 'titlized' so checking if a class with a different capitalization exists can fail even though it is equivalent
missing unit test cases
related, but semantic_text_memory does not support returning embeddings

I have been making a few modifications during development and can add some test cases around these. But I wanted to start an issue to discuss the work before I started a PR.
Platform

OS: Ubuntu on WSL
IDE: VS Code
Language: Python
Source: main branch of repository

@gramhagen - thank you for bringing this issue up.  We will take a look.


Benchmark PHP's include, require, include_once, require_once

I'm not happy with the public data that's available on this, so we need
Scenarios:

PHP 5.6.x and PHP 7.x
With and without OpCache
Conditionally (i.e. optionally within an "if" block) versus always at the top of the file
Multiple times in same file
With no includes at all (i.e. file phisycally pasted)
(optional) on ARM

Plus any other scenarios that make sense.
I'm trying to make some coding style decision, but I'm not particularly convinced by some of the old benchmark data, now that PHP 7 is out.

I think I'm going to 'not care' about this, and just use the correct function. Micro-optimizing based on include method is just asking for bugs.


Why does calc_entropy_loss use log_alpha

Hi,
Why do you use the log_alpha for the entropy-term:
entropy_loss = -torch.mean(
self.log_alpha * (self.target_entropy - entropies).detach()
* weights)
Furthermore, you state at the beginning, that you optimize log_alpha instead of alpha. Is that the reason why? And why you decided to do this?
Thank you in advance!

Hi, @Meruem10.
The reason why we learn log(alpha) instead of alpha is that the numeric range is more well-behaved.
(You can see it when you try to optimize alpha.)
Actually, Original SAC implementation did the same and I just followed it.
According to equation (17) of SAC paper, optimal alpha is calculated as below.
alpha^* = arg min_{alpha} (-alpha (target_entropy - E[entropy])).
Because the logarithm is monotonous, this equation with log(alpha) instead of alpha still holds true.
So we can use log(alpha) instead of alpha. (just learning rate should be cared about.)
Anyway, thank you for asking :)

Thank you! :)

Hello sir Watanabe,
In calc_entropy_loss function you used self.log_alpha which is initialized by self.log_alpha = torch.zeros(1, requires_grad=True, device=self.device). Now self.log_alpha is equivalent to Zero and  entropy_loss will be zero. Where you change entropy_loss and how? if you didn't, calc_entropy_loss function will always return zero.

Hi, @ahmadreza9 .
If log_alpha is 0, loss_alpha would be 0, however, the gradient is non-zero.
For example, if x > 0 and log_alpha = 0, the gradient of (x * log_alpha) with respect to log_alpha is positive.
(because we want to make log_alpha smaller so that (x * log_alpha) would become smaller.)
Does it make sense?

So you tuned entropy by gradient of log_alpha parameter.

Yes, @ahmadreza9
More specifically, optimizer tunes "entropy coefficient"(alpha), which determines the effect of entropy maximization in SAC.


Enabling hivevar

hivevar support in HiveShell

Hi,
What is the status of this PR?
We've been trying out the branch ourselves and everything is working nicely. We'd love to have this in a release.
Kind regards,
Patrick (Hotels.com)

@patduin Just merged it

Thanks!


Rekall broken on SIFT 1.8.0 on Ubuntu 18.04

I did a fresh install of Ubuntu 18.04 in a VM, followed by a complication-free install of SIFT 1.8.0. I've tried out many of the included tools without problem but Rekall will not run, returning the following error (same with or without sudo):
$ sudo rekall -h
[sudo] password for forensics:
Traceback (most recent call last):
  File "/usr/local/bin/rekall", line 7, in <module>
    from rekall.rekal import main
  File "/usr/local/lib/python2.7/dist-packages/rekall/rekal.py", line 41, in <module>
    entry_point.load()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2442, in load
    self.require(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2465, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (future 0.17.1 (/usr/lib/python2.7/dist-packages), Requirement.parse('future==0.16.0'), set(['rekall-efilter']))

Does anyone recognize this error and have an idea of how to fix it? This error has shown up in the past, according to some closed issues, and the fix was to change the ".rekall.rc file", but that file seems to already be configured according to that fix.
The ~/.rekall.rc file contains the following:
cache_dir: .rekall_cache
repository_path:
  - https://github.com/google/rekall-profiles/raw/master
  - http://profiles.rekall-forensic.com

Right now, my fix is to use Volatility and ignore Rekall, but I'd really like to use Rekall. On the other hand, Rekall doesn't appear to be maintained any longer (https://github.com/google/rekall/issues/518), so maybe it should be dropped from SIFT?

This issue still exists with 1.8.1.
Temporary fix is:
sudo pip install future==0.16.0
sudo pip install rekall rekall-agent
This is with the python 2.7 pip (not python3).
Issue had been documented before in #375 , but the stale bot auto-closed the issue.
Recommend the fix to be have saltstate for pip install future==0.16.0 prior to the install of rekall and rekall-agent.

2020.2.0-rc2 with this fix, please verify @Fetchered

2020.2.0-rc2 is not coming down with a sift install. Since I've already applied the 'fixes' to run rekall, there's no way for me to confirm the sift update/upgrade will work.
I've got a fresh snapshot, doing a sift install --pre-release and it's pulling down 2020.2.0-rc3. Will keep you posted.

Rc2 was broken rc3 is it’s replacement
On Tue, Feb 18, 2020 at 17:16 Fetchered<EMAIL_ADDRESS>wrote:

2020.2.0-rc2 is not coming down with a sift install. Since I've already
applied the 'fixes' to run rekall, there's no way for me to confirm the
sift update/upgrade will work.
I've got a fresh snapshot, doing a sift install --pre-release and it's
pulling down 2020.2.0-rc3. Will keep you posted.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/teamdfir/sift/issues/422?email_source=notifications&email_token=AAALZSMQZ2UMH2SWIRES2VLRDR27BA5CNFSM4KFBQL3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMF3K4Y#issuecomment-587969907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALZSONQ2S6433VKTXI2QDRDR27BANCNFSM4KFBQL3A
.

Rekall appears to work (launches without error), but does not process a memory dump.
My steps to fix were:
sudo pip install future==0.16.0 pyaff4==0.26post6
sudo pip install rekall rekall-agent
Used the CFReDs NIST Memory images xp-laptop-2005-06-25.img memory image which rekall uses on their site as a test image. Confirmed these commands do work. Unsure how the salt is configured for the installation of rekall, but I recommend the two commands above be used, in this order (or something comparable).
Error received:
/opt/rekall/local/lib/python2.7/site-packages/rekall/plugins/addrspaces/aff4.pyc in init(self, filename, **kwargs)
123                                   lexicon.AFF4_FILE_NAME,
124                                   rdfvalue.XSDString(
--> 125                                       os.path.join(cache_dir, "aff4_cache")))
126         except IOError:
127             pass
TypeError: Set() takes exactly 5 arguments (4 given)

We install how the readme said. However it seems to want the agent install separately now. No where does it talk about installing future or pyaff4 that I can see but I couple have missed it.
I need to fix it to install the agent which who knows might fix it all.

Please install https://github.com/teamdfir/sift-saltstack/releases/tag/v2020.2.2-rc1 with --pre-release, there's also a new version of the CLI out, I recommend upgrading to that as well.

Will do that this when I get home this afternoon and report back soonest.
Cheers
On Fri, Feb 28, 2020 at 8:40 AM Erik Kristensen<EMAIL_ADDRESS>wrote:

Please install
https://github.com/teamdfir/sift-saltstack/releases/tag/v2020.2.2-rc1
with --pre-release, there's also a new version of the CLI out, I recommend
upgrading to that as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/teamdfir/sift/issues/422?email_source=notifications&email_token=ACPZG6RDZBNXTNS7LX3VZITRFEH6PA5CNFSM4KFBQL3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENIRR6Y#issuecomment-592517371,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPZG6XGC5XN6PQZS4V2FCTRFEH6PANCNFSM4KFBQL3A
.

Can confirm, this is successful. No installation errors, no rekall errors, tested against a known good sample with pslist. Only difference is that when I installed the new sift-cli and installed --pre-release, the pre-release version that was pulled down was v2020.2.2-rc2 and not rc1.
This works for me, I guess now we need to know if it works for @mrh1 .
Thanks @ekristen


docs: addition of Travis/Coveralls/Waffle/Travis/License badges

Signed-off-by: Tibor Simko<EMAIL_ADDRESS>

Assigning to myself; let's check coveralls...

Changes Unknown when pulling 23d6f72dce329c9a56afacd946a85bc457817504 on tiborsimko:docs-badges into ** on reanahub:master**.

Assigning to myself; let's check coveralls...

Everything is OK.


updates

Im just confused, can someone check and let me know why I am seeing that my fork is 3 commits ahead , and how can I update it with the main twindle branch

I think it is okay to be ahead. It means you were previously up to date with the main branch, and you have 3 commits in your repo.

@ad3rinto  I dont want to merge those changes, I dunno how they came up, how can I delete them and update my branch with main branch ?


CASMINST-6075: Modify BOS import/export procedure to handle different BOS versions

Description
Currently the BOS import/export procedures have some errors due to the introduction of BOS v2. Some are just minor command typos (which this PR cleans up), but more significantly, the current restore/import procedure is broken. It tries to restore the session templates using a single BOS version, but that will fail if the session template being created has fields that are specific to the other BOS version (the one not being used to create the template).
Unfortunately, there is no field you can look at in a BOS session template to see what BOS version created it. The only way to tell is to see if it has any of the version-specific fields in it.
This impacts both the manual and automated backup/restore procedures for BOS, since this has to be taken into account in either case (and currently is not).
In addition, when creating a session template with BOS v2, the JSON file containing the template must not contain the 'name' field -- if it does, an error will be generated. The current procedure does nothing to handle this. This is likely because when the procedure was written, it was done with BOS v1 in mind, and BOS v1 just ignores the 'name' field in that file.
So this PR does a few things to handle it:

Create a small Python tool which looks at a BOS session template and says whether it is v1 or v2. Note that some templates do not have any version-specific fields in them. In that case, it doesn't matter which version is used to restore them, so the tool defaults to calling them v2.

Create a Python tool which does the imports, making use of the previous tool.

Modify the manual procedures to have them use the tool to identify the template version (but otherwise perform the restore manually).

In addition, the current automated export procedure is much slower than it needs to be, because it backs up all of the session templates into different files. This PR instead puts them all into a single JSON list file. This PR then modifies the restore tools so that they are able to handle either the old-style exports (tgz archive with the many individual session templates) or the new-style exports (single JSON list file).
I tested all of the above on wasp -- verifying that the new backups work, and that the new import tools successfully import from old backups (taken before these changes) and new backups (taken using these updated tools).
There is further room for improvement:

would be nice to give them an option to take their full backup and tell the restore tool to only restore specific templates.
would be nice for the restore tool to check if templates already exist before restoring them

However, those can be done in future PRs. The most important thing is to get a working procedure out there.

Checklist

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.4 release/1.3


Deliverable Planning Meeting, Popup, Friday, September 29, 8:30 pm, Discord

Topics

[x] Follow up with the Environment and Goals book progress.
[x] Breakdown tasks for writing the System and Project books.

Tasks are done, closing issue


tag/release set to v<IP_ADDRESS> instead of v7.0.0

The most recent tag/release should be set to v7.0.0 (typo :-))

darn - thank you!

Not typo, magit with helm is sometimes really mean ;-)


docs(readme): rename Ionic 2/3

Description
Since Ionic 3.0 we call it just Ionic (like Angular) :)
PS: I will rewrite the tutorial later. I think one guide is enough for Ionic + Angular > 4.x

Thanks @danielsogl!


ML Kit for Firebase (for Flutter) - Google I/O 2018

Is there any date? Is there packages or plugins has been develop? There are many interesting things to do!!!

I want this so bad.

Yes, I neeeeed this. Specifically for iOS. About to start coding, but I need a way to read barcodes first. Would prefer to use ML Kit.

Hey @zoenberger,  there is a brazilian guy (Eduardo Folly) playing this project:
https://pub.dartlang.org/packages/flutter_mobile_vision
Inspire yourself or use it.
Hugs.

My dear @azihsoyn  , so glad for your iniative, but to newbies like me would be cool gift us with a documentation to show minimal prerequisites, configs (gradle, manisfest, etc),  and mainly Firebase version's incompatibilities. See you too the package https://pub.dartlang.org/packages/flutter_mobile_vision to inpire yourself. Hugs, guy.

@ColquePaxi awesome package! Thanks, introduce!

cc @mravn-google @collinjackson @kroikie

https://pub.dartlang.org/packages/flutter_mobile_vision uses the outdated
Google Mobile Vision ( https://developers.google.com/vision/ ) so it's not
ideal. An ML-kit library would be the better option.
On Tue, May 29, 2018 at 4:40 PM Ian Hickson<EMAIL_ADDRESS>wrote:

cc @mravn-google https://github.com/mravn-google @collinjackson
https://github.com/collinjackson @kroikie https://github.com/kroikie
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/17532#issuecomment-392982473,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYAiVEShrt5Hs0O7dnQ46C2ekRJUO96ks5t3dxVgaJpZM4T8Zqk
.

Perfectly @wtesler .

flutter_mlkit now supports iOS and document updated.
https://pub.dartlang.org/packages/mlkit
In 0.2.0, Scanning barcode supported for iOS. (android will be released in 0.2.1)
Thanks.

@bparrishMines Did you say you wanted to work on this one? (If so, please assign it to yourself, thanks!)

Yea, I am. I'm starting on it this week. I'll assign myself to it.

@bparrishMines  Noticed a couple of pull requests for MLVision. Looking forward to a flutter package. And curious to know why the name, MLVision, not MLKit. Could we expect another plugin for using custom tf models?

I named it MLVision in order to maintain similar naming to the Android and iOS APIs.
https://firebase.google.com/docs/reference/android/com/google/firebase/ml/vision/FirebaseVision
And yes, there will most likely need to be a separate plugin for custom models. Ideally named MLInterpreter.

Thank you @bparrishMines, created an issue for CustomML Interpreter. #18660 hoping that you get some bandwidth to implement that as well

@azihsoyn Is there a way to use this Library and scan the barcode in Camera View(without capturing the actual image)

Hi, @manikvashisht !
Live detection (https://github.com/flutter/plugins/pull/688) is now in progress.

May i know is scan QR Code supported? i will be happy if reply is fast ^^

May i know is scan QR Code supported? i will be happy if reply is fast ^^

There is barcode scanner in pub: https://pub.dartlang.org/packages/barcode_scan

Is this covered by https://pub.dartlang.org/packages/firebase_ml_vision or is this about something else?

Not yet looking to being able to run custom tflite model.

@zoechi Yes, the firebase_ml_vision plugin covers the ML Kit vision portion. However, there will also be a firebase_ml_custom and firebase_ml_speech plugins. However, these are long term milestones.

Closing this issue and opening a new one for custom ML models https://github.com/flutter/flutter/issues/28859

@ColquePaxi
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/828. Any further collaboration will be done there.


Kitematic 0.7.3, DNS Unable to resolve and download image

Get https://index.docker.io/v1/repositories/itszero/zipkin-web/images: dial tcp: lookup index.docker.io on <IP_ADDRESS>:53: too many redirects

same for me.  0.7.2 works fine..

This is a duplicate of #718, merging. There are instructions on how to fix it manually there


Apply template (setup/salt/)

And remove command prompt.

preview is here
original

/lgtm
/approve


chore(deps): get sheetjs from official source

This updates sheetjs to be installed from the correct, official, source.
Resolves #120.

Waiting for feedback in https://github.com/renovatebot/renovate/discussions/25590.


Material properties changing is not working

Description
https://developer.playcanvas.com/en/tutorials/changing-textures-at-runtime/
I used above method to change the material of many models.
when I change material properties for copy, it does not  applied
this is my project

https://playcanvas.com/editor/scene/855471
https://playcanvas.com/project/658099/overview/changing-textures-at-runtime

Steps to Reproduce

click "change material with texture A" button - it's work
click "change material with texture B" button - it's work
click "change material without texture C" button - it doesn't work

            for (var k in nextMaterial3.resource) {                 box1.model.model.meshInstances[0].material[k] = nextMaterial3.resource[k];                 }
I added if-statement in for-loop to exclude _scene and meshInstances properties
like below and it's work!
            for (var k in nextMaterial3.resource) {                 if (k !== '_scene' && k !== 'meshInstances' ) {                     box1.model.model.meshInstances[0].material[k] = nextMaterial3.resource[k];                     }             }


helm search returns slightly odd results (or at least I can't grok/use them)

this is related to #1158. If I install a helm repository and search it I get:
$ helm repo add fabric8 https://fabric8.io/helm
fabric8 has been added to your repositories
$ helm search chaos
fabric8/chaos-monkey-2.2.233.tgz
fabric8/chaos-monkey-2.2.245.tgz
fabric8/chaos-monkey-2.2.236.tgz
fabric8/chaos-monkey-2.2.238.tgz
fabric8/chaos-monkey-2.2.247.tgz
fabric8/chaos-monkey-2.2.237.tgz
fabric8/chaos-monkey-2.2.240.tgz
fabric8/chaos-monkey-2.2.242.tgz
fabric8/chaos-monkey-2.2.239.tgz
fabric8/chaos-monkey-2.2.243.tgz
fabric8/chaos-monkey-2.2.230.tgz
fabric8/chaos-monkey-2.2.231.tgz
fabric8/chaos-monkey-2.2.234.tgz
fabric8/chaos-monkey-2.2.225.tgz
fabric8/chaos-monkey-2.2.223.tgz
$ helm install fabric8/chaos-monkey-2.2.245.tgz
Error: file "fabric8/chaos-monkey-2.2.245.tgz" not found

Whats confusing is its using the chart name, version and adding .tgz to the end yet that file doesn't exist anywhere locally.
Was the intention for the url of the Chart to be used to download this file somewhere internally in ~/.helm/ so that this path could work? Or should we output the URL of the chart instead?
$ helm search chaos
fabric8 http://central.maven.org/maven2/io/fabric8/devops/apps/artifactory/2.2.223/artifactory-2.2.223-helm.tar.gz
...

Then at least folks could click on the output URLs of the tarballs to download them, then run them using a local folder?

hey @jstrachan !
A chart repository contains an index file (with meta data and location of all charts). When you "add" a repo, we're downloading and caching the index file which should be located at repo-url.com/index.yaml. When we search for charts, we're doing a regex search on name/keywords in all of the cached index files.
What helm install fabric8/chaos-monkey-2.2.245.tgz should be doing is fetching the chart at the chart url provided in the cached index file of the repo fabric8. You can find the cached index files  under ~/.helm/repository/cache/. We set up the ~/.helm/ directory as part of the helm init step.
With that said, here are some questions to help us debug:

Does https://fabric8.io/helm contain an index.yaml file? I suspect it does because the repo add step is not failing. What does it look like?
Does that index file point to packaged charts? (with .tgz extension)

Also, automatically adding that .tgz extension is probably not great. We should just leave .tgz off entirely. Thanks for pointing that out. I'll create an issue for that if it doesn't already exist.

Just took a look at https://fabric8.io/helm and it's awesome that you have so many charts!

Did you package the charts in this repo with the helm package [CHART] command per chance? @jstrachan

@michelleN no we generated the index.yaml by querying all the individual helm charts we've released independently in a CI job. I'm wondering if there's something wrong with the YAML though ;)
Thanks for the explanation! It looks like its downloading the index file fine into ~/.helm - I"m gonna try diagnose why the install doesn't work. It could very well be I've created a bad index.yaml ;) though I'd hope if there's something wrong with the YAML we can output a more descriptive error. As right now I get:
$ helm install fabric8/chaos-monkey-2.2.238.tgz
Error: file "fabric8/chaos-monkey-2.2.238.tgz" not found

@michelleN aha I figured it out. It looks like the code to download a chart ignores the url in the index.yaml and instead assumes that the chart lives in the repository at whatever is listed after the 'fabric8/' prefix.
I've added a minor bit of diagnostics to make it more clear:
$ helm install fabric8/chaos-monkey-2.2.238.tgz
Downloading chart from: https://fabric8.io/helm/chaos-monkey-2.2.238.tgz
Error: file "fabric8/chaos-monkey-2.2.238.tgz" not found

The thing is in the fabric8 index.yaml the URL to the chart is not https://fabric8.io/helm/chaos-monkey-2.2.238.tgz its at http://central.maven.org/maven2/io/fabric8/devops/apps/chaos-monkey/2.2.238/chaos-monkey-2.2.238-helm.tar.gz
I should have a PR shortly to fix this...

I'm gonna mark this one as closed and raised a more descriptive issue: https://github.com/kubernetes/helm/issues/1169 - a PR is on its way shortly


Referencing the alpha in the example

The alpha is not available in the lein-enabled repos like clojars. This means that I have to build the re-frame alpha project before following the README for the todo example. If I don't do this, the todo example fails to build since the alpha is unknown.
Could you either revise the todo README to say that do build the alpha (trunk version) first or not reference the alpha in the example? That one little change (not referencing the alpha) made it work.
Thanks,
JPD

@virmundi  good point!  Thanks.  Well push 0.7.0-alpha to clojars within the hour.


Fix and update script which generates local webserver landing page

This fixes a broken path and "modernizes" the code to use async syntax in preparation of #452

Merging thank you @cboulanger


data/queue_processor.log keeps logging "Error connecting to Redis: <IP_ADDRESS>:6379"

Even though the service seems to work fine.

https://github.com/huridocs/convert-to-pdf-service/pull/25 removes this log file


@class is clobbered - this should be configurable

If a <h-include> element already has @class then its value is replaced by "include_200" (or similar).
I think it would be more appropriate to only replace (whitespace-separated) tokens within @class that match /^include_\d+$/i.
Ideally there is a way to intercept success and failure handling to implement a completely different behavior, leaving the current behavior as the (preventable) default action.
I also note (so I don't forget) that there are a few code paths where errors in transclusion won't be indicated in any way:

basically any place in show_content() which returns or throws before the bottom of the function.

fragment not found errors log a console warning but don't change the <h-include> class or content.
Some user-interaction might have triggered a @src change but the contents and appearance
still matches the previous @src.
I wonder if this should be considered a 404 error?

recursion error (maybe a 412 error is appropriate?)

It's possible to override how @class is modified with the onEnd hook from https://github.com/gustafnk/h-include/pull/21

When https://github.com/gustafnk/h-include/issues/27 gets fixed, I think it would be valuable to document how to create your own configured custom element and maybe being able to export a few custom hooks so that it's as easy as possible to configure [an element that inherits from] h-include.

@shogun70 What do you think of this? https://github.com/gustafnk/h-include/commit/a17667d5934a5d4890106b3baf3183ad6aad5a19

Fixed in https://github.com/gustafnk/h-include/pull/37


Add image does not work in dashboard gallery display

Add image does not work in dashboard gallery display

Fixed.


feature: rough progress during target file read

When reading a file directly (not reading from stdin), the number of bytes read in, vs the total size as read from disk, could be used to show a rough progress indicator. As long as this doesn't materially slow down the read, this could be useful.

What is the longest time, when not reading from stdin, does rling take to read your largest file?

On Aug 29, 2022, at 11:34 AM, Royce Williams @.***> wrote:
When reading a file directly (not reading from stdin), the number of bytes read in, vs the total size as read from disk, could be used to show a rough progress indicator. As long as this doesn't materially slow down the read, this could be useful.
—
Reply to this email directly, view it on GitHub https://github.com/Cynosureprime/rling/issues/38, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGQE5I555LX6JQUD3WNQBTV3T7DNANCNFSM576ZGE2A.
You are receiving this because you are subscribed to this thread.

High-end case (just for me personally) is ~64GB from spinning rust:
Reading "[filename]"...64798075953 bytes total in 215.7301 seconds

So, about 300 Mbytes/sec.  Is it really worth it to add a progress bar?  The vast majority of files will be handled effectively “instantly” - more time will be spent in the other phases of the program, do have progress (of a kind)…
Am I wrong here?  I’ve been using rling pretty extensively lately (mostly in pipelines), so maybe I’m biased.

On Aug 29, 2022, at 12:52 PM, Royce Williams @.***> wrote:
64798075953

I wasn't thinking progress bar so much as a simple % completed as used elsewhere in rling (that's often also only shown briefly when shown in other parts of rling - but it's handy to see when it's not brief. :D)
Sometimes it's most useful when the user has made an error - so the percent complete is going up much more slowly than expected, which the user can immediately notice and take action on.


ChartData2D Component Needs Property to Define Range of Y Axis

Describe the bug
ChartData2D generates the range of the Y axis from the data, but this can be problematic when visualizing two comparable datasets that differ in the range of Y. It creates a false comparison, as shown below.
For example, if you looked at the annual ice duration data of these two lakes, top and bottom, they would seem similar. The range of the top lake, however, starts around 70 instead of 0.

By changing the Y range to 0 for both (artificially adding a leading 0 to the data), the top graph shows a truer picture — that the top lake has less variation year-to-year than the bottom lake (it is more shallow and therefore a bit more resilient to climate change).

For kids to compare two datasets accurately, would be great to have a parameter in the ChartData2D properties panel to define this range.
@stezelMIT, @anqizzz8989

Affects

[ x] Designer
[ ] Blocks editor
[ ] Companion
[ ] Compiled apps
[ ] Buildserver
[ ] Debugging
[ ] Other... (please describe)

Expected behavior

Steps to reproduce

This issue seems interesting to me , can anyone please guide me how i can track this issue in the code base , what steps i should follow ? -- i am beginner with this  project , that's why i am asking .

I believe @ewpatton already fixed that, correct Evan?

ok , if ewpatton has not corrected it then , i think that it can be corrected by doing some changes in the file Char2DDataModel.java

ok , if ewpatton has not corrected it then , i think that it can be corrected by doing some changes in the file Char2DDataModel.java

Hello @ewpatton  sir ,is the issue resolved or i can work on this ?

I checked it , the problem is still there in the current version , here  you can see

I think the issue has been addressed and is now on the test servers, but not merged yet.  Correct @ewpatton @bobparks ?

That's correct. The branch in question needs to be cleaned up a bit because I implemented some other changes to spreadsheets that in hindsight didn't work so I backed them out. From the end user's POV it won't make any different but in terms of keeping the code base clean it's better for me to do the work to fix up the branch before publishing the PR.

This was fixed by #2812


Fix: Review motion index computation and add a note

This PR is dedicated to address #80 reporting a problem with motion index computation.
It includes:

the addition of a note in the docstring of the StacksOrdering interface
https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/blob/a2f9244111b7caaeb0d51049e05dd94829143755/pymialsrtk/interfaces/preprocess.py#L963-L972
a new implementation that excludes the centroids of the problematic slices from the motion index computation   centroid_coord = np.zeros((data.shape[2], 2))

   for i in range(data.shape[2]):
       moments = skimage.measure.moments(data[..., i])

       try:
           centroid_coordx = moments[0, 1] / moments[0, 0]
           centroid_coordy = moments[1, 0] / moments[0, 0]
       # This happens in the case of discontinuous brain masks
       except ZeroDivisionError:
           centroid_coordx = np.nan
           centroid_coordy = np.nan

       centroid_coord[i, :] = [centroid_coordx, centroid_coordy]

   centroid_coord = centroid_coord[~np.isnan(centroid_coord)]
   centroid_coord = np.reshape(centroid_coord, (int(centroid_coord.shape[0] / 2), 2))

   nb_slices = centroid_coord.shape[0]
   score = (np.var(centroid_coord[:, 0]) + np.var(centroid_coord[:, 1])) / nb_slices

https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/blob/a2f9244111b7caaeb0d51049e05dd94829143755/pymialsrtk/interfaces/preprocess.py#L1018-L1037
@helenelajous @pdedumast Does it make sense ?

Yes, I think the computation of the motion index is more realistic this way - thank you!
A second step would be to return the number of NaN/rejected slices to account for motion-related intensity artifacts like signal dropouts and use it to penalize this stack in the optional stack_ordering interface.

What about using the information provided by the number of NaN/rejected slices to penalize a stack in the optional stack_ordering interface taking into account motion-related intensity artifacts like signal dropouts?

@helenelajous I agree it would be a nice addon. What about we keep this PR dedicated to better inform about the implementation and fix it with the nan value and we open a new issue related to this new feature?

@all-contributors please add @helenelajous and @pdedumast for review


How to template a drop-down selection and checkbox in a form

I'm trying to template this but do not have a clue how to.
The questions are

What kind of data-value and data-template-bind do I need?
How does the JSON data structure looks like for the data-value and data-template-bind?

Example 1: Drop-down selection
<select class="select" id="color_selection" name="color">
 <option value="red">Red</option>
 <option value="blue">Blue</option>
 <option value="green">Green</option>
 <option value="yellow" selected>Yellow</option>
 </select>

How to select the Yellow color?
Example 2: Checkbox
<form action="demo_form.asp">
  <input type="checkbox" name="vehicle" value="Bike"> I have a bike

  <input type="checkbox" name="vehicle" value="Car" checked> I have a car

  <input type="submit" value="Submit">
</form>

How to checkbox the Car?

I don't know. You've just given me plain html. If you haven't already got json data that you are trying to insert you are probably using the plugin for the wrong reason. If you can give me some more information as to what is static, and what is dynamic data then I can potentially help.

Ok, here is a JSON data structure:
{
  "name": "011 Technical Risk"
  "weighting": 10
  "comment": "What is the probability of overcoming the technical challenges of the project?"
  "typeofindex": "PERCENTAGE"
  "bignummerbetter": true
  "typeofindexdescription": ""
}

typeofindex is an enum(eration) of following valid values:

INCOMPLETE
PLANNING_POKER
CHRONOLOGICAL_ORDER
PERCENTAGE
REFERENCE_QUANTITY

bignumberbetter is an boolean, so valid values are:

true
false

For the enum(eration) I would like to use a drop-down list. For the boolean an checkbox.

I believe you should be able to do this by binding the value property of the select to typeofindex and potentially use a formatter to bind the checked attribute of the checkbox to bignumberbetter (to convert the true/false into what you need)


Incorrect XLS file format ?

When exporting in XLS, I'm having a prompt when opening the file stating that the format is different from the specified extension:

Excel version is 2007.

We are aware of this. This is because the file is a "HTML", clicking "Yes" should open the file without problem.

Hi,
I am facing the same problem. When i downloaded the chart i found the message

and when i pressed "yes" the result was

but i was expecting something like

There is some fix?
Thanks!

When file is converted to HTML and we try to save a file, then default type is webpage, not xls (but is obvious). Problem not appear in macosx office 2000, but in windows (office 2010) exists.

Also -- I looked at the XML.  There is no content in the XML that would generate a chart.  The content is only for the data.

@zazzcode It is intentional that it only exports the data.

+1

The same error appears when we try to export into xlsx format (edited source code).
http://jsfiddle.net/c3k6kx7v/

+1

another problem with office 2016 and xls file

I must click Unblock for open the file

Any updates about this issue ?

No, currently we haven't found a good workaround for it.


adding quote before/after environment variable of google analytics id

so we don't have to put ' or " in value of that environment value.

@roonglit Thanks @roonglit, that makes sense.


Failing to build ruby on Centos 7 (LanguagePack::Fetcher::FetchError)

Suddenly started having failures recently but has been working fine up until now.
This is using the https://github.com/pkgr/heroku-buildpack-ruby buildpack on a el7 system.
-----> Ruby app
Traceback (most recent call last):
	5: from /home/vagrant/.pkgr/buildpacks/custom/11a3ee729c1dfd1809e40448360c2cd92bcac7f2/heroku-buildpack-ruby/bin/support/download_ruby:14:in `<main>'
	4: from /home/vagrant/.pkgr/buildpacks/custom/11a3ee729c1dfd1809e40448360c2cd92bcac7f2/heroku-buildpack-ruby/lib/language_pack/installers/heroku_ruby_installer.rb:16:in `fetch_unpack'
	3: from /home/vagrant/.pkgr/buildpacks/custom/11a3ee729c1dfd1809e40448360c2cd92bcac7f2/heroku-buildpack-ruby/lib/language_pack/installers/heroku_ruby_installer.rb:16:in `chdir'
	2: from /home/vagrant/.pkgr/buildpacks/custom/11a3ee729c1dfd1809e40448360c2cd92bcac7f2/heroku-buildpack-ruby/lib/language_pack/installers/heroku_ruby_installer.rb:22:in `block in fetch_unpack'
	1: from /home/vagrant/.pkgr/buildpacks/custom/11a3ee729c1dfd1809e40448360c2cd92bcac7f2/heroku-buildpack-ruby/lib/language_pack/fetcher.rb:24:in `fetch_untar'
/home/vagrant/.pkgr/buildpacks/custom/11a3ee729c1dfd1809e40448360c2cd92bcac7f2/heroku-buildpack-ruby/lib/language_pack/shell_helpers.rb:49:in `run!': Command: 'set -o pipefail; curl -L --get --fail --retry 3 buildcurl.com -d recipe=ruby -d version=2.4.1 -d target=$TARGET -s -o - | tar zxf - ' failed unexpectedly: (LanguagePack::Fetcher::FetchError)

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

I see the same failure occuring attempting to build ruby binary from buildcurl.com, which seems to be specific to compiling libyaml 0.1.7 on centos 7.
https://buildcurl.com/?recipe=ruby&version=2.4.1&target=el%3A7&prefix=%2Fusr%2Flocal
-> [ruby] -> [libyaml] -> Building libyaml 0.1.7...
-> [ruby] -> [libyaml] /tmp/tmp.WQ9hcvTD75 /app
-> [ruby] -> [libyaml]
-> [ruby] -> [libyaml] gzip: stdin: not in gzip format
-> [ruby] -> [libyaml] tar: Child returned status 1
-> [ruby] -> [libyaml] tar: Error is not recoverable: exiting now
-> [ruby] Build failed
-> [ruby]
-> [ruby] gzip: stdin: unexpected end of file
-> [ruby] tar: Child returned status 1
-> [ruby] tar: Error is not recoverable: exiting now

This is still an issue even though the buildcurl.com ruby recipe was fixed.
libyaml 0.1.7 apparently no longer builds on el7 and needs to be updated to 0.2.5.
$ pkgr package . --tmpdir=/var/tmp --buildpack=https://github.com/pkgr/heroku-buildpack-ruby.git
-----> Ruby app
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.6.5
-----> Installing dependencies using bundler 1.15.1
/home/vagrant/.pkgr/buildpacks/custom/c63bb174e4c4221f64348e2f0ef9411fc4dff21d/heroku-buildpack-ruby/lib/language_pack/shell_helpers.rb:49:in `run!': Command: 'set -o pipefail; curl -L --get --fail --retry 3 buildcurl.com -d recipe=libyaml -d version=0.1.7 -d target=$TARGET -s -o - | tar zxf - ' failed unexpectedly: (LanguagePack::Fetcher::FetchError)

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

This has been fixed since quite a while. Closing.


Changed the send method

accidentally submitted this before fully typing out the description... hold on! :)

Adding more commits... Give me a moment please.

I still need to fix the client packets. :)

There we go. It is ready to merge. :+1:

:+1: :+1:

<

very nice, thanks.


Address precision-recall curve updates in sklearn

Fixes WB-9881
Description
Looks like sklearn.metrics.precision_recall_curve was misbehaving prior to sklearn~<1.1. Consider the following example:
from sklearn.metrics import precision_recall_curve, precision_score, recall_score
y_true = [0, 1]
y_predict_proba = [0.25, 0.75]
precision, recall, thresholds = precision_recall_curve(y_true, y_predict_proba)

On sklearn==1.0.2 this yields

while on 1.1.1:

This issue was likely fixed in these two PRs:
https://github.com/scikit-learn/scikit-learn/pull/19085
https://github.com/scikit-learn/scikit-learn/pull/23214
This function is used in wandb/plot/pr_curve.py so that tests/test_plot.py::test_pr fails.
I believe things should behave correctly now. However in tests, since we install sweeps and it depends on sklearn==0.24.1, the effect will not be seen.
Testing
Changed the relevant unit test and tested it locally with different versions of sklearn.

This seems fine to me. Just a note that there is a difference in the generated PR curve:

=1.1.1 -> https://wandb.ai/kylegoyette/test_pr/runs/3qnt5huz?workspace=user-kylegoyette
<1.1.1 -> https://wandb.ai/kylegoyette/test_pr/runs/1e8yrqhz?workspace=user-kylegoyette

giuven the change in output data this change is expected, I believe that the new pr-curve is correct, but its been a long time since I've thought about this topic.

It seems like a bummer that this wont be compatible with Sweeps; for testing purposes, can we update the tests to a modern sklearn? How do you usually handle branching dependency for different tests

@BBischof re: How do you usually handle branching dependency for different tests

In the unit tests we don't actually do that, we have a requirements file with the versions of the packages that we use for the tests
In the functional tests we usually create a dedicate shard with the relevant version of a package per shard (if we want to test against multiple version) you can see in the functions_tests folder some examples that we test agains several tf versions.
We also run regression tests (there we have a matrix of versions that we test against)
In this case it is a unit-test so it will be tested only against the version installed in the env

It seems like a bummer that this wont be compatible with Sweeps; for testing purposes, can we update the tests to a modern sklearn? How do you usually handle branching dependency for different tests

@BBischof re: How do you usually handle branching dependency for different tests

In the unit tests we don't actually do that, we have a requirements file with the versions of the packages that we use for the tests
In the functional tests we usually create a dedicate shard with the relevant version of a package per shard (if we want to test against multiple version) you can see in the functions_tests folder some examples that we test agains several tf versions.
We also run regression tests (there we have a matrix of versions that we test against)
In this case it is a unit-test so it will be tested only against the version installed in the env

Thanks for the info!
Based on my reading from the sklearn threads, this seems like a very low frequency issue. It really only showed up in perfect-recall scenarios so that's why it went unfixed for so long. The PR curves from Kyle align with what I would expect in this case.


Remove "creator" and "created"

I'm working on adding support for force upgrading snapshots even if they match but the creator/created fields are changing unnecessarily at this point even for snapshots that would otherwise be perfect matches. I'm wondering if there is a lot of value of actually having these fields there.
I'm thinking of just removing them which would also drop the chronos dependency (refs #58).
@max-sixty thoughts?

The version was mostly useful for debugging issues with insta itself. I don't think that's very useful any more.


Add repair all command

Summary
Testing steps
Checklist

[ ] Tested with snapshotting feature disabled and pulp server URL not configured if appropriate


Atmosphere crashing with starlight base

when i put in  the star light base exefs patch, then atmosphere crashes as  soon as i open smo.

Please check the site for troubleshooting. If you still need help troubleshooting, please ask nicely on the discord.


to_python throws AttributeError on TableBlock when value is None

Issue Summary
Similar to: https://github.com/wagtail/wagtail/issues/4822
After upgrading one of our sites to 6.0, attempting to update some of our pages' indices results in a server error.
  File "/venv/lib/python3.8/site-packages/wagtail/contrib/table_block/blocks.py", line 135, in to_python
    if not value.get("table_header_choice", ""):
AttributeError: 'NoneType' object has no attribute 'get'

This is because, in Wagtail 6.0, the following code has been added:
https://github.com/wagtail/wagtail/commit/fe1a306285da6c48b66506c589abc2c66b51668a#diff-f058d7a36746222950f678ed6b178205778e4e1e5b85f0299c2a7c3b9d6c8939R129
Steps to Reproduce

Create a page with an empty TableBlock in its body
Before Wagtail 6.0, this should save and render OK
After upgrading to 6.0, editing the same page will throw an error.
Looking at the logs, you should see the error above

A workaround is to identify those pages and remove the empty TableBlocks, but this would prove to be a tedious task if there are many page instances.
A possible fix would be to check if the value is not None first:
if value and not value.get("table_header_choice", ""):

Thanks for the report! I can confirm this issue using the bakerydemo by creating a new Recipe page with an empty table block.

Thanks for the bug report and the quick fix @laymonage


Fix bug when pushing to a pull request which enabled dismiss approval automatically

Fix #25858
The option dissmiss stale approvals was listed on protected branch but never implemented. This PR fixes that.

Tests possible?

If a PR focuses on refactoring, then only move necessary code.
If a PR focuses on bug fixing, then only fix the bug.
If a PR mixes code-moving and bug-fixing ..... it's really difficult to review.

If a PR focuses on refactoring, then only move necessary code.
If a PR focuses on bug fixing, then only fix the bug.
If a PR mixes (unnecessary) code-moving and bug-fixing ..... it's really difficult to review.

Agreed.

I was unable to create a backport for 1.20. @lunny, please send one manually. :tea:
go run ./contrib/backport 25882
...  // fix git conflicts if any
go run ./contrib/backport --continue

Could the participants of this PR have a look at https://github.com/go-gitea/gitea/issues/27114?


[Event Hubs] Incorrect description for EventProcessorOptions

I believe this statement is incorrect:
EventProcessorHost will call IEventProcessor.OnEvents(null)
There is no IEventProcessor.OnEvents. And it doesn't call the ProcessEventsAsync with null argument, it sends a empty Enumerable

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

ID: 53e538ca-4c3d-d328-9559-cdd0ee59daf2
Version Independent ID: b81b04ae-6a7d-1dca-28b9-672a678eb838
Content: EventProcessorOptions.InvokeProcessorAfterReceiveTimeout Property (Microsoft.Azure.EventHubs.Processor) - Azure for .NET Developers
Content Source: xml/Microsoft.Azure.EventHubs.Processor/EventProcessorOptions.xml
Service: event-hubs
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Thank you for your feedback.  Tagging and routing to the team best able to assist.

@serkantkaraca, Any thoughts here?

I will submit a PR for XMLDoc fix.

https://github.com/Azure/azure-sdk-for-net/pull/23991

Thanks for reporting @felipepessoto
We have updated the docs in https://github.com/Azure/azure-sdk-for-net/pull/23991
The package in question Microsoft.Azure.EventHubs.Processor is currently deprecated. Therefore this doc change will roll out the next time we have critical bug fix to ship for this deprecated package.
We highly encourage you to use the newer Azure.Messaging.EventHubs and Azure.Messaging.EventHubs.Processor packages instead. Please refer to the migration guide for more details.


renaming for clarity

Previously, we attempted to clarify names at the bleve_index_api layer.  This resulted in some mistaken renaming, and the resolution to that resulted in no renaming, as stored fields do not even have a callback at that layer (just the Document() method which returns values directly).
However, looking at this scorch_segment_api layer, there is still some confusion (in my opinion).  This PR is a proposal to make it better.  I still don't love the names, as the doc/value/visit/visitable/visiting all feels very clumsy.  But, I would instead ask you to help iterate on this, to make it better, not necessarily perfect.
Another open issue, now that I see that index.DocumentFieldTermVisitor is used both at the bleve_index_api layer and here, perhaps it too should be renamed to something like DocValueVisitor?

@abhinavdangeti thanks, I will wait to finalize with Sreekanth on Monday.  But as long as things don't change drastically we'll proceed.


Add these two softwares.

Neuratron Photoscore and notate me
and
Anthem score

Thanks! Added AnthemScore in cb5cc06ca10b85ca6f3c09a03ac294da31457830. The other apps don't seem to be maintained anymore.


PR: Update Contributing guide to specify forking the Spyder repo

Description of Changes
A participant in our SciPy 2020 sprint commented that our contributing guide mentions cloning the Spyder repo directly, rather forking it which is necessary to create a pull request. @juanis2112 pointed this out, and as such I've updated the Contributing guide accordingly.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: CAM-Gerlach

@ccordoba12 Please merge to master, I can't anymore with the branch protection changes. Thanks!

Done! But there was a missing command that both Gurpreet and David noticed today: git checkout 4.x to be able to start Spyder from that branch (that's because master has already different dependencies from 4.x).
@CAM-Gerlach, could you open another PR for that? Thanks!

Sorry, I just noticed that that's already mentioned on the guide (although perhaps it should be made more explicit?)


Update windows-jni-utils, ... to 0.2.5

Updates

io.get-coursier.jniutils:windows-jni-utils
io.get-coursier.jniutils:windows-jni-utils-bootstrap

from 0.2.2 to 0.2.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.2.2).
You might want to review and update them manually.
doc/docs/api.md
doc/docs/other-repositories.md
doc/website/package-lock.json
modules/cli/src/test/scala/coursier/cli/FetchTests.scala
modules/cli/src/test/scala/coursier/cli/ResolveTests.scala
modules/coursier/shared/src/test/scala/coursier/ResolveRulesTests.scala
modules/coursier/shared/src/test/scala/coursier/ResolveTests.scala
modules/tests/shared/src/test/resources/artifacts/sh.almond/scala-kernel_2.12.8/0.7.0
modules/tests/shared/src/test/resources/resolutions/com.geirsson/sbt-ci-release/sbtVersion_1.0_scalaVersion_2.12/1.2.6
modules/tests/shared/src/test/resources/resolutions/sh.almond/scala-kernel_2.12.7/0.2.2_params2f53eeb0a22d24b1e7106dd9a06902e9cd19570f
modules/tests/shared/src/test/resources/resolutions/sh.almond/scala-kernel_2.12.7/0.2.2_params9a5a3f38ae4510fb6a2afe6781f9f6b5410a8b9c
modules/tests/shared/src/test/resources/resolutions/sh.almond/scala-kernel_2.12.7/0.2.2_paramsa3b0313a2f2d39692416c25848f2f16908d6d7f0
modules/tests/shared/src/test/scala/coursier/test/CentralTests.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.get-coursier.jniutils" } ]

labels: library-update, semver-patch, old-version-remains

Handled from https://github.com/coursier/coursier/pull/2189.


Move files to client

Short Description
I've recognized that two files were still in the static folder. I've moved them to client/public.
Changes

Move display_failure_success.css and field_utils.js

Feedback

Is this correct?

Correct! Any new "legacy" assets should go in client/public. app/static is actually in the .gitignore now.


[SMALLFIX] Minor code cleanup

and disable a deprecated integration test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17052/
Test PASSed.


GPII-2910: Update gpii-express to work with the upcoming "potentia ii" changes to Infusion.

See GPII-2910 for details.

@amb26, this should be ready for review again.

Retested with latest dev of trunk Infusion and potentia II, looks good

Thanks, @amb26.  I cut the 1.0.14 release and updated the forward-facing version in master.


Unable to load properties from ConfigMap

I am following this documentation https://docs.spring.io/spring-cloud-kubernetes/reference/property-source-config/configmap-propertysource.html.
I have published a sample code https://github.com/sey/kube-lab.
I have tried many tutorials and examples out there and none of them prove to work as they advertise.
I don't understand what I am missing.

The default behavior is to create a Fabric8ConfigMapPropertySource (or a KubernetesClientConfigMapPropertySource) based on a Kubernetes ConfigMap that has a metadata.name value of either the name of your Spring application (as defined by its spring.application.name property) or a custom name defined within the application.properties file under the following key: spring.cloud.kubernetes.config.name.

From the above excerpt of the documentation, I assumed Spring Cloud Kubernetes Config to be pretty straightforward. I just need to name both my app a ConfigMap with the same name and the properties within the ConfigMap should take precedence on the default properties packaged with my app.
Can you tell me what is wrong with my setup?

From the docs:

To enable this functionality you need to set the spring.config.import application configuration property to kubernetes: (escape with quotes when using yaml eg. "kubernetes:").

Please try adding spring.config.import=kubernetes: to your application.properties.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Git Plus: Status not working

When I try to run Git Plus: Status either from the command palette (selecting it from the palette when I search for it) or from the keyboard shortcut, a dialog comes up at the top of the screen and says 'No matches found' with a blinking text box, the same as if I typed in a nonsense command into the palette. When I attempt to type into the blinking text box, nothing pops up or anything, giving me no context as to what is creating the dialog.
I am able to commit, add, push, all that stuff using git plus from the file that I execute the status from.

Do you have changes that should be displayed when you run the status command? The nothing to show is meant to indicate no changes have been made.

It seems as though I do get things showing up when I have changes that should be displayed. Thank you for your help!


Exponential window size & memory allocation growth + crash when scaling window on Retina OS X

Versions

Python:  3.7.5
OS: 10.12.6
Kivy: 1.11.1
Kivy installation method: pip

Description
What are you trying to get done?
Lock resizing of a window to an aspect ratio on an OS X desktop
What has happened? / What went wrong?
Resizing causes:

a hang
exceptions mentioning failed attachment and very large & negative texture sizes
(usually) a crash.

Items are also placed incorrectly on resize.
Listening in on resize events shows exponential growth of the window size with each repeated resize event fired when dragging the window edge:
Window size set to: (1600, 1200)
Window size set to: (3186, 1778)
Window size set to: (6372, 3584)
Window size set to: (12744, 7168)
Window size set to: (25488, 14336)

What stops it
Dividing window size by two before setting it. My suspicion is that this is a runaway exponentiation version of the same issue as faced here:

When saving the window size to the .ini file, the Window.size must be divided by Metrics.density. If this not done, and Metrics.density == 2, for example, the window size will double each time the program is opened.

Given that element placement is also affected, a number of other OS X specific issues may be related:

#6144
#6446

There is also a closed issue by the author of the quote above that may be a reference to this issue, but it's unclear whether the fix was merged for whatever problem was encountered.
Code and Logs
Switchable crasher:
from kivy import Config

from kivy.app import App
from kivy.core.window import Window
from kivy.metrics import Metrics
from kivy.uix.screenmanager import Screen, ScreenManager

CRASH = True
ASPECT_RATIO = 0.5625

kivy.require('1.11.0')

class AspectRatioScreen(Screen):
    def on_size(self, a, b):
        """
        Attempts to keep an aspect ratio
        """
        current_ratio = Window.height / Window.width
        if current_ratio != ASPECT_RATIO and Window.fullscreen is False:

            if CRASH: # unmodified size causes the issue
                Window.size = Window.width, Window.width * ASPECT_RATIO

            else: # dividing size by two or Metrics.density causes everything to work
                Window.size = \
                    Window.width / Metrics.density,\
                    (Window.width / Metrics.density) * ASPECT_RATIO

class Crash(App):
    def build(self):
        w = ScreenManager()
        Config.set('graphics', 'height', '200')
        Config.set('graphics', 'height', '200')

        w.add_widget(AspectRatioScreen(name="main"))
        return w

if __name__ == "__main__":
    Crash().run()

Example errors:
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception ignored in: 'kivy.graphics.fbo.Fbo.raise_exception'
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception ignored in: 'kivy.graphics.fbo.Fbo.raise_exception'
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception ignored in: 'kivy.graphics.fbo.Fbo.raise_exception'
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception ignored in: 'kivy.graphics.fbo.Fbo.raise_exception'
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception ignored in: 'kivy.graphics.fbo.Fbo.raise_exception'
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception: FBO Initialization failed: Incomplete attachment (36054)
 Exception ignored in: 'kivy.graphics.fbo.Fbo.raise_exception'
 Exception: FBO Initialization failed: Incomplete attachment (36054)
python(75016,0x7fffbc3063c0) malloc: *** mach_vm_map(size=18446744073691299840) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
 Exception: Unable to allocate memory for texture (size is -18251776)

Can you try using Window.system_size (list of system width/height) to see if you replicate it too?

I'm not entirely sure what you mean. I've guessed a possibilities and tried them.
I tried creating an on_system_size handler method, but it doesn't seem to ever get called in response to resize events.
If you meant scaling via the system_size property, the following code works without applying a division:
import kivy
from kivy import Config

from kivy.app import App
from kivy.core.window import Window
from kivy.metrics import Metrics
from kivy.uix.screenmanager import Screen, ScreenManager

ASPECT_RATIO = 0.5625

kivy.require('1.11.0')

class AspectRatioScreen(Screen):

    def on_system_size(self, a, b):
        #never actually gets called
        print(f"system_size set via system_size property: {Window.system_size}")

    def on_size(self, screen, size_tuple):
        """
        Attempts to keep an aspect ratio
        """
        print(f"System size at start of on_size handler: {Window.system_size}")
        w, h = Window.system_size
        ratio = h / w
        #enforce aspect ratio
        if ratio != ASPECT_RATIO and Window.fullscreen is False:
            Window.system_size = w, w * ASPECT_RATIO

        print(f"System size at end of on_size handler: {Window.system_size}")

class NoCrash(App):
    def build(self):
        w = ScreenManager()
        Config.set('graphics', 'width', '200')
        Config.set('graphics', 'height', '200')

        w.add_widget(AspectRatioScreen(name="main"))
        return w

if __name__ == "__main__":
    NoCrash().run()

If you meant something else, let me know and i'll gladly try it.

@tito Bump. Any comment on the above?

This should have been fixed via #8630 , however as @tito suggested, even if now Window.size works as expected (but consider potential issues with rounding), the suggested way to set the Window size is by using Window.system_size.
Please also take a look at the refreshed docs regarding these properties:

https://kivy.org/doc/master/api-kivy.core.window.html#kivy.core.window.WindowBase.system_size
https://kivy.org/doc/master/api-kivy.core.window.html#kivy.core.window.WindowBase.size.

Can you please confirm that the issue does not happen anymore on your side with the latest master?


Widget not working properly

I upgraded my flutter version and all my widget stopped working properly like I got errors all over, I am using
Flutter version 1.23.0-18.1.pre, channel beta
and this is because I want to use the web version

Hi @mummyk
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Can you describe what you mean by "all my widget stopped working properly like I got errors all over"? what kind of errors?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Link in thumb image for 'Fishy Fishy' game

Thumb images aren't generated for GitHub based projects. I had the game author add an image to their repo: https://github.com/UnsignedArduino/Fishy-Fishy-Cross-my-Ocean/issues/2.
Not sure if this is the best way to do this but it will fill the "gap" for now.
Before:

After:

Fixes #3044

I think for the other ones where they were github projects (e.g. in https://github.com/microsoft/pxt-arcade/blob/master/docs/community.md) we just save it under /static/ to make sure it gets served through us / cached nicely? Probably worth doing that here for consistency in my opinion ~

Right, but then there's cleanup if/when the game is removed from the gallery.


Project setup

IIn this Pull Request, the following list of requirements were completed:

Used Gitflow

Created an npm project with webpack.

Wrote plain HTML markup with minimum styling.

Use ES6 modules, with import and export.

Thank you @ShoiraTa


space available limit calculation

we are about to increase the limits and also create a tier system in place.
limits increase - need to confirm you are using the value from the contract and not hard coded amount.
maxSystemNetworkTokenAmount
tier system -
tokens that are part of the top tier, would be exempt from the maxSystemNetworkTokenRatio check.
how to identify if a token is in a tier:
in the PROTECTION (not STORE) contract,
function isHighTierPool(IConverterAnchor _poolAnchor) public view returns (bool) {
IF the pool is in the top tier,
update this part in the calculation:
// select the smaller of the two allowed BNTs
IF (isHighTierPool(IConverterAnchor _poolAnchor)) = true, const lowestAmount = maxLimitBnt;
ELSE, const lowestAmount = Decimal.min(maxLimitBnt, maxRatioBnt);
this is the only place i can find this calculation in the code:
https://github.com/bancorprotocol/webapp/blob/c41a1e0be64968521c3156708c7c9c864772e74d/src/api/helpers.ts

@yudilevi Is this method in the contracts code? Can't seem to find it, wanted to compile in order to generate the latest ABI.

I'm guessing this contract change is not in production, when do we expect this to happen? Almost midnight my time and 2:30pm for the Germans so running out of work hours.

@Velua it's in a branch -
https://github.com/bancorprotocol/contracts-solidity/blob/f8b2376f5a7a82e4723f70547102caf7952a55fd/solidity/contracts/liquidity-protection/LiquidityProtection.sol#L448
Gonna be merged in the next hour.

Handing over to @H34D
From what I can tell my PR is 95% of the work, the only remaining tasks are..

[ ] Update the ABI to reflect the interfaces of the new liquidity protection contract. Sourced from here
[ ] In line... contract.methods.isHighTierPool(anchor).call(); I've made an assumption that a boolean will come back, this may not be the case, console.log it or whatever and check, it could be "0" or "1" or something so double check this.

From Telegram, we're expecting this to be in prod in the next hour.
Either perform an update of the app containing this work at the same time as the contract push.
Else, write a bit more code where should the request of contract.methods.isHighTierPool(anchor).call(); fail (which is will given it doesn't exist on the contract yet) just catch it and return false, that way the app will be ready and waiting for the contract change. However, will come at the cost of a few failed requests at the mean time.

i changed the logic of fetching slightly because the call will fail if the contract does not support the new property, it is a little bit more passive now


Histogram bucket values are duplicated

Hi,
for Histogram the value for given bucket is duplicated to "higher" buckets
I have a simple code that adds value to the 0.75 bucket only. But it add to all above as well.
from prometheus_client import Histogram, start_http_server
import time

h = Histogram('request_latency_seconds', 'Description of histogram')
start_http_server(9111)

while True:
    h.observe(0.07)
    time.sleep(1)

The result after some time (python_* metric skipped):
(bash) % curl http://localhost:9111

# HELP request_latency_seconds Description of histogram
# TYPE request_latency_seconds histogram
request_latency_seconds_bucket{le="0.005"} 0.0
request_latency_seconds_bucket{le="0.01"} 0.0
request_latency_seconds_bucket{le="0.025"} 0.0
request_latency_seconds_bucket{le="0.05"} 0.0
request_latency_seconds_bucket{le="0.075"} 13.0
request_latency_seconds_bucket{le="0.1"} 13.0
request_latency_seconds_bucket{le="0.25"} 13.0
request_latency_seconds_bucket{le="0.5"} 13.0
request_latency_seconds_bucket{le="0.75"} 13.0
request_latency_seconds_bucket{le="1.0"} 13.0
request_latency_seconds_bucket{le="2.5"} 13.0
request_latency_seconds_bucket{le="5.0"} 13.0
request_latency_seconds_bucket{le="7.5"} 13.0
request_latency_seconds_bucket{le="10.0"} 13.0
request_latency_seconds_bucket{le="+Inf"} 13.0
request_latency_seconds_count 13.0
request_latency_seconds_sum 0.9100000000000004
# HELP request_latency_seconds_created Description of histogram
# TYPE request_latency_seconds_created gauge
request_latency_seconds_created 1.63191530135688e+09

Hi @vpecinka, I'm new to this project, but could this be happening because histogram buckets are cumulative? https://prometheus.io/docs/practices/histograms/#count-and-sum-of-observations

Hi @vpecinka, I'm new to this project, but could this be happening because histogram buckets are cumulative? https://prometheus.io/docs/practices/histograms/#count-and-sum-of-observations

The problem above is that the output should be like
:
request_latency_seconds_bucket{le="0.005"} 0.0
request_latency_seconds_bucket{le="0.01"} 0.0
request_latency_seconds_bucket{le="0.025"} 0.0
request_latency_seconds_bucket{le="0.05"} 0.0
request_latency_seconds_bucket{le="0.075"} 13.0
request_latency_seconds_bucket{le="0.1"} 0.0
request_latency_seconds_bucket{le="0.25"} 0.0
request_latency_seconds_bucket{le="0.5"} 0.0
request_latency_seconds_bucket{le="0.75"} 0.0
request_latency_seconds_bucket{le="1.0"} 0.0
request_latency_seconds_bucket{le="2.5"} 0.0
request_latency_seconds_bucket{le="5.0"} 0.0
request_latency_seconds_bucket{le="7.5"} 0.0
request_latency_seconds_bucket{le="10.0"} 0.0
request_latency_seconds_bucket{le="+Inf"} 0.0
:

because my example generates metrics for the only bucket. The value is cumulative, that is ok.
As found that the class Historgram has the data in the correct bucket (did some debug output during processing) and I suspect somethings goes wrong only for the output.

You need to carefully read the following (from here)

Histogram
A histogram samples observations (usually things like request durations or response sizes) and counts them in configurable buckets. It also provides a sum of all observed values.
A histogram with a base metric name of  exposes multiple time series during a scrape:

cumulative counters for the observation buckets, exposed as <basename>_bucket{le="<upper inclusive bound>"}
the total sum of all observed values, exposed as <basename>_sum
the count of events that have been observed, exposed as <basename>_count (identical to <basename>_bucket{le="+Inf"} above)

Use the histogram_quantile() function to calculate quantiles from histograms or even aggregations of histograms. A histogram is also suitable to calculate an Apdex score. When operating on buckets, remember that the histogram is cumulative. See histograms and summaries for details of histogram usage and differences to summaries.

The histograms you are probably used to are ordinary histograms, prometheus uses cumulative histograms.

Now I get it what you mean cumulative: https://povilasv.me/prometheus-tracking-request-duration/
Ok, thanks, no issue


SAT solver with activated "stop_after_first_solution" gets better solutions

Hey Everyone,
i am using the SAT solver (C# Wrapper) and just activated the solver option "stop_after_first_solution". I expected that the solution of my scheduling problem would be less optimal but I got better solutions for two scheduling problems (shorter runtime).
I set up the solver like this:
StringParameters = @"linearization_level: 0
			             exploit_integer_lp_solution: false
			             max_time_in_seconds: 30
                                     stop_after_first_solution: true"

Is there any explanation, why the first solution is better than "final" result?

No, there is nothing special in the code.
Are you sure you always generate exactly the same model (not iterating on a
map which may change the order of constraints) ?
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
*De : *Anja<EMAIL_ADDRESS>*Date : *mer. 15 mai 2019 à 10:52
*À : *google/or-tools
*Cc : *Subscribed
Hey Everyone,

i am using the SAT solver (C# Wrapper) and just activated the solver
option "stop_after_first_solution". I expected that the solution of my
scheduling problem would be less optimal but I got better solutions for two
scheduling problems (shorter runtime).
I set up the solver like this:
StringParameters = @"linearization_level: 0
exploit_integer_lp_solution: false
max_time_in_seconds: 30
stop_after_first_solution: true"
Is there any explanation, why the first solution is better than "final"
result?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1278?email_source=notifications&email_token=ACUPL3IFIZTRRDVNEDKGAADPVPFNXA5CNFSM4HNBB7O2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GT3WJIQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3NCC7YOES6JIPS4JO3PVPFNXANCNFSM4HNBB7OQ
.

I set up the model the exact same way and so the order of the of the constraints is the same too. This only occurs for more complex scheduling problems.
Example for runtimes:
Problem || stop_after_first_solution || Runtime
     1            false                  3h13min30s
     1            true                   3h03min
     2            false                      36min18s
     2            true                       35min25s

Do you need more information?

Is the solution found the optimal one ?
In that case, you are just removing the proof of optimality, and it would
be normal to be faster in that case.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
*De : *Anja<EMAIL_ADDRESS>*Date : *mer. 15 mai 2019 à 13:12
*À : *google/or-tools
*Cc : *Laurent Perron, Comment
I set up the model the exact same way and so the order of the of the

constraints is the same too. This only occurs for more complex scheduling
problems.
Example for runtimes:
Problem || stop_after_first_solution || Runtime
1            false                  3h13min30s
1            true                   3h03min
2            false                      36min18s
2            true                       35min25s
Do you need more information?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1278?email_source=notifications&email_token=ACUPL3MKEPRNKK2LBWE43T3PVPVZHA5CNFSM4HNBB7O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVOKNRA#issuecomment-492611268,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3IFPNPIQXOAFL672IDPVPVZHANCNFSM4HNBB7OQ
.

Thank you for your quick response.
Yes, you are right. The result is only feasible. So the optimal result is not only regarding runtime? With runtime I mean the runtime of my created schedule (endtime of the last scheduled task) and not the runtime of solving the problem. Sorry for the confusion.
Are there information on how optimality is defined?
In my use case the runtime of the final schedule is the most important parameter but the first solution is for me better than the optimal one. But if I take the first solution I never know, if there is really a better one?

Is the result deterministic ?

I always get the same result for a given input except i change the solver parameters.
Attached you see two scheduler results as Gantt Charts for the same jobshop problem. The end of the last task of the optimal solution is planned a bit later than the one of the feasible solution.
Created Schedule with activated "stop_after_first_solution" => feasible solution

Created Schedule with deactivated "stop_after_first_solution" => optimal solution

By the way, great job! The solver performance has improved quite a lot between version 6.10.6025 and 7.1.6720.


Feature: allow wildcard in http allowed_host

We should have a allowed_http_hosts = ["*"] option to allow all all hosts. This is dangerous but in rare cases should be useful - like handling a webhook callback.

My thought is that we should clearly document this and put a big WARNING sign when user is using the "*" in their component.

I would be happier if we made the string scarier :slightly_smiling_face: , maybe something like insecure:allow-all?

Will this be a string in allowed_http_hosts, or it deserves its own component field?

I'm fine with it going in allowed_http_hosts. I think we'll want to adjust the fields in the future anyway for e.g. https://github.com/deislabs/wasi-experimental-http/issues/87

updated the pr to have insecure:allow-all


Update components-contrib version to use base metadata struct

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the feature
Update all components initialization (i.e invoke Init(metadata) func) to use  the new base metadata struct.
Basically, instead of having
err := component.Init(component.metadata{
			Properties: props,
})

We're going to have
err := component.Init(component.metadata{Base: metadata.Base{
			Properties: props,
}})

on all initialization occurrences, which is ~13 lines
Related issue
Release Note

RELEASE NOTE:

/assign


Issue Installing LordPE

Hi All,
Sorry to report another issue, but the LordPE install on Win7 64-bit may be broken.  The Bin_LordPE_2010-6-29_3.9_LordPE_1.41_Deluxe_b.zip file seems to be empty when downloaded to a test system on in my lab, causing the Hash evaluation to fail (see attached error).
Hope I am reading this correctly.  please let me know if there is any additional troubleshooting you'd like from my end.
Regards,
Chris
error.txt

@matchstickboy Thank you for reporting the error. However, I can not reproduce it. I try to install lordpe.flare, as well as downloading the zip file manually. They both download successfully.
Does your lab has any AV (on both network and host level) that may detect and quarantine lordPE?

Thank you @htnhan.  We do use a web proxy, and it is possible that this is blocking the file download.  Can you provide me with steps on how to manually download the ZIP file for LordPE?  I would like to see if I can reproduce the issue during a manual download.
Regards,
Chris

The zip file can be downloaded here:
http[:]//www.woodmann[.]com/collaborative/tools/images/Bin_LordPE_2010-6-29_3.9_LordPE_1.41_Deluxe_b.zip
Please let us know if it is a web proxy issue, or it's something else entirely.
Thank you

Thank you and apologies.  Our Proxy service categorizes www.woodmann.com as a Malicious Web Site.
Please disregard this ticket.
Regards,
Chris