get_overlapping_areas() not working properly in area_entered signal since 3.1

Godot version:
3.1 stable
Issue description:
Node to check : Area2D
method/signal to check: Area Enter
Hi Sorry if i butcher this for im not that used to github.
in 3.0.6, when you have a "get_overlapping_areas()" in a area_entered signal
it gets all of the areas in that event.
example:
_in the ready()
> connect("area_entered",self,"do_this")

func do_this(obj):
> var objs = get_overlapping_areas()
> print(objs)

so if you have 4 areas teleported to 1 location and the are all overlapping
and u have area0 detecting everything
the print report will be like this
[area1,area2,area3]
now in 3.1 it returns this
[area1]
[area1,area2,area3]
this causes a lot of problems using area2d coz if u want to affect every area it will do it first with the first contact then it will check for others which is not ideal.
for now what im doing is I put the get_overlapping_areas() function in a physics_process... which isnt optimised.
Steps to reproduce:
_in the ready()
> connect("area_entered",self,"do_this")

func do_this(obj):
> var objs = get_overlapping_areas()
> print(objs)

I think that the way to do it, is to check in a process function, just enable a check flag on the signal, trying to get physics states during signals may not give you what you expect.

yup its just that in 3.0.6 its pretty straight forward... now in 3.1
i need to use a signal "area_entered" calls a method that just sets the physics process = true
then in the physics process it has a get_overlapping_areas() then set_physics_process = false

Try connecting with the CONNECT_DEFERRED flag. It will call the signal handler a bit later, which might be enough for the overlapping_areas array to update.

ooh we have a deferred flag for connects? oh its a 3.1 thing. ill try that.

@lainv0hndyrec yeah, that's pretty much what bind does. In your case, you would probably leave it to [].

Thank you.. will try this today <3


The binaries are too big

When i tried to push i got the following error:
remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File build/hyperkube is 79.19 MB; this is larger than GitHub's recommended maximum file size of 50.00 M

Put in git ignore


feature: evmos support

Closes: #218
Note: Chain id for evmos is different from others, hence would need to some custom changes. Need to make sure the changes made for evmos are compatible with rest of the chains

Merged with injective support PR: #222


Add support to services API

In upcoming Topology 1.8 a new API for the nodes will be implemented: the services API.
The Docker platform engine for Topology must implement the required interfaces on the base node if required.

@carlos-jenkins, can this be closed now?

@ocelotl yes, I wanted to closed it with the milestone and thus the release 1.7, but yes, it is done. You can close it if you want.
Regards


[update] README with capistrano example

Adds this:

:+1:

Should I merge or you handling that stuff?

go for it


async text

Async functionality was added to text() method, now it's not required to pass callback and everything is a little bit modern.
Example of how to use it:
import figlet from figlet

(async()=>{
      // Function existence as third parameter will be changed in next commit
      const a = await figlet.text("Hello World", "Standard", () => null)
      console.log(a)
})()

@patorjk would that be a good idea to totally remove callback as a parameter?

It should stay for backward compatibility, but I like the idea of moving to promises as the main way it should be used.

Sure, then add some tests, examples and anything else that I'll find needed for this feature and very soon open the pull request

@patorjk I guess I've finished, is there anything else you would like for me to add?

I've been pretty busy the past few days. I'll try and take a look at it soon and let you know.

Looks good to me, I'll publish a new version of the package later this week. Thank you for working on this!
@all-contributors please add @Lev-Shapiro for code,example


ci: split workflows

About this change - What it does
As suggestion
(🙏 please feel free to suggest changes etc, I added more at the end of this text)
We now have to reusable workflows (aka: they are not triggered by an external event, but are used in other workflows)

maven (runs the Java CI)
coral (runs lint and test in React frontend)

We also have two workflows that are triggered by events:

pr-workflow
this workflow is triggered on all Pull Requests that are based on the main branch. (We could update that to be triggered by all Pull Requests - I feel that would make sense?)

This workflow runs the coral-jobs if the PR contains changes in /coral.
It runs the maven-jobs if there are changes that are outside of /coral

That way, we avoid unnecessary  runs, e.g. not running maven jobs when there are only changes in coral.

main-workflow
this workflow is triggered on a push to main (aka when we try to merge a PR to main). It will run both maven and coral pipeline (without checking where are changes).

Resolves: #945
(this PR also adds the tsc job to the coral pipeline that was missing)
❓ Questions & Notes

we could be more granular in when we trigger the maven-pipleine, e.g. I'm not sure if it's needed if there are changes outside of cluster-api and core?
can / should we changes something else?

I agree that the pr-workflow should run on all non-draft (if possible) branches that aren't main.

Updated the PR workflow to run regardless which branch a PR targets.


supermarket - metadata issue

Hi,
There is a difference in the metadata between the cookbook on supermarket and the one in github (yet both are 1.2.0)
edit : Apparently the cookbook on supermarket does not match the version here (several files are not up to date) . Would it be possible to update the supermarket cookbook with the one here in github ? That would make it much easier to knife install.

The current master will be released as 2.0.0 soon due to the postfixadmin cookbook update. Give me a couple of days.

Wonderful. Thank you

@RavenB np :wink:
Anyway, is there any problem or bug with the old 1.2.0 version in the Supermarket? It should work.

@RavenB I just released 2.0.0.

Downloading :) and thank you.


Uncaught Error: Cannot call function 'getPosition' on missing remote object 784Error: Cannot cal...

[Enter steps to reproduce:]

...
...

Atom: 1.39.0 x64
Electron: 3.1.10
OS: Mac OS X 10.14.5
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot call function 'getPosition' on missing remote object 784
Error: Cannot call function 'getPosition' on missing remote object 784
at throwRPCError (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:145:17)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:367:7)
at EventEmitter.emit (events.js:182:13)
at WebContents. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:294:13)
at WebContents.emit (events.js:182:13)
At /Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:219

Error: Cannot call function 'getPosition' on missing remote object 784
Error: Cannot call function 'getPosition' on missing remote object 784
    at throwRPCError (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:145:17)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:367:7)
    at EventEmitter.emit (events.js:182:13)
    at WebContents.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:294:13)
    at WebContents.emit (events.js:182:13)

    at metaToException (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:271:17)
    at Object.exception (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:219:30)
    at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:223:28)
    at Object.remoteMemberFunction (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:123:16)
    at AtomEnvironment.getWindowDimensions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:703888)
    at AtomEnvironment.storeWindowDimensions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:704303)
    at WindowEventHandler.handleWindowBlur (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284967)

Commands
     -2:21.9.0 editor:move-to-end-of-screen-line (input.hidden-input)
  3x -2:15.4.0 editor:move-to-beginning-of-word (input.hidden-input)
  9x -2:13.2.0 core:save (input.hidden-input)
     -1:03.4.0 core:move-left (input.hidden-input)
     -1:03.0 core:backspace (input.hidden-input)
  2x -1:01.1.0 core:save (input.hidden-input)
     -0:50.9.0 editor:newline (input.hidden-input)
     -0:49.8.0 core:move-down (input.hidden-input)
  2x -0:49.5.0 editor:newline (input.hidden-input)
  4x -0:34.7.0 editor:move-to-beginning-of-word (input.hidden-input)
  5x -0:30.9.0 core:save (input.hidden-input)
     -0:22.8.0 editor:newline (input.hidden-input)
     -0:21.2.0 autocomplete-plus:confirm (input.hidden-input)
     -0:21.2.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -0:20.4.0 autocomplete-plus:confirm (input.hidden-input)
  2x -0:20.1.0 core:save (input.hidden-input)

Non-Core Packages
atom-beautify 0.33.4
atom-live-server 2.3.0
emmet 2.4.3
file-icons 2.1.27
language-pug 0.0.22
platformio-ide-terminal 2.8.4
script 3.18.1

Thanks for contributing!
We noticed that this looks like a duplicate of https://github.com/atom/atom/issues/16630 so you can subscribe there for updates if you'd like (we believe that this will be fixed in a future Electron upgrade).

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


MenuItems in ContextMenu on Tray Icon Using Commands Always Disabled

CS
public static RoutedCommand ChooseFolderCommand = new RoutedCommand();

private void ChooseFolderCommandExecuted(object sender, ExecutedRoutedEventArgs e)
{
	// ...
}

XAML
<Window.CommandBindings>
    <CommandBinding Command="local:MainWindow.ChooseFolderCommand" Executed="ChooseFolderCommandExecuted" />
</Window.CommandBindings>

<tb:TaskbarIcon x:Name="trayMenu" IconSource="/Assets/quill-64.ico">
    <tb:TaskbarIcon.ContextMenu>
        <ContextMenu Opened="ContextMenu_Opened">
            <MenuItem Header="Choose folder" Command="local:MainWindow.ChooseFolderCommand" />
        </ContextMenu>
    </tb:TaskbarIcon.ContextMenu>
</tb:TaskbarIcon>

Noteworthy

The Command gets never disabled (no CanExecute), yet when debugging, the IsEnabled property of the MenuItem remains false.
The same Command is used in a Menu and works as expected.
In order to resolve the issue, I had temporarily attached a CanExecute-method to my CommandBinding, which doesn't get called ever for the tray icon's context menu.  This remains the case even when calling CommandManager.InvalidateRequerySuggested() in e.g. the Opened event of the ContextMenu.
The above works fine when using a Click event hander instead
Others seem to have the same issue, see this question on StackOverflow

Since this is a major drawback affecting many who follow the standard command approach for context menus, could you please elaborate on how you managed to resolve this via CanExecute by providing the example? Would be really appreciated.

Oh, I see, you @uyaem probably meant that in order to troubleshoot the issue you've attached the CanExecute method, but it didn't yield any results nonetheless, as it never gets call from what I see.

Just for anyone who comes across this - I was only able to get this to work using the trivial (non routed commands) from the example application in the repository. I had to inject the IoC into the command handler via a parameter allowing the commands to be kind of self-sufficient, otherwise, as per example, they can only react within the Visual Tree which is pretty useless. So if you need commands to work in the Tray Icon context menu - use the approach from here: https://github.com/hardcodet/wpf-notifyicon/tree/master/src/NotifyIconWpf.Sample.ShowCases/Tutorials/04 - ContextMenus

I'm horrible at WPF, commands and "bubbling" events... I have seen many weird things, and usually just take the quirks and their solutions for granted...
I believe the context menu is completely separate from the normal visual tree (it's a popup with it's own root), and thus also has issues with events, commands and even styles.
I'm not sure if this can be made better, but the mentioned tutorial seems to help.
I also found this here: https://stackoverflow.com/questions/59698021/wpf-context-menu-commands-not-setting-isenabled-properly
Closing this, as there is a "solution" and from my point of view we currently have way more pressing things then to fix issues with the way WPF works.


dashboard: Count all findings/engagements for staff users #3824

is there a reason why you have a staff user that is not a superuser? the staff user is mainly meant for accessing the '/admin' portal. I think most checks / queries use the superuser property to distinguish between regular users and "admins".

Here is what we see for is_staff users when browsing to /admin

We use is_staff for our greater Security team be able to access all projects and vulns for remediation process but not have Application Admin access(adding/removing users).
Looks like the other finding views on dashboard are affected by this as well(for is_staff only user)
This PR currently only addresses the engagements stats:
"Finding Details Last Seven Days": 0 (should be 28)
"Finding Details Closed In Last Seven Days": 0 (should be 2)
"Finding Details Risk Accepted In Last Seven Days": Throws 500 error

Looks like '&test__engagement__risk_acceptance__reporter=4800' gets appended when not superuser. Removing this and page loads correctly

stacktrace from 500:

ERROR:django.request:Internal Server Error: /finding/accepted
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "./dojo/finding/views.py", line 102, in accepted_findings
    django_filter=accepted_findings_filter)
  File "./dojo/finding/views.py", line 157, in findings
    title_words = get_words_for_field(findings_filter.qs, 'title')
  File "/usr/local/lib/python3.6/site-packages/django_filters/filterset.py", line 243, in qs
    qs = self.filter_queryset(qs)
  File "/usr/local/lib/python3.6/site-packages/django_filters/filterset.py", line 230, in filter_queryset
    queryset = self.filters[name].filter(queryset, value)
  File "/usr/local/lib/python3.6/site-packages/django_filters/filters.py", line 248, in filter
    qs = self.get_method(qs)(q)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 892, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 910, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1290, in add_q
    clause, _ = self._add_q(q_object, self.used_aliases)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1312, in _add_q
    current_negated, allow_joins, split_subq, simple_col)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1318, in _add_q
    split_subq=split_subq, simple_col=simple_col,
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1224, in build_filter
    self.check_related_objects(join_info.final_field, value, join_info.opts)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1084, in check_related_objects
    self.check_query_object_type(value, opts, field)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1067, in check_query_object_type
    (value, opts.object_name))
ValueError: Cannot query "Test Local (test-local)": Must be "Risk_Acceptance" instance.

Superuser = users with access to all products. Staff = access to admin portal.

No, that's the other way around.

Superuser = users with access to all products. Staff = access to admin portal.

No, that's the other way around.

No it's not:

I always mix them up because they make no sense, but this is the django definition.

Then try, I just did :) The labels are wrong.

So as it turns out, you need both staff AND superuser to access admin. The labels are misleading.

yes, but everything defect dojo is not designed like this so only fixing the dashboard makes it more confusing I think

I am changing the title as that is what appears on the release notes.

I think everybody including me is/was confused what Django meant by this is_staff flag as I now see that in defect dojo the superuser is allow to modify the system setting. But in Django terms I would expect that permission to be for staff users.

So if we implement a new permission system, we should stay close to what people are used to with Django is my opinion.


Page indicator position

I didn't find an ability to place indicator on arbitrary place on screen. For example I need to put indicator to top of screen. Please add an ability of layout_gravity for indicators

Hi @paul-ovchinnikov,

Create your own XML layout for tutorial page. See our layout here.
Extend your tutorial fragment from TutorialFragment or TutorialSupportFragment.
Override all this getters and provide proper resource IDs.
....
Profit

This approach doesn't work. TutorialFragment still trying to use original layout and don't use custom layout.
Also if TransormItem[] size is 0, I get IllegarlArgumentStateExcepton.
One more question is there ability to set another size for focused indicator?

Thanks for pointing on this issue. It appeared after refactoring. We'll fix it and release new version next week.
We're not supporting tutorials without transform items at this moment. If you need to display tutorial without transform items, you can easily do it on your own using ViewPager and Fragments. If you don't have transform item on one or multiple pages of tutorial, you can pass single TransformItem item with shift coefficient set to zero. Pass any view id in page's layout as viewResId.
It's not supported out of box. You can implement you own Renderer and draw anything you like. Renderer will receive elementBounds parameter which represents a rectangle where you need to draw your indicator and a Canvas object. At this point you can set scale on canvas and enlarge indicator (when flag isActive equals true) or enlarge rectangle and use it for drawing indicator.

fixed in v.1.0.3


Make the project titles in project tab right clickable to get into new tabs

When I right click on a project in the project tab I just seem to end up highlighting a word in the title and I never get an option to open the link in a new tab
Is this expected behaviour?

HI Laura,
Yes the project title is not a link so this is the current expected behavior.
If you click  the title  nothing happens. If you double click the title the browser will highlight whatever word you clicked on as is standard browser behavior for non link text.
Will be no problem to make make the title a link that opens up in a new tab.
Cheers,
Dave

I think the fact the text is blue (though I realised it isn't underlined)  and when I hover over them I get a cursor change that looks like it is a link makes me think it is one.
I think making them links is great but if it doesn't fit with the design, the other alternative would be to make it look less like a link

Sorry I misread your request I thought you were talking about the project detail page.
On the project list the  blue text titles are definitely links. They are blue, and the cursor changes to a "hand" if you hover over the link.
If you select the link take you to the project detail page for the project.
The standard way to open a link in a new tab is to "command-click" on the link "shift-click" opens in a new window.  (on a mac with similar commands on a PC)
Now, I see that neither of these commands (command-click or shift-click)  work on the title links on the project page.
We can take a look and see what we did to override this behavior and fix it so the links work naturally like normal links. We can also check any other links to see if this is a problem and fix it.
Thanks for bringing this up.
D

I am using chrome 78.0.3904.97 on mac osx 10.15.1 in case it matters


gradle prepDev fails with v7

Describe the bug
gradle prepDev fails build process when the source is located on a drive other than C:.
NB. If you create a Directory Junction to effectively place the source on the C: drive (or presumably have it located there - can't test, no space) the build succeeds!
To Reproduce
Steps to reproduce the behavior:

Get latest source (commit 296360eb3479e70eb734a2abf2eded06b84e3d69)
Use build command gradle prepDev
See failure.

Expected behavior
To build without errors!
Screenshots - command line output
Z:\GIT_Sources\Ghidra.Latest\ghidra>gradle prepDev
Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :
Searching for latest Visual Studio and required components...
  -> Installation Directory: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
  -> VCTools Version (default): 14.28.29910
  -> SDK Directory (default): C:\Program Files (x86)\Windows Kits\10\
  -> SDK Version (default): 10.0.19041.0
  -> SDK Version (override): N/A

> Task :GhidraServer:generateDevGhidraServerClasspath FAILED

FAILURE: Build failed with an exception.

* Where:
Build file 'Z:\GIT_Sources\Ghidra.Latest\ghidra\Ghidra\Features\GhidraServer\build.gradle' line: 156

* What went wrong:
Execution failed for task ':GhidraServer:generateDevGhidraServerClasspath'.
> 'other' has different root

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 5s
74 actionable tasks: 31 executed, 43 up-to-date

Attachments
N/A
Environment (please complete the following information):

OS: Windows 10 20H2 (19042.985)
Java Versions: 11.0.2 & 16.0.1
Ghidra Version: 10_DEV
Ghidra Origin: locally built (commit 296360eb3479e70eb734a2abf2eded06b84e3d69)
Gradle Versions: 7.0.1 & 7.0.2

Additional context
The last Gradle version this worked with was 6.6.1, and that used JDK 11.0.2.  (Using JDK 11.0.2 with Gradle 7.x.x fails with Java errors.)

Thanks, I was able to reproduce it.

The issue is that :GhidraServer:generateDevGhidraServerClasspath assumes all of the jar dependencies can be gotten relative to where your Ghidra is located, but some of the jars reside in your gradle cache, which by default is in your home directory located on C:
Until we can properly address it, you can force gradle to use a cache location on the same drive that Ghidra resides on:
gradle -g dependencies/gradle_cache prepDev


Chapter 1 cuqipy overview update (and other updates)

closes #53 closes #68
(after scope update of #56 and #58)
closes #56
closes #58

@jakobsj and @chaozg, many thanks for taking on reviewing this PR. This PR closes 4 issues as noted above. All remaining issues that were not addressed are tracked in #73
The results are rendered in https://amal-ghamdi.github.io/CUQI-Book-test

@jakobsj and @chaozg, Many thanks for your review!.
I made an update to address @jakobsj's comment. and thus I am re-requesting approval :) (since these get removed after I update)


BUG: Overlapping of two similar category section bars

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
There is unnecessary presence of almost similar 'category section' that is also not functional.
It's occupying extra space too (gap created in between) that's looking improper.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@arghadipmanna101 please assign this issue to me.


fix(ingest/sql-server): update queries to use escaped procedure name

Closes #8884
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[x] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[x] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Hi I'm still getting the parse error:


Error: invalid address or ENS name

If you neglect to run npx hardhat run scripts/deploy.js --network localhost before starting the frontend and connecting a wallet, you will get an endless spinner and this error in the console. However, I'm still getting the error after deploying the contract. It's not a blocker though because the transfer form now loads.

You are passing ethers an value were it expects an address.
This issue as is it's not actionable, so I'm closing it. Feel free to hop by our discord for help :)


impish Release no longer has a Release file [closed]

When running apt-get update inside the docker image, the following error appears:

Output of `apt-get update`
Ign:1 http://security.ubuntu.com/ubuntu impish-security InRelease
Err:2 http://security.ubuntu.com/ubuntu impish-security Release
  404  Not Found [IP: <IP_ADDRESS> 80]
Ign:3 http://archive.ubuntu.com/ubuntu impish InRelease
Ign:4 http://archive.ubuntu.com/ubuntu impish-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu impish-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu impish Release
  404  Not Found [IP: <IP_ADDRESS> 80]
Err:7 http://archive.ubuntu.com/ubuntu impish-updates Release
  404  Not Found [IP: <IP_ADDRESS> 80]
Err:8 http://archive.ubuntu.com/ubuntu impish-backports Release
  404  Not Found [IP: <IP_ADDRESS> 80]
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu impish-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu impish Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu impish-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu impish-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

This is the same error as seen by the OP of this StackOverflow post.
Perhaps it's time to bump Ubuntu to 22.04.

Thanks @madebr for reporting the issue. I will plan to bump to 22.04 as soon as I can, and I will update you.

Upgraded to 22.04 in this commit https://github.com/Simplatex/android-lightweight/commit/f91a8d56c0e86c8b66526b631326f89f30832a38
Thank you again for reporting.


ShowLoading work only one time on MvvmCross

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[] Android
[] NET Standard 2.0

Version of OS(s) listed above with issue (if android - please include version of Xamarin.Android.Support.* you are using)
28
Version of ACR UserDialogs Library
7.0.4
Expected Behaviour
Method ShowLoading works always
Actual Behavior
Method ShowLoading work only one time
Code of Conduct
UserDialogs.Instance.ShowLoading();
var products = new await _productService.GetProducts();
UserDialogs.Instance.HideLoading();

If I call this code one more then loading dialog not shown

Please provide a full sample of the issue.  Also, you are better off doing
using (UserDialogs.Instance.Loading(...))
{
/// your async method call here
}

@aritchie
In Android
public override void OnCreate()
{
    base.OnCreate();
    UserDialogs.Init(this);
}

In App.cs in method Initialize()
Mvx.IoCProvider.RegisterSingleton<IUserDialogs>(() => UserDialogs.Instance);
On main page I called
public override async void ViewAppearing()
        {
            base.ViewAppearing();

            UserDialogs.Instance.ShowLoading();
            Products =
                new MvxObservableCollection<ProductsModel>(await _productService.GetProducts());
            UserDialogs.Instance.HideLoading();
        }

I'm tying use
using (UserDialogs.Instance.Loading())
            {
                Productst =
                    new MvxObservableCollection<ProductsModel>(await _productService.GetProducts());
            }

The same result.
When I go next from with page and go back then Loading doesn't work but data long loading without loading dialog.

It will worked when I use Loading in ViewAppeared().
@aritchie thanks


Databased Backed Blacklists

This removes the blacklist that was hardcoded, and instead replaces it with one that is stored in the database. It also provides an admin UI to view and add new blacklists.
This is a somewhat of a dangerous workflow, because blacklisting a name also involves removing all files, releases, etc that exist for that (essentially the same thing as hitting remove package on legacy PyPI). Due to the danger, adding a blacklist requires confirmation.
This still requires a few things:

[x] Add the ability to remove existing blacklists to allow users to claim the name again.
[x] Make the confirmation page harder to blindly click though.

This might be requiring typing the name of the project that would be deleted into an input box?
This might require typing in a random string?

[x] Write tests

Throwing this up here so people can take a look at it before I finish it.

Feedback handled. I'm a little nervous about the idea of a bulk blacklisting, since blacklisting means deleting packages and is generally irreversible, perhaps once we get some more experience with the single entrypoint we can explore that?

As far as a bulk feature goes, that may be more appropriate to tackle as a "bulk quarantine" (i.e. shuffle all the affected artifacts off to a different S3 bucket, without deleting them outright) rather than as bulk automation of the existing removal behaviour (quarantine also has the benefit of preserving the artifacts for security analysis, similar to the way anti-virus quarantining works).

We don't actually delete the files from S3 even with bulk delete. The cost of storing the files is minuscule it's actually serving the files that actually costs the bulk of our S3 "bill". This also makes it easier for us to deal with transactionally deleting these projects since it's all contained inside of the database.
So deleting here is really just deleting the data from the database (although maybe at some point we'll have some process to garbage collect data from S3 that is no longer referenced in the DB).

OK, so even today the database entries for "deleted" releases could potentially be backfilled from the artifacts retained in S3. I think that would already mitigate a lot of the risk associated with removal errors, even if the scripts for state reconstruction don't exist yet.


error when running olps

Hi there,
I am trying to run the current version of OLPS on a Max OS X 10.10.2 PC with GNU Octave 3.8.0. Currently I get an error when I try run the OLPS_cli script. Here is the error:
octave:2> cd OLPS/
octave:3> OLPS_cli.m
----Begin ubah on djia-----
-------------------------------------
Market(tc=0.0000), Cumulative return: 0.76
-------------------------------------
----End ubah on djia-----
error: save: unable to open output file '../Log/Mat/ubah-djia-2015-0220-11-27.mat'
error: called from:
error:   /Users/mmayo/OLPS/Strategy/manager.m at line 105, column 5
error:   /Users/mmayo/OLPS/OLPS_cli.m at line 36, column 1
octave:3>

Thanks
Mike

Thanks for the issue. We have solved it. Please use the latest version.


set window.titleBarStyle=custom, the mouse and the actual click position on the user interface do not match when using dual monitors.However, after disabling the display extension, this issue does not occur.

Windows build number:
10.0.22621.0
Your Distribution version:
20.04
Your WSL versions:
WSL 版本： <IP_ADDRESS>
内核版本： <IP_ADDRESS>-2
WSLg 版本： 1.0.60
MSRDC 版本： 1.2.5105
Direct3D 版本： 1.611.1-81528511
DXCore 版本： 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows 版本： 10.0.22621.2283
Steps to reproduce:

set window.titleBarStyle=custom
restart vsocode

WSL logs:
No response
WSL dumps:
No response
Expected behavior:
No response
Actual behavior:
the mouse and the actual click position on the user interface do not match when using dual monitors, so I can not use it normally.

Any update？

seems like the issue is larger and has something to do with multiple monitors
when checking multiple apps including intelij on a single (laptop) monitor things work fine
but when working on a hdpi monitor
the layout distrupts the window position and the mouse click as well as the right click menu locations


Fix #4102: Add Semaphore and use it in IOThrottler.

Comment to check CLA is signed.

Test is failing - let me take a look.

Please:

Confirm that you haven't look at the source code of the Oracle JDK or OpenJDK.
Read and apply the guidelines about commit messages.

I confirm that I have not looked at any other Semaphore implementations of the JDK.

@yilinwei are you planning on finishing this? If no, is it OK with you if I finish it?

@yilinwei are you planning on finishing this? If no, is it OK with you if I finish it?

@gzm0 Please - go ahead. I haven't had much time to work on it.

@gzm0 Please - go ahead. I haven't had much time to work on it.

Superseded by #4381

Superseded by #4381


issue-1130: added show to make size dropdown compatible with bootstrap4

https://github.com/AllenFang/react-bootstrap-table/issues/1130

@JLoboRod, thanks, I'll check this out 👍

Released on v4.0.0-beta.6, The production release will be in this or next week, thanks your contribution.

Fixed on v4.0.0


Completed pagination and some other minor features listed below:

-Added Pagination to the search result page
-Added Spinner during website loading
-Added spinner during loading the content
-Added Page404
-Added lazy loading
-cleared Redux state (cache) after each search request, so the application behaves correctly

good!


fix: Do not crash if the "Accept-Language" header is missing

Not entirely sure what requests fail here, but seems good to avoid malformed header values.

At least cli based downloads of the Sync DB for africa fail :D


Realm error : Realm SDK package version does not match the native library version (3.4.1 != 3.3.0).

What happened?
My pubspec.yaml is set to realm: 3.3.0, but the issue description mentions version 3.4.1. I thought it might have been accidentally upgraded to 3.4.1, but the pubspec.yaml modification history does not show this. When I updated pubspec.yaml to realm: ^3.4.1 and compiled the APK, print:
Directory: 'D:\Cache\Pub\hosted\pub.flutter-io.cn\realm-3.4.1\android\src\main\cpp\lib'
Downloading Realm binaries for 3.4.1 to C:\Users\lica\AppData\Local\Temp\realm-binary-91226881\android.tar.gz
Extracting Realm binaries to D:\Cache\Pub\hosted\pub.flutter-io.cn\realm-3.4.1\android\src\main\cpp\lib
extracting x86_64/librealm_dart.so
extracting arm64-v8a/librealm_dart.so
extracting armeabi-v7a/librealm_dart.so

Archive C:\Users\lica\AppData\Local\Temp\realm-binary-91226881\android.tar.gz extracted to D:\Cache\Pub\hosted\pub.flutter-io.cn\realm-3.4.1\android\src\main\cpp\lib
Realm install command finished.

it seems to indicate that this is the first time downloading the so. I recall this happening before, and at that time, I thought it was an accidental version change. I’m frustrated as this prevents my clients from accessing data, and I am even considering using another  database.
Of course I can't be sure that this is a realm issue
Repro steps
I dont Know
Version
3.22.3->3.24.1->3.22.3
What Atlas Services are you using?
Local Database only
What type of application is this?
Flutter Application
Client OS and version
Android
Code snippets
No response
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response

It appears you updated your dependency but didn't install the native binaries. How that happened is not clear to me, but the first version is the version of the dart package while the latter is the version of the native binary.

I cannot reproduce the issue，I will update to the latest version to avoid this issue.


Update to match name change in underlying package from pep257 to pydocstyle

pep257 linter tool changed its name to pydocstyle per Guido's request: https://github.com/PyCQA/pydocstyle/issues/172
Fix #31

When you merge this, you'll also want to rename the github repo and the linter name on the atom website.
I wasn't sure what (if anything) you wanted on the changelog
cc @Arcanemagus

As it looks like the currently listed maintainers are not interested in maintaining this, would you be interested?

@Arcanemagus Sure, happy to be a maintainer--I maintain a number of projects, and tell everyone upfront that I can't promise I will always stay up to date with things, but I'm more than happy to fix/help as I have time.
Anything you need to give me rights to the updating the Atom package directory listing for this?

@julesjulian I actually forgot I had asked you a week ago, you don't mind the company do you? :stuck_out_tongue:

For the record, @julesjulian if you're interested in maintaining, I'd actually prefer that you are the lead on this project because I have several other open source projects that are keeping me plenty busy. I'd still appreciate commit rights so that if a quick bugfix is necessary I can jump in and merge it, but prefer not to be primary maintainer unless Jules has no interest.

Haha, no problem. I'm still up for it, but I wouldn't mind company either.

So are we good to merge this? Or does #42 need to be solved first?

I'd be fine with merging it before #42 has been fixed. However, there are additional references to PEP257 in the code now that need to be changed before merging (in .travis.yml and in spec/linter-pep257-spec.coffee).

Rebased, and amended travis & coffeescript as mentioned by @julesjulian
@Arcanemagus I think you'd be the best person to merge this as you can simultaneously change the git repo name & atom package name. I don't think I have permissions to those.
Let me know if I forgot anything else

Specs are failing actually due to a path issue (pydocstyle is outputting all lower case instead of the proper path.) For now it's probably best to change to a toMatch(/some regex for filename/).

For future reference btw @jeffwidman, always work from a branch and not directly from master, also you can create branches directly on the repo here so others can work on them to.

@Arcanemagus does it actually matter whether I work on master as long as I do it on my own repo? I tend to delete repos once I make whatever quick fix, so effectively treat master as just another local branch. If I end up with multiple PR's, it often becomes master, patch-2, etc. Curious if there's some GitHub magic benefit from not using master.
Good point about creating dedicated feature branches here so that others can modify as well--I'll do that next time.

The point of doing a branch is if you royally screw something up (or more commonly just need to rebase / merge commits) you can do it there without breaking everything. If you are deleting the clone for every patch I guess that isn't as large of an issue.

Specs are failing actually due to a path issue (pydocstyle is outputting all lower case instead of the proper path.) For now it's probably best to change to a toMatch(/some regex for filename/).

Afraid I'm not clear--is this something I need to change in this PR, or an issue with the specs? If the specs, then @julesjulian do you mind fixing?
I'd really like to push this PR past the finish line and get the project switched over to the new name

I'll just merge this, do a bit of cleanup, and publish then :stuck_out_tongue:.

Okay, let's see how broken everything is now...

Looks like we're good, let me know if you need anything else!

:+1:


Add microtype package

microtype – Subliminal refinements towards typographical perfection
This package effortlessly improves the general appearance of the text using different techniques, such as margin kerning (protrusion), extra kerning, expansion, tracking, and spacing.
Disable protrusion on the table of contents as per the documentation: http://www.ctan.org/tex-archive/macros/latex/contrib/microtype/microtype.pdf

Can you point me to particular sections or tables in the spec that microtype improves, so I can get a visual idea for what this does?


[gpu] Avoid restarting services if not started yet

In case of 2.0+ dataproc images services are always started after the custom init actions.
So, Trying to restart services in init stage results in failure as 'ready' marker file will not be present for services to successfully start.
And exit code of init script can be non-zero due to this.
Following changes are on top of #988.

/gcbrun

Thanks for the PR, I have incorporated this fix with some changes in the original https://github.com/GoogleCloudDataproc/initialization-actions/pull/988 PR

Thanks for the PR, I have incorporated this fix with some changes in the original #988 PR

Thank you.


Use GitHub API instead of HTML parsing.

Issue resolved with commit number 140

Issue resolved with commit number 140


Whether there are plans to support the pmd format

Such as title

(I want you to know the context that babylon-mmd was made for modern MMD, not for nostalgia)
The pmd format is not currently used well, so there are no implementation plans yet.
You can open the pmd file in PMX Editor and save it as pmx.
If you want to support the pmd file, please let me know the reason.

Because the MMDLoader of three.js supports PMD, PMX, VMD, and VPD files

I think it's hard to give a reason that we have to implement it as well because three.js MMDLoader is implementing it. Rather than that, I'm asking the essential reason for loading pmd or vpd.

To make babylon-mmd the most solid solution for loading mmd in browsers, I implemented a pmd loader this week.
Check the changelog for details.


asNumber: return undefined when value is empty string

It is currently impossible to clear the value of a number field that is not required because asNumber converts the empty string to 0. This change adds a special case that returns undefined, so that the input can be cleared
Checklist

[x] I'm adding or updating code

[x] I've added and/or updated tests
[x] I've updated docs if needed

@n1k0 - done, and I added the linter rule and fixed any errors

@sjhewitt Fantastic, thank you so much :+1:

Released in v0.41.0.


Error in IE10

There seems to be a problem with IE10 both on local machine and on https://react-universally.now.sh/
Shouldn't the site work in IE10 with babel-env "last 2 versions" and polyfill.io?
Got these errors in the devtools console:
Error walking your react tree
TypeError: Unable to get property 'asyncComponents' of undefined or null reference
{
[functions]: ,
__symbol:__symbol:react.element0.7163679959125997: undefined,
__symbol:hasInstance0.71636799591259978: undefined,
__symbol:isConcatSpreadable0.71636799591259979: undefined,
__symbol:iterator0.71636799591259971: undefined,
__symbol:match0.716367995912599710: undefined,
__symbol:NaN0.71636799591259974: undefined,
__symbol:NaN0.71636799591259976: undefined,
__symbol:replace0.716367995912599711: undefined,
__symbol:search0.716367995912599712: undefined,
__symbol:species0.71636799591259972: undefined,
__symbol:split0.716367995912599713: undefined,
__symbol:toPrimitive0.716367995912599714: undefined,
__symbol:toStringTag0.71636799591259977: undefined,
__symbol:undef0.71636799591259973: undefined,
__symbol:undef0.71636799591259975: undefined,
__symbol:unscopables0.716367995912599715: undefined,
description: "Unable to get property 'asyncComponents' of undefined or null reference",
message: "Unable to get property 'asyncComponents' of undefined or null reference",
name: "TypeError",
number: -2146823281,
stack: "TypeError: Unable to get property 'asyncComponents' of undefined or null reference
at t (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:120829)
at Anonymous function (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:216661)
at s (https://cdn.polyfill.io/v2/polyfill.min.js?features=default,es6:3:14311)
at n.exports (https://cdn.polyfill.io/v2/polyfill.min.js?features=default,es6:3:16834)
at r (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:216028)
at p (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:216277)
at c (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:216486)
at Anonymous function (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:216780)
at s (https://cdn.polyfill.io/v2/polyfill.min.js?features=default,es6:3:14311)
at n.exports (https://cdn.polyfill.io/v2/polyfill.min.js?features=default,es6:3:16834)"
}
Uncaught (in promise) TypeError: Unable to get property 'asyncComponents' of undefined or null reference
at t (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:120829)
at _._constructComponentWithoutOwner (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:138355)
at _._constructComponent (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:138219)
at _.mountComponent (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:137406)
at mountComponent (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:13407)
at _.performInitialMount (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:139178)
at _.mountComponent (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:137982)
at mountComponent (https://react-universally.now.sh/client/index-aa82d9f216c877685074.js:1:13407)
at _.performInitialMount (https://react-universally.now.sh/client/index-aa82d9

Try adding Symbol to the polyfill.io include.

Symbol is included via the es6 set. I think the problem is that the rendering of the client happens before the polyfill.io is loaded and ready. Maybe we could load the polyfills with a callback that start the render. https://polyfill.io/v2/polyfill.min.js?callback=polyfillsAreLoaded


Problem installing Coverage as a dependency

I'm installing coverage as a dependency (I guess for flask?) and I get the following error:
Collecting flask-mongoengine==0.8.2 (from -r requirements.txt (line 11))
  Using cached https://files.pythonhosted.org/packages/db/4d/7125aad7bac8278b857a26d88d563a6aef0291e2bfbd9fbf56329706b85a/flask-mongoengine-0.8.2.tar.gz
    Complete output from command python setup.py egg_info:
    zip_safe flag not set; analyzing archive contents...
    test_files.__pycache__.new_tests.cpython-35: module references __path__
    __pycache__.rednose.cpython-35: module references __file__

    Installed c:\users\some_user\appdata\local\temp\pip-build-7umvissg\flask-mongoengine\.eggs\rednose-1.3.0-py3.5.egg
    Searching for nose
    Reading https://pypi.python.org/simple/nose/
    Downloading https://files.pythonhosted.org/packages/58/a5/0dc93c3ec33f4e281849523a5a913fa1eea9a3068acfa754d44d88107a44/nose-1.3.7.tar.gz#sha256=f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98
    Best match: nose 1.3.7
    Processing nose-1.3.7.tar.gz
    Writing C:\Users\some_user\AppData\Local\Temp\easy_install-jsxeppyh\nose-1.3.7\setup.cfg
    Running nose-1.3.7\setup.py -q bdist_egg --dist-dir C:\Users\some_user\AppData\Local\Temp\easy_install-jsxeppyh\nose-1.3.7\egg-dist-tmp-xtzpfapk
    no previously-included directories found matching 'doc\.build'
    creating c:\users\some_user\appdata\local\temp\pip-build-7umvissg\flask-mongoengine\.eggs\nose-1.3.7-py3.5.egg
    Extracting nose-1.3.7-py3.5.egg to c:\users\some_user\appdata\local\temp\pip-build-7umvissg\flask-mongoengine\.eggs

    Installed c:\users\some_user\appdata\local\temp\pip-build-7umvissg\flask-mongoengine\.eggs\nose-1.3.7-py3.5.egg
    Searching for coverage
    Reading https://pypi.python.org/simple/coverage/
    Downloading https://files.pythonhosted.org/packages/24/24/f95d9d306081b4265fd05eb5d2646984bfe2bb34a33fd5ff84a77605918c/coverage-6.0.2.tar.gz#sha256=6807947a09510dc31fa86f43595bf3a14017cd60bf633cc746d52141bfa6b149
    Best match: coverage 6.0.2
    Processing coverage-6.0.2.tar.gz
    Writing C:\Users\some_user\AppData\Local\Temp\easy_install-iw843ifh\coverage-6.0.2\setup.cfg
    Running coverage-6.0.2\setup.py -q bdist_egg --dist-dir C:\Users\some_user\AppData\Local\Temp\easy_install-iw843ifh\coverage-6.0.2\egg-dist-tmp-17c12i46
    Traceback (most recent call last):
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 157, in save_modules
        yield saved
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
        yield
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 248, in run_setup
        DirectorySandbox(setup_dir).run(runner)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 278, in run
        return func()
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 246, in runner
        _execfile(setup_script, ns)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
        code = compile(script, filename, 'exec')
      File "C:\Users\some_user\AppData\Local\Temp\easy_install-iw843ifh\coverage-6.0.2\setup.py", line 116
        author=f'Ned Batchelder and {num_others} others',
                                                       ^
    SyntaxError: invalid syntax

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\some_user\AppData\Local\Temp\pip-build-7umvissg\flask-mongoengine\setup.py", line 58, in <module>
        'Topic :: Software Development :: Libraries :: Python Modules'
      File "C:\Users\some_user\AppData\Local\Programs\Python\Python35\lib\distutils\core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\dist.py", line 315, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\dist.py", line 361, in fetch_build_eggs
        replace_conflicting=True,
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\pkg_resources\__init__.py", line 850, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\pkg_resources\__init__.py", line 1122, in best_match
        return self.obtain(req, installer)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\pkg_resources\__init__.py", line 1134, in obtain
        return installer(requirement)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\dist.py", line 429, in fetch_build_egg
        return cmd.easy_install(req)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\command\easy_install.py", line 665, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\command\easy_install.py", line 695, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\command\easy_install.py", line 876, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\command\easy_install.py", line 1115, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\command\easy_install.py", line 1101, in run_setup
        run_setup(setup_script, args)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 251, in run_setup
        raise
      File "C:\Users\some_user\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
        yield
      File "C:\Users\some_user\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 169, in save_modules
        saved_exc.resume()
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 144, in resume
        six.reraise(type, exc, self._tb)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\pkg_resources\_vendor\six.py", line 685, in reraise
        raise value.with_traceback(tb)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 157, in save_modules
        yield saved
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
        yield
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 248, in run_setup
        DirectorySandbox(setup_dir).run(runner)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 278, in run
        return func()
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 246, in runner
        _execfile(setup_script, ns)
      File "c:\data\some_tool\server_next\backend\env\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
        code = compile(script, filename, 'exec')
      File "C:\Users\some_user\AppData\Local\Temp\easy_install-iw843ifh\coverage-6.0.2\setup.py", line 116
        author=f'Ned Batchelder and {num_others} others',
                                                       ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\some_user\AppData\Local\Temp\pip-build-7umvissg\flask-mongoengine\

It is trying to install coverage-6.0.2 and it looks like a placeholder has not been replaced properly by the time setup.py is run.I I tested it with python 3.5 and 3.6 in a virtual environment.

Thank you! It's resolved. I switched to python 3.6 and upgraded pip and then it worked!


Es 1.0

Coverage decreased (-3.2%) to 48.574% when pulling f5b478fecf6ca3c53b061efc62e62f5819874f65 on es_1.0 into b7239b3e81def063a37c429bd6f59ae6b59569c5 on explain.


fix: update kyverno version and policy.yaml

Signed-off-by: Joe Bowbeer<EMAIL_ADDRESS>Pull Request Motivation
Fixes #5258 @wallrj
Kind
/kind bug
Release Note
NONE

/ok-to-test

/retest

Note that e2e tests are still passing, I suspect because:

The kyverno policies are applied after cert-manager is installed
The ACME tests that might still fail are skipped?

/retest

/retest

@wallrj wrote:

Please remove the commented out ReadOnlyRootFilesystem: pointer.BoolPtr(true), line in the HTTP01 Pod code. Create a followup issue for that if you think it's an important change.

Will do. This comment was inspired by the commented config in the deployment values.

e2e now tests fail as expected: https://prow.build-infra.jetstack.net/view/gs/jetstack-logs/pr-logs/pull/cert-manager_cert-manager/5259/pull-cert-manager-e2e-v1-24/1544731173249355776
resource Job/cert-manager/cert-manager-startupapicheck was blocked due to the following policies

disallow-capabilities-strict:
  autogen-require-drop-all: 'validation failure: Containers must drop `ALL` capabilities.'
restrict-seccomp-strict:
  autogen-check-seccomp-strict: 'validation error: Use of custom Seccomp profiles
    is disallowed. The fields spec.securityContext.seccompProfile.type, spec.containers[*].securityContext.seccompProfile.type,
    spec.initContainers[*].securityContext.seccompProfile.type, and spec.ephemeralContainers[*].securityContext.seccompProfile.type
    must be set to `RuntimeDefault` or `Localhost`. Rule autogen-check-seccomp-strict[0]
    failed at path /spec/template/spec/securityContext/seccompProfile/. Rule autogen-check-seccomp-strict[1]
    failed at path /spec/template/spec/containers/0/securityContext/seccompProfile/.'

@wallrj PTAL


[Feature] Support query hive view using starrocks parser

Problem Summary:
Fixes # (issue)
Support query hive view, we use starrocks parser to parse sql defined in view now, so there are some hive view we could not support, it will throw analyze exception.
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 31 / 35 (88.57%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastoreApiConverter.java
5
7
71.43%
[136, 137]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastore.java
3
4
75.00%
[80]

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
11
12
91.67%
[870]

:large_blue_circle:
com/starrocks/catalog/HiveView.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/privilege/PrivilegeActions.java
2
2
100.00%
[]


Fix sql command in initialize script

Resolves #3615

Hi @hshin-g
I have redeployed with the changes you mentioned and looks like Forseti server is still unreachable from he client.


No wheel for 1.2.0

Hello, because this library depends on cryptography one can end up in a bit of mess trying to install from source, as building cryptography requires following dependencies:

gcc
libcffi
rust toolchain (!)

The previous release contained a wheel:
https://pypi.org/project/onepasswordconnectsdk/1.1.0/#files
Unlike 1.2.0
https://pypi.org/project/onepasswordconnectsdk/1.2.0/#files
Please publish a wheel! I spent about an hour messing about with dependencies in docker files before giving up and going back to 1.1.0 😄

Hey @mafrosis,
Thank you for raising this.
We're really sorry to hear that you've had an unlikely experience with version 1.2.0 of the Python SDK.
I believe the lack of a wheel in the latest release is caused by the transition from a manual release process to an automated one in the pipeline. It looks like we missed automating the wheel publishing. Apologies for that.
I've just published the wheel for version 1.2.0 and merged a PR with the fix for publishing the wheel automatically in future releases.
Let me know if this solves your issue. 😊


Kotlin friendly names

Renames Shape.size to Shape.get and add a toListOrNull method.  Was part of tensorflow/java#165.

Yeah, Kotlin will automatically treat get as an operator, and rather than adding an extension in the Kotlin API Karl suggested I just change it here.  Avoids overloading the mening of size.


Added missing types for storage.instance.deleteItem

The types should be updated now according to the docs.
Closes #84.

@yuhgto @gregra81

It was intentional – we never exported the interfaces, even in the previous version.
But it should still work if you import the whole module:
import mondaySdk from 'monday-sdk-js';
const monday = mondaySdk();

const monday.storage.instance.setItem({'foo':'bar'}, 5) // will throw typescript errors

@yuhgto in our code we have some interfaces like
interface SomeInterface {
    doStuff(): Promise<GetResponse>; // inside this method monday.storage.instance.setItem would be called
}

In order to add correct types here, we cannot directly import them from the sdk.

Oh cool! Ok, I'll discuss it internally and add an upcoming task to export these interfaces.

Great, thanks! 👍🏻


Probable deprecation in favor of date-fns

Today I found out that Chronos had a problem with calculating a difference between dates in days, hours & minutes: #25. I found that out because I saw a phrase available for -1 more days in the UI I created using this lib.
However, there are more things to think about.
Big guys like date-fns do not have such problems: differenceInDays. While we have more problems in the other getDiff* functions. E.g. getDiffInMonths calculates difference in calendar months, not, like, 30-days-periods.
First, I was going to fix it too, but then could not find a proper solution. Should we treat 30 days like a month or not? So, I went to date-fns again to check how they deal with it. I figured out that they have two different functions for it:

The one that works exactly like ours, calculating diff in calendar months: differenceInCalendarDays

The other one that calculates months like a real human can do it: differenceInMonths

Usually we need such function when we want to show, well, a difference between two dates. Like when our user has a list of events and we want to separate the far future events to the list “in more than half of a year”. For this case we will be required to calculate diff in months and check whether or not it's more than 6.
Our current implementation will show that 1 Jul is more than half of a year far away than 31 Jan. But a real human calculates months differently. They will treat 31 Jan as “almost Feb”, so it will be Feb, Mar, Apr, May, Jun, Jul — 6 months only, not 7.
We have the similar problem with getting diff in years.
The fix for those problems is not that hard, but it will mostly duplicate the code of date-fns. I doubt that it's a good way to develop. Probably it's better to deprecate this library and use date-fns instead.
I'm going to leave this issue for a while. We need some time to research.

Thanks to @ksenius's research in #27 we are not going to deprecate the library, because the alternative is to add a lot of useless (for us) code to the bundle.


Revise MCMC Script 2

This PR addresses

#66
and contributed partly to
#81

Contents of this PR
The run_mcmc.py script is updated to

implement the new McmcRunId and alike filenames
the snakemake rules from tree generation to mcmc run work together by plain string matching.

This required some minor changes in serialize and tree_inference.
I removed a lot of unnecessary functionality as

restarting the mcmc run for the output directly (rather use a get_tree.py to extract the restart tree from the mcmc samples)
remove timestamps in filenames
make output of cell simulation static (always output noisy matrix - irrespective of error rates)
remove ad-hoc tree generation of mcmc chain

Comment on Attempts to move away from running scripts via shell
I looked into a way to run the mcmc sampler from the snakemake, in other ways than by using the shell.
Without rewriting all scripts as functions to call in the python command, I tried to use the run command and pass the arguments as snakemake.input[0]. This would have been nice. Yet, unfortunately, this would require installing snakemake in poetry which does not work. So for not I'll stick to this plain script / string matching of snakemake.
Future Directions
I indent to use the enum options I built for MCMC configs, to be used in later snakemake rules specific for experiments.
The current snakemake rules are able to handle all possible configurations. - This should remove a lot of parameters when specifying experiments.

Calling the snakemake with a file specific command for an MCMC output file as
snakemake -c 4 ../data/mark00/mcmc/MCMC_42-CS_42-T_d_10_123-1000_0.01_0.02_0.0_f_UXR-iT_d_10_123-MC_1.24e-06_0.097_1000_0_1-MPC_0.1_0.65_0.25.json
Runs all these rules:

And results in all these files:


CLOUD-336 Fix for command help message

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


Integration with ROS1

Can this framework be integrated with ROS1? I am interested on using CBFKit with robotic manipulators that do not yet have functional support on ROS2.

Thank you for your interest in CBFKit. Currently, integration with ROS1 is not supported. The framework is designed to work with ROS2. Perhaps the generated ROS2 scripts could help you write the ROS1 scripts faster.


Cover most of the smart watches out there

Hi folks, this may be a silly question, but I'm new developing for wearable devices, and Wikipedia says that there is Smart Watches with Android Wear 2.0 OS and Smart Watches with Android OS by itself.
https://en.wikipedia.org/wiki/Smartwatch#Operating_systems
So my question is, after Google released Android Wear OS there is no more Android OS Smart Watches on the market? only Smart Watches with Android Wear OS? should i worry about Smart Watches running Android OS nowadyas? because I'm developing an APP and I'm trying to cover most of the Android Smart Watches out there, so i thought in using Android Wear 2.0 SDK and Tizen SDK for Samsung Smart Watches, but now i don't know if i should worry about Smart Watches running Android OS, should I? if that's the case what would be the SDK for it? thank you very much for your help guys :)
Oh and for IOS, watch OS and Tizen OS will cover most of the smart watches for Iphones out there? thanks

Hi @orlandoabreu221,
this project was only a developer tool to visualize sensor data on android wear 1.
As you can see, the code doesn't got any updates in the past 2-3 years. We're not a community for generell wearable questions, but I'm sure you're a smart guy and find the answers on twitter or google+
Personally I would recommend, to wait for the google I/O this year. After announcing a new name (Wear OS by Google) they will definitely update their portfolio again.


[mwc-list-item] twoline wrongly indents text

Describe the bug
list item of two lines adds undesired space and causes indentation to text due to ::before pseudo-element
To Reproduce
Steps to reproduce the behavior:

Go to list item with twoline demo
See indented text in each list item

Expected behavior
text should be stick to start of line
Screenshots

Probably a bit more info on this:

In Sarari (14 still happens) it may cause an unnecessary ellipsis in the text, and see below TLDR

TLDR;
It looks like the additional spacing is added when (and due) to a white spaces around the text, supplied by the consumer.
Although consumer may take extra care and remove any white spacing / tabs / new-lines around, this is inconvenient due to HTML templating practices, prettifiers etc.
The added space shown above happens due to coexistence of 3:

list-item__primary / secondary-text is display: block
text content of list-item__primary / secondary-text has white space chars before the text
list-item__primary / secondary-text is NOT a first child in the parent

Last point explains how this all is related to the usage of :before pseudo element, it just has a side effect of not trimming outer white spaces.
Those points also explain how this is NOT happening in one line scenario (no :before) or when the text is carefully set into the textContent by the consuming application (no leading white spaces).

should be handled in list migration

is it planned for 0.22.0?

Unfortunately likely not. The next release we expect to simply be a release where we stamp a tag as the final Lit 1 release. Then 0.23.0 will be the Lit 2 release.
We are expecting to have the list migration done for sure by 1.0.0.
Though list > menu > select are some of the most-complex components in our libraries so we expect this will likely be further down the line.

Should be fixed in M3


how to set model field?

when we run go generate ./ent, default model well contains Edges :
type ProjectEnvK8s struct {
config json:"-"
// ID of the ent.
ID int json:"id,omitempty"
// CreatedAt holds the value of the "created_at" field.
CreatedAt time.Time json:"created_at,omitempty"
// UpdatedAt holds the value of the "updated_at" field.
UpdatedAt time.Time json:"updated_at,omitempty"
....
Edges        ProjectEnvK8sEdges json:"edges"
selectValues sql.SelectValues
}
But, when I want to query data from database, I can specify certain fields through select (fieldName), but there are too many fields, which is obviously unrealistic. Is there a solution to exclude some certain fields, but not select !!!!!!!!!

You can use below code. v is a struct defined by yourselft.
v = []struct{
    Id int64 `json:"id", sql:"id"`
   Name string `json:"name", sql:"name"`
}
tx.User.Query().Select("id","name").Scan(ctx, &v)

You can use below code. v is a struct defined by yourselft.
v = []*struct{
    Id int64 `json:"id", sql:"id"`
   Name string `json:"name", sql:"name"`
}
tx.User.Query().Select("id","name").Scan(ctx, &v)

your method is similar to select, which involves selecting field attributes separately. I have a lot of data and it's impossible to process it one by one.
what I want is a reverse selection scheme for exclude. I only need to set one exclude field attribute,  but not set or select many attributes field.

You can use below code. v is a struct defined by yourselft.
v = []*struct{
    Id int64 `json:"id", sql:"id"`
   Name string `json:"name", sql:"name"`
}
tx.User.Query().Select("id","name").Scan(ctx, &v)

your method is similar to select, which involves selecting field attributes separately. I have a lot of data and it's impossible to process it one by one.
what I want is a reverse selection scheme for exclude. I only need to set one exclude field attribute, but not set or select many attributes field.

If you don't have to have a struct to hold all fields, you can configure the generator. Below is the example in which I don't add a json tag for field xxxx and redis tag for field yyyy. Maybe you can also define another tag and then you specify that tag for json Marshal function. If you can tell what you want to do in next step, maybe I can find a solution for you.
func JsonTag(next gen.Generator) gen.Generator {
	return gen.GenerateFunc(func(g *gen.Graph) error {
		for _, node := range g.Nodes {
			for _, field := range node.Fields {
				if field.StructTag == `json:"-"` || field.Name == "xxxx" {
					continue
				}
				field.StructTag = fmt.Sprintf("json:%q", field.Name)
			}
		}
		return next.Generate(g)
	})
}
func RedisTag(next gen.Generator) gen.Generator {
	return gen.GenerateFunc(func(g *gen.Graph) error {
		for _, node := range g.Nodes {

			node.ID.StructTag = fmt.Sprintf(
				"%s redis:%q",
				node.ID.StructTag,
				node.ID.Name,
			)

			for _, field := range node.Fields {
				if field.StructTag == `json:"-"` || field.Name == "yyyy" {
					continue
				}
				field.StructTag = fmt.Sprintf("%s redis:%q", field.StructTag, field.Name)
			}
		}

		return next.Generate(g)
	})
}


Formatting error in conjunction with pandas.DataFrame

Code Sample, a copy-pastable example if possible
import pandas as pd
import numpy as np
import xarray as xr

sample_data = np.random.uniform(size=[2,2000,10000])
x = xr.Dataset({"sample_data": (sample_data.shape, sample_data)})
print(x)

df = pd.DataFrame({"x": [1,2,3], "y": [2,4,6]})
x["df"] = df
print(x)

Problem description
Printing a xarray.Dataset results in an error when containing a pandas.DataFrame
Expected Output
Should print string representation of Dataset
Output of xr.show_versions()

/usr/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
INSTALLED VERSIONS
commit: None
python: 3.6.5.final.0
python-bits: 64
OS: Linux
OS-release: 4.16.9-1-ARCH
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: de_DE.UTF-8
LOCALE: de_DE.UTF-8
xarray: 0.10.4
pandas: 0.22.0
numpy: 1.14.3
scipy: 1.0.1
netCDF4: None
h5netcdf: 0.5.1
h5py: 2.7.1
Nio: None
zarr: None
bottleneck: 1.2.1
cyordereddict: None
dask: None
distributed: None
matplotlib: 2.2.2
cartopy: None
seaborn: None
setuptools: 39.2.0
pip: 10.0.1
conda: None
pytest: None
IPython: 6.3.1
sphinx: None

This is a manifestation of the same issue as https://github.com/pydata/xarray/issues/2172: you are using integers as dimension names, which we don't support very well.
In this case, you end up with mixed integers/strings as dimension names, which means our internal use of sorted() in repr(x) fails.

Closed by #2174

I can reproduce this on master so there's still more to do to fix this. Maybe we could try sorting using the str representation of the dimension names?

This works:
iff --git a/xarray/core/utils.py b/xarray/core/utils.py
index 1126cf30..355fb552 100644
--- a/xarray/core/utils.py
+++ b/xarray/core/utils.py
@@ -453,7 +453,7 @@ class SortedKeysDict(MutableMapping[K, V]):
         del self.mapping[key]

     def __iter__(self) -> Iterator[K]:
-        return iter(sorted(self.mapping))
+        return iter(sorted(self.mapping, key=str))

     def __len__(self) -> int:
         return len(self.mapping)

But maybe it is too naive?

let's continue this in #5148


extended support for importing issues from GitHub to Clubhouse

gh2ch to support importing author and label info and importing multiple issues with "--query" argument. Also dropped unnecessary files from git repo.

Hi! I haven't been using Clubhouse at my latest job. And haven't had a chance to test these changes, but I just invited you to be a collaborator so that this can be merged in a more timely manner.

Hi, OK, will merge then


MongoDB - Manage env - On selecting a dropdown, no input field is coming.

Closing, was an interim issue created by mistake.


[Bug]: Pretrain continue from checkpoint - how?

Last Checkpoint Specification - how?
Based on your tip I will need to pretrain for 7+ days. However, I will have to stop pretraining every 12 hours.
https://github.com/speechbrain/speechbrain/blob/develop/recipes/LibriSpeech/self-supervised-learning/wav2vec2/hparams/wav2vec2_base.yaml
Expected behaviour
What is the command or yaml part that I have to specify for continuing pretraining from last checkpoint?
To Reproduce
https://github.com/speechbrain/speechbrain/blob/develop/recipes/LibriSpeech/self-supervised-learning/wav2vec2/hparams/wav2vec2_base.yaml

Please add this line to your yaml file: https://github.com/speechbrain/speechbrain/blob/develop/recipes/LibriSpeech/ASR/transformer/hparams/transformer.yaml#L43
so that it will save your model every N minutes. Then when you will relaunch your training it will automatically fetch the latest checkpoint in your ckpt models.


Presentation Server UI fails to be navigable (render) at 800x600

Safari -> Develop -> Enter Responsive Design mode
Select 800x600 (2x)
Page rendered as follows - note that the navigation bar is not present so the UI is entirely unusable
Ideally need to consider whether elements can be reflowed, or possible add to docs & provide an error panel instead if size really is too small to be viable

User error - I'd missed the navigation menu. closing


Report + Negotiation Card: Vet Report Content

Determine the content and organization that we want to provide in the report for the MLTE 0.2 release. We have spoken in the past regarding how the current content is merely a ripoff of model cards. If the content for the 0.2 release is just a reflection of the content in the negotiation card, so be it. Once the content and organization are known, inform @turingcompl33t to perform the updates.

Report Structure for MLTE 0.2
TLDR
I recommend we take creative license and follow option 3 below, using a combination of our own fields and model card fields organized in a way that makes sense for a non-ML user or a decision maker. All imports are optional, and once imported, all fields must be editable.
Proposed MLTE 0.2 Report Structure

Model Summary (Imports from ML problem type and ML task)
Performance

Goals of the system (Imports from goals of the system)
MLTE evaluation (Imports from MLTE)

Intended Use (Imports from usage context and production requirements)
Risks (Imports from risk of FP, risk of FN, and other risks)
Data (Imports from data source)
Caveats and Recommendations (No import; free text field)
Quantitative Analysis (Imports result graphs/tables from MLTE)

More details can be read below in my full evaluation.
Structure Evaluation
For this issue, I am evaluating a few courses of action:

Use model cards
Use the negotiation card
Use model card fields mapped to negotiation card content
Use a completely unique configuration for the content

I am immediately eliminating approach 4 because we have no data to support that this makes sense for our current situation.
1. Model Cards
To evaluate this approach, I started by looking at a dummy MLTE report. This was not very useful so I found a model card for GPT-3 and used that for the evaluation. Here are my thoughts:

Having 'model details' at the outset of the model card seems misleading because rather than actual details, the section is used to give a high-level summary of the model.
Listing the model date and version towards the top of the card seems inconsistent with an emphasis on giving the most relevant information at the top of the report.
The rest of the card is informative but written in a lengthy and expert-focused way. Hard to judge if this is a result of the format or of the authors.

Next, I looked back at the actual model cards paper. The model card approach is very thorough, but seems to present information in a way that is logical for the developers rather than for a decision maker. Of note, I think that all the information they cover should be included in reporting on a model, just in a different format.
Conclusion: model cards are great content-wise, but I feel that they should be rearranged to be most useful for users and decision makers.
2. MLTE Negotiation Card
To review the negotiation card content, I used this page as well as a list in our google docs. My thoughts:

It's important and useful to have the system goal and the metric to evalute its performance on that goal at the top of the card. This seems like it should be done similarly in a report.
Most of the other fields correspond well to those used in model cards, with differences in terminology and organization.
The terminology and structure we use in the negotiation card seems to lend itself to a discussion between parties rather than as a reporting mechanism.

Conclusion: some of the content from the negotiation card seems important for reporting, and some of it seems like it is too detailed to be important for an overall understanding of a ML system and how it performed on its main tasks.
3. Why Not Both?
This section looks at using the content of a negotiation card within the fields determined by Model Cards. Rather than a proper evaluation, this section is just me taking creative license based on what seems like a well-prioritized list of what someone would want to read in a model evaluation report.

Model Summary

Instead of 'model details' from model cards, call this what it is: a summary. This is a field I made up, but is based on the way I saw some projects use model cards.
Offer users the opportunity to import text from the following sections:

ML problem type
ML task

Ensure the text is editable, especially if they do an import.

Performance

This corresponds to model cards field 'metrics', renamed.
Goals of the system

Allow users to import from the negotiation card

MLTE evaluation

This should include the chosen metric to evaluate the how the model performs with respect to the system goal(s) as well as all the other measurements and evidence the team has chosen to collect throughout the evaluation process. Includes the baseline or threshold set by the development team for each metric.
If graphs are useful, they can be included here or in the Quantitative Analysis section at the bottom

Intended Use

This is a model cards field
Allow users to import from the negotiation card for the following fields:

Usage context
Production requirements

Risks

This is an adaptation of the model cards field 'factors'
Allow users to import from the three risk sections (risk of FP, risk of FN, other risks)

Data

Model cards has two data sections - training data and evaluation data. Breaking these up is a potential future TODO once we get some user feedback.
Allow users to import from data source

Caveats and Recommendations

Model cards field
Free text field

Quantitative Analysis

Model cards field
Annex-like section allowing more space for graphs and tables.

Based on the above evaluation, I recommend we use this combined structure. I am replicating it in a simpler form at the top of this page for easier review.

@turingcompl33t and @JennyNiemann, if you're short on time feel free to just review the top of my report which contains a proposed report structure. Would appreciate getting comments from both of you before we proceed with this as the report structure for MLTE 0.2. Thank you!


Please package for PostmarketOS

Is your feature request related to a problem? Please describe.
I'd really like to be able to use Discord on my Pinephone, but the only OS that works well for me is PostmarketOS with SXMO.
Describe the solution you'd like
Please make an APK package for Alpine aarch64, it would allow PostmarketOS and Alpine users to install on aarch64 devices.
Describe alternatives you've considered
I've considered packaging it myself, but I'm having trouble understanding how, both how to package an Electron app, and how to crosscompile for PostmarketOS.

A flatpak would also work, pmOS seems to be able to use those even if they use glibc, maybe they are statically compiled?

Is your feature request related to a problem? Please describe.
I'd really like to be able to use Discord on my Pinephone, but the only OS that works well for me is PostmarketOS with SXMO.
Describe the solution you'd like
Please make an APK package for Alpine aarch64, it would allow PostmarketOS and Alpine users to install on aarch64 devices.
Describe alternatives you've considered
I've considered packaging it myself, but I'm having trouble understanding how, both how to package an Electron app, and how to crosscompile for PostmarketOS.

Did you have considered using the AppImages instead? They are supported by almost any distribution that supports FUSE mounting.
As of native format, it is possible to extend Electron Forge capabilities by writing a script called maker. As AFAIK electron-builder supports APK files, there's a chance that an upstream package (that is used in AppImage maker for packaging as well) called app-builder will support it as well, allowing for making a similar implementation as in case of AppImage format.
If you wish to, you could even start a new issue in Electron Forge bug tracer about APK support.

Unfortunately AppImage doesn't work on musl libc based distributions. I'll have a look at electron-builder. This program you made just seems perfect for Pinephone!

Unfortunately AppImage doesn't work on musl libc based distributions. I'll have a look at electron-builder. This program you made just seems perfect for Pinephone!

You can always run it directly from the sources (without packaging at all) – just clone repository, npm i and npm start and it should have run without any issues! I can always provide ZIP releases for Linux as well.
Could you create an issue on Electron Forge repository about that? This is rather an Electron Forge not supporting your package standard rather than an issue or feature that needs to be implemented within WebCord. Also, I do not recommend using electron-builder, it has poor support for ARM devices with distribution-specific packages (I couldn't package it for DEB package standard once I've tried to do that on Raspberry Pi)...
Personally, I could create a such maker, but I would need some information about Alpine Linux package standard – is there any documentation describing how to package stuff to APK format? If not, I'll probably won't be able to help you...
Also, you could you share what's not working and where it fails? If that's the runtime, maybe you just need rebuild it?

It doesn't run with npm i && npm start unfortunately, I can get a log and upload it if that'll help. I can share the stuff on alpine packaging as well. And maybe making a maker wouldn't be too hard?
AppImage is known to not work on Alpine unfortunately.

2021-08-13T19_33_18_072Z-debug.log
2021-08-13T19_33_29_713Z-debug.log

If it doesn't run with npm i && npm start, I doubt you will be able to package it.
Also, could you give me less verbose logs, like terminal output? I would like to see what it does, but analyzing whole verbose output is and understanding what's going on is time-consuming...

I can get less verbose logs later today. But one thing I thought of, have you considered Flatpak? It's a great way to package apps for any distro, even musl libc ones like Void Linux or Alpine/PostmarketOS. I've so far found that it works on everything, I'm not sure how. AppImage is apparently going to be able to work too, once they reach version 3.

I can get less verbose logs later today. But one thing I thought of, have you considered Flatpak? It's a great way to package apps for any distro, even musl libc ones like Void Linux or Alpine/PostmarketOS. I've so far found that it works on everything, I'm not sure how. AppImage is apparently going to be able to work too, once they reach version 3.

I don't think that solves the issue through, unless it will use the same enviroment that is needed to make Electron work... Personally, I could release a Flatpaks in form of the files if that's possible for their standard (Snaps support that for instance, it has it's own GLIBC version AFAIK and also works in other distributions as well and I could even package to this format as well due being officially supported by Electron Forge developers).

There is this. I'm not sure it will be any help but hopefully.
https://docs.flatpak.org/en/latest/electron.html

Ok, so I noticed what fails from your logs:
2212 error make: g++: No such file or directory

The issue is caused by lzma-native NPM package not providing the native modules for your enviroment nor being possible to be compiled due to lack of the GNU C compiler...
The possible workaround would be to relative symlink musl-g++ to g++ like this:
ln -sr /usr/bin/musl-g++ /usr/bin/g++

(try same for musl-gcc if it still fails)

As of Flatpak, I may reconsider providing them in the future, but it will take me time to adapt my configuration for it. I would propose you then to report issue to the lzma-native project, so you will be fine using Electron Forge as well.

@Silent-Hunter Not sure if you noticed the edits, I thought earlier that programs like g++ are unavailable for musl-based Linux distributions, but in fact I was wrong and after a further testing I did found a possible fix to that is caused npm i falling...
You may consider why compiling is needed at first place, the thing is that many native C/C++-based modules don't come statically linked, thus you can't use them as of the binaries on your musl-based OS, so it will fallback to node-pre-gyp that will handle compiling them to your native architecture... As of other problems that you may encounter is that Electron itself might be needed to be recompiled with musl libraries to work as well, so you may except a long time of the installation due many native modules needed to be compiled...
Also, this Electron issue seems to be relevant.

webcord.log
Here's what it does now.
I think I'm going to try making a debian chroot.

It works in a chroot. Still, if packaging it for flatpak isn't too difficult, I'd recommend it.

It works in a chroot. Still, if packaging it for flatpak isn't too difficult, I'd recommend it.

I need to give it a time, as I don't know how I should configure it...
It's not impossible task, but I would need to understand a concepts on it, so I would know exactly how I should package it...
That being said, I'll probably enable Snaps and Flatpaks in WebCord v2.0.0...

webcord.log
Here's what it does now.
I think I'm going to try making a debian chroot.

Checking the logs, you're using outdated WebCord version... Master had a huge update up to beta v2.0.0, where the start command should be:
tsc && electron .

I changed that due I don't use the native C modules, so there's no reason why I would need to use Forge to handle rebuilding them...
As this seems to fail on Electron Forge, you may give it a try and update to the latest version of the WebCord with git pull and try npm start again...

Chroot works extremely well, so I'm just going to use that. Thank you for making this!

Chroot works extremely well, so I'm just going to use that. Thank you for making this!

I still want to make sure it can work for the libc musl library directly, so you can use my app with the libraries that are installed on the OS (and not those took from Flatpaks or chroot). This should make my app take much less space...
As you already installed the dependencies with npm i, you probably won't need to npm i again and compile the native modules after you update to newer WebCord version (even if it is there a new dependency, it is currently unused so there's no need to install it).

Okay I will give it a try when I get home!

That seems to be an issue with the Electron binaries missing for musl-based Linux distributions. At first I thought that it would compile somehow with the magic of the scripts, but I doubt that would be possible for the low-end devices due to high Electron requirements for the build machine specification (it's just the same pain as building Chromium).
Unfortunely, I got issues packaging for Snaps and Flatpaks via Electron Forge makers, at least without changing its configuration. For that reason, I doubt I'll enable them for now.
For that reason, I'll flag this issue as wontfix and close it. If something has changed, e.g. Electron has started to provide official builds for musl, you can still post the information here (it will mention me).

Okay well thanks for your help. I will keep using chroot for now, and will maybe as the Postmarket OS team a package request.

as electron21 is aparently merged into alpine repos ( https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/40094 ) would you package for it now?

as electron21 is aparently merged into alpine repos ( https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/40094 ) would you package for it now?

That would require to implement a maker of APK format, which will bundle my app in way it can be distributed as an Alpine package. But that information gives some more hope for it to be done, although I am not sure if I'll be able to package it on my own, considering I don't know how Alpine packages stuff at all. l still might consider to work on as a part of Reforged project (Electron packaging is outside of WebCord's scope).
As of now, anyone could extract app.asar from any distributable from the repositories and use electron to run it, or just build WebCord from scratch (it should be possible, given you won't try to download electron binaries from NPM, but only just types it provides for TypeScript) and use electron for running it after it is being transpiled to JavaScript.
See some notes from Support.md (both a section about musl libc support and tips about running WebCord on FreeBSD):

Some Linux distibutions seem to provide Electron packages and in that case, it should be possible to run WebCord on them without any issues (...)

After you install a specific Electron package (e.g. electron19), you can extract app.asar from any distributable (most likely from Windows or Linux ones) and run it in terminal with installed system-wide Electron:
electron$v $path

(Replace $v and $path with actual version number and path to the extracted app.asar.)


fix: Appends authSource param to mongo URI if absent

Appends authSource param to mongo URI if absent
Also fixes inability to connect to mongo without user info
Fixes #7713

/ok-to-test sha=1e3c1b5


Lazily instantiation of AsyncApp and App objects

Hi, I have a use case where I'd like to instantiate the App object lazily. Right now, it's assumed that the object is fully initialized before being decorated.  For my use case, the slack app configuration is saved in a database and will need to be set up on application start (instead of at import time).
I tried to view all of the examples including the sqlalchemy examples but they assume that all configuration information is available at import time:
https://github.com/slackapi/bolt-python/blob/main/examples/sqlalchemy/async_oauth_app.py#L174

Hi @kevgliss, thanks for asking this question!
The approach that we suggest for your use cause is to define a method to initialize an App/AsyncApp instance with given arguments:
from slack_bolt import App

def initialize_bolt_app(args) -> App:
    app = App(signing_secret=args["signing_secret"])

    @app.event("app_mention")
    def handle_app_mentions():
        pass

    return app

I'm not sure if this approach works for you, but I hope this was helpful to you!

This seems a bit awkward we we may have functionality in multiple modules (that all import/register with the same app instance).
Poking around a bit, it seems that the only hard requirement for token data on initialization is required here:
https://github.com/slackapi/bolt-python/blob/main/slack_bolt/app/app.py#L352
We don't use Oauth for our particular use case, so having a flag that disables that check out unlock this use case for us.

@kevgliss If you want to eliminate the auth.test API call during the initialization, you can pass token_verification_enabled: False in App constructor to stop it.

It looks like AsyncApp doesn't support that flag?
https://github.com/slackapi/bolt-python/blob/ace3cb842257bcdb3cd0d3894c4db6bf46af952a/tests/scenario_tests_async/test_app_dispatch.py#L60

@kevgliss Since Python language does not allow calling async/await in a constructor, AsyncApp does not do the same. Thus, you don't need to worry about it if you go with AsyncApp. Is everything clear now?

Yes, this seems to work as expected thanks.


Double embedded view

It seems that the plugin is embedding 2 viewers for a single link
Screenshot
---|
|

Closing issue as it is not valid anymore. This was caused by the same plugin being ran twice.


Update article on the GitHub CLI

What article on docs.github.com is affected?
"GitHub CLI"
What part(s) of the article would you like to see updated?

Improve the article intro to make it friendlier to new users and more useful for all readers
In the “About GitHub CLI” section, make the list of features more general and evergreen, so it doesn’t become out of date when more features are shipped to the CLI. For example, before the list, change the wording to something like “The GitHub CLI includes features like…”

Additional information
This issue is for a special project and not currently available for contributors to work on.

JavaScript ( @ octokit / core.js )

I'd like to work on this issue

@thepushkarp Great, thanks! Feel free to open a PR and let us know if you have any questions. ⚡