Create scripts in .ci dir to install CP/DP

Move install step logic from groovy file to bash scripts in .ci
directory in ngic-rtc repo.

Needs to be merged together with https://github.com/omec-project/omec-project-ci/pull/41

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

SPDX-License-Identifier: Apache-2.0
Copyright 2019-present Open Networking Foundation

@zdw is this OK?

# SPDX-License-Identifier: Apache-2.0
# Copyright 2019-present Open Networking Foundation

@zdw is this OK?

I'll ask, and let you know when I get a response.

@micpez @krsna1729 The shortened copyright header should be fine.

retest this please

retest this please

Done

Very stale


MySQL ODBC driver - Segmentation fault on RHEL8

Environment

Python: 3.9
pyodbc: 4.0.32
OS: RHEL8 (UBI8 - https://catalog.redhat.com/software/containers/ubi8/ubi/5c359854d70cc534b3a3784e)
DB: MySQL
driver: MySQL ODBC driver 8.0.22

Issue
Connecting to MySQL using pyodbc raises segmentation fault on RHEL8.
I wasn't seeing same problem with RHEL7. I did ensure to use latest repository configuration for OL8 (yum-based installation)
I also tried to downgrade to 4.0.30 like suggested in #1036, tried tarball compiled with glibc, tried RPM-way installation, and tried to even get the source and compile the driver myself - in all scenarios I get Segmentation fault.
I attempted to enable trace, but it didn't show anything useful, complete silence after connection step in there. Says "completion = 0".
Extra note - I'm running it in K8s container under Gevent/Uwsgi bundle, so there might be involved some threading.

Do you get a segfault if you try to connect using unixODBC's isql utility?

No.

Can you try connecting via pyodbc from a plain Python session, i.e., outside of the environment that might be introducing the threading uncertainty?

You can also attach a debugger and run, that will show exactly where it crashed. x/i $rip will show faulting instruction directly, and bt will give a stack trace.

Can you try connecting via pyodbc from a plain Python session, i.e., outside of the environment that might be introducing the threading uncertainty?

Indeed. Its not happening in regular interpreter, so its something to do with Gevent/uwsgi umbrella impacting on how pyodbc behaves. I saw there were few similar issues related to async-incompatibility of pyodbc, but I wonder why OS upgrade would make a difference for exactly same versions of all components (except of unixODBC which is now new with... async fixes)

I think it's a complex issue related to gevent/driver/pyodbc behaving together in some way. I was able to work with other ODBC drivers (oracle, etc) via same pyodbc under gevent without any issues. Moreover, on RHEL8 mariadb-connector-odbc as dropin replacement was worked me instead of mysql without issues. I don't know what is true root cause (driver? But then why it works without gevent?!).


Define Architecture For Policy Evalution Module

Define Architecture For Policy Evaluation Module
Define contracts
Define testing strategies

I made first draft here
https://github.com/OpenBCca/airbnb-regulation/wiki/Policy-Evaulation-Module
still working on architecture so didn't have that yet

The doc is updated with Overview, Detailed Design with architecture diagram, Contracts, and Testing methods
@umsu2 it is ready for review now

looks good, move to done and close the issue


Added Cylinder pybind11 interface

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
Summary
This PR creates a Cylinder Pybind11 interface
Checklist

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

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

@osrf-jenkins run tests please

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1


dynamic AssertionConsumerService/AssertionConsumerServiceIndex customization

currently at the end of the setup:

there are two AssertionConsumerServices hardcoded in the metadata
the AssertionConsumerServiceIndex to submit with the AuthnRequest is hardcoded

provide an API for the user to:

configure dynamically in the class constructor the AssertionConsumerServices that go in the metadata
choose which AssertionConsumerServiceInded to submit with the AuthnRequest via a parameter in the login method

#43
There is no need to configure more than one acs.
AuthnContextClassRef for SPID level can be submited as parameter in the login.


Handle having no sinks in the PulseAudio driver.

Also make PulseAudio errors more verbose.
This fixes #48677. It handles starting with no sinks connected, enables automatically connecting to a new sink, and handles all sinks being disconnected.

Thanks! And congrats for your first merged Godot contribution :tada:

Cherry-picked for 3.4.

Cherry-picked for 3.3.1.


Scan for schema files in libraries

At Netflix we have Java libraries with "common" GraphQL types. These types are shared by many GraphQL services. The libraries contain a schema in META-INF/schema and can optionally also contain code.
When writing a schema for a service, these types can be used just like types defined in the project. Scalar types are a common example. The problem is that the plugin doesn't recognize the types defined in the schema files provided by libraries, so it rightfully complains in the editor that the types are undefined.
This PR changes the search scope for schema files to allScope instead of projectScope, which makes it include libraries as well. The following is an example of how that works.

The schema in JAR file mechanism is supported by the DGS framework, which is getting quite popular, so it's a mechanism that will likely benefit many users. I understand the plugin has been more JS-focused, but it's definitely just as useful for Java developers.

Thanks for the quick response!
I've made some changes to be more specific what/where to search to prevent the potential performance implications. My understanding is that Intellij indexes all files anyway (at startup), which would mean the search scope shouldn't impact performance much. However, I really don't know the details, and being more conservative where to search is obviously safer.
In the new commit, I've added a new SchemaInLibraryScope, which does the following:

Search in library files only
Skip "source" jars (most Java libraries come as a separate source and compiled jar, and we only want the compiled one).
Only search in META-INF/schema. I'm not sure about this one. It's perfect for our use case, but might be a missed opportunity for similar, but slightly different use cases.
Only search for GraphQLFileType

I'm using this scope to union with the existing scopes.
Also, I've updated one of our DGS examples to use a type from a library: https://github.com/Netflix/dgs-examples-java/tree/schema-in-lib-example. Make sure you check out the linked branch.

Thanks for the review! I'll make the changes when I'm back online Wednesday.


WorkspaceEdit.changes key should be TextDocumentIdentifier

Unless I'm misunderstanding, weren't simple URIs replaced with TextDocumentIdentifiers elsewhere? Then I'd say that it should be dine even here.

The problem is that we simply reused JS Maps (Objects) here. The correct approach here is to return and array with object literals of the form:
{
   document: TextDocumentIdentifier;
   changes: TextEdit[];
}

Since this is breaking it has to wait until 3.0.

This got addressed for 3.0. You can have a workspace edit with versioned text document identifiers.


Fix generation of repo url for longer urls

This PR fixes the issue reported in https://github.com/bsord/helm-push/issues/16
It will instead grab the version it needs for helm chart publish  from the output of helm chart save, and build the required URL for the OCI registry from that.
We've tested this with our own workflow and it now works. Feel free to use our fix, or do it in a cleaner way.
Thanks :)

Thanks folks. Much appreciated. Will test this here shortly and get merged ASAP.


The procedure entry point EXTPTR_PRT could not be located in the dynamic link library (app\library\Rcpp\libs\x64\Rcpp.dll)

Hi,
I followed all the steps mentioned in the ReadMe section, however I am facing an issue with Rcpp.dll. I searched online for a solution but the recommendation was to update R to the latest version 4.0.2, which I cannot since latest R-Portable is 4.0.0. Is there a fix around this problem? I cannot really run the shiny app due to this error.

Hi,
I have exactly the same error.
Some help will be really appreciate.
All the best

Hi, apparently the issue is with the version of R-Portable (4.0.0). Current version of Rcpp available from CRAN was compiled for 4.0.2 and R 4.0.0 cannot load it.
A 4.0.2 version of R-Portable was requested on https://sourceforge.net/projects/rportable/ because there is no news on this at the moment.
I forked (https://github.com/gdurif/rportable) the code available at https://sourceforge.net/projects/rportable/ to generate the distribution but it is more than 10 years old and I am pretty sure it will be complicated to make it work.
Some help would be great.

A temporary fix is to install Rcpp from source, e.g. clone or download this https://github.com/RcppCore/Rcpp.git at DesktopDeployR project root and run from R-Portable:
devtools::install("Rcpp", args = c('--library="./app/library/"'))


getting same response regardless of prompt

I keep getting this response regardless of the prompt:
(engineer-py3.10) oem@weathertop-alpha:~/repos/engineer$ gpt-engineer projects/scraper gpt-3.5-turbo
Areas that need clarification:
1. What specific instructions am I not supposed to carry out?
2. What is the purpose of seeking clarification?
3. How should I summarize the list of bullets?
4. How many clarifying questions am I allowed to ask?
5. Should I wait for an answer from the user before asking a clarifying question?

(answer in text, or "c" to move on)
c

(letting gpt-engineer make its own assumptions)

Assumptions:
1. I am not supposed to carry out any instructions given in the prompt.
2. The purpose of seeking clarification is to better understand the instructions.
3. I should summarize the list of bullets by providing a brief overview of each area that needs clarification.
4. I am allowed to ask one clarifying question.
5. I should wait for an answer from the user before asking a clarifying question.

To ensure we have a clear understanding of the task, let's break it down into steps:

Step 1: Identify the core classes, functions, and methods needed for the project.

Step 2: Create the necessary files, following the appropriate naming conventions for the chosen language and framework.

Step 3: Implement the code for each file, ensuring that all imports, types, and logic are included.

Step 4: Verify that all parts of the architecture are present in the files.

Now, let's proceed with the first step and identify the core classes, functions, and methods required for the project.
I apologize for the confusion, but I am unable to provide you with the necessary information about the codebase as I don't have access to the files on disk. However, I can still help you with the Unix terminal commands to install dependencies and run the codebase. Please provide me with the necessary commands, and I'll be happy to assist you further.

Do you want to execute this code?

If yes, press enter. Otherwise, type "no"

it then sometimes it spits out some random code, asks me to run it, and closes. oddly, the code changes from time to time, but the clarification questions don't.
what am I doing wrong?

How are you running it. What files is your prompt in?

This stale issue needs more info to be processed and will be closed. May be reopened on request.


Create MVP of URL prioritisation backend

During the team meeting we discussed an MVP for how a URL prioritisation system could work.
Meeting notes here: https://docs.google.com/document/d/1fCTU_P6nQVGS1TQ60EnMxWR6Ex5nw2Ug94PfP78uiMc/edit#.
For starters, we can experiment with sending updated lists only to our own personal probes (rather than testing with all probes out there).
Priorities to start with:
Test social media sites around the world => Get them from the URLs included in the “Social Media” button here: https://ooni.org/get-involved/run/
Test “News Media” and “VPNs” and “Human Rights” from here: https://ooni.org/get-involved/run/
Prioritize URLs from the Citizen Lab test lists that fall under “NEWS”, “HUMR”, etc and prioritize those over other categories (such as “PORN”) => since this is more in-line with our mission.
Criteria for prioritization (globally):
Type of content that is frequently blocked around the world (e.g. social media).
If this content is blocked, it has a bigger impact on the public and on human rights (e.g. human rights websites, news media, etc.).
Criteria for country-specific prioritization:
If the type of content is illegal/banned, more likely to be blocked.
If a specific website or type of content is known to be blocked in a country or reportedly blocked in the past.
If certain types of websites are likely to get blocked in correlation to specific events (for example, testing political party websites in country X leading up to and during elections). => these types of sites are often categorized as “POLR”. We may want to flag election-related sites in an extra column in the Citizen Lab test lists, where we can add the “election” tag.
We should consider the locality of priorities, and that there are different clusters and groups that are globally sorted (e.g. social media > porn), but perhaps this changes locally.
Essentially we are talking about multipliers: We can have the default weight for a target, and then we can have a multiplier => for example:
A target has a value (e.g. default = 100)
A category has a +10% multiplier
A category+country pair has +20% multiplier
Perhaps a lot of this should be probabilistic. There should be some noise added to ensure the distribution is spread across the probes. If a user can test 100 URLs, we probably want those to include a distribution of different types of websites. This is an effect of the weights.If you just apply the weights uniformly but you don’t take into account the local clustering, perhaps it won’t be distributed uniformly.
We would change the testing of the probes depending on what other probes have tested, to ensure that the same URLs get tested across networks and that we have good coverage in general.
We can start a spreadsheet to categorize the Citizen Lab category codes: https://docs.google.com/spreadsheets/d/17nwpu_lrNMyB0nGjU79Z5K42O_ymkoFcS1_-6i0-WNQ/edit#gid=0
We can add a tag which flags which categories should have a higher weight in specific countries. Some categories can also not have any weight at all.
Examples:
Foo.com        weight 50   			lower than the default)
Twitter.com   weight 200  			higher that the default)
Category SOCIAL   +50%     			Increase weight for the whole category
Category SOCIAL + Country:IT +20%   	Increase weight for the whole category in one country
Foo.com + Country:UK -30%			Lower weight for a specific target in one country
→ twitter in Italy get a weight 200 + 50% + 20% → leads to 900 which means the site is tested nine times more that the average website
Example of proactive prioritization: before an election we create a bunch of rules:
Election website 1 + Country of election → +100%
Election website 2 + Country of election → +100%
Election website 3 + Country of election → +100%
Election website 4 + Country of election → +100%
...in the repository/database
Support for tags in CitizenLab test-lists: https://github.com/citizenlab/test-lists/issues/264
Full notes available here: https://docs.google.com/document/d/1fCTU_P6nQVGS1TQ60EnMxWR6Ex5nw2Ug94PfP78uiMc/edit#

TODO: add category priorities to citizenlab list and then update fastpath/domain_input.py to handle them

PR merged

TODO:

[ ] configure local Nginx to serve files based on query
[ ] implement fallback to static files if the backend stops updating the dynamic files
[ ] switch traffic from orchestration nginx

@hellais can you please provide detailed specs on which calls in https://github.com/ooni/orchestra/blob/master/docs/orchestrate-swagger.yml need to be implemented and the semantics? The previous discussion around the MVP did non include enough details.

Update after discussion on Slack:

honor country_code and category_codes https://github.com/ooni/orchestra/blob/master/docs/orchestrate-swagger.yml#L95
implement a dedicated component that serves that entry point
cache database contents in the component
refresh data from the database at least every 5m
the database should not be a hard dependency: if unresponsive, use cached data
support active/standby model: if the main instance is not responsive, an external LB can fall back to a second instance
some counters are in-memory only (preventing active/active)

Second iteration PR: https://github.com/ooni/pipeline/pull/312

This is great. I approved the relevant PR and I would say we can consider this issue closed. Let's open some follow up issues for the next sprint.


xVMHyperV - EnableGuestService localized OS fix

Fixes #76

Hi @vrdse, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Hi, I am closing and re-opening this PR to bump the CLA bot. Sorry for the inconvenience!

Hi @vrdse, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

I made a new pull request to address this issue #83


Scoary gwas output

Hi,
I have the scoary gwas output and I was wondering if it is possible to add it to the phandango browser. If I cannot add it directly, any suggestion on how to convert it into a plink format file?
Cheers,

I'm not familiar with scoary files, but phandango can handle plink (and plink-like) formats (see https://github.com/jameshadfield/phandango/wiki/Input data formats#manhattan-plots) so if it's possible to convert into this format you should be able to drag&drop it on as a normal input for phandango.


Gatling takes too long time in the first request

Hi could you help to confirm if gatling can reduce response time in first request?
Steps to reproduce:
OS: MACOS 11.5

Download Open-Source tool from Gatling
Unzip the open-source tool and execute computerdatabase.BasicSimulation via gatling.sh
Check result , refer to below screenshot
=> The first request takes more that 3500ms

Try to add warmUp to http but still has the same issue
val httpProtocol = http.warmUp("http://www.google.com")

This is most likely an issue with your computer (eg other processes eating all the CPU at the same time) or your network (maybe a corporate network, or the Great Firewall, as I see you're in China). Here's what I have on my side (tested on MacOS 11.4 with Java 8u302 and 16.0.2):

Sorry, but I'm afraid there's nothing we can do, the issue is not on our side.

@slandelle Thanks for the confirmation, no sure if it's related to network (Using postman with the first request, takes about 421ms)
Regarding your screenshot, my understanding is if using warmup, the response time of first request should be same as others(around 80 ~ 90ms), is that correct?
In your screenshot it is 174ms, about 2 times longer than other apis.

Also, check that your /etc/hosts is not broken. You must have entries such as:
<IP_ADDRESS>       localhost
<IP_ADDRESS> broadcasthost
::1             localhost

If not, you must add them.

Regarding your screenshot, my understanding is if using warmup, the response time of first request should be same as others(around 80 ~ 90ms), is that correct?

It's not. In this use case, the first request will have to perform a DNS resolution and then open a TCP socket, while the next request will ride one this first keep-alive HTTP connection.


Controller not remove and onClose not fired in v4.1.4

After update to 4.1.4 , I have noticed a some controllers not fired onClose and event this controller not remove from memory !!
binding.dart
import 'package:Project/modules/itemAdd/itemAdd.controller.dart';
import 'package:get/get.dart';

class ItemAddBinding extends Bindings{
  @override
  void dependencies() {
    Get.lazyPut<ItemAddController>(() => ItemAddController());
  }
}

GetPage
 GetPage(
      name: '/item-add',
      page: () => ItemAddView(),
      binding: ItemAddBinding(),
    ),

controller.dart

class ItemAddController extends GetxController {
  // controller
  static ItemAddController get to => Get.find();

  @override
  void onInit() {
    getActiveOrDefualtBasket();
    super.onInit();
  }

}

View.dart
class ItemAddView extends GetView<ItemAddController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold( .... View Code ......);
}
}

console log

[GETX] GOING TO ROUTE /item-add
[GETX] Instance "ItemAddController" has been created
[GETX] Instance "ItemAddController" has been initialized
[GETX] CLOSE TO ROUTE /item-add
< ! ----- missing close controller --- !>
[GETX] GOING TO ROUTE /item-add
< ! ----- missing init controller due to not closed --- !>
[GETX] CLOSE TO ROUTE /item-add

Yes, I can confirm that this happens. It didn't happen before as far as I can remember.
Some controllers just are not deleted from the memory after navigating back using Get.back().

I have the same issue too. The controller is not deleted from the memory. When i logout of my app and try to create a new user. The controller will contain previous values.

After more investigation  I downgrade to 3.25.0 and test found that
the controller not fired onClose first time but in the 2nd time onClose fired

[GETX] GOING TO ROUTE /item-add
[GETX] "ItemAddController" has been initialized
[GETX] CLOSE TO ROUTE /item-add
<!------ Missing onClose fired ----- !>
[GETX] GOING TO ROUTE /item-add
<!------ Missing OnInit fired due to not closed ----- !>
[GETX] CLOSE TO ROUTE /item-add
[GETX] "ItemAddController" onDelete() called
[GETX] "ItemAddController" deleted from memory

after downgrade to get: 3.24.0
the issue has been gone
so what I missing  ?
[GETX] GOING TO ROUTE /item-add
[GETX] "ItemAddController" has been initialized
[GETX] CLOSE TO ROUTE /item-add
[GETX] "ItemAddController" onClose() called
[GETX] "ItemAddController" deleted from memory

I have reduced the code and found something weird for me
// focus on title text field
    Future.delayed(Duration(milliseconds: 300))
        .then((value) => titleFocus.requestFocus());

I'm calling this code in onReady after disabled the life circle work as sharm !! I will investigation more in next time.
for any one facing this issue make a  all  life circle  empty and try.

so after add autofocus:true, to textField I have facing this issue again ,
so I have found the issue and please let me know if this is normal behavior or not.
if soft keyboard is opening and close the stack 'view' the onClose never fired but if I closed keyboard before close the view the controller fired the onClose as normal !!!

Same with #1193

Any update about this issue?

For quick fix I have to unFoucs before 'get.back()' and wait 300ms and wait any update to fix this issue

same problem

Can anyone make the reproduction code for this issue? If there is a reproducible code, I guarantee that we will fix it in the next update, but without the code we cannot analyze it

Any update about this issue?

For a quick fix I have to unFoucs before 'get.back()' and wait 300ms and wait any update to fix this issue

I believe the issue is not related to a text field.
Because I faced this issue when I go to an empty scaffold as a route and then navigate back.
Is everyone that face this issue sure that they are using
Get.put(()=>NewScreen())
instead of using
Get.put(NewScreen()) ?
Also it may help to know if you are using nested navigators or not.

Any update about this issue?

For a quick fix I have to unFoucs before 'get.back()' and wait 300ms and wait any update to fix this issue

I believe the issue is not related to a text field.
Because I faced this issue when I go to an empty scaffold as a route and then navigate back.
Is everyone that face this issue sure that they are using
Get.put(()=>NewScreen())
instead of using
Get.put(NewScreen()) ?
Also it may help to know if you are using nested navigators or not.

In my case It's happening with named route with lazyput

in my case if unhandled exception throw the controller not fire onClose

  void onClose() {
    emitTypingChange(0);
    textController.dispose();
    _log.info("onClose");
    return super.onClose();
  }

this this my problem not getx
becouse
emitTypingChange(0);
stop  the controller from close
becouse if no internet this function not end unit there connection availbe
emitTypingChange

and if emitTypingChange(0);
throw exception
the controller also not delete

  @override
  void onClose() {
    try {
      if (isEmitTyping) {
        emitTypingChange(0);
      }
      textController.dispose();
      _log.info("onClose");
    } catch (err) {
      _log.error(err);
    } finally {
      return super.onClose();
    }
  }

this 100% fix my case

i got the same problem in my project.the controller did not delete from memory when i close page. I used Get.to(()->PageA())

Any update about this issue?

For a quick fix I have to unFoucs before 'get.back()' and wait 300ms and wait any update to fix this issue

I believe the issue is not related to a text field.
Because I faced this issue when I go to an empty scaffold as a route and then navigate back.
Is everyone that face this issue sure that they are using
Get.put(()=>NewScreen())
instead of using
Get.put(NewScreen()) ?
Also it may help to know if you are using nested navigators or not.

In my case It's happening with named route with lazyput

do you add GetMaterialApp in main.dart?

After update to 4.1.4 , I have noticed a some controllers not fired onClose and event this controller not remove from memory !!
binding.dart
import 'package:Project/modules/itemAdd/itemAdd.controller.dart';
import 'package:get/get.dart';

class ItemAddBinding extends Bindings{
  @override
  void dependencies() {
    Get.lazyPut<ItemAddController>(() => ItemAddController());
  }
}

GetPage
 GetPage(
      name: '/item-add',
      page: () => ItemAddView(),
      binding: ItemAddBinding(),
    ),

controller.dart

class ItemAddController extends GetxController {
  // controller
  static ItemAddController get to => Get.find();

  @override
  void onInit() {
    getActiveOrDefualtBasket();
    super.onInit();
  }

}

View.dart
class ItemAddView extends GetView<ItemAddController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold( .... View Code ......);
}
}

console log

[GETX] GOING TO ROUTE /item-add
[GETX] Instance "ItemAddController" has been created
[GETX] Instance "ItemAddController" has been initialized
[GETX] CLOSE TO ROUTE /item-add
< ! ----- missing close controller --- !>
[GETX] GOING TO ROUTE /item-add
< ! ----- missing init controller due to not closed --- !>
[GETX] CLOSE TO ROUTE /item-add

Do you add GetMaterialApp in main.dart?

Can anyone make the reproduction code for this issue? If there is a reproducible code, I guarantee that we will fix it in the next update, but without the code we cannot analyze it

Dose GetMaterialApp is seriously in main.dart?when i did not replace MaterialApp with GetMaterialApp ,it happened

After update to 4.1.4 , I have noticed a some controllers not fired onClose and event this controller not remove from memory !!
binding.dart
import 'package:Project/modules/itemAdd/itemAdd.controller.dart';
import 'package:get/get.dart';

class ItemAddBinding extends Bindings{
  @override
  void dependencies() {
    Get.lazyPut<ItemAddController>(() => ItemAddController());
  }
}

GetPage
 GetPage(
      name: '/item-add',
      page: () => ItemAddView(),
      binding: ItemAddBinding(),
    ),

controller.dart

class ItemAddController extends GetxController {
  // controller
  static ItemAddController get to => Get.find();

  @override
  void onInit() {
    getActiveOrDefualtBasket();
    super.onInit();
  }

}

View.dart
class ItemAddView extends GetView<ItemAddController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold( .... View Code ......);
}
}

console log

[GETX] GOING TO ROUTE /item-add
[GETX] Instance "ItemAddController" has been created
[GETX] Instance "ItemAddController" has been initialized
[GETX] CLOSE TO ROUTE /item-add
< ! ----- missing close controller --- !>
[GETX] GOING TO ROUTE /item-add
< ! ----- missing init controller due to not closed --- !>
[GETX] CLOSE TO ROUTE /item-add

show your main.dart and how do you navigate to next page

show your main.dart and how do you navigate to this page

I have the same issue too. The controller is not deleted from the memory. When i logout of my app and try to create a new user. The controller will contain previous values.
did you replace MaterialApp with GetMaterialApp in main.dart?and how did you navigate to this page?

I have the same problem: I'm navigating to a route with Get.toNamed('/my-route'). After closing the page, the onClose method is not called.

Can anyone make the reproduction code for this issue? If there is a reproducible code, I guarantee that we will fix it in the next update, but without the code we cannot analyze it

in a page with TextField and  a lazyPut GetxController , open keyboard at textField , then press back button on appbar, when you open page again , you can see controller isn't disposed.

Same issue on my side. I can see that if focus is set for any textField (on page A), and I'm navigating to new page (page B). My workaround was to unfocus before performing navigation.

I am experiencing the same issue when a nested controller inside my main page controller calls showDatePicker.
The nested controller is instantiated in the binding, and injected into the main page controller. The nested controller is used by a view showing some text fields and a date picker.
All works great when editing the text fields, but once I open the datepicker, onClose is never called again for the main page controller (it is for the nested controller). When going back to the page, the nested controller holds old values.

Okay, there are a lot of complaints about the same problem.
In my projects this doesn't happen, so in order for me to reach a conclusion or solution of the problem, I need a reproduction code.
Could any of you please create a minimal reproduction code?

Olá @jonataslaw, criei um projeto de estudo e o mesmo não está chamando OnClose quando executo Get.toNamed('/my-route') conforme comentado por @alex-lechner. Segue o link do projeto mínimo para reprodução como solicitado. O problema ocorre ao ir da segunda_page.dart para terceira_page.dart. Obrigado. https://github.com/MattheusOliveira/get_x

Okay, there are a lot of complaints about the same problem.
In my projects this doesn't happen, so in order for me to reach a conclusion or solution of the problem, I need a reproduction code.
Could any of you please create a minimal reproduction code?

According to @niypoo replies, maybe you can compare to 3.25.0 and 3.24.0 changes, to analyze and identify what is the problem?

I have facing the same issue. I think the problem is when screen_a have access to BuildContext like when use Get.theme or Theme.of(Get.context!) and then move to screen_b and show keyboard by focus on textfield or some widget that may trigger keyboard to show up and then go back to previous screen without close that keyboard from screen_b, this will make controller from screen_b not deleted. Is not metter use Get.put() or binding controller on screen_b, the result is still the same.
I manage to reproduce the issue with this code
Main app
import 'package:flutter/material.dart';
import 'package:get/get.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
      getPages: [
        GetPage(
          name: SecondScreen.id,
          page: () => SecondScreen(),
          binding: SecondScreenControllerBinding(),
        ),
      ],
    );
  }
}

class MyHomePage extends StatelessWidget {
  MyHomePage({
    Key? key,
    required this.title,
  }) : super(key: key);

  final String title;

  void _goToPage2() {
    Get.toNamed(
      SecondScreen.id,
    );
  }

  @override
  Widget build(BuildContext context) {
    // Try to use context before go to second screen, use MediaQuery.of(Get.context!) has the same result
    Get.mediaQuery;

    return Scaffold(
      appBar: AppBar(
        title: Text(title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'Click button to go to second screen',
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _goToPage2,
        tooltip: 'Go to second screen',
        child: Icon(Icons.arrow_forward_rounded),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Second screen with controller
class SecondScreen extends StatelessWidget {
  static const String id = 'second_screen';

  final SecondScreenController _screenController = Get.find();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Second Screen'),
      ),
      body: Center(
        child: Obx(
          () => TextFormField(
            initialValue: _screenController.test.value,
            decoration: InputDecoration(
              labelText: 'Text Input',
            ),
            onChanged: _screenController.inputOnChange,
          ),
        ),
      ),
    );
  }
}

class SecondScreenControllerBinding extends Bindings {
  @override
  void dependencies() {
    Get.put<SecondScreenController>(
      SecondScreenController(),
    );
  }
}

class SecondScreenController extends GetxController {
  final Rxn<String?> test = Rxn(null);

  void inputOnChange(String? str) {
    test.value = str;
  }
}

To reproduce issue:

In Main Screen, click button to go to second screen
Click/focus on textfield to open keyboard
Go back to previous screen without closing the keyboard from the second screen

@jonataslaw I tested on virtual machine and it didn't happen but it did on real device.

@jonataslaw Im also test this on physical device but not tested on virtual device

@jonataslaw I have the same problem

@jonataslaw is it fixed on newer version?

Interim solution, delete the following from the project:
Get.context
Get.width
Get.height
Get.size
...

@jonataslaw same issue here. v4.3.0

@MuhammadDicky @niypoo @gustavo-perini @jonataslaw
I deleted Get.mediaQuery in FirstScreen, then navigate to SecondScreen, show the keyboard, then call Get.back() => Controller has been closed. This works for me.

This bug has already been fixed, just update to the latest version.

Olá @jonataslaw, criei um projeto de estudo e o mesmo não está chamando OnClose quando executo Get.toNamed('/my-route') conforme comentado por @alex-lechner. Segue o link do projeto mínimo para reprodução como solicitado. O problema ocorre ao ir da segunda_page.dart para terceira_page.dart. Obrigado. https://github.com/MattheusOliveira/get_x

Get.toNamed don't remove the controller, Get.offNamed does it

Get.toNamed don't remove the controller, Get.offNamed does it

Hello sir big fan long time getx user. Firstly thank you for this amazing package. My issue is I am developing in Web and user needs to use backbutton a lot because there are a lot of nested pages. With Get.toNamed I can use back button but it doesn't close controllers. Get.offNamed fixes my issue on closing controllers, but I can't use back button. Is there a way to use browser's back and forward buttons with offNamed ? @jonataslaw

It still happening !!

@jonataslaw it seems like this issue still exists?
In our case we have to delay the autofocus of an input otherwise controllers will be initialized where they shouldn't. We are using Get.offAllNamed() to go to a new route with autofocus input. Someone the controllers are getting initialized and disposed but the controllers aren't used on the new screen.

@jonataslaw it seems like this issue still exists?
In our case we have to delay the autofocus of an input otherwise controllers will be initialized where they shouldn't. We are using Get.offAllNamed() to go to a new route with autofocus input. Someone the controllers are getting initialized and disposed but the controllers aren't used on the new screen.

Which getx version are you using?

4.6.1

Some tips for later developers:
It's possible that in onClose(), your code will throw an exception that won't get to the end of the execution and will fail to fire the onDelete() method, causing GetInsatnce to fail to remove your controller instance from memory.
Solution: try inserting a try-catch block into the onClose method. If an error is caught in the catch, it proves that the onClose method did not complete the execution. Fix the error so that it can make it to the end of the execution, and you can call the onDelete method to delete the instance from memory.

以下是您提供的文本的翻译：
I have also encountered a similar issue. In a two-level page scenario, the parent page lists many options. When you select one, it takes you to the corresponding child page. However, because the previous child page is not destroyed, it results in navigating to the child page, but it does not display the one you selected; instead, it shows the child page that was selected during the previous visit.
继续翻译：
I haven't used 'onClose'
I only utilized 'onReady', 'Get.toNamed' and 'Get.back'

I have also encountered a similar issue. In a two-level page scenario, the parent page lists many options. When you select one, it takes you to the corresponding child page. However, because the previous child page is not destroyed, it results in navigating to the child page, but it does not display the one you selected; instead, it shows the child page that was selected during the previous visit.
I haven't used 'onClose' I only utilized 'onReady', 'Get.toNamed' and 'Get.back'

I'm also facing the same issue. any solution on that?

I'm also facing the same issue. controller not delete on back press. I am using the latest version getx 4.6.5

use 4.6.6 at least those who are still facing the issue

I'm still having this problem with version 4.6.6

Hey everyone, the issue hasn't been completely resolved yet. I can't find it on mobile (both iOS and Android), but it's present on the web. It doesn't happen every time.


Added missing 1.24 badge to README

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


[Feature Request] or [How-to] - Define default types for a class's fields.

I am trying to define defaults types for the properties of a class:

In the above image, I would want the "uknown" types next to the named fields to be instead classified as type "EventReg". The only way currently for me to achieve this is to assign each keys in a pre-compiled manner in order to teach the extension "this is an EventReg" (as you can see, I've done this already with "OnUnitHealed", "OnUnitIndexed" and some others.
What I want to do is to set a default type of a property of a class, instead of "uknown", when I don't manually assign those keys. I have a generic creator function "Event.create" which takes a string, and automatically adds that string as a key of the Event table. I don't want to force users of the Event library to have to declare Event.MyEventName = Event.create "MyEventName", when they should simply be able to use Event.create "MyEventName".
I have tried defining "Event" as a dictionary (as per the below), but it still just treats the extended properties as "uknown".

I have also tried to declare an __index metamethod, but the "operator" keyword doesn't recognize that keyword. For example:

I am not sure whether to leave this as a feature request, or a how-to. I have been trying, and experimenting, to find out how to do this thing, and I've read as much into the functionality of the language server to understand how to do this thing, and nothing is working.
If someone knows a way to achieve what I'm doing, please let me know. Otherwise, I request a feature that allows me to specify a default type of an unknown table field.

Thank you - this has really helped me to narrow down the issue.
The issue is only encountered when using Event as a global object, but it disappears when I make the variable a local object:

I'm attaching a copy of my service.log file. I can include others if it would help.
service.log.zip

@sumneko how would one declare default __index return type for a class?
For example:
---@class Options
local options = {
  first = 1,
  second = 2,
}

---@class TestClass
---@field opts table
local TestClass = {}

function TestClass:new()
  local data = {
    opts = options
  }
  setmetatable(data, self)
  return data
end

function TestClass:__index(key)
  if self.opts[key] then
    return self.opts[key]
  end

  return rawget(getmetatable(self), key)
end

---@type TestClass
local c = TestClass:new()

---This shows warning because "first" is not field in TestClass
print(c.first)

how would one declare default __index return type for a class?

---@class TestClass: Options

The issue is only encountered when using Event as a global object, but it disappears when I make the variable a local object:

Should be related with #1724

The issue is only encountered when using Event as a global object, but it disappears when I make the variable a local object:

Should be related with #1724

Agreed; the scenario in that person's description aligns with what I have going on. Because Blizzard disabled "require" functionality for WarCraft 3, I have built a system wherein users can encapsulate their code via functions, that are then systematically called via coroutines that yield when they encounter an undeclared resource until the point where that resource becomes declared (or throws an error).

how would one declare default __index return type for a class?

---@class TestClass: Options

That worked, thanks!

This can be closed as the titular question is resolved and the lingering problem is being taken up in https://github.com/sumneko/lua-language-server/issues/1724 (which is, in my opinion, a bug, as it is a regression from previously-working scenarios).


Sass: Use @for to Create a Sass Loop Test Bug

Describe your problem and - if possible - how to reproduce it
Sass: Use @for to Create a Sass Loop
Tests don't passes in Google Chrome, but pass in Firefox.
It view correct.
My code:

Add a Link to the page with the problem
https://learn.freecodecamp.org/front-end-libraries/sass/use-for-to-create-a-sass-loop/
Tell us about your browser and operating system

Browser Name: Google Chrome
Browser Version:  67.0.3396.99 (Official Build) (64-bit)
Operating System: Windows 10

If possible, add a screenshot here

SAME ISSUE BUT IN FIREFOX:
Describe your problem and - if possible - how to reproduce it
Sass: Use @for to Create a Sass Loop
Results in the right most column look fine - but tests don't pass.
My code:

Hello

Hello

Hello

Hello

Hello

Add a Link to the page with the problem
https://learn.freecodecamp.org/front-end-libraries/sass/use-for-to-create-a-sass-loop/
Tell us about your browser and operating system
Browser Name: Firefox
Browser Version: 61.0 (Quantum)
Operating System: macOS High Sierra 10.13.5

If possible, add a screenshot here:

@BogdanDor @numoonchld can you try this and see if you get the same behaviour I did.
1st run - 5 failing tests, all of this type Your .text-1 class should have a font-size of 10px
Immediately click Run tests again.
2nd run - tests pass.

Clicking furiously worked here.

@BogdanDor This is now working correctly, please close the issue.

cc: @ezioda004

Reporting same issue after closed! It's passing on Firefox but not in Chrome

@mrmorais Which tests are you failing?  Can you show a screenshot of the tests section?  Also, can you copy/paste (not a screen shot) your exact code and post it in the same reply?  To post code make sure there is a separate line of 3 backticks before and after the code (see below for an example).
```
your code goes here
your code goes here
your code goes here
```

Here goes the print screen on Google Chrome

@mrmorais Please copy/paste the exact code as @RandellDawson has requested above!

@mrmorais Can you share a screenshot of what it shows when you go to chrome://settings/help ?
Also, what version of operating system are you using?

My exact code:

Hello

Hello

Hello

Hello

Hello

It passes for me:

Are you seeing anything in the console. Press F12 to open it

What zoom setting are you currently using?  100% should be used in case you are using something different.

One last question.  If you open up your console the Chrome Developer Tools (Ctrl+Shift+I in Windows), then click the circled button below:

and then mouseover the first Hello text, what do you see?  I see the following:

Well, on Element Inspector appears 14px instead 10px (the CSS inspector says 10px). The zoom is 100%.

@mrmorais If you click Alt + F, then select 'Settingsand scroll down toAppearance, make sure you have Medium (Recommended)forFont size`.
Also, can you following the instructions for To further customize the font size and take a screenshot of what your settings look like?  Mine look like below:

It worked (:tada:) using minimum font size on "Tiny". Maybe the 10px element was smaller than the minimum accepted


osmomath: AddMut and QuoMut

mut add
test add mut
quo  mut
test quo mut/ remove want from test struct

Closes: #3773
What is the purpose of the change
mutative add and quo + tests

This isn't getting the speedup benefit of mutative arithmetic. Can you look at how we do it in our SDK fork for Decimal, and adapt it here in a similar style?

@ValarDragon I pushed changes, not sure I understood what you mean tho, hope fixed correctly


MT.1038 lacks information about deleted groups

The site https://maester.dev/docs/tests/MT.1038 is not found and the test does not include any information about which groups are deleted.
Test details
Test-MtCaReferencedGroupsExist | Should -Be $true -Because "there are one or more policies relying on deleted groups."

Are you running the latest version of the module?
You should see this in the results.

Thanks for the call out on the missing MD file. I've added it now.

I see 2 MT.1038 now when I run it locally:

I went through a few of the policies and I checked if the group is still existing in Entra... if the group is still in Entra, why is it showing here?


Navbar icon error when called navigationPage.PopToRootAsync()

Hi,
In my app, there are two toolbar items in main navigationPage;
//App.cs
Nav = new NavigationPage (new PageHome ());
Nav.BarTextColor = Color.White;
Nav.ToolbarItems.Add (new ToolbarItem {
	Icon = "ic_action_toolbar_icon2.png",
	Command = new Command(new Action(() => {
		App.Nav.PopToRootAsync();
	})),
});
Nav.ToolbarItems.Add (new ToolbarItem {
	Icon = "ic_action_toolbar_icon3.png",
	Command = new Command(new Action(() => {
		var page = new PageDays();
		App.Nav.PopToRootAsync();
		App.Nav.PushAsync(page);
	})),
});
MainPage = new PageMaster ();

//PageMasterDetail.cs
Detail = App.Nav;
Master = new PageMenu ();

App starts normally

Goes to Page1 by tapping second toolbarItem

When clicked first toolbarItem, it calls NavigationPage.PopToRootAsync() method and then icon should be "Sandwich" not an arrow, right?

Yeah, that definitely looks like a bug. There's special code to handle the case of NavigationPages and the back arrow. I'll look into it this weekend.

Thanks for reporting the issue. This has been fixed in <IP_ADDRESS>.
It also happened to expose another bug when pushing multiple pages onto the navigation. See the release notes.
There's also now a demo for nested navigation inside a MasterDetailPage.

Many thanks :)))


Issue 912: cmx_3600 adapter incorrectly processing three-clip transitions

the issue is actually in how the adapter is adjusting the duration of the clip after the transition. Specifically, in how it's defining the "next clip."
https://github.com/PixarAnimationStudios/OpenTimelineIO/blob/84af5e5a30e4d14cf3434d6d055631e115ac1ee5/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py#L731-L749
To explain, here's an EDL with a simple dissolve:
001  ABC0010. V     C        01:00:06:15 01:00:08:18 01:04:12:23 01:04:15:02
002  ABC0010. V     C        01:00:08:18 01:00:08:18 01:04:15:02 01:04:15:02
002  ABC0020. V     D    035 01:00:06:22 01:00:10:07 01:04:15:02 01:04:18:11
* BLEND, DISSOLVE

In this case, when the adapter gets to line three, it hits the above code. It adds the Transition and adds half of the transition's runtime to the "next clip", which is also line 3.
However, in the case of an A->B->C transition, the adapter gets confused. It sees line 3 and line 4 as continuous and thus, it adds the Transition length to line 4, which is a 0-length transition marker.
001  ABC0010. V     C        01:00:06:15 01:00:08:18 01:04:12:23 01:04:15:02
002  ABC0010. V     C        01:00:08:18 01:00:08:18 01:04:15:02 01:04:15:02
002  ABC0020. V     D    035 01:00:06:22 01:00:10:07 01:04:15:02 01:04:18:11
* BLEND, DISSOLVE
003  ABC0020. V     C        01:00:10:07 01:00:10:07 01:04:18:11 01:04:18:11
003  ABC0030. V     D    064 01:00:06:10 01:00:09:22 01:04:18:11 01:04:21:23
* BLEND, DISSOLVE

In the next loop, the adapter then removes line 4 (because it's just a transition marker) and we lose half the duration of the transition.
I fixed it by tweaking the "next_clip" logic so that, rather than assuming the next clip is "whatever's next," it defines the next clip as "the next clip with a duration."
def _get_next_clip(start_index, track):
    # Iterate over the following clips and return the first "real" one
    for index in range(start_index+1, len(track)):
        clip = track[index]
        if clip.duration().value > 0:
            return clip

    return None

(This also led me to simplify the loop in _expand_transitions() and remove the iter().)
This works for me and all the tests are passing now, however the entirety of _expand_transitions() feels a little overcomplicated to me, and could possibly be simplified. Unfortunately, in attempting to simplify it, I broke other tests in the test suite, so I don't think I fully grok the entirety of what it's doing.

Codecov Report

Merging #919 (83534ac) into master (600a9d7) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #919      +/-   ##
==========================================
+ Coverage   85.70%   85.71%   +0.01%
==========================================
  Files         184      184
  Lines       17723    17737      +14
  Branches     1993     1995       +2
==========================================
+ Hits        15190    15204      +14
  Misses       2024     2024
  Partials      509      509

Flag
Coverage Δ

unittests
85.71% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...opentimelineio/opentimelineio/adapters/cmx_3600.py
85.55% <100.00%> (ø)

tests/test_cmx_3600_adapter.py
98.95% <100.00%> (+0.04%)
:arrow_up:

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 600a9d7...83534ac. Read the comment docs.


tests/conversion: conserve CPU/disk by exporting to stdout

After chatting about #292 with @MusicDin he mentioned that I forgot about this other case.

The first (alpine) one shaved ~35s but this one is even better as it goes from 147s down to 40s.


poet -s broken with pinned packages

Hi there!
Awesome tool. Just wanted to flag this but in version 0.10.0.
Specifying a pinned package is no problem with the default behavior...
poet six==1.11.0
  resource "six" do
    url "https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz"
    sha256 "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9"
  end

But seems to break with the -s flag. Looks like pypi no longer supports this url scheme https://pypi.io/pypi/{}/json
poet -s six==1.11.0
Traceback (most recent call last):
  File "/Users/jpvelez/.local/share/virtualenvs/science-box-cli-Dy8vfmAv/bin/poet", line 11, in <module>
    sys.exit(main())
  File "/Users/jpvelez/.local/share/virtualenvs/science-box-cli-Dy8vfmAv/lib/python3.6/site-packages/poet/poet.py", line 246, in main
    data = research_package(package)
  File "/Users/jpvelez/.local/share/virtualenvs/science-box-cli-Dy8vfmAv/lib/python3.6/site-packages/poet/poet.py", line 80, in research_package
    with closing(urlopen("https://pypi.io/pypi/{}/json".format(name))) as f:
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 564, in error
    result = self._call_chain(*args)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 756, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 564, in error
    result = self._call_chain(*args)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 756, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 564, in error
    result = self._call_chain(*args)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 756, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Hmm; I think I didn't intend to support this but the error message could be clearer.


pull request for e2e test at 12/02/2016 18:45:10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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


check/colorfont_tables: update conditions

Description
Our current implementation for com.google.fonts/check/colorfont_tables isn't strict enough.
Fixes #3888
@anthrotype Have I covered all the cases?
To Do

[ ] update CHANGELOG.md
[ ] wait for all checks to pass
[ ] request a review

Rationale text needs to be updated to reflect the reasoning of these updated check criteria. It currently reads:

No one color font format supports all major user agents, but the combination
of COLR & SVG tables is pretty good.
A smart server could prune away one or the other based on user agent,
and a dumb server will at least have something that works.
Fonts that do not pass this check can be fixed with the maximum_color tool
available at https://github.com/googlefonts/nanoemoji

Also, code-tests need to be updated since they're enforcing the incorrect tag "SVG", while it should be "SVG " instead.

Docstring on the code-test must also be updated. It still reads as Fonts must have neither or both the tables 'COLR' and 'SVG'."

Done.

CI Errors seem to involve the whole timeout fiasco which #3892 solves.

Merge conflict fixed.

@felipesanches PTAL. I keep having to rebase this PR so it'll be good to get this in.

Thank you!


Annotations and test changes to fix a handful of pyright issues

Follow up to https://github.com/pypa/setuptools/pull/4192

Sorry this was meant to be against my own fork to test on the CI


Error: Could not start recording within 5 seconds

I get this error every time I use KAP:
I have to restart the app to make it work.
Thanks!
Recording error
Error: Could not start recording within 5 seconds
at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:108:21)
macOS version: 10.14.6
Kap version: 3.2.2 (<IP_ADDRESS>7)

Seeing this same issue, just adding some data points:
macOS version: 10.14.6
Kap version: 3.2.2 (<IP_ADDRESS>7)
Fwiw, I've restarted Kap several times. The issue persists.

I am also seeing this issue - I have killed the application support folder, reinstalled kap. Same deal. Catalina 10.15.5

@sindresorhus I know we throw this after we make the call to aperture if it doesn't print R within 5 seconds. Do you know why this would happen in the Aperture code? Is there a way to send back some sort of reason as to why it didn't? Might help us debug

@karaggeorge I have no idea. It means that Aperture didn't throw any error, so why it didn't start is difficult to figure out when we cannot even reproduce the issue. Maybe the computer is just very slow. Maybe we should change the timeout to 10 seconds?

This was on a Mac Pro with 64gb of ram. Doubt it was execution speed.
On Thu, Jul 9, 2020 at 23:36, Sindre Sorhus<EMAIL_ADDRESS>wrote:

@karaggeorge https://github.com/karaggeorge I have no idea. It means
that Aperture didn't throw any error, so why it didn't start is difficult
to figure out when we cannot even reproduce the issue. Maybe the computer
is just very slow. Maybe we should change the timeout to 10 seconds?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wulkano/Kap/issues/854#issuecomment-656510119, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAATIDVA6HIJHWYKQTVU3D3R22ZF3ANCNFSM4NOMMAWA
.

Then my only other guess is a permission issue.
@TristanBrotherton Can you quit Kap, run this command in the Terminal, and then launch Kap again and try recording?
$ tccutil reset All com.wulkano.kap

I thought screen recording permissions were introduced in Catalina. Most of the reports I see above were on 10.14. Would it be the microphone permission?

Yeah, that was my thinking.

How about we check for mic access, and if it's not granted, we just remove the deviceId. It should have audio enabled since the cropper has logic to ask for permission, but if it somehow gets there we can at least try to prevent it?

Sure, wouldn't hurt. We should add some Sentry logging though, so we can track whether it happens to a lot of people.

Closing in favour of #921. Please make sure you are running the latest release, and leave any additional information on the new issue if you continue experiencing this after updating.


Better errors, fixed subtitle issue, and minor changes

This PR looks like it changed quite a lot but in reality there were only two major changes
First, I removed the /common/error.go file and replaced it with the newer wrapped errors. This will make it easier to figure out specific errors in the future due to it being an amateur stack trace
Second, I rewrote a small part of the /crunchyroll/subtitle.go file to use regular expressions to find video metadata. The older method was less efficient and this one seems to work in all tests I've done. It also (should) fix #43
I also made minor changes, such as re-adding the /.circleci/ folder to fix the failed build error it shows on the README. Lastly, I made it so the subtitles will not be forced to English, the user's preference should work now

Hey sorry, it took me so long to take a look at this. I've been traveling a lot the past few weeks and just noticed it in my Github notifications. Everything looks great! I love that you're using the new error wrapping. Thanks so much for the help with this!  I'll probably submit another PR soon that would allow for single episodes to be downloaded, but it might change a lot (I haven't quite worked out the most efficient way to do it yet).


More default settings for 'Export Jar' - skip 'Determine Elements'

First of all can I just say how much I love this extension. Thanks for all the hard work!
At the moment, when you export Jar file, the default is to have all referenced libraries selected to export along with bin. This is not always ideal when we are building a small plugin and the referenced libraries are just there for ... ... reference. :) The Jar file with just my code is ~14kB, all referenced libs is > 15MB.
Can we have a setting where we define the default includes in the Jar export and bypass the "Determine Elements" selection all together? This would greatly speed up the failure rate of my code...
This is the "offending" screen.

Thanks,
Tim

@CsCherrYY Could you please take a look?

@CsCherrYY Could you please take a look?

@timmclaurin Thanks a lot for your enthusiasm and suggestion on the extension!
Currently, we offer an option to custom the export jar process for you. Here is a wiki page talking about the usage of export task.
In your case if you just want to skip the Determine elements wizard with all the referenced libraries unselected, you can follow the wiki page, keep only ${compileOutput} in the elements list of the task definition. After that, you can run the custom task to export jar and the Determine elements wizard will be skipped.

@timmclaurin Thanks a lot for your enthusiasm and suggestion on the extension!
Currently, we offer an option to custom the export jar process for you. Here is a wiki page talking about the usage of export task.
In your case if you just want to skip the Determine elements wizard with all the referenced libraries unselected, you can follow the wiki page, keep only ${compileOutput} in the elements list of the task definition. After that, you can run the custom task to export jar and the Determine elements wizard will be skipped.

Awesome! Thank you.
This is great. I made my task the default so I can execute it with Ctrl+Shift+B.
In case some one else needs this, this is what I have in my tasks folder:
{
"version": "2.0.0",
"tasks": [
    {
        "type": "java",
        "label": "java: Quick Jar Export",
        "targetPath": "${workspaceFolder}/${workspaceFolderBasename}.jar",
        "elements": [
            "${compileOutput}"
        ],
        "problemMatcher": [],
        "group": {
            "kind": "build",
            "isDefault": true
        }
    }
]

}

Awesome! Thank you.
This is great. I made my task the default so I can execute it with Ctrl+Shift+B.
In case some one else needs this, this is what I have in my tasks folder:
{
"version": "2.0.0",
"tasks": [
    {
        "type": "java",
        "label": "java: Quick Jar Export",
        "targetPath": "${workspaceFolder}/${workspaceFolderBasename}.jar",
        "elements": [
            "${compileOutput}"
        ],
        "problemMatcher": [],
        "group": {
            "kind": "build",
            "isDefault": true
        }
    }
]

}


[Ziro] Empty top bar obstructing cover art

Describe the bug
There's a line (top bar) obstructing a good chunk of the cover art of any playlist or album I check.
I made sure that it was Ziro causing the issue by temporarily getting rid of every other extension, snippet or any general modification I've made. In the screenshot I've attached, I do have other extensions enabled, but I can assure you that the issue is not caused by any of them.
To Reproduce
Steps to reproduce the behavior:

Get the Ziro theme
Go to any playlist or album or anything with cover art
You should notice that a chunk of the image is being obstructed

Expected behavior
The top bar should only be present when it's necessary. Should be invisible when you're looking at a playlist or album.
Screenshots

Logs

Specifics

OS: Windows
Spotify version: <IP_ADDRESS>4.gc16ec9f6
Spicetify version: 2.38.4
Theme: Ziro

I don't know if this code is well-written, but this worked for me.
.main-topBar-container {
    position: relative;
}

.main-trackList-trackListHeader.main-trackList-trackListHeaderStuck, .marketplace-header {
    top: 0px !important;
}

/* Optional: fixes the border radius in top covers */
.main-entityHeader-container.main-entityHeader-withBackgroundImage
{
	border-radius: none !important
}

Proof:

I don't know if this code is well-written, but this worked for me. Paste it into your CSS Snippets. This is only temporal until they release an official bugfix.
.main-topBar-container {
	position: relative;
}

.main-trackList-trackListHeader.main-trackList-trackListHeaderStuck, .marketplace-header {
    top: 0px !important;
}

/* Optional: fixes the border radius in profile covers (banners) */
.main-entityHeader-container.main-entityHeader-withBackgroundImage
{
    border-radius: 0 !important
}

Proof:

as a temporary solution, this is working for me. thanks

@ItzzExcel while this is working for the playlist, the lyrics broke.
it have some gaps rather than fullscreen

@ItzzExcel while this is working for the playlist, the lyrics broke.
it have some gaps rather than fullscreen

That's fault of the beautiful-lyrics server or either the extension itself.

Yes I know that issue is from beautiful-lyrics. But I don't talk about that I was talking about these gaps here.

this is taking too long for a respond


Requirement: Test server/git for testing develop branch

Test server/git for testing develop branch- Currently we are using Production Server for testing.

use environment variables for switching servers on netlify.
DoD: Able to change which server we're using based on the environment vars.

Beta-14 Develop build is working on bg server currently. This feature would allow develop build to point to test server i.e bg server and the production build to work on the Production sever i.e git.door43.
As a user on the develop branch, I cant switch the servers to see this working. Can please @klappy or @RoyalSix confirm if this works fine as stated above? if so, I would label it as testedElsewhere and QA Complete it.

We can test this once we deploy this issue to Production. So we may have to break a rule of deploying to production prior to this fully being tested :)


Integrating ModMenu into Fabric/Quilt

Ever since the birth of ModMenu I've been wondering why it isn't a part of Fabric and Quilt yet.
As far as I know Forge has a built-in modmenu since its inception.
Are there any plans to integrate Modmenu in Fabric and Quilt and if not why?

You'd have to ask them that, I don't make Fabric or Quilt


ghsync changes: issues.state is now uppercase

ghsync put values like 'open' in issues.state, metadata-retrieval does 'OPEN'.

After some consideration, I propose to fix it on obs-demo side.
My reasoning is that the values of the state column are constants that we will unify between providers. It seems a good idea to make them uppercase to make it more clear in SQL queries that those values are constants.


[CT-584] [Bug] dbt build doesn't respect n-plus operator

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I feel I might’ve run into a node selection bug when using dbt run vs dbt build. My understanding is that dbt build is supposed to respect standard selection syntax but it does not seem to be handling n-plus selection correctly.
The behavior I’m seeing:
dbt run -s 3+dim_users  - only runs dim_users and 1st, 2nd, and 3rd degree upstream models
dbt build -s 3+dim_users - runs all upstream models, as if it’s just doing +dim_users
Expected Behavior
dbt build -s 3+dim_users should run only dim_users and 1st, 2nd, and 3rd degree upstream models.
Steps To Reproduce

Be in a regular dbt environment with a basic DAG
Run dbt run -s 1+model_name - the output should be that dbt runs only model_name and all 1st degree upstream models
Run dbt build -s 1+model_name - the output is that dbt runs all upstream models

Relevant log output
No response
Environment
- OS: macOS Big Sur 11.6
- Python: 3.7.9
- dbt: 1.0.1

What database are you using dbt with?
snowflake
Additional Context
No response

Hi @foundinblank , thanks for the bugreport.  Unfortunately, I'm having a hard time replicating the issue locally.  Could you provide a sample project so I can try to sort out what's going wrong?

tested this on 1.4 and can confirm: https://www.loom.com/share/2dd237b0da834a6589211a8e23c8d77f
Confirmed this is happening in the IDE and locally cli.
dbt run -s 2+some_model  and dbt build -s 2+some_model return a different number of models
Confirmed this is also happening in the other direction, ie.
dbt run -s some_model+2  and dbt build -s some_model+2 return a different number of models

I can also confirm this behavior.

From a little poking around - I think the fix in https://github.com/dbt-labs/dbt-core/pull/7431 could address this one too! By filtering out the extra edges that we add during build, to block/skip downstream models on upstream models' tests.


Please add me to the garden :)

:) Thank you!

The last person admitted to The Garden was in May apparently :( 10 months ago.
It's spring soon, so I keep hope alive for the garden...

People asking here is not the way it should be done, unfortunately. See the section "Transferring repository" in http://kivy-garden.github.io/

Invitation sent.


Page specific improvements

Adds a feedback logs button to the user profiles. Additionally, I have also introduced some logic for adding more custom page handlers in the near future.

Adds hidden curses to be visible through the holy graph

That doesn't remove anchors/hashes in the URL though

In that case, maybe change the regexes to have the ^ to match accordingly as well. And instead, use the following for getting URLS to get rid of the protocol in front:
window.location.host + window.location.pathname


ConnectAsync returning false

Hello,
I set up the app store connects and google play with product IDs, then I am trying to get product info, but ConnectAsync always returns false:
            var billing = CrossInAppBilling.Current;
            try
            {
                var productIds = new string[] { "plan_one_month_featured", "plan_one_week_featured" };
                var connected = await billing.ConnectAsync();
                if (!connected)
                    return false;

                //make additional billing calls
                var items = await billing.GetProductInfoAsync(ItemType.InAppPurchase, productIds);

                return true;
            }
            finally
            {
                await billing.DisconnectAsync();
            }

I followed the installation instructions but I am not sure why I always get false...Are there any other setup requirements in version 4?

I just read somewhere in the docs that it only works on physical devices in android.


Combine Node0.6 fix from alaingilbert

merged in alaingilbert https://github.com/pgriess/node-websocket-client/pull/19
... i'm not sure if it'll work, not tested.

I tested with node 0.6.3 and Alain's fix work. I didn't tried or even looked into the backward compatibility though...

Hi,
Is there a ETA on this merge ?
Is the project still in active development ?
Thanks,

Nicolas

It would be nice if this could get merged already. It fixes a lot of things.


Only create console terminal if process has console

Intellij import was broken in sbt 1.4.2 because we increased the
scenarios in which virtual io is used. The problem wasn't actually
virtual io but that we create a console terminal with jline3 and that
could cause issues reading input from System.in. This can be fixed by
only creating an instance of ConsoleTerminal if a console is actually
available for the sbt process. When hasConsole is false, the
consoleTerminalHolder will point to the SimpleTerminal whose inputStream
method just reads directly from System.in. After making this change, I
verified that intellij import worked again on windows.

fix for https://youtrack.jetbrains.com/issue/SCL-18393


About few-shot normal images

Can it work on 1-shot normal image setting?

Hi, InCTRL can work on 1-shot setting, you simply need to replace the prototype of the feature maps of the image prompts with the given single image prompt during the image-level residual learning process.


Issue #55: Stop Settings Page for Observers

Changed click on journal entry to: If owner show properies else show PDF immediately. It is a very simple "fix".

Hey @brockhaus - thanks for this. It is a very simple fix yes, my objections with it were mostly from a design perspective but I've only heard arguments for it not against so far so I'll take a look at this as soon as I can and verify everything on my end.

Hey @brockhaus - thanks for this. It is a very simple fix yes, my objections with it were mostly from a design perspective but I've only heard arguments for it not against so far so I'll take a look at this as soon as I can and verify everything on my end.


running racketeer on git head: serious problems

After installing the tool on git head, I opened drracket and switched from #lang racket to BSL.
-- I noticed that the gc ran a lot, suggesting something's running all the time (even w/o typing)
-- I started typing and some internal error was raised with the message below:
change-style method of text%: expects type <interface:style% instance or style-delta% instance or #f> as 1st argument, given: #; other arguments were: 0 92 #t
context...:
/Users/matthias/plt/racket/share/pkgs/gui-lib/mred/private/wxme/text.rkt:3948:2: core6517

[:~/svn/2HtDP] matthias% change-style method of text%: expects type <interface:style% instance or style-delta% instance or #f> as 1st argument, given: #; other arguments were: 0 1 #t
context...:
/Users/matthias/plt/racket/share/pkgs/gui-lib/mred/private/wxme/text.rkt:3948:2: core6517
Some more output from the console where I started:
% change-style method of text%: expects type <interface:style% instance or style-delta% instance or #f> as 1st argument, given: #; other arguments were: 0 90 #t
context...:
/Users/matthias/plt/racket/share/pkgs/gui-lib/mred/private/wxme/text.rkt:3948:2: core6517
change-style method of text%: expects type <interface:style% instance or style-delta% instance or #f> as 1st argument, given: #; other arguments were: 0 92 #t
context...:
/Users/matthias/plt/racket/share/pkgs/gui-lib/mred/private/wxme/text.rkt:3948:2: core6517
change-style method of text%: expects type <interface:style% instance or style-delta% instance or #f> as 1st argument, given: #; other arguments were: 0 114 #t
context...:
/Users/matthias/plt/racket/share/pkgs/gui-lib/mred/private/wxme/text.rkt:3948:2: core6517
change-style method of text%: expects type <interface:style% instance or style-delta% instance or #f> as 1st argument, given: #; other arguments were: 0 117 #t
context...:
/Users/matthias/plt/racket/share/pkgs/gui-lib/mred/private/wxme/text.rkt:3948:2: core6517

Fixed change-style -- didn't notice it initially due to version conflicts caused by local project relocation. The GC should now run only when there's typing activity.
Thanks for bringing this up, Matthias!


Added -R/--release flag to specify release codename

This allow generate a custom list based on the release name. For example: If you want to generate a custom list for bionic you can apt-select -R bionic

This is lovely. It would also be nice to be able to check for an architecture, since for instance arm64 mirrors are far and few between.
Example of the problem:
https://www.cnx-software.com/2019/10/27/changing-ubuntu-apt-mirror-from-the-command-line-lack-of-arm64-mirrors/


Option to force a specific Stable Diffusion model

By default the image generation is handled by the currently selected Stable Diffusion checkpoint in the Web UI, which can cause undesired image generation if the wrong model is selected in the Web UI when SallyBot receives a request.
By specifying the checkpoint name such from the Stable Diffusion web UI this can be overridden in the API request by specifying "sd_model_checkpoint", and the checkpoint name.

e.g: { "sd_model_checkpoint", "anything-v3-fp16-pruned.safetensors [d1facd9a2b]" }
This is probably only an issue if multiple image models are used and you're generating images with a different model than SallyBot should use.

I've left it commented out as it's probably something that doesn't need configuring by default and maybe is best to have as an option.

hey did you test this by the way? I'm just testing it now and I have tried every different tag I've found online and none work for this, even placing in normal json + overrides etc. providing model hash, with square brackets as it's laid out in http://localhost:7860/sdapi/v1/sd-models and without as well, and none work. @Jakoski360

Ah sorry I've just realised what I've got different in my setup. I've commented out the filter_nsfw line as that option is invalid in the current version of stable diffusion.
With that commented out, it works:


Surface errors from external importjs call better

If the call to importjs fails, we would still try to parse the output
as json. We can detect failures using v:shell_error (which returns the
exit code from the last command) and show the output from the command as
an error string instead.
There's still an issue with "^@" showing up in the output, but I figured
this is at least better than what we had before.

👍


Bug 1716426 : Fix typo in admission pluginConfig

Fix: https://bugzilla.redhat.com/show_bug.cgi?id=1716426

@danwinship @deads2k updated

/cherrypick release-4.1

Not there yet:
F0603 19:36:25.026838       1 cmd.go:66] failed to initialize admission: couldn't init admission plugin "network.openshift.io/RestrictedEndpointsAdmission": error reading config: Object 'Kind' is missing in '{"restrictedCIDRs":["<IP_ADDRESS>/14","<IP_ADDRESS>/16"]}'

/lgtm
/hold
holding so it doesn't cycle over and over.
@squeed for the future, have a look at the aos-devel thread with Derek and myself called "admission plugins and you" for a list of ownership and how we're handling integration for kube-apiserver and openshift-apiserver configuration in support of various features.  Everyone has a pet setting and we're looking for feature owners to own enabling their own features.

/retest

Replaced by https://github.com/openshift/cluster-kube-apiserver-operator/pull/494


SW-3514 Limit table area to viewport

Every table should now be limited to the width of the viewport minus some area for padding.  Additionally, every table card (with a few exceptions listed below) is now setup to go flush for mobile viewports to give tables extra space.
The tables that I verified for this PR:

Species
Seeds database
Seedling inventory by species
Seedling inventory by nursery
Seedling inventory by batch
Nursery inventory
Species inventory
Planting progress
Withdrawal history
Observations list
Observation detail view
Observation zone view
People
Projects
Nurseries
Seed Banks
Planting Sites
Reports List
My account organizations (not mobile flush)
Nursery sublocations (not mobile flush)
Seed bank sublocations (not mobile flush)

I may be missing some tables here.  If I am, please let me know and I will get them fixed.

Nice! All the tables look and work good. Obvious improvement on how the batch actions bar works and you can see the pagination UI at the bottom of the table now.
A couple of minor things:

The stacked Batch Withdraw tables might have been missed. (I just remembered them so I don't think I called them out.)
Reports List table isn't flush on mobile but I suspect this is because there's a "Settings" tab that doesn't contain a table. (I don't think it's an issue, we don't have many cases where we have tabs with table + non-table content.)
When you scroll down a long table (staging: dev, Seeds > Accessions) and then you scroll up a bit, the interaction with the header reappearing with the button + more menu has them off-screen. (It fixes itself when you scroll all the way back up, though):

Reports List table isn't flush on mobile but I suspect this is because there's a "Settings" tab that doesn't contain a table. (I don't think it's an issue, we don't have many cases where we have tabs with table + non-table content.)

I just checked the Reports list and it seems flush on mobile to me.  Perhaps you mean the report view/edit screens?

Reports List table isn't flush on mobile but I suspect this is because there's a "Settings" tab that doesn't contain a table. (I don't think it's an issue, we don't have many cases where we have tabs with table + non-table content.)

I just checked the Reports list and it seems flush on mobile to me. Perhaps you mean the report view/edit screens?

Oh is it because I'm logged in as admin? I get the "Settings" tab.

Reports List table isn't flush on mobile but I suspect this is because there's a "Settings" tab that doesn't contain a table. (I don't think it's an issue, we don't have many cases where we have tabs with table + non-table content.)

I just checked the Reports list and it seems flush on mobile to me. Perhaps you mean the report view/edit screens?

Oh is it because I'm logged in as admin? I get the "Settings" tab.

Ah okay that's with the Projects feature enabled, which has other issues.  We'll fix those as a part of Projects QA

Ah okay that's with the Projects feature enabled, which has other issues. We'll fix those as a part of Projects QA

Aaah.. Got it, thanks.


Can it support Tensorflow 2.0 with Windows10?

Can it support Tensorflow 2.0 with Windows10?

@QQ2737499951
The repository provides a Dockerfile for the environment construction; so please use Docker for Windows.
I guess TensorFlow 2.0 is okay though the repository does not use recent progresses such as the eager mode.

Close this issue since no activity.


[Windows] set TLS12 for toolset

Description
It requires tls1.2 forcibly
Related issue: https://github.com/actions/runner-images/issues/6990
Check list

[X] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2019,windows2022

/azp run windows2019,windows2022


[#32] Add support for configuring Kubernetes startup probe

Adds a default startup probe of 3min to help out slow applications to start.
fixes #32

oh, one more thing. As we change the wildfly-common library, we have to bump it to 1.4.0 in https://github.com/wildfly/wildfly-charts/blob/main/charts/wildfly-common/Chart.yaml#L5.
We also have to update the wildfly version to 1.5.0 (at https://github.com/wildfly/wildfly-charts/blob/0ace58edcb6df2fd4f3c1b7c8aee228d1d504a7d/charts/wildfly/Chart.yaml#L5) and make it depend on wildfly-common 1.4.0 at https://github.com/wildfly/wildfly-charts/blob/0ace58edcb6df2fd4f3c1b7c8aee228d1d504a7d/charts/wildfly/Chart.yaml#L19

Done @jmesnil


[v5.0.2][Android] Controls sticking to screen on ScrollView/FlatList

Bug
Inserting a <Video /> element with controls inside a FlatList can 1) stick the controls on the screen and 2) cause a native crash when scrolling too fast.
Pic below: A page with a few videos, note the controls are not attached to video element at all and are overlaying the text content.

Crash log
Here's the last number of lines leading to a native crash:
2019-09-12 14:02:19.941 1403-24985/? W/AMessage: failed to post message as target looper for handler 0 is gone.
2019-09-12 14:02:19.960 1403-24991/? I/NuCachedSource2: caching reached eos.
2019-09-12 14:02:19.961 24005-24005/com.example.app W/MediaPlayer: setScreenOnWhilePlaying(true) is ineffective for Surface
2019-09-12 14:02:19.962 1403-24994/? D/NuPlayer: onSetVideoSurface(0x99bcf100, no video decoder)
2019-09-12 14:02:19.972 1403-24987/? D/NuPlayerDriver: notifyListener_l(0xa07a3b00), (5, 1920, 1080), loop setting(0, 0)
2019-09-12 14:02:19.973 1403-24988/? D/GenericSource: stopBufferingIfNecessary_l, mBuffering=0
2019-09-12 14:02:19.973 1403-24987/? D/NuPlayerDriver: notifyListener_l(0xa07a3b00), (3, 100, 0), loop setting(0, 0)
2019-09-12 14:02:19.973 1403-24987/? D/NuPlayerDriver: notifyListener_l(0xa07a3b00), (1, 0, 0), loop setting(0, 0)
2019-09-12 14:02:19.975 24005-24005/com.example.app D/MediaPlayer: setSubtitleAnchor in MediaPlayer
2019-09-12 14:02:20.005 1403-16330/? D/NuPlayerDriver: reset(0xa07a3b00) at state 4
2019-09-12 14:02:20.005 1403-16330/? D/NuPlayerDriver: notifyListener_l(0xa07a3b00), (8, 0, 0), loop setting(0, 0)
2019-09-12 14:02:20.005 1403-24987/? D/NuPlayerDriver: notifyResetComplete(0xa07a3b00)
2019-09-12 14:02:20.005 1403-16326/? D/NuPlayerDriver: reset(0xa07a3b00) at state 0
2019-09-12 14:02:20.012 24005-24005/com.example.app D/AndroidRuntime: Shutting down VM

    --------- beginning of crash
2019-09-12 14:02:20.014 24005-24005/com.example.app E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.app, PID: 24005
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.MediaPlayer.getCurrentPosition()' on a null object reference
        at com.yqritc.scalablevideoview.ScalableVideoView.getCurrentPosition(ScalableVideoView.java:200)
        at android.widget.MediaController.setProgress(MediaController.java:438)
        at android.widget.MediaController.show(MediaController.java:358)
        at android.widget.MediaController.show(MediaController.java:314)
        at com.brentvatne.react.ReactVideoView$2.run(ReactVideoView.java:572)
        at android.os.Handler.handleCallback(Handler.java:751)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6077)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)

    --------- beginning of system

Environment info
React native info output:
System:
    OS: Linux 4.15 Ubuntu 18.04.3 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
    Memory: 168.87 MB / 15.54 GB
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
    Yarn: 1.17.3 - ~/.yarn/bin/yarn
    npm: 6.11.3 - ~/.nvm/versions/node/v10.15.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    Android SDK:
      API Levels: 23, 24, 25, 26, 27, 28
      Build Tools: 23.0.1, 23.0.2, 23.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 27.0.0, 27.0.1, 27.0.3, 28.0.3
      System Images: android-22 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.60.5 => 0.60.5

Library version: 5.0.2
Steps To Reproduce

Render at least one <Video {...} /> component inside a FlatList
Start scrolling
App will likely crash, video player controls sticking to the screen while scrolling

Describe what you expected to happen:
Video player controls should stick to the player element
Reproducible sample code
TODO

Same issue !!!

Is this using native controls? Was wondering if android would get those soon.

 Has anyone come up with a workaround or fix for this?

Any update on the issue?

Same here

Can confirm @scerelli 's workaround works on RN 0.61.5 + react-native-video 5.0.2 when putting <Video>inside a ScrollView. Thanks a lot !

With react-native-video v 5.0.2 on android, controls in FlatList dont scroll with video :s controls are fixed on initial position.

@luisfuertes still the same bug with<EMAIL_ADDRESS>and @scerelli solution does not work for me.

i too have the same issue, it is working fine in iOS but in android it is sticky in renderItem of flatlist. Please help me in this if anybody resolved this issue.?

+1

I managed to resolve this issue by switching from MediaPlayer to ExoPlayer. You can find the instructions here #953

I had the same issue on IOS. I was using react-native-video-player. I wrapped the VideoPlayer component in a view and applied maxHeight and maxWidth property to the view. That fixed it.

Any luck on this?

+1

Anyone solved this issue? I am also facing the same

Same issue
"react-native-video": "^5.2.0",
"react-native": "0.64.2",

@hueniverse  same problem facing the issue what to do to solve the issue please help

same problem here

@Husk3r000 linked to MediaPlayer, not exoplayer. This issue is no more relevant


filter out invalid devices from interactive installer

When running the interactive installer in the list of devices several devices appear that make no sense to have in there like:

loop devices (/dev/loopX)
zram devices (/dev/zramX)
cdrom deviced (/dev/srX)

they should not be shown in the list as they are not writable.

This was already done some time ago: https://github.com/kairos-io/kairos-agent/commit/8696eb16d2ebb2ccbb0d40231fecec822be8c317


Page Load Stats

Received a user request for page load stats printed on logs. Will investigate.

Would using browser's window.performance API suffice for this? (see this SO post)


Maven

This is the first step for enabling the generation of Maven artifacts using the maven-publishing plugin: https://docs.gradle.org/1.12/userguide/publishing_maven.html
I've tested publishing of artifacts locally using:
/gradlew -PuseHadoop2 -PpublishToMaven publishToMavenLocal -xtest
The next steps is integration with the Sonatype repo:

Signing
Artifact uploading

@ibuenros @zliu41 Can you review ?

LGTM, can you squash the commits?


Adding event replay when file persistence enabled

Purpose

Fixes #63

Approach

Assigned topicOffsetMap to consumerKafkaGroup

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

We can disable file.persistence in worker's deployment.yaml (docs).
Event replay won't happen and state won't be persisted.


dakota/fix-workflow-issues-v10

:tada: This PR is included in version 1.6.11 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[New Fix] Automatically update name of deployed craft to reference the deploying vessel's name

What will the fix solve? Please describe.
Currently, when deploying one vessel from another the deployed craft gets a name like "Default Name-4". This is just silly and far from useful.
Describe the solution you'd like
When one craft is deployed from another, it would be nice if there deployed craft took on a name like " Probe-1", and so forth. If the separated object has a drone core or command pod in it, then it should be named as a "probe" or something like that (perhaps configurable through mod settings?), and if it doesn't have a drone core or command pod, then it should be marked as "Debris" without bothering to include the deploying vessel's base name.
Additional context
Perhaps this can be piggybacked with the fix that corrects loss of comm net for deployed craft? If we're fixing that, it might be a good opportunity to fix the name too.

Good idea, I'll take a look at it, since it will also be useful for another mod I'm currently working on

Hey I'm new to this whole thing but I have a small issue:
When pausing and unpausing, the game sends several messages instead of one. I thought that might be easily fixable. One time I received 8 messages at once, all saying the game was paused.
Thx.

Hey I'm new to this whole thing but I have a small issue:
When pausing and unpausing, the game sends several messages instead of one. I thought that might be easily fixable. One time I received 8 messages at once, all saying the game was paused.
Thx.

Sorry for the (very) late reply, this seems to no longer be an issue in the game.

Naming of decoupled and docked/undocked vessels fixed in #44.


JS SDK revamp latest

What do these changes do?

Describe the changes you are proposing in this PR.

LGTM! 🥇


[Item] Frozen pick

Custom item list
Aims to be a nerfed ice pick, -20 FLEE -10DEF and extra damage depending of target DEF only applies when the Frozen pick is +8

Can't find where the ice pick extra damage is calculated, need to find that and replicate the effect for a frozen pick then add a +8 requirement on the weapon refine.


feat(web): add caching to webRequire

All Submissions:
fix for #950

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Does your submission pass tests?

@hrgdavor looks good.
let's enhance a test case to be certain that this doesn't change in the future. something like...
  const designRootModule2 = requireFn('/project')
  t.deepEqual(designRootModule, designRootModule2)


New sample to V3 introducing the translation library

Proposed Changes

New sample to V3 introducing the translation library which has been removed from Bot Framework.
The sample shows how to use the library to support multilingual interaction with bots in general and LUIS bots in particular.

Testing

Unit tests are included for the translation library.

Rebase done


Create Lyrics “nie-pozwalam”

Automatically generated by Netlify CMS

:construction_worker: Deploy Preview for thar-ai processing.
:hammer: Explore the source changes: 570e10de061953b3ec433e3668e1c6aafd4d1f24
:mag: Inspect the deploy log: https://app.netlify.com/sites/thar-ai/deploys/60ec20bd9c263100084ce8b2