New environment capture script features

On issue #25461, added:

CUDA/cuDNN version
GPU model and memory
Bazel version

refactored to functions:

OS Platform and Distribution
GCC/Compiler version

Nagging Reviewer @aselle, @jianlijianli: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 18 days with no activity and the awaiting review label has been applied.

Hi there @rthadur @aselle @jianlijianli - would you like me to better document the changes I made to facilitate the review process ?
Would a stacked PR be better perhaps ?

I'm not a good reviewer for this.

(I'm also unfamiliar with this script, I think @aselle would know the best person to redirect this to)

Sorry but I'm not a good reviewer for this change.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 29 days with no activity and the awaiting review label has been applied.

#25833 has been merged to address the same issue so closing this PR , thanks for your contribution.


PDF generation of SVG graphics is in low quality because Opacity Attribute

Which version of PhantomJS are you using? Tip: run phantomjs --version.
2.1.1

What steps will reproduce the problem?

Convert the HTML below ( with a simple SVG) to a PDF using phantomJS

Which operating system are you using?
Windows 8

Did you use binary PhantomJS or did you compile it from source?
Binary PhantomJS

Please provide any additional information below.
When Converting the HTML below to a pdf using PhantomJS we get a low quality results because  the SVG has Opacity Attribute

<!doctype html>

</div>

SimpleSVG.docx


Fixed unwanted behavior of ranges

In the current version, empty ranges where first > last, for example, range(7,3) just keeps counting upwards instead of doing nothing. This PR fixes this issue.

Dear @chuffa,
Thank you for your pull-request.
For negative step-sizes however the range should not be empty even if first > last.
Let me know what you think about my suggested changes.

Thank you @chuffa !


GCP: Snapshot

Represents a Persistent Disk Snapshot resource.

Create snapshots to periodically back up data from your zonal persistent disks or regional persistent disks. To reduce the risk of unexpected data loss, consider the best practice of setting up a snapshot schedule to ensure your data is backed up on a regular schedule.

API:
https://cloud.google.com/compute/docs/reference/rest/v1/snapshots

Update InstanceAttachedDiskInitializeParams with sourceSnapshot field when done.

depends on #21


Support skip_metadata on packages/<project-id>/latest request to boost performance

Serve only md5 checksum instead of sha256 checksum to gain extra performance when downloading packaged files in QField. The sha256 causes N+1 requests to the S3 storage, therefore makes the QFieldCloud response on the packages/<project-id>/latest endpoint super slow.
See https://github.com/opengisch/QField/pull/5040

Task linked: QF-1724 Consider using etag instead of sha256 metadata in S3 to gain performance in files and package views


Create 404.html

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


Days of buffering

Awesome! I'm going to give this a whirl myself. Thank you!

It looks like this is incompatible with "Hide Age of Money". Is it possible to make these work together?

I'll double check tomorrow and see if I can make the CSS selectors over there more specific.

Yeah, I see some huge bugs there. Going to push fix soon. Shouldn't do that in enthusiasm rush. Thx guys.

Hope I fix all here
https://github.com/blargity/toolkit-for-ynab/pull/52


Model Builder throws error when first trial encounters recoverable error

Tracking from #1602
When the first trial encounters a recoverable error (out of memory for instance), the experiment still fails because the pipeline suggestor was not initialized correctly. And when updating the pipeline suggestor with a fail trial, it throws a null object exception.
This issue is hard to reproduce because we always start from a small model. It should be able to triggered with a VM with small RAM and a large classification dataset with lots of different labels. For example, https://github.com/dotnet/machinelearning-modelbuilder/issues/1602#issuecomment-913391805

Can repro this issue on: <IP_ADDRESS>6904 (Main)

Column settings:

Looks like the error has been fixed since the exception is "Train time finish without any model trained", which is expected

okay, move to "Read To Ship" as the exception is expected.


OS X: Opening New Tab Doesn't Always Stay in the Same Directory

This just started happening a few months ago. For some reason if I navigate to any directory or subdirectory in my ~/Dropbox/Projects when I open a new tab in Terminal.app it doesn't stay in the same directory but goes back to my home directory.
Now, if I do this switch to an old commit: https://github.com/robbyrussell/oh-my-zsh/commit/99468cb4ec38f11b78ac71cae0c9ac70ac0a516e (random old commit)
cd ~/.oh-my-zsh
git checkout -b old-branch 99468cb4ec38f11b78ac71cae0c9ac70ac0a516e

Close Terminal and reopen it, everything works as expected. If I checkout the master branch of oh-my-zsh again and close Terminal and reopen it, the problem occurs again.
This happens with or without the osx plugin. This only happens in some directories in my home directory. Maybe it has something to do with path length? I'm unsure now.
Oh ya, this happens on both Lion and Mountain Lion.
Any thoughts on the problem?

Are you guys using iTerm2? Can you upgrade and check if it's solved? (we pushed a recent solution)

No, I was just using the Terminal.app. I can't remember how I fixed the
issue... either downloaded a new version or reverted to an old version.
On Tue, Feb 10, 2015 at 4:18 PM, Marc Cornellà<EMAIL_ADDRESS>wrote:

Are you guys using iTerm2? Can you upgrade and check if it's solved? (we
pushed a recent solution)
—
Reply to this email directly or view it on GitHub
https://github.com/robbyrussell/oh-my-zsh/issues/1527#issuecomment-73796311
.

--
Simple & Secure Bitcoin Wallet: https://www.coinbolt.com
https://www.coinbolt.com
Bitcoin / JavaScript: http://cryptocoinjs.com http://cryptocoinjs.com
Follow JP Richardson: https://twitter.com/jprichardson
https://twitter.com/jprichardson

Would you mind trying the newest release? You can backup your existing installation just in case.

Hey! I mistook iTerm2 for Terminal.app. See https://github.com/robbyrussell/oh-my-zsh/issues/3570#issuecomment-73943556 for a working solution (you'll have to upgrade though).


add getWrappedInstance to withRouter.js

add support for getWrappedInstance inspired by react-redux

This is not appropriate as a default. Among other things it won't work if the wrapped component is a functional component. You can take a look at how React Redux does it if you want.


Update codeowners

As I'll be doing a lot here

@ngam, or you can change this repo to the particula format of multiple reviewers (this fix was the first I found)


Eggnog Annotate Function Ready

Hey @Keegan-Evans, similarly to the q2-moshpit PR, could you maybe fix the flake8 warnings here to build the pkg successfully?


[CP Staging] Revert "Create Cancel Payment command"

Straight reverts Expensify/App#32674
The PR has caused numerous deploy blockers in App:

https://github.com/Expensify/App/issues/33507
https://github.com/Expensify/App/issues/33513
https://github.com/Expensify/App/issues/33540
https://github.com/Expensify/App/issues/33508
https://github.com/Expensify/App/issues/33509

Some might be considered as not a blockers but I think given the number of these and that the author is ooo I will revert the PR and we can just fix this in the second attempt

Removing emergency label because this was a straight revert

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.4.16-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/mountiny in version: 1.4.16-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Access violation when creating a reader

This is the 190227 version of OSPL built using visual studio 17, win32. In the debug build of the win32 version there is an access violation when trying to create a reader..
Exception thrown at 0x0F0E31A7 (vcruntime140d.dll) in MstaRuntimeTest.exe: 0xC0000005: Access violation reading location 0xCDCDCDCD.

This happens even when the reader is created all with default values, the location looks like its the copy constructor of the ShareDelegate, trigger from line 604 in the common_constructor in TDataReaderImpl.hpp, the stack trace is as follows:
 	vcruntime140d.dll!memcpy(unsigned char * dst, unsigned char * src, unsigned long count) Line 657	Unknown
 	dcpsisocpp2d.dll!std::char_traits<char>::copy(char * const _First1, const char * const _First2, const unsigned int _Count) Line 471	C++
 	dcpsisocpp2d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Construct_lv_contents(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right) Line 2403	C++
 	dcpsisocpp2d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right) Line 2132	C++
 	dcpsisocpp2d.dll!org::opensplice::core::policy::ShareDelegate::ShareDelegate(const org::opensplice::core::policy::ShareDelegate & other) Line 2270	C++
 	dcpsisocpp2d.dll!dds::core::Value<org::opensplice::core::policy::ShareDelegate>::Value<org::opensplice::core::policy::ShareDelegate><org::opensplice::core::policy::ShareDelegate>(const org::opensplice::core::policy::ShareDelegate & arg) Line 53	C++
 	dcpsisocpp2d.dll!org::opensplice::core::policy::TShare<org::opensplice::core::policy::ShareDelegate>::TShare<org::opensplice::core::policy::ShareDelegate>(const org::opensplice::core::policy::TShare<org::opensplice::core::policy::ShareDelegate> & other) Line 66	C++
 	dcpsisocpp2d.dll!org::opensplice::sub::qos::DataReaderQosDelegate::DataReaderQosDelegate(const org::opensplice::sub::qos::DataReaderQosDelegate & other) Line 62	C++
>	MstaRuntimeTest.exe!dds::sub::detail::DataReader<Msta::Runtime::Data::Application>::common_constructor(dds::sub::DataReaderListener<Msta::Runtime::Data::Application> * listener, const dds::core::status::StatusMask & mask) Line 604	C++
 	MstaRuntimeTest.exe!dds::sub::detail::DataReader<Msta::Runtime::Data::Application>::DataReader<Msta::Runtime::Data::Application>(const dds::sub::TSubscriber<org::opensplice::sub::SubscriberDelegate> & sub, const dds::topic::Topic<Msta::Runtime::Data::Application,dds::topic::detail::Topic> & topic, const dds::core::TEntityQos<org::opensplice::sub::qos::DataReaderQosDelegate> & qos, dds::sub::DataReaderListener<Msta::Runtime::Data::Application> * listener, const dds::core::status::StatusMask & mask) Line 569	C++
 	MstaRuntimeTest.exe!dds::sub::DataReader<Msta::Runtime::Data::Application,dds::sub::detail::DataReader>::DataReader<Msta::Runtime::Data::Application,dds::sub::detail::DataReader>(const dds::sub::TSubscriber<org::opensplice::sub::SubscriberDelegate> & sub, const dds::topic::Topic<Msta::Runtime::Data::Application,dds::topic::detail::Topic> & topic, const dds::core::TEntityQos<org::opensplice::sub::qos::DataReaderQosDelegate> & qos, dds::sub::DataReaderListener<Msta::Runtime::Data::Application> * listener, const dds::core::status::StatusMask & mask) Line 298	C++
 	MstaRuntimeTest.exe!DdsTest_CreateReader_Test::TestBody() Line 35	C++
 	MstaRuntimeTest.exe!testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void>(testing::Test * object, void(testing::Test::*)() method, const char * location) Line 2482	C++
 	MstaRuntimeTest.exe!testing::Test::Run() Line 2499	C++
 	MstaRuntimeTest.exe!testing::TestInfo::Run() Line 2678	C++
 	MstaRuntimeTest.exe!testing::TestSuite::Run() Line 2806	C++
 	MstaRuntimeTest.exe!testing::internal::UnitTestImpl::RunAllTests() Line 5244	C++
 	MstaRuntimeTest.exe!testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool>(testing::internal::UnitTestImpl * object, bool(testing::internal::UnitTestImpl::*)() method, const char * location) Line 2482	C++
 	MstaRuntimeTest.exe!testing::UnitTest::Run() Line 4845	C++
 	MstaRuntimeTest.exe!RUN_ALL_TESTS() Line 2505	C++
 	MstaRuntimeTest.exe!main(int argc, char * * argv) Line 64	C++
 	[External Code]

The release build seeming works fine, passing all our tests. Oddly the win-64 build works fine in release as well as with the debug libraries. Is there anyway I can work around this ? Or fix it ?

I've heard about issues before when trying to combine debug- and release-builds of applications- i.c.w. DDS(-library) code .. could that be an issue here too (i.e. are you sure you're not combining a release-built application with a debug-built dds-library and vice-versa) ?

When using a debug application with a release build of opensplice you also have to set the NDEBUG preprocessor flag in visual studio.

@hansvanthag @ThijsSassen, This is using Opensplice built with release but the customlibs built as debug (this method was documented somewhere in the OSPL docs)  i.e. here are the dds libraries that I am linking with
D:\tools\dds\9-6-190227-virtualbox\HDE\x86.win32\lib\ddskernel.lib
D:\tools\dds\9-6-190227-virtualbox\HDE\x86.win32\lib\dcpsisocpp2d.lib
D:\tools\dds\9-6-190227-virtualbox\HDE\x86.win32\lib\dcpssacppd.lib

If it makes a difference I can also build all of DDS under debug, but then the documentation should be updated as well.

@HarryDC When using the debug lib of isocpp2 you need to have set the following flags in visual studio:
C/C++ -> Preprocessor -> Add _DEBUG (as well as leaving NDEBUG set)
C/C++ -> Code Generation -> set Multi-threaded Debug DLL (/MDd) instead of Multi Threaded DLL (/MD)
see also https://istkb.adlinktech.com/article/compiling-isoc2-applications/

@ThijsSassen I missed setting NDEBUG in my own project, thanks (under 64bit builds  this does seem to be necessary), that has done the trick. Thanks


Not able to retrieve the Message boby from response

Hi,
I am not able to retreive message body response as I am getting rsponse as string but I am using application/json

Response 200 (application/json)

Can you please help me out to overcome this issue

Hi,
It's my bad there is no issue with Aparyio. I have fixed that on my end


Ensure m3d faces in non-decreasing materialid sequence

This modification replaces the expensive qsort protection with an insertion sort that is near-instantaneous in the expected ordered case.
The changes desk-check and they compile.  It is not confirmed in a running application and I am guessing that I have satisfied raylib coding style.
PS: This is modeled on Donald Knuth's Algorithm 5.2.1S (Straight insertion sort) and is a refinement of that and the code @DaveH355 provided earlier in order to handle mostly-ordered faces as quickly as possible.

I should add that this defensive approach is consistent with the steps taken a few lines below where this modification is inserted:
 // there should be only one material switch per material kind, but be bulletproof for non-optimal model files

@orcmid Thank you very much for the review but as stated in the M3D specs, this sorting is not needed any more. I prefer to avoid extra code for non-allowed side cases. In any case I can replace the qsort() statement with this code but it should remain commented, only for reference.

I think most folks are very reluctant to maintain a patched raylib, and only a small subset will even read this, so commented-out defenses don't seem particularly helpful to me.
I'm not going to argue.  It's your project.

As commented, I'm merging it for reference but keeping it commented. It is not required for as per the official M3D specs.

Side note, raylib does not use the do { } while approach anywhere in the library.

@raysan5

Side note, raylib does not use the do { } while approach anywhere in the library.

In this particular case it works perfectly with rapid checking for already-sorted elements.   I use this so rarely I had to look it up to ensure I was using it correctly :).


CLI does not work

Running the npx create-supertokens-app@latest command from the supertokens.com home page results in:

Which OS, and version are you using? Also, which node version are you using?

Keep in mind that we only support node 14+ for the CLI. So can you try upgrading your node version and trying again?

I'm using Ubuntu 22.04 (which is the latest long term support release).
Ubuntu's default software repository installs node 12. That was the issue. Thanks.


Update ref data O_AMELAND

@adokter has added biometric data, data should be updated at Movebank and Zenodo. Pending:

[x] sex has not been filled out for Balgzand and Ameland, but may be currently available following blood analysis? not available
[x] RB-BBOK (Ameland) with ring number 5421281 in uva-bits has ring number 5331610 in my excel sheet

Incorrect ring number 5421281 has only 282 GPS records in 2010 and no acceleration data, so it's not a huge hassle to replace it on Zenodo/Movebank. I would therefore correct the number to 5331610 in UvA-BiTS.

Not changed yet in UvA-BiTS, but manually search/replaced and reuploaded to Movebank and Zenodo (which also has updated datapackage.json and biometric data).


Project requires Bazel 2.2.0 which does not exist

Describe the bug
There is no Bazel 2.2.0 in npm https://www.npmjs.com/package/@bazel/bazel
2.1.0 is the latest
To Reproduce
Follow the first step of "getting started"
npm install -g<EMAIL_ADDRESS>

The latest Bazel version is 3.1: https://blog.bazel.build/2020/04/21/bazel-3-1.html
2.2 was released on March 3rd.
Apparently they're no longer pushed as NPM packages though… Time to use Bazelisk to autoinstall Bazel?

We are updating our instructions to use bazelisk. Please use it instead.


feat: copy update.

Replace copy on RHS with this:
"UKCharityCamp is an unconference for people who want to explore how to use digital to help the third sector do more for their communities. It's a space for conversations, not-for-profit, free to participants, open to anyone, with travel bursaries for those who need them.
A range of third sector folk attended in 2023; from trustees to people at smaller charities who have to “do digital” as well as everything else to heads of digital at larger organisations. We did our best to make it a welcome and inclusive place for everyone from experts to complete beginners. Diverse experiences made for a better event.
As UKCharityCamp is an unconference, the agenda was worked out at the event by the people who were there. Folks came along with their questions, challenges, ideas and experiences to share. It was a genuinely inspiring day, so we're doing it again.
Grab a ticket if you'd like to join us in Birmingham on Thursday 28 November 2024."

Closed by https://github.com/neontribe/UK-Charity-Camp/pull/111


2023 papers

Is it possible to update your store to include 2023 papers?

I'll put it in the backlog!


remove Pyspin_example

Anything that's not related to Neurobooth should be removed from repository. For example:
https://github.com/neurobooth/neurobooth-os/blob/master/neurobooth_os/iout/pyspin_Example.py

closed by #45


clean up rfc tests

The rfc tests have technical debt that needs clearing pre-release

What can we improve here?

I think its good enough actually. We can always improve it later. The library has very high coverage and very high quality of tests. So they aren't "perfect" but it isn't worth worrying about now.


[SPARK-47086][BUILD][CORE][SQL][UI] Migrate from Jetty 11 to Jetty 12

What changes were proposed in this pull request?
This is a draft MR to upgrade Jetty deps from 11 to 12.
Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

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

This is a draft MR and I'm still working on it.

@dongjoon-hyun @LuciferYang
During the past few weeks, I managed to re-write / update, all Jetty-related classes, things look fine in most of the Java / Scala classes.
However, due to the new handler class structure that Jetty 12 introduced, I'm not sure is that feasible to replicate what ProxyRedirectHandler is performing now.
If I understand correctly the initial intent of ProxyRedirectHandler is to override the redirect behaviour, in the case that Jetty decides to redirect the given request, BEFORE the request reaches any of the servlets.
However in Jetty 12, all Jetty handlers are switched to use the Jetty Request and Response wrapper object, hence it's no longer possible to override the redirect behaviour via the sendRedirect method call.
I have checked on the Jetty upgrade guide, which the guide suggests that all  sendDirect() should be rewritten with  Response.sendRedirect(request, response, callback, location).
However in this case we no longer have to control URL rewrite, because this is a static method from Jetty lib.
I wonder if you guys have an idea on this / or if any visible alternative can be implemented instead?

Thank you for sharing your AS-IS status, @HiuKwok .
For the following, it's a little surprising to me.

However in this case we no longer have to control URL rewrite, because this is a static method from Jetty lib.

Hi, @HiuKwok . If Jetty 12 is missing the URL rewrite feature and we cannot use it, it's okay to add some comments and stop this migration effort.

@dongjoon-hyun Sure thing, let me revisit this and do it accordingly.

Left a comment on the Jira ticket and I'm closing this MR for now.

Thank you for all of your contributions here, @HiuKwok !


Support Stripe Connect by adding stripe_account header namespace for customers

The Stripe library allows us to use pretty much every API call with an optional stripe_account key/value pair that is the Stripe user ID of the connected account.  For example:
Stripe::Customer.update(connected_customer.id, { some: 'hash with customer data' }, stripe_account: 'some_stripe_user_id_string' )

The current implementation of this mocking library does not correctly mock this API. It will always use the default Stripe API key, when it should determine which API key to use based on the stripe_account key.
Any data relative to that account should be namespaced accordingly for future retrieval later when using the same stripe_account data.
For example, if you are creating a customer using  stripe_account: customer_1_stripe_id, then this customer should not appear in a Customer.list call using strip_account: customer_2_stripe_id.
This PR accomplishes this by namespacing the mock requests and data based on the stripe_account key...and if it's not provided, we default back to the app's Stripe API key.

What do I need to do to get this merged?

I've been using these changes for several months on a private branch so think they are good to merge. Merging this in.


[Feature Request]: Clarifai & Autogen

Is your feature request related to a problem? Please describe.
Clarifai is an AI-serve and services provider with an absolutely amazing API.
Describe the solution you'd like
I'm going to work clarifai into different features in autogen, for example to create system prompts for the agent builder and to be able to discover , compose and use various AI pipelines hosted on the clarifai platform :-)
Additional context
No response
### Tasks
- [ ] create a clarifai custom client with basic functionalities in clarifai

Thanks! Take a look at support for custom client. It has been added in 0.2.10. Maybe a custom client for Clarifai could be a first step.

great suggestion ! the custom client is long awaited and can be used in many more ways than one , this could be a good example of advanced useage, and hopefully a useful tool too :-)

hopefully i'll make a cool demo with @ekzhu by the end of this month :-) it could also be related to https://github.com/microsoft/autogen/issues/1519 in the sense that it can go there too.

closing as stale, please reopen if you plan to continue to work on this.


convert to use Perl 6

you mean the URL: use.perl6.org ?

Probably the Perl 5 code in this repository.

The code in this repository.
In fact, it doesn't look to be too tremendous, but one has to know Perl good enough to port it.


React incompatibility: do not preserve children as an empty array

const react = require('react')
react.createElement('div', {}, []).props.children
// -> []

const preact = require('preact-compat')
preact.createElement('div', {}, []).props.children
// -> undefined

Preact compat nulls children here.
I’ve added a test to show it but not sure what could be the proper fix for that 😕

Happy to have the test, thanks!

I believe I have the same issue here when I use react-dates
Failed prop type: DateRangePicker: unknown props found: children
Failed prop type: DayPickerRangeController: unknown props found: ref, children
...


question: requiring this module fixes my segfault problem. What am I doing? :-D

Leaving this here where maybe people with some experience debugging node native modules might suggest some ideas.
I'm having a problem with a native node module crashing. That module is here: https://github.com/webosose/nodejs-module-webos-sysbus
While trying to track down the point of the crash, I discovered node-segfault-handler.  I built that for the target system, and I require it as the very first thing in my source.  The crashing has stopped completely (well , at least for the first 500 attempts . . it was a random problem, but it was happening at least 1 in 10 times before)
Any ideas what might cause something like that?
I'm using nodejs 6.11.2 on the target environment, but that doesn't seem to make any difference.

https://nodejs.org/dist/v8.9.3/docs/api/cli.html#cli_abort_on_uncaught_exception
If you can cause the process to segfault and dump core it can be inspected with gdb. You need to ensure that the correct ulimit is set to allow dumping core files (ulimit -c unlimited).


fix filter bug

PR Fixes:

1 Fixed the Filter not working bug

Resolves #580
The main cause for the issue was the default value of the cohort being 0 in the tracks table which was considering the cohort value to be zero which doesn't exist
Preview of the fix:

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

Hey @hkirat @devsargam,
This PR addresses two key issues:
Fixed the cohort button logic - now only one cohort (2 or 3) can be selected at a time.
Resolved the filtering issue caused by the default cohort value of 0 in the tracks table.
Let me know if you'd like any tweaks  or if there's any issue!

This caters for a different issue related to the button toggle but please check this once, I hope it make sense and is what @hkirat was referring to.

Hey @DeepanshuMishraa able the run locally after the recent commit?
im getting this error after pulling the recent commits(was working fine last i checked 2 days back)

saw the logs in docker desktop and it breaks while seeding probably

@devsargam could you help please, should i raise an issue for this?

Hey @DeepanshuMishraa able the run locally after the recent commit?
im getting this error after pulling the recent commits(was working fine last i checked 2 days back)

saw the logs in docker desktop and it breaks while seeding probably

@devsargam could you help please, should i raise an issue for this?

Yeah I was facing the same, I guess something is wrong with dockerfile
Just start a postgres db locally and replace the db string in .env

Hi guys, can u start the project mannually

Seems like this wasn't a bug. Closing for now. Reopen if you think it is


Enable the OpenLab CI in Envoy

The OpenLab CI configuration has been approved in https://github.com/envoyproxy/envoy/pull/6981 [1], there is only one step to enable the OpenLab CI in envoy project.
Here is the link to install the OpenLab APP [2]:
https://github.com/apps/theopenlab-ci
Note that the OpenLab CI github APP only require basic permissions to update check status and commit test result log URL in PR comments, you can see permission details in APP installation web page [2].
After installation, the OpenLab CI will be triggered in every PR.
Note that, as the first version, the job has been marked as non-voting [3], that means the build job result is just a reference for developer and would not block the PR to be merged. Once we make sure the job can be executed stable, then we can mark it as normal voting job.
[1] https://github.com/envoyproxy/envoy/pull/6981
[2] https://github.com/apps/theopenlab-ci
[3] https://github.com/envoyproxy/envoy/blob/master/.zuul.yaml#L14

Hi @Yikun, optimally we would not need to setup an app for this. Can we potentially just setup a webhook?

Hi, @mattklein123 , much thanks for your reply. The answer is Yes [1], but it's not a recommend way.
AFAIK, the Github app is a simple way to set a series webhooks and permisions configurations. I guess your mainly concern is the repo security?
Actually, the Openlab APP only requires minimize permissions, and all requested permission would be listed when you install the app, looks like:

There is no access to code, only requires some read permissions to trigger job, and write the commit status/pull request to set the CI result.
Note that, If the app permissions is changed, the updated permissions won't take effect on an installation until the owner of the account or organization approves the changes [2].
So, we recommended us to use the Github app to set the webhooks and permissions, it is a safer and more convenient way.
[1] https://zuul-ci.org/docs/zuul/admin/drivers/github.html
[2] https://developer.github.com/apps/managing-github-apps/editing-a-github-app-s-permissions/

@Yikun it does require write access to status, PRs, etc. Can we just start with a web hook for now and if it becomes problematic we can revisit? If you let me know what webhook to install I can do that.

@mattklein123 I have to sorry to say currently the Openlab only support the Github app way to enable the CI. As I mentioned before, the webhooks way will bring some maintenance problem in the Openlab. Could the team consider to use Github APP? : )

@mattklein123 IIUC the r/w access to commit statuses and pull requests means it will update the status of a commit (like Azure Pipeline does for its check), and comment on PRs. It won't be able to commit code etc so I guess it is fine, unless we have other solution for CI that support ARM.

@lizan I have no idea what OpenLab CI is (sorry @Yikun) so that is where the pushback is coming from. @lizan if you vouch for it no objection from me to add the app.

@mattklein123 Never mind, I guess it was my misleading explanation that led to your misunderstanding. If the team still have some discussion need to be continued, you could feel free to comment, I'd like to do the deep explanation. : )
And looks like the periodic envoy-build-arm64 [1] are still going on fine, so please go ahead and enable this [2] when appropriate.
[1] http://status.openlabtesting.org/builds?job_name=envoy-build-arm64
[2] https://github.com/apps/theopenlab-ci

I will just defer to @lizan to approve. If he says it is OK I will enable the app. :)

The app seems safe in term of GH permission given that it is also used in some projects in kubernetes org (https://github.com/kubernetes/cloud-provider-openstack), though I'm concerned about it's noisy comments after seeing PRs in that repo. @Yikun can you elaborate more on what the app will do based on the current configuration?
Also the current job doesn't run any tests but just produce binary, I'd like to see it runs full tests as well.

can you elaborate more on what the app will do based on the current configuration?

@lizan Sure. The OpenLab app will only trigger the envoy-build-arm64 job in every PR(every update), and will give a result to show the build is passed or failed, just like the demo [1] shown. The job will be also triggered when user type the recheck or reopen the PR. And the OpenLab is also using in some other CNCF project like cloud-provider-openstack [2], containerd [3], you can also take a look.

Also the current job doesn't run any tests but just produce binary, I'd like to see it runs full tests as well.

Yes, the current job only do the envoy-build-arm64 to verify the envoy can compiled and build in aarch64, it's a first step.
We definitely can also continue to enable the more complex test cases after we enable the OpenLab APP, you could feel to tell me what's we really want to verify when every update commited. : )
[1] https://github.com/theopenlab/envoy/pull/3
[2] https://github.com/containerd/containerd/pull
[3] https://github.com/kubernetes/cloud-provider-openstack/pull

@lizan As we talked F2F in KubeCon Shanghai, the team prefer to use a CI without any extra comments.
And I add a demo to show what the no comments check looks like, and it can be found in https://github.com/theopenlab/envoy/pull/6.
And what we need to change in Envoy is that, change the check to check-no-comments [1]. If we don not have other question, I will submit a PR. : )
[1] https://github.com/envoyproxy/envoy/blob/1dc5f64/.zuul.yaml#L3


EXO-37 ⁃ Update README.md

┆Issue is synchronized with this Jira Task by Unito

Up to date with commit 01d18ae


Added bin file for compilation to work

Noticed that there is a bin file called rosidl_generator_swift need for the installation to work. It installed successfully on my Mac. Does this work for you too?

Oh, thanks for catching that! I actually do have that bin file, but the gitignore template I've been using apparently auto-ignores any bin directory. I just pushed my changes with the correct python bin. Yours looks slightly different, mentions of objective C which may or may not be accidental. The readme changes are helpful though so I'm happy to merge those

Will do!


fix(QTREES-350): Broken tree url reloads

This PR replaces the dot in the URL with a triple --- and replaces the dot back on load. This prevents the 400 when reloading.

:tada: This PR is included in version 1.0.0-staging.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


drivers: can: update for k_timeout API

The timeout parameter for the CAN API is a signed integral number of
milliseconds.  The API does not document behavior on negative values,
but from legacy use of K_FOREVER a value of -1 disables the timeout.
Update the documentation to not suggest using K_FOREVER (which is not
necessarily an integer), and replace the in-tree misuse of that
constant.
Signed-off-by: Peter Bigot<EMAIL_ADDRESS>

Dropping: will need rework anyway when cross-API solution from #24267 is merged.

@pabigot any updates? Do you reopen when #24267 is merged?

These PRs are permanently closed; if #24267 is merged the documentation changes in them are also wrong.  I believe @carlescufi may be taking on the task of providing replacements based on #24343 and corrected documentation but he may delegate it, possibly to me.  At this time I have no plans related to this area.


How to opt out of the on dom ready triggering of respimage

It seems to me that respimage is triggered on dom ready event. is there a way to opt out of this behaviour ?

respimage is already run also ealier. It is crucial to polyfill images as soon as possible. You can monkeypatch the respimage._.fillImgs to intercept polyfill calls, but in 90% of all use cases you should find another way.
What do you want to achieve exactly?

I set the srcset property lazily. So I want the polyfill to process the image after setting the property. I tried to use the reevaluate option but it didn't help

Ok, this is not the way to go.
In case you don't need to support IE8, I suggest that you use the mutation plugin.
With this plugin scripting respimg makes fun. For example you don't need setAttribute/getAttribute you can use the srcset property for example.
document.querySelector('img').srcset = 'foo.jpg 200w';

In case you need to support IE8, have a look how I'm handling it.

Having to load an entire plugin to trigger a straightforward behaviour is not the answer I was looking for. All I need is either not to process images on load, or process them but allow me to force a reprocess prevented by the initial processing of images.

Using this plugin is actually a nice and straight forward solution. The filesize of this plugin only adds 2kb gzipped, so it's quite small.
In case you don't want to load it. You need to use the reparse option for triggering reparsing, but in case you have also changed the srcset attribute of the image, it's a little bit more complicated and you need to remove the cached srcset.
var img = document.querySelctor('img');
img.setAttribute('sizes', '33vw');
respimage({reparse: true, elements: [img]});

var img = document.querySelctor('img');
img.setAttribute('srcset', 'image.jpg 2x');
if(img[respimage._.ns]){
    img[respimage._.ns].srcset = undefined;
}
respimage({reparse: true, elements: [img]});

I already give you 3 solutions:

Use respimage._.fillImgs to intercept polyfill calls
Use the mutation plugin, this is exactly for what it was developed
Extract the same code used in this plugin or in lazysizes to trigger a reparse or see the extraction above.

In case you want help I would appreciate it, if you would be a little bit more gentle.

Thank you for taking the time to help, I have nothing but respect and admiration for you and I apologize if my reply conveyed otherwise.

While I still think, you should give the mutation plugin a try. I made some improvements to the respimage API without the use of any plugin.
It is currently only in master and is documented. Feel free to test and maybe report some problems or in case you have a bugfix or an improvement for the documentation make a PR. Thank you.

I tried it and it works great for my use case ... will update if I run into any other issues. Thank you.

I tagged this version as an RC (https://github.com/aFarkas/respimage/releases/tag/1.3.0-RC1). All tests are run and green in all supported browsers/devices, so you should be good to go. Will release a new version in the next 1-2 days.

I just found that reparse works fine as long as you have a src property set, if it is not set even though srcset is set the image is not reevaluated. this line might be the cause

Can you make a simple testcase what you mean here? Don't really understand. It works for me: here is my testcase:
http://jsfiddle.net/trixta/zemf3ytu/
As you see, the image has a src and I'm changing the srcset succesfully.

here is the same example without an initial src:
http://jsfiddle.net/trixta/zemf3ytu/4/

You are correct. srcset is not set properly and that is why I am getting this issue.
Thank you again.


HOLO-533: Add registry tests

Describe Changes
I made this more better by doing ...

Add tests for HolographRegistry contract
note: I did not manage to implement the "inherited contract calls"

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] Code styles have been enforced
[ ] All Hardhat tests are passing

@sogoiii
  describe('init()', async function () {
    it.only('should successfully be initialized once', async function() {
      const initCode = generateInitCode(['address', 'bytes32[]'], [deployer.address, []]);
      await expect(holographRegistry.connect(deployer).init(initCode)).to.not.be.reverted;
    }); // Validate hardcoded values are correct
    it('should fail if already initialized');
    it('Should allow external contract to call fn');
    it('should fail to allow inherited contract to call fn');
  });

👍


Core Mod Exception

When loading this mod I get an exception. This is with 1.3
[04:31:48] [main/ERROR]: Coremod HoverboardClassTransformer: Unable to class load the plugin wiresegal.hoverboard.asm.HoverboardClassTransformer
java.lang.ClassNotFoundException: wiresegal.hoverboard.asm.HoverboardClassTransformer

That is very odd... it shouldn't be providing a class transformer

fixed, new version uploading


[#751] AGP 7.4.1

Note
This code review checklist is intended to serve as a starting point for the author and reviewer, although it may not be appropriate for all types of changes (e.g. fixing a spelling typo in documentation).  For more in-depth discussion of how we think about code review, please see Code Review Guidelines.

Author

[x] Self-review your own code in GitHub's web interface[^1]
[ ] Add automated tests as appropriate
[ ] Update the manual tests[^2] as appropriate
[ ] Check the code coverage[^3] report for the automated tests
[ ] Update documentation as appropriate (e.g README.md, and Architecture.md, etc.)
[ ] Run the app and try the changes
[x] Pull in the latest changes from the main branch and squash your commits before assigning a reviewer[^4]

Note
It is good practice to provide before and after UI  screenshots in the description of this PR. This is only applicable for changes that modify the UI.

Reviewer

[x] Check the code with the Code Review Guidelines checklist
[x] Perform an ad hoc review[^5]
[ ] Review the automated tests
[ ] Review the manual tests
[ ] Review the documentation, README.md, and Architecture.md as appropriate
[ ] Run the app and try the changes[^6]

[^1]: Code often looks different when reviewing the diff in a browser, making it easier to spot potential bugs.
[^2]: While we aim for automated testing of the application, some aspects require manual testing. If you had to manually test something during development of this pull request, write those steps down.
[^3]: While we are not looking for perfect coverage, the tool can point out potential cases that have been missed. Code coverage can be generated with: ./gradlew check for Kotlin modules and ./gradlew connectedCheck -PIS_ANDROID_INSTRUMENTATION_TEST_COVERAGE_ENABLED=true for Android modules.
[^4]: Having your code up to date and squashed will make it easier for others to review. Use best judgement when squashing commits, as some changes (such as refactoring) might be easier to review as a separate commit.
[^5]: In addition to a first pass using the code review guidelines, do a second pass using your best judgement and experience which may identify additional questions or comments. Research shows that code review is most effective when done in multiple passes, where reviewers look for different things through each pass.
[^6]: While the CI server runs the app to look for build failures or crashes, humans running the app are more likely to notice unexpected log messages, UI inconsistencies, or bad output data. Perform this step last, after verifying the code changes are safe to run locally.

I will be holding off on merging this PR until we figure out what we will do with the SDK.  The SDK is unable to update to AGP 7.4.1 due to an issue with the Mozilla Rust Gradle Plugin.


Dockerfile?

Could we get a Dockerfile for this repo?  I experimented a bit myself with node:latest but couldn't get the tests to run without chromium, so seems a few other things are needed.

Great idea!   I want anything that lowers the bar to entry.   Did you come up with a starting point Dockerfile?


chore(source): add docker support

Do not include idea ide files. You can use git reset HEAD^1 --soft.


Link POC app to streamlit community cloud

Host POC app in streamlit community cloud following instructions

Simple streamlit app created in app.py and uploaded in PR  #7


What can you tell us about "next"?

Hi,
I'm so excited about the next branch. The switch to Material UI next and a new package system is perfect news for the project I'm using AOR within.
Can you say anything about the overall plans, what we can do to help, and maybe something about a timeline?
/Jakob

Hi Jakob,
Thanks for your enthusiasm!
The next branch is feature freeze, we're fixing bugs to prepare a stable release. Consider it a Release Candidate (event if I didn't find the time to publish the RC package).
We plan to release it as stable when material-ui stops breaking BC and publishes a 1.0. As their schedule isn't public, ours isn't either... But until the stable release, most of what we'll do will upgrade to the latest material ui version and fix the regressions (not that we're happy with it, but that's the risk of basing a release on an alpha library).
As for helping out, please beta test the next branch in your own projects and report bugs or problems in the documentation, please help answering the StackOverflow question, and if you really want to help a lot, please publish articles and tutorials about your experience with admin-on-rest.
Cheers,
François

Great! Love it 😍
I'll start embedding it ASAP...


Reflecting actual requirements

Arrow functions
https://github.com/magic-test/magic-test-laravel/blob/1c7ea46ed8ffd881c282ad42f8281477e5c5f875/src/Parser/File.php#L63-L66
and typed properties
https://github.com/magic-test/magic-test-laravel/blob/1c7ea46ed8ffd881c282ad42f8281477e5c5f875/src/Parser/File.php#L12-L16
were introduced in php 7.4 https://www.php.net/releases/7_4_0.php
json_decode is called here:
https://github.com/magic-test/magic-test-laravel/blob/1c7ea46ed8ffd881c282ad42f8281477e5c5f875/src/MagicTestManager.php#L52

@mateusjatenee on twitter you said you wanted to be convinced to use PhpStorm

It tells you all these things with linting.

Thanks @ordago!
In my head arrow functions were introduced in 7.4.


Cannot read property 'msie' of undefined

Uncaught TypeError: Cannot read property 'msie' of undefined jquery.ba-hashchange.min.js?body=1:10
Uncaught TypeError: Cannot read property 'msie' of undefined jquery.ba-hashchange.js?body=1:300
$.browser.msie && !supports_onhashchange && (function(){
Seems like the msie is undefined. And I do need support for IE8.

seeing this problem as well, any suggestions on a fix? and :+1: @rohan-deshpande, I'll bet that's the issue.


Cannot Connect to Jupyterhub Remote Kernel from Remote SSH Session

Environment data

VS Code version: 1.63.0-insider Commit: c1f2f40bcd81380bf2e286af64becddada57db88
Jupyter Extension version (available under the Extensions sidebar): v2021.11.1001498571
Python Extension version (available under the Extensions sidebar): v2021.11.1422169775
OS (Windows | Mac | Linux distro) and version: Mac Monterery 12.0.1
Python and/or Anaconda version: 3.9.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
Jupyter server running: Local | Remote | N/A

Expected behaviour
Connect to Remote server via remote ssh --> Open NB on server -> connect to Jupyterhub Remote Session (running on same server)
Actual behaviour
Once opened NB on server, cannot connect to the jupyterhub remote session.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Steps as indicated above
The token URL works if: instead of connecting to remove server via remote ssh, open local NB and just connect to remote kernel.
Also, once connected to remote ssh session, using the terminal, I have ensured I am able to PING the jupyterhub server.

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

NOTE: REPLACED SENSITIVE SERVER AND USER DETAILS WITH !!SERVER!! and !!USER!!

Jupyter Extension Version: 2021.11.1001498571.
Python Extension Verison: 2021.11.1422169775.
Info 09:37:34: Experimentation service retrieved: [object Object]
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Info 09:37:35: Checking for server existence.
Info 09:37:35: Checking for server usability.
Info 09:37:35: Starting notebook server.
Info 09:37:35: Connecting to server
Info 09:37:35: Connecting to process server
Info 09:37:35: Connecting server kernel https://!!SERVER!!/user/!!USER!!/
Connecting to Jupyter server at https://!!SERVER!!/user/!!USER!!/
Info 09:37:35: Creating server with settings : {"baseUrl":"https://!!SERVER!!/user/!!USER!!/","appUrl":"","wsUrl":"wss://!!SERVER!!/user/!!USER!!/","token":"!!TKN!!","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:37:35: Connection complete server
Info 09:37:35: Server started.
Info 09:37:35: Creating server with settings : {"baseUrl":"https://!!SERVER!!/user/!!USER!!/","appUrl":"","wsUrl":"wss://!!SERVER!!/user/!!USER!!/","token":"!!TKN!!","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:37:35: Creating server with settings : {"baseUrl":"https://!!SERVER!!/user/!!USER!!/","appUrl":"","wsUrl":"wss://!!SERVER!!/user/!!USER!!/","token":"!!TKN!!","appendToken":true,"init":{"cache":"no-store","credentials":"same-origin"}}
Info 09:37:35: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 09:37:35: Process Execution: > ~/envs/py39/bin/python -c "import notebook"
> ~/envs/py39/bin/python -c "import notebook"
Info 09:37:36: Process Execution: > ~/envs/py39/bin/python -c "import jupyter"
> ~/envs/py39/bin/python -c "import jupyter"
Info 09:37:36: Registering dummy command feature
Info 09:37:36: Process Execution: > ~/envs/py39/bin/python -m jupyter kernelspec --version
> ~/envs/py39/bin/python -m jupyter kernelspec --version
Error 09:37:55: SessionManager cannot enumerate kernelspecs. Returning default {}.
Error 09:37:55: SessionManager cannot enumerate kernelspecs. Returning default {}.
Info 09:39:42: Disposing session manager
Info 09:39:42: SessionManager - dispose contents manager
Info 09:39:42: ShutdownSessionAndConnection - dispose session manager
Info 09:39:42: Disposing session manager
Info 09:39:42: SessionManager - dispose contents manager
Info 09:39:42: ShutdownSessionAndConnection - dispose session manager
Info 09:39:42: Finished disposing jupyter session manager
Info 09:39:42: Finished disposing jupyter session manager
Error 09:39:42: Error loading notebook controllers [FetchError: request to https://!!SERVER!!/user/!!USER!!/api/kernels?1637764655336 failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443
	at ClientRequest.<anonymous> (/home/!!USER!!/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.11.1001498571/out/client/extension.js:16:343264)
	at ClientRequest.emit (events.js:315:20)
	at TLSSocket.socketErrorListener (_http_client.js:469:9)
	at TLSSocket.emit (events.js:315:20)
	at emitErrorNT (internal/streams/destroy.js:106:8)
	at emitErrorCloseNT (internal/streams/destroy.js:74:3)
	at processTicksAndRejections (internal/process/task_queues.js:80:21)]
Error 09:39:42: Failed to find & set preferred controllers [FetchError: request to https://!!SERVER!!/user/!!USER!!/api/kernels?1637764655336 failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443
	at ClientRequest.<anonymous> (/home/!!USER!!/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.11.1001498571/out/client/extension.js:16:343264)
	at ClientRequest.emit (events.js:315:20)
	at TLSSocket.socketErrorListener (_http_client.js:469:9)
	at TLSSocket.emit (events.js:315:20)
	at emitErrorNT (internal/streams/destroy.js:106:8)
	at emitErrorCloseNT (internal/streams/destroy.js:74:3)
	at processTicksAndRejections (internal/process/task_queues.js:80:21)]
Info 09:43:48: Notebook Closed ~/!!file.ipynb!!
Error 09:43:56: Failed to find & set preferred controllers [FetchError: request to https://!!SERVER!!/user/!!USER!!/api/kernels?1637764655336 failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443
	at ClientRequest.<anonymous> (/home/!!USER!!/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2021.11.1001498571/out/client/extension.js:16:343264)
	at ClientRequest.emit (events.js:315:20)
	at TLSSocket.socketErrorListener (_http_client.js:469:9)
	at TLSSocket.emit (events.js:315:20)
	at emitErrorNT (internal/streams/destroy.js:106:8)
	at emitErrorCloseNT (internal/streams/destroy.js:74:3)
	at processTicksAndRejections (internal/process/task_queues.js:80:21)]
Info 09:43:56: Creating daemon pool for ~/envs/py39/bin/python with env variables count 159
Info 09:43:56: Process Execution: > ~/envs/py39/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> ~/envs/py39/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 09:43:56: Process Execution: > ~/envs/py39/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> ~/envs/py39/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 09:43:56: Process Execution: > ~/envs/py39/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> ~/envs/py39/bin/python -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v

@matrix303 Thanks for the report here. I believe this is a duplicate of this issue here:
https://github.com/microsoft/vscode-jupyter/issues/8134
Where we have a general connection issue to jupyter hub. I'm going to close this issue as it should be covered by the fix for the above issue when that happens.


Add the license notice for dependencies

some little typos, and seems luaJIT is missing : )

Thanks twice, we won’t release luajit in 2.1.0, so will add it later.

I think we should also describe kvrocks uses some redis codes, and already put copyright on every file.

@ShooterIT Can you append the description?

Thanks all, merging...


Matcher server Opening PostgreSQL connection failed

I followed the Matcher server part. In step 3 I got the following error.
$ java -jar target/barefoot-0.1.0-matcher-jar-with-dependencies.jar --geojson config/server.properties config/oberbayern.properties
2017-02-08 15:34:18,022 INFO  [main] ServerControl: initialize server
2017-02-08 15:34:18,027 INFO  [main] ServerControl: read database properties from file config/oberbayern.properties
2017-02-08 15:34:18,029 INFO  [main] Loader: load map from database oberbayern
2017-02-08 15:34:18,029 INFO  [main] Loader: open road reader for database oberbayern at localhost:5432
2017-02-08 15:34:18,029 INFO  [main] Loader: database.host=localhost
2017-02-08 15:34:18,030 INFO  [main] Loader: database.port=5432
2017-02-08 15:34:18,030 INFO  [main] Loader: database.name=oberbayern
2017-02-08 15:34:18,030 INFO  [main] Loader: database.table=bfmap_ways
2017-02-08 15:34:18,030 INFO  [main] Loader: database.user=osmuser
2017-02-08 15:34:18,030 INFO  [main] Loader: database.road-types=./map/tools/road-types.json
2017-02-08 15:34:18,065 INFO  [main] PostGISReader: open reader (standard)
2017-02-08 15:34:18,065 INFO  [main] PostGISReader: open reader (parameterized)
2017-02-08 15:36:25,268 ERROR [main] ServerControl: Opening PostgreSQL connection failed: The connection attempt failed.
2017-02-08 15:36:25,269 INFO  [Thread-0] ServerControl: stopping server
2017-02-08 15:36:25,270 ERROR [Thread-0] ServerControl: stopping server failed, not yet started

Thanks for your helps.

What does a sudo docker ps -a say?

Hi.
It says
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                    NAMES
3b09b8ecf295        barefoot-map        "/bin/sh -c 'servi..."   29 minutes ago      Up 28 minutes       <IP_ADDRESS>:5432->5432/tcp   barefoot

and execution of
bash /mnt/map/osm/import.sh

in docker is done
root@3b09b8ecf295:/# bash /mnt/map/osm/import.sh
Start creation and initialization of database 'oberbayern' ...
.
.
.
590588 segments from 556462 ways inserted.
590588 segments from 556462 ways inserted and finished.
Done.
Done.

Thanks.

What's your setup: What's your host operating system? Are the matcher server and the map server started on the same machine? Do you use the default oberbayern.properties configuration?

What's your host operating system? **I am using ubuntu 16.04.  4 cores - 6 GB RAM **
Are the matcher server and the map server started on the same machine? Yes
Do you use the default oberbayern.properties configuration? Yes
Thanks.

Thanks for the info. The log output of the matcher server doesn't really fit to the described settings. Can you please make sure that:

The map server is running ("up") and listening on port 5432 ("<IP_ADDRESS>:5432->5432/tcp").
There is no port conflict: Please post the output of "sudo netstat -lpn | 5432".
Try starting the matcher server again and please post the output/error log again.

OK sure:
These are the steps:
1-

CONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS                      PORTS                    NAMES
1a0ac5e2ee4f        barefoot-map            "/bin/sh -c 'servi..."   31 minutes ago      Up 31 minutes               <IP_ADDRESS>:5432->5432/tcp   barefootMap

2-

                                                                List of databases
    Name    |  Owner   | Encoding  | Collate | Ctype |   Access privileges   |  Size   | Tablespace |                Description
------------+----------+-----------+---------+-------+-----------------------+---------+------------+--------------------------------------------
 oberbayern | postgres | SQL_ASCII | C       | C     | =Tc/postgres         +| 3495 MB | pg_default |
            |          |           |         |       | postgres=CTc/postgres+|         |            |
            |          |           |         |       | osmuser=CTc/postgres  |         |            |
 postgres   | postgres | SQL_ASCII | C       | C     |                       | 6306 kB | pg_default | default administrative connection database
 template0  | postgres | SQL_ASCII | C       | C     | =c/postgres          +| 6193 kB | pg_default | unmodifiable empty database
            |          |           |         |       | postgres=CTc/postgres |         |            |
 template1  | postgres | SQL_ASCII | C       | C     | =c/postgres          +| 6193 kB | pg_default | default template for new databases
            |          |           |         |       | postgres=CTc/postgres |         |            |
(4 rows)

3-

$ sudo netstat -lpn | grep 5432
tcp6       0      0 :::5432                 :::*                    LISTEN      12377/docker-proxy
$

4-

$ java -jar target/barefoot-0.1.0-matcher-jar-with-dependencies.jar --geojson config/server.properties config/oberbayern.properties
2017-02-09 14:04:15,226 INFO  [main] ServerControl: initialize server
2017-02-09 14:04:15,266 INFO  [main] ServerControl: read database properties from file config/oberbayern.properties
2017-02-09 14:04:15,289 INFO  [main] Loader: load map from database oberbayern
2017-02-09 14:04:15,289 INFO  [main] Loader: open road reader for database oberbayern at localhost:5432
2017-02-09 14:04:15,290 INFO  [main] Loader: database.host=localhost
2017-02-09 14:04:15,290 INFO  [main] Loader: database.port=5432
2017-02-09 14:04:15,290 INFO  [main] Loader: database.name=oberbayern
2017-02-09 14:04:15,290 INFO  [main] Loader: database.table=bfmap_ways
2017-02-09 14:04:15,290 INFO  [main] Loader: database.user=osmuser
2017-02-09 14:04:15,290 INFO  [main] Loader: database.road-types=./map/tools/road-types.json
2017-02-09 14:04:15,508 INFO  [main] PostGISReader: open reader (standard)
2017-02-09 14:04:15,508 INFO  [main] PostGISReader: open reader (parameterized)
2017-02-09 14:06:23,080 ERROR [main] ServerControl: Opening PostgreSQL connection failed: The connection attempt failed.
2017-02-09 14:06:23,095 INFO  [Thread-0] ServerControl: stopping server
2017-02-09 14:06:23,095 ERROR [Thread-0] ServerControl: stopping server failed, not yet started

Thanks.

That's pretty strange. I think we need to dig a little deeper: To make sure, the matcher can (really) connect to the map server, you need to install a little client tool and connect to the database:

Install a client on your host system: sudo apt-get -y install postgresql-client
Connect to the container's database: psql -h locahost -p 5432 -d oberbayern osmuser(enter default password: pass)
Check if the table exists and contains data: select count(*) from bfmap_ways;should return >500k

If this is all works out fine, we need to check the details of the error message:

Enter source directory: cd barefoot
Unzip provided patch (in the working directory): unzip path/to/source-exception.zip
Apply the provided patch: git apply source-exception.patch
Rebuild barefoot server: mvn package -DskipTests
(Make sure there is no corrupted map file: rm oberbayern.bfmap)
Restart the server with java -jar target/barefoot-0.1.0-matcher-jar-with-dependencies.jar config/server.properties config/oberbayern.properties and post the error log.

(Will upload patch here in a minute.)

Sorry for this late reply.
In setp 2 I got the following error.
$ psql -h localhost -p 5432 -d oberbayern osmuser
psql: server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

Thanks. Good Weekends.

This sounds very similar to what the exception of the matcher server says. It seems we get a little closer to the problem. For diagnosis reasons, please send me the output of:
sudo docker exec -it <container> bash -c 'sudo service postgresql status'

sudo docker exec -it <container> bash -c 'sudo -u postgres psql -c "select * from pg_roles;"'

sudo docker exec -it <container> bash -c 'psql -h localhost -d oberbayern -U osmuser -W'

and the following files postgresql.log, pg_hba.conf, and postgresql.conf that you can extract as follows:
sudo docker exec -it <container> bash -c 'cat /var/log/postgresql/postgresql-9.3-main.log' > postgresql.log
sudo docker exec -it <container> bash -c 'cat /etc/postgresql/9.3/main/postgresql.conf' > postgresql.conf
sudo docker exec -it <container> bash -c 'cat /etc/postgresql/9.3/main/pg_hba.conf' > pg_hba.conf

It would also be good to see the output of sudo docker inspect <container>. Thanks in advance.
I guess that the configuration of the postgresql server during image build failed. The dockerfile uses two patches to configure the postgresql server correctly, see /bmwcarit/barefoot/blob/master/map/pgsql/pg_hba.conf.patch and https://github.com/bmwcarit/barefoot/blob/master/map/pgsql/postgresql.conf.patch If these patches could for whatever reason not be applied, the postgresql server is not configured properly and is not accessible from outside the container.

Thank you.
These are the outputs:
$ sudo docker exec -it barefoot-oberbayern bash -c 'sudo service postgresql status'
9.3/main (port 5432): online

$ sudo docker exec -it barefoot-oberbayern bash -c 'sudo -u postgres psql -c "select * from pg_roles;"'

 rolname  | rolsuper | rolinherit | rolcreaterole | rolcreatedb | rolcatupdate | rolcanlogin | rolreplication | rolconnlimit | rolpassword | rolvaliduntil | rolconfig |  oid
----------+----------+------------+---------------+-------------+--------------+-------------+----------------+--------------+-------------+---------------+-----------+-------
 postgres | t        | t          | t             | t           | t            | t           | t              |           -1 | ********    |               |           |    10
 osmuser  | f        | t          | f             | f           | f            | t           | f              |           -1 | ********    |               |           | 17791
(2 rows)

$ sudo docker exec -it barefoot-oberbayern bash -c 'psql -h localhost -d oberbayern -U osmuser -W'

Password for user osmuser:
psql (9.3.15)
SSL connection (cipher: DHE-RSA-AES256-GCM-SHA384, bits: 256)
Type "help" for help.

oberbayern=>

I ziped four files : postgresql.log, postgresql.conf, pg_hba.conf and output of inspect command (inspect.txt).
files.zip
Thanks.

Thanks for the info. I can't see any problem in the configuration.

Does the error for psql -h localhost -p 5432 -d oberbayern -U osmuser from your host system still occur?
Can you please check the version of psql with psql --version? I just tested to connect with psql version 9.5.5 from a ubuntu:16.04 and could successfully connect to postgresql 9.3 database.

Assuming that you have the same container running that you used with last tests and the same version of psql, you should definitely be able to login to the database with:
psql -h <IP_ADDRESS> -p 5432 -d oberbayern -U osmuser

If you still can't login, i have no other suggestion than trying to delete the container(s) and especially the image:
sudo docker rm -f <container>
sudo docker rmi barefoot-map

and rebuild it all, and repeat the test. Please keep me informed about it.

Thanks for your guide. I still have the error
$ psql -h localhost -p 5432 -d oberbayern -U osmuser
psql: server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

and the version is
$ psql --version
psql (PostgreSQL) 9.5.5

and I could not login to the database
$ psql -h <IP_ADDRESS> -p 5432 -d oberbayern -U osmuser
psql: could not connect to server: Connection timed out
	Is the server running on host "<IP_ADDRESS>" and accepting
	TCP/IP connections on port 5432?

OK I will remove and rebuild the container again. and I will post it here.
Thanks.

Sorry, my bad. You should try <IP_ADDRESS>according to the information you provided. Of course, it should be the IP of your container.

Hi.
I rebuild the container again, but I am getting the same errors. Also when I make the package without skipping test
mvn package -e -X

Results :

Tests in error:
  ServerTest.testServer:118->sendRequest:72 NullPointer

Tests run: 37, Failures: 0, Errors: 1, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:16 min
[INFO] Finished at: 2017-02-14T15:15:09+03:30
[INFO] Final Memory: 17M/199M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project barefoot: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/rahim/barefoot && /usr/local/java/jdk1.8.0_77/jre/bin/java -jar /home/rahim/barefoot/target/surefire/surefirebooter291619504520303315.jar /home/rahim/barefoot/target/surefire/surefire1342468510559717990tmp /home/rahim/barefoot/target/surefire/surefire_06724258432144963638tmp
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project barefoot: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/rahim/barefoot && /usr/local/java/jdk1.8.0_77/jre/bin/java -jar /home/rahim/barefoot/target/surefire/surefirebooter291619504520303315.jar /home/rahim/barefoot/target/surefire/surefire1342468510559717990tmp /home/rahim/barefoot/target/surefire/surefire_06724258432144963638tmp
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/rahim/barefoot && /usr/local/java/jdk1.8.0_77/jre/bin/java -jar /home/rahim/barefoot/target/surefire/surefirebooter291619504520303315.jar /home/rahim/barefoot/target/surefire/surefire1342468510559717990tmp /home/rahim/barefoot/target/surefire/surefire_06724258432144963638tmp
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
Caused by: java.lang.RuntimeException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/rahim/barefoot && /usr/local/java/jdk1.8.0_77/jre/bin/java -jar /home/rahim/barefoot/target/surefire/surefirebooter291619504520303315.jar /home/rahim/barefoot/target/surefire/surefire1342468510559717990tmp /home/rahim/barefoot/target/surefire/surefire_06724258432144963638tmp
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:485)
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:352)
	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:158)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:967)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:831)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:729)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	... 21 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

I got the same error. Sorry The first time I just skipped the test and I did not notice that.

This seems to occur because of an incompatibility between Maven Surefire and System.exit() calls. This won't occur if the database connection succeeds. I have created a separate issue for documentation reasons: https://github.com/bmwcarit/barefoot/issues/47
Back to your problem: I think you should test your Docker setup. You could do so by executing  the following commands on your host system:
sudo docker run -d -p 1234:1234 ubuntu:14.04 /bin/bash -c 'while true; do echo "hello world" | netcat -l 1234; done'

netcat localhost 1234

On each execution of the second command should see the output "hello world", until you stop the container that you created before. Does this work?

Thank you.
Does this work? NO
After execution of the first command the output of the second command is NULL (no output).

If this simple test fails, there is something wrong with your Docker setup. Did you update the Docker version recently? I suggest reinstalling the Docker Engine, see here: https://docs.docker.com/engine/installation/linux/ubuntu/
This functionality of Docker must work in order to get the Barefoot setup working.

Seems like origin of the error is the Docker installation. Closing this issue for now.


fix some random typos in khan_helpers docstrings

Just recording these here as I notice them...

[ ] https://github.com/ContextLab/efficient-learning-khan/blob/c0fa66892f22581bbeb41de5a96b4ed2952f7e40/code/khan_helpers/khan_helpers/functions.py#L81
[ ] https://github.com/ContextLab/efficient-learning-khan/blob/c0fa66892f22581bbeb41de5a96b4ed2952f7e40/code/khan_helpers/khan_helpers/functions.py#L108 (should be tuple, not list)

done


TensorBoard "gulp" assigns to const

The TensorBoard build is all kinds of broken, but the latest introduction to the tree includes an assignment to a const within the gulpfile.
In particular:
tensorflow/tensorboard/gulp_tasks/compiler.js:51 reassigns to the variable "entries" which is marked with const.
The same occurs on the next line for the variable "deps".
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 14.04
TensorFlow installed from: Source (master)
TensorFlow version: last commit to tensorboard @ 9dd8e7aec9d3a8ddc458af01c2e51541ad876fb8
Exact command to reproduce: "gulp"

@dandelionmane can you take a look or reassign?

We've deleted the gulp build! Now everything builds using bazel. Please check it out at our new repo: https://github.com/tensorflow/tensorboard.
h/t to @jart who did a ton of awesome work to get rid of gulp and switch us to bazel.


Is there any way to inject global style？

Is your feature request related to a problem? Please describe.
For example, if I want to use KaTex, the katex.css should be linked on each page, Otherwise, the formula will not render correctly.
Describe the solution you'd like
Maybe supporting template HTML file is one of the solutions.
Describe alternatives you've considered
No response
Additional context
No response
Validations

[x] Read the docs.
[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.

Now you can only put it in custom theme directory, refer https://github.com/sanyuan0704/island-tutorial/tree/master/docs/.island. But i will open a pr to add the interface later.

@Hitsuki9

Thanks, it works. Expect the release of custom theme.

Custom theme has been released in v0.4, doc: https://island.sanyuan0704.top/zh/guide/custom-theme.html

Custom theme has been released in v0.4, doc: https://island.sanyuan0704.top/zh/guide/custom-theme.html

Cool


Add an option to prevent google maps from loading fonts

Issue description
When i implemented an agm-map in my project, where i use Angular Material, it changed the fonts and therefore broke some formatting, i added a small script to prevent loading different Roboto fonts, but would love an option to prevent the map from loading fonts.
Steps to reproduce and a minimal demo of the problem
Just create a project using angular material with NGX-Rocket and implement an agm-map.
Here's the script that i added to prevent overriding my font:
<script>
    var head = document.getElementsByTagName('head')[0];

    // Save the original method
    var insertBefore = head.insertBefore;

    // Replace it!
    head.insertBefore = function (newElement, referenceElement) {

      if (newElement.href && newElement.href.indexOf('//fonts.googleapis.com/css?family=Roboto') > -1) {

        console.info('Prevented Roboto from loading!');
        return;
      }

      insertBefore.call(head, newElement, referenceElement);
    };
  </script>

@SC-JC Thank you! I am having the same problem (see https://github.com/SebastianM/angular-google-maps/issues/1484). I'll close that issue and link to yours since you've provided a workaround (which does work for me for now).

@SebastianM Is there a chance to get this fix? :)

HI, I have the same trouble with react ;) with BULMA css and google-maps-react package ...
All the font of the page is changed after Google maps load...
You are not alone ...

The fonts are downloaded after google maps is downloaded.
This is my solution @silentsnooc Add this directive at your application root and the google fonts won't be downloaded.
https://gist.github.com/loicgasser/26e22c9a3912c093f6bd53ba252d12c9


No es posible traducir al español

Issue in ./help/getting-started/websites-stores-views.md

Hi @puertalex , seems to be running as usual now. You can check here. Thanks for opening the issue!

Fixed


Crafting Grid - Shift Crafting Multiples.

Issue description:
When creating LOTS of something. The server lags.

Can't keep up! Did the system time change, or is the server overloaded? Running xxxx behind. Skipping yyyy tick(s)

The X and Y are proportionate to the number of times that I rapidly click while holding shift.
For instance, if you hold shift and left click on COMPRESSED COBBLESTONE, it should create 64 while pulling extra from the system.
The system is in the MINING WORLD of Aromas 1997 Dimensional mod.
What happens:
Server Lag while rapidly SHIFT+Left Clicking to create stacks of items from crafting grid.
What you expected to happen:
No lag, similar to rapidly clicking while NOT holding shift to get single items rather than stacks.
Steps to reproduce:

Setup network including Drive, 64k disks, crafting monitor.
Place 1000's of cobble into the machine.
Attempt to create stacks and stacks of compressed cobble using the SHIFT+LEFT CLICK method (or any other recipe)

Version (make sure you are on the latest version before reporting):

FTB Beyond - 1.11.0
Minecraft: 1.10.2
Forge: <IP_ADDRESS>2
Refined Storage: 1.2.26

Does this issue occur on a server? Yes

Hey! Did you know that 1.10.2 is unsupported?

Did not! Thanks!


ScalaTest @WrapWith

Currently PageObject tests does not work when launched using sbt. This is a bug in scalatest, see https://github.com/scalatest/scalatest/issues/931

We will provide a patched scalatest version as a workaround.

We published a snapshot of scalatest 3.0.0 with the needed patch as "org.pageobject.patch.org.scalatest"
Make sure you don't have org.scalatest dependency in your project, PageObject has a transitive dependency to the patched version.


oedepict flattens molecules

@cbayly13 pointed out an internal issue with oedepict today. When it is used to depict a molecule it flattens it. So the coordinates are lost.
This is used in a few places in this repository:
SmartsDepict.py
substructRemove.py
smiAmberize.py
oebHasAmberParams.py
oebToAmberMol2TopCrd.py
smartsDepict.ipynb
substrucDepict.ipynb
Instead a copy of the molecule should be used for the depiction, for example:
def depict(input_mol):
   mol = OEGraphMol(input_mol)

There is a follow up on this very old issue. Today I tried changing the depictMatch method in substrucDepict.ipynb
I tried changing the first line from
def depictMatch(mol, match, width=500, height = 200):
...

to
def depictMatch(input_mol, match, width=500, height=200):
mol = oechem.OEGraphMol(input_mol)
....

After doing this the 2D depiction didn't show the color change on the molecule correctly.


How to add a Flutter View inside a flutter app in native android code

The Problem
I am having a flutter application in which I have written some native android code. My problem is that I would like to show a FlutterView from my android native code. But all the docs tell about integrating FlutterView's in an Android app. My app is a flutter app and  I have to show a FlutterView from my android native code with the existing flutterEngine. The view is basically not to be added inside an activity but inside of a service using WindowManager. I cannot understand how to proceed. Thanks for your
help
Flutter Doctor
flutter doctor -v

┌─────────────────────────────────────────────────────────┐
│ A new version of Flutter is available!                  │
│                                                         │
│ To update to the latest version, run "flutter upgrade". │
└─────────────────────────────────────────────────────────┘
[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Version 10.0.19043.1288], locale en-US)
    • Flutter version 3.0.1 at C:\Users\lenovo\AppData\Local\Flutter\flutter_windows_2.10.3-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (2 months ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at G:\Android\Sdk\
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = G:\Android\Sdk\
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31624.102
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.68.1)
    • VS Code at C:\Users\lenovo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.42.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1288]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 96.0.4664.110
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 96.0.1054.62

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @abhineetchandan
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and ask questions like this.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you!


Timeout(?) during staging leads to odd state

I seem to have gotten an app into a weird state where a push stalled but never failed and cleaned up. This means that future pushes fail as well. We might need a way to override a previous pipeline run?
I'll try to get some logs tomorrow to help diagnose as well as install the tekton UI to debug a bit. All of my logs timed out as well so I can't actually see what happened and I'm ready to be done for the day

This issue hasn't got  an update and there are no steps to reproduce. Given many things have been fixed on Epinio since this was opened, I will close this. @agracey If the problem persists, please re-open and add more information to debug.


GO:0016706 PMID:22235339

abolished 2-oxoglutarate-dependent dioxygenase activity
name uses synonym from GO:0016706; include synonym with GO name
and maybe also decreased, depending on answer to question in https://github.com/pombase/curation/issues/610

abnormal 2-oxoglutarate dioxygenase activity FYPO:0004871
abolished 2-oxoglutarate dioxygenase activity FYPO:0004872
decreased 2-oxoglutarate dioxygenase activity FYPO:0004873

edit file: d8336ce9c1bf6f49b17dced4e4f2afd769d6cbb2
release: 8a9c45cd3600794a1651f7865b5290988dd03528


shmux should use different colors for success and failure

shmux looks like a nice and useful tool, but why does it not use colors?
failures should be printed red, successes printed green.
Why do I have to decipher text, when color instantly and effortlessly signifies success/failure?

The why is simple, shmux is 20 years old, colors weren't much of a thing back then.
Feel free to send a PR.


Code reformatting

Code reformatting done using pylint and flake8 guidelines. Solves issue #53.

Redundant as code has already been reformatted earlier.


Sync .github/workflows directory with azure-sdk-tools for PR 7742

Sync .github/workflows directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/7742  See eng/common workflow

/check-enforcer override


fix: do not display all header when results are empty

Description
As the title describes.
Fixed iOS

Test plan

Tested locally on iOS
Unit tests updated

Related issues
N/A
Backwards compatibility
Yes

How did it look before the change?

@jeanregisser I can grab a picture if needed, but essentially the all section header would display without any content below it.