All tabs get highlighted

See this video first: https://www.dropbox.com/s/hp4z7o59p0w6uur/Tabs Test.mov?dl=0
As you can see every time we change from the first tab to another tab every tab gets highlighted
Any clue why this happens?

This is not a bug with this component, please report it to whatever tab component you're using.

Yeah my bad, wrong repository haha.


Update Doxyfile.in

test9

@jonastest00 has been requested to review this pull request as specified in the REVIEWERS file.


Upload on Save doesn't seem to work

Brackets: Release 1.2 build 1.2.0-15697 (release 8f82e2a97)
SFtpUpload: 1.3.3
I have my server settings configured correctly and "upload on save" enabled, but nothing seems to happen when I save a file. I have tried using either a public key file and the password.
I don't see any related errors/messages in the developer tools, either.

I am getting the same issue. I have to make sure I upload manually...

does that mean the whole extension stops to work? I'm trying to revert to the last version then.

@bigeyex  Extension works, Upload on Save checkbox does not work. Tis all. Not a complaint just a forewarning of a possible issue. I am using the latest version

@bigeyex Might be an issue not uploading as well. In Atom, I am able to upload my changes however in Brackets, the extension is not connecting to the server, despite saying it did

Everything seems to be back in working order. Thank you @bigeyex

I take that back, seems to be temperamental.

I have this problem, but the extension says "Error:write after end" i the top bar and if it is not open the arrow in the icon turns green. However I want to know why it happen to avoid to be alert for this.


Added support for Django 3.2 and Django 4.0a #11

Added support for Django 3.2 and Django 4.0a
tested it on local machine
Fixes: #11

@harsh-9in are you still keen on finishing this?

Hi @nemesisdesign , Sorry i was little busy with exam and other stuff I will do It asap.


Topics in OpenRTB document: Upgrade suggestions at bottom of .md file

@sbelov this is an attempt to follow your suggestion on #61


fmt is not defined.

Summary
2023-09-04.10:08:31 [STARTING] ** [traefik-cloudflare-companion] [88] Starting Traefik Cloudflare Companion
Traceback (most recent call last):
  File "/usr/sbin/cloudflare-companion", line 68, in <module>
    formatter = logging.Formatter(fmt, date_fmt)
                                  ^^^
NameError: name 'fmt' is not defined

Steps to reproduce
:latest container images from docker hub fail
What is the expected correct behavior?
should not fail.
Relevant logs and/or screenshots

Environment

Image version / tag:  lates
Host OS: Debian

Any logs | docker-compose.yml

Possible fixes

For me, this occurred when I had traefik-cloudflare-companion and cloudflareddns in the same stack with all environment values in an .env file. What happened was that both of these containers have LOG_LEVEL as a variable, and I had included it as a variable in the .env file for cloudfladdns. So when the stack was brought up, companion was fed cloudflaredddns's LOG_LEVEL variable from the .env file (with a value of '3' - which is not a valid value for companion's log level - it either has to be Info, Verbose, or Debug).
Fix: Make a variable specifically for companion's LOG_LEVEL and point to it under environment.
I named mine CF_COMP_LOG_LEVEL. Gave it a value of INFO (CF_COMP_LOG_LEVEL=INFO) in the .env file. Then under environment in the compose details, I pointed to it by: LOG_LEVEL: ${CF_COMP_LOG_LEVEL}
This fixed it for me. Not that it was a bug with companion to begin with.


HDDS-10821. Ensure ozone write all the buffer content to FileChannel.

What changes were proposed in this pull request?
Ozone should expect FileChannel.write doesn't fully write the entire buffer and not crash the pipeline one that happens.
See HDDS-10821.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10821
How was this patch tested?
CI.

@duongkame can you please update the PR?

/ready

Thanks @duongkame for the fix, @szetszwo for the review.


Cache request from Identity popover

Is your feature request related to a problem?
I just realized that spotlight does more than 140 queries to magick, a vast number.
Describe the solution you would like
I would like to see that these requests are cached for 12hrs or so
Describe alternatives you have considered
Use Vuex :)
Screeenshots

I'd like to do this

Is your feature request related to a problem?
I just realized that spotlight does more than 140 queries to magick, a vast number.
Describe the solution you would like
I would like to see that these requests are cached for 12hrs or so
Describe alternatives you have considered
Use Vuex :)
Screeenshots

I think the requests are from components/rmrk/Gallery/GalleryItem.vue

I think the requests are from components/rmrk/Gallery/GalleryItem.vue

not on gallery/:id, check /spotlight page and you'll see lot of query that comes from IdentityPopover component

I just realized that spotlight

yup this issue is related to spotlight.

I think the requests are from components/rmrk/Gallery/GalleryItem.vue

@zhengow this poll request is intentional as we need to update the price and current owner

I just realized that spotlight

yup this issue is related to spotlight.

I think the requests are from components/rmrk/Gallery/GalleryItem.vue

@zhengow this poll request is intentional as we need to update the price and current owner

Got it. I pull a request about this issue, plz check.
About "cached for 12hrs or so". Does vuex support expire time? Or maybe I have to use something like "sessionStorage"/"localStorage" ?

Does vuex support expire time?

no but there is a supper easy solution to implement this

Does vuex support expire time?

no but there is a supper easy solution to implement this

guess setInterval?


Update opencensus/opencensus dependency to ^0.7.0

Fixes #17
Fixes #26

/cc @DiederikvandenB

any chance of a merge on this?

@DiederikvandenB @GlueDev ping 🏓

@DiederikvandenB @GlueDev Please merge this :)


Fix for mkl small memory allocator to reduce lock overhead.

This change is done to improve the performance of models with small size tensors where the bottleneck is in the memory allocation rather than the actual compute. The map keeping track of small allocations has been re-purposed to instead keep track of large allocations so that the access overhead is small. Also the mutex in the small allocation critical path has been removed to match default cpu allocator implementation.

I signed it!

Hi
I have signed the CLA. Can you please verify.


Support for ARMv7 (Linux)

Use case
There is still plenty of use of 32bit ARM device around, for example the STM32MP1. This device should be very capable of running flutter on top of OpenEmbedded/Yocto Linux.
Proposal
The flutter engine should compile for running on ARMv7, and be a cross-compile target CPU for Linux.
Flutter was previously able to compile and run for ARMv7, but successive changes including some introduced as part of this PR have either caused problems in the build process, or caused compilation errors.
Other related issues:

https://github.com/flutter/flutter/issues/74322
maintainer of meta-flutter for yocto, used with stm32mp1
flutter-rs engine builds needed to be disabled
article where ARM was used, no-longer working

@HidenoriMatsubayashi would you be willing to help out with this as you have invested some time in aarch64? I would love to have some guidance on how to get this done. I also notice that some of your changes have removed the option to compile for armv7 at all without patching.

I have been attempting to get flutter embedded working with yocto via updating the meta-flutter layer here. I will be changing to flutter dev vs yocto soon to see if I can learn how to do the required work.
At the moment I have almost all things working. I think? I get a segfault when using flutter-wayland so I can't verify yet.

Firstly, I think that you need to modify some build scripts. e.g.  BUILD.gn, gcc_toolchain.gni. As you know, the cross-building for armhf of the Flutter Engine (Embedder) is not supported currently.
I don't know about flutter dev vs yocto, and I don't usually use yocto very much. (By the way, I'm developing a new embedder for Embedded Linux, which supports both Wayland backend and DRM backend. And it's almost finished. I'm considering publishing it as Open source software.)

By the way, I'm developing a new embedder for Embedded Linux, which supports both Wayland backend and DRM backend. And it's almost finished. I'm considering publishing it as Open source software

@HidenoriMatsubayashi I would be very interested in that. Unfortunately I'm not much of a C/C++ developer so I won't be able to contribute unless it's Rust :)
Thanks for the pointers. I patched sysroot.gni but not the others as I wasn't aware of them. Looking at BUILD.gn it looks to have arm toolchain already but this is non-hardfloat so i wonder if that is the cause of my segfault.. I'm unsure of how exactly to add an arm-eabihf compiler chain (or how it gets used from this file, is it for compiling the embedder lib? For other tools?).

I'll investigate about cross-building for armhf of embedder sometime this week.

Thanks, much appreciated. I can be available for testing but I won't be able to hack on this much as I need to continue with my original work project now.

I thought it would be more appropriate to discuss in https://github.com/flutter/flutter/issues/74322, so I commented in it.

FYI @cbracken

We at @KDAB also heavily support this. Lots of our clients still use armv7 platforms and we'd be happy to contribute all the things necessary for supporting that target. In fact I have some open PRs for fixing the armv7 build (https://github.com/flutter/buildroot/pull/499, https://github.com/flutter/engine/pull/28016) and I want to work on a CI shard for testing those too.

Hi,
Just wanted to check that this issue will affect the Raspberry Pi family of devices? I don't want to open a new issue if this one will suffice.
Thanks in advance.

Hi,
Just wanted to check that this issue will affect the Raspberry Pi family of devices? I don't want to open a new issue if this one will suffice.
Thanks in advance.

@chrisnorman7 yes this would include older armv7 Pi devices.

When you say it includes older devices, does that mean newer Raspberry Pi
models are already supported?
Take care,
Chris Norman
On Tue, 4 Jan 2022 at 20:41, Chris Bracken @.***> wrote:

@chrisnorman7 https://github.com/chrisnorman7 yes this would include
older armv7 Pi devices.
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/75823#issuecomment-1005155214,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUZ2J6A3B3UBGOJYRDVYTUUNLQDANCNFSM4XOB2AYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Newer Raspberry Pi devices use armv8/aarch64 which is 64-bit and has a different calling convention, so unrelated to this bug. 64-bit ARM support is tracked here: https://github.com/flutter/flutter/issues/60678
A request for official support for the Pi 4 is tracked here: https://github.com/flutter/flutter/issues/35042
@HidenoriMatsubayashi has contributed a bunch of patches for 64-bit arm support. There are some instructions you might find useful on this patch: https://github.com/flutter/engine/pull/20254

That's great, thank you so much for all the details.
Take care,
Chris Norman
On Wed, 5 Jan 2022 at 19:05, Chris Bracken @.***> wrote:

Newer Raspberry Pi devices use armv8/aarch64 which is 64-bit and has a
different calling convention, so unrelated to this bug. 64-bit ARM support
is tracked here: #60678 https://github.com/flutter/flutter/issues/60678
A request for official support for the Pi 4 is tracked here: #35042
https://github.com/flutter/flutter/issues/35042
@HidenoriMatsubayashi https://github.com/HidenoriMatsubayashi has
contributed a bunch of patches for 64-bit arm support. There are some
instructions you might find useful on this patch: flutter/engine#20254
https://github.com/flutter/engine/pull/20254
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/75823#issuecomment-1005999242,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUZ2MLYFHSADTEZB7O7XLUUSI7DANCNFSM4XOB2AYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

We're running flutter on hundreds of 32-bit ARM architecture STM32's, official support rather than having to use flutter-pi would really simplify our workflow

I am also interested in having this done.
In addition, since cross compiling would be implemented as well, it would be GREAT if ARM64 and ARM32 (likely armv6 for compatibility) linux releases of flutter could be published officially alongside the current x64 releases https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json. Just like MacOS currently has official x86 and arm64 releases

I have to still use Sciter for armv7.


[WIP] Support for on premise deployment

@akram :
I have rebased your akram/on_premise branch on top of lhuard1A/aws_openvswitch (which is the PR #46. The result is the branch lhuard1A/on_premise.

Thanks
I will have a look at this
Sent from mobile

On 13 févr. 2015, at 16:50, Lénaïc Huard<EMAIL_ADDRESS>wrote:
@akram :
I have rebased your akram/on_premise branch on top of lhuard1A/aws_openvswitch (which is the PR #46. The result is the branch lhuard1A/on_premise.
—
Reply to this email directly or view it on GitHub.


Unable to load timeline

Hey,
I'm using Phalcon Framework 2.1.0 BETA 2, with a multi-module application.
When I enable the plugin manager I get an error (it works without the timeline..)..
Any ideas why this happens? :)

Phalcon\Mvc\Dispatcher\Exception: SessionController handler class cannot be loaded
0    Phalcon\Mvc\Dispatcher->_throwDispatchException(SessionController handler class cannot be loaded, 2)
1    Phalcon\Dispatcher->dispatch()
2    Phalcon\Mvc\Application->handle()

My index.php code is:
$profiler = new \Fabfuel\Prophiler\Profiler();
$di->set('profiler', $profiler, true);

$toolbar = new \Fabfuel\Prophiler\Toolbar($profiler);
$toolbar->addDataCollector(new \Fabfuel\Prophiler\DataCollector\Request());
$pluginManager = new \Fabfuel\Prophiler\Plugin\Manager\Phalcon($profiler);
$pluginManager->register();

//register modules here..

echo $application->handle()->getContent();
echo $toolbar->render();

On another configuration file (loaded before the profiler):
if(DEBUG) {
    $di->set('dispatcher', function () use ($di) {
        $dispatcher = new \Phalcon\Mvc\Dispatcher();
        $dispatcher->setEventsManager($di->get('eventsManager'));
        return $dispatcher;
    }, true);
}]

Unfortunately I'm unable to reproduce this problem.
Instead of registering the whole PluginManager with register(), try to register the plugins separately, maybe that helps you to find out what exactly causes the problem:
https://github.com/fabfuel/prophiler/blob/develop/src/Fabfuel/Prophiler/Plugin/Manager/Phalcon.php#L32
Best
Fabian

Closing this for now


How to use Selectable Textdraws?

this is my code:
https://pastebin.com/6LVmXPk7
My current textdraw-streamer version is v2.0.3

Ow thats it!! Thank u!!

Ow thats it!! Thank u!!

What is your compiler version? Which server file are you using, SA:MP or Open.MP?

Do your library files have const compatibility?
Try updating your libraries with the files here.
pawn-stdlib
samp-stdlib

yes i have. My problem is i updated the include and the plugin of textdraw-streamer to v2.0.3 (hot fix) then the warnings start showing up

when i remove these codes in textdraw-streamer.inc the warnings are gone.
// I remove the const file and line
native DynamicPlayerTextDrawFont(playerid, PlayerText:textid, font, const file[], line); - Original
native DynamicPlayerTextDrawFont(playerid, PlayerText:textid, font); - Edited

// I remove the _file and _line
#define PlayerTextDrawFont(%0,%1,%2) DynamicPlayerTextDrawFont(%0, %1, %2,  __file, __line) - Original
#define PlayerTextDrawFont(%0,%1,%2) DynamicPlayerTextDrawFont(%0, %1, %2) - Edited

no matter what I do, there are still warnings

Can you share your game mod with all its files?

Uploading Testing GM.zip…

https://www.mediafire.com/file/e4j08hqkxx66ry9/Testing+GM.zip/file
Here's the files.

Your compiler version is old.
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

You need to change the function names, they should be like this.
MainMenuBtns[playerid][0] = CreatePlayerTextDraw(playerid, 570.000000, 155.000000, "PLAY");
PlayerTextDrawFont(playerid, MainMenuBtns[playerid][0], 2);
PlayerTextDrawLetterSize(playerid, MainMenuBtns[playerid][0], 0.258332, 1.750000);
PlayerTextDrawTextSize(playerid, MainMenuBtns[playerid][0], 16.500000, 83.000000);

// other codes

Not like this
MainMenuBtns[playerid][0] = CreateDynamicPlayerTextDraw(playerid, 570.000000, 155.000000, "PLAY");
DynamicPlayerTextDrawFont(playerid, MainMenuBtns[playerid][0], 2);
DynamicPlayerTextDrawLetterSize(playerid, MainMenuBtns[playerid][0], 0.258332, 1.750000);
DynamicPlayerTextDrawTextSize(playerid, MainMenuBtns[playerid][0], 16.500000, 83.000000);

// other codes


Change VAT Report Type fields from Option to Enum

Could you change following fields to extensible Enum  ?
Table VAT Report Configuration        field VAT Report Type
Table VAT Report Header               field VAT Report Config. Code
Table VAT Statement Report Line       field VAT Report Config. Code

Looks like we cannot implement VAT Report Type enum due to different implementation of options for VAT Report Type in several countries compared to W1. Do you need this for specific country?

Yes, we do. We are implementing Slovak legislation and we have decided to use this funcionality for all VAT reports we use. If it is complicated to change the option to the enum, would it be possible to add a new option to those fields? We want to implement a new report - we call it "VAT Check Statement". Till now we have had a standalone functionality for that and we want to put them together and the VAT Reports seem ideal.
(note: there is very similar funcionality in Czech legislation based on Slovak legislation - maybe, one day, they will use the new option - or enum - in the future)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Fix RSS exploding when zoom in on large pages

Might also worth considering that we crop the scaled image to cover only the visible rect... Any thoughts? Would that break too many parts?
Now it takes about 120mb for a 3000*4000 page to scale up to 2.0, it won't work well if we scale it all the way up to the max scale of 7 or higher

@espresso3389 closed the pr since I saw your changes, but the question remains.. Still value your thoughts when you get a chance to look at it.
And I notice a few blink(no pdf image showing up for a ms) when move/scale using the latest 1.0.52. I'm looking at it, but if you already know/fix the issue, please let me know :)

@espresso3389 closed the pr since I saw your changes, but the question remains.. Still value your thoughts when you get a chance to look at it.
And I notice a few blink(no pdf image showing up for a ms) when move/scale using the latest 1.0.52. I'm looking at it, but if you already know/fix the issue, please let me know :)

Yes, I also realized there are blinks on certain operation. I'm checking it.


station mapping

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: sunjul-dadi:x: corentincartonYou have signed the CLA already but the status is still pending? Let us recheck it.


Proposal to add Handler for Curl format request including body data

Two enhancements on top of existing RequestDumpHandler
#1) able to handle request body, Proposed one would handle it.
#2) Current one prints in regular format, which cannot be copied and replicate same request in bash/terminal. We try to print in curl acceptable format, so it should be quick copy/paste.
Here is sample Log line:
CURL Request Format --> curl 'http://<IP_ADDRESS>:8080/testcontextpath/test' --cookie '_ga=GA1.1.16270314.1505902496' -H 'Accept: application/json' -H 'Accept-Language: en-US,en;q=0.8' -H 'Accept-Encoding: gzip, deflate, br' -H 'Origin: http://<IP_ADDRESS>:8080' -H 'User-Agent: Mozilla/5.0' -H 'Connection: keep-alive' -H 'Content-Length: 17' -H 'Content-Type: application/json;charset=UTF-8' -H 'Referer: http://<IP_ADDRESS>:8080/testcontextpath/' -H 'Host: <IP_ADDRESS>:8080' --data-binary '{"someDatId":"1"}'

Can one of the admins verify this patch?

Could someone look at it


Updates for traffic_ops_ort.pl for 4.0.x for CentOS 8

And some minor bug fixes for starting ATS
What does this PR (Pull Request) do?
This allows trafffic_ops_ort.pl 4.0.x to run on CentOS 8 and fixes some minor bugs with starting ATS.

[x] This PR is not related to any Issue

Which Traffic Control components are affected by this PR?

Traffic Ops ORT

Documentation not required because there were not functionality updates made to the script.
What is the best way to verify this PR?
Run it on a CentOS 8 cache server
If this is a bug fix, what versions of Traffic Control are affected?
4.0.0
The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

imo we just let this change go into TC 5.x rather than rolling another 4.0.x release

That's fine. I did it in case anyone else wanted it. They can still find it when it is closed and if anyone asks, maybe someone will remember it's here.


Setup function makes overriding highlights inconsistent

Hi @NTBBloodbath 👋🏿 ,
recently I noticed a setup function was added which is nice but adding it seems to make overriding highlights with my custom highlights work inconsistently. Basically my setup is that on the Colorscheme autocommand I call a custom highlight function which I have always had regardless of the colorscheme there are just certain highlights that I want a certain way no matter what colorscheme I use.
Anyway I think that since the setup function also loads the colorschemes highlights it can end up changing the highlights after the colorscheme has already loaded so it happens after the autocommand and my highlight overrides are ignored.
I'm not sure why specifically the plugin needs to load the colorscheme again after setup but am wondering if highlighting by this colorscheme can be restricted to that event otherwise it's impossible to consistently override the colorscheme's highlights.
Does this make sense?

@saifulapm I actually meant the require'doom-one'.setup{...} function not the packer setup function. The doom one one actually loads the colorscheme after setup is called which is why I'm experiencing the issue I described, in hindsight maybe it should also call doautocmd Colorscheme since it is manually applying highlights but not giving the rest of nvim a heads up that that is happening

Hey akin,
It's been a really long time, hope you're doing well. It seems like I did finally stopped procrastinating with other projects to procrastinate with this one and did a rewrite (still need to add missing plugins integrations) haha.
It does go back to the good ol' classic Neovim global variables to setup colorscheme settings, not too much breaking changes at all as I did try to keep the same option names from setup function, and also improves performance a bit (at least from my tests).
That said, please let me know if you can give rewrite branch a shot so we can close this issue once I merge it.
Cheers

Hi @NTBBloodbath tried it out and seems to work great 👍🏿 thanks

Cool thanks, merged rewrite branch!


Dropdown's do not close as expected when mounted in Shadow DOM

Bug Report
While creating an app using web components (and Shadow DOM), I came across this issue where Dropdowns do not close after selecting an item.  I debugged the problem, and tracked the root cause of the Dropdown not closing to the doesNodeContainClick function.  Because event.target is the "host" node, not the shadow dom node, it returns false when it should return true.
The problem is in the file: Semantic-UI-React/src/lib/doesNodeContainClick.js , line 21:

return node.contains(e.target)

There is a quick fix for this.  Instead of using e.target, we can use e.composedPath() - https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath .  Iterate through composed path and check to see if you get a match with node:

let cpath = e.composedPath()
for (let i=0; i<cpath.length; i++) {
if (node == cpath[i]) {
return true;
}
}
return false;

Steps
Create a Dropdown in the Shadow DOM.
Click the dropdown
Select an Item
Expected Result
After the item is selected, the dropdown should close.
Actual Result
The dropdown did not close (it stays open).
Version
2.0.3
Testcase
https://codesandbox.io/s/semantic-ui-react-forked-y493p?file=/index.js

Sorry about the edits, I accidentally submitted the issue before I was done writing it.  The reason why this call to doesNodeContainClick has the bug (where other calls do not) is because it is getting a DOMEvent, not a synthetic event.  AFAIK It is getting called from src/modules/Dropdown/Dropdown.js line 394 from a real document click handler (not a react click handler).
The reason why the dropdown stays open is because the bubbled click closes the dropdown (because doesNodeContainClick returns false).  Then the real Dropdown onClick handler fires and re-opens the dropdown.

Also seeing this issue. It's unfortunate, as most other components work inside a Shadow DOM root.

Also seeing this issue when dealing with Web Components. Setting closeOnBlur={true} seems to fix the problem, but obviously creates another problem in its place.

Hey @neutraali  so sorry didn't see this earlier. Why I did was I ended up wrapping over callbacks passed to the onChange prop. That wrapper would call said callback and then just blur the root node (which would be the shadow root)
e.target.getRootNode().host.blur(); This last line would force the drop down to close when a user picked any item.


Introduce Flatten() function

It allows to flatten slices into variadic parameter of following
operators:

All
Any
Bag
JSON
None
NotAny
Set
SubBagOf
SubJSONOf
SubSetOf
SuperBagOf
SuperJSONOf
SuperSetOf

and into ...args of all Cmp functions.

Pull Request Test Coverage Report for Build 616

126 of 126 (100.0%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 99.757%

Totals

Change from base Build 615:
0.003%

Covered Lines:
6160

Relevant Lines:
6175

💛  - Coveralls


Add support for MXNet operators.

Issue #25
Description of changes:
This change has the base classes and logic for adding and using MXNet operators in MXFusion space.
I will update the PR with additional operators, just getting the baseline up for review.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Just a reminder: the copying of an operator needs to be implemented and tested.

Codecov Report

Merging #34 into develop will decrease coverage by 0.05%.
The diff coverage is 82.05%.

@@             Coverage Diff             @@
##           develop      #34      +/-   ##
===========================================
- Coverage    80.32%   80.26%   -0.06%
===========================================
  Files           54       57       +3
  Lines         2191     2301     +110
  Branches       432      447      +15
===========================================
+ Hits          1760     1847      +87
- Misses         321      340      +19
- Partials       110      114       +4

Impacted Files
Coverage Δ

mxfusion/components/model_component.py
86.99% <ø> (-1.63%)
:arrow_down:

mxfusion/components/distributions/distribution.py
89.47% <ø> (ø)
:arrow_up:

...xfusion/components/functions/operators/__init__.py
100% <100%> (ø)

mxfusion/components/factor.py
82.25% <100%> (+1.9%)
:arrow_up:

mxfusion/components/variables/variable.py
72.13% <33.33%> (-6.72%)
:arrow_down:

...fusion/components/functions/operators/operators.py
83.72% <83.72%> (ø)

...on/components/functions/operators/operator_impl.py
95% <95%> (ø)

... and 2 more

Continue to review full report at Codecov.

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


Improve errors in widgets

Related to: https://github.com/CartoDB/deep-insights.js/issues/574
This needs https://github.com/CartoDB/cartodb.js/pull/1778 in order to work.

Tiene pintote.

Ok, tested in staging and I've found a problem trying to refresh a histogram widget (refresh is undefined). Back to development!

retest this please


Copying in forbidden directories does not fail

Running ocluster-client with the following repository: git://github.com/ocaml/opam-repository.git 60704b756e66c602d9dbe88b8efc57168dbb315f, the following obuilder file does not fail:
((from macos-homebrew-ocaml-4.12)
 (copy (src .) (dst /src/)))

All commits already cached
Updating files: 100% (21798/21798), done.
HEAD is now at 60704b756e Merge pull request #19041 from dra27/multicore-meta

SYS macos-homebrew-ocaml-4.12
---> using "f25b1e945a2450d8b14b355d7a87cf9f5c290ab2a4568f5d7ffb9c15ee9c4889" from cache

/: (copy (src .) (dst /src/))
---> saved as "af540a9b6dce954599258b7aa1ab772b5d2fe67064cc24bdb524b905f2336df9"
Job succeeded
Result: "af540a9b6dce954599258b7aa1ab772b5d2fe67064cc24bdb524b905f2336df9"

It even takes quite some time on the copy instruction so I'm wondering where it is getting copied ^^"

On the macOS branch the copy code is unchanged... https://github.com/patricoferris/obuilder/blob/master/lib/build.ml#L94 I just had a look on the mac and it looks like it correctly copied this into /Volumes/tank/result/af540a9b6dce954599258b7aa1ab772b5d2fe67064cc24bdb524b905f2336df9/src -- is that what it is supposed to do ?

oh i see. So / is transformed to $HOME ? I don't think it should be allowed as it differs from the expected behaviour (copying to the real root, not home)

The (copy...) declaration in a spec file at the moment is not implemented in a backend specific way. Both Linux and macOS use the snapshot directory, but for linux i.e. runc, the snapshot directory is / whereas on macOS it is $HOME. So copy just puts it in the snapshot directory (if the file path is relative it puts it relative to the cwd).


Position is not the same across different devices

I'm trying to create a multi-player maze game where the position of the players as they race to the goal is updated in real-time. The problem I have is that the position I'm getting from one player doesn't necessarily translate to the other player. This is because the device size is either bigger or smaller.
I'm using the following code to get the position of the body at a set interval:
this.sendPositionToOpponent(myObject.position.x, myObject.position.y);

Then on the opponent's side, I get the position that was passed (I'm using Pusher):
this.myChannel.bind('moved-ball', ({ positionX, positionY }) => {
  Matter.Body.setPosition(myObject, {
    x: positionX,
    y: positionY
  });
});

Is there a way of normalizing the positions so it can be directly used on devices with different screen sizes? Thanks.

It sounds like a problem with your rendering? The position is just a world space point, not related to rendering or the device hardware. You probably need to make sure that you are handling differences in canvas resolution, viewport and display DPI (pixel ratio) when rendering.


Namespace '"vscode"' has no exported member 'TreeDragAndDropController'.

I am trying to play with the new TreeView drag and drop api but I get the error in the title for all related api usages.  Like:
import * as vscode from 'vscode';

vscode.TreeDragAndDropController       // these all get the red squigglies and error message
vscode.DataTransfer<vscode.DataTransferItem>
vscode.DataTransferItem

Also: Argument of type '{ treeDataProvider: TabTreeDataProvider; showCollapseAll: true; canSelectMany: true; dragAndDropController: TabTreeDragContoller; }' is not assignable to parameter of type 'TreeViewOptions<treeNodes>'.   Object literal may only specify known properties, and 'dragAndDropController' does not exist in type 'TreeViewOptions<treeNodes>'.
It is as if the interface interface TreeDragAndDropController<T> is not yet exposed in the api.  It isn't  proposed anymore - is there something I have to do to get access to this part of the api?
@meganrogge
This happens in current Stable or Insiders.
Version: 1.67.0-insider (user setup)
Commit: e7c6ad74aff28965d0189ca1dd584f5e9829cf06
Date: 2022-04-19T09:43:36.551Z
Electron: 17.4.0
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22598

Make sure you bump all your vscode versions in your package.json to 1.66, the version that the API was finalized in, and then do an npm install or yarn.


Implement Registration and Login system 🔐

Issue overview
Initial note
We can't implement this feature until @MarcoBuster provides us a server.
Requirements

The user must be able to register with his @studenti.unimi.it email address (this is the only email address allowed, to avoid possible bots and people who are not students).
The logged user will be able to see his username in the top-right corner of the headerMenu.
The not logged user will see "Register" button in the top-right corner of the headerMenu.

Purpose of this feature
The logged-user will be able to give an opinion about the courses (maybe I'll implement other features in the future).
I will link the relative issue of the feature when i'll create it.
Visualization and code

[ ] Add in the headerMenu "Register" button if the user is not authenticated and "Login" button if the user is authenticated;
[ ] Decide how to handle visualization on mobile devices (I suggest a Persona component without text);
[ ] Implement dialog that allows the user to register;

[ ] Insert the form and required fields errors handling;
[ ] We must show how we treat personal data;
[ ] Fields must be required, so I suggest #Text field error message variations if they support the avoiding of submitting the form;
[ ] Email field could have this suffix with
@studenti.unimi.it since it is required.

This feature needs C.A.N.'s approval, and it's not high priority.

This feature needs C.A.N.'s approval, and it's not high priority.

It's been days since I requested this approval.
I would have expected an answer or a minimum consideration in this regard, since it has not arrived I have started to draw up the requirements. After discussing with Silvio we both agreed that this feature on our site is the one that would take us a step up from any other such platform. So, you might as well propose it to the council and let Silvio give the reasons we talked about the other day.

Regarding the high priority of this feature, I am the one who decides this as a feature of the website. I believe it has a high priority as it is of high importance that students can make their own judgments in terms of non-textual assessments as soon as possible and especially before the start of a new academic year.
In this regard it would be correct that other members of this network also begin to fulfill their duties. I am the only developer who is implementing new features, and you have the courage to block my proposals for new features only because in all these days you have not been able to propose this to the council, and you have not been able to go and find if effectively allowing a student to give a grade from 1 to 10 on an aspect of an educational course anonymously whether it is a form of abuse or not.

I will close this until we decide what to do.


(potentially) Flaky ES test

defined in plugin/storage/es/spanstore/reader_test.go:208
=== RUN   TestSpanReader_multiRead_followUp_query
--- FAIL: TestSpanReader_multiRead_followUp_query (0.00s)
panic:
mock: Unexpected Method Call
-----------------------------
Index(string,string)
		0: "jaeger-span-2019-08-06"
		1: "jaeger-span-2019-08-05"
The closest call I have is:
Index(mock.AnythingOfTypeArgument)
		0: "string"
Provided 1 arguments, mocked for 2 arguments
Diff: 1: FAIL:  (string=jaeger-span-2019-08-05) != (Missing) [recovered]
	panic:
mock: Unexpected Method Call
-----------------------------
Index(string,string)
		0: "jaeger-span-2019-08-06"
		1: "jaeger-span-2019-08-05"
The closest call I have is:
Index(mock.AnythingOfTypeArgument)
		0: "string"
Provided 1 arguments, mocked for 2 arguments
Diff: 1: FAIL:  (string=jaeger-span-2019-08-05) != (Missing)
goroutine 22 [running]:
testing.tRunner.func1(0xc00010a700)
	/home/travis/.gimme/versions/go1.12.1.linux.amd64/src/testing/testing.go:830 +0x69d
panic(0xca69c0, 0xc000135c00)
	/home/travis/.gimme/versions/go1.12.1.linux.amd64/src/runtime/panic.go:522 +0x1b5
github.com/jaegertracing/jaeger/vendor/github.com/stretchr/testify/mock.(*Mock).fail(0xc0000d5180, 0xd9d701, 0x6f, 0xc000139b40, 0x4, 0x4)
	/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/stretchr/testify/mock/mock.go:236 +0x1ad
github.com/jaegertracing/jaeger/vendor/github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0000d5180, 0x1394873, 0x5, 0xc00016c2c0, 0x2, 0x2, 0xc000139b00, 0x4, 0x4)
	/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/stretchr/testify/mock/mock.go:358 +0xab5
github.com/jaegertracing/jaeger/vendor/github.com/stretchr/testify/mock.(*Mock).Called(0xc0000d5180, 0xc00016c2c0, 0x2, 0x2, 0xc00016c2a0, 0x2, 0x2)
	/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/stretchr/testify/mock/mock.go:334 +0x1e7
github.com/jaegertracing/jaeger/pkg/es/mocks.(*MultiSearchService).Index(0xc0000d5180, 0xc00016c180, 0x2, 0x2, 0x2b1869d6f208, 0xc0000d5180)
	/home/travis/gopath/src/github.com/jaegertracing/jaeger/pkg/es/mocks/MultiSearchService.go:83 +0x1c6
github.com/jaegertracing/jaeger/plugin/storage/es/spanstore.(*SpanReader).multiRead(0xc000132c80, 0xe6f5c0, 0xc0000a2010, 0xc0000d7ac0, 0x2, 0x2, 0xbf4a4c71f26eaa02, 0x8a7f75, 0x1408be0, 0xbf4a4c71f26eaa02, ...)
	/home/travis/gopath/src/github.com/jaegertracing/jaeger/plugin/storage/es/spanstore/reader.go:340 +0xc94
github.com/jaegertracing/jaeger/plugin/storage/es/spanstore.TestSpanReader_multiRead_followUp_query.func1(0xc0000b3f40)
	/home/travis/gopath/src/github.com/jaegertracing/jaeger/plugin/storage/es/spanstore/reader_test.go:269 +0x21f7
github.com/jaegertracing/jaeger/plugin/storage/es/spanstore.withSpanReader(0xc000060f50)
	/home/travis/gopath/src/github.com/jaegertracing/jaeger/plugin/storage/es/spanstore/reader_test.go:105 +0x382
github.com/jaegertracing/jaeger/plugin/storage/es/spanstore.TestSpanReader_multiRead_followUp_query(0xc00010a700)
	/home/travis/gopath/src/github.com/jaegertracing/jaeger/plugin/storage/es/spanstore/reader_test.go:209 +0x57
testing.tRunner(0xc00010a700, 0xda1cb8)
	/home/travis/.gimme/versions/go1.12.1.linux.amd64/src/testing/testing.go:865 +0x164
created by testing.(*T).Run
	/home/travis/.gimme/versions/go1.12.1.linux.amd64/src/testing/testing.go:916 +0x65b
FAIL	github.com/jaegertracing/jaeger/plugin/storage/es/spanstore	0.022s

Does it happen on master/head?
I think @jpkrohling fixed it in https://github.com/jaegertracing/jaeger/issues/1703

it happened in #1704, I thought after I merged master with @jpkrohling 's fix

Actually, I think #1703 is a different issue altogether. This failure is with unexpected call to mocked method, which can be caused by race conditions. It failed again in https://travis-ci.org/jaegertracing/jaeger/jobs/568600800#L2885

Another recent failure https://travis-ci.org/jaegertracing/jaeger/jobs/582922510
@guanw had a potential explanation in https://github.com/jaegertracing/jaeger/pull/1786#issuecomment-529948361

This test does appear to be time-sensitive: https://travis-ci.org/jaegertracing/jaeger/jobs/593308117

@pavolloffay #1703 didn't fit it. The fix was to be less sensitive to the order, but it seems like the issue is with 1 or 2 spans being created, due to the time of day when the test runs and ES queries 1 or 2 daily indices
Index(string,string)
		0: "jaeger-span-2019-10-04"
		1: "jaeger-span-2019-10-03"
The closest call I have is:
Index(mock.AnythingOfTypeArgument)
		0: "string"

One way to fix it is to pass a "clock" to ES which would always return the same time of day in the test, instead of using time.now()

I will have a look at this one again


browser does not display introns in non coding genes

Re: [pombase #6947] Re: question regarding snu6 (SPSNRNA.06)
@Antonialock ?
I spot checked a number of non-protein coding genes with introns.
it looks like they are showing in dubious genes but not pseudogenes, retrotransposons, snRNAs, tRNAs, and other ncRNAs.

UCSC bowser does not disply introns on snu6 either...apparently

I checked a number of genes in this list

Systematic ID
Gene name
Product description

SPNCRNA.05
prl5
antisense RNA, poly(A)-bearing (predicted)

SPNCRNA.56
prl56
antisense RNA (predicted)

SPNCRNA.57
prl57
non-coding RNA, poly(A)-bearing RNA (predicted)

SPNCRNA.445
snoR61
small nucleolar RNA snR61

SPSNRNA.06
snu6
small nuclear RNA U6

SPATRNASER.03
sup3
tRNA Serine

SPBC1E8.04
Tf2-10
retrotransposable element/transposon Tf2-type

SPCC1494.11c
Tf2-13
retrotransposable element/transposon Tf2-type

SPBC1706.02c
wtf2
pseudogene wtf element Wtf2

SPCC576.16c
wtf22
pseudogene wtf element Wtf22

SPCC830.02
wtf24
pseudogene wtf element Wtf24

SPCC548.02c
wtf3
pseudogene wtf element Wtf3 (no methionine)

SPAC19D5.10c

dubious

SPAC24B11.14

dubious

SPAC9E9.01

dubious

SPAC9E9.17c

dubious

SPAP27G11.11c

dubious

SPAPB24D3.05c

ring cleavage dioxygenase, pseudogene, single frameshift and no methionine

SPATRNALYS.04

tRNA Lysine

SPBC1348.11

membrane transporter, pseudogene

SPBC18E5.15

pseudogene, DUF1773 family

SPBC2A9.13

dubious

SPBC3D6.16

dubious

SPBCPT2R1.06c

pseudogene

SPBPB21E7.08

pseudogene

SPBTRNAARG.05

tRNA Arginine

SPBTRNALEU.05

tRNA Leucine

SPBTRNALEU.06

tRNA Leucine

SPBTRNALEU.07

tRNA Leucine

SPBTRNALYS.07

tRNA Lysine

SPBTRNALYS.08

tRNA Lysine

SPBTRNALYS.09

tRNA Lysine

SPBTRNAMET.05

tRNA Methionine

SPBTRNASER.06

tRNA Serine

SPBTRNATYR.02

tRNA Tyrosine

SPBTRNATYR.03

tRNA Tyrosine

SPBTRNATYR.04

tRNA Tyrosine

SPBTRNAVAL.05

tRNA Valine

SPBTRNAVAL.07

tRNA Valine

SPBTRNAVAL.08

tRNA Valine

SPCC417.03

dubious

SPCC4F11.05

dubious

SPCP20C8.03

pseudogene (predicted)

SPCTRNALEU.12

tRNA Leucine

SPCTRNALEU.13

tRNA Leucine

SPCTRNALYS.11

tRNA Lysine

SPCTRNALYS.12

tRNA Lysine

SPCTRNASER.10

tRNA Serine

SPCTRNASER.13

tRNA Serine

SPCTRNAVAL.09

tRNA Valine

SPCTRNAVAL.10

tRNA Valine

SPCTRNAVAL.12

tRNA Valine

SPNCRNA.159

non-coding RNA (predicted)

I think I've fixed this with a small change to the JBrowse code.  Please let me know if you spot any cases where the splicing still isn't shown.

Brilliant, I'll tell Vincent


[Flutter project] APK file increased by 40% with FreeRASP package

Hi,
I've integrated FreeRASP package into the flutter's project and size of APK file (release build) increased from 70MB to 100MB.
Is this the "price" I have to pay to use the package, or is there a way to not increase the build file's size significantly?

Hi @speszke,
Did you increase the minSdkVersion when you installed freeRASP, or had you this dependency already satisfied? We noticed that bump from minSdkVersion API <23 to API >=23 can lead to notable increases in APK size. However, this increase is not directly caused by freeRASP: since API 23, the native libraries that come with your project are stored uncompressed in the APK (in comparison, in earlier versions, they were compressed). Although your APK might be larger, your application should load faster because the libraries are directly loaded from the APK at runtime. You can read more about it here.
In our experience, integrating freeRASP typically results in a more modest increase of around 10 MB in the APK size, as in the example app in the freeRASP project.
In your case, one potential solution to consider is to use Android App Bundle, which should result in reducing of the final app size during distribution.
Best,
Tomas, Talsec developer

Hi @tompsota ,
Thanks for quick reply. In my case the only change increasing apk size was adding FreeRASP package - nothing else changed. I have minSdkVersion 23 already set up, so it couldn't impact the size.

try add this in manifest in application tag
android:extractNativeLibs="true"
If set to "false", your native libraries are stored uncompressed in the APK. Although your APK might be larger, your application loads faster because the libraries load directly from the APK at runtime.

@MajdSallora  thanks this worked

Hello.
I've updated Troubleshooting section in README.md. This change will be reflected in README.md at pub.dev on next update.
Issue will be closed on next freerasp release.


merge package template from Kronos-Tools/npm-package-template

.travis.yml

chore(travis): merge from template .travis.yml

Codecov Report

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

@@           Coverage Diff           @@
##           master     #187   +/-   ##
=======================================
  Coverage   86.38%   86.38%
=======================================
  Files           1        1
  Lines         191      191
=======================================
  Hits          165      165
  Misses         26       26

Continue to review full report at Codecov.

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


Rust/Cargo error causing ensmallen_graph package install to fail

Describe the bug
I am seeing an error when trying to install the python packages.  The error is causing the pip install command to fail.
Here is the error log from pip:
Collecting ensmallen_graph==0.4.3
Using cached ensmallen_graph-0.4.3.tar.gz (15 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /Users/borromeo/git/kg-covid-19/venv/bin/python /Users/borromeo/git/kg-covid-19/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/in_process.py prepare_metadata_for_build_wheel /var/folders/b1/y7vjrzsj7dz9b2x042tt_lv00000gn/T/tmpfu1n1q4
cwd: /private/var/folders/b1/y7vjrzsj7dz9b2x042tt_lv00000gn/T/pip-install-1cv4eni4/ensmallen-graph_61e57e012a6e48f09030c0f36c7d28dd
Complete output (20 lines):
⚠  Warning: Please use maturin in pyproject.toml with a version constraint, e.g. requires = ["maturin>=0.12,<0.13"]. This will become an error.
💥 maturin failed
Caused by: Cargo metadata failed. Does your crate compile with cargo build?
Caused by: cargo metadata exited with an error:     Updating crates.io index
error: failed to get graph as a dependency of package ensmallen_graph v0.4.3 (/private/var/folders/b1/y7vjrzsj7dz9b2x042tt_lv00000gn/T/pip-install-1cv4eni4/ensmallen-graph_61e57e012a6e48f09030c0f36c7d28dd)
Caused by:
  failed to load source for dependency `graph`

Caused by:
  Unable to update /private/var/folders/b1/y7vjrzsj7dz9b2x042tt_lv00000gn/T/graph

Caused by:
  failed to read `/private/var/folders/b1/y7vjrzsj7dz9b2x042tt_lv00000gn/T/graph/Cargo.toml`

Caused by:
  No such file or directory (os error 2)
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/private/var/folders/b1/y7vjrzsj7dz9b2x042tt_lv00000gn/T/pip-modern-metadata-mrpkbpf4', '--interpreter', '/Users/borromeo/git/kg-covid-19/venv/bin/python']' returned non-zero exit status 1.
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /private/var/folders/b1/y7vjrzsj7dz9b2x042tt_lv00000gn/T/pip-modern-metadata-mrpkbpf4 --interpreter /Users/borromeo/git/kg-covid-19/venv/bin/python`
----------------------------------------

To Reproduce
Follow the steps on the Quick Start page: https://knowledge-graph-hub.github.io/kg-covid-19/getting_started.html
git clone https://github.com/Knowledge-Graph-Hub/kg-covid-19
cd kg-covid-19
python3 -m venv venv && source venv/bin/activate # optional
pip install .
Expected behavior
I would expect the pip install . command to pass.
Version
I am pulling from the 'master' branch.  The last commit appears to be: 8779f52d7b2e6aff59a6ccc5df069ef1078e37c0.  I am running python 3.8.9 on macOS Monterey (12.2.1).  I have installed Rust and Cargo (cargo v. 1.58.0).

@chuck-rosalind can you tell me what OS you are using?

@justaddcoffee I'm using macOS Monterey (12.2.1).  It is running on Apple's M1 chip (if that makes a difference).

Hi @chuck-rosalind  - it's possible that the issue is that ensmallen_graph doesn't support M1 chips in that version.
Could you try:

change this 'ensmallen_graph==0.4.3' in setup.py here to 'ensmallen_graph', or if that doesn't work
comment out this same line in setup.py

Thanks @justaddcoffee, commenting out the line worked.  So what does it mean if I removed this package?  Is there some functionality that won't work?  Thanks again.

No problem, glad that worked.
Basically commenting this out will break make_holdouts(), which is used to generate holdout sets for graph ML.
If you need to do this, we could probably figure out how to get ensmallen installed on your machine


HTTP2: add error details on some NGHTTP2 errors.

Add wiring to propagate error details from the http2 codec to the
access log.  Such wiring inserts a DownstreamProtocolError response
flag (appearing as "DPE" in the log) and a string with details of the
error.  Currently, this mechanism is only triggered by the
onInvalidFrame callback.
Before this change, DownstreamProtocolError was handled
inconsistently.  If stream_error_on_invalid_http_messaging, we closed
the stream but did not log a DPE.  Otherwise, we closed all streams
and logged a DPE.  The current code reports a DPE in all cases.
Signed-off-by: Matteo Frigo<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description: add error details on some NGHTTP2 errors.
Risk Level: low
Testing: unit tests, and integration tests verifying the expected output in access log
Docs Changes: none
Release Notes: none
[Optional Fixes #Issue]
[Optional Deprecated:]

pipelines failed to fetch.  I'll close and try again.


Dash Live Stream plays too close to the end of seekRange and so video disappears but audio still works

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
3.1.6 but also tried with 4.0.1
Please ask your question
I have a problem with Dash live stream when I seek forward to the point that player is not able to seek anymore. Then as it starts to play the video starts to disappear for a second and I only see black screen, but I can still hear the audio. This can happen a few times within few seconds that there is no video. From my observation it seems to happen whenever video currentTime becomes >= seekRange.end. If I rewind the video 5 seconds back and continue playing, then it plays without disappearing. I guess that is happening because I am trying to play too close to live edge. So my question is there a way to prevent going too close to live edge (seekRange.end)? I have tried adding manifest.defaultPresentationDelay = 20 and manifest.dash.ignoreSuggestedPresentationDelay = true, but it doesn't seem to work and the video is still playing too close to seekRange.end. Could you please help as I have been trying to find a way for quite some time now.

I tried to reproduce your issue with our demo content and failed.  With the DASH live sim, for example, I ran seeks like this:
video.currentTime = player.seekRange().end + 5

I tried values 5, 20, and 100, and I couldn't reproduce your issue at all.
It may be content-specific.  Can you please file a new issue using the bug template, and take note to provide manifest and license URLs we would need to reproduce the issue.  There are email instructions in the template to send those parts privately if necessary.
Thanks!


cargo test -p ignores dev-dependencies

In rustup I have a rustup crate that depends on a rustup-dist crate.
In the Cargo.toml for rustup-dist I have:
[dev-dependencies]
url = "1.1.0"

And in my 'tests' folder tests with import the url crate.
When I run tests from the 'workspace' level with cargo test -p rustup-dist the url crate does not resolve, but if I cd into the rustup-dist directory and run cargo test it works correctly.

Dupe of https://github.com/rust-lang/cargo/issues/860, but definitely an unfortunate bug. Will be fixed with workspaces!


Call to an undefined static method Model::count()

Larastan Version: 2.2
--level used: 1

Description
Hi,
I just installed Larastan (I already used it on previous projects).
I'm facing a strange issue I never encountered before... On a simple model, when I call the static count method without "where" before, Larastan screams the method doesn't exist, while it exists as my code works...
I guess it's a false positive.
Laravel code where the issue was found
Category class is extending Illuminate\Database\Eloquent\Model class
$categories = Category::count();

Hi,
I'm pretty sure this is an issue with your setup somehow. I cannot reproduce it locally.
You need to give more info like, your PHPStan config, any other extensions, maybe docblocks in your model etc.
Or you can provide a failing test case here, or a repository where you can reproduce it.

That's strange, this project is new and pretty standard...
Here is my configuration :
includes:
    - ./vendor/nunomaduro/larastan/extension.neon

parameters:

    paths:
        - app
        - config
        - database
        - routes
#        - tests

    # The level 8 is the highest level
    level: 1

    checkMissingIterableValueType: false
    checkGenericClassInNonGenericObjectType: false

    universalObjectCratesClasses:
        - Illuminate\Database\Eloquent\Builder
        - Laravel\Socialite\Contracts\User
        - App\Models\Ad
        - App\Models\Category
        - App\Models\ConnectedAccount
        - App\Models\User

And the model file :
<?php

namespace App\Models;

use Fureev\Trees\NestedSetTrait;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Spatie\Sluggable\HasSlug;
use Spatie\Sluggable\SlugOptions;

class Category extends Model
{
    use HasFactory;
    use HasSlug;
    use NestedSetTrait;

    /**
     * The attributes that are mass assignable.
     *
     * @var array<int, string>
     */
    protected $fillable = [
        'name',
        'ebay',
    ];

    /**
     * Return the sluggable configuration object for this model.
     *
     * @return SlugOptions
     */
    public function getSlugOptions(): SlugOptions
    {
        return SlugOptions::create()
            ->generateSlugsFrom('name')
            ->saveSlugsTo('slug');
    }

    /**
     * Return ads that are in the category.
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany<\App\Models\Ad>
     */
    public function ads()
    {
        return $this->hasMany(Ad::class);
    }

    /**
     * Scope a query to only include popular users.
     *
     * @param  \Illuminate\Database\Eloquent\Builder  $query
     * @return \Illuminate\Database\Eloquent\Builder
     */
    public function scopeLinked($query)
    {
        return $query->where('ebay', '!=', '');
    }
}

it will probably be because you have marked the Category as a universalObjectCrateClass, meaning that PHPStan's reflection isn't giving Larastan the opportunity to use it's reflection mechanisms
you should avoid using universalObjectCrateClasses unless you really need to, and prefer adding @property annotation for properties instead

Ok I found the error, it comes from laravel-trees package and especially the trait from Fureev\Trees\NestedSetTrait...
Thanks everyone for your help, I didn't know a badly written trait could cause that kind of errors.

@mad-briller No, that option is only for properties. Nothing to do with method reflection.
@bistory Glad you figured out!

ah of course, my bad


Separate badges for each branch

This is possible by adding the ?branch query parameter as demonstrated below:
[![Build Status](http://drone.hostname.com/api/badges/foo/bar/status.svg?branch=foo)](http://beta.drone.io/drone/drone)
For general usage questions please use our mailing list or stack overflow prior to creating issues. Thanks!

The same query element does not work for getting a page ONLY showing builds for a specific branch, right ? Would this be worth a separate ticket ?

an issue already exists. https://github.com/drone/drone/issues/1495

I found a ticket which looked promising (about support for filter) but doesn't look like it is working on cloud.drone.io: https://github.com/drone/drone-ui/issues/63#issuecomment-488752422

badges per branch work fine, but there is a typo in the link generated in the user-interface
-https://cloud.drone.io/api/badges/drone/drone-yaml/status.svg?ref=/refs/heads/master
+https://cloud.drone.io/api/badges/drone/drone-yaml/status.svg?ref=refs/heads/master


More online examples

Just find this freaking awesome library, and looking forward native chart support too.
I quickly looked through the documentions and saw poor examples there.
for example, when I saw the banner, snackbar and alertdialog, without any example or screenshot there, I was unable to imagine how they look like.
It will be more friendly to new ones if we can add some examples, such as buttons that has 'banner' or something else, and when I press this button, it shows a banner.

poor examples? there is a multitude of examples in the examples repo. The amount of time the author of this program has put into documentation + examples + support + new coding + quality testing is enormous. and all for free and open source!
see links on this repo cheatsheet
https://github.com/hololeo/flet-cheatsheet

poor examples? there is a multitude of examples in the examples repo. The amount of time the author of this program has put into documentation + examples + support + new coding + quality testing is enormous. and all for free and open source!

I think we must clone the examples repo or copy codes and run it locally, and there are not direct link to one example file in doc. It's inpossible when you use a mobile phone etc. and ru? the example app.

The docs and examples are numerous and of high quality. There is no repl for Flet atm.

I agree we need more online examples. The work is in progress.


Akka cluster integration

Eventuate should run in an Akka cluster where each cluster node represents a separate Eventuate location. The integration has the following goals (prio :one:):

EventsourcedActors can be replicated to all cluster nodes.
EventsourcedActors are writable on all cluster nodes
EventsourcedActors remain writable during network partitions (split brain).
Write conflicts can be resolved interactively or automatically (with existing API and tools).
Adding/removing nodes to the cluster should dynamically add/remove these nodes to/from the Eventuate replication network.

Further goals are (prio :two:):

Provide a client lib that allows for application-defined read consistency across multiple locations (eventual, causal, read-your-write, ...)
Connect multiple Akka clusters e.g. running in different data centers via Eventuate replication connections.
...

With these building blocks in place, it should also be possible to implement features like:

A cluster-wide persistent and reliable Akka EventBus with causal delivery semantics.
A shard coordinator that works across multiple Akka clusters (in multiple data denters).
...

The initial focus is on prio :one: goals.

An initial implementation will use a LevelDB storage backend so that local writes to a cluster node are always possible. A shared Cassandra storage backend for all Akka cluster nodes might be in conflict with the requirement that EventsourcedActors should remain writable during network partitions. A hybrid solution, that uses LevelDB only if Cassandra is not available and re-sync later, could be an alternative.
On the other hand, applications with less strict durability requirements can still go for a LevelDB-only solution and recover lost events at one location from those already (asynchronously) replicated to other locations (see disaster recovery).

Hi Martin, is there a way to create the locations dynamically (and thus get the endpoint connections) from the the Akka Cluster seed nodes ?

@hmatinho that's covered with #142. I plan to start working on it in a few weeks.

Hey @mkrassen,
It would be great if Eventuate would be able to work with Akka Cluster Sharding so we can make use of their model and when a network partition happens, it would continue to work under the conditions you described.

@krasserm hi Martin, this feature will be released in the v-0.8?

@coding4m no, most likely not.

+1


bugs in GLIPDemo

Hi! I have tried the demo in Colaborate on my own server. I found there are some bugs. I'm not sure if these issues are due to my deployments or if the code itself comes with it.  Anyway, I've listed all the bug issues I'm experiencing, hoping it helps.
1. GLIPDemo.color
Traceback (most recent call last):
  File "/data/zqf/experiment/GLIP/demo.py", line 50, in <module>
    result, _ = glip_demo.run_on_web_image(image, caption, 0.5)
  File "/data/zqf/experiment/GLIP/maskrcnn_benchmark/engine/predictor_glip.py", line 147, in run_on_web_image
    result = self.overlay_entity_names(result, top_predictions)
  File "/data/zqf/experiment/GLIP/maskrcnn_benchmark/engine/predictor_glip.py", line 347, in overlay_entity_names
    image, s, (int(x), int(y)-text_offset_original), cv2.FONT_HERSHEY_SIMPLEX, text_size, (self.color, self.color, self.color), text_pixel, cv2.LINE_AA
AttributeError: 'GLIPDemo' object has no attribute 'color'

I guess this is because the self.color  is not defined at GLIPDemo.__init__() function. The only time the self.color is defined is in the 163 line of the maskrcnn_benchmark/engine/predictor_glip.py. To be precise is in GLIPDemo.visualize_with_predictions() function.
2. plt.imshow()
The last line of the imshow function is missing plt.imshow() function. This results in the image not being displayed in pycharm sciview.
I think the correct function should be:
def imshow(img, caption):
    plt.imshow(img[:, :, [2, 1, 0]])
    plt.axis("off")
    plt.figtext(0.5, 0.09, caption, wrap=True, horizontalalignment='center', fontsize=20)
    plt.show()

Hi，Do you encounter this error  "ImportError: cannot import name '_C' from 'maskrcnn_benchmark' (/content/GLIP/maskrcnn_benchmark/init.py)"

@lclszsdnr  Perhaps see #89.

@lclszsdnr Did you manage to fix that issue?

嗨，补充一下这个线程，我意识到原来的 GLIP Colab 不再开箱即用。
为了让它能够再次运行，我添加了一些额外的东西，例如安装Python 3.8，并且只安装GLIP首次发布期间的软件包，并解决了大部分兼容性问题。但是，我现在陷入了运行实际模型推理本身的困境，请问有人也经历过这种情况吗？
“运行时错误：未使用 GPU 支持进行编译”
这是笔记本的链接 https://colab.research.google.com/drive/1svOjYeltl-v6pqvAf9ir0YcMhe3Nd0DL?usp=sharing

Hello,
First of all, I want to express my sincere gratitude for sharing your modified GLIP Colab notebook. Your efforts to update and maintain compatibility have been incredibly helpful.
I noticed your recent update about encountering the 'RuntimeError: Not compiled with GPU support' issue. This seems like a tricky problem, and I was wondering if you have managed to resolve it since your last update?
If you've found a solution, would it be possible for you to share an updated demo or any tips on how to overcome this challenge? Your insights would be invaluable to those of us who are following your work and trying to implement the GLIP model.
Thank you once again for your valuable contribution to the community.
Best regards.


3.x Setting nodepaths in the inspector is broken

Godot version
3.4 dev 883bb2f
This is something very recent, probably committed today (22nd July 2021)
System information
Linux Mint 20
Issue description
Trying to set a nodepath via the inspector does nothing, the function is not called in the class.
Steps to reproduce
Try to set a nodepath via the inspector, for any node that has a nodepath property.
Interpolated camera will do, but it also occurs for RoomManager.
Minimal reproduction project
N/A
Possibly due to #50561?
EDIT: Yes can confirm if I checkout the commit before #50561 it works again.

Fixed by #50763.


Inheriting classes not generated when they repeat a field from the interface

On version 1.0.0, when I have the following types:
type Query {
  get_foo(): Foo!
}
interface Foo {
  a: String!
}
type Bar implements Foo {
  a: String!
}

then when I request:
get_foo {
  foo {
    a
    ... on Bar {
      __typename
    }
  }
}

Bar does not get generated
The following query gets generated, which is not valid GraphQL:

get_foo {
  foo {
    a
    ... on Bar
  }
}

Edit: I later found that it's an issue specific to __typename. I still feel like the type should get generated and that the generated query should stay valid.

__typename is very special field and treated as a hint for exact type of the object.
Plus in case of inline fragments if code gen sees that all requested fields are from the base interface it doesn't generates the child as it doesn't make any sense, you have access to all fields from the parent.


Comma key listed as "Colon".

Operating system or device - Godot version:
Any? I'm using the fixnum build from Sept 12th. 64-bit Win 7.
Issue description (what happened, and what was expected):
The comma key shows up as "Colon" in the input map, or from OS.get_scancode_string.
I thought at first this might be some weird keyboard layout thing, but I couldn't find any other keys that have the wrong name associated with them.
Steps to reproduce:
Project Settings >> Input Map >> Add a new "Key" event to any action and press the comma key, it will say "Colon" instead.

Can't confirm on Arch Linux (QWERTY keyboard) - Godot alpha 2.2, no idea which commit exactly.
@rgrams What's your operating system?

Maybe a Windows bug
On Wed, Sep 14, 2016 at 8:52 AM, Bojidar Marinov<EMAIL_ADDRESS>wrote:

Can't confirm on Arch Linux (QWERTY keyboard) - Godot alpha 2.2, no idea
which commit exactly.
@rgrams https://github.com/rgrams What's your operating system?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/6485#issuecomment-246988887,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2zg2fQWAKbXqW4e-6U10svBtdgeLks5qp9_qgaJpZM4J8rRv
.

What's your operating system?

cf. > 64-bit Win 7.

I can confirm this happens on Windows 10 64bit, using Godot 2.1 stable. I have a QWERTY keyboard if that matters.

Ah, yeah whoops, I forgot to mention it may very well be a Windows thing. If I map something to the so called "Colon" key on windows, then build and try on Linux (Ubuntu), that key doesn't work.

I do have some trouble with OS.get_scancode_string since I use a keyboard with Brazilian layout. While still a QWERTY, the accents and punctuation are in different places. Godot reports as if it were a US layout.

I can't reproduce on Antergos. Could any Windows users confirm that it's still happening?

Yes this still happens on Windows using Godot 3.0.2

@Noshyaar Using Windows 10, just discovered this issue this morning.  The comma is reporting scancode 58.

Windows key mappings are here:
https://github.com/godotengine/godot/blob/master/platform/windows/key_mapping_win.cpp
feel free to give a try seeing if it can be fixed

@rodolforg Seems like it, at least from what I can see in my own project.

I don't use Windows, so I can test it.


Added QR codes for use with phones

Looks great!
Could you please rebase to the latest commit?
Also do you think you could add the QR code to the "Public Key" column?

I have rebased, as requested.

I have rebased and squashed all your commits to one b383ffe6ffec89ad9112fed45fd1455eb4311934.
Thanks!


Work with CredHub Service Broker

As a Cloud Foundry user, I want to be able to use the CredHub Service Broker https://docs.pivotal.io/credhub-service-broker/index.html in .NET apps. How do I do that?

Also use this issue to confirm our client is compatible with current versions of CredHub

Closing due to lack of interest. If you would like to see this supported, please reach out to the team


unknown attachment: com.apple.drawing.2

I just did an import from apple notes, and all of my notes that contained handwritten attachments are (1) missing the attachments and (2) contain **(unknown attachment: com.apple.drawing.2)** in their place

Same here.  I have hundreds of hand-written notes that won't import.

@lzilioli @ahayman can you try again with Importer 1.5.6?

No, I'm still not getting them.  I no longer see the unknown attachment error, but I also don't see any of the drawings.
In addition, the importer is producing a bunch of errors like this:

Failed: "[Note Title]" because Cannot read properties of undefined (reading 'ZIDENTIFIER')

Also, in quite a few of the files I see this:

(error reading attachment)

The only attachments the importer seems to bring in are scanned documents and older images copied in.  New images I copied in don't show up, and neither do any of my drawings.
I was able to get everything imported by using both the Obsidian Importer and the "Exporter" app downloaded from the App store.  Between the two of them, I could get all my note and their attachments.  However, it took quite a while to copy/move my files between the two export folder structures.

I am seeing the same issue as @ahayman  with the ZIDENTIFIER error. using latest version of MacOS and Obsidian Importer.


CMake: improve windows SDK folder detection

This will make the commands work outside of VS environment.
The path can be obtained this way:
get_filename_component(CMAKE_DEVKIT_LOCATION ${CMAKE_RC_COMPILER} DIRECTORY)

CMAKE_RC_COMPILER is only set to rc, however CMAKE_AR is set to the full path.


Withdraw Vesting Routes "to_account" not found in  api/v1/accounts/{username}/

Hi I am @nawab69.
I have recently started using tower Api in my steemtools project. When I want to use "/api/v1/accounts" end point I found an issue.
Issue

There is no "to_account" string in this api.  On steemjs ' get_withdraw_routes 'Api endpoint there is a JSON strings to find the current withdraw routes of an account. But in tower api there is no such a string/object to find any accounts current withdraw vesting route and percentage.

I think that should be included in tower api.

Investigated the issue, looks like Hivemind doesn't store that info, therefore tower can't answer that.


Fix token printnig in stopwords analyzer

Scope & Purpose
Fix printing errorneous token.

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[x] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] No backports required
[ ] Backports required for: (Please specify versions and link PRs)

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.
[ ] The behavior in this PR was manually tested
[ ] This change is already covered by existing tests, such as (please describe tests).
[ ] This PR adds tests that were used to verify all changes:

[ ] Added new C++ Unit tests
[ ] Added new integration tests (e.g. in shell_server / shell_server_aql)
[ ] Added new resilience tests (only if the feature is impacted by failovers)

[ ] There are tests in an external testing repository:
[ ] I ensured this code runs with ASan / TSan or other static verification tools

Tests blue except known failure
` Test "recovery_2"
[FAILED]  tests/js/server/recovery/rangedelete-collection-drop-indexes.js
  "test" failed: unable to run recovery test tests/js/server/recovery/rangedelete-collection-drop-indexes.js`


fix(curriculum): Improve location of editable region

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Make it more clear what needs to be edited.

Forum: https://forum.freecodecamp.org/t/learn-basic-css-by-building-a-cafe-menu-step-73/643080

Edit: I guess the current region might be intentional to force the camper to more carefully read and understand the requirement of using an existing selector. But then I would expect it to be part of the requirements and not just the test assert.

Target all the p elements nested in elements with the class named item and set their top and bottom margin to be 5px.

It is already targeted for them as the selector already exists. It makes it sound like a new selector has to be created.

Use the existing selector that targets all the p elements nested in elements with the class named item and set their top and bottom margin to be 5px.

Or something to that effect.

Use the existing selector that targets all the p elements nested in elements with the class named item and set their top and bottom margin to be 5px.

I like this approach. I think by step 73 in the cafe menu they should be able to handle picking out the correct, existing rule set.


Highlight strings with spaces

At the moment, strings with spaces are not matched by the regex and thus not highlighted. \w matches any character but not spaces. Replacing it with a [^<], which matches anything except less-than brackets, works fine in my tests.
Feel free to test and merge eventually.

Also strings with dashes are not highlighted. Maybe it's an idea to pass the regex as an option so we can use our own.

Well this patch covers also strings with dashed and dots. However it might be a great idea to let devs pass their own regex.

Tested... now works well with my long strings contain spaces... Thanks.
On Fri, Aug 12, 2016 at 10:03 AM, Filippo Rossi<EMAIL_ADDRESS>wrote:

Well this patch covers also strings with dashed and dots. However it might
be a great idea to let devs pass their own regex.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ichord/At.js/pull/422#issuecomment-239440315, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOFEr3WtkSiotvHsNxiVvB7C2hdf0viks5qfG83gaJpZM4JhbjM
.

--
Siga-nos e ganhe um brinde.
http://instagram.com/dgmled
http://www.facebook.com/pages/DGM/196934773685708
Atenciosamente,
DGM/David.


Force resync

OPS Build status updates of commit c0081ea:
:clock10: Preparing: average preparing time is 45 sec(s)

OPS Build status updates of commit c0081ea:
:clock10: Incremental building: average incremental building time is 18 sec(s)

OPS Build status updates of commit c0081ea:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

MicrosoftCollaboratePortal/feedback-items-manage.md
:white_check_mark:Succeeded

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


rename key mainUrl to avoid issues

e.g. differentiate between githubRepoURL and getStartedURL
example of resulting issues: #12

Added a field getStartedURL to each document in software collection. Assigned it the current value of mainUrl.
docker-compose exec mongo mongo
use test
db.software.find().forEach(function (d) {d.getStartedURL = d.mainUrl; db.software.save(d)})


Can I use ol Constructor like this?

const VectorLayer= inject("ol-layer-vector");
const VectorSource= inject("ol-source-vector");
let lineSource = new VectorSource()
let lineLayer = new VectorLayer({
        source: lineSource,
        style: new Style({
            image: new Circle({
                radius: 5,
                fill: new Fill({
                    color: '#F56C6C'
                })
            }),
            stroke: new Stroke({
                color: '#F56C6C',
                width: 4
            })
        })
    })

Not sure about the goal. Using this lib that way, isn't what it's build for.
The code is more aligned to the direct usage of Openlayers which you can use of course as well.
However: the injects won't provide the direct API from Openlayers. Please have a look at the implementation.
I mean: of course you can go this way (with a little adjustments). But I am wondering why?
The goal of this lib is to provide a reactive declarative API which automatically applied changes on the sources/layers. When implementing features the way you do, you have to keep in mind, that it's not reactive.

The reason I go this way is that I want to get the 'Linestring/Polygon' target drawed by 'ol-interaction-draw', and then I can remove it easier by using direct Openlayers APIs.

Not sure if you are going the right way. Can you describe the context a bit more? Probably as kind of a user story? Maybe this helps to understand you use-case better and to point you in the right direction.

ok, I drawed a polygon with the demo. how to remove the polygon? I can't find a way.
<template>
  <input type="checkbox" id="checkbox" v-model="drawEnable" />
  Draw Enable

  <select id="type" v-model="drawType">
    <option value="Point">Point</option>
    <option value="LineString">LineString</option>
    <option value="Polygon">Polygon</option>
    <option value="Circle">Circle</option>
  </select>

</template>

Thanks , it works. But if I add points to the the source vector, when I move‘v-if‘ to the source vector， the points is also hidden. it's another problem.
<template>
  <input type="checkbox" id="checkbox" v-model="drawEnable" />
  Draw Enable

  <select id="type" v-model="drawType">
    <option value="Point">Point</option>
    <option value="LineString">LineString</option>
    <option value="Polygon">Polygon</option>
    <option value="Circle">Circle</option>
  </select>

</template>

What if you place the points in a separate layer with its own source vector?

Thanks , it works. Another question: if is it possible to make the mouse pointer locating to the start point or end point automatically when drawing a line, just like the style implemented by 'ol-interaction-snap'？And how can I get the start point or end point in order to obtain their properties.

Sorry I didn't catch it. Can you describe it a bit more?
When do you want to where do you want to snap? Right after the first click (when starting the line)? At the second click? Something else? Can you describe a concrete example?
About the start/end point: You should receive an event for each point with all points already drawn, the first one and the last one are the relevant ones. Or did I got something wrong?

@kankantian sorry but I am quite busy currently. Can you please open separate issues (snap-problem and attribute access). The original issue here has already been answered, so I will close this issue.

ok，thanks for your time


full support non rust naming conventions of generated code

related issue: #562, #565

No difference with current version if c++ namespace is enabled. But it generates a root mod to wrap all codes otherwise.

 Warning

These commits modify unsafe code. Please review it carefully!

This pr is messed up by some mistakes of me. Sorry for that. I'll open another one after the last bug being fixed.


feat(thiserror): cpp20

@LoliGothick
Can you bump up the (might be minor or patch?) version from v9.2.1?
I'd like to use a tag instead of a commit hash.


possible failure mode in locking

In LockInternals I think this line is problematic,
client.create().withMode(CreateMode.EPHEMERAL_SEQUENTIAL).forPath(path, new byte[0]);

The problem is that the create call may succeed on the server, but the server may crash before it can send the response to the client.  If that happened, an ephemeral node would exist in zookeeper, but the client would see an error, and not realize that it had acquired the lock.
This can occur without the session becoming invalid.  For example if a client is talking to server A, A crashes, and the client reconnects to server B.  The clients session is still valid, and the ephemeral node exists, but the client does not know it exists.  What is worse, the client does not even know the path of the node to delete since the node is created with EPHEMERAL_SEQUENTIAL.
What we do is embed a uuid in path, with the uuid being unique for every lock attempt.  On failure to create, the client schedules a getChildren to be performed when it reconnects, and deletes the node based on the uuid.
The zk tree looks like,
 /path/to/lock-<uuid2><zk added sequence>
             /lock-<uuid2><zk added sequence>
             /lock-<uuid3><zk added sequence>

Fixed in https://github.com/Netflix/curator/commit/31cffd77b4a0ff39be39a49e967629d4a9e8fdff
I've added a mode to node creation, withProtectedEphemeralSequential(). The lock internals use this now. It writes a UUID as suggested. NOTE: the Lock shipping in the ZK distro uses the session ID instead of a UUID. This is very bad. It means that for a given path, a ZK connection can only create one lock.

sorry, I had lost the angle brackets in the original bug, fixed now.
Why a session id instead of a uuid.  This could lead to weird races where one thread is locking, while another thread is cleaning up and silently removing the lock behind the back of the locker.  What we do is we have a PersistentDelete class that will delete nodes of a particular pattern.  The class attempts to delete matching nodes, and if deletion fails due to a zk connection issue, it will listen for the zk connection to be reestablished, and retry the delete, repeating until it succeeds without any zk connection errors.   If our create fails, we start a PersistentNodeDelete with the pattern uuid*, and let it delete in the background, while we retry later with a new uuid.
I haven't checked your code, but you probably have the same issue with leader election, or anywhere else you create ephemeral_sequential nodes.

I made this a general purpose feature of Curator. The Framework's create builder now has a withProtectedEphemeralSequential() mode.


Admin Integration broken: ContentType matching query does not exist.

Describe the bug
Hi,
Sorry if this is a user error on my side and I'm wasting your time, but I'm completely stuck at the moment to get the admin panel working.
I could easily install and integrate django-simple-history into my app:

the middleware kicks in OK
records are being made
I can access the logs from Django Shell

... but I can't get the Django Admin/History view to work.
To Reproduce
Steps to reproduce the behavior:

Go to http://<IP_ADDRESS>:8000/myapp/admin/ASD/asd/1/change/
Click on 'History in the top-right corner '
See error

Expected behavior
See the history of changes as shown in the documentation over here
Screenshots
N/A
Environment:

OS: Windows 10
Browser (if applicable): Firefox 65.0.2
Django Simple History Version: 2.7.0
Django Version: 2.1.5
Database Version: SQLite (development) | PostgreSQL (production - hadn't tested yet)

Additional context
django-simple-history works OK:
Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 13:35:33) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from ASD.models import ASD
>>> e = ASD.objects.get(pk=1)
>>> e.history.all()
<QuerySet [<HistoricalASD: John Appleseed (s12345) | 2019-03-20 as of 2019-03-02 17:15:22.610706+00:00>, <HistoricalASD: The Administrator (admin) | 2019-02-27 as of 2019-03-02 17:14:14.612195+00:00>]>

Traceback thrown on Django Admin/History view
(couple of applications have been removed for brevity and sensitive data have been obfuscated)
Environment:

Request Method: GET
Request URL: http://<IP_ADDRESS>:8000/myapp/admin/ASD/asd/1/history/

Django Version: 2.1.5
Python Version: 3.6.7
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'rest_framework',
 'simple_history',
 'ASD.apps.AsdConfig',
 'django_extensions']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'simple_history.middleware.HistoryRequestMiddleware']

Traceback:

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\contrib\contenttypes\models.py" in get_by_natural_key
  19.             ct = self._cache[self.db][(app_label, model)]

During handling of the above exception (('authsystem', 'user')), another exception occurred:

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\core\handlers\exception.py" in inner
  34.             response = get_response(request)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\core\handlers\base.py" in _get_response
  126.                 response = self.process_exception_by_middleware(e, request)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\core\handlers\base.py" in _get_response
  124.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\contrib\admin\options.py" in wrapper
  604.                 return self.admin_site.admin_view(view)(*args, **kwargs)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\utils\decorators.py" in _wrapped_view
  142.                     response = view_func(request, *args, **kwargs)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\views\decorators\cache.py" in _wrapped_view_func
  44.         response = view_func(request, *args, **kwargs)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\contrib\admin\sites.py" in inner
  223.             return view(request, *args, **kwargs)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\simple_history\admin.py" in history_view
  75.         content_type = ContentType.objects.get_by_natural_key(*USER_NATURAL_KEY)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\contrib\contenttypes\models.py" in get_by_natural_key
  21.             ct = self.get(app_label=app_label, model=model)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\db\models\manager.py" in manager_method
  82.                 return getattr(self.get_queryset(), name)(*args, **kwargs)

File "C:\Users\theriverman\.virtualenvs\myapp-back-1wJT2xkN\lib\site-packages\django\db\models\query.py" in get
  399.                 self.model._meta.object_name

Exception Type: DoesNotExist at /myapp/admin/ASD/asd/1/history/
Exception Value: ContentType matching query does not exist.

admin.py
from django.contrib import admin
from simple_history.admin import SimpleHistoryAdmin
from .models import ASD

class AsdHistoryAdmin(SimpleHistoryAdmin):
    list_display = ['id', 'subject', 'date', 'manager', 'is_closed']
    history_list_display = ['id']
    search_fields = ['id', 'subject']

admin.site.register(ASD, PddHistoryAdmin)

models.py
(Removed attribute arguments for brevity)
class ASD(models.Model):
    def get_tasks(self):
        return ASDSubTask.objects.filter(parent_asd=self)

    objects = models.Manager()

    # General Fields
    subject = models.ForeignKey(User, on_delete=models.CASCADE)
    manager = models.ForeignKey(User, on_delete=models.CASCADE)
    date = models.DateField()
    is_closed = models.BooleanField()
    description = models.TextField()
    quick_notes = models.CharField()
    followup_required = models.BooleanField()
    followup_date = models.DateField()
    tasks = property(get_tasks)

    # Misc.
    id = models.AutoField(primary_key=True, verbose_name="ID")
    date_created = models.DateTimeField(auto_now_add=True)
    date_modified = models.DateTimeField(auto_now=True)
    history = HistoricalRecords(verbose_name="ASD History")

Looks like you're not inheriting from SimpleHistoryAdmin on your admin page. Let me know if that's the issue

Looks like you're not inheriting from SimpleHistoryAdmin on your admin page. Let me know if that's the issue @theriverman

Hi @rossmechanic
I do inherit from SimpleHistoryAdmin or atleast I think so. If you have a look at my admin.py file (see in my original post) you can see I'm inheriting from there:
from simple_history.admin import SimpleHistoryAdmin
from .models import ASD

class AsdHistoryAdmin(SimpleHistoryAdmin):

Thanks!

@theriverman I tried it locally while mimicking your setup and was able to view history through the admin. If you can give me a sample app with the error, I can help debug from there.

I'll look into the possibilities of giving you a sample app - it's a private repository. In the meantime I've been playing around with my other models and they all fail at the very same part. When SimpleHistoryAdmin.history_view() gets to the point of assigning var content_type it fails with a 100% rate.
I can reproduce the issue in Django shell as well:
USER_NATURAL_KEY = ('authsystem', 'user')
from django.contrib.contenttypes.models import ContentType
content_type = ContentType.objects.get_by_natural_key(*USER_NATURAL_KEY)
----
django.contrib.contenttypes.models.ContentType.DoesNotExist: ContentType matching query does not exist.

At first I thought I'm implementing my User model incorrectly, but that's no the case. This request fails at all my models.
Traceback (most recent call last):
  File "C:\Users\theriverman\.virtualenvs\my-app-1wJT2xkN\lib\site-packages\django\contrib\contenttypes\models.py", line 19, in get_by_natural_key
    ct = self._cache[self.db][(app_label, model)]
KeyError: 'default'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\Users\theriverman\.virtualenvs\my-app-1wJT2xkN\lib\site-packages\django\contrib\contenttypes\models.py", line 21, in get_by_natural_key
    ct = self.get(app_label=app_label, model=model)
  File "C:\Users\theriverman\.virtualenvs\my-app-1wJT2xkN\lib\site-packages\django\db\models\manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "C:\Users\theriverman\.virtualenvs\my-app-1wJT2xkN\lib\site-packages\django\db\models\query.py", line 399, in get
    self.model._meta.object_name
django.contrib.contenttypes.models.ContentType.DoesNotExist: ContentType matching query does not exist.

One important additon, @rossmechanic
If I monkey-patch that faulty line, it seems to be working flawlessly (I need to do further tests, but this is not a future-proof solution):
from django.contrib.auth import get_user_model
# content_type = ContentType.objects.get_by_natural_key(*USER_NATURAL_KEY)
content_type = ContentType.objects.get_for_model(get_user_model())

Hi @theriverman. Weird – I see that you're using a custom user model, and it seems that that user model hasn't been registered in your content_type table, which is why the get_by_natural_key query fails. You can confirm this by going into your db and checking the django_content_type table to see that authsystem, user is missing.
Can't figure out why get_user_model() would work but USER_NATURAL_KEY wouldn't...

We're having the same Issue, have you found a better fix instead of monkey patching?

Sorry for the late reply, haven't had the time to check things, @rossmechanic .
I'm not questioning that the root cause of this issue has something to do with ContentTypes, but they seem fine to me:
(myApp-back)  ..\Python\myApp-back>py manage.py dbshell
Trying to import local.py...
SQLite version 3.22.0 2018-01-22 18:45:57
Enter ".help" for usage hints.
sqlite> .tables
AuthSystem_department
AuthSystem_groupcontact
AuthSystem_historicaldepartment
AuthSystem_historicalgroupcontact
AuthSystem_historicalrole
AuthSystem_historicalsite
AuthSystem_role
AuthSystem_site
AuthSystem_user
AuthSystem_user_groups
AuthSystem_user_user_permissions
Projects_customer
Projects_historicalcustomer
Projects_historicalmembership
Projects_historicalproject
Projects_membership
Projects_project
auth_group
auth_group_permissions
auth_permission
authtoken_token
django_admin_log
django_content_type
django_migrations
django_session
knox_authtoken
sqlite>

AuthSystem is where I have the logic for users, authentications, tokens, etc.. Therefore, my user model is AuthSystem.models.User which inherits from AbstractUser.
If I dump the ContentTypes via Django Shell, I get the same confirmation:
(myApp-back)  ..\Python\myApp-back>py manage.py shell
Trying to import local.py...
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.contrib.contenttypes.models import ContentType
>>> for ct in ContentType.objects.all():
...     print('Name', ct.name, '| Label', ct.app_label, '| Model', ct.model)
...
Name log entry | Label admin | Model logentry
Name permission | Label auth | Model permission
Name group | Label auth | Model group
Name content type | Label contenttypes | Model contenttype
Name session | Label sessions | Model session
Name Token | Label authtoken | Model token
Name auth token | Label knox | Model authtoken
Name Department | Label AuthSystem | Model department
Name Group Contact | Label AuthSystem | Model groupcontact
Name historical Department | Label AuthSystem | Model historicaldepartment
Name historical Group Contact | Label AuthSystem | Model historicalgroupcontact
Name historical Role | Label AuthSystem | Model historicalrole
Name historical Site | Label AuthSystem | Model historicalsite
Name Role | Label AuthSystem | Model role
Name Site | Label AuthSystem | Model site
Name User | Label AuthSystem | Model user
Name Customer | Label Projects | Model customer
Name historical Customer | Label Projects | Model historicalcustomer
Name historical Membership | Label Projects | Model historicalmembership
Name historical Project | Label Projects | Model historicalproject
Name Membership | Label Projects | Model membership
Name Project | Label Projects | Model project
>>>

Obviously, all my migrations are applied to the database:
(myApp-back)  ..\Python\myApp-back>py manage.py makemigrations
Trying to import local.py...
No changes detected

(myApp-back)  ..\Python\myApp-back>py manage.py migrate
Trying to import local.py...
Operations to perform:
  Apply all migrations: AuthSystem, Projects, admin, auth, authtoken, contenttypes, knox, sessions
Running migrations:
  No migrations to apply.

(myApp-back)  ..\Python\myApp-back>

If I'm testing/validating this in the wrong way, please give me hints/instructions!
Sadly no, @Timkemp1 -- still using the monkey-patched version.

I am having the Same problem.

I'm currently having the same problem. Is there a fix for this?

I've also encountered the same problem and the reason why is that I declare all of the Django apps my project with a mix of lowercase and uppercase letters and they get registered in ContentTypes with the name attribute on the apps config class, which is the same as the app's name. For example, If I declare an AuthApp with a custom user class named User and a config class such as:
class AuthappConfig(AppConfig):     default_auto_field = "django.db.models.BigAutoField"     name = "AuthApp"
the ContentType object created is app_label="AuthApp" and "model="user". So, the model name is lower case but not the app's name and django-simple-history defines the USER_NATURAL_KEY` by making both of names lowercase resulting in them not being found.

I'm facing the same issue.
Do we have any update on the fix?

I have 2 options to fix this currently:
1. Replace USER_NATURAL_KEY manually
Somewhere in your code, preferably in your AppConfig, add this:
from simple_history import admin
admin.USER_NATURAL_KEY = ("AuthApp", "user")

2. Define UserAdmin and override function
define UserAdmin(SimpleHistoryAdmin) and override the history_view(self, request, object_id, extra_context=None) method by replacing:
# content_type = self.content_type_model_cls.objects.get_by_natural_key(
#            *USER_NATURAL_KEY
#        )
content_type = self.content_type_model_cls.objects.get_for_model(get_user_model())

as suggested by @MAbdurrehman1 in his fork

Any plans to fix this?
Also I am curious, why is lower called when getting the USER_NATURAL_KEY? Isn't get_user_model more robust?

+1 for using get_user_model inside history_view on the admin to grab the content type for the User object. There are all the reasons to do it and I can't think of one reason not to


Fix the sourceClass in the services file

Motivation
SouceClass is wrong in the services file.

It is the root cause of the CI failure.
https://github.com/streamnative/pulsar-hub/pull/165

cherry-picked to the branch-2.8.3, branch-2.9.2, and branch 2.10.0


Update to Jupyter Packaging 10, adopt the releaser

Update to Jupyter Packaging 0.10
Adopt the Jupyter Releaser

https://mybinder.org/v2/gh/jtpio/jupyterlab-snippets/update?urlpath=lab/tree/binder/example.ipynb

Looks good on Binder:


Bluetooth: controller: Add Minimum Number of Used Channels Proc

Add implementation to support Bluetooth 5.0 Minimum Number
of Used Channels Procedure.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

This is required for qualification, hence marked as bug


Added update_medias, updated spec

If you retry the travis build it should succeed once it stops getting timeouts.
From my fork: https://travis-ci.org/OscarBarrett/zabbixapi/builds/50356982