Install error with jaxlib version 0.1.47

rlax gives the following error when I try to install:
Collecting jaxlib>=0.1.37 (from rlax==0.0.1)
Could not find a version that satisfies the requirement jaxlib>=0.1.37 (from rlax==0.0.1) (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.20, 0.1.21, 0.1.22, 0.1.23)
No matching distribution found for jaxlib>=0.1.37 (from rlax==0.0.1)

Are you on Windows? I think at the moment jaxlib is not supported (except on CPU via WSL) hence why you can't find a distribution.

Are you on Windows? I think at the moment jaxlib is not supported (except on CPU via WSL) hence why you can't find a distribution.

I'm not on windows- I'm on Linux and I installed jaxlib from source. Specifically, I have jaxlib version 0.1.47

Can you make sure you upgrade pip with:
pip install --upgrade pip
?

Hi @renos, does upgrading pip fix the issue for you?

Hi @mtthss it does not

Could this be an old version of Python that's no longer supported by jaxlib?  Or a virtual environment with other constraints?

@NeilGirdhar good suggestion!
@renos which Python version are you using?


The localization can be overriden

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.
When using third party components that based on bootstrapBlazor, if some localization string were missing in that component, I'd like to add those localization in my project to show correct localized string.
for example:
I'm getting these errors:
[17:11:29 DBG] ResourceManagerStringLocalizer searched for 'ToastTitle' in 'BootstrapBlazor.Resources.Components.ErrorLogger' with culture 'zh-CN'.
[17:11:29 DBG] ResourceManagerStringLocalizer searched for 'TooltipText' in 'BootstrapBlazor.Resources.Components.Layout' with culture 'zh-CN'.
Describe the solution you'd like
for the above problem,  I want to add translations for 'ToastTitle' in 'BootstrapBlazor.Resources.Components.ErrorLogger' and 'TooltipText' in 'BootstrapBlazor.Resources.Components.Layout' in my project this way:

Now my localized strings should work with 3rd party components.
Additional context
There is another way is to use ILocalizationResolve to solve this problem. However, in my opinion, these two features are targeting different goals. By using ILocalizationResolve, I'm more likely to use some external service to do translations (i.e. Google Translation service), but by this overridden feature, I'd like to solve or override the translations myself. Thanks.

@cairabbit thank you for contracting us. so did you wanna add a way ILocalizationResolve on BootstrapBlazor?


If my gmail password contains a hash symbol(#) at the end it gets dropped in bootstrap/cache/config.php when I run the command php artisan config:cache

Laravel Version: 5.8.11
PHP Version: 7.1.31
Database Driver & Version :MYSQL driver

Description:
If my gmail password contains a hash symbol(#) at the end (i.e xxxxxxxxxx#) it gets omitted in bootstrap/cache/config.php when I run the command php artisan config:cache.
This causes an error when sending an email through Laravel. It took me a while to discover what was causing the error.
Steps To Reproduce:
Add a password with a # at the end as described above to MAIL_PASSWORD in .env file

You need to wrap the value in  quotes:
https://laravel.com/docs/5.8/upgrade#environment-variable-parsing


Update SHFB

Update SHFB tool, config and some XML docs
create API docs by running src/Doc/BuildDoc.cmd

Current coverage is 75.14%

Merging #1329 into master will decrease coverage by -0.01% as of 2648713

@@            master   #1329   diff @@
======================================
  Files          267     267
  Stmts        15519   15519
  Branches      1631    1631
  Methods          0       0
======================================
- Hit          11663   11662     -1
- Partial        383     384     +1
  Missed        3473    3473

Review entire Coverage Diff as of 2648713

Uncovered Suggestions

+0.09% via ...gingConfiguration.cs#374...387
+0.09% via ...gingConfiguration.cs#340...353
+0.09% via ...argets/FileTarget.cs#1713...1725
See 7 more...

Powered by Codecov. Updated on successful CI builds.


[Event Request] Report 1306 "Standard Sales - Invoice" FillRightHeader()

Please add an publisher to the procedure FillRightHeader in Report 1306 "Standard Sales - Invoice":
        OnBeforeFillRightHeader(Header, SalespersonPurchaser, SalesPersonText, RightHeader, IsHandled);
        if IsHandled then
            exit;

Definition:
    [IntegrationEvent(false, false)]
    local procedure OnBeforeFillRightHeader(Header: Record "Sales Invoice Header"; var SalesPersonPurchaser: Record "Salesperson/Purchaser"; var SalesPersonText: Text[50]; var RightHeader: Record "Name/Value Buffer"; var IsHandled: Boolean)
    begin
    end;

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


Merged project-template v9.4.0

Updated to project-template v9.4.0.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #608   +/-   ##
=========================================
  Coverage     33.27%   33.27%
  Complexity     1109     1109
=========================================
  Files           100      100
  Lines          3736     3736
=========================================
  Hits           1243     1243
  Misses         2493     2493

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 f86d885...37f12e5. Read the comment docs.


SAK-46935 Update Elasticsearch 7.17.0

Dave have you tested this? I ask because there are a number of plugins that depend on that version as well.


ChroniquesGalactiques v3.111

Changes / Comments

Moved around initiative and attacks on PC sheet
Moved around Hit Points, Damage Resistance on PC sheet
Added Recuperation Points with max and current values
Added "Space Fantasy" checkbox on Configuration tab
Added Magic Attack bonus and Mana Points if 'Space Fantasy' box is checked on PC sheet
Enhanced the equipment properties parsing

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[x] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


CAPI Docs - Site Standardization & Rancher Integration

The Cluster API documentation needs adjustments to align with SUSE standards and be updated as an item in the Integrations in Rancher sub-header for Rancher Manager.
Action Items:

[x] Change URL to standard Rancher schema "turtles.docs.rancher.com" (https://github.com/rancher/turtles-docs/pull/70)
[x] Remove current landing page and have URL "turtles.docs.rancher.com" land directly on documentation site. (https://github.com/rancher/turtles-docs/pull/69)
[x] Add "Cluster API with Rancher Turtles" under "Integrations in Rancher" section including "Overview" page (https://github.com/rancher/rancher-docs/pull/1216)
[x] Initial content review and adjustments (Docusaurus v3.2.1 Update)
[x] If time permits, add local search capability (https://github.com/rancher/turtles-docs/pull/89)

Not able to assign myself but I will be handling this issue.

Thanks Sunil.
Looping @kkaempf , @davidstauffer , @mbologna if we need any information as we move forward.

Not able to assign myself but I will be handling this issue.

You should have full access now @sunilarjun

Closing issue as all action items have been merged in, thank you!


[Swift next] Construct DataLayout from string

Clang stopped returning the datalayout object, instead constructing it
on the fly from the string representation.
rdar://79799819

I think we still have to hold onto the DataLayout because we're generating the whole mangle using it. Rather that constructing it eagerly though, we can still construct it lazily if we actually need to.


amp kv command

amp kv should allow inspection and updates of the key-value store (etcd). The following subcommands should be supported as minimum for now.

put
get
del (alias rm)
ls [--recursive]

See etcdctl docs for guidance.

ref: https://github.com/appcelerator/amp/pull/511


add villes.json ==> all DRC's cities

I add a files containing alll cities with a reference to the id of the related province

In administratives each provinces got an id so province_id it's a reference to the referred province

rename the file to cities or towns and I will merge your work

Okay

Done


blog: invalid nesting of
 within
 tag

<external-link> tags result in a section being placed within a p. Other elements that can't be included in a p, but are placed in the external-link, are h4 and div.
Because of the h4 and the section (aside and others are also not permitted in p) we don't really have an option in turning the contents into something that's feasible to place inside of a p, so this needs AST manipulation.
(read also: iterative/blog#129)

I'm not seeing this error anywhere on blog pages that have external-links. Maybe cleared when we upgraded our packages related to markdown when we moved to Gatsby 4? 🤔 If nobody else sees the errors, are we good to close this? cc @iterative/websites

@fabiosantoscode do you remember by chance what was this about? :)

Hello! Yes. This was about invalid HTML tag nesting.
To repro, load a blog post with a external link tag such as: https://dvc.org/blog/september-21-dvc-heartbeat and view source.

          ...

Then notice that when the browser actually loads this source, this wrapping
 tag "rejects" its
 child:

In the markdown (or in the stuff that generates external links' markdown) there's no such  tag. But it does get inserted by markdown itself just because of the fact that it's alone in its own line.
Hope this helps, cheers! 🐙

Thanks @fabiosantoscode ! :)

Muphry's law dictates that my comment about loose
 tags had to have a loose
 tag.


Support Option[T].flatMap

Version: 2.0.0-SNAPSHOT
import io.getquill._

  val db = new MirrorContext[MirrorSqlDialect, SnakeCase](MirrorSqlDialect, SnakeCase)

  case class A(id: Int)

  case class B(aId: Int, name: Option[String])

  import db._

  // example 1
  db.run(
    query[A]
      .leftJoin(query[B])
      .on(_.id == _.aId)
      .map(t => (t._1.id, t._2.flatMap(_.name)))
  )

  // example 2
  db.run(
    query[A]
      .leftJoin(query[B])
      .on(_.id == _.aId)
      .filter { case (t1, t2) => t2.flatMap(_.name).forall(_ == "") }
  )

Expected behavior
example 1
Compile and return Seq[(Int, Option[String])].
example 2
Compile to
SELECT x1.id, x2.a_id, x2.name FROM a x1 LEFT JOIN b x2 ON x1.id = x2.a_id WHERE (x2.name IS NULL) OR (x2.name = '')

Actual behavior
example 1
Fails with:
Tree 't._2.flatMap[String](((x$3: Main.B) => x$3.name))' can't be parsed to 'Ast'

example 2
Fails with:
Tree 't2.flatMap[String](((x$3: Main.B) => x$3.name))' can't be parsed to 'Ast'

Workaround
example 1
Use map instead of flatMap and flatten results.
example 2
  db.run(
    query[A]
      .leftJoin(query[B])
      .on(_.id == _.aId)
      .filter { case (t1, t2) => t2.map(_.name).forall(_.forall(_ == "")) }
  )

which compiles to
SELECT x1.id, x2.a_id, x2.name FROM a x1 LEFT JOIN b x2 ON x1.id = x2.a_id WHERE (x2.name IS NULL) OR ((x2.name IS NULL) OR (x2.name = ''))

which is valid but redundant.
@getquill/maintainers

Any guidance on how this should be done? Should a new element Optional(ast:Ast) be created in the Ast to represent some of these things? Would the beta reduction for OptionFlatMap look any different from OptionMap?

I have another issue with the way options are handled. Say for instance you have a table Person with an optional field age and you want to check it it hits a value.
case class Person(name:String, age:Option[Int])

// Check if person can drink:
quote {
  query[Person].map(p => p.age.map(n => if (n > 21) "drinking_age" else "not_drinking_age"))
}

Then you get some SQL that looks like this:
SELECT CASE WHEN p.age > 21 THEN 'drinking_age' ELSE 'not_drinking_age' END FROM Person p

Here's the problem with that though, say that the value of age is None. You don't know if the person satisfies the condition or not (i.e. you don't know if they are drinking age or not) so the proper logic is to keep the value of the column as None or null in SQL. Thus the SQL should look like this:
SELECT
    case when p.age is not null then
        CASE WHEN p.age > 21 THEN 'drinking_age' ELSE 'not_drinking_age' END
    else null END
FROM Person p

Now if you want to add a condition to the quill query doing the null check it should look something like this:
quote {
  query[Person]
    .map(p => p.age.map(n => if (n > 21) "drinking_age" else "not_drinking_age"))
    .getOrElse("don't_know_if_is_drinking_age")
}

That should produce the following SQL as expected:
SELECT
    case when p.age is not null then
        CASE WHEN p.age > 21 THEN 'drinking_age' ELSE 'not_drinking_age' END
    else 'don't_know_if_is_drinking_age' END
FROM Person p

Doing it this way, the SQL matches the behavior you would expect to see from the functor.
Getting this behavior right is very important as soon as you want to go monadic with the Option.flatMap because there you can't pretend anymore that the null-condition doesn't exist.

Also for this reason, I think it is super-important to have a Optional type in the AST now. As soon as you want to go monadic in your quill queries, you need to have a way to lift non-optional columns and make them become optional. Say for example you have some table Person and you want to check if they can drink in their own country, and if the data for the country is unavailable (you don't always have it!), if they can drink in general. Say we have something like this:
case class Person(id: Int, name: String, age: Option[Int], residesIn:String)
case class Country(name:String, drinkingAge:Option[Int], countryPolicy:Option[String])

quote {
  for {
    c <- query[Country]
    p <- query[Person] if (p.residesIn == c.name)
  } yield (
    p.age.flatMap(a =>
      if (c.drinkingAge.map(a > _).exists(_ == true))
        c.countryPolicy
      else if (a > 21)
        Option("can_can_drink_in_most_countries")
      else Option("cannot_drink")
    )
    .getOrElse("unknown_drinking_status")
  )
}

Generally, these kinds of operations are very, very difficult to do unless you have Option-lifting in your AST.
@getquill/maintainers, what do you think?

Also, it occurs to me that for performance reasons there may be some cases when you want to treat an Option[T] column like a T column in the SQL (i.e. in a Join clause so that you can have Hash-Joins vs horrible Cartesian scans in databases which don't have very good optimizers). There are a couple of options for this (no pun intended):

Add a Option.mapUnsafe which acts the same was as Option.map today.
Allow the use of Option.get so it can be used for this particular scenario.
Use implement a typecasting system similar to Slick's .asColumnOf that will allow you to cast a Optional column to a non-optional column.

Still waiting for someone to chime in. I am working on a solution to this problem that includes Option[T].flatMap, Option[T].flatten, and Option[T].getOrElse as well as being able to construct Option(column) inside of a quill query, but I've hit a snag.
I started implementing this option null-checking in FlattenOptionOperation. The OptionMap call now does something like this:
private def isNotEmpty(ast: Ast) =
    BinaryOperation(ast, EqualityOperator.`!=`, NullValue)

case OptionMap(ast, alias, body) =>
        val exists = BetaReduction(body, alias -> ast)
        apply(If(isNotEmpty(exists), exists, NullValue))

case OptionFlatMap(ast, alias, body) =>
        val exists = BetaReduction(body, alias -> ast)
        apply(If(isNotEmpty(exists), exists, NullValue))

case OptionGetOrElse(ast, body) =>
        apply(If(isNotEmpty(ast), ast, body))

The trouble with this approach however is that the second you start mapping and flatMapping multiple times over, your if (...) then (...) else trees start ballooning in size. I tried to resolve the problem by creating a step called NormalizeNestedNullChecks which is supposed to get rid of some of the redundancies produced but it is difficult to catch all the cases. Even after normalization, something like this:
case class Person(id: Int, name: String, age: Option[Int], residesIn:String)
case class Country(name:String, drinkingAge:Option[Int], countryPolicy:Option[String])

query[Person].leftJoin(query[Contact]).on(_.id == _.personId)
        .map({case (p, oc) => oc.map(_.num).flatten.flatMap(n => Option(n+1)).getOrElse(555)})

will turn into something like this:
SELECT
  CASE WHEN
    CASE WHEN x2.num IS NOT NULL THEN x2.num ELSE null END + 1
  IS NOT NULL THEN
    CASE WHEN x2.num IS NOT NULL THEN x2.num ELSE null END + 1
ELSE 555 END
FROM Person x1 LEFT JOIN Contact x2 ON x1.id = x2.personId

Is this an acceptable amount of verbosity for this kind of expression? Perhaps the current behavior of Option.map is a better compromise then doing these recursive null checks and then having to struggle to normalize them later. Alternatively, OptionGetOrElse (i.e. Option.getOrElse) will introduce a single null check:
private def isNotEmpty(ast: Ast) =
    BinaryOperation(ast, EqualityOperator.`!=`, NullValue)

case OptionMap(ast, alias, body) =>
        BetaReduction(body, alias -> ast)

case OptionFlatMap(ast, alias, body) =>
        BetaReduction(body, alias -> ast)

case OptionGetOrElse(ast, body) =>
        apply(If(isNotEmpty(ast), ast, body))

...so something like this will act as expected:
query[Person]
    .map(p => p.age.map(n => if (n > 21) "drinking_age" else "not_drinking_age"))
    .getOrElse("don't_know_if_is_drinking_age")

Producing:
SELECT
    case when p.age is not null then
        CASE WHEN p.age > 21 THEN 'drinking_age' ELSE 'not_drinking_age' END
    else 'don't_know_if_is_drinking_age' END
FROM Person p

... but then this command
query[Person]
    .map(p => p.age.map(n => if (n > 21) "drinking_age" else "not_drinking_age"))

Will still produce something like this:
SELECT CASE WHEN p.age > 21 THEN 'drinking_age' ELSE 'not_drinking_age' END FROM Person p

I have grappled with this issue for a couple days already. Would definitely appreciate some community feedback on how I should proceed. Should I keep going with the strict null-checks or keep the current implementation of Option.map, extending that approach to Option.flatMap as well?
Please let me know what you think. @fwbrasil @mxl @mentegy

Uploaded my preliminary work on the issue, more testing and refinement is obviously needed.

Ran into another problem in #1044. Please have a look if possible.


Jsdoc for sources in search-result plugin and locale plugin.

Please refer to http://usejsdoc.org/index.html
at least the following tags should be written.
@file : on top of the source code
@since : on top of the source code
@author : on top of the source code
@public
@private
@param
@returns
@abstract
@class
@method
@member
@override
@deprecated
@static

search plug-in
locale plug-in

workspace plugin completed.


iOS: Files support

Please add Files support for the Keybase files for iOS. This will integrate well across all apps on iOS.

This would be really awesome. Right now it's hard to move off of DropBox or Google Drive or what have you because they integrate properly into iOS and Keybase doesn't.

I would like to second this feature request. iOS has started to really embrace semi-competent file management across its ecosystem, especially with iOS 12 & 13 coming right up. Being able to leverage file management integrations, drag & drop, and so on would make everything so much easier.

Seconding this - this would make a big difference. Usuability is at keybases core - this would make it feel more complete!

Badly need this as well! Keybase is almost unusable for me on iOS (which I use the mostly).

Bumping and seconding this as it would make life much easier when dealing with files on an iPad, for instance.


⚠ Bofrost.at has degraded performance

In 290cbd3, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1494 ms

Resolved: Bofrost.at performance has improved in f5c775b after 17 minutes.


Implement unit tests for delete operation (REQ-4)

Implement unit test for the operation delete for the Rope data structure (REQ-4).
For requirements see here

Current tests do not cover Leaf::delete


Scheme interpreter used in ok tests displays booleans incorrectly

ok's Scheme interpreter outputs True/False instead of #t/#f. It seems that the Scheme interpreter included in the zip file outputs #t/#f like we want, so not really sure what's going on here.
WWSD example:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Running tests

---------------------------------------------------------------------
What Would Scheme Print? > Suite 1 > Case 10

scm> (equal? '(1 . (2 . 3)) (cons 1 (cons 2 (cons 3 nil))))  ; Recall how boolean values are displayed
False

# Error: expected
#     #f
# but got
#     False

Code writing example (where I wrote over-or-under to return #t, this test doesn't expect #t but just using it to show how it would get output anyway):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Running tests

---------------------------------------------------------------------
over-or-under > Suite 1 > Case 1

scm> (load 'lab09)

scm> (load 'lab09_extra)

scm> (over-or-under 5 5)
True

# Error: expected
#     0
# but got
#     True

I just checked the ok-client code, and it's definitely loading tests from the interpreter that's included in the zip. I think it's possible that our interpreter is properly displaying booleans when outputting, but isn't properly doing so when called programmatically by the ok-client. Looking into it now

Found the bug. ok-client has two options for testing Scheme: ok_test/scheme and scheme_test. scheme_test is built on top of the repl, so it works fine, but ok_test/scheme is getting the raw value, not just output, so it doesn't work. Working on a fix in ok-client now

This issue was moved to Cal-CS-61A-Staff/ok-client#342


Accessibility problem with CommandBar flyout

Describe the bug
This bug was logged by the Accessibility team under MAS 1.3.1. Screenreader does not read the expanded/collapsed state for "More" app bar button
Steps to reproduce the bug
Steps to reproduce the behavior:

Launch an app which uses the command bar control and which has an overflow
Launch a screenreader (NVDA / Narrator)
Tab to the ellipsis button
Click ellipsis button. NVDA reads "more app bar button"
Click button again. NVDA reads "less app bar button"

Expected behavior
Screenreader should read the expanded/collapsed state for "More" app bar button.
User Impact - The state of the button (expanded/collapsed) is not conveyed to the screenreader users which may cause confusion to users about the content update present when button is expanded and what controls lie within the screen when button is not expanded.
Screenshots

Version Info

NuGet package version:

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Anniversary Update (14393)

Device form factor
Saw the problem?

Desktop

Mobile

Xbox

Surface Hub

IoT

Additional context

MAS 1.3.1 requirement states:
Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.
I have not seen any user reports about the state of the app bar being unclear. The More ("...") button changes its UIA name depending on app bar's overflow state. Implementing the expand/collapse pattern in this case would not provide further clarity to users. The More button is actually not the UI element that's expanding/collapsing, it's just controlling the visibility of app bar's overflow.
@jkgh2018, if you have an internal bug tracking this, please feel free to repath to OS\Core\DEP\UXP-User Experience Platform\Controls


Test waits for timeout before clicking input

Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
When trying to click on an input which is hidden (for styling reasons), TestCafe waits for the element to appear then just as the wait times out, it clicks the input successfully.
What is the expected behavior?
Either it times out then fails (what I would expect from the docs), or it succeeds straight away (what I would wish for as it simplifies my selectors 😀).
How would you reproduce the current behavior (if this is a bug)?
import { Selector } from 'testcafe'

fixture('WTF Forms')

test('Click hidden input', async t => {
  await t.navigateTo('http://wtfforms.com/')
    .click(Selector('input').nth(0))
    .click(Selector('input').nth(1))
})

Specify your

operating system: OSX 10.11.6
testcafe version: 0.19.1
node.js version: 8.9

Hi @tamlyn, I also encountered this issue on hidden inputs that are rendered as a YES/NO toggle. The work-around is to click on the parent container as a normal user will do.

Hi @tamlyn, @hdorgeval. Such behavior means that the target element is visible, but it's box is in background, hidden by some other element's box. E.g. on http://wtfforms.com the input's box is hidden behind the caption's box:

Because a user can click only on foreground elements, it would be incorrect to click on the target element that is in background. In this case, TestCafe gives some time for the element to get into foreground, and if it isn't happen, TestCafe clicks on a foreground element that is placed over the target element's box.
It's not a bug, it's designed behavior for complex JS-based animations. You should check that your selectors point to foreground elements, or just set selector's timeout to 0.

Thanks for the explanation. Would it be worth updating the documentation to mention this? Currently it says

Before executing an action, TestCafe waits for the target element to appear in the DOM and become visible. If this does not happen within the selector timeout, the test fails.

@tamlyn, I agree, we should make it clear in our docs. I've created an issue about it: https://github.com/DevExpress/testcafe/issues/2389


Text in help search bar becomes selected once help is displayed

Following issues https://github.com/spyder-ide/spyder/issues/9143 and https://github.com/spyder-ide/spyder/issues/8762
Steps to reproduce:

Import some package (e.g. import numpy as np)
Try to get help for some function from that package by typing it in the editor (e.g. np.arange)

Expected behavior: should work in some way that I could quickly type module.submodule.function_or_method and get its helps displayed in the help pane.
Actual behavior: as soon as something that matches a package name (aliased or not) or something else with docs of its own is input, the whole text in the bar becomes selected, e.g. if I try to quickly type np.arange or pandas.DataFrame.from_dict, once it reaches np or pandas or pandas.DataFrame, the text becomes selected, and thus replaced with the next keystroke.
Setup: Spyder 3.3.5, running on Windows 10.

@dalthviz, please give priority to this one over your other work so we can release 3.3.6 as soon as possible. Thanks!


Demote moderator

Add support for demoting a moderator to regular user on a channel (note: the user must be a member on that channel)

Address. WIll push in the next release.


Add initial bug bounty list json

Summary
< A quick summary of the associated pull request >
Quality Assurance Checklist
< Confirmation of this pull request meeting the following requirements, prior to merge >

Review Items
Y/N

Site has a publicly known bug bounty or vulnerability disclosure program
Y

Disclosure policy is publicly available
Y

Public URL
https://worldline.com/en/home/responsible-disclosure-program.html

Submission follows the Diodb schema
N

Your Twitter handle (Optional):

Thanks for your contribution @vkp100 and @meszicsaba! I've opened and merged a new pull request because this was too stale.


Allow item ordering

Perhaps add a weight field on items & let the directive do a simple filter by weight before rendering.

This would be a really good enhancement, especially for OpenShift Online. At present, if we add a link to the User menu, it always appears at the bottom, but given that the User menu already has a "Log out" link, it ends up looking funny:

Maybe it's just me, but I'd always expect "Log out" or "About" to be at the bottom of the help & user menus.  cc @abhgupta @damemi @jwforres @ajacobs21e

The tricky thing about this is assigning a meaningful "weight" property.  Initially we proposed a way to get at the underlying array by providing a function to rearrange items as desired, but this creates a potential for one extension to clobber another.

Yeah, I understand the challenge there. I'm curious what Eclipse does with their extension points, it seems this plugin is modelled after that mechanism a little :wink: If we don't do something though, then I'm afraid the user-nav extension point is essentially unusable (since Log out will always appear at top).
Since this is just for Online, I'm open to even hacking around with the DOM in a fragile way, for now, while we think about a better solution.

Great Q.  Eclipse was referenced when we first built this out, though I personally have never used it's extension point system.
If we added arbitrary weights (10,20,30) to items for sorting it would be easy enough to be able to swap in new items in the gaps (11, etc).

@jawnsy I think it is reasonable to make Log out the default bottom option

Yeah I agree from a UX perspective, we would have some technical issues to
work through to make that possible.
On Mon, Feb 6, 2017 at 1:39 PM, Allie Jacobs<EMAIL_ADDRESS>wrote:

@jawnsy https://github.com/jawnsy I think it is reasonable to make Log
out the default bottom option
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/angular-extension-registry/issues/9#issuecomment-277772679,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZk7Xtq0dg_ilHedEUFbyjSxsM-lTdTks5rZ2jxgaJpZM4FfUI6
.

/close


Android Studio Electric Eel visualizer not rendering this view or its children

Android Studio Electric Eel | 2022.1.1 Patch 2
com.android.tools.build:gradle:7.4.2
https://services.gradle.org/distributions/gradle-7.5-bin.zip

It seems that the issue is that it's not compatible with Material Design 3. Shape of View is designed for version 2.
Parece ser que el error es que no es compatible con Material Design 3, Shape of view esta hecho para la version 2


[FEATURE REQUEST] Code Documentation

Could basic comments please be added to the code to explain what does what?  Im trying to see if I can add support for a few features, but reading undocumented code is a bit slow.

Yes, that would be nice :)
In the mean time, feel free to join the matterbridge chat channels (on top of the README) and ask questions there.

There's a nice tool that makes workflow diagrams easy to play with. I was trying to read through code and roughly document the code path, in case it's useful to anyone else:
https://hackmd.io/D52mKzlmSIutLOj37pokFA
(if you want to improve, please create a new note and copy my notation in :) )
cc @git-sid


Fix crash when a PC callback is reset

Move setting of PC state into separate function
Avoid crash after a PC callback has been reset

Fixes #1871

Merged with ee255e89568cdca89d7abcd76c497610cb76d7d7


[hotfix][docs] fix table systemFunction lag description.

What is the purpose of the change
In systemFunctions.md and systemFunctions.zh.md function lag's description should be "Returns the value of expression at the offsetth row before the current row in the window"  instead of  after the current row
Brief change log
fix wrong description of function lag
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

merged into 1.11 by b4c8b5dc9114eca46cd66d34a6dddf9118242f26
merged into 1.10 by 46680ce6cea508438da7e3cd2cab1837ee3df22f


Archetype 1.8 Label Templates & Fieldsets Sorting Bugs

After updating to Archetype 1.8
(umbraco 7.2.1)

Label templates containing multiple {{field}} macros stopped working: showing just empty string.

==================================================
2. If one of fieldsets contains richtext editor the fieldset sorting fails:
This is the list of fieldsets

Person words fieldset contains richtext editor:

When dragging sort icon I get a light blue area expanding below and javascript errors of one type

If I delete the fieldset with richtext editor the bug disappears.

Hello and thank you for using Archetype.
Your issue #1 was already reported and fixed here: https://github.com/imulus/Archetype/issues/276 The next patch release will address it.
Your issue #2 is interesting.  I suddenly started getting the blue box as well during development and had to update the ui-sortable options here: https://github.com/imulus/Archetype/commit/34b4209de7000ffa0e164d7bf8f0b1bff6eeb7f3
You are on a few patch versions older of Umbraco and I'm curious if the RTE changed between 7.2.1 and 7.2.6.
Anyway...
Your options to get going right now:

Downgrade to 1.7.5 or keep 1.8 and...
Patch the labelService with the code referenced in the other issue
Revert the ui-sortable code to fix the RTE (possibly) though you should ensure that your cache is cleared and all that.

FYI, the only issue I am experiencing with 1.8 is the multiple label issue and not the RTE issue.

Hello kgiszewski
Thank you for a quick reply.
Reverting 3 point caused returning another bug: when sorting fieldsets with rte editors these editors become empty and disabled.
So this was not an option.
But I've found out what was the problem: the error was about unexisting function in Underscore.js package. After updating Undescore.js to last version (1.8.1 instead of 1.4.1) the problem was solved.
So I believe current umbraco has this package updated too.

Thanks, good detective work :+1:


JMeter 5.5 Initial thread time is always showing higher

Expected behavior

We are doing Load Tests using JMeter 5.5 for the test of the simple search function, in order to show the test results, and in the Response Time graph, the initial thread time is always showing higher (ms). What will be the reason for this? What is the logic of the JMeter behavior of the thread organizing in each sampler?
Actual behavior
No response
Steps to reproduce the problem

JMeter Version
JMeter 5.5
Java Version
JRE 1.8.0
OS Version
Microsoft Windows 10

Please provide a test plan that reproduces the issue.
An alternative option would be profiling the execution with your test plan.


how to host this online in hosting space

https://thelounge.github.io/docs/getting_started/install.html
You will need SSH access.

can u give the procedure,

Hi @syam3526!
For this type of questions, your best bet is to identify which hosting solution you prefer (there are a lot, so you will need to do your own research and weigh in your requirements: budget, capabilities, etc.) then if you are stuck, ask your question on Stack Overflow with the tag thelounge so that other people can easily find it.
Good luck!

thankss


Refactor addon error modal

This PR refactors the Addon Error Modal with a few fixes.

Use ModalHeader/ModalContent rather than DiscordClasses since they broke and were incorrectly styled.
Use <details>/<summary> elements over custom <div>-based expanders for better a11y and simplicity.
Make the <Divider /> component semantically accessible using the horizontal rule tag (implied ARIA role of separator).
Add proper focus styling to expander cards to indicate keyboard navigation.

If/when the store is merged I can bring over a common TabBar component that's accessible as well.

Just remove the one file, otherwise LGTM

Much like your other PR I will probably try to squash this into the current codebase after 1.10.0


Revert Ledger WebUSB

Preview is available here:http://laboratory-pr534.previews.kube001.services.stellar-ops.com/


MB-15890 add and implement BuildSITDurationUpdate

Jira ticket
Summary
Add and implement BuildSITDurationUpdate
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code
make server_test e2e_test

Messages

:book:
:link: MB-15890

  Generated by :no_entry_sign: dangerJS against 59d41a9f6483b61a64a4aacb1299504df89c0478


Add Anthropic Model-written Eval datasets to harness?

Anthropic recently released a number of evaluation datasets, some partially model-generated.
https://github.com/anthropics/evals
Files also uploaded as JSONL files on github: https://huggingface.co/datasets/Anthropic/model-written-evals/tree/main
To my knowledge all datasets from this paper should be multiple choice, so the implementation shouldn't differ too much from other multiple choice tasks like MMLU.
Would require:

[ ] Implementing a Huggingface dataset loading script for all evaluation subsets (should require only one script with a number of dataset subsets)
[ ] Implementing task classes for each dataset

I will take care of this.

Have you made any progress？

I have successfully implemented a loading script for the Model-written Eval dataset, available at: https://huggingface.co/datasets/khalidalt/model-written-evals. I have also added new columns to capture behavioral and topical attributes. For instance, the "persona" subset contains multiple behavioral tests, such as anti-immigration, agreeableness, and beliefs-abortion-should-be-illegal. These categories have been integrated as columns in the dataset. I would like clarification on whether these behavioral categories should be considered as subsets, given that each one includes multiple instructions and responses stored in .jsonl format. Please advise on the best approach to handle this matter.

Hi @KhalidAlt , thanks so much for this contribution! If it is not too much trouble, I think separating out the separate behavioral categories into their own dataset subsets would be fantastic, so that separate evaluations could be evaluated.
Thanks so much! Let me know if you need any more help or guidance on this issue.

Hi @haileyschoelkopf, It is an easy fix. I will do it ASAP. Thanks a lot for your reply and I will let you know if I need any help. Thanks again

Hello, I have separated the dataset into distinct subsets based on behavioral categories. Each category now has its own dedicated subset, which should facilitate more accurate evaluations and analysis. You can access the updated dataset https://huggingface.co/datasets/khalidalt/model-written-evals . Please let me know if everything is right, I will Implementing task classes for the dataset.


Refactor

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 54f8aaf0-4504-11ea-a2f3-4fd442160d61

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 7d8d8d80-4515-11ea-8ac1-cf2d15c11453

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 187131d0-4516-11ea-8ac1-cf2d15c11453

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: fffd0dc0-4517-11ea-8ac1-cf2d15c11453

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 8de7ece0-4518-11ea-8ac1-cf2d15c11453

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: aaeecd90-4518-11ea-8ac1-cf2d15c11453

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: b385f0e0-4519-11ea-8ac1-cf2d15c11453


Fixing the released version metadata

It's a follow-up for https://github.com/ansible/molecule/pull/1895#pullrequestreview-224227936:

I haven't done any manual testing of this but it looks good to me now! I know that this has the possibility to resolve a number of issues for the package (and also to push forward re-release 2.20.0 -> 2.20, right!?), so am happy to see this move forward.

It's not possible to replace dists in a published version @ PyPI
It's possible to remove certain version but not re-upload things in the same place
It's also bad to do such replacements
Maybe it's possible to upload just 2.20, maybe not, but we shouldn't do this. For pip install molecule==2.20 it matches both 2.20 and 2.20.0. But this will create collisions for users who have allowed hashes saved mapped to the version.
We should upload something slightly higher than 2.20, I think 2.20.post0 would do. See PEP 440 for Python versioning recommendations.
We can also remove 2.20.0 but it will break things for people who have it pinned like this. Maybe we should do announcements before such removal or maybe just keep it there as it seems harmless.

In [1]: from packaging import version

In [5]: version.parse("2.20.0") == version.parse("2.20")
Out[5]: True

In [7]: version.parse("2.20.0") < version.parse("2.20.post0")
Out[7]: True

For publishing 2.20.post0 I will make a branch from the tag v2.20.0 and then I will cherry-pick 5314ebd1ae6e5413137eef8d3f7be505e0c847f1 on top of it. Finally, I'll be able to tag that commit to initialize the release process.

Closing since it's been decided that we should just publish v2.20

publish 2.21 (no leading v), and jump a release

@gundalow with and without prefix would work


Add themeable color for comment glyphs on lines with unresolved threads

As a follow-up to #174418 which decorated lines with unresolved comment threads with the comment-unresolved icon, we would like the option to distinguish by color as well. Our users request this especially in cases where the comment is collapsed, to quickly spot lines with actionable comments.

Friendly ping.

@hermannloose I will try to look this week!

Another friendly ping. 😊
I was also wondering whether it's generally preferred to use merge instead of rebase + force-push for keeping a PR up to date; I noticed that the comment from John earlier resulted in a broken link for a while (but I cannot reproduce that now) after I had addressed the changes and force-pushed.


to_json func error on Android Platform

Godot version:
Godot Engine 3.1 Stable (using  custom packages for Android compiled from master)
OS/device including version:
Debian/Deepin
Issue description:
The to_json () function does not work on Android, linux works perfectly. The same is true for ConfigFile and JSON.print () with a different error message.
04-15 03:00:06.973  6107  6150 I godot   : OpenGL ES 2.0 Renderer: Adreno (TM) 506
04-15 03:00:07.403  6107  6150 E godot   : SCRIPT ERROR: Invalid type in built-in function 'parse_json'. Cannot convert argument 1 from Dictionary to String.
Thanks
Steps to reproduce:
Run code in Android
var a = { 'a': 1, 'b': 2 }
var b = to_json(a)
print_debug(b)

using custom packages for Android compiled from master

are you using 3.1 stable editor with custom android packages from master which 3.2?

using custom packages for Android compiled from master

are you using 3.1 stable editor with custom android packages from master which is 3.2?

Yes. sorry, I compiled the editor to 3.2 and it's working now. My bad.


Clear selection in editor#destroy, make editorDomRenderer#destroy safer

Add a hasRendered property to Editor and EditorDomRenderer instances.
If an editor is destroyed when it has an active cursor, clear that selection.
This fixes an issue with calling editor.cursor.offsets when the
editor's dom element is selected but the editor has not yet
rendered. See https://github.com/bustlelabs/ember-mobiledoc-editor/pull/39
Update Cursor hasCursor and hasSelection methods to always
return false when the editor has not yet rendered.
Fix a bug when calling EditorDomRenderer#destroy if it has not yet
rendered.

:+1:


Enable federated SPARQL queries per default

Start virutoso with the appropriate settings or let the gstore change the settings on the virtuoso after startup
Permissions that need to be granted:
grant SPARQL_LOAD_SERVICE_DATA to "SPARQL";
grant SPARQL_SPONGE to "SPARQL";

example of a query:
PREFIX dbo: <http://dbpedia.org/ontology/>

SELECT * WHERE {

  SERVICE <http://dbpedia.org/sparql> {
    {
      SELECT DISTINCT ?city WHERE {
    	  ?city a dbo:City .
      } LIMIT 10
    }
  }
}

this can be done in a few ways.

we can run a script in a separate image (it starts, runs the script and goes down) in docker-compose
we can try to make our own image based on OpenLink's image which will do it during startup
@holycrab13 What do you think is better?

@holycrab13 should work with latest commits... please check :), feel free to reopen in case of problems


Automatically enable auto-merge on dependabot PRs

Apparently, there is no setting for this as I thought. Although, I found an official guide on how to do it.
Fixes #704

Hey @ItsDrike, looks like it wants your review as well, as you're the code owner of CI.


Update Composer dependencies (2021-06-18-00-04)

Visual regression test passed!
View the visual regression test report


ongoing add to instructions

New "connect to next traj" and "connect to last traj" drop down menu choices, which replaces a silence with either a traj.id = 1 or traj.id = 0, depending on where the pitches to connect are.


[Mushrooms Finance] Mainnet safe app not working

Description
At the moment of opening this ticket the application available for production mainnet is not working as expected.
Steps to reproduce
Open the app from the list of available apps
Expected result
app always loads correctly, it shouldn't be a lottery
Obtained result
App wont load properly most of the times + refreshing it will return 429 status codes pretty consistently

it loads fine for me

The 429 as Cloudfare docs underline means
Cloudflare Rate Limiting automatically identifies and mitigates excessive request rates for specific URLs or for an entire domain.  Request rates are calculated locally for individual Cloudflare data centers.  The most common uses for Rate Limiting are DDoS protection, Brute-force attack protection, and to limit access to forum searches, API calls, or resources that involve database-intensive operations at your origin.

Once an individual IPv4 address or IPv6 /64 IP range exceeds a rule threshold, further requests to the origin web server are blocked with an HTTP 429 response that includes a Retry-After header to indicate when the client can resume sending requests.

So it seems a problem with the provider and the team under Mushroom Finance should address it @JagoFigueroa

For me is working fine most of the times and the e2e is not detecting the failure consistently. When you receive the 429 first time then is normal that you continue receiving it as the docs said because you are blocked the time indicated under the Retry-After header

So it seems a problem with the provider, and the team under Mushroom Finance should address it

The problem is that the provider is set on our side @yagopv

mmm, I mean the cloud provider 😬, cloudfare is applying some rate limits

mmm, I mean their cloud provider 😬, cloudfare is applying some rate limits

I get it, we set the IPFS provider on our side

ooo 😱😱. Then true. We can talk in the daily about this because hadn't idea 😩

closing this ticket as this is something out of our control. Was nice discussing it in the daily though!


BREAKING CHANGE: Remove feature flag for the uniform Modal variant #DS-1181

Description
The uniform appearance of Modal is now default. The docked variant can be turned on using the isDockedOnMobile option.
Additional context

Issue reference
https://jira.almacareer.tech/browse/DS-1181

coverage: 96.371%. remained the same
when pulling 3cadb55cfad839d497db35b9a0b19afcc8ef1930 on bc/remove-uniform-modal-feature-flag
into c31844849c707ccb44c1a83d635aa1bb54081950 on integration/release-v2.


Error on Vue Component import using JEST + VFD

Vue Component
<template>

    <slot />

</template>


Error page for documentation

Implement an error page that has a nicely worded intro to the docs and links to the user and provider docs top pages.

This should be possible, according to https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site

See also https://gohugo.io/templates/404/

Implemented.


Failed to verify bitcode

I'm getting the below error when i export with enterprise certificate. I have bitcode enabled for my project.
Failed to verify bitcode in TwilioVoice.framework/TwilioVoice:
error: Cannot extract bundle from /var/folders/ss/vf5vy9d56bj2dkpxrxtw501r0000gq/T/XcodeDistPipeline.uKB/Root/Payload/AppName.app/Framework
I'm using latest beta version.

Hi @rajapandian-dev
Sorry that you are having trouble exporting the app.
Could you share a bit more about how the SDK is integrated into you application project? did you install it via the Cocoapods lib or by manual drag-n-drop into app's Embedded Binaries?
We've actually been running the App Store submission as one of our release validation steps and beta9 also works great with bitcode enabled.
I've done some research on the internet and I hate to suggest this but could you try clean the build folder and restart Xcode, and then give it another try?
Thanks
-bobie

Hi @bchen-twilio
Thanks for the response. I did by drag and drop and added the script in Build phase as described in twilio document. Now i moved to pod, able to export an IPA. For twilio pod, i had reinstall the pod repo. All good now. I'm not sure why it wasn't working by drag and drop method.
Thanks.

That's great! @rajapandian-dev
Just in case, what version of Xcode are you currently using?

@bchen-twilio hi, Using Xcode 8.2.1. Thanks.


ErrorBars not compatible with muiti-level Bars axis

With Bars, you can create a two-level X-axis with the Bokeh backend:
var1 = ['Arthur', 'Galahad']
var2 = ['duck', 'newt']
var1, var2 = zip(*product(var1, var2))
vals = np.random.random(len(var1))
err = np.random.random(len(var1))

mybars = hv.Bars(zip(var1,var2, vals), ['var1', 'var2'], 'vals')
mybars

And you can use you can use Bars with ErrorBars:
myerr = hv.Bars(zip(var1, vals), 'var1', 'vals') * hv.ErrorBars(zip(var1, vals, err), 'var1', ['vals', 'err'])
myerr

But trying to use an ErrorBars with a two-level Bars returns an error:
my2err = hv.Bars(zip(var1, var2, vals), ['var1', 'var2'], 'vals') * hv.ErrorBars(zip(var1, var2, vals, err), ['var1', 'var2'], ['vals', 'err'])
my2err

TypeError                                 Traceback (most recent call last)
~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/IPython/core/formatters.py in __call__(self, obj, include, exclude)
    968
    969             if method is not None:
--> 970                 return method(include=include, exclude=exclude)
    971             return None
    972         else:

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/core/dimension.py in _repr_mimebundle_(self, include, exclude)
   1226         combined and returned.
   1227         """
-> 1228         return Store.render(self)
   1229
   1230

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/core/options.py in render(cls, obj)
   1287         data, metadata = {}, {}
   1288         for hook in hooks:
-> 1289             d, md = hook(obj)
   1290             data.update(d)
   1291             metadata.update(md)

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/ipython/display_hooks.py in pprint_display(obj)
    273     if not ip.display_formatter.formatters['text/plain'].pprint:
    274         return None
--> 275     return display(obj, raw=True)
    276
    277

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/ipython/display_hooks.py in display(obj, raw, **kwargs)
    246     elif isinstance(obj, (CompositeOverlay, ViewableElement)):
    247         with option_state(obj):
--> 248             output = element_display(obj)
    249     elif isinstance(obj, (Layout, NdLayout, AdjointLayout)):
    250         with option_state(obj):

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/ipython/display_hooks.py in wrapped(element)
    139         try:
    140             max_frames = OutputSettings.options['max_frames']
--> 141             mimebundle = fn(element, max_frames=max_frames)
    142             if mimebundle is None:
    143                 return {}, {}

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/ipython/display_hooks.py in element_display(element, max_frames)
    185         return None
    186
--> 187     return render(element)
    188
    189

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/ipython/display_hooks.py in render(obj, **kwargs)
     62         renderer = renderer.instance(fig='png')
     63
---> 64     return renderer.components(obj, **kwargs)
     65
     66

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/plotting/bokeh/renderer.py in components(self, obj, fmt, comm, **kwargs)
    243         # Bokeh has to handle comms directly in <0.12.15
    244         comm = False if bokeh_version < '0.12.15' else comm
--> 245         return super(BokehRenderer, self).components(obj,fmt, comm, **kwargs)
    246
    247

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/plotting/renderer.py in components(self, obj, fmt, comm, **kwargs)
    306             plot = obj
    307         else:
--> 308             plot, fmt = self._validate(obj, fmt)
    309
    310         data, metadata = {}, {}

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/plotting/renderer.py in _validate(self, obj, fmt, **kwargs)
    205         if isinstance(obj, tuple(self.widgets.values())):
    206             return obj, 'html'
--> 207         plot = self.get_plot(obj, renderer=self, **kwargs)
    208
    209         fig_formats = self.mode_formats['fig'][self.mode]

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/plotting/bokeh/renderer.py in get_plot(self_or_cls, obj, doc, renderer)
    144             doc = Document() if self_or_cls.notebook_context else curdoc()
    145         doc.theme = self_or_cls.theme
--> 146         plot = super(BokehRenderer, self_or_cls).get_plot(obj, renderer)
    147         plot.document = doc
    148         return plot

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/plotting/renderer.py in get_plot(self_or_cls, obj, renderer)
    188             plot_opts = self_or_cls.plot_options(obj, self_or_cls.size)
    189             plot = self_or_cls.plotting_class(obj)(obj, renderer=renderer,
--> 190                                                    **plot_opts)
    191             defaults = [kd.default for kd in plot.dimensions]
    192             init_key = tuple(v if d is None else d for v, d in

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/plotting/plot.py in __init__(self, overlay, ranges, batched, keys, **params)
    883
    884         # Apply data collapse
--> 885         self.hmap = self._apply_compositor(self.hmap, ranges, self.keys)
    886         self.map_lengths = Counter()
    887         self.group_counter = Counter()

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/plotting/plot.py in _apply_compositor(self, holomap, ranges, keys, dimensions)
    912                                         for key, slckey in zip(keys, sliced_keys) if slckey in holomap.data.keys()])
    913         else:
--> 914             mapwise_ranges = self.compute_ranges(holomap, None, None)
    915             frame_ranges = OrderedDict([(key, self.compute_ranges(holomap, key, mapwise_ranges))
    916                                         for key in holomap.data.keys()])

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/plotting/plot.py in compute_ranges(self, obj, key, ranges)
    373             if (not (axiswise and not isinstance(obj, HoloMap)) or
    374                 (not framewise and isinstance(obj, HoloMap))):
--> 375                 self._compute_group_range(group, elements, ranges)
    376         self.ranges.update(ranges)
    377         return ranges

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/plotting/plot.py in _compute_group_range(group, elements, ranges)
    433             if isinstance(el, (Empty, Table)): continue
    434             for dim in el.dimensions('ranges', label=True):
--> 435                 dim_range = el.range(dim)
    436                 if dim not in group_ranges:
    437                     group_ranges[dim] = []

~/bin/anaconda3/envs/dataproc/lib/python3.6/site-packages/holoviews/element/chart.py in range(self, dim, data_range)
    102             else:
    103                 pos_error = neg_error
--> 104             lower = np.nanmin(mean-neg_error)
    105             upper = np.nanmax(mean+pos_error)
    106             return util.dimension_range(lower, upper, dim)

TypeError: unsupported operand type(s) for -: 'str' and 'float'

Marking this as a bug. Ideally ErrorBars should work here but if there is a good reason it can't (which I don't think there is), there would need to be a better exception than that to explain why.

This is very much not a bug although the error is indeed problematic. In order for this to work we will have to implement my suggestion in https://github.com/ioam/holoviews/issues/1668, which I think is quite sensible and should be straightforward to implement. However it will require a little bit of discussion and further documentation as it is a change in behavior which has the potential to confuse users.

I'll close since #1688 covers the issue.


Missing features on "timm"  package from pypi

I downloaded package pip install timm
The code file for "_features.py" in the timm package is missing these lines of code:
Missing feature_take_indices which is used in vision_transformers.py
These lines are however included in the github repo. So the pypi package is an update behind i guess.
""" PyTorch Feature Extraction Helpers

A collection of classes, functions, modules to help extract features from models
and provide a common interface for describing them.

The return_layers, module re-writing idea inspired by torchvision IntermediateLayerGetter
https://github.com/pytorch/vision/blob/d88d8961ae51507d0cb680329d985b1488b1b76b/torchvision/models/_utils.py

Hacked together by / Copyright 2020 Ross Wightman
"""
from collections import OrderedDict, defaultdict
from copy import deepcopy
from functools import partial
from typing import Dict, List, Optional, Sequence, Set, Tuple, Union

import torch
import torch.nn as nn
from torch.utils.checkpoint import checkpoint

from timm.layers import Format

__all__ = [
    'FeatureInfo', 'FeatureHooks', 'FeatureDictNet', 'FeatureListNet', 'FeatureHookNet', 'FeatureGetterNet',
    'feature_take_indices'
]

def _take_indices(
        num_blocks: int,
        n: Optional[Union[int, List[int], Tuple[int]]],
) -> Tuple[Set[int], int]:
    if isinstance(n, int):
        assert n >= 0
        take_indices = {x for x in range(num_blocks - n, num_blocks)}
    else:
        take_indices = {num_blocks + idx if idx < 0 else idx for idx in n}
    return take_indices, max(take_indices)

def _take_indices_jit(
        num_blocks: int,
        n: Union[int, List[int], Tuple[int]],
) -> Tuple[List[int], int]:
    if isinstance(n, int):
        assert n >= 0
        take_indices = [num_blocks - n + i for i in range(n)]
    elif isinstance(n, tuple):
        # splitting this up is silly, but needed for torchscript type resolution of n
        take_indices = [num_blocks + idx if idx < 0 else idx for idx in n]
    else:
        take_indices = [num_blocks + idx if idx < 0 else idx for idx in n]
    return take_indices, max(take_indices)

def feature_take_indices(
        num_blocks: int,
        indices: Optional[Union[int, List[int], Tuple[int]]] = None,
) -> Tuple[List[int], int]:
    if indices is None:
        indices = num_blocks  # all blocks if None
    if torch.jit.is_scripting():
        return _take_indices_jit(num_blocks, indices)
    else:
        # NOTE non-jit returns Set[int] instead of List[int] but torchscript can't handle that anno
        return _take_indices(num_blocks, indices)

def _out_indices_as_tuple(x: Union[int, Tuple[int, ...]]) -> Tuple[int, ...]:
    if isinstance(x, int):
        # if indices is an int, take last N features
        return tuple(range(-x, 0))
    return tuple(x)

OutIndicesT = Union[int, Tuple[int, ...]]

@skr3178 not sure how this is a bug, can't mix code on the main branch with a pip release... if you want functionality on main branch pip install git+https://github.com/rwightman/pytorch-image-models.git
I'm sill testing and changing a few more things before the next pip release...


Update error message for enum validator

Change Summary
Modify the EnumError message to be a little clearer (in line with the WrongConstantError).
Related issue number
#671
Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] HISTORY.rst has been updated

if this is the first change since a release, please add a new section
include the issue number or this pull request number #<number>
include your github username @<whomever>

LGTM, will merge when I get this far through :sweat:


Update c2c networking docs

Let us know if there are any issues!
[#152871131]
Signed-off-by: Angela Chin<EMAIL_ADDRESS>

@chinangela Yay network comm flows! Thanks so much. We'll review shortly and reach out if we have any questions.

@chinangela @adowns01 Looks good! I do have one question. We began publishing Network Comm paths for various components in PCF 1.11. Do you know if the information you have provided is the same for 1.12 and 1.11 as it is in 2.0? If so, I can backport this document.

Hi @ljarzynski it is close, but not exactly the same.
The only difference as far as I can tell is that anything that says Policy Server Internal should be set to Policy Server instead for both 1.11 and 1.12. Prior to 2.0, there was no internal policy server.


Bind backend is broken

For example
installing the bind backend package on ubuntu (16.04 and 18.04) drops in a file to /etc/powerdns/pdns.d which is auto included from the default /etc/powerdns/pdns.conf file
If you are deploying powerdns with this module this leads to errors like:
Error: /Stage[main]/Powerdns::Authoritative/Service[pdns]: Systemd restart for pdns failed!
journalctl log for pdns:
-- Logs begin at Thu 2018-05-03 17:03:25 SAST, end at Tue 2018-05-08 22:44:08 SAST. --
May 08 22:44:08 liq-enum-nbo systemd[1]: Stopping PowerDNS Authoritative Server...
May 08 22:44:08 liq-enum-nbo systemd[1]: Stopped PowerDNS Authoritative Server.
May 08 22:44:08 liq-enum-nbo systemd[1]: Starting PowerDNS Authoritative Server...
May 08 22:44:08 liq-enum-nbo pdns_server[17395]: Reading random entropy from '/dev/urandom'
May 08 22:44:08 liq-enum-nbo pdns_server[17395]: Fatal error: Refusing to launch multiple backends with the same name 'bind', verify all 'launch' statements in your configuration
May 08 22:44:08 liq-enum-nbo systemd[1]: pdns.service: Main process exited, code=exited, status=1/FAILURE
May 08 22:44:08 liq-enum-nbo systemd[1]: pdns.service: Failed with result 'exit-code'.
May 08 22:44:08 liq-enum-nbo systemd[1]: Failed to start PowerDNS Authoritative Server.

the problem can be manually resolved by either deleting the newly created conf file in pdns.d or editing the main conf to comment out or remove the include-dir line so the conf file is not loaded.
I can prepare a PR to resolve this but wanted to open the issue first so the right approach can be agreed upon.

Are you sure this is not related to an issue on your server? #47 mentions a similar problem.
We include acceptance tests that you could temporarily adjust to test your specific use case. I'll run some tests tomorrow morning myself.

yes it actually is because i'm on bionic so using the os repos at the moment while waiting for powerdns to build a release

It turns out pdns.d/pdns.simplebind.conf is added on all Debian-based systems regardless of the source of the installation. This seems to be because of Debian's policies. We'll remove it in the next release to make this module a bit more consistent to other releases.
The reason for not removing include-dir yet is because it is a change with much bigger impact on the people using this module who are on Debian-based systems. They may have made configuration changes without powerdns::config. This is something for a 2.0.0 release though.


Sharing a pool of gRPC threads/connections with N topics for Pub/Sub?

What component of google-cloud-cpp is this feature request for?
Pub/Sub
Is your feature request related to a problem? Please describe.
Thanks for a great product. I've been looking at your samples for using the Pub/Sub publisher class. There is one example in particular where it shows you how to pass in your own thread pool:
https://cloud.google.com/cpp/docs/reference/pubsub/latest/classgoogle_1_1cloud_1_1pubsub_1_1Publisher#thread-safety
I had some suspicions about gRPC connections and the like, so I dug into the source code.
Each call of MakePublisherConnection is still tied to a topic. It is unclear if can use the same thread pool for multiple calls to MakePublisherConnection or not. Inside MakePublisherConnection I see gRPC channels being connected per thread, so I'm assuming that it's not expected to use the same thread pool across multiple topics?
That leaves me to my point of confusion. What is the expected usage for a scenario that I would assume is common:

You have multiple topics you publish to
You want a pool of gRPC connections that can be shared across all topics

Describe the solution you'd like
I would like a sample to document that, or even have this issue be the documentation.
Describe alternatives you've considered
I am currently iterating on ways I can play with the API to do what I expect, but it isn't ideal.

While not the Pub/Sub expert, let me jump in and confirm a few of your suspicions.

Each call of MakePublisherConnection is still tied to a topic.

Yes.

It is unclear if can use the same thread pool for multiple calls to MakePublisherConnection or not. Inside MakePublisherConnection I see gRPC channels being connected per thread, so I'm assuming that it's not expected to use the same thread pool across multiple topics?

So there are two things here:

The thread pool servicing the CompletionQueue
The pool of gRPC channels

For 1, the thread pool servicing the CompletionQueue can be shared across connections, by using the GrpcCompletionQueueOption, as you found in the documentation.
For 2, the pool of gRPC channels cannot be reused by Publishers that are tied to different topics, with the current API. Although this is a totally reasonable use case.

For the sake of completeness, I should point out that the BlockingPublisher lets you reuse the gRPC channel pool for different topics. You could make one BlockingPublisherConnection and share it across multiple clients, providing a different Topic in each call to Publish(...).
https://cloud.google.com/cpp/docs/reference/pubsub/latest/classgoogle_1_1cloud_1_1pubsub_1_1BlockingPublisher#classgoogle_1_1cloud_1_1pubsub_1_1BlockingPublisher_1a37e3aae927a3fb1fa2e83f1663d621a1
Of course, you would be using a blocking API. Maybe that is not good enough for your use case.

Solid reply, thanks as usual @dbolduc. I think an easy workaround for now would be

Use the BlockingPublisher, setting up one BlockingPublisherConnection
Have it called on a pool of background threads that I manage

I'll go with that for now, but what do you think about this?

For 2, the pool of gRPC channels cannot be reused by Publishers that are tied to different topics, with the current API. Although this is a totally reasonable use case.

Perhaps that could be discussed among maintainers for a future release?

Perhaps that could be discussed among maintainers for a future release?

Definitely. I will start the brainstorming of ways for the fancy Publisher to support sharing gRPC channel pools...
Option A : Override the topic via a call option
At some point we decided not to add per-call options for the Publisher. https://github.com/googleapis/google-cloud-cpp/issues/7689#issuecomment-1278214607
We could add the equivalent of pubsub::SubscriptionOption, except it would be pubsub::TopicOption. What I don't know is if an option to override the topic makes any sense in the case of something like a message ordering publisher. I would have to defer to the pubsub experts.
Note that Options are not the only way to do this. We could also add the equivalent of a bigtable::Table::WithNewTarget(...) to change the resource. Plumbing it through the many layers of pubsub might be tricky though.
Option B: offer a way to provide a channel pool to MakePublisherConnection
If changing the topic on the fly is something we want to disallow, we would need a way to inject an existing channel pool into MakePublisherConnection.
e.g. something like:
class GrpcChannelPool {
 private:
  // Only accessed through internal library functions
  std::vector<std::shared_ptr<grpc::Channel>> channels_;
  // I think we need to hold this too.
  std::shared_ptr<GrpcAuthenticationStrategy> auth_;
};

// Supply your own gRPC channel pool for the connection to use.
struct PubSubChannelPoolOption {
  using Type = GrpcChannelPool;
};

// Returns an object that holds a channel pool, to be given to a `PublisherConnection`.
GrpcChannelPool MakeChannelPool(Options options);

MakeChannelPool() would do something along the lines of this CreateGrpcChannel():
https://github.com/googleapis/google-cloud-cpp/blob/af29661d19edd95bab7a0db22d436219490f713b/google/cloud/pubsub/internal/publisher_stub_factory.cc#L71
The stub factory would look for the presence of the GrpcChannelPoolOption and use the channels therein if the option is present instead of creating new channels.

Both sound reasonable in my opinion. When I first started fiddling with the API, I expected something like Option B (since the nuances around Option A are unclear to me too).

This document covers some of the questions here: https://cloud.google.com/cpp/docs/background-threads (if nothing else it may help the search engines find it in the future).
On the channels: keep in mind that gRPC  shares sockets under the hood, that is, different channels use the same socket if (1) the use the same endpoint, (2) they use the same authentication / credentials, (3) the have the same channel attributes, and (4) they are configured to use the global pool of sockets (I may have forgotten some other condition, but you get the idea).  There are some tradeoffs.  The last condition requires some synchronization overhead.

This document covers some of the questions here: https://cloud.google.com/cpp/docs/background-threads (if nothing else it may help the search engines find it in the future).

I was looking for something like this and couldn't find it. Appreciate this!

In case it helps, I ended up going with something like this in the interim:
auto PubSubPublisher::makePublisherConnection( const std::string & topic ) -> std::shared_ptr<g::pubsub::PublisherConnection>
{
    // use our own completion queue / thread pool for all pub/sub connections
    // in the future, we may be able to specify a gRPC connection pool as well
    // https://github.com/googleapis/google-cloud-cpp/issues/13707
    auto publisherConnection = g::pubsub::MakePublisherConnection(
        g::pubsub::Topic( kProjectId, topic ),
        g::Options{}
            .set<g::GrpcCompletionQueueOption>( mCq )
            .set<g::pubsub::MaxHoldTimeOption>( kMaxHoldTime )
            .set<g::pubsub::MaxBatchBytesOption>( kMaxBatchBytes )
            .set<g::pubsub::MaxBatchMessagesOption>( kMaxBatchMessages ) );

    return publisherConnection;
}

void PubSubPublisher::publish( const std::string & topic, const google::protobuf::Message & message )
{
    // store a map of topic connections
    // in the future, we may be able to use a single publisher connection for multiple topics
    // https://github.com/googleapis/google-cloud-cpp/issues/13707
    if ( !mTopicConnections.contains( topic ) )
    {
        mTopicConnections[topic] = makePublisherConnection( topic );
    }

    auto publisher = g::pubsub::Publisher( mTopicConnections[topic] );

    g::pubsub::MessageBuilder messageBuilder{};
    messageBuilder.SetData( message.SerializeAsString() );

    publisher
        .Publish( std::move( messageBuilder ).Build() )
        .then( [topic]( g::future<g::StatusOr<std::string>> future )
               { handlePublishResponse( std::move( future ), topic ); } );
}

Where I'm maintaining a map of publisher connections per topic in order to keep using the async API.

We'll take this feature request into consideration in our upcoming planning, but I cannot commit to any time frame at present. If/when we decide to work on this feature, we'll update this issue accordingly.


Small bits

Fixes no issue

[x] npm run test succeeds.
[x] npm run lint succeeds.
[ ] Appropriate changes to README are included in PR.

Removed to no-any rule override
Added TODOs for unused function and unnecessary exports

@grant just to be sure... is this the PR you wanted to merge first?

Thanks for the cleanup.
Shouldn't matter. Merged both.


how can i watch service and keyprefix?

Based on the docs and code i can't find a way to watch something that isn't just a normal kv
am I missing something? :)

So you can pass pretty much any existing method and options into watch.
Method is just one of the methods define in the docs and options is just any the parameters is accepts.
Example: watch service list
var watch = consul.watch({
  method: consul.catalog.service.list,
  options: {}
});

Example: watch service nodes
var watch = consul.watch({
  method: consul.catalog.service.nodes,
  options: { service: 'example' }
});

Example: watch kv prefix (recursive)
var watch = consul.watch({
  method: consul.kv.get,
  options: { key: 'example', recurse: true }
});

Feel free to re-open if that doesn't make sense.

Hi @silas - got everything working on my own like that, except keyprefix - can't find anything in the source for that
what I ended up doing was something like this, which seem to work - my JS skills are terrible, so feel free to adopt or whatever :)
var utils = require('../../../node_modules/consul/lib/utils.js');

export function getKeyPrefixHandler(opts, callback) {
  if (typeof opts === 'string') {
      opts = { prefix: opts };
    }

    var req = {
      name: 'kv.prefix',
      path: '/kv/{prefix}',
      params: {
        type: "keyprefix",
        prefix: (opts.prefix || '')
      },
      query: {},
    };

    req.query.recurse = true;

    if (opts.raw) {
      req.query.raw = 'true';
      req.buffer = true;
    }

    utils.options(req, opts);

    this.consul._get(req, function(err, res) {
      if (res && res.statusCode === 404) return callback("Key prefix '"+ opts.prefix + "' does not exist", undefined, res);
      if (err) return callback(err, undefined, res);
      if (opts.raw) return callback(null, res.body, res);

      if (res.body && Array.isArray(res.body) && res.body.length) {
        res.body.forEach(function(item) {
          if (!item.hasOwnProperty('Value')) {
            return;
          }
          item.Value = utils.decode(item.Value, opts);
        });
      } else {
        return callback(undefined, undefined, res);
      }

      if (!req.query.recurse) return callback(null, res.body[0], res);

      callback(null, res.body, res);
    });
}

your example with kv recurse, doesn't seem to match the consul docs
{
  "type": "keyprefix",
  "prefix": "foo/"
}
```

as you would be sending `key` instead of `prefix` - and `type` `key`instead of `keyprefix`

@jippi I think type is just a construct of the Golang API and the consul client. If you look at the consul source you'll see it's just used for picking the parameters to send to the server.
Here is the HTTP result of the follow command:
$ consul watch -type keyprefix -prefix=test echo reload

Watches are better described in regards to the HTTP API under "Blocking Queries" via https://www.consul.io/docs/agent/http.html

ok :)


Pex resolves VCS and local project requirements from locks incorrectly.

The key code for each follows.
VCS
https://github.com/pantsbuild/pex/blob/e5661d6178e24611b09b7003dd2a1e37613a2200/pex/resolve/lock_resolver.py#L72-L127
Here the error is on line 112 where resolver.download is passed no Targets, meaning it defaults to the current sys.executable to perform the download with.
Local Project
https://github.com/pantsbuild/pex/blob/e5661d6178e24611b09b7003dd2a1e37613a2200/pex/resolve/lock_resolver.py#L155-L183
Here the digest_local_project function doesn't even accept a Target:
https://github.com/pantsbuild/pex/blob/e5661d6178e24611b09b7003dd2a1e37613a2200/pex/pip/local_project.py#L36-L51
Because, in turn, pep_517.build_sdist does not accept a Target:
https://github.com/pantsbuild/pex/blob/e5661d6178e24611b09b7003dd2a1e37613a2200/pex/build_system/pep_517.py#L164-L174
https://github.com/pantsbuild/pex/blob/e5661d6178e24611b09b7003dd2a1e37613a2200/pex/build_system/pep_517.py#L90-L115
https://github.com/pantsbuild/pex/blob/e5661d6178e24611b09b7003dd2a1e37613a2200/pex/build_system/pep_517.py#L68-L74
Because, in turn, pep_518.load_build_system does not accept a Target:
https://github.com/pantsbuild/pex/blob/e5661d6178e24611b09b7003dd2a1e37613a2200/pex/build_system/pep_518.py#L109-L139
https://github.com/pantsbuild/pex/blob/e5661d6178e24611b09b7003dd2a1e37613a2200/pex/build_system/pep_518.py#L71-L89
Which results in the build system venv carrying the ambient sys.executable as its Python.

Ok, it looks like VCS downloads are the only problem here. For local projects, Pip is not involved and its Pip complaining about Requires-Python metadata mismatch and refusing to download.

Ok, local projects are coming along for the ride. It turns out sdist wheel metadata generation during lock create can suffer from a similar lack of target scoping, and so all the infra needed there in pep_517 & pep_518 is in play.


Add OpenCollective + Smile donation buttons

Preview:

I know Mike has the CafePress, but do we have the t-shirts all set up?

I know Mike has the CafePress, but do we have the t-shirts all set up?

Not entirely, but if worst comes to the worst I can order them in Germany. International shipping from Germany to anywhere in world is 10€.

Going to merge this now, s.t. it's visible to the general public. The design can always be improved in a follow-up.


Development environment for VK internals

Short Description of the issue
Document and explain how to work with debuggers and IDE with all the components

Environment

Operating System:
Other related components versions:

Steps to reproduce

Logs, stacktrace, or other symptoms

output

Summary of proposed changes

including delve and requirements


Feature/bockly new datetime

The blocks are working, but for the current date time, the output is not shown on the Program output panel

fix #62


<: shorthand for implements

Here's my implementation of a shorthand for implements, as originally suggested in #254 and using the <: notation suggested in #274.
We might want to see if there are any better notations suggested before committing to <:.  Or we could merge this and change it later.

Looks good! I think this is a good syntax. We can change it later if there is a good reason.


[Feat] - Determine image source

Is your feature request related to a problem? Please describe.
From CropImageView.CropResult it doesn't seem to be possible to determine the source of the content, e.g. camera or gallery.
Describe the solution you'd like
Expose a property that indicates the content source.
Describe alternatives you've considered
n/a
Additional context
n/a

Interesting Feature. Will tag to see if someone wanna do it =D
Feel free to drop a PR too


Consolidate all files referencing classes into the same file

This is because of the problems with classes in PowerShell modules. The only reason why we don't have a problem in VSC with class references in files is because I already have Krayola installed on my machine and imported. In VSC powershell, the module has been imported so it can see the class definitions. However, these are the old class definitions which can't be modified after being defined in the same session. If somebody else checked out the repo without already having the module installed would see class reference erros in VSC.
So the best option would be to consolidate all the files into 1, bas work-around, but until class support in powershell has been improved, there is little else we can do.

Fixing this has revealled a major issue with developing classes inside moduleswhich lead to very confusing errors.
I changed my VSC powershell profile to not import any of my own modules currently in development. The import should be left to the test fixtures. But another problem arises, once a powershell session has loaded a class, that class cant be modied in the current session, so whilst working on as local class, any changes you make to the class will not be reflected by re-importing the module. Rather the whole session needs to be restarted. So this could be a real pain in the arse.

Fixing this has revealled a major issue with developing classes inside moduleswhich lead to very confusing errors.
I changed my VSC powershell profile to not import any of my own modules currently in development. The import should be left to the test fixtures. But another problem arises, once a powershell session has loaded a class, that class cant be modied in the current session, so whilst working on as local class, any changes you make to the class will not be reflected by re-importing the module. Rather the whole session needs to be restarted. So this could be a real pain in the arse.


Can promptbench be used to attack samples instead of prompts?

Hi~
Thanks to your great contribution to the community.
I would like to try attacking the samples of datasets using promptbench instead of attacking the prompt. Is this feasible? Do you have any suggestions? Thank you so much!

Hi, if you would like to attack samples, you could refer to the textattack repo, which is the base of prompt attacks.

Thank you very much for your reply. I am referring to TextAttack. I found TextAttack has a parameter like --pct-words-to-swap to limit the range of perturbations to the text. May I ask, in promptbench, what is the default magnitude of perturbation? Are there any constraints?

Yes, please refer to this file where we defines the constraints of different attacks.
Also, we have the LabelConstraint where we prevent the attack from modifying certain words (such as the label 'positive' for sentiment analysis).

Thank you very much for solving my problem~


New pull

The whole project looks nice, congratulations.

Simply, you may add full copyright on the footer side.

Otherwise, keep it up

That’s very kind of you, that you noticed it. I will work on it soon.


80x25 or 80x50?

In the "Minimal Rust Kernel" blog post you say "[The vga text buffer] normally consists of 50 lines that each contain 80 character cells." But in the "VGA Text Mode" blog post you say "The VGA text buffer is a two-dimensional array with typically 25 rows and 80 columns, which is directly rendered to the screen." Which is correct?

Thanks for reporting! 25 lines is the correct number.


fix(markdown): fix linksPlugin parsing query and wrong absolute link

Now queries are preserved instead of being removed
Absolute link is null when a link is relative and there is no markdown file info

This PR is based on #1521

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

22 of 61 (36.07%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 41.105%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/client/src/router/resolveRoute.ts
0
1
0.0%

packages/client/src/router/resolveRoutePath.ts
0
2
0.0%

packages/client/src/components/RouteLink.ts
0
9
0.0%

packages/client/src/components/AutoLink.ts
0
27
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
689

Relevant Lines:
1715

💛  - Coveralls

Need to update test cases

What test cases is not update? This PR is not introducing any new functions, while I already updated existing ones.


Cn 2116 date picker

Can you make the background color white if not disabled? That way it matches the other two inputs. Otherwise looks great!

Can you make the background color white if not disabled? That way it matches the other two inputs. Otherwise looks great!

Done


Drop unused exception classes.

Also drop unnecessary init method on remaining exception class

Coverage increased (+4.4%) to 96.364% when pulling cdd6c251c907707d0525774d0609ca06c279aa6d on drop_unused_exception_classes into 71a62e1d7c162fd6e9ce89a29612a19a0b820df1 on master.


[Libreté][Headspace][Epyllion] Add files

@Sheershym
Hello. I had to remove the Headspace sheet as it was failing to load in app. You may want to double check it by adding it to a table as a Custom game.
As a best practice please submit the images to the sheet to GitHub. They should be hosted in the folder.
Thanks,
Cassie


[RFE] update gcc to 10.x

Current situation
Ideally we should start updating gcc to 10.x at least, as gcc 10.x supports features like C++ 20.
Gcc 10 was already released 18 months ago, so Gentoo upstream has already gone through various issues and tests around the update via Tracker https://bugs.gentoo.org/706426.
On the Flatcar side, it should be easy to do so, because Flatcar does not have its own changes since 9.4. (See https://github.com/flatcar-linux/portage-stable/pull/252)

Updated the description.

PRs:

https://github.com/flatcar-linux/portage-stable/pull/282
https://github.com/flatcar-linux/coreos-overlay/pull/1611

Not complete yet, as we also need to merge the actual gcc update PR https://github.com/flatcar-linux/portage-stable/pull/283.


migrate/schema: Confusion of M2M table structure

User table defined as:
// Fields of the User.
func (User) Fields() []ent.Field {
	return []ent.Field{
		field.String("name").Unique(),
	}
}

// Edges of the User.
func (User) Edges() []ent.Edge {
	return []ent.Edge{
		edge.To("following", User.Type).
			From("followers"),
	}
}

foo, _ := client.User.Create().SetName("foo").Save(ctx)
bar, _ := client.User.Create().SetName("bar").Save(ctx)

fmt.Println(foo.ID, bar.ID)

client.User.UpdateOne(foo).AddFollowers(bar).Exec(ctx)

list, err := client.User.Query().Where(user.Name("foo")).QueryFollowers().All(ctx)
fmt.Println(list, err)

1 2
[User(id=2, name=bar)] <nil>

why follower_id is 1 ?
follower is bar ,bar's id is 2.

Hey @cocotyty and thanks for raising up this issue.
Usually, for non recursive relations, we use T1_id, T2_id, but in cases of M2M relations from a type to itself, we fallback to the back-reference name for the column. See:
https://github.com/facebook/ent/blob/dea48a78eae387eaa7845480e6a3559029684a14/entc/gen/graph.go#L348-L356
The relation-table represents only the followings edge, and the followers edge is just a back-reference, so in this case, when you added bar as a follower of foo, you actually created the followings relation as follows: bar-(following)->foo.
Having said that, I still think the name of the column needs to be changed for 2 reasons - it's confusing, and back-reference edges can be renamed, and should not be stored in the database. We need to wait for the new migration API before changing this, just to make sure we don't break existing code.
Thanks again for reporting this.

@a8m We can do this now with atlas having landed, correct?


Patch/add search info to investment

update add required arguments for /v3/search
fix component name
send in new arguments to component

@teneightfive FYI

To obtain foreign companies you need to POST the body param uk_based:false. The searchService.search needs some work to accept a method.

@tyom @teneightfive I have updated this work to work with the /v3/search/company post endpoint. There are various things I have added TODOs for:

discuss why this needs to be a POST rather than a GET like the default /v3/search
this work has been abstracted for easy removal of code once this api call has has been changed to GET
we have query params on a POST's url
we have a param named original_query that is set to term on the backend, this needs aligning to other endpoints and changed to term in the request

Of not this work is also waiting for this PR to be merged https://github.com/uktrade/data-hub-leeloo/pull/237

I have also created Jira > DH-293 around this work


Negative Scale Drawing

Default shader will now translate a sprite when a negative scale is used so it draws in line with where the SpaceComponent is.

Coverage increased (+1.8%) to 42.757% when pulling 78fe2e6f07d6e97404fc0de342ca5a078e57d864 on negative-scale-support into 0422090b7dc36f154f587b32be521d763148d884 on master.


Text is not completely highlighted on hover

Describe the bug
The text ("Learn Digital Logic") in the drop down options of help menu is not getting completely selected when we hover on it
Screenshots

Device Information [optional]:

OS:  Ubuntu 20.04.3 LTS
Browser: Firefox

Are you working on this issue? (Yes/No)
Yes

Kindly check your solution not affect design for other OS, you use another browser to test this.

@vedant-jain03 Yes I have checked on another browser, it is working fine. .

can i work on this

I am new to this project, is anyone currently working on this issue.

Hey Assign this to me I know how to work on this issue!

If this issue is still relevant I'd be happy to contribute.

@vedant-jain03  I would like to work on this if its still open?

@vedant-jain03 I would like to work on this if its still open?

@legendarykamal thanks for your interest but the PR for the issue is already under review. Check out other issues!!!

ya sure

@vedant-jain03 can you suggest me any issue to start with as I am exploring the codebase and most of the issues i found are under PR review . It would be nice of you if  you could suggest me!

I am working on this!

Is this issue still open? I would like to work on it.

is the PR for this process accepted? If nit can I work on this?

Hey @aroradhruv2308 i would like to work on this issue would you please assign me.

hey, @vedant-jain03 , if no one else is currently working on fixing this issue, I would like to work on this issue. Can you please assign me?

Hi Everyone! I am new to Open source contributions and would like to give this a try? Can someone please guide me through the initial steps?

hi if this issue is still open please assign to me ?? waiting for your reply

Hey @aroradhruv2308 @vedant-jain03 I want to work on this issue.
Please assign it to me.

@aroradhruv2308  I want to resolve this issue ,please assign it to me .

@aroradhruv2308, i would like to take up this issue please assign it to me.

@aroradhruv2308 Hey there, I see it is solved, But why is this issue still open?

@aroradhruv2308 I want to work on this issue!

The issue seems to be resolved now. @aroradhruv2308 .
Added a screenshot in firefox

@vedant-jain03 Sir i want to solve the issue please assign it to me . I learn a lot of things through this issue .

@vedant-jain03, sir i would like to work on that issue, please assign it to me, it would be mine first contribution.


Update README.markdown

Scan submitted to Checkmarx

Checkmarx scan completed
Full Scan Details
Violation Summary

Severity
Count

High
77

Details

Lines
Severity
Category
File
Link

8
High
Command_Injection
website/users/check_pass.php
Checkmarx

18
High
Command_Injection
website/pictures/conflictview.php
Checkmarx

18
High
Command_Injection
website/pictures/high_quality.php
Checkmarx

9
High
Command_Injection
website/passcheck.php
Checkmarx

3
High
File_Inclusion
website/admin/index.php
Checkmarx

27 29
High
File_Manipulation
website/pictures/upload.php
Checkmarx

44
High
Reflected_XSS_All_Clients
website/comments/preview_comment.php
Checkmarx

144
High
Reflected_XSS_All_Clients
website/include/html_functions.php
Checkmarx

19 22
High
Reflected_XSS_All_Clients
website/pictures/search.php
Checkmarx

16 39
High
Reflected_XSS_All_Clients
website/users/login.php
Checkmarx

49
High
Reflected_XSS_All_Clients
website/users/register.php
Checkmarx

83
High
Reflected_XSS_All_Clients
website/pictures/upload.php
Checkmarx

19
High
Reflected_XSS_All_Clients
website/submitname.php
Checkmarx

5
High
Reflected_XSS_All_Clients
website/error.php
Checkmarx

16
High
Reflected_XSS_All_Clients
website/comments/delete_preview_comment.php
Checkmarx

35
High
Reflected_XSS_All_Clients
website/pictures/conflict.php
Checkmarx

9 36
High
Reflected_XSS_All_Clients
website/passcheck.php
Checkmarx

12
High
Reflected_XSS_All_Clients
website/piccheck.php
Checkmarx

22 35
High
Reflected_XSS_All_Clients
website/comments/add_comment.php
Checkmarx

2 3 4 5
High
Reflected_XSS_All_Clients
website/test.php
Checkmarx

3
High
Remote_File_Inclusion
website/admin/index.php
Checkmarx

11
High
SQL_Injection
website/users/login.php
Checkmarx

15
High
SQL_Injection
website/pictures/search.php
Checkmarx

10
High
SQL_Injection
website/admin/login.php
Checkmarx

102
High
SQL_Injection
website/include/admins.php
Checkmarx

31 71 104
High
SQL_Injection
website/cart/action.php
Checkmarx

16
High
SQL_Injection
website/comments/add_comment.php
Checkmarx

29 30 39 47
High
SQL_Injection
website/pictures/upload.php
Checkmarx

16 25
High
SQL_Injection
website/pictures/conflict.php
Checkmarx

14
High
SQL_Injection
website/comments/delete_preview_comment.php
Checkmarx

18
High
SQL_Injection
website/pictures/high_quality.php
Checkmarx

18
High
SQL_Injection
website/pictures/conflictview.php
Checkmarx

18
High
SQL_Injection
website/users/register.php
Checkmarx

16
High
SQL_Injection
website/pictures/view.php
Checkmarx

18 24
High
SQL_Injection
website/comments/preview_comment.php
Checkmarx

14
High
SQL_Injection
website/guestbook.php
Checkmarx

24 30
High
SQL_Injection
website/users/view.php
Checkmarx

16
High
SQL_Injection
website/pictures/view_flymake.php
Checkmarx

87
High
Second_Order_SQL_Injection
website/include/admins.php
Checkmarx

22 102 157
High
Second_Order_SQL_Injection
website/include/users.php
Checkmarx

117 197
High
Second_Order_SQL_Injection
website/include/pictures.php
Checkmarx

37 97
High
Second_Order_SQL_Injection
website/include/cart.php
Checkmarx

60
High
Second_Order_SQL_Injection
website/include/comments.php
Checkmarx

97 136
High
Stored_XSS
website/include/cart.php
Checkmarx

22 132
High
Stored_XSS
website/include/users.php
Checkmarx

15
High
Stored_XSS
website/include/guestbook.php
Checkmarx

19 39 60 79 98 117 132 221
High
Stored_XSS
website/include/pictures.php
Checkmarx

28
High
Stored_XSS
website/include/comments.php
Checkmarx


steal.js Expected identifier error in IE8

This is for steal 0.4
steal.js and steal.production.js will not load in IE8.
steal.js throws an "Expected Identifier" error on line 4300, col 20.
tried in our project and setup a clean project using example at steal.js

Does SystemJS and ES6ML work in IE8?  If not, we probably are not going to support IE8.

Also, can you paste that line?

I thought those modules were for compile time not runtime?
return loader.import("@config").then(function() {

According to this page ES6 should work in IE8+ http://guybedford.com/practical-workflows-for-es6-modules

Both are used for runtime.  Traceur is not.

Ah, this is our problem.  Any X.import(Y) needs to be changed to:
X["import"](Y)

Can you look for ".import" in https://github.com/bitovi/steal/tree/master/src and submit a pull request with them changed?

Will do. Thanks.

I haven't gotten to the pull request. I'm trying to implement the fix to see if it works.
Your fix works but it appears that
$__Object$getPrototypeOf returns null.
Fixing the return to be
return obj.proto || obj.constructor.proto;
seems to work but then I get a very useless error on this line:
$__Object$getPrototypeOf(SystemLoader.prototype).constructor.call(this, options || {});
which is "Expected ']'"

@tracer99 I'm not sure what you mean.  There's some code that looks like:

$__Object$getPrototypeOf(SystemLoader.prototype).constructor.call(this, options || {});

This is not part of StealJS.  This would be a problem with ES6ML or SystemJS.  Where is this code?

Sorry. I'm hacking away at steal.js
Didn't realise it was a combination of multiple projects.
It's under System Loader(browser-loader.js)
So the above fixes the steal part, but then system loader has issues.

By "System Loader" do you mean:
https://github.com/ModuleLoader/es6-module-loader
You might want to create an issue there.
return obj.__proto__ || obj.constructor.__proto__;

Are you sure that's right?  My guess is you mean:
return obj.__proto__ || obj.constructor.prototype;

A constructor function's proto would always point to Function.prototype.  I think you want it's prototype.

https://github.com/ModuleLoader/es6-module-loader/issues/282#issuecomment-70620189
I have no idea how to proceed.

This should be fixed now, I'm going to run the tests in a VM to confirm.

There are still some issues, namely this: https://github.com/ModuleLoader/es6-module-loader/issues/321
Working on resolving all of these.