Automated cherry pick of #1605: fix clone rbd image error

Cherry pick of #1605 on release/2.11.0.
#1605: fix clone rbd image error

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11.0@176b014). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release/2.11.0   #1610   +/-   ##
================================================
  Coverage                  ?   7.66%
================================================
  Files                     ?     411
  Lines                     ?   63033
  Branches                  ?       0
================================================
  Hits                      ?    4830
  Misses                    ?   57794
  Partials                  ?     409

Flag
Coverage Δ

#aFlag
7.66% <ø> (?)

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 176b014...30bf968. Read the comment docs.

/lgtm
/approve


use $GO env-var instead of hard-coded go binary

Signed-off-by: Lokesh Mandvekar<EMAIL_ADDRESS>@baude @mheon PTAL ... Since, there's already a GO envvar in the Makefile, it's best we switch to that wherever we use the go binary. It should also get rid of a command not found notice in https://travis-ci.org/lsm5/libpod/builds/381705630

LGTM

LGTM

@rh-atomic-bot r=TomSweeneyRedHat


'UpdatePolyDataPipeline" error while trying to build TubeTK with Slicer

Hello,
I am trying to build TubeTK with Slicer using Visual Studio 2013.  However, I am not able to successfully build due to the following 3 errors:

error C2039: 'UpdatePolyDataPipeline' : is not a member of 'vtkMRMLSpatialObjectsDisplayNode' [...\TubeTK-build\SlicerModules\SpatialObjectsModule\MRML\vtkSlicerSpatialObjectsModuleMRML.vcxproj]
File (in source files): ...\ITKTubeTK\SlicerModules\SpatialObjectsModule\MRML\vtkMRMLSpatialObjectsGlyphDisplayNode.cxx
Line: 97
Project: TubeTK

error C2039: 'UpdatePolyDataPipeline' : is not a member of 'vtkMRMLSpatialObjectsDisplayNode' [...\TubeTK-build\SlicerModules\SpatialObjectsModule\MRML\vtkSlicerSpatialObjectsModuleMRML.vcxproj]
File (in source files):
...\ITKTubeTK\SlicerModules\SpatialObjectsModule\MRML\vtkMRMLSpatialObjectsLineDisplayNode.cxx
Line: 89
Project: TubeTK

error C2039: 'UpdatePolyDataPipeline' : is not a member of 'vtkMRMLSpatialObjectsDisplayNode' [...\TubeTK-build\SlicerModules\SpatialObjectsModule\MRML\vtkSlicerSpatialObjectsModuleMRML.vcxproj]
File (in source files):
...\ITKTubeTK\SlicerModules\SpatialObjectsModule\MRML\vtkMRMLSpatialObjectsTubeDisplayNode.cxx	Line: 187
Project: TubeTK

For example, in vtkMRMLSpatialObjectsLineDisplayNode.cxx lines 82 - 89:
void vtkMRMLSpatialObjectsLineDisplayNode::UpdatePolyDataPipeline( void )
{
if( !this->GetInputPolyData() || !this->Visibility )
{
return;
}
this->Superclass::UpdatePolyDataPipeline();
Thanks,
~Elizabeth

Hi,
It seems like the API to Slicer has changed.  I will need to investigate.
What capabilities were you hoping to use from TubeTK?  Perhaps I can help
you use the command-line tools?   Regretfully, for visualizing
vessels/tubes, we will need to update TubeTK to match those changes in
Slicer.
Best regards,
Stephen
On Mon, May 8, 2017 at 8:10 PM, emckenzi123<EMAIL_ADDRESS>wrote:

Hello,
I am trying to build TubeTK with Slicer using Visual Studio 2013. However,
I am not able to successfully build due to the following 3 errors:

error C2039: 'UpdatePolyDataPipeline' : is not a member of '
vtkMRMLSpatialObjectsDisplayNode' [...\TubeTK-build\SlicerModules
SpatialObjectsModule\MRML\vtkSlicerSpatialObjectsModuleMRML.vcxproj]
File (in source files): ...\ITKTubeTK\SlicerModules
SpatialObjectsModule\MRML\vtkMRMLSpatialObjectsGlyphDisplayNode.cxx
Line: 97
Project: TubeTK

error C2039: 'UpdatePolyDataPipeline' : is not a member of '
vtkMRMLSpatialObjectsDisplayNode' [...\TubeTK-build\SlicerModules
SpatialObjectsModule\MRML\vtkSlicerSpatialObjectsModuleMRML.vcxproj]
File (in source files):
...\ITKTubeTK\SlicerModules\SpatialObjectsModule\MRML
vtkMRMLSpatialObjectsLineDisplayNode.cxx
Line: 89
Project: TubeTK

error C2039: 'UpdatePolyDataPipeline' : is not a member of '
vtkMRMLSpatialObjectsDisplayNode' [...\TubeTK-build\SlicerModules
SpatialObjectsModule\MRML\vtkSlicerSpatialObjectsModuleMRML.vcxproj]
File (in source files):
...\ITKTubeTK\SlicerModules\SpatialObjectsModule\MRML
vtkMRMLSpatialObjectsTubeDisplayNode.cxx Line: 187
Project: TubeTK
For example, in vtkMRMLSpatialObjectsLineDisplayNode.cxx lines 82 - 89:
void vtkMRMLSpatialObjectsLineDisplayNode::UpdatePolyDataPipeline( void )
{
if( !this->GetInputPolyData() || !this->Visibility )
{
return;
}
this->Superclass::UpdatePolyDataPipeline();
Thanks,
~Elizabeth
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KitwareMedical/ITKTubeTK/issues/921, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AARErwEwyFEbSgYG8eScqMEOclUcd87wks5r3675gaJpZM4NUpti
.

--
= Stephen R. Aylward, Ph.D.
= Senior Director of Operations, North Carolina, Kitware, Inc.
= http://www.kitware.com, http://www.aylward.org
= https://www.linkedin.com/in/stephenaylward
=<PHONE_NUMBER> x300

Has there been any resolution or workaround to this issue? I am currently encountering it when trying to build TubeTK with Slicer.
Thanks,
Brad

me too...


Add a makefile to make development build / run scenarios simpler

This makes it so that the instructions for building are simplified down to make build_poseidon or make build_docs and running is simplified to make run_poseidon or make run_docs. Also provided a make run_sh target for dropping into the container with a shell for adhoc debugging purposes.
This way people don't need to remember the specific docker invocation(s) required.

Codecov Report

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

@@          Coverage Diff           @@
##           master    #301   +/-   ##
======================================
  Coverage    73.4%   73.4%
======================================
  Files          22      22
  Lines        1098    1098
  Branches       91      91
======================================
  Hits          806     806
  Misses        275     275
  Partials       17      17

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 290405b...fbc8faf. Read the comment docs.

now I wont get to type as much..
Thanks for the suggestion.


adds ability to pass arbitrary url in opts for testing

In order to support testing SOAP calls against a mock server, it's helpful to be able to override the defined endpoint.  This PR adds the ability to pass in an endpoint as an option.

Thanks 🔥


Action: SaveScreenshot / CopyScreenshot

since the logic is already there (for debugging purposes initially), we can provide an input mapping to let the user create screenshots of the current terminal screen on the fly.

SaveScreenshot: takes a screenshot and saves it into a file with a given pattern
CopyScreenshot: takes a screenshot and puts it into the system clipboard, see https://doc.qt.io/qt-5/qclipboard.html#setImage

Connected to https://github.com/contour-terminal/contour/issues/210


Publish 2.2.0 to NPM

$ npm install<EMAIL_ADDRESS>npm ERR! Darwin 15.0.0
npm ERR! argv "/Users/zach/.nvm/versions/node/v5.4.1/bin/node" "/Users/zach/.nvm/versions/node/v5.4.1/bin/npm" "install"<EMAIL_ADDRESS>npm ERR! node v5.4.1
npm ERR! npm  v3.3.12
npm ERR! No compatible version found<EMAIL_ADDRESS>npm ERR! Valid install targets:
npm ERR! 2.0.0, 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/zach/code/app/frontend/npm-debug.log

Sorry forgot we don't have travis hooked up on this repo.

@osxi done

@arjansingh awesome!


Revert "Box buttons"

Added final buttons to box component

Something's funky with the triangle button's onClick function, doesn't work quite right.


test: writing/reading an IndexEntry is not exactly idempotent

Writing/reading an IndexEntry is not exactly idempotent, since we
do not store timezone/location for ModTime, deserialization will have
local time, which might differ from the input.
Example error:
----------------------------------------------------------------------
FAIL: index_test.go:47: IndexSuite.TestIndexEntryIdempotent

index_test.go:64:
    c.Assert(entry, DeepEquals, expected)
... obtained *siva.IndexEntry = &siva.IndexEntry{Header:siva.Header{Name:"foo", ModTime:time.Time{wall:0x2731e717, ext:63663979646, loc:(*time.Location)(0x6d8ae0)}, Mode:0x1a4, Flags:0x1}, Start:0x54, Size:0x2a, CRC32:0x1092, absStart:0x0}
... expected *siva.IndexEntry = &siva.IndexEntry{Header:siva.Header{Name:"foo", ModTime:time.Time{wall:0xbebe6f3fa731e717, ext:1210515, loc:(*time.Location)(0x6d8ae0)}, Mode:0x1a4, Flags:0x1}, Start:0x54, Size:0x2a, CRC32:0x1092, absStart:0x0}

OOPS: 27 passed, 1 FAILED
--- FAIL: Test (0.01s)
FAIL
FAIL	gopkg.in/src-d/go-siva.v1	0.015s

Signed-off-by: Santiago M. Mola<EMAIL_ADDRESS>

Not needed in current master.


update operator API for transport and storage.

update operator API according to today's discussion:

kafka to transport
postgresql to storage

Signed-off-by: morvencao<EMAIL_ADDRESS>

/lgtm


create_table_from_entity ignores max identifier length

Description
create_table_from_entity create a foreign key name, that can get quite long. In my case 69 characters. The maximum in MySQL is 64 characters.
Steps to Reproduce
Generate schema for a tables that reference each other and have quite long names. Like 20 characters.
Expected Behavior
Foreign key name might be trimmed to 64 characters. Or add a possibility to specify foreign key names.

Hey @cemoktra, thanks for the report! You can override name of the foreign key via one of

https://github.com/SeaQL/sea-orm/blob/b59f3c58deb04f70476a04263c14f9d21d9596ef/tests/common/features/active_enum_child.rs#L16-L25
https://github.com/SeaQL/sea-orm/blob/b59f3c58deb04f70476a04263c14f9d21d9596ef/src/entity/relation.rs#L170-L174

@billy1624 maybe we can make a compiler_error. What do you think?

Seems the maximum allowed length of index / foreign key name were 64 characters or no limit depending on the db backend.

For MySQL, MariaDB and PostgreSQL, it's 64 characters
No such limit for SQLite

I think we should throw a error / warning on SeaQuery side @ikrivosheev
Is it possible to throw a compiler error at compile time?

@billy1624 I will try to do this...

Thanks! @ikrivosheev

As I mentioned above you can override the generated foreign key name, https://github.com/SeaQL/sea-orm/issues/720#issuecomment-1125967188. And, @ikrivosheev, I don't think we can produce a error / warning for long foreign key name at compile time because the name isn't a constant that we can evaluate at compile time.

Actually, I think we can leave it as is. It might be a good idea for the linter, though. @kirawi

For MySQL, MariaDB and PostgreSQL, it's 64 characters
No such limit for SQLite

Hey everyone, would truncating the name of index/foreign key exceed those limit be a good idea? i.e. implementing the query writer in db dependent manner inside SeaQuery.

I don't think truncation is a correct behaviour. And if it becomes a runtime error, I guess not much value than it becoming a SQL error.


PHP 7.1: A non-numeric value encountered

Here is the ErrorException I get when running php-cs-fixer with PHP 7.1.0RC1 on a OSX environment:

[ErrorException]
A non-numeric value encountered

Command: php-cs-fixer fix -v
Config:
$header = <<<EOF
...
EOF;

Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);

return Symfony\CS\Config\Config::create()
    ->level('symfony')
    ->fixers([
        '-concat_without_spaces',
        '-phpdoc_short_description',
        '-pre_increment',
        'concat_with_spaces',
        'header_comment',
        'ordered_use',
        'phpdoc_order',
        'short_array_syntax',
        '-psr0'
    ])
    ->setUsingCache(true)
    ->finder(
        Symfony\CS\Finder\DefaultFinder::create()
            ->in('src')
    )
;

Stack trace:

() at /home/cs-fixer-php71/.composer/vendor/friendsofphp/php-cs-fixer/Symfony/CS/ConfigurationResolver.php:122
{closure}() at /home/cs-fixer-php71/.composer/vendor/friendsofphp/php-cs-fixer/Symfony/CS/ConfigurationResolver.php:122
Symfony\CS\ConfigurationResolver->resolveByLevel() at /home/cs-fixer-php71/.composer/vendor/friendsofphp/php-cs-fixer/Symfony/CS/ConfigurationResolver.php:84
Symfony\CS\ConfigurationResolver->resolve() at /home/cs-fixer-php71/.composer/vendor/friendsofphp/php-cs-fixer/Symfony/CS/Console/Command/FixCommand.php:362
Symfony\CS\Console\Command\FixCommand->execute() at /home/cs-fixer-php71/.composer/vendor/symfony/console/Command/Command.php:259
Symfony\Component\Console\Command\Command->run() at /home/cs-fixer-php71/.composer/vendor/symfony/console/Application.php:844
Symfony\Component\Console\Application->doRunCommand() at /home/cs-fixer-php71/.composer/vendor/symfony/console/Application.php:192
Symfony\Component\Console\Application->doRun() at /home/cs-fixer-php71/.composer/vendor/symfony/console/Application.php:123
Symfony\Component\Console\Application->run() at /home/cs-fixer-php71/.composer/vendor/friendsofphp/php-cs-fixer/php-cs-fixer:44

I'm using php-osx by liip, tested from two different machines.
Any clue?

Can you show us the stacktrace please?

Of course, sorry, trace added to the description.

Looks like a bug in symfony rather than this codebase. :)

Oh, wait. My bad.  :)

What version of php-cs-fixer are you using?

1.11.3

The bug is in your code. The string 'symfony' is not a valid level.

This has already been fixed in the latest 1.x version so that it throws a nicer exception to tell you that you messed up. Please upgrade to the latest 1.12.x.

Indeed, using FixerInterface::SYMFONY_LEVEL fixed it, don't ask me from where do this string level comes from.
Thank you for your support on my silly mistake

I love the discussion ! :D
so the initial message while going out, wanted to check it when I'll be back, and now between opening it and reading it it's already resolved ;)

, don't ask me from where do this string level comes from

it's valid CLI arg value


adds some basic support for archiving by language

for https://github.com/jekyll/jekyll-archives/issues/101
not sure when I'll get the time, but in reality would like to

make this more arbitrary and to be set in the config instead of hardcoded.
pair with https://github.com/jekyll/jekyll-feed/pull/176

I noticed jekyll-feed expects a lang key instead of language, will close this and open another that has parity with that project.


List of contributors/Reviewers and hall of fame

Establish a comprehensive list comprising the following categories:

Contributors:

List of names with corresponding issue contributions and brief descriptions
Contributors will be added upon review and approval of their pull requests

Reviewers:

Include all current and former contributors who have:

Conducted code reviews
Approved and merged pull requests

Requirement: Minimum of 20 approved pull requests

Gurus:

Contributors who have achieved:

40 or more approved pull requests
Core implementation membership during early development
Milestone contributions to the project

Purpose:
This list aims to recognize and document the valuable contributions of all developers involved in the Avatar BCI system implementation as an open-source project.

Got an up into the list of to do item: the issue now is reposted.


Bug Report: Games keeps crashing whenever playing a custom song

(i use 1.4.2 and i use windows 10)
so whenever i try to play a custom song thats fully charted and with all the inst and voices in the correct folders, the game just crashes, i also made sure every single name of the xml and the path is correct, and it is. anyone knows why and how to fix this?

Check the character, (if you have a custom one) the song name in the .JSON make sure it lines up with the song name in freeplaylist.txt and the folder holding the Inst a voices.

Check the character, (if you have a custom one) the song name in the .JSON make sure it lines up with the song name in freeplaylist.txt and the folder holding the Inst a voices.

all of it is correct

ok you know what switching versions if its still breaking ill reopen this issue lmao


feat: query cards & optimization

Description of Changes

add: cards for pending queries
mobile optimization
button to mark pending queries as answered (not functional)

Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

@anmode

@rishuraj1 merge conflicts

yes I am on it

@anmode  plz check now

ek last fix and this pR is complete then:
use this type of nav everywhere in dashboard:

for eg : here

@anmode  Its done, also did the required changes to the toggle button in sidebar..

Nah, toggle pr Purple i mean theme color...

@anmode  done


Output Image Bounding Box

I am facing this weird issue where if I save the plot in lines 80-89 from demo.py as an image, it outputs an image with bounding boxes in some cases, but with repeated execution it sometimes outputs images with the bounding boxes being extremely small (more like a dot). Is this expected?

Could you please clarify:

Did you change demo.py?
What do you mean by "repeated execution"? Running the python demo.py multiple times or?

I only added a line or two to demo.py, which is the part that saves the plot. It works fine now, but when I ran it yesterday, it outputted weird bounding boxes that are very small to the extent of looking like a dot for some reason. I cannot replicate the error right now, but all of my peers faced the same issue yesterday.
You are correct. Initially it was fine. After running the demo multiple times, it caused the issue described above.

Thanks for the quick response! I understand this is a weird issue, and I am confused too haha. I will look into the problem as well and update if I figure something out or if the problem is replicated.
In the meantime, let me know if you figure something out :)

You might have accidentally clicked on the image, which resulted in a very small bounding box, resulting in those tiny dot-like predictions. Try printing out exemplar bounding box width and height if this problem persists.

Ah, this probably isn't the case because I am not using the functions that draw bounding boxes (btw these don't work so well as well). Instead, I use custom coordinates that I got from using other software tools, which I am very sure the resulting coordinates are not as small as a dot.

The demo is designed for quick testing and is not the prettiest and ready for real usage :)  (you need to click and hold to draw the bounding box properly -- it works for many people who tested it).
It looks like you changed more than just saving the image. Unfortunately, I can't help with that.

I'll update if I face the error again :)
All code that I added to the file was downloading the images and inserting the coordinate values for "bounding_box" myself, in which case I don't have to draw the boxes on the image.


[doc] Symfony 4 docs

Added a doc page for using the doctrine extensions in a Symfony 4 project.

Thank you @Rubc, great start. 👍


NOISSUE - Fix logging in publish event callback

What does this do?
Replaces console.error from MQTT publish event callback with proper logging.
Which issue(s) does this PR fix/relate to?
There is no issue for this.

Codecov Report

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

@@          Coverage Diff           @@
##           master    #694   +/-   ##
======================================
  Coverage    86.3%   86.3%
======================================
  Files          62      62
  Lines        3723    3723
======================================
  Hits         3213    3213
  Misses        353     353
  Partials      157     157

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 5fcf0aa...7d9917b. Read the comment docs.


Static Analysis as a Ground Truth

How can we leverage types generated by mypy's stubgen for our type inference?
Is it even feasible to do this, or is it a waste of time?

mypy can infer the type of a variable if a value of an obvious type (f. ex. int, str) is assigned to it or the assigned function return value has a type hint. If it is not provided, mypy will infer any.
Source: https://mypy.readthedocs.io/en/stable/type_inference_and_annotations.html
Will conduct some further analysis whether mypy can infer function arguments and whether type inference of one variable can lead to inference of another.

To get the inferred types of variables using mypy, the functions reveal_type(any_variable) and reveal_locals are used (Gets the types of local variables). However, they are mypy-only and can not be executed using any python interpreter. This means that the command mypy python_files.py has to be executed and the functions reveal_type & reveal_locals have to be added in the file. Designing a script which appends these functions in the file is possible, but will require a lot of effort. This might be a waste of time as we also would have to develop a script to get the types of the variables.
Will now check the capabilities of mypy inference on sample files.

Check 1:
reveal_locals(), despite not being recognized by the python interpreter works by adding it within a function. To get the results, has to be before a return or a raise Error. Additionally, the indent level still has to be correct.
reveal_locals() will reveal the infered type of local variables and function arguments. It does not reveal types of self members nor function return values. It will also not reveal types of local variables defined after the reveal_locals statement.
According to the mypy documentation, the inference is never wrong as there is no randomness nor statistical machine learning involved (But the infered type might be set too broad (Any)). The reason that reveal_locals returns types is because the sample file contains type hints, which mypy uses to infer the type.
Note: The lines where the type is inferred is at the line where reveal_locals is called and not where the variables are defined (compared to the tracer).
Note 2: A script which parses the revealed type name to the actual type (in Python) might be necessary.

What can be noted is that mypy has the type narrowing feature: If an function argument is checked with isinstance for example, then mypy will infer that that argument is of that checked type. This additional data would be useful.

Issues which would be needed to integrate mypy inference assist with current tracer:

Append reveal_type & reveal_locals in any python file
Execution and collection of infered type
Collection converted into (trace-data similar) data (& Dropping of any)
Handling of special cases such as Union
Detection which data belongs to the corresponding trace data subset
Unification with trace data
(- Differences in %)

Estimated effort (2 - 3 Sprints/ 4 - 6 weeks)

Summary: The infered types are of the category Function Argument & Local Variable (No Class Members nor Function Return Value). The types are infered logically using existing type hints, type narrowing or just checking the directly assigned value if it is clear (a = 1 -> int). There is no statistics involved, so the infered types (except for inferred any) should be technically 100% correct. However, without any type hints, no useful inference data is generated.
Perhaps further research might change the current insights, but this is the following conclusion:

Yes, the mypy type inference is useful and help in discovering new possible types to infer.
However, the effort required to use the mypy inference as ground truth is too high (and the discovered insights might be rather few if the tests cover many cases).

-> Using mypy static type inference as ground truth is NOT recommended; gain is not worth it.


More robust last pk handling

Fixed this test from https://github.com/AnswerDotAI/fasthtml/issues/550:
from fasthtml.common import *

db = database(':memory:')
streets = db.t.streets

s = streets.lookup({'name': 'test3'})
print(s)

Maybe should be data['_rowid_'] as a backup option, instead of data['id']?

In my examinations, the dict doesn't include a _rowid_, however, id always exists. Therefore I have provided _rowid_ as the first backup option.
Am looking into how to ensure that _rowid_ is consistently returned.

I’d like to understand exactly what’s going on. Why is “id” always available? Normally in SQLite there is always a rowid.

I'm a bit stuck, the flow of the code is here. Trying to figure out where a transformation might be happening.
flowchart TD
    fl.lookup -->|_orig_lookup| sm.lookup --> fl.insert
    fl.insert -->|_orig_insert| sm.insert --> fl.insert_all
    fl.insert_all -->|_orig_insert_all| sm.insert_all


Find Sponsors

Description
In order to organise the financial means for the event, an essential pillar is to find sponsors for this event.
Use the sponsor packages defined in #9 as information for potential sponsors.
Additional information
Sponsorship Pipeline
We currently track potential sponsors here:
https://github.com/orgs/cloud-native-austria/projects/2
So please add any  potential sponor to this project.

We need 3 sponsors before opening the CFP

Current State:

3 Gold Sponsors
8 Silver Sponsors
5 Community Sponsors

=> https://github.com/orgs/cloud-native-austria/projects/2/views/2?layout=table&filterQuery=status%3A"Prepare+contract"%2CConfirmed%2C"All+parties+signed"%2C"Invoice+in+progress"%2C"Money+received"%2C"Social+media+announced"%2C"Artwork+received"%2C"Waiting+for+sponsor+to+sign"&sortedBy[direction]=asc&sortedBy[columnId]=50863446&groupedBy[columnId]=50863446

Last state:
3 Gold Sponsors
10 Silver Sponsors
6 Community Sponsors


Improve SCORM Component

This merges works for tasks:

#28 for https://trello.com/c/8EfZt5zx/
#29 for https://trello.com/c/Em7hMTRT/

This PR close #28 and close #29 when merged.
Related:

https://github.com/Learningtribes/platform/pull/1591
https://github.com/Learningtribes/triboo-theme/pull/609
https://github.com/Learningtribes/xblock-utils/pull/4

@riccardoferrara @tassadit-sadoun Let's test and renovate starting from here.
If there're changes to add, make a PR targeting sy-p-28-29 and we may inspect all changes here. The preceding PRs will be automatically close by Github when this PR is merged.


Error in examples

In Examples,
@StartingRowNumber and @FetchRows are wrongly used.
For example, in: B. Specifying variables for OFFSET and FETCH values
-- Specifying variables for OFFSET and FETCH values
DECLARE @StartingRowNumber tinyint = 1
, @FetchRows tinyint = 8;
SELECT DepartmentID, Name, GroupName
FROM HumanResources.Department
ORDER BY DepartmentID ASC
OFFSET @StartingRowNumber ROWS
FETCH NEXT @FetchRows ROWS ONLY;
This skips first row because of @StartingRowNumber is 1. whereas OFFSET needs number of records to skip. In this case, it skips 1 record.
Example could be written as:
-- Specifying variables for OFFSET and FETCH values
DECLARE @RowToSkip tinyint = 0
, @FetchRows tinyint = 8;
SELECT DepartmentID, Name, GroupName
FROM HumanResources.Department
ORDER BY DepartmentID ASC
OFFSET @RowToSkip ROWS
FETCH NEXT @FetchRows ROWS ONLY;

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

ID: 3e30064c-9e16-640d-19ce-4b62c4cee65b
Version Independent ID: 7f1a98a5-81c8-6b04-c216-ffdf81d31cce
Content: ORDER BY Clause (Transact-SQL) - SQL Server
Content Source: docs/t-sql/queries/select-order-by-clause-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @VanMSFT
Microsoft Alias: vanto

@tejasvih -- Tejasvi, thank you for your suggestion.  I am looking into this article.

@VanMSFT -- Van, please review private PR 14756.


How to use Custom Dataset?

I need to train this model on custom dataset. But when I try to give directory path it is not reading the images from the folder.

Hi,
To create a dataset of all files matching a pattern, you can use the following: "/path/*.png"
Using train.py:
python train.py --dataset_path="/path/*.png" --model_name='model'

Thankyou for a quick response. I tried this and now data seems to be loaded in train_datase but I have the following error:
File "/home/user/anaconda3/envs/Tensorflow_GAN/lib/python3.8/site-packages/spyder_kernels/py3compat.py", line 356, in compat_exec
exec(code, globals, locals)
File "/home/user/Downloads/Tensorflow_GAN/train.py", line 229, in
main()
File "/home/user/Downloads/Tensorflow_GAN/train.py", line 225, in main
run_training(args)
File "/home/user/Downloads/Tensorflow_GAN/train.py", line 189, in run_training
for image_batch in train_dataset:
TypeError: 'NoneType' object is not iterable

I'm not able to reproduce this issue.


[TECHDEBT][Consensus] Do not export any fields in the ConsensusModule struct implementation

Objective
Do not export any fields in the ConsensusModule struct implementation.
Origin Document
During the review process of #250, the following discussion came up in this thread.
The reason for this is due to the tests in pacemaker_test.go:
	for _, pocketNode := range pocketNodes {
		// utilityContext is only set on new rounds, which is skipped in this test
		utilityContext, err := pocketNode.GetBus().GetUtilityModule().NewContext(int64(testHeight))
		require.NoError(t, err)

		consensusModImpl := GetConsensusModImplementation(pocketNode)
		consensusModImpl.FieldByName("Height").SetUint(testHeight)
		consensusModImpl.FieldByName("Step").SetInt(testStep)
		consensusModImpl.FieldByName("LeaderId").Set(reflect.Zero(reflect.TypeOf(&leaderId))) // This is re-elected during paceMaker catchup
		consensusModImpl.FieldByName("UtilityContext").Set(reflect.ValueOf(utilityContext))
	}

As of PR #250, the only fields that remain exported are:

Height
Round
Step
Block
UtilityContext

Goals

Make all fields in the `ConsensusModule struct lowercased (i.e. internal to the consensus package)
Remove the dependency on reflections in pacemaker unit tests

Deliverable

[ ] A Pull Request that meets the goals above

Non-goals / Non-deliverables

Developing a new type of testing framework
Modifying any consensus-related business logic

General issue deliverables

[ ] Update the appropriate CHANGELOG
[ ] Update any relevant READMEs (local and/or global)
[ ] Update any relevant global documentation & references
[ ] If applicable, update the source code tree explanation
[ ] If applicable, add or update a state, sequence or flowchart diagram using mermaid

Testing Methodology

All tests: make test_all
LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md

Creator: @Olshansk
Co-Owners: ???

Note that one of the solutions described in https://github.com/pokt-network/pocket/pull/250#discussion_r982346486 worked by creating setters for fields that we should not export. Given that this is only used for testing, a better approach should be investigated.


Cannot hide total simply on a KPI chart

It is not possible to hide total without doing the following manipulation ? Is it possible to improve this workflow ?

If you right click on the first cell of the pivot table, you can "Hide/Show grand total row". Then when you switch to a chart the grand total is hidden. You need to go back to the pivot table view to toggle this back.

Internal slack discussion : https://activeviam.slack.com/archives/C64SQ7A4C/p1624450834121500

Internal ticket https://support.activeviam.com/jira/browse/UI-6102

Internal ticket https://support.activeviam.com/jira/browse/UI-6103


Configuration rewritten after package update

Gogs configuration completely rewritten after standard update of installed packages (apt-get upgrade). All URLs redirected again to the initial "/install" URL and the setup page was public without warning to all people on the production site long time.
My configuration use the username "git" that is recommended on Configuration Cheat Sheet. The configuration file /etc/gogs/conf/app.ini was readable only by user "git" due to passwords protection.

Version numbers before and after update are very similar: gogs:amd64
from 0.9.13-1461606557.7049cb9.jessie  to 0.9.13-1462579758.3c0c7a9.jessie
It was the first "apt-get upgrade" after Gogs package installation.
Operating system: Debian 8
syslog message (the only relevant message from all logs):
... gogs-web-1.service[...]: 2016/05/10 10:58:27 [W] Custom config '/etc/gogs/conf/app.ini' not found, ignore this if you're running first time.
The custom config  "/etc/gogs/conf/app.ini" and the directory "/etc/gogs" was originally writable only by git user and readable by git group, not accessible by other users. The user "gogs" was completely renamed to "git".

After package update and restarted services:
The new username and group "gogs" was created by update, the new "/home/gogs" directory beside "/home/git" created again, rewritten "/etc/gogs/conf/app.ini", changed ownership of /opt/gogs etc. The worst was the redirect to unprotected page "/install". (Fortunately I didn't lost any data  and the fix was relatively easy finally, but it was a very dark time.)
I think that more conditions should be tested to recognize a possible running production server, before possible overwriting. The page "/install" should be never redirected automatically if a customized configuration exists and is strange for you.
The recommended configuration with username "git" is nice and I like it in the usual SSH url<EMAIL_ADDRESS>

is this installed from packager.io?

Yes, gogs is added by the line deb https://deb.packager.io/gh/pkgr/gogs jessie pkgr.

I think you should file bug to packager.io...


Not handling MemberJoined and MemberUp cluster events

ConstructR subscribes to the Akka cluster events MemberJoined and MemberUp in the intoJoiningHandler function, but does not handle these events when there are coming from a different cluster node: https://github.com/hseeberger/constructr/blob/master/constructr-akka/src/main/scala/de/heikoseeberger/constructr/akka/Constructr.scala#L42
As a result, warnings are written to the log when a MemberJoined or MemberUp event from another cluster node is received:
2016-08-25T14:27:59Z MacBook-Pro-6.local INFO  Cluster(akka://conductr) [sourceThread=conductr-akka.actor.default-dispatcher-19, akkaSource=akka.cluster.Cluster(akka://conductr), sourceActorSystem=conductr, akkaTimestamp=14:27:59.191UTC] - Cluster Node [akka.tcp://conductr@<IP_ADDRESS>:9024] - Welcome from [akka.tcp://conductr@<IP_ADDRESS>:9014]
2016-08-25T14:27:59Z MacBook-Pro-6.local WARN  ConstructrMachine [sourceThread=conductr-akka.actor.default-dispatcher-13, akkaSource=akka.tcp://conductr@<IP_ADDRESS>:9024/user/reaper/constructr/constructr-machine, sourceActorSystem=conductr, akkaTimestamp=14:27:59.383UTC] - unhandled event MemberJoined(Member(address = akka.tcp://conductr@<IP_ADDRESS>:9054, status = Joining)) in state AddingSelf
2016-08-25T14:27:59Z MacBook-Pro-6.local WARN  ConstructrMachine [sourceThread=conductr-akka.actor.default-dispatcher-13, akkaTimestamp=14:27:59.384UTC, akkaSource=akka.tcp://conductr@<IP_ADDRESS>:9024/user/reaper/constructr/constructr-machine, sourceActorSystem=conductr] - unhandled event MemberUp(Member(address = akka.tcp://conductr@<IP_ADDRESS>:9014, status = Up)) in state AddingSelf
2016-08-25T14:27:59Z MacBook-Pro-6.local WARN  ConstructrMachine [sourceThread=conductr-akka.actor.default-dispatcher-13, akkaTimestamp=14:27:59.384UTC, akkaSource=akka.tcp://conductr@<IP_ADDRESS>:9024/user/reaper/constructr/constructr-machine, sourceActorSystem=conductr] - unhandled event MemberJoined(Member(address = akka.tcp://conductr@<IP_ADDRESS>:9034, status = Joining)) in state AddingSelf

This issue does not compromise ConstructR functionality, but a fix should be made to not print those warnings to the log.

Funny, just yesterday I noticed that some events are subscribed to, but not used. I think we can remove the respective subscriptions. PR welcome ;-)

Here is a PR that fixes this situation: https://github.com/hseeberger/constructr/pull/122
I've realized that the MemberJoined and MemberUp events are indeed handled by ConstructR in the Joining state. Also, after leaving the Joining state, ConstructR unsubscribes to these events. However, as shown above it is possible that it still receives these events in the AddingSelf state. I guess this is due to a raise condition of Akka unsubscribe acknowledgement and already switched to the AddingSelf state.


Terminals appear briefly when a VS Code window is restored

Testing #131278

create a few new terminals side by side in the editor area
close VS Code
start VS Code

Observe:
when the VS Code window opens, the terminals become visible for a brief moment and then disappear.

This is irritating:
Why are they persisted if they are immediately closed?
If terminals are ephemeral, then there is no reason to persist them.

This is fixed


Changed box-solid to box-primary throughout

This change is for consistency with the first batch of updates
that have already been done.

Codecov Report

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

@@           Coverage Diff            @@
##             master    #491   +/-   ##
========================================
  Coverage      30.4%   30.4%
  Complexity      856     856
========================================
  Files            80      80
  Lines          2914    2914
========================================
  Hits            886     886
  Misses         2028    2028

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 3a6397e...0b794ec. Read the comment docs.


Feat: Honeybadger adaptor

What it does
Fixes #4212
Miscellaneous Changes

[x] Changed raw links to the proper markdown page of Contributing and Code of Conduct  hyperlinks in add-logger-adaptor.md
[x] Minor typo errors

Testing
Manual Testing
Have you read the contributing guidelines?
Always 😉

The test fails due to the unavailability of the honeybadger API key🙂

Thank you so much for the PR 🤩. We're adding the hacktoberfest-accepted label to ensure this PR counts towards your Hacktoberfest contributions count. With that said, please stay active on this PR to address any comments once you receive a review. Happy Hacktoberfest! 🎃

@2002Bishwajeet please address the commetns

Sample generated from test case:

@stnguyen90 , I did some work on #24. Request for re-review

@2002Bishwajeet thanks a lot for your contributions during Hacktoberfest 2022! Please address fix the failing tests so we can move forward with this.
Meanwhile you can reach out to me on our Discord server if you would like to claim your Appwrite swags! As a way of saying thank you, we would also love to invite you to join the Appwrite organization on GitHub. Please share your GitHub username with us on Discord.

Also while running static code analysis, I get this
Checks took 2.54 seconds and used 154.024MB of memory
Psalm was unable to infer types in the codebase

Not sure if it means success or not


Make notebook run

Addmm doesn't behave correctly. Put and example into notebook so ppl could pick up

Great job sir!! - i see you caught a bug in admm too - looks great!


Bump omero-prometheus-exporter role to 0.1.1

Fixes https://trello.com/c/lLxHorjS/64-prom-exporter-unicodedecodeerror

Rebased and deployed against pub-omero using site.yml. The omero monitor is now working: https://monitoring.openmicroscopy.org/prometheus-ome/graph?g0.range_input=1h&g0.expr=omero_sessions_active{instance%3D"pub-omero.openmicroscopy.org"}&g0.tab=0

Looks good. Should we get this merged and deploy it against all production servers or is there anything else to review here?

I think it's fine to deploy site-wide


Pin "Run/ Debug" words above the code

Hi,
There's a way to pin the words "run/ debug" above the code on the use cases? My code keeps jumping and it's a little annoying.

Thanks,

Just had this too. It seems to remove the "Run | Debug" whenever there is a linting error. And a linting error happens during normal typing so the page is constantly jumping. Very annoying.
Can the "Run | Debug" just always be there? Regardless of errors.

should be fixed in v0.4.35.
please re-open if your issue persists.

Can we reopen this? it's still happening on v0.4.44

Seems to be happening again with v0.4.47

Reverting to 0.4.35 works.
Can we re-open this issue?

Is still an issue in 0.4.47 can confirm.

Reverting to 0.4.37 did not work for me.

Is there any workaround for this? It's basically unusable to have it enabled while editing tests.

It is much more than mildly annoying when you're starting from a blank test template. It would be great to maybe only re-render on save or something, if it's not possible to fix. It seems like you might also be able to avoid re-renders when the file is not "parseable".
fwiw, I've seen the same issue in the Python testing suite and believe they offer a setting to only run render on save to help.


OVERLAPBLOCK (DESIGN 12)

Overlapblock (design 12)
Design a overlap block that looks like the button in this image...
Create a file "OVERLAP_DESIGN_12.html" in the modules/overlapblock folder.
Use simple HTML and CSS and JAVASCRIPT to create the overlapblock. You can use the interface development https://kwickerhub.com (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "OVERLAP_DESIGN_12.html" in the "modules/overlapblock" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder  ••
"modules/overlapblock/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Make you Pull Request...
Good-luck.

Hi sir,
i want to solve this issue,please assign me this for the social summer of code

@Aditya00-7 you have been assigned


[Feature] ability to output dashboard/alerts configuration

Is your feature request related to a problem? Please describe
I used this tool very successfully for migrating workspaces, though during the process, I also realized that we don't currently store any "backups" of our dashboard/alert configuration. I've used other OSS tooling for dealing with dashboards in an automated way, but nothing is as slick as this one, so I was thinking about modelling something on it to get us an output of our entire workspace configuration...but if there's a way to do it in this tool, then that would be even better.
It's highly likely this isn't appropriate for the nature of this project, but I thought I'd ask anyway. 😸
Describe the solution you'd like
I'd love a secondary command to output to a local directory the configuration of our dashboards and alerts. Something like:
amazon-managed-grafana-migrator output \
    --src g-abcdef1234.grafana-workspace.eu-central-1.amazonaws.com \
    --folder workspace-backup

and I suppose that would be even more useful if there were some way to configure dashboards/alerts in a fresh workspace based on local configuration (but now this is serious scope creep 😆 )
Describe alternatives you've considered
I've considered using other tooling like https://github.com/Beam-Connectivity/grafana-dashboard-manager, but that doesn't seem to support alerts, and it's also not as smooth of a DX as this tool.
I've also considered just rolling my own, probably heavily based on the implementation here, because there are lots of nice things about it (progress in the terminal, temporary credentials, handles both dashboards and alerts).
Additional context
As I mentioned, I'm expecting this request won't be appropriate for this particular project, since it's only titled "amazon-managed-grafana-migrator", but no harm in asking. I'd even be willing to submit a PR myself, though I'm definitely by no means an expert Go developer.
Thanks again for this super cool tool...it saved me a lot of time 👍

oh cool! I'll definitely check that out. Thanks 🙇

Will close this for now and let's see if we can revisit in the future


Added ability to access the underlying AVCaptureDevice and added isAdjustingX properties.

Not sure if this is what you meant, but I added access to the capture device and added the "adjustingFocus"/"adjustingExposure"/"adjustingWhiteBalance" properties.

Thanks for the pull request that's a good contribution. I am looking at it.
Just a question, why put ` ?
if let `captureDevice` = captureDevice {

just to avoid the need for another variable name, I'll change it if you prefer a null check and force unwrap.

@eyaldar no no, it's good, I didn't know that. Thanks for the trick. 👍

tested and approved ! 🎉
Thank you @eyaldar for your contribution.


Add GH action CI job to enable CodeCov

Enable Code Coverage for the repo
Add CI job for Code Coverage
Post this change CodeCov will post a comment about Code Cov status on the PR

Look like code cov will start working once this changes will merged in default branch

Once merged to your default branch, subsequent pull requests will have Codecov checks and comments. Additionally, you’ll find your repo coverage dashboard here. If you have merged, try reloading the page.


MInimize maximize window

Issue Type: Bug
The minimize maximize button does not work or when it works it doestn work as expected
VS Code version: Code 1.40.0 (86405ea23e3937316009fc27c9361deee66ffbf5, 2019-11-06T17:02:13.381Z)
OS version: Windows_NT x64 10.0.18362

Possible duplicate of #81102

/duplicate https://github.com/microsoft/vscode/issues/84343

Please follow the other issue for updates, thanks!


[Bug]: appsettings.Development.json doesn't ignore on git

Contact Details
<EMAIL_ADDRESS>What happened?

Version
7.0
What platforms are you seeing the problem on?
Windows
Relevant log output
No response
Code of Conduct

[X] I agree to respect and follow this project's rules

Done PR


Select2 breaks when Firebug opened

Select2 control stops working when I open the Firebug panel in Firefox Nightly 34. The problem exists since few versions, so it may become serious when nightly goes into stable release.

The issue opened Aug, 2014 but no solution ... it still happening ...

Issue is stil unresolved in v4.0.1 and v4.0.2.

on windows machine FF 45.0.2 installation it's ok,
on linux with FF 45.0.1 and all extensions disabled is not, no output on console.
Strange thing is that examples are working fine.

I was able to narrow this issue down to the use of the "firequery" plugin for firebug.

Does anyone see this issue without the "firequery" plugin?

yeah, we have this issue without firequery plugin installed and with disabled all FF extensions


Implement OTU profiles

Operational Taxonomic Units (or OTUs) will be mostly analyzed with their profiles (counts or transformed counts). Two models (tables) will store information associated with OTU profiles:

OTUProfileMethod - unit (e.g., raw counts or cpm), method used to generate values, study (in CoNekT Grasses Microbiome, a study is defined by admins and corresponds to the set of samples/runs used in downstream analyses and that will be exploited by end users), information about any applied filtering steps etc.
OTUProfile - linked to method (above), consists of values and their associated sequencing runs

UPDATES: initial version of OTU profiles were successfully implemented. Currently, it is possible to compute correlations between genes/transcripts and corresponding OTUs (matrix with runs derived from the sample samples from where transcriptome data derives).


Reconnect issue

I have referenced the example in the docs. How can I manually reconnect the web socket from my controller while modifying the query string value of the web socket?

as far as i can see, you need to recreate a new socket if you want to change the url. if you just want to reconnect, there is a reconnect() function


Add tests for iterable

We should add more tests related to iterating over promise, promise.stdout and promise.stderr. We might also want to check out the code and tests in Execa for anything useful missing.

Done. :+1:


Add make scf-precond to check k8s cluster

Performs kube-ready-state-check.sh kube only, not all, as we cannot have
access to the physical nodes.

Maybe scf-check or even check? (precond sounds arcane! :smile: )

True! Changed it to scf-precheck, for people that don't know about scf I think it may be more fitting that make check which may sound like running tests against an already deployed scf.
Apart from updating the wiki, I would like to have an scf target that completely prechecks, gets charts, deploys, etc. But that would mean that pipelines would need to be changed.


Chef failed to install Docker when using attribute default['docker']['version']

Description

Chef failed to execute docker installation recipe when using default['docker']['version'] attribute.
Chef Version

chef_version=14.2.0
ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
program_name=/opt/chef/bin/chef-apply
executable=/opt/chef/bin/chef-apply

Platform Version

platform=centos
platform_version=7.4.1708
Replication Case

I have a recipe for installing particular version of docker. I specified the version of docker through attribute. I just used the attribute node.default['docker']['version'] = '1.12.6-1.el7.centos' , but the recipe failed.
It executed successfully when I used any attribute other than default['docker']['version'] say  node.default['docker']['xyz'] = '1.12.6-1.el7.centos'
Can anyone know why it failed when using default['docker']['version']
[root@master01 package]# cat  _docker.rb
node.default['docker']['version'] = '1.12.6-1.el7.centos'
package "lvm2"
package "device-mapper-persistent-data"
directory "/var/lib/docker"
directory "/etc/docker" do
owner "root"
group "root"
mode "0744"
action :create
recursive true
end
package 'docker-engine' do
version node['docker']['version']
allow_downgrade true
end
service "docker" do
action :enable
end
Below,  I used attribute node.default['docker']['xyz'] = '1.12.6-1.el7.centos' and chef successfully ran the recipe.
[root@master01 package]# cat  _docker.rb
node.default['docker']['xyz'] = '1.12.6-1.el7.centos'
package 'docker-engine' do
version node['docker']['xyz']
allow_downgrade true
end
[root@master01 package]# /opt/chef/bin/chef-apply  _docker.rb
Recipe: (chef-apply cookbook)::(chef-apply recipe)
  * yum_package[lvm2] action install (up to date)
  * yum_package[device-mapper-persistent-data] action install (up to date)
  * directory[/var/lib/docker] action create (up to date)
  * directory[/etc/docker] action create (up to date)
  * yum_package[docker-engine] action install
    - install version 1.12.6-1.el7.centos of package docker-engine

Client Output

[root@master01 package]# /opt/chef/bin/chef-apply  _docker.rb
Recipe: (chef-apply cookbook)::(chef-apply recipe)
  * yum_package[lvm2] action install (up to date)
  * yum_package[device-mapper-persistent-data] action install (up to date)
  * directory[/var/lib/docker] action create (up to date)
  * directory[/etc/docker] action create (up to date)
  * yum_package[docker-engine] action install
    * No candidate version available for docker-engine
    ================================================================================
    Error executing action `install` on resource 'yum_package[docker-engine]'
    ================================================================================

    Chef::Exceptions::Package
    -------------------------
    No candidate version available for docker-engine

    Resource Declaration:
    ---------------------
    # In _docker.rb

     16: package 'docker-engine' do
     17:         version node['docker']['version']
     18: #        version node['docker']['version']
     19:         allow_downgrade true
     20: end
     21:

    Compiled Resource:
    ------------------
    # Declared in _docker.rb:16:in `run_chef_recipe'

    yum_package("docker-engine") do
      package_name "docker-engine"
      action [:install]
      default_guard_interpreter :default
      declared_type :package
      cookbook_name "(chef-apply cookbook)"
      recipe_name "(chef-apply recipe)"
      version "17.03.2"
      allow_downgrade true
    end

    System Info:
    ------------
    chef_version=14.2.0
    platform=centos
    platform_version=7.4.1708
    ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
    program_name=/opt/chef/bin/chef-apply
    executable=/opt/chef/bin/chef-apply

[2018-07-05T07:40:49+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2018-07-05T07:40:49+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-07-05T07:40:49+00:00] FATAL: Chef::Exceptions::Package: yum_package[docker-engine] ((chef-apply cookbook)::(chef-apply recipe) line 16) had an error: Chef::Exceptions::Package: No candidate version available for docker-engine

Stacktrace

stacktrace.txt

Try changing the property to lazy { node['docker']['version'] }

Thanks for filing a GitHub Issue.
At Chef, we use GitHub Issues to track bugs and feature requests. Questions like "How do I .... with Chef?" are better answered by our awesome community on the Chef mailing lists, or on StackOverflow. (Please pick only one place to ask your question, however, as it's considered impolite to post the same question to multiple forums.)
You can find information about joining and asking questions on our mailing lists here. On StackOverflow, please tag your question with the "chef" label so that it shows up in this list.
We will be closing your issue. Please get in touch with the community via the above mechanisms in order to find a solution to your problem.


download v0.5 from homepages contains v4.0

https://s3.amazonaws.com/gitlist/gitlist-0.5.0.tar.gz leads to v0.4.0

urm, yeah. i just now checked which version i've downloaded last year (august 26). the downloaded package is named 0.5.0 but the branding at the button of the website says 0.4.0...

It is the 0.5v but there was a bug where it would list the old version number in the footer. Has been fixed in master.


Spanish translation tracking

English
Description

This issue is for tracking the translation progress of all pages.
This issue will be closed when the documentation is finished.

I want to collaborate

Being a translator

Read how to contribute in translations
Translate with your native-speaker level, DO NOT just copy the section to some translator tool and paste back the result
Take one untranslated page, translate and create PR from your fork to the main project. One PR for page, to better split in parallel the work and less tired reviews

Being a reviewer

Find the PR's created for translations and review them. Add all notes that you consider.

Note
Words related to methods, function names, variables... mustn't be translated. Here are some examples:

bot
update
keyboard / inline keyboard
webhook
payload
... (feel free to add more, but make sense)

Español
Descripción

Esta issue es para rastrear el progreso de traducción de todas las páginas.
Está issue será cerrada cuando la documentación este completada.

Me gustaría colaborar

Como traductor

Leéte como contribuir en las traducciones
Traduce con tu nivel nativo, NO simplemente copies el contenido en una herramienta de traducción y pegues el resultado
Escoge una página no traducida, traducela y crea un PR desde el fork del projecto al projecto principal. Un PR por página, para favorecer la parallelización del trabajo y reducir el cansancio de la revisión.

Como validador

Encuentra un PR creado de traducciones y revisalo. Añade todos los comentarios que consideres.

Nota
Palabras relativas a métodos, nombres de funciones, variables... no se traducen. Aquí algunos ejemplos:

bot
update
keyboard / inline keyboard
webhook
payload
... (añade más si consideras, pero con sentido común)

Readme

[ ] README.md -> #141

Advanced

[ ] deployment.md -> #149
[ ] flood.md -> #172
[ ] middleware.md -> #176
[ ] proxy.md -> #177
[ ] README.md -> #179
[ ] reliability.md -> #178
[ ] scaling.md -> #180
[ ] structuring.md -> #181
[ ] transformers.md -> #182

Demo

[ ] examples.md -> #184
[ ] README.md -> #185

Guide

[ ] api.md -> #186
[ ] basics.md -> #187
[ ] commands.md -> #188
[ ] context.md -> #189
[ ] deployment-types.md -> #190
[ ] errors.md -> #195
[ ] files.md -> #199
[ ] filter-queries.md ->  #200
[ ] games.md -> #202
[ ] getting-started.md -> #203
[ ] inline-queries.md -> #204
[ ] introduction.md -> #211
[ ] middleware.md -> #212
[ ] README.md -> #213

Hosting

[ ] deno-deploy.md -> #231
[ ] gcf.md -> #232
[ ] heroku.md -> #235

Plugins

[ ] auto-retry.md -> #236
[ ] command-filter.md -> #237
[ ] console-time.md -> #238
[ ] files.md -> #239
[ ] hydratate.md -> #240
[ ] i18n.md -> #244
[ ] keyboard.md -> #253
[ ] menu.md -> #254
[ ] parse-mode.md -> #255
[ ] ratelimiter.md -> #256
[ ] README.md -> #257
[ ] router.md -> #258
[ ] runner.md -> #259
[ ] session.md -> #260
[ ] stateless-question.md -> #261
[ ] transformer-throttler.md -> #262

Resources

[ ] comparison.md -> #263
[ ] faq.md -> #264

I will have to buy more build minutes on Netlify if every change to the site causes three articles to be updated. Or maybe we can trigger deploy previews manually, I will investigate this. cc @WingLim

See #135

See #142

UwU ✨

Wouldn’t it be better if the tasks were like
- [ ] #141
- [ ] #142

I mean doing that for the open PRs only.

@habemuscode it's sad to see the translations stalling :(
You put a lot of effort into this, I'm surprised that no one is volunteering to review your work. It's slowly getting out of sync, I'm not sure if anyone still has an overview over which things are up to date.
@habemuscode @roj1512 what's your take on how we should proceed from here so that we don't eventually need to close all PQs unmerged?

@habemuscode Let’s give him some time (max 5 days) to respond to this.

@KnorpelSenf Let’s give him some time (max 5 days) to respond to this.

@habemuscode We’re unhappy to know the fact that you have left us for a while now.
We’ve decided to close the Spanish translation PRs, along with this tracker.
We would also like you to know that this action does not mean that all your efforts will be gone. It is more of a recognition of the inactievness of the Spanish translation process.
None of your branches will be touched, either, so they can be used again, reviewed, or at least taken as a reference if the process started again someday.

@habemuscode https://github.com/grammyjs/website/blob/feat/spanish-translations/site/docs/es/guide/middleware.md is outdated, too. It is missing some examples.

@roj1512 New PR for es/guide/middleware added created, updated and added here to be tracked.

@habemuscode Do you think you should have the headings (#) in Title Case?

@habemuscode Here are the new pages, in case you need them:

resources

resources/about.md

hosting

hosting/vps.md

plugins
- plugins/emoji.md
- plugins/fluent.md
- plugins/guide.md
- plugins/middlewares.md

@habemuscode Here are the new pages, in case you need them:
* resources

  * resources/about.md

* hosting

  * hosting/vps.md

* plugins

  * plugins/emoji.md
  * plugins/fluent.md
  * plugins/guide.md
  * plugins/middlewares.md

Thanks, created new PRs!

Is there a pull request to translate the navigation bar yet?

Nope, that things included config, etc. will be after pushed in the PR of feat/spanish-translations, so we can check everything works. At least, is my plan, but tell me suggestions :)

How do you check if everything works if there is not a good way to navigate?

@habemuscode I created #351 so that it will be easier for you to configure things correctly. Now you can focus on the actual translations, rather than the configuration file format.

A little suggestion to add the following key selectLanguageText to Spanish.

A little suggestion to add the following key to Spanish. https://github.com/grammyjs/website/blob/9d8b017e8ebd2ec77a4a9a684efe42e355a4bcc4/site/docs/.vuepress/config.ts#L716

Good idea! /cc @habemuscode

I discovered most of the anchor links are broken on the Spanish pages. I think we should review all the pages once again.


ImportError

Traceback (most recent call last):
File "train.py", line 13, in
from mmdet.apis import set_random_seed, train_detector
File "/root/models/mmdetection/mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/root/models/mmdetection/mmdet/apis/inference.py", line 6, in
from mmcv.ops import RoIAlign, RoIPool
File "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/mmcv/ops/init.py", line 1, in
from .bbox import bbox_overlaps
File "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/mmcv/ops/bbox.py", line 3, in
ext_module = ext_loader.load_ext('_ext', ['bbox_overlaps'])
File "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/mmcv/utils/ext_loader.py", line 10, in load_ext
ext = importlib.import_module('mmcv.' + name)
File "/root/anaconda3/envs/pytorch/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /root/anaconda3/envs/pytorch/lib/python3.7/site-packages/mmcv/_ext.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceISt7complexIdEEEPKNS_6detail12TypeMetaDataEv

I have this problem too, have solved it? Thanks!!

Please follow the Error report issue template.


API for monitoring Docker events

Does this client provide an API to monitor docker events? If not, I think we could do an efficient implementation with disruptor, where the user supplies the client with an event handler and on receiving an event from docker the client invokes the hander.

It doesn't have support for events but we'd definitely be open to a pull request :)

@davidxia Sounds good, let me see if i can pull some time out to look into this.
Do you guys have an API that you would prefer for this? I guess we should talk about that first.

@diptanu Do you mean which Docker API version you should use?

@diptanu Is this still an issue or can I close it?

closing due to inactivity. We can reopen if necessary.


Update doc links in UI

Description:
Update the doc links referred from the UI to 2.2.0 docs
Suggested Labels:
2.2.0, Type/Bug, Type/UX
Suggested Assignees:
Affected Product Version:
2.2.0
OS, DB, other environment details and versions:
Steps to reproduce:

Log in to API Publisher before configuring Analytics and click on one of the Analytics options. The doc link leads to 2.1.0 docs.

Log in to API Store before configuring Analytics and click on one of the Analytics options. The doc link leads to 2.1.0 docs.

In the API Publisher, choose to edit an API and click the Manage tab. Under the Advanced Throttling Policies section, there's a doc link for throttling. This leads to the 2.1.0 docs.

Related Issues:
N/A

fixed in https://github.com/wso2/carbon-apimgt/pull/5318


deleteComment: "Error in $: not enough input"

Repro
Save to ./gh-repro.hs
{-# LANGUAGE OverloadedStrings #-}
module Main (main) where

import qualified Data.ByteString.Char8 as C8
import GitHub.Endpoints.Issues.Comments
import System.Environment (getEnv)

main :: IO ()
main = do
    let owner = "restyled-io"
        repo = "restyled.io"
        issue = IssueNumber 155
    auth <- OAuth . C8.pack <$> getEnv "GITHUB_ACCESS_TOKEN"
    Right comment <- createComment auth owner repo issue "Test comment"

    result <- deleteComment auth owner repo $ commentId comment

    print result

GITHUB_ACCESS_TOKEN=<something with repo scopes> \
  stack runghc --resolver lts-13.23 --package github-0.21 ./gh-repro.hs

Expected
The comment is removed and the API response successfully returned according to deleteCommentR's type as:
Right ()

Actual
The comment is removed, but the result is an error in Left:
Left (ParseError "Error in $: not enough input")

Hypothesis
The commonly-used Request synonym fixes to MtJSON, but an endpoint such as this returns 204 No Content, so trying to parse no content to () fails. I'm guessing such an endpoint function needs to use MtUnit.

Changing media-type to MtUnit might fix this.
Please try, and if it works, make a PR!

Hopefully fixed in https://github.com/phadej/github/commit/0247582839ce23b22acdc07bb1a52b6dc98c9a39

Thank you for the quick fix!


HITS should be updated to disallow multi-select when using "Not a Stressor"

and this should be strictly enforced across the questions of the HIT

When a user of the HIT selects not a stressor, we should enforce a single vote of "Other"  and remove the "Not a Stressor" option; this will make the data easier to work with.

Since we have a fix for this, lowering priority


PHP Fatal error:  Uncaught exception 'GuzzleHttp\Exception\ClientException'

I am getting the following error when I try to upload a file using the upload() method.
PHP Fatal error:  Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: `POST https://content.dropboxapi.com/2/files/upload_session/finish` resulted in a `400 Bad Request` response:
Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": commit.path: '{}' expected t (truncated...)
' in /home/user/public_html/crontab/backup2/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /home/user/public_html/crontab/backup2/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /home/user/public_html/crontab/backup2/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /home/user/public_html/crontab/backup2/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)
#3 /home/user in /home/user/public_html/crontab/backup2/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php on line 59

I have solved the issue, It was a mistake from my end.
The documentation is not clear and I got confused as to where to give which file name.
Its actually upload("path_to_ur_local_file", "file_name_to_save_at_dropbox")
I was executing my code where the two parameters were interchanged.


Add Google Analytics tracking (and a page title)

Codecov Report

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

@@           Coverage Diff           @@
##           master     #119   +/-   ##
=======================================
  Coverage   60.41%   60.41%
=======================================
  Files          36       36
  Lines        1796     1796
  Branches      136      136
=======================================
  Hits         1085     1085
  Misses        711      711

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 b40ed1f...49cf933. Read the comment docs.


Create dongguk.txt

It's incorrect domain.
Not dongguk.kr, but dongguk.edu or dgu.edu.
I fixed and created pull request #4875

@PRIMOOO I am closing this request as obsoleted as per your comment. Thank you.


refresh JavaDoc for Optic API methods

import the latest JavaDoc with parameter names

There should be no regressions or build issues from this change.  The only code change is that a few parameter names were modified.

Able to genearte Java Docs. No regressions.


Add CSS class "inline" to inline images.

Description
Add CSS class inline to inline images in HTML5 output, as suggested in https://github.com/dita-ot/dita-ot/issues/4432.
Motivation and Context
Simplifies formatting, positioning, and scaling of inline images in HTML5.
How Has This Been Tested?
html5-inline-image.zip
Type of Changes

New feature (non-breaking change which adds functionality)

Documentation and Compatibility

What documentation changes are needed for this feature?
none
Will this change affect backwards compatibility or other users' overrides?
no

Checklist

My code follows the code style of this project.

https://github.com/dita-ot/dita-ot/wiki/Java-Coding-Conventions
https://github.com/dita-ot/dita-ot/wiki/XSLT-Coding-Conventions
https://github.com/dita-ot/docs/wiki/coding-guidelines

I have updated the unit tests to reflect the changes in my code.

@stefan-jung - Thanks for filing this pull request!
Would you be willing to switch the polarity of this change? It might make more sense to add a break class value instead of an inline class value for the following reasons:

In DITA, the default value for the @placement attribute is inline.
In HTML5, the default behavior for <img> elements is display: inline.
A class ~= "break" class property would indicate the non-default behavior; the lack of the property would indicate the default behavior.
Because inline images tend to occur within running-text content, it might be nicer to have that be the default (shorter) case.

Hi @chrispy-snps, you have requested:
Would you be willing to switch the polarity of this change? It might make more sense to add a break class value instead of an inline class value for the following reasons:

I don't really understand what you ask me for. I've updated the PR, so that break will also be written to the @class attribute. But I don't understand how the "polarity" should be changed.
https://github.com/dita-ot/dita-ot/pull/4434/files#diff-bc5b82365276214ccdf2367749393dd4df08388067aaef15535a8f86e6826945R1421

@stefan-jung, I apologize if I was not clear. What I meant was to include break for @placement = "break" images, but not to include inline for @placement = "inline" images (explicit or default). In other words, switch the condition where you add a keyword (break instead of inline).

@stefan-jung - maybe we can restart this discussion?


POST /visits needs implementation

We have the ability to retrieve an array of visits but we don't currently have a way for users to create new visits. We need to allow users to submit a POST request to visits in order to create an entry in the visits table.
Should:

Accept a POST request and respond with status 201 Created
Return all details for the visit created (including its id)
Not allow users to include the id when submitting a visit
Use a standard date format; suggested RFC3339 (see example below)
Return an error if the user does not provide user_id and country_id

Example: this is an acceptable visit 👍
{
  "country_id": 1,
  "user_id": 2,
  "arrival_time": "2006-01-02T15:04:05Z07:00",
  "departure_time": "2006-01-21T22:04:05Z07:00"
}

Example: this should result in an error 👎
{
  "id": 1,
  "user_id": 2,
  "arrival_time": "2006-01-02T15:04:05Z07:00",
  "departure_time": "now"
}

This should result in an error because:

the request includes an id
The request does not include a country_id
the time is not formatted correctly, e.g. "now"

Tips:

This will require changes to the model, controller, and routes for visits.
There is an example of how this could work in both users and countries.
No database changes should be needed.

I will attempt to resolve this....to the best of my ability

Awesome! Thanks. I've assigned you the issue.


net 8 and blazor server side ?

Can I obfuscate a net 8 blazor ssr code?
In my case the server will be distributed and run on the client machine.
Obfuscating only one class will do for me.

There can be quite a few issues if you obfuscate classes that must be resolved by names at runtime,
https://docs.lextudio.com/obfuscar/support/faq#how-to-troubleshoot-typeloadexception-during-reflection


Command Arguments causing ClassCastException

Related Changes

https://github.com/SpongePowered/SpongeAPI/commit/6059354741a815cd2a86b63274ba97f8530de84c#diff-325508c3a8ee152cf222a18a16566a37R1137

Also this commit in general. Pushed in ~4 days ago as of writing.

This is affecting versions since 1.12.2-2611-7.1.0-BETA-2984 at the earliest reported.
Error log one.
https://gist.github.com/codeHusky/8831213c5224022e11dacc89d8d10695
Second error here.
https://gist.github.com/codeHusky/0960e169eb931bec54179ab56c6c274c
The second error log reports a mismatch between the person running the command and the person who's the "source" of the command, iirc.
KBearZen ran the command meanwhile source EntityPlayerMP['runescapejon'/157...
I confirmed with the reporter that these are, in fact, very different people, and KBearZen is the person who ran the command in game.

Relates to #1660

FYI: that second problem is a different one to the first and wasn't linked to #1660 - that part of the code wasn't touched. It's probably an informational error but I'd have to take a closer look to know what is going on. I'm gonna open a new issue with it to remind me to look at it.


Add https://github.com/ros2/rclcpp/issues/912 as a well known Dashing issue

Precisely what the title says.

Please put ticket references in the description rather than the title. Otherwise they don't cross reference.

Please put ticket references in the description rather than the title. Otherwise they don't cross reference.

Done!


Add Interval class

🎉 New feature
Summary
Split from #387. This PR introduces an Interval class to represent scalar, real intervals.
Checklist

[x] Signed all commits for DCO
[x] Added tests
[x] Added example and/or tutorial
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@chapulina PTAL!

Do you mind to add this a Python interfaces ? or if you don't have time please open an issue.

@ahcorde I'll open an issue once we merge this PR. I promise I'll get back and implement pybind11 bindings later on, but I need this feature in ASAP.


Query regarding timestep

Can you please let me know the time step used for simulating the data here? Thanks

Can you please elaborate what exactly you mean?

Thank you for your suggestion; I see your point and will add this to my evaluation startergy. For now, I have trained different gnn models on this data and want to compare how they perform over trajectory (rollout error). I just wanted to try this out. Would you recommend any specific time step? like 0.5 fs for the 3bpa above?

It depends on the temperature. At room temperature you should be able to use 1 fs.

Thank you. How about the 600K one?

At higher temperature use 0.5 fs.

Thank you.


chore: support parameters api for loki

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (e97d07c) to head (dce28cb).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1373   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files         69      69
  Lines       6685    6685
=====================================
  Misses      6685    6685

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Migrate 'hs.finalcutpro.App' to the top-level

Rather than having a separate 'App' call, have it at the top level.
Not sure if this will be returning a new App instance as currently happens, or making App more of a module.

This will require migrating some of the stuff currently in hs.finalcutpro to App (or vice versa). Some of those will need other supporting objects (such as 'PrimaryWindow'/'SecondaryWindow', etc)

Duplicate of #157


App: https://webaverse.github.io/plant-particle/ required logdepthBuf_ fix

The shaders being used : three.quark.esm.js is missing common shader chunk which includes isPerspectiveMatrix
https://github.com/Alchemist0823/three.quarks
Will need to update it with the new common chunk and rebuild, and then update in repo
The other solution is editing three.quarks.esm.js directly which is unorthodox

This is now solved


Add createdBy as a filter parameter to /importer

Would it be possible to add a filter to the import queue for jobs createdBy a userID? If you are trying to check the status of an import, with all the automated imports in the queue, it's hard to find jobs that I actually created. Even trying to page through it is impossible because the queue pagination shifts with new jobs added faster than I can page through it. A filter for contributesTo=3 could also be potentially be useful, too, but maybe a userID filter would be easier to implement with it already being on the DatasetImport object.
https://api.checklistbank.org/importer?createdBy=103
https://api.checklistbank.org/importer?contributesTo=3

contributesTo would be difficult, but user key should be doable and useful.
Also a search by datasetKey, but that is shown o the dataset import page already

I think createdBy would help a lot and contributesTo probably isn't necessary. I didn't realize you could do this:
https://api.checklistbank.org/importer?limit=10&offset=0&datasetKey=2144
But the frontend doesn't seem to take advantage of it yet:
https://www.checklistbank.org/imports?datasetKey=2144

createdBy is implemented in the dataset search now: https://www.dev.checklistbank.org/dataset?createdBy=103
and also in the importer API: https://api.dev.checklistbank.org/importer?createdBy=103
to be deployed to prod on Monday

Awesome, thanks!


Embedding Strategies

[x] Implement embedding strategies.
[x] Implement Formatters to overcome inet_ntop formatting inconsistencies.
[x] Split into three classes; one for IPv4, one for IPv6, and one for dealing with both interchangeably.
[x] Update Unit Tests; must have good coverage (currently at 90%) - will not have 100% due to throwing exceptions for unknown internal errors which cannot be tested.
[ ] Update README and write concise documentation.

Fixes #25, fixes #35.

Test coverage is at 93%, good enough for an alpha release :+1:


case sensitive login

Hi,
as of Devise 1.2 there is an option for case insensitive user input which works fine by enabling
config.case_insensitive_keys = [:email]
in config/initializers/devise.rb which doesn't seem work with devise_ldap_authenticatable, when creating new users with the
config.ldap_create_user = true
option. Using the same username with different capital letters ends up creating a new user. I tried using the .downcase method on the login variable, which doesn't seem to have any effect.

I just fixed this behaviour. Please have a look at cschiewek/devise_ldap_authenticatable#70. Any feedback is appreciated.

Will do asap
On Jan 22, 2012 5:45 AM, "Sven Steinheier" <
<EMAIL_ADDRESS>wrote:

I just fixed this behaviour. Please have a look at
cschiewek/devise_ldap_authenticatable#70. Any feedback is appreciated.

Reply to this email directly or view it on GitHub:
https://github.com/cschiewek/devise_ldap_authenticatable/issues/37#issuecomment-3603058


Deal with the "fast reloading"

When the extension reloads itself too often, chrome blocks it and you need manually reload the extension:
https://stackoverflow.com/questions/29086691/chrome-this-extension-loaded-itself-too-frequently

Please, if anyone is being annoyed for this Chrome/Chromium limitation, go into the above Chromium issue and give it a star ⭐, so the Chromium team can prioritize this.

The latest comment on that Chromium issue is interesting:

From https://github.com/drewio/crx-hotreload/commit/1d8b176c0c399bb884377e7fa01345fd85718d52 it looks like chrome.developerPrivate.reload might not have this limitation: https://developer.chrome.com/apps/developerPrivate#method-reload

Coming from someone totally unfamiliar with how this plugin works - would this be a viable fix?

Just saw the thread in my email. Yes for sure, this might work!
I'll test and make a patch for this 👍

chrome.developerPrivate API is only available for Chrome internals. It cannot be used / called from the outside. https://groups.google.com/a/chromium.org/d/msg/chromium-apps/VYWZHlyIgtE/RTH8YUcizXYJ
Edit: It seems that there is one way to use the API, by impersonating the extension ID of a whitelisted Chrome Extension https://groups.google.com/a/chromium.org/d/msg/chromium-apps/VYWZHlyIgtE/UfwhDK-CBAcJ

Update: So the time to reload change was merged 👏
https://chromium-review.googlesource.com/c/chromium/src/+/1340272
Although, on the time I'm writing this, the fix still not on Chrome stable (normally takes 10 weeks to hit it)
https://storage.googleapis.com/chromium-find-releases-static/d3b.html#d3b25e1380984b2f1f23d0e8dc1a337743c6caaf
But is on Chromium Canary. I got a revision:
9d0933dc5d1650065a33c41a6cece28f480dfd01-refs/heads/master@{#617059}
which is bigger than then merge revision:
refs/heads/master@{#615236}
I just need to find a way to correlate the revision number with the version, check if is a fixed Chrome/Chromium, and low down both the debouncing time and the number of reloading to proper take advantage of it.

Ok people, while the new rules are currently only on Chromium builds, and as I had to make some modifications on the architecture to setup the debouncer and the fast reload blocker dynamically (before was statically defined), I'll release a beta version of the plugin. I would ask you to try out on the Chromium and see if is properly working (remember to verify the browser version)
To install the beta:
yarn install webpack-chrome-reloader-extension@beta

When the feature arrives and if everything is ok, I will include it on the release


How to export csv data in dashboard page

Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if any
[ ] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.15
Expected results
Export data from dashboard page
Actual results
Need to click explore button, go to slice, then can export data.
Is it possible to export data from dashboard page, then unnecessary to click again to slice page.
How to do this?
Steps to reproduce

I guess the widget header in the dashboard could evolve to expose more options, perhaps the ones that are not very commonly used could be buried in a popover

Seems to be a duplicate of https://github.com/airbnb/superset/issues/1304

@pajachiet Indeed! Thanks!


[8.x] Resolve CronExpression for Laravel Schedule Events to allow user to bind alternative CronExpression matching logic

This pr updates the Scheduling Events Class to resolve the CronExpression class for matching scheduled events to the current time out of the service container
Why
The reason for this is while the ability to run an every minute cron is typical, it's not always the case. In certain PaaS platforms, it's  not always possible to trigger cron events every minute. The Laravel Scheduler becomes difficult to use in these situations, as the available interval will not reliably match to any specific time defined. These intervals also make it impossible to use the fluent scheduler methods. Bring custom logic to match the cron expression could allow for a more usable scheduler under these platform constraints.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


FAST URIs w/ $1

#120 was just closed but we just fiddled with the FAST uris so now they have $1 instead of $0.
  <datafield tag="651" ind1=" " ind2="7">
    <subfield code="a">Great Britain</subfield>
    <subfield code="2">fast</subfield>
    <subfield code="1">https://id.oclc.org/worldcat/entity/E39PBJdmp7p3cx8hpmJ8HvmTpP</subfield>
  </datafield>

the current rules turn this into:
    <bf:subject>
      <bf:Place rdf:about="**http://worldcat.org/oclc/6981778#Place651-44**">
        <rdf:type rdf:resource="http://www.loc.gov/mads/rdf/v1#Geographic"/>
        <rdfs:label>Great Britain</rdfs:label>
        <madsrdf:authoritativeLabel>Great Britain</madsrdf:authoritativeLabel>
        <bf:source rdf:resource="http://id.loc.gov/vocabulary/subjectSchemes/fast"/>
      </bf:Place>
    </bf:subject>

but we're converting them this way:
      <bf:subject>
         <bf:Place rdf:about="https://id.oclc.org/worldcat/entity/E39PBJdmp7p3cx8hpmJ8HvmTpP">
            <rdfs:label>Great Britain</rdfs:label>
            <bf:source rdf:resource="http://id.loc.gov/vocabulary/subjectSchemes/fast"/>
         </bf:Place>
      </bf:subject>

The mads stuff is kind of baked to m2bf in but this is a wco:AdministrativeArea, which is a subclass of wco:Place which is sameAs bf:Place.

Is the source FAST or WorldCat entities?  They are not the same.  Each has its own URI.  One is backed by an authority record that can provide the correct MARC subfielding for good round tripping outside of OCLC.


WcSessionProposeRequest.optionalNamespaces should be optional?

The auto generated JsonSerializable code for WcSessionProposeRequest requires 'optionalNamespaces' to be a map, while the protocol could just omit this property.
This leads to the below generated code to fail on session proposal responses without said property
WcSessionProposeRequest _$WcSessionProposeRequestFromJson(
        Map<String, dynamic> json) =>
    WcSessionProposeRequest(
    /// code removed ...
      optionalNamespaces:
          (json['optionalNamespaces'] as Map<String, dynamic>).map(
        (k, e) =>
            MapEntry(k, RequiredNamespace.fromJson(e as Map<String, dynamic>)),
      ),

Exception thrown _CastError (type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast)

The issue here is that I cannot omit it.
The javascript mono-repo optionalNamespace property is not optional. See here
So by omitting it, it would break the ability to communicate with the javascript monorepo (If the dApp or Wallet is using it).

Ok fair enough.
In that case the dapp live demo has to be re-deployed to (probably) include this fix https://github.com/WalletConnect/web-examples/pull/112
React dApp (with standalone client) - v2 (Demo)

It looks like the dApp at least checks for non-null optionalNamespace before doing anything with it, so there that.
Perhaps I can add it without worrying then.
I'm not too familiar with TS, I just assume that if the type doesn't set it as optional, then it must exist.

Looking at the place the monorepo sends this request to the WC client.
It does seem that a few lines up the code ensures optionalNamespace is a property.
That said, it is considered 'normal' practice in lots of environments to omit empty list and object properties instead of including them with an empty object or list json literal.

I agree with you.
We just didn't want to break our protocol I believe.
I remember seeing some reasoning about this.
Let me follow up with the team.
I think the end goal is to move to optional values, as that would just be much nicer in the long run, and as you say "normal" or standard.
Until then, we will keep it.
I can likely abstract it away from you the end user though, and just ensure it exists when sending it across the pipe. I'll look into it.

From the spec: https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-25.md

if present; the optionalNamespaces array MUST contain 1 or more of them, if present.

So this means requiring optionalNamespace to be present breaks the specification.


create docker compose

Create a docker compose file

Sir I have created a PR, please do review

Great buddy. Will merge it.


Changed the nonce generation to an express function

CSP Headers generated with helmet in index.js -> applyConfig. Nonce added to the page with the custom volto helper from Volto-CSP, the nonce is generated with an express function, so it regenerates on every request.

New profiles added for other Security Headers.
Better comments and syntax.


Support simultaneous calls to multiple devices in device simulator

As OSGP we want to support simultaneous calls to muliple devices

The device simulator is already in use with performance testing.
The jmeter script uses a lot of threads, without problems.
So this issue is solved.


Huddle Roll Over

Huddles can be configured to roll over patients who weren't reviewed in a past huddle.  The configuration allows for a set number of days to wait before rolling over the patients (in case the huddle meets a day late, etc).
During huddle scheduling, we look back that number of days to see if there was a huddle.  If there was, we then loop through the members to see if any do not have the review date set.  If we find any with no review date, we reschedule them to the next huddle.
If they would have been in the next huddle anyway (due to manual scheduling, risk score, or recent encounter), then keep the original reason (rather than rollover reason).
This feature should only be used if teams are consistent about marking patients reviewed -- because otherwise huddles will just keep piling up.

We still need an icon in the web UI for indicating rolled over patients.  @noranda: Do you have one picked out already?

Nevermind my last comment.  It was working in the UI because I changed the code we use.  I updated the UI to reflect this.  See: https://github.com/intervention-engine/frontend/pull/92


unit test flake: neutrino panic when restarting rescan

Found in unit test run:
--- FAIL: TestLightningWallet (7.74s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x7d47b7]

goroutine 6 [running]:
testing.tRunner.func1.2({0x9c34e0, 0xfdbfe0})
	/opt/hostedtoolcache/go/1.19.0/x64/src/testing/testing.go:1396 +0x24e
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.19.0/x64/src/testing/testing.go:1399 +0x39f
panic({0x9c34e0, 0xfdbfe0})
	/opt/hostedtoolcache/go/1.19.0/x64/src/runtime/panic.go:884 +0x212
github.com/lightninglabs/neutrino.(*Rescan).Update(0x0, {0xc00064a248, 0x1, 0xc00129a4e0?})
	/home/runner/work/go/pkg/mod/github.com/lightninglabs/neutrino@v0.14.2/rescan.go:1391 +0x57
github.com/btcsuite/btcwallet/chain.(*NeutrinoClient).NotifyReceived(0xc0000fa120, {0xc0012bc060?, 0x1, 0x1})
	/home/runner/work/go/pkg/mod/github.com/btcsuite/btcwallet@v0.16.1/chain/neutrino.go:457 +0x159
github.com/btcsuite/btcwallet/wallet.(*Wallet).NewAddress(0xc0001ce480, 0x0, {0x0?, 0x9f16e0?})
	/home/runner/work/go/pkg/mod/github.com/btcsuite/btcwallet@v0.16.1/wallet/wallet.go:3020 +0x17a
github.com/lightningnetwork/lnd/lnwallet/btcwallet.(*BtcWallet).NewAddress(0xc0005a8180, 0x50?, 0x0, {0xa88a60?, 0x7?})
	/home/runner/work/lnd/lnd/lnwallet/btcwallet/btcwallet.go:556 +0x10c
github.com/lightningnetwork/lnd/lnwallet/test.loadTestCredits(0xc000078720, 0xc000340380, 0x14, 0x0?)
	/home/runner/work/lnd/lnd/lnwallet/test/test_interface.go:275 +0x287
github.com/lightningnetwork/lnd/lnwallet/test.createTestWallet({0xc00031ff80?, 0xa87ad1?}, 0x5?, 0xfe8080, {0xc43560, 0xc0001ca180}, {0xc48820, 0xc0005a8180}, {0xc43b00, 0xc0011c41c8}, ...)
	/home/runner/work/lnd/lnd/lnwallet/test/test_interface.go:378 +0x4a9
github.com/lightningnetwork/lnd/lnwallet/test.runTests(_, _, {_, _}, _, {{0xc00002eba0, 0xe}, {0xa873bc, 0x2}, {0xa879c6, ...}, ...}, ...)
	/home/runner/work/lnd/lnd/lnwallet/test/test_interface.go:3398 +0x2633
github.com/lightningnetwork/lnd/lnwallet/test.TestLightningWallet(0xc000007ba0, {0xa89361, 0x8})
	/home/runner/work/lnd/lnd/lnwallet/test/test_interface.go:3064 +0x8ef
github.com/lightningnetwork/lnd/lnwallet/test/neutrino_test.TestLightningWallet(0x0?)
	/home/runner/work/lnd/lnd/lnwallet/test/neutrino/neutrino_test.go:12 +0x25
testing.tRunner(0xc000007ba0, 0xb9f9b8)
	/opt/hostedtoolcache/go/1.19.0/x64/src/testing/testing.go:1446 +0x10b
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.19.0/x64/src/testing/testing.go:1493 +0x35f
FAIL	github.com/lightningnetwork/lnd/lnwallet/test/neutrino	7.770s
FAIL

Probably happens because the mutex is unlocked here: https://github.com/btcsuite/btcwallet/blob/master/chain/neutrino.go#L351
And afterward the s.rescan is set to nil but s.scanning is still true.

should this be opened as an issue against neutrino? I don't see a fix in lnd that would address the root cause.
the Rescan method sets rescan to nil then unlocks itself before resetting the value.  NotifyReceived picks up the lock immediately and panics when it tries to run rescan.Update because scanning is still true.
happens in the neturino test suite because the package is creating four new addresses with UTXOs, each address starts syncing via a rescan and it is a race to see if NotifyReceived (called for each NewAddress call) can complete for each new address before any Rescan calls.

Yes, we should probably open the same issue in Neutrino. I just thought it would get more visibility when opening it in lnd (and also because the actual test that fails is in lnd, I don't think this is covered by unit tests in the Neutrino repo).

made changes to btcwallet here: https://github.com/btcsuite/btcwallet/pull/820

the btcwallet change is now here: https://github.com/btcsuite/btcwallet/pull/822
and the lnd temporary change that runs itests with the above branch from mstreet3 repo is here: https://github.com/lightningnetwork/lnd/pull/7049


fs-bq-schema-views fails to add schema view for second table

[READ] Step 1: Are you in the right place?
yep
[REQUIRED] Step 2: Describe your configuration

Extension name: firestore-bigquery-export (fs-bq-schema-views script)
Extension version: 0.1.1

[REQUIRED] Step 3: Describe the problem
I have 2 instances of firestore-bigquery-export running, which export 2 different collections from firestore.
I've added schema view for 1st instance/collection (firestore* functions and schema view for changelog table).
When I'm trying to add 2nd schema view for another collection/table, I'm getting error and no new schema added to dataset.
Steps to reproduce:
$ npx @firebaseextensions/fs-bq-schema-views \
> --non-interactive \
> --project=REDACTED \
> --dataset=firestore_export \
> --table-name-prefix=instances \
> --schema-files=./instances.json
{"code":409,"errors":[{"message":"Already Exists: Routine REDACTED.firestore_export.firestoreArray","domain":"global","reason":"duplicate"}],"message":"Already Exists: Routine REDACTED.firestore_export.firestoreArray"}
Already Exists: Routine REDACTED.firestore_export.firestoreArray

Expected result
new schema view created
without any errors
Actual result
Error produced and no new schema view.
As a side-note, I've got same error when was creating first schema view, but all functions and schema view for changelog table were created

I'm also getting this. I'm not sure why this is happening. I deleted firestoreArray, firestoreBoolean, firestoreGeopoints, firestoreNumber, firestoreTimestamp from the BigQuery web UI. Look under Resources >  >  in the left sidenav. That solved it for me, and I was able to re-upload the schema.

Hey, looks like this was fixed in #193 - but the package still needs publishing to NPM - we'll get this looked at, thanks.

Still broken.
Maybe, cause npm has some 0.1.3 version published<EMAIL_ADDRESS>

Hi the package has now been published, sorry for the delay.


Fix #2: Budget accountant

Thanks for your contribution, awarder 20 bonus points for you contributions to ag_suggest and ag_sklearn.