Added hideDefaultFromInput prop

Hi! This is my first PR to TeamWertarbyte so forgive me if I followed the format wrong, but here is what I did and why:

Added a "hideDefaultFromInput" prop

Allows a user to have a default value but only for the TimePicker component while using TimeInput, for me I have a very simple integration but it is confusing to the user to see a time already selected when they first load up the form. This prop displays --:-- (an invalid entry) if the user hasn't selected a time. This also allows me to default the time slector to 12:00 PM without changing much actual code.

Updated Jest

I was getting some really weird errors using Jest v21 (around maximum call stack/render cycles) this is fixed in v22 (not a huge change, but noted)

Refactored some code that I though was hard to read

I wrote a test for the new prop that I added, please let me know if I need to do anything else to get this up!
As a little aside- I wasn't really sure about the naming of the prop itself, open to suggestions here.
Thanks!

Coverage decreased (-0.2%) to 96.0% when pulling a1dbd03cda1fa30b7848739bf7ef759c7acd56bf on PorterK:master into 79b29dfe2f5770f99b401091791169cc317a1fb6 on TeamWertarbyte:master.

@leMaik just tagging you here so you you know it exists! Think its done. 👍

Thanks for all the comments @leMaik! I've updated the PR so that defaultValue can be used in the same way as before. We've just added 2 new props... placeholder and initialTime:
placeholder sets the placeholder value of the actual input before you have clicked on it.
initialTime sets the initial time in the time picker.

Hi @leMaik is there anything keeping this PR from merging?

@PorterK Nope, I'll merge it. Thank you for this great PR! :sunglasses:


3/4 - 3/8 Individual Ticket

Summary

For the week, I did the following:

Established teams
Wrote DevLogs
Completed debugging assignment
Established team rules that we as a team will follow and use to work together

Ideation / Plans

Our ideation plans consist of:

A DevLog including ideation and planning here.
Converting big ideas into key features
Combining features into one big app
Establishing roles and tasks needing to be complete

Key Commits

Commit
Description

Debugging Event
Completing the Debugging Event assignment to show my knowledge on important frontend-to-backend errors

Devlog 1, Devlog 2, and Devlog 3
Devlogs for the week

CB/DS to PBL
This week was not too focused on either our team's PBL or CB/DS content, so it's not applicable for the week.
GitHub Analytics

Testing & Feedback
Since this week wasn't heavy on PBL/CB/DS, the only testing I did was in my Debugging Event assignment, where I tested a frontend and backend for intentional errors to debug them.

Seed individual review
2.7/3

Paaras clearly worked closely with his team and worked hard last tri and to connect our big team this tri. He did everything right, but he did not receive a 93% or above so I have to cap it at 2.7

In depth develop is linked that shows he played an important role in bringing the team together which shows he is an exemplar in team work a lot. In general his work with DevLogs through both tris shows he is working with his team and knows what is going on.
GitHub Analytics are good
Did not get 93%, but did earn somewhat close last tri

Debugging event
2/2

Everything is complete and he understands

His debugging blog is complete and shows he understands
He showed me debugging and he knows how to do it, he showed data in both local hosted frontend and backend


[SPARK-46202][CONNECT] Expose new ArtifactManager APIs to support custom target directories

What changes were proposed in this pull request?
Adds new client APIs to the Spark Connect Scala Client:

def addArtifact(bytes: Array[Byte], target: String): Unit
def addArtifact(source: String, target: String): Unit

Why are the changes needed?
Currently, without the use of a REPL/Class finder, there is no API to support adding artifacts (file-based and in-memory)
with a custom target directory structure to the remote Spark Connect session.
Does this PR introduce any user-facing change?
Yes.
Users can do the following for classfiles and jars:
addArtifact("/Users/dummyUser/files/foo/bar.class", "sub/directory/foo.class")
addArtifact(bytesBar, "bar.class")

This would preserve the directory structure in the remote server. In this case, the file would be stored under the directory:
$ROOT_SESSION_ARTIFACT_DIRECTORY/classes/bar.class
$ROOT_SESSION_ARTIFACT_DIRECTORY/classes/sub/directory/foo.class
How was this patch tested?

Unit test
Was this patch authored or co-authored using generative AI tooling?

No.

cc @hvanhovell @nija-at


(WIP) refactoring exploded blocking rules

Experimenting with some options

@nerskin @aymonwuolanne
Feel like I'm making good progress on this now but would appreciate your thoughts.
This is the plan:
The problem i created
Prior to your PR, there was a gotya in block_using_rules_sql  In a nutshell, that function is supposed to return a sql string only with no side effects.  But there were side effects.  The code worked, but was hard to understand debug.  Entirely my fault - I wrote this code.
I've corrected it in this PR.
Building on this 'precedent' (you had no way of knowing it was a bad precedent!), the additional code you added had further side effects (the materialisation of the exploded_id_tables).  So i figured this I didn't want to layer additional issues.
Further problems I created
In the BlockingRule class there were a lot of poor/ambiguous naming conventions and lack of type hints.  Meaning code that used the BlockingRule class was hard to understand
Solution (WIP)
Here's what I'm planning:

Name things in the BlockingRule class better
Promote as much code into the BlockingRule class as possible.  For example the BlockingRule should have a function called something like marginal_exploded_id_pairs_table_sql, rather than this code being inlined in other functions.
Similarly the sql code that joins the input tables to the ids_to_compare table should live within the BlockingRule
Eliminate the side effects by moving the materialisation of exploded_id_tables to a separate function that runs prior to the block_using_rules_sql

I might also see whether there's any milage in having SaltedBlockingRule and ExplodingBlockingRule classes, possibly as mixins, or possibly inheriting from BlockingRule.  But that might come in a further PR
You can see some of this  work already in the current PR.
Does this all sound sensible at this stage?  In particular is there anything you think in the plan that would be a showstopper

It hadn't clicked with me that there were side effects mixed in with a function that's meant to just return some SQL, that's a great thing to avoid if possible.
I think these steps look really good and they'll make it easier to follow.
Personally, I'd avoid SaltedBlockingRule and ExplodedBlockingRule as classes because then we might need a third SaltedExplodedBlockingRule and I think it'd be hard to avoid duplicating some code to account for the salting inside of the exploded_id_tables. I am happy to defer to others on that though.
One small suggestion: with the try except statement in materialise_exploded_id_tables, isn't the table cache already checked when you run linker._initialise_df_concat_with_tf()? I don't think the error handling approach is necessary there.

[ ] Ensure it works for def deterministic_link in linker.py
[ ] Ensure it works for find_matches_to_new_records in linker.py
[ ] Need to ensure it errors if used as as an EM training blocking rule - it won't play nicely with recognising columns to remove?

Sorry it's taken so long, but I'm fairly happy with this now.  The root cause is that the materialisation of the id pairs table is a special case, so trying to make it fit into the overall codebase without things getting too complex was difficult.
A few notes:

I explicitly disallowed salted and exploding blocking rules.  I know your version worked, and I even had a working version with the new Salted and Exploding blocking rules classes, but in the end I dont think the additional complexity is worth it given likely usage
patterns

Another reason this was tricky is that blocking rules are used quite widely in the codebase.  For example, in functions like find_matches_to_new_records and cumulative_num_comparisons_from_blocking_rules_chart.

The materialisation of the id pairs results in three separate actions being needed any time blocking is conducted with exploding rules.

materialise_exploded_id_tables  (prior to doing any blocking)
block_using_rules_sqls  (part of blocking)
drop_materialised_id_pairs_dataframe  (only after the final blocked table has been used)
But this means the code ends up being quite brittle because it's possible to forget to do all three

Since tracking down all these uses is hard, I've instead locked down support to only predict() and deterministic_link().  The primary mechanism I've used is to raise an error we attempt to use an exploded blocking rule.  Specifically, if no materialised id pairs table is found, and error is raised

@nerskin @aymonwuolanne. Just pinging you for the new year in case you want to have a look at this before we do an internal review and get it merged.  Happy New Year!

Thanks Robin, happy New Year to you too! I've read through the changes, and I think they look great, happy for your team to do a final review. There were a few parts where I thought it could be simplified but in retrospect the way it was done was necessary, so I'm happy with it as it is.


[Table] Table component doesn't have IDs on elements

Steps:

Open the IoT Storybook
https://beta.carbon-addons-iot-react.com/?path=/story/table--stateful-example-with-expansion
Click on Table option on the left panel
Inspect the elements of the component

Actual Result: There are no IDs on the elements
Expected Result: IDs are crucial for test automation purposes. Using xpaths is too fragile.

Thanks for bringing this up! I'm curious if you could provide some more context around the automated testing you're using.
Most (all?) of the components support adding a className, which can be used in many automated testing frameworks to select elements.
IDs can be tricky in react and generally aren't recommended. That said, xpaths can be brittle, and I like the thoughts laid out in the Cypress.io documentation on preferring selecting elements via data- attributes instead of classes or IDs.
We'd need to add support for these data attributes via props on existing components. Presently we don't pass any attributes down to the lower level dom elements.

Hi! We basically have an automation framework selenium based and our standard is to use IDs to interact with the elements in the screen, since xpaths are too fragile and can mess up all our scripts if any div changes. I'm actually trying to grab the elements in this table component now and it's already kinda hard.
In our case, we do have a mechanism to give elements unique and fixed IDs so we don't need to rely on position of the elements in the screen to make our tests to work fine.
We will need this one day or another in the near future cause it's the way we follow our process in here, so I'm trying already to get rid of this "problem" beforehand =)
Do you think you guys can help us out?

@tay1orjones do you have any news on this? =)

For the components that we control, we can extend them to have spread attributes. Most of the underlying Carbon components support this, we should too.
Once we do this, you'll likely need to compose the components yourself to set the specific props/attributes you require.
We can explore extending composed/stateful components as well, like StatefulTable. These may need to append values to id props you provide though. For example, StatefulTable already takes an id as a prop, it just doesn't surface this value in the DOM yet. Rows and cells then append another unique id to this prop for their own use.

:tada: This issue has been resolved in version 2.3.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


To implement Quick Sort Algorithm

To implement quick sort algorithm to the sorting selection

Hello, I would like to work on implementing this sort. I will fork and make a pull request as soon as it is ready.


 This error means that you cannot do a basebackup at LSN which is older than GC cutoff lsn

Ups, you are right. I didn't realize that we are just try to make snapshot too old in the past.


ENH: Improve readme to include dependencies

:1 for documenting the requirements .

Note that Slicer's VTK uses an external zlib, so compile VTK from scratch instead of using Slicer's VTK.

Worth nothing that zlib is statically built and a private dependency of VTK, this shouldn't impact its use by other project.
I think the problem is that VTK provided by Slicer depends on Qt4 and this project expect Qt5.
If that make sense, I would be happy to tweak the README.

There are then multiple problems with using VTK from Slicer.
The zlib isn't available for other projects to use, and it uses the wrong
Qt.  I'll tweak.
s
On Wed, May 3, 2017 at 1:20 PM, Jean-Christophe Fillion-Robin <
<EMAIL_ADDRESS>wrote:

:1 for documenting the requirements .
Note that Slicer's VTK uses an external zlib, so compile VTK from scratch
instead of using Slicer's VTK.
Worth nothing that zlib is statically built and a private dependency of
VTK, this shouldn't impact its use by other project.
I think the problem is that VTK provided by Slicer depends on Qt4 and this
project expect Qt5.
If that make sense, I would be happy to tweak the README.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/KitwareMedical/UltrasoundSpectroscopyRecorder/pull/4#issuecomment-298977413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAREr5KW1-L067mv8ZJ403Khj8bCSW5_ks5r2LdVgaJpZM4NPsYc
.

--
= 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

The zlib isn't available for other projects to use

Indeed, the rule of thumb with project like VTK, ITK, ... is that zlib, or any thirdparty library built internally is an implementation details and is not designed to be used outside.
Internally symbols are usually prefixed by vtk_ (or itk_) ... and requires that file like vtk_zlib.h instead of the usual zlib.h ...


HeightNode does not work, nor does it generate a border from nodes

HeightNode when adding an isUpper throws "true is not true or false"
When doing "/zone show border  on" it throws "Enabled visualizing border of zone: ", but doesn't seem to show any sort of border generated from the nodes placed.

Ignore latter problem.


Lapce V0.30 error in Artix Linux

Lapce Version
lapce V0.30
System information
Artix Linux  6.5.7-artix1-1 #1 SMP PREEMPT_DYNAMIC Sun, 15 Oct 2023 22:13:26 +0000 x86_64 GNU/Linux
Describe the bug
ERROR lapce_app::keypress: Failed to load from "/home/user/.config/lapce-stable/keymaps.toml": no keymaps
thread 'main' panicked at /build/.cargo/git/checkouts/cosmic-text-fff8c4a78b1e732f/5bfa288/src/buffer_line.rs:192:41:
no default font found
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Additional information
Can't run ,can't see the UI ,can't use.

Duplicate of https://github.com/lapce/lapce/issues/2748


Completed max and min heap Implementation

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Description
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

@Kajol-Kumari @siddharth25pandey @atarax665 @Abhijit2505 anyone of u could u pls review and merge it :)

Any one pls review and merge asap @siddharth25pandey @HarshCasper @SKAUL05 @Kajol-Kumari @Abhijit2505

@siddharth25pandey  review again asap pls :)

@siddharth25pandey is it fine now ?

@atarax665 could u pls do and merge it asap :)


Wrong config?

So, I tried using it. The button I want to repeat is Space. But, after it turns on, it doesn't repeat Space, but the alphabet 's'. Some thing wrong here?

Thank you for your feedback and for bringing this to my attention. I have identified and fixed the issue with special keys like the Space key in the latest version.
I encourage you to download and test version 1.5.0, which includes these fixes and performance optimizations.


Begin development of JsonStorageUtilities library.

NOTE: Some of these notes may no longer be accurate, as development progress some of the original designs have changed, and I dont want to waste time revising these notes as I progress. Additional notes/revisions will only be added if i need to organize my thoughts.
PHPJsonStorageUtilities
This library provides classes for storing and
retrieving data that was encoded as json by
a \Darling\PHPJsonUtilities\classes\encoded\data\Json
instance.
json is written to the filesystem via a
\Darling\PHPJsonStroageUtilities\classes\drivers\JsonStorageDriver
instance's write() method.
Where in the filesystem the JsonStorageDriver writes Json to is
determined by the JsonFilePath passed to the JsonStorageDriver's
write() method.
A JsonFilePath's path can be obtained via the
JsonFilePath::__toString() method, and the path
will be constructed based on the following:
$jsonFilePath->jsonStorageDirectoryPath() .
DIRECTORY_SEPARATOR .
$jsonFilePath->location() .
DIRECTORY_SEPARATOR .
$jsonFilePath->container() .
DIRECTORY_SEPARATOR .
$jsonFilePath->owner() .
DIRECTORY_SEPARATOR .
$jsonFilePath->name() .
DIRECTORY_SEPARATOR .
$jsonStorageDriver->shardId($jsonFilePath->id()) . '.json'

For example, the following call:
$jsonStorageDriver->write(
    new Json('Data'),
    new JsonFilePath(
        new JsonStorageDirectoryPath(new Name(new Text('STORAGEDIRECTORYNAME'))),
        new Location(new Name(new Text('LOCATION'))),
        new Container(new Name(new Text('CONTAINER'))),
        new Owner(new Name(new Text('OWNER')))
        new Name(new Text('NAME')),
        new Id(),
    )
);

Would write to the json string "Data" to a file at a path similar to
the following path:
~/.local/share/darling/data/STORAGEDIRECTORYNAME/LOCATION/CONTAINER/OWNER/NAME/DiY/G6Pzz978mHsvETPL4YxNfb0nuRRddGQBTJ4fpcSOjs38Dg5jq7iOPkcWmjqbWWI.json

Note: The Id will be sharded using logic similar to the shardId()
function in the following example code. The Id is sharded to make sure
there are not to many json files in one directory, but also allow for
some directories to contain multiple json files:

include('/home/darling/Git/PHPJsonStorageUtilities/vendor/autoload.php');

function shardId(
    \Darling\PHPTextTypes\classes\strings\Id $id
): string {
    $index = rand(2, 3);
    $parentDir = substr($id, 0, $index);
    $subDir = substr($id, $index);
    return $parentDir . DIRECTORY_SEPARATOR . $subDir . '.json';
}

var_dump(shardId(new \Darling\PHPTextTypes\classes\strings\Id()));

// example output:
string(72) "DiY/G6Pzz978mHsvETPL4YxNfb0nuRRddGQBTJ4fpcSOjs38Dg5jq7iOPkcWmjqbWWI.json"

Interfaces
<?php

namespace Darling\PHPJsonStorageUtilities\interfaces\filesystem\paths;

use \Darling\PHPTextTypes\classes\strings\Name;
use \Darling\PHPTextTypes\classes\strings\Text;
use \Stringable;

interface JsonStorageDirectoryPath extends \Stringable
{

    public function __toString(): string;

    public function name(): Name;

}

<?php

namespace \Darling\PHPJsonStorageUtilities\interfaces\filesystem\paths;

use \Darling\PHPJsonStorageUtilities\interfaces\named\identifiers\Container;
use \Darling\PHPJsonStorageUtilities\interfaces\named\identifiers\Location;
use \Darling\PHPJsonStorageUtilities\interfaces\named\identifiers\Owner;
use \Darling\PHPTextTypes\interfaces\strings\Id;
use \Darling\PHPTextTypes\interfaces\strings\Name;
use \Stringable;

interface JsonFilePath extends \Stringable
{
    public function jsonStorageDirectoryPath(): JsonStorageDirectoryPath
    public function location(): Location;
    public function container(): Container;
    public function owner(): Owner;
    public function name(): Name;
    public function id(): Id;
    public function __toString(): string;
}

<?php

namespace \Darling\PHPJsonStorageUtilities\interfaces\utilities\search;

interface Query
{

    /**
     * @return array<int, JsonStorageDirectoryPath>
     */
    public function jsonStorageDirectoryPaths(): array;

    /**
     * @return array<int, JsonFilePath>
     */
    public function jsonFilePaths(): array;

    /**
     * @return array<int, Location>
     */
    public function locations(): array;

    /**
     * @return array<int, Container>
     */
    public function containers(): array;

    /**
     * @return array<int, Owner>
     */
    public function owners(): array;

    /**
     * @return array<int, Name>
     */
    public function names(): array;

    /**
     * @return array<int, Id>
     */
    public function ids(): array;

    /**
     * @return array<int, string|ClassString>
     */
    public function types(): array;

}

<?php

namespace \Darling\PHPJsonStorageUtilities\interfaces\drivers\storage\filesystem;

use \Darling\PHPJsonStorageUtilities\classes\filesystem\paths\JsonFilePath;
use \Darling\PHPJsonStorageUtilities\classes\utilities\search\Query;
use \Darling\PHPTextTypes\classes\strings\Id;
use \Darling\PHPTextTypes\classes\strings\Name;

JsonStorageDriver
{

    /**
     * Write the specified Json to stroage.
     *
     * @param Json $json
     *
     * @param JsonFilePath $jsonFilePath
     *
     * @return bool
     *
     */
    public function write(
        Json $json,
        JsonFilePath $jsonFilePath,
    ): bool;

    /**
     * Return an array of Json instances from stroage that match
     * the specified Query.
     *
     * @param Query $query
     *
     * @return array<Json>
     *
     */
    public function read(
        Query $query,
    ): array;

    /**
     * Delete the Json instances from stroage that match the specified
     * Query.
     *
     * @param Query $query
     *
     * @return bool
     *
     */
    public function delete(
        Query $query
    ): bool;

}

<?php

namespace \Darling\PHPJsonStorageUtilities\interfaces\named\identifiers;

use \Darling\PHPTextTypes\classes\strings\Name;

interface NamedIdentifier
{

    public function name(): Name;

    public function __toString(): string;

}

<?php

namespace \Darling\PHPJsonStorageUtilities\interfaces\named\identifiers;

use \Darling\PHPTextTypes\classes\strings\Name;

interface Location extends NamedIdentifier
{

}

<?php

namespace \Darling\PHPJsonStorageUtilities\interfaces\named\identifiers;

use \Darling\PHPTextTypes\classes\strings\Name;

interface Container extends NamedIdentifier
{

}

<?php

namespace \Darling\PHPJsonStorageUtilities\interfaces\named\identifiers;

use \Darling\PHPTextTypes\classes\strings\Name;

interface Owner extends NamedIdentifier
{

}

Rough example of using a Query to read data from storage
$domain1 = new Domain(protocol: 'http', name: 'localhost', port: 8888);
$domain2 = new Domain(protocol: 'http', name: 'localhost', port: 8080);

$query = new Query(
    new JsonStorageDirectoryPath(new Name('test')),
    locations: [
        new Location($domain1->name()),
        new Location($domain2->name()),
    ],
    types: [
        new ClassString(Id::class),
        Name::class,
        'string',
        'int'
    ],
);

$jsonStorageDriver->read($query);

// would return all `Ids`, `Names`, `strings`, and `ints` stored in
// the locations http_local_8888 and http_local_8080 under the `test`
// storage directory.
//
// For example, read all stored `Ids`, `Names`, `string`, and `ints
// from the following paths:
//
// `$HOME/.local/share/darling/data/test/http_local_8080/*`
// `$HOME/.local/share/darling/data/test/http_local_8888/*`

Another rough example of using a Query to read data from storage
$domain = new Domain(protocol: 'http', name: 'localhost', port: 8888);

$query = new Query(
    new JsonStorageDirectoryPath(new Name('production')),
    locations: [
        new Location($domain1->name()),
    ],
    containers: [
        new Container(new Name('homepage'),
        new Container(new Name('contact'),
    ],
    types: [
        new ClassString(AppInfo::class),
    ],
);

$jsonStorageDriver->read($query);

// Would read all stored `AppInfo` objects from the following paths:
//
// `$HOME/.local/share/darling/data/test/http_local_8888/homepage/*`
// `$HOME/.local/share/darling/data/test/http_local_8888/contact/*`

Final rough example of using a Query to read data from storage

$jsonFilePath = new JsonFilePath(
    new JsonStorageDirectoryPath(new Name(new Text('STORAGEDIRECTORYNAME'))),
    new Location(new Name(new Text('LOCATION'))),
    new Container(new Name(new Text('CONTAINER'))),
    new Owner(new Name(new Text('OWNER')))
    new Name(new Text('NAME')),
    new Id(),
);

$query = new Query(
    new JsonStorageDirectoryPath(new Name('production')),
    jsonFilePaths: [
        $jsonFilePath
    ],
    types: [
        new ClassString(AppInfo::class),
    ],
);

$jsonStorageDriver->read($query);

// Would read all stored `AppInfo` objects from the following paths:
//
// `$HOME/.local/share/darling/data/STORAGEDIRECTORYNAME/LOCATION/CONTAINER/OWNER/NAME/DiY/G6Pzz978mHsvETPL4YxNfb0nuRRddGQBTJ4fpcSOjs38Dg5jq7iOPkcWmjqbWWI.json`
// `$HOME/.local/share/darling/data/test/production/*`

Notes:
Need to refactor The container to be constructed from a hash of the interfaces implemented by a class, this will be accomplished by passing a class string to the container constructor, which will be used to determine what interface is the class implements, that array of implementation details will be turned into a string, which will then be hashed, converted into a safe text string, and then used as the directory name that corresponds to the container.
This will make it possible to determine the type of data that is stored using the container since the container will be constructed from a hash of the types that are given class implements, and if the data is not a type of object then the hash will reflect a scalar type such as a hash of the string  string.
For example, a json file path may look like
~/.local/share/darling/data/storagedirectoryname/domain/type/owner/name/id/asfhjk.json

The development of this library of this library is almost complete. This issue can be closed.


open addresses for great britain

hi
at //openaddresses.io, we can search for addresses from the uk but I can't find data for great britain on the website, does open addresses cover the great britain or not ?
thanks

Unfortunately, Great Britain doesn't have any open address data available.

closing as open data doesn't exist.


AttributeError: 'DataFrame' object has no attribute 'append'

When I ran "bash scripts/main_17.sh", the following error occurred:
Traceback (most recent call last):
File "tools/main_track.py", line 93, in
main_track(args)
File "tools/main_track.py", line 79, in main_track
manager = Manager(
File "/home/sunzhaojie/GHOST/./src/manager.py", line 96, in init
self.loaders = self._get_loaders(dataset_cfg)
File "/home/sunzhaojie/GHOST/./src/manager.py", line 159, in _get_loaders
dataset = TrackingDataset(
File "/home/sunzhaojie/GHOST/./src/datasets/TrackingDataset.py", line 66, in init
self.process()
File "/home/sunzhaojie/GHOST/./src/datasets/TrackingDataset.py", line 94, in process
exist_gt = loader.get_seqs(self.assign_gt)
File "/home/sunzhaojie/GHOST/./src/datasets/MOT17_parser.py", line 63, in get_seqs
self.assign_gt_clear(split)
File "/home/sunzhaojie/GHOST/./src/datasets/MOT17_parser.py", line 313, in assign_gt_clear
self.corresponding_gt = self.corresponding_gt.append(
File "/home/sunzhaojie/.conda/envs/mot24/lib/python3.8/site-packages/pandas/core/generic.py", line 5989, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'append'
I still haven't solved it after debugging, and I hope to get your reply.
Thank you for your excellent work!

solved


Add "ignoreCaseForKey" for Differ

To let it use the case-insensitive comparison when sorting keys.
This inspiration comes from the comment, thanks for the suggestion.

Playground has been updated, npm package is on the way.


LORA Integration?

Hi ! Thanks for putting this together.
Im trying to figure out the best entry point to load a LORA In.

just can just use "flux_pipeline.load_lora_weight(....)" after initializing the flux pipeline


Replace @open-wc/rollup-plugin-html with @web/rollup-plugin-html

Fix #1980

not stale

not stale

@LarsDenBakker @daKmoR Any ideas on this one? Would love to get this and #2053 released.


Improve compatibility of wsgi_flask_app example on OS X

Problem
example/simple/wsgi_flask_app.py uses a magic domain proxapp.local which cannot be resolved on OS X hosts. This is because Apple uses .local as a reserved domain for device discovery in Bonjour's mDNS.
Reference: https://support.apple.com/en-us/HT207511
How to reproduce
Environment: OS X 10.5.2 + mitmproxy 5.1.1

Directly load wsgi_flask_app.py example on a OS X host

> mitmproxy --mode transparent --showhost -s examples/simple/wsgi_flask_app.py

Visit http://proxapp.local in Chrome. An ERR_NAME_NOT_RESOLVED error is shown.
It seems OS X will always route .local domain to Bonjour's mDNS before passing it through a mitmproxy (even if it's running in global transparent mode).

Open wsgi_flask_app.py and change the magic domain to example.com

Open chrome and visit example.com, it shows Hello world!

Fix
Use example.com as the default domain.

Makes sense, thanks! 😃 🍰


test: add integration tests for numeric

Adds integration tests for NUMERIC data type.

@skuruppu Could it be that the emulator does not yet support NUMERIC?

@olavloite yes, Emulator doesn't yet support NUMERIC :( So you will have to maintain a separate copy of the schema for emulator vs non-emulator tests and the skips for the numeric-specific tests. It's a bit messy but the emulator support is coming soon so we can clean it up quickly.

(The build failure for Kokoro - Test: Samples Java 8 is an unrelated transient [ERROR] error reading /root/.m2/repository/com/google/protobuf/protobuf-java/3.12.4/protobuf-java-3.12.4.jar; zip file is empty error)

@olavloite yes, Emulator doesn't yet support NUMERIC :( So you will have to maintain a separate copy of the schema for emulator vs non-emulator tests and the skips for the numeric-specific tests. It's a bit messy but the emulator support is coming soon so we can clean it up quickly.

I've made the integration test check whether it is running on the emulator, and based on that, it decides whether or not to include a NUMERIC column.


feat(crosswalk): support crosswalk regulatory element

Description
Crosswalk module supports regulatory element.
See https://github.com/orgs/autowarefoundation/discussions/3036

Related links
:arrow_down: This PR must be merged before this PR.
https://github.com/autowarefoundation/autoware_common/pull/187

Tests performed

[x] Can open lanelet map file includes crosswalk regulatory element.
[x] Crosswalk module works well on that map.
[x] PASS TIER IV INTERNAL SCENARIOS

Notes for reviewers
Crosswalk module checks the existence of regulatory elements.

Interface changes
Nothing.

Effects on system behavior
Nothing.

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

It seems that the lanelet2_map_visualization node has not yet supported the crosswalk reguratory element.
Will you implement it in another PR?

The crosswalk module works well for crosswalk regulatory elements.

@satoshi-ota
In some cases, the shape of the crosswalk polygon seems to be strange. Could you check it?

@tkimura4 hmm... The map seems to be little bit wierd...? The crosswalk separates two lanelet. I guess that there is a special lane for bicycle.

It seems that the lanelet2_map_visualization node has not yet supported the crosswalk reguratory element. Will you implement it in another PR?

add crosswalk areas marker in https://github.com/autowarefoundation/autoware.universe/pull/3939/commits/4c3a75c09bf40924ba35e10fa70cb9cf018242e0.


script that plots the number of running containers vs memory consumption

Codecov Report

Merging #164 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development     #164   +/-   ##
============================================
  Coverage        24.16%   24.16%
============================================
  Files               48       48
  Lines             4238     4238
============================================
  Hits              1024     1024
  Misses            3128     3128
  Partials            86       86

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 73b9b03...61ec7c5. Read the comment docs.


HashSet.containsKey() fixed

You can't imagine how happy I am that we have a HashMap :-))

wow... it was wrong subject :)

I know what you meant :-)

HashSet almost ready but I need some time

No rush, I'm thankful for your hand! I will also add some functionality the next days - step by step.


Introduce LOCUST_SPAWN_AT_LEAST_ONE_USER_OF_EACH_USER_CLASS

This boolean environment variable allows to change the behaviour of the users distribution. If true, it behaves as before by attempting to spawn at least one user of each class when the user count >= to the number of user classes.
If false, the real distribution is calculated, meaning that users with small weights won't always be spawned when a lower user count is set.
The test helper patch_env has been relocated in test/util.py.
Based on the conversion with "voyager" on Slack.

Closing because no longer applicable as of https://github.com/locustio/locust/pull/1809  because the distribution is handled by the roundrobin library.


Update gdpr-dsr-prof-services.md

Added necessary space.

@herviicban - can you please assist to check, approve and merge the content for this PR?
Thank you.


Fix: Optional parameters wrongly detected as required in API Explorer after updating from v11.20.1 to v12.0.0

After updating NSwag from v11.20.1 to 12.0.0, optional method's parameters are now detected as required.
This is the same code for both versions:
/// <summary>
/// Find anomalies by specified parameters
/// </summary>
/// <param name="machineId">ID of the machine that need to be considered for filter</param>
/// <param name="type">AnomalyType value that need to be considered for filter</param>
/// <param name="status">AnomalyStatus value that need to be considered for filter</param>
/// <remarks>Values of filter are considered in AND</remarks>
/// <response code="200">Successful operation</response>
/// <response code="400">Invalid filter values</response>
[HttpGet]
[ProducesResponseType(typeof(List<api.Anomaly>), (int)HttpStatusCode.OK)]
[ProducesResponseType((int)HttpStatusCode.BadRequest)]
public async Task<ActionResult<List<api.Anomaly>>> List(long? machineId, AnomalyType? type, AnomalyStatus? status, CancellationToken cancellationToken)
{
	return Mapper.Map<List<api.Anomaly>>(await DcsMediator.Send(
		new GetAnomalyListByFilterQuery() { MachineId = machineId, Status = status, Type = type, IncludeMachine = true }, cancellationToken));
}

This is what I get with v11.20.1 (correct)

This is what I get now with v12.0.0 (wrong)

I think the option RequireParametersWithoutDefault is enabled and should be disabled to use ASP.NET Core's API explorer reported required info only...

Where this parameter is located? I've no option currently set on my code about it.

AddSwaggerDocument(settings => settings.RequireParametersWithoutDefault ...)
Questions:

What .net core version are you using?
Is compatibility set to 2.1 in startup.cs?
Is this openapi3 or swagger2?

What .net core version are you using?

.NET Core 2.1 (2.1.6)

Is compatibility set to 2.1 in startup.cs?

Yes, .SetCompatibilityVersion(CompatibilityVersion.Version_2_1)

Is this openapi3 or swagger2?

Swagger 2. I'm using those methods:

services.AddSwaggerDocument(),
app.UseSwagger()
app.UseSwaggerUi3()

Just to be more clear I'm pointing out what I exactly need from NSwag:

Versioned API management: navigate through N versions of my APIs Swagger documentation, automatically generated by looking at [ApiVersion("x.0")] attribute on my controllers.
Authorization through OAuth server (my IdentityServer4 instance).
Reverse Proxy compatibility Swagger docs: X-Forwarded-... headers support and different base path mapping like https://mydomain.com/control/swagger --> https://myservername:5001/swagger

So, I need to put together all the necessary configuration... I'm now trying to convert the old (v11.20.1) configuration into the new (v12.0.0) one.

Nginx/reverse proxy users, please review: #2196

I have a similar issue using .NET Core 2.2 and NSwag 12.3.0:
In Startup, I call AddSwaggerDocument(), (but also tried AddOpenAPIDocument()).
My CompatibilityVersion is set to 2.2, but setting it to 2.1 doesn't help either.
In my controller, I have the following code:
[HttpGet("{id?}")] public async Task<ActionResult<TEntityDto>> GetUpdateModel(int? id)
The generated Swagger.json defines the id parameter as required, so obviously Swagger UI and the generated code think the parameter is required.

With GetUpdateModel(int? id) I think the parameter is required but nullable...
I think you need to use GetUpdateModel(int? id = null) so that it is reported as optional by the ASP.NET Core api explorer.


[release-1.2] Add detailed release notes for 1.2

This is a manual cherry-pick of #443

/assign @JoshVanL

/lgtm


Extended File Version

Please consider incorporating an option to show/hide the data of the extended versions of the files.
In the past versions, the version number was enough for me, I mean, without the extended data.
Thank you for developing Process Hacker.

The EnableVersionSupport setting as zero disables the extended version


[Stackdriver] Fixed problem with zero pod creation time

Stackdriver sink doesn't accept zero as start time.

This change is

One comment, otherwise lgtm

/lgtm

/retest


PLG-2746-Updated the tiles for CD tutorials landing page

Harness Developer Pull Request
Added the tiles for pipeline templates, under advanced tutorial in the CD tutorial landing page
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

/lgtm


Images and Designation and brief intro about people at Kredo

This section needs photographs, Designation and a 10-word intro of the @hackintoshrao @abraarsyed and myself.
Attaching the screenshot of the section.

@ms1029 , @abraarsyed  and @Rithesh17 , please send photographs and brief description of yours for the website.

Sorry bro I was traveling yesterday. Couldn't reply to you at the earliest.
About me: Pursuing 3rd year B.Tech. in Computer Science at NITK Surathkal.
Interested in AI and any field having Mathematics in it. Hobbies include
writing short stories and quotes.
I have attached my Photo below.
On Sat, Jul 14, 2018 at 9:01 AM, Karthic Rao<EMAIL_ADDRESS>wrote:

@ms1029 https://github.com/ms1029 , @abraarsyed
https://github.com/abraarsyed and @Rithesh17
https://github.com/Rithesh17 , please send photographs and brief
description of yours for the website.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Kredoai/website/issues/7#issuecomment-404995421, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AZqBeEaHQUNFNtxPCoe1rjZZoyLRHdt3ks5uGWYFgaJpZM4VHROo
.

Hello ,
Sorry for the delay
Please find the photograph attached.
Description : I am MUKUNDA S, currently pursuing my B.E in Information
Science and Engineering from PESCE.
I have been always keen to learn and love for code have always tremendous
impacted me and it's grown. I love to implement new technologies and love
to code.
Regards
Mukunda.S
Full stack developer
Kredo.ai
On Sun, Jul 15, 2018, 7:35 PM SandeepVaman<EMAIL_ADDRESS>wrote:

Assigned #7 https://github.com/Kredoai/website/issues/7 to @ms1029
https://github.com/ms1029.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/Kredoai/website/issues/7#event-1734224884, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Akob_79CGIH1pO7fd-jEiYXUn8WFPi5gks5uG0wtgaJpZM4VHROo
.


Use auto-form for add an edit lookups

The lookup 'spec json input has been replace with an auto form the capture the type and the map for the auto form. You cannot submit a lookup unless it has a type and that the map is an object composed of key value pairs where the value is of type string.

Thank you for responding to all the feedback!


Does not support AVIF

If you have an issue with a specific extension or type
Locate the definition for your extension/type in the db.json file in the mime-db project.  Does it look right?

[ ] No. File a mime-db issue.
[x] Yes: Go ahead and submit your issue/PR here and I'll look into it.

mime-db is now on version 1.45.0, while this package is still on 1.44.0.
Is there a particular reason this didn't get bumped by dependabot?

Published in 2.4.7


Module: elasticache

Module Repository
terraform-aws-modules/terraform-aws-elasticache
DCO

[X] I sign this project's DCO

Hi @xlejakx , I'm looking into why our automation failed here. Please bear with me whilst I investiate :)

@xlejakx I hope you do not mind but I edited your form submission to just be the repository name in the format that we expect and not a full github link. This allowed our automation to work :)


add multi-dataset download to intro nb

Updating documentation to include improvements made during GSoC 2021. This resolves #55

@callumrollo better late than never ;-p


⚠ ClamAV has degraded performance

In 6ceaea2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 426 ms

Resolved: ClamAV performance has improved in 049df0a.


petsc compilation breaks over a copy command

I really hope that you don't mind me posting every single issue with proteus+hashdist compilation issue here. I do treat it as my diary almost.
On Ubuntu 12.04 I came across the following error
cp: cannot create regular file '/home/robert/.hashdist/bld/petsc/yzkrdowxhpu4/lib/': Not a directory

This looks strange as indeed the directory petsc in bld doesn't yet exist as this is the package which is being compiled. I have some petsc files in tmp.

I believe we saw this recently. Could you try disabling superlu_dist  and superlu in the petsc build? I seem to recall that the problem comes up when petsc  tries to install external packages.

Sorry, I am not being very resourceful. The problem is that I cannot find superlu in the configure step. petsc is compiled with a companion Python script petsc.py which, I understand, sets up configure options with some architecture based conditions. This script doesn't mention superlu or superlu_dist. With --with-superlu=0 hashdist still attempts to compile superlu.
Where can I find a s configure step that is actually being executed?

Is there a way to see the actual ./configure command with all the options in hashdist? Something like a hashdist debug mode.

Yes, go into proteus/stack and run ../hashdist/bin/hit build default.yaml --debug

Success!
Limited, but success nevertheless.
The debug command is extremely powerful, thanks for a clarifying email. I've done this
cd stack
../hashdist/bin/hit build default.yam --debug -v
vim _hashdist/build.sh
# Take out the download stuff for superlu
/bin/bash _hashdist/build.sh

And it compiles now. I am now trying to figure out why the configure script gets generated with superlu download set to 1.

There's no easy way out of this. I think I went through all the stack now, but proteus does depend on superlu. Just got a linker error
gcc -pthread -shared -L/home/robert/.hashdist/bld/bzip2/x77hkrpcbch3/lib -Wl,-rpath=/home/robert/.hashdist/bld/bzip2/x77hkrpcbch3/lib -L/home/robert/.hashdist/bld/gdbm/ckkq7rf2zcin/lib -Wl,-rpath=/home/robert/.hashdist/bld/gdbm/ckkq7rf2zcin/lib -L/home/robert/.hashdist/bld/launcher/wvmh5uvayzv3/lib -Wl,-rpath=/home/robert/.hashdist/bld/launcher/wvmh5uvayzv3/lib -L/home/robert/.hashdist/bld/ncurses/26ibjcbdg7jr/lib -Wl,-rpath=/home/robert/.hashdist/bld/ncurses/26ibjcbdg7jr/lib -L/home/robert/.hashdist/bld/openssl/nnqbgp4kemir/lib -Wl,-rpath=/home/robert/.hashdist/bld/openssl/nnqbgp4kemir/lib -L/home/robert/.hashdist/bld/patchelf/k3rloj265ogt/lib -Wl,-rpath=/home/robert/.hashdist/bld/patchelf/k3rloj265ogt/lib -L/home/robert/.hashdist/bld/readline/luebmteyyxdv/lib -Wl,-rpath=/home/robert/.hashdist/bld/readline/luebmteyyxdv/lib -L/home/robert/.hashdist/bld/sqlite/7gd4urmeii3r/lib -Wl,-rpath=/home/robert/.hashdist/bld/sqlite/7gd4urmeii3r/lib -L/home/robert/.hashdist/bld/zlib/v6anirfvk2op/lib -Wl,-rpath=/home/robert/.hashdist/bld/zlib/v6anirfvk2op/lib -Wl,-rpath,/home/robert/.hashdist/bld/python/hinzjjpeqn5l/lib build/temp.linux-x86_64-2.7/proteus/superluWrappersModule.o -L/home/robert/projects/proteus/linux2/lib -L. -L. -L/home/robert/.hashdist/bld/python/hinzjjpeqn5l/lib -lm -lsuperlu_4.3 -llapack -lblas -lpython2.7 -o build/lib.linux-x86_64-2.7/proteus/superluWrappers.so -lblas -Wl,-rpath,/home/robert/projects/proteus/linux2/lib
/usr/bin/ld: cannot find -lsuperlu_4.3

So I think we need to fix superlu compilation alongside petsc rather than just switch it off.

That's right. You can still have superlu: in default.yaml, just don't
have anything about superlu in the 'petsc:' section.
On Wed, Mar 16, 2016 at 12:35 PM, Robert Sawko<EMAIL_ADDRESS>wrote:

There's no easy way out of this. I think I went through all the stack now,
but proteus does depend on superlu. Just got a linker error
gcc -pthread -shared -L/home/robert/.hashdist/bld/bzip2/x77hkrpcbch3/lib -Wl,-rpath=/home/robert/.hashdist/bld/bzip2/x77hkrpcbch3/lib -L/home/robert/.hashdist/bld/gdbm/ckkq7rf2zcin/lib -Wl,-rpath=/home/robert/.hashdist/bld/gdbm/ckkq7rf2zcin/lib -L/home/robert/.hashdist/bld/launcher/wvmh5uvayzv3/lib -Wl,-rpath=/home/robert/.hashdist/bld/launcher/wvmh5uvayzv3/lib -L/home/robert/.hashdist/bld/ncurses/26ibjcbdg7jr/lib -Wl,-rpath=/home/robert/.hashdist/bld/ncurses/26ibjcbdg7jr/lib -L/home/robert/.hashdist/bld/openssl/nnqbgp4kemir/lib -Wl,-rpath=/home/robert/.hashdist/bld/openssl/nnqbgp4kemir/lib -L/home/robert/.hashdist/bld/patchelf/k3rloj265ogt/lib -Wl,-rpath=/home/robert/.hashdist/bld/patchelf/k3rloj265ogt/lib -L/home/robert/.hashdist/bld/readline/luebmteyyxdv/lib -Wl,-rpath=/home/robert/.hashdist/bld/readline/luebmteyyxdv/lib -L/home/robert/.hashdist/bld/sqlite/7gd4urmeii3r/lib -Wl,-rpath=/home/robert/.hashdist/bld/sqlite/7gd4urmeii3r/lib -L/home/robert/.hashdist/bld/zlib/v6
anirfvk2op/lib -Wl,-rpath=/home/robert/.hashdist/bld/zlib/v6anirfvk2op/lib -Wl,-rpath,/home/robert/.hashdist/bld/python/hinzjjpeqn5l/lib build/temp.linux-x86_64-2.7/proteus/superluWrappersModule.o -L/home/robert/projects/proteus/linux2/lib -L. -L. -L/home/robert/.hashdist/bld/python/hinzjjpeqn5l/lib -lm -lsuperlu_4.3 -llapack -lblas -lpython2.7 -o build/lib.linux-x86_64-2.7/proteus/superluWrappers.so -lblas -Wl,-rpath,/home/robert/projects/proteus/linux2/lib
/usr/bin/ld: cannot find -lsuperlu_4.3
So I think we need to fix superlu compilation alongside petsc rather than
just switch it off.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/erdc-cm/proteus/issues/342#issuecomment-197447207

Right, great... I found superlu in default.yaml. Kind of an obvious place. There was a download section in petsc and it was listed there. I don't know how I missed it.
I have now edited the default yaml and also PROTEUS_SUPERLU_LIB in proteus/config/default.py to version 4.1 as it wanted 4.3. It occurred to me now, that I should have edited superlu.yaml to get the newer version. For now it's compiling proteus. If it succeeds I will retry with 4.3.

Yep. Now I have a working compilation with superlu 4.3, although I need to as for one more clarification.
Why is superlu pointing to your own fork of superlu? It seems like a blend between 4.3 and 4.1.

At some point (probably prior to hashdist) we had to make some modifications to build it as a proteus dependency, and I haven't yet tried to set up a build directly from the superlu tarball from the developers. Just haven't gotten around to it.


Fix ENDs and rescale GQ to [0,99] at end of CleanVcf

Updates

Add task at end of CleanVcfChromosome to make VCFs compatible with GATK

For BND or CTX events, set END2 = END first just in case it wasn't already set
If END < POS, set END = POS
Rescale GQ, PE_GQ, RD_GQ, and SR_GQ from [0,999] to [0,99]

In SingleSampleFiltering.FinalVCFCleanup, remove step to fix bad END tags because it is now handled in CleanVcf and rename task to UpdateBreakendRepresentation to reflect the change
Updated several QC and filtering scripts that had GQ scaling hard-coded to use [0,99] scale
Small changes to MinGQ WDLs to get them to validate and run

Testing

Validated all WDLs and JSONs with womtool
Ran MakeCohortVcf successfully and verified that output VCF had no END < POS and GQ QC plots were successfully generated with new scaling
Ran single-sample WDL successfully and verified that output VCF had no END < POS
Tested GQRecalibrator with rescaled GQ and got comparable results

Still to do

Test MinGQ - some scripts had GQ scaling changes. Attempted to test but encountered errors in master version of MinGQ. I fixed some issues with the WDLs along the way. The changes to MinGQ scripts only involve altering default max GQ values that can be overridden by the user anyway, so further testing was deemed low priority.
Assess impact of GQ rescaling on filtering by GQ

Since review:
Updates

Parametrize GQ for MasterVcfQc with optional max_gq input (default 99)
Catch some further spots in analyze_fams.R where GQ was hard-coded
Add JSON template for MasterVcfQc for easier standalone testing and for cases when users want to run MasterVcfQc on its own

Testing

Validate all WDLs and JSONs with womtool (now 30 test JSONs)
Test with trios to make sure inheritance plots are being correctly generated

MasterVcfQc succeeded on a dataset with trios with GQ scaled to [0,99] and the main SV_per_genome plot and supplementary/sv_inheritance/by_proband_GQ plots looked correct
MasterVcfQc succeeded on a dataset with trios with GQ scaled to [0,999] and the main SV_per_genome plot and supplementary/sv_inheritance/by_proband_GQ plots looked correct


Statistics in the footer

For decision: do we add ....
X searches were performed on Y records (Z births, A marriages and B deaths)
C records (D births, E marriages and F deaths) were added in the latest update.
Do we want to add in 'latest year being transcribed' for these? Anything else?
Suggest link to a refinery page called statistics which has links as in https://www.freebmd.org.uk/iindex.shtml
Text on copyright on story #66

Can be discussed in light of Systemwide#98

Page noted above for links is now #Records tab - so not needed in footer - or does footer say 'for more information use the Records button above'?

To discuss implementation of this link across projects (on systemwide).

Discussed and agreed to proceed.

@richpomfret to check over on systemwide and assess whether this is ready to be implemented here or not..

We are close to being ready for implementation - @jayto581 is rebuilding his dev environment at the moment and will then make a few updates prior to implementation.

Awaiting pull request to be merged prior to testing.

Awaiting pull request to be merged prior to testing.

Ready for testing in test2

@richpomfret to take a look and test.


Cannot route on top of a base path

For example if I have an app at http://mysite.com/admin and I want Mithril to route like http://mysite.com/admin#/whatever.
Currently Mithril just strips the URL back to the origin (http://mysite.com/#/) as soon as the page loads. This is because the window.history.pushState call provides a relative URL without the base path prepended.
Could we get a simple API added? Something like:
m.route.base = '/admin'

Then it would just be prepended when window.history.pushState is invoked, i.e. (m.route.base || '') + modes[m.route.mode] + currentRoute
Happy to do a PR if you think this is a good idea.

@lhorie Nope, this on localhost
This is strange, I read more into the window.history.pushState API and it seems this shouldn't be happening. I set up an isolated test (a page within a couple subdirectories which simply calls pushState) and couldn't reproduce. I'll keep investigating.

@lhorie Sorry! I had a  tag that slipped through the cracks. Problem solved.

I'm running into the same problem. If it is in fact the file:// protocol that's causing the issue, do you have any ideas for a workaround that we could try, @lhorie ?

Reopening this re: file:// protocol

@mindeavor I tried setting up a minimum test case in cordova and it's working fine:
document.addEventListener('deviceready', function() {
	var A = {
		view: function() {
			return m("div", [
				m("div", location.href),
				m("div", m.route()),
				m("a[href='/b']", {config: m.route}, "go to b")
			])
		}
	}
	var B = {
		view: function() {
			return m("div", [
				m("div", location.href),
				m("div", m.route()),
				m("a[href='javascript:;']", {onclick: function() {m.route("/a")}}, "go to a")
			])
		}
	}

	m.route.mode = "hash"
	m.route(document.getElementById("a"), "/a", {
		"/a": A,
		"/b": B,
	})
}, false);

Are you able to provide a minimum test case where you can reproduce the issue?

Setting a base URL would also be useful when m.route.mode is set to pathname. As far as I can tell, currently it's not trivial to switch between the various routing modes, when your application lives under a certain base path such as /admin.
In my project, I've a made a very thin wrapper around m.route and the component responsible for handling navigation and now I can switch between the routing modes without modifying the rest of the code.

rewrite should work fine w/ file:// protocol and non-root pathnames as well (the latter thanks to @pygy )


Customized tooltip for grid info bubble.

I'm submitting a ...
[ ] bug report
[X] feature request
[ ] question about the decisions made in the repository

What is the current behavior?
Info bubble showing single field value tooltip

What is the expected behavior?
I want  to show custom tooltip information on hover info bubble icon. though custom information is ok on click event using render method. please help

Link to jsFiddle that demonstrates the problem:
http://jsfiddle.net/bxw1rk91/338/

Hello  awadhesh4772
you can rewrite render function for column and add into this render function what you want by example whole div with title attribute.
see bellow
columns: [
{ field: 'fname', caption: 'First Name', size: '150px',
render: function(record, index, column_index){
return '' + record.lname + '';
},
info: {
              render : function (rec) {
                var name = rec.fname + ' ' + rec.lname;
                return  '
'+
                   '
Name	'+ name +'
'+
                     '
Field1	Value1
'+
                       '
';
                      }
            	}
      	},

How can we suppress the tooltip on datetime formatter in render ?
render:'datetime:mm/dd/yyyy|hh24:mm:ss'.

How can we suppress the tooltip on datetime formatter in render ?
render:'datetime:mm/dd/yyyy|hh24:mm:ss'.

Hello you can set date in settings on w2ui.js file
var w2utils = (function ($) {
var tmp = {}; // for some temp variables
var obj = {
version  : '1.5.RC1',
settings : {
"locale"            : "cs-CZ",
//"dateFormat"        : "m/d/yyyy",
"dateFormat"        : "d.m.yyyy",
"timeFormat"        : "hh:mi:ss",
"datetimeFormat"    : "m/d/yyyy|hh:mi:ss",
if you want to hide write your own render function for your column.

Hello you can set date in settings on w2ui.js file
var w2utils = (function ($) {
var tmp = {}; // for some temp variables
var obj = {
version  : '1.5.RC1',
settings : {
"locale"            : "cs-CZ",
//"dateFormat"        : "m/d/yyyy",
"dateFormat"        : "d.m.yyyy",
"timeFormat"        : "hh:mi:ss",
"datetimeFormat"    : "m/d/yyyy|hh:mi:ss",
if you want to hide write your own render function for your column.

Is there any way i can wrap the datetime formatter in a div with no title so that the tooltip does not come up? I tried
render:'datetime:mm/dd/yyyy|hh24:mm:ss, but then it does not process it correctly

Is there any way i can wrap the datetime formatter in a div with no title so that the tooltip does not come up? I tried
render:'datetime:mm/dd/yyyy|hh24:mm:ss, but then it does not process it correctly

While we are talking about bubble, what I want to ask is;
I have warning value. Some lines have it, some don't. so there is a null value. I want to show bubble only when full value exists, is it possible?
Now status:

Well I don't want it to be a bubble when it's empty how can I do it.
Thank you.


[Python] Implement Scanner::from_fragments() to initialize a scanner from sub-set of fragments

Problem Statement
It will be useful for fine-tuned distributed scan. a master node can decide the plan that assigns fragments to each distributed node. Each distributed worker could scan the fraction of the dataset accordingly.

ideally the API for this accepts an iterator of fragments (vs a list)

This means adding a fragment_ids setter or smth to Scanner and modify the Scan IO node to take this list as a parameter ?

Yes, this could be just a constructor from Scanner, takes in the fragments, and build a scanner in one worker.
Can follow the pattern like https://arrow.apache.org/docs/python/generated/pyarrow.dataset.Scanner.html#pyarrow.dataset.Scanner.from_fragment


Updates for Calico v3.8.0

fixes

documents

[ ] Tests
[ ] Documentation
[ ] Release note

None required

Deploy preview for calico ready!
Built with commit ebd1995e8ef8840239be85d37bb3b321b8070ae4
https://deploy-preview-2697--calico.netlify.com


Crash with NumPy build on OS X 10.6

Trying to build numpy on OS X 10.6 with current numpy/bento/waf master crashes:
$ ../bento/bentomaker build -v
Running from numpy source directory.
Checking for 'gcc' (c compiler)          : /usr/bin/gcc
Checking for program python              : ['/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python']
python executable '['/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python']' different from sys.executable '/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python'
Checking for python version              : (2, 6, 4, 'final', 0)
Checking for library python2.6 in LIBDIR : not found
Checking for library python2.6 in python_LIBPL : yes
Checking for program python2.6-config,python-config-2.6,python2.6m-config : /Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config
Checking for header Python.h                                              : Could not find the python development headers
Checking for '/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config' : yes
Getting the python flags from python-config                                           : Could not find the python development headers elsewhere
  File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 452, in noexc_main
    ret = main(argv)
  File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 242, in main
    return _wrapped_main(global_context, popts, run_node, top_node, build_node)
  File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 288, in _wrapped_main
    return _main(global_context, popts, run_node, top_node, build_node)
  File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 361, in _main
    run_cmd(global_context, cmd_name, cmd_opts, run_node, top_node, build_node)
  File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 432, in run_cmd
    pkg, package_options)
  File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 397, in run_dependencies
    run_node, top_node, pkg, package_options)
  File "/Users/rgommers/Code/bento/bento/commands/wrapper_utils.py", line 25, in run_cmd_in_context
    context = context_klass(global_context, cmd_argv, options_context, package, run_node)
  File "/Users/rgommers/Code/bento/bento/commands/extras/waf.py", line 166, in __init__
    conf.check_python_headers()
  File "/Users/rgommers/Downloads/waf-1.6.11/waflib/Configure.py", line 393, in fun
    raise e
bentomaker: Error: bentomaker crashed (uncaught exception <class 'waflib.Errors.ConfigurationError'>: The configuration failed
(complete log in /Users/rgommers/Code/numpy/build/config.log)).
Please report this on bento issue tracker:
    http://github.com/cournape/bento/issues

config.log with verbose setting: https://gist.github.com/1865743

seeing some non-ascii chars in the log file.
seeing duplicate /Developer/SDKs/MacOSX10.4u.sdk
fails to find Python headers

This is with Python 2.6 from python.org


Graph dates not corresponding with rb submission dates

Just set Banned Books Club to be hot from Jan 1 - July 31 2015. It makes sense that the progress is 8, but these reportbacks occurred earlier in 2015. Not quite sure why they are showing up as having just happened in July on the graph:

cc: @angaither @julielorch

is this because the graph starts as soon as it's put into the hot module?
provided we don't want to retroactively put anything as hot (i.e. start the hot season at a date in the past) then this won't actually be an issue. and I can't think of any reason we'd want to do this. leaving this issue here though so this is documented.

The graph doesn't take the date of the reportback into account at all, it just takes the total quantity

@angaither @mikefantini Could it also be because we weren't logging reportbacks in the new log table before July? So, that table only has totals starting in July and that is what we are using the query to create the data object for the graph.

nah, that still just searches all reportbacks, no matter what the date they were submitted is.

@angaither Right, so the actual log won't have the total reportbacks we had on Jan 15, 2015,for example?

The query that runs to add things to the log takes all reportbacks into account, no matter what date they were submitted. So there won't be a record of what the total quantity was on Jan 15, but a reportback submitted on that day will be included in the total quantity.

@angaither yea so that is why when @mikefantini set the hot phase to be a date before we started logging, the graph only shows data from July on.
@mikefantini So in the rare cases we need to set the hot phase to a time in the past, we will see the data on the graph from when we actually started logging the total reportbacks each day (so from July, 2015 on)

AH. right. yes yes yes. Sorry misunderstood the issue!

sweet sounds good to me! thanks for the explanation @angaither @sbsmith86 closing this one out


Editing task 15315

Made changes in the public repo--moved changes to the private repo and closed this request


Add automatic behaviors

[ ] Download puzzle input to a cache location for the day being executed
[ ] Add CLI that can execute any day
[ ] Add new day and new year scaffolding

So far, it seems that puzzles always yield numeric results, and part 2 alwals needs a slightly different way to parse the input data, so a standard form for the solution functions seems possible:
fn solution(input: &str) -> usize {
    // --snip--
}

I'm thinking I'll steal from the unix philosophy here and lean into each day being its own binary. This is what I did for #3 and it means I can get some potential benefits:

Each binary can be as flexible as necessary for that day's given puzzle.
The runner can work with the simple assumption that the day's binary writes the solutions to separate lines on stdout, one line per part. If desired, this assumption can also lend itself to the runner submitting the result automatically.
Any informational logs can be written to stderr ad nauseam.
The runner can feed puzzle input via stdin, meaning puzzle input can be lazily fetched and cached by the runner the first time a puzzle is executed.


Satty9361 Add Presence Data to .Member

Since bot already tracks Presence Data for all online members, it would be useful to have this available under .Member.
I have used a new type (CtxMember) to extend *discordgo.Member and attach this additional information as it makes more sense to have this info available along with Member struct rather than having a separate function for pulling this data. This also makes it possible to make more additions in the future with a separate type.

Since the API for get guild member doesn't return presence data, there's a chance members just wont have presence available in their member state, this would be very flaky as is.

Yeah I am aware and I have handled that part. In those cases Presence is just shown Unknown or 0 and Presence Game is nil which is Okay. It can be documented that It is not always available.
I also tested on offline members and this part did work as above showing PresenceStatus as  0 or unknown

The reason i haven't merged this and im hesistant is becuase its such unreliable data that i dont see a point really

Closing this for now


Dont work in Mainnet

metamask is not called.
if I set the default ABI, then the metamask is called.

metamask is not called. if I set the default ABI, then the metamask is called.

You need to replace the Config files information with the mainnet information. Also in the Src> App.js, update the smart contract call function in line 311 (if you are not using the default contract).


Scale force staging's pod allocation to minimic production.

We're currently running into issues with immediate 504s when accessing
staging.artsy.net, but aren't sure why. We're hoping that by ensuring
that there are more pods for us to load balance to.

This has already been applied in staging. Merging.


Support for the imaging interface

Is there currently a way to access the imaging interface data via Unity?

No, this has not made it into Unity. This would be implemented in Managed-OSVR: https://github.com/OSVR/Managed-OSVR/issues/20

I imagine there would need to also be some code in OSVR-Unity to facilitate displaying the image data in unity efficiently.

ImagingInterface and sample has been added to Managed-OSVR and OSVR-Unity https://github.com/OSVR/OSVR-Unity/pull/120


[release/7.x] Enable spectre-mitigations for native builds

Summary
Manual backport of #6398 to release/7.x. Manual port was needed because the mutating profiler doesn't exist in this branch, thus our CMakeLists.txt looks a little different in this branch.

Release Notes Entry

/backport to release/6.x


fieldHtmlClass how to use?

Please, show an example how to use fieldHtmlClass !
Thanks

You should move this to StackOverflow.com and tag it under angular-schema-form since it is a question not a feature request or bug report.

Ok I am trying so:
$scope.schema = {
type: "object",
properties: {
name: {
type: "string",
minLength: 2,
title: "Name",
description: "Name or alias",
fieldHtmlClass: "myclass"
},
title: {
type: "string",
enum: ['dr', 'jr', 'sir', 'mrs', 'mr', 'NaN', 'dj']
}
}
};
but it's not working
what is wrong?

Ok I got it!
I am using it in schema in place of form definition.
Now it's works!
Thank you for this very nice directive.
Antonio


Flutter desktop fails on Chromebook

Flutter create sample fails on ChromeOS 84.0.4147.21:
$ flutter run -d linux
Downloading linux-x64/linux-x64-flutter-gtk tools...                7.6s
Downloading linux-x64-profile/linux-x64-flutter-gtk tools...         4.5s
Downloading linux-x64-release/linux-x64-flutter-gtk tools...         4.0s
Launching lib/main.dart on Linux desktop in debug mode...
Building Linux application...
xkbcommon: ERROR: Key "<CAPS>" added to modifier map for multiple modifiers; Using Mod3, ignoring Lock

(linux_tester:6977): Gdk-WARNING **: 15:28:52.409: ../../../../../gdk/x11/gdkwindow-x11.c:5611 drawable is not a native X11 window

** (linux_tester:6977): WARNING **: 15:28:52.564: Failed to start Flutter engine: Failed to create EGL surface: Bad Native Window

Flutter doctor output:
$ flutter doctor -v
[✓] Flutter (Channel master, 1.20.0-1.0.pre.220, on Linux, locale en_US.UTF-8)
    • Flutter version 1.20.0-1.0.pre.220 at /home/brettmorgan/flutter
    • Framework revision 1e6e7150f3 (2 hours ago), 2020-06-26 12:01:59 +0800
    • Engine revision 22b099bc63
    • Dart version 2.9.0 (build 2.9.0-19.0.dev ea87c9b01a)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/brettmorgan/Android/Sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 7.0.1-8 (tags/RELEASE_701/final)
    • cmake version 3.13.4
    • ninja version 1.8.2
    • pkg-config version 0.29

[✓] Android Studio (version 3.6)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.45.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.10.1

[✓] Connected device (3 available)
    • Google Pixelbook • emulator-5554 • android-x64    • Android 9 (API 28)
    • Linux desktop    • linux         • linux-x64      • Linux
    • Web Server       • web-server    • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

If memory serves, ChromeOS uses Wayland for ferrying graphics from the linux sandbox to the outside world.

Duplicate of https://github.com/flutter/flutter/issues/57932


[WFLY-10578] Eliminating deprecated DependencyType usages - final round.

https://issues.jboss.org/browse/WFLY-10578

@maeste + @stuartwdouglas (or @dmlloyd) - please check your areas of expertise


log: rename to log.PanicAndExit

According to the linter
func name will be used as log.LogPanicAndExit by other packages, and that stutters; consider calling this PanicAndExit

Contributes #3592

This change is

a discussion (no related file):
When merging, please make sure the final commit message refers to log.HandlePanic, and not the older message.


doc.rust-lang.org: sort the method names

I don't know where to put this issue, this is likely not the right repository.
Method names like in https://doc.rust-lang.org/std/collections/struct.HashMap.html are presented on the left hand side in arbitrary order. This makes it very hard to browse.

This is a cargo issue, but I'd recommend opening an issue in doxidize, which will end eventually replace cargo doc

I've read somewhere that at least for modules there is an option whether to sort or not.
So i am not sure whether this issue here is about "adding this option to the code" or "using that option".

The method names are sorted now.


not opened

hello pulviscriptor,
i know that you already fixed this and posted it in an issue on ws...can you give me the link pls ?:9
thanks

https://github.com/websockets/ws/issues/669 crash 2
But i didn't fixed it, i emit packetError event when this happens.


Support for cardboard magnetic trigger

Is there support for when the magnet on the side of a Google Cardboard is triggered?

Unfortunately this isn't possible to detect on the web. Only the
capacitative button on V2 units will work.
On Sun, Jan 24, 2016, 3:51 PM jinseokpark6<EMAIL_ADDRESS>wrote:

Is there support for when the magnet on the side of a Google Cardboard is
triggered?
—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/108.


Running Vim hangs the console

Windows build: 10.0.16193.1001
Ubuntu version: Yakkety Yak (16.04)
Vim version: 7.4 (from the default repositories)
This bug is easy to reproduce. Create a new user, log in as new user, start vim -> the console hangs.
For some reason there isn't a problem when I use my dotfiles. Though if I uncomment vim +PluginInstall +qall in my .profile, then the console hangs on log-in. I can run bash.exe ~ --noprofile and source .profile without a problem, so there is a bit of initialization happening somewhere that sidesteps this issue.

This is a duplicate of #2092. I should have looked before posting. >_>


Use config passed prior to DATABASE_URL

This would help apps that connect multiple databases

Also this is a breaking change, b/c it results in unexpected behavior I agree. But your current proposal wont work due to https://github.com/pearlshare/node-db-migrate/blob/master/lib/commands/set-default-argv.js#L17.
In fact, config is always set to a value, so this won't work out here.

Closing due to no response.


401 Error when submitting files to Cuckoo

I am using Cuckoo Version 2.0.7 and I am getting an error of  Unable to Submit File
with a 401  Unauthorized error code when submitting to Cuckoo from Viper Web. Newer versions of Cuckoo requires an API token in the header to access the API according to the Cuckoo Docs https://cuckoo.readthedocs.io/en/latest/usage/api/#starting-the-api-server
To fix this, I had to replace this line (line 711) in views.py:
cuckoo_response = requests.post(uri, files=options)
with this
if cfg.cuckoo.cuckoo_modified:
    cuckoo_response = requests.post(uri, files=options)
else:
    auth_headers = {'Authorization': "Bearer {0}".format(cfg.cuckoo.auth_token)}
    cuckoo_response = requests.post(uri, headers=auth_headers, files=options)

Then I had to add an auth_token line to the cuckoo section of viper.conf
[cuckoo]
cuckoo_modified = False
cuckoo_host = http://localhost:8090
cuckoo_web = http://localhost:8000
auth_token = <Cuckoo API Key goes Here>

I assume this is similar or the same as this issue: https://github.com/viper-framework/viper/issues/785 right?

Yes, that is the same issue. For the module, you would need to edit cuckoo.py to something like this starting at line 65 :
if files:
    if cfg.cuckoo.cuckoo_modified:
            try:
                response = requests.post(api_uri, files=files, data=params,
                                         proxies=cfg.cuckoo.proxies, verify=cfg.cuckoo.verify, cert=cfg.cuckoo.cert)
    else:
        auth_headers = {'Authorization': "Bearer {0}".format(cfg.cuckoo.auth_token)}
        response = requests.post(uri, headers=auth_headers, files=options)

viper.conf file edit is listed above.
I haven't tested the module functionality with this config yet though.

Hi @acd62081 ,
Thanks for sharing your experience. Greatly appreciated!

Yes, that is the same issue. For the module, you would need to edit cuckoo.py to something like this starting at line 65 :
if files:
    if cfg.cuckoo.cuckoo_modified:
            try:
                response = requests.post(api_uri, files=files, data=params,
                                         proxies=cfg.cuckoo.proxies, verify=cfg.cuckoo.verify, cert=cfg.cuckoo.cert)
    else:
        auth_headers = {'Authorization': "Bearer {0}".format(cfg.cuckoo.auth_token)}
        response = requests.post(uri, headers=auth_headers, files=options)

viper.conf file edit is listed above.
I haven't tested the module functionality with this config yet though.

I tested above changes & had to update cuckoo.py as follows
 65         if files:
 66             if cfg.cuckoo.cuckoo_modified:
 67                 try:
 68                      response = requests.post(api_uri, files=files, data=params,
 69                                          proxies=cfg.cuckoo.proxies, verify=cfg.cuckoo.verify, cert=cfg.cuckoo.cert)
 70                 except requests.ConnectionError:
 71                      self.log('error', "Unable to connect to Cuckoo API at '{0}'.".format(api_uri))
 72                      return
 73                 except Exception as e:
 74                      self.log('error', "Failed performing request at '{0}': {1}".format(api_uri, e))
 75                      return
 76             else:
 77                 auth_headers = {'Authorization': "Bearer {0}".format(cfg.cuckoo.auth_token)}
 78                 response = requests.post(uri, headers=auth_headers, files=options)

Hi @acd62081 ,
Thanks for sharing your experience. Greatly appreciated!

Yes, that is the same issue. For the module, you would need to edit cuckoo.py to something like this starting at line 65 :
if files:
    if cfg.cuckoo.cuckoo_modified:
            try:
                response = requests.post(api_uri, files=files, data=params,
                                         proxies=cfg.cuckoo.proxies, verify=cfg.cuckoo.verify, cert=cfg.cuckoo.cert)
    else:
        auth_headers = {'Authorization': "Bearer {0}".format(cfg.cuckoo.auth_token)}
        response = requests.post(uri, headers=auth_headers, files=options)

viper.conf file edit is listed above.
I haven't tested the module functionality with this config yet though.

I tested above changes & had to update cuckoo.py as follows
 65         if files:
 66             if cfg.cuckoo.cuckoo_modified:
 67                 try:
 68                      response = requests.post(api_uri, files=files, data=params,
 69                                          proxies=cfg.cuckoo.proxies, verify=cfg.cuckoo.verify, cert=cfg.cuckoo.cert)
 70                 except requests.ConnectionError:
 71                      self.log('error', "Unable to connect to Cuckoo API at '{0}'.".format(api_uri))
 72                      return
 73                 except Exception as e:
 74                      self.log('error', "Failed performing request at '{0}': {1}".format(api_uri, e))
 75                      return
 76             else:
 77                 auth_headers = {'Authorization': "Bearer {0}".format(cfg.cuckoo.auth_token)}
 78                 response = requests.post(uri, headers=auth_headers, files=options)


Fix advi typo in manual

Summary:
This fixes a typo in the variational inference section of the manual. (Thanks to Bruno Jacobs for catching this one!)
Side Effects:
None
Documentation:
This only affects the documentation.
Reviewer Suggestions:
Anyone.

@akucukelbir, please undo the change to lib/stan_math. You're pointed at a commit that doesn't exist.

how do i do that? (i don't understand submodules [yet?])

I think the easiest thing is for me to undo it... it's just harder to
explain than to do it.
For future reference, git tracks submodules as its commit hash. If you
change the stan math library, you'll see it in your git status as
lib/stan_math having changes. Don't git add unless you want to intend to
change the math library.
On Tue, Nov 3, 2015 at 9:23 AM, Alp Kucukelbir<EMAIL_ADDRESS>wrote:

how do i do that? (i don't understand submodules [yet?])
—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/stan/pull/1665#issuecomment-153369760.

roger that. thanks!

Thanks for fixing these things --- the details are important.
Whenever someone suggests a fix we implement, please thank
them in the acknowledgements chapter of the manual.  There's
a list for code and a list for doc.

Bob

On Nov 3, 2015, at 9:14 AM, Alp Kucukelbir<EMAIL_ADDRESS>wrote:
Summary:
This fixes a typo in the variational inference section of the manual. (Thanks to Bruno Jacobs for catching this one!)
Side Effects:
None
Documentation:
This only affects the documentation.
Reviewer Suggestions:
Anyone.
You can view, comment on, or merge this pull request online at:
https://github.com/stan-dev/stan/pull/1665
Commit Summary
• Merge branch 'develop' of github.com:stan-dev/stan into develop
• Merge branch 'develop' of github.com:stan-dev/stan into fix-advi-typo-manual
• fixes T vs T^{-1} typo in variational inference section of manual
File Changes
• M lib/stan_math (2)
• M src/docs/stan-reference/advanced.tex (7)
Patch Links:
• https://github.com/stan-dev/stan/pull/1665.patch
• https://github.com/stan-dev/stan/pull/1665.diff
—
Reply to this email directly or view it on GitHub.

Also, you may find it easier to just comment on the ongoing
issue or open a branch matching whatever the next manual issue
currently is and fix it there.  Here's the current one for 2.8.0++
(they are always named with "next manual ++"):
https://github.com/stan-dev/stan/issues/1617
I added an issue to thank Bruno Jacobs in the acknowledgements.

Bob

On Nov 3, 2015, at 9:14 AM, Alp Kucukelbir<EMAIL_ADDRESS>wrote:
Summary:
This fixes a typo in the variational inference section of the manual. (Thanks to Bruno Jacobs for catching this one!)
Side Effects:
None
Documentation:
This only affects the documentation.
Reviewer Suggestions:
Anyone.
You can view, comment on, or merge this pull request online at:
https://github.com/stan-dev/stan/pull/1665
Commit Summary
• Merge branch 'develop' of github.com:stan-dev/stan into develop
• Merge branch 'develop' of github.com:stan-dev/stan into fix-advi-typo-manual
• fixes T vs T^{-1} typo in variational inference section of manual
File Changes
• M lib/stan_math (2)
• M src/docs/stan-reference/advanced.tex (7)
Patch Links:
• https://github.com/stan-dev/stan/pull/1665.patch
• https://github.com/stan-dev/stan/pull/1665.diff
—
Reply to this email directly or view it on GitHub.

thanks bob!
On Tue, Nov 3, 2015 at 2:29 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Also, you may find it easier to just comment on the ongoing
issue or open a branch matching whatever the next manual issue
currently is and fix it there. Here's the current one for 2.8.0++
(they are always named with "next manual ++"):
https://github.com/stan-dev/stan/issues/1617
I added an issue to thank Bruno Jacobs in the acknowledgements.

Bob

On Nov 3, 2015, at 9:14 AM, Alp Kucukelbir<EMAIL_ADDRESS>wrote:
Summary:
This fixes a typo in the variational inference section of the manual.
(Thanks to Bruno Jacobs for catching this one!)
Side Effects:
None
Documentation:
This only affects the documentation.
Reviewer Suggestions:
Anyone.
You can view, comment on, or merge this pull request online at:
https://github.com/stan-dev/stan/pull/1665
Commit Summary
• Merge branch 'develop' of github.com:stan-dev/stan into develop
• Merge branch 'develop' of github.com:stan-dev/stan into
fix-advi-typo-manual
• fixes T vs T^{-1} typo in variational inference section of manual
File Changes
• M lib/stan_math (2)
• M src/docs/stan-reference/advanced.tex (7)
Patch Links:
• https://github.com/stan-dev/stan/pull/1665.patch
• https://github.com/stan-dev/stan/pull/1665.diff
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/stan/pull/1665#issuecomment-153462665.

Jenkins, retest this please.

@bob-carpenter, if you think this is ok, can you merge? I don't know if you migrated this to the manual issue.

Two issues with that, so I don't think it should go in as is:

[ ] it uses \mathcal{N} for normals rather than \distro{Normal} we use elsewhere;  we should be consistent

[ ] Andrew insists on no semicolons in conditional distriutions

If I fix the whole thing, will it conflict with other requests?

fine on my end!

Bob, I don't understand your question. You can fix it here and it shouldn't
conflict. If it does, we'll figure it out.
On Tue, Nov 10, 2015 at 4:24 PM, Alp Kucukelbir<EMAIL_ADDRESS>wrote:

fine on my end!
—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/stan/pull/1665#issuecomment-155571686.

Even easier --- I'll just update notation when I deal with the manual.


ARROW-11804: [Developer] Offer to create JIRA issue

Rationale
Currently all contributors are required to make a JIRA account and do some mechanical JIRA creation to create well formed Arrow PRs. This is mindless work and people who are used to it may forget the barrier it imposes on casual contributions and burden on maintainers to keep JIRA synced.
Here is a good example of such a PR where we almost lost a potential contributor:  https://github.com/apache/arrow/pull/9576#issuecomment-786827957 (and despite @pierwill and I both working for InfluxData I swear I didn't put him up to this :) )
More discussion can be found on this mailing list thread
Changes
This PR modifies the merge_pr.py to offer to create a JIRA and link it back to github if a pre-existing JIRA can not be found. For the existing workflow where the PR title contains the appropriate JIRA reference, there is no change. With this change, devs / maintainers would only have to ensure the title of PRs started with the correct components, and JIRAs could be automatically created, if they so desire
The script requires ARROW_GITHUB_API_TOKEN to have been set to some token that has the ability to update PR descriptions.
Current behavior
If merge_pr.py is invoked on a PR without a JIRA ticket reference the following error occurs
(arrow_dev) alamb@MacBook-Pro:~/Software/arrow2/rust$ ../dev/merge_arrow_pr.py 9594
ARROW_HOME = /Users/alamb/Software/arrow2/dev
PROJECT_NAME = arrow
Restoring head pointer to 0f647261
Note: switching to '0f647261'.
...

HEAD is now at 0f6472610 ARROW-11778: [Rust] Cast from LargeUtf8 to Numerical and temporal types
Traceback (most recent call last):
  File "/Users/alamb/Software/arrow2/rust/../dev/merge_arrow_pr.py", line 597, in <module>
    cli()
  File "/Users/alamb/Software/arrow2/rust/../dev/merge_arrow_pr.py", line 566, in cli
    pr = PullRequest(cmd, github_api, PR_REMOTE_NAME, jira_con, pr_num)
  File "/Users/alamb/Software/arrow2/rust/../dev/merge_arrow_pr.py", line 309, in __init__
    self.jira_issue = self._get_jira()
  File "/Users/alamb/Software/arrow2/rust/../dev/merge_arrow_pr.py", line 336, in _get_jira
    self.cmd.fail("PR title should be prefixed by a jira id "
  File "/Users/alamb/Software/arrow2/rust/../dev/merge_arrow_pr.py", line 270, in fail
    raise Exception(msg)
Exception: PR title should be prefixed by a jira id ARROW-XXX or PARQUET-XXX, but found [Rust] Add link to the doc

New Behavior
With the changes in this PR, the maintainer is prompted to optionally create the JIRA ticket:
(arrow_dev) alamb@ip-10-0-0-49:~/Software/arrow2$ ./dev/merge_arrow_pr.py 9594
ARROW_HOME = /Users/alamb/Software/arrow2/dev
PROJECT_NAME = arrow
No JIRA link found
  Looked for PR title prefixed by ARROW-XXX or PARQUET-XXX
=== NEW JIRA ===
Summary		[Rust] Add link to the doc
Assignee	NONE
Components	Rust
Status		New

Create JIRA and link to PR? (y/n): y
  Created ARROW-11818

=== Pull Request #9594 ===
title	ARROW-11818: [Rust] Add link to the doc
source	alamb/alamb/test_change
target	master
url	https://api.github.com/repos/apache/arrow/pulls/9594
=== JIRA ARROW-11818 ===
Summary		[Rust] Add link to the doc
Assignee	NOT ASSIGNED!!!
Components	Rust
Status		Open
URL		https://issues.apache.org/jira/browse/ARROW-11818

Proceed with merging pull request #9594? (y/n):
...

Follow on Work

If this script is accepted, I would like to file a ticket to  improve the wording of the message left by the JIRA bot example to make it clear that the creation of a JIRA account + ticket is not required (though perhaps still encouraged for large changes)

Add additional mappings from PR description to components (I only added the ones I use and a few others to prove out the idea)

I think this is a good idea, if feels mechanical :).
Piggybacking a bit on this on communications in general. I find the level of entry (asides from PRs quite high). In the past I've asked something on the mailing list and on a JIRA issue and did not get any response. Is there at any time something considered as a chat/ discussions forum like gitter or github discussions?

In the past I've asked something on the mailing list and on a JIRA issue and did not get any response. Is there at any time something considered as a chat/ discussions forum like gitter or github discussions?

@jorgecarleitao  has mentioned something about that as well. I personally find it hard to keep up with the firehose of updates across the various channels of (PR, JIRA, mailing list) and so I spend most of my efforts / time in github as that is where the code lives.

I would agree that a discord channel would be easier to follow than the mailing list. It would also help new contributors to get familiar and ask questions that may take a lot of time to answer in the mailing list

@ritchie46 and @elferherrera , I agree with you. Arrow did have a slack channel, but that was closed. See rational here<EMAIL_ADDRESS>.
I suggest that you raise that in the mailing list so that we keep this discussion focused on JIRA's burden.

When should we set assignee?

@kou in order to set the JIRA assignee I think the code would need a mapping from github username to JIRA username. I could not find any such mapping. Since the original provenance of the code is tracked in Github (as github usernames), if someone feels the JIRA assignee field set is important, they can always post process tickets without the assignee set, find the github author, and update the JRIA accordingly.

It may be useful that we have a mode or separated tool just doing this. If we can do this before merge stage, we can sync all discussions after running this feature into the associated JIRA issue.

I think we could invoke this function as a standalone tool pretty easily. That might be a good follow on PR for anyone who would use it. However, I think getting contributors to switch to JIRA for discussion rather than Github pull request comments will be harder (as it requires changing people's behavior :) )

@jorgecarleitao after reading the discussion about slack channel I understand why they closed it. It makes sense since they want to keep all conversations stored and they also want traceability. However, we should specify that these real time chats should be used only for quick questions and ad hoc conversations. If someone wants to get consensus on a topic then it would be directed to the mailing list. That should be one of the many rules people using the chat must follow. Also, there should be individual channels for each language. The small mini cells that are being created for each language should be able to talk to each other in a rather simple and quick way. Don't you think so?

As an alternative approach, what if we had a GitHub Actions comment bot that would create a JIRA issue from your issue or PR? That would solve @kou's concern on the mailing list about only adding the JIRA at the end. Apache Way questions aside, a practical consideration for wanting the JIRA sooner is that we use JIRA actively to prepare a release, and it would be difficult to see how many open issues are left to merge for the current release if the issues haven't been made.

(I meant to start that with: thanks for taking the initiative to make our processes better! ❤)

(I meant to start that with: thanks for taking the initiative to make our processes better! ❤)

Thank you!

As an alternative approach, what if we had a GitHub Actions comment bot that would create a JIRA issue from your issue or PR?

@neilrichardson,
I think having the actions bot offer to create a JIRA issue for you would work great for me personally. The reason I didn't start from there was

Auto creating a ticket effectively removes the choice of should a ticket be created from the PR author and maintainer, and I worried we might create tickets accidentally for people who simply forgot the reference in the title as well as run into philosophical objections to such behavior.
Some surmountable but annoying technical concerns over credentials and not wanting to sort out JIRA authorization tokens / process for github bots (e.g. whose JIRA account credentials would it use,  etc, who would it assign, etc.)

In general, I felt the approach to adding an optional, manually acknowledged step, to merge_pr  was a minimal change to the workflow that improved experiences (merge_pr.py was going to exit anyways),  and left the maintainer in control of if a JIRA should be created.
Clearly my attempt to dodge the "should we still be using JIRA" conversation failed miserably - LOL. I know of few other topics that incite such passion than engineering process and workflow tools!

In general, I felt the approach to adding an optional, manually acknowledged step

I agree. What I'm envisioning is that the existing bot that says "Thanks for opening a pull request! Please name your PR with ARROW-XXXX: Issue Title, or go to JIRA and make an issue" would instead say "Thanks for opening a pull request! Please name your PR with ARROW-XXXX: Issue Title, or comment please make a JIRA on the PR to have me make one for you". And a similar message for new GitHub Issues. That way, the contributor doesn't have to leave GitHub if they don't want, but we get the JIRA issue up front too.

Thanks @dianaclarke  -- I am not sure what the fate of this PR will become. I thought it improved the workflow but the discussion on the mailing list left me a bit confused.
My confusion largely stems from the various different topics that came up but I never did get an answer to this particular PR's code (nor do I really want to spend time starting another lengthy discussion about the pros and cons of JIRA :) )

I'm also not entirely sure where the conversations left off. Mostly, I was just reading this code as a learning exercise, so don't mind me ;)

I think we failed to reach consensus that this PR did more good than harm, so closing it


feat(AP-1914): Adding ability to disable DNT support

This adds a config flag to disable support for the deprecated doNotTrack spec.

/hotfix

hotfix-v1.23-v1.22


added css as an export and wrote test for checking it

Fixes.
https://github.com/flowtype/flow-typed/pull/2190#issuecomment-391615925

I tried in local and it works for me