video widget always displayed on background of others (Tabris-js 2.0 nightly)

Possible case: in a Composite, if there is a video widget and another one, video Z-index is always lower (maybe) cause the second widget always is up over video, no matter the order they are declared

What platform are you seeing this behavior on? The video widget should adhere to the the same child order than regular views.

I saw this behaviour when in this situation, but maybe my conclusion was wrong:
in a widget full layout (top, bottom, left, right: 0) on upper section a video widget, and in lower section page a tabFolder. Tested on beta 1 is ok, on nightly buid, the tabfolder is displayed over the video.

@maoamid Please reopen if configuring elevation didn't solve your problem.


add AlterTable

Adds support for ALTER TABLE query to PostgreSQLQuery.

Hey @tanner0101, you just merged a pull request, have a coin!
You now have 721 coins.


build folder index.html vs. min js and css

After 'grunt build' the build/index.html file references the min files, but the build/ folder only contains the regular files.
line 10:     link rel="stylesheet" href="css/framework7.min.css"
line 98:     script type="text/javascript" src="js/framework7.min.js" ...
Perhaps templates/index.jade should contain a variable? I would guess there's a standard solution but I've never used grunt so not sure what to try. (Of course it's trivial to fix by hand after the build, but still worth fixing the code at some point.)

Same thing happens after "gulp build" as well and minified versions are not generated inside /build. Copying framework7.min.js and framework7.min.css to your /build/js and build/css folders from /dist folders fixes the /build for development, but not sure about the index.jade fix either.

minified versions shouldn't be in build/ as it is for developing of F7 itself. I'll try to configure it so it points to full versions in build/


Tweaking convert tests

I think the tests that are failing in the success tests are waiting on fixes that are going in or changes have been requested for.  The tests that are failing in the fail tests should be fixed when validation is added the convert.

Cleaning up some old PRs


validate ikey

#1260
As we discussed, InstrumentationKey will be checked for invalid characters when set.

@TimothyMothra Can you describe the validation behavior if ikey is configured via other options? eg: environment variable? And asp.net core offers additional places for provide instrumentation key. (aioptions)
How about ikey provided inside connectionstrings?

@cijothomas
Environment Variable and ConnectionString are both used to set the telemetryconfiguration.instrumentationkey, so they are covered by these same validation rules.
IIRC aioptions also maps to the telemetryconfiguration.

@cijothomas
Environment Variable and ConnectionString are both used to set the telemetryconfiguration.instrumentationkey, so they are covered by these same validation rules.
IIRC aioptions also maps to the telemetryconfiguration.

If you can do a unit test asserting these, it'd be great.

Abandoning this, we are going in a different direction.


Added isAfterSunset (by: Seconds) methods

I found myself making these calculations a lot, so I wrote a convenience wrapper. Thanks for your work with this repo!

Closing due to inactivity. Feel free to resubmit 👍


fix(providersModal): show error regarding resource name after arn:aws

fixes #422
It will be easier for me later to take that validation and use it in AWS onboarding process.
The flow is: if the user enters less than "arn:aws:". For example, "arn:a" then a server side error message will appear. Although I can set that the minimal length is 10 and avoid getting this error from server side and be more "user-friendly".
Whatever you like.
//cc @lcouzens

Codecov Report

Merging #503 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #503      +/-   ##
==========================================
+ Coverage   84.26%   84.27%   +0.01%
==========================================
  Files         155      155
  Lines        2288     2290       +2
  Branches      363      364       +1
==========================================
+ Hits         1928     1930       +2
  Misses        321      321
  Partials       39       39

Impacted Files
Coverage Δ

src/pages/providersModal/providersModal.tsx
97.22% <100%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a84b7fc...b732cf6. Read the comment docs.


Add special case for nitrogen valence

This PR corrects the max valence of nitrogen, and prevents the agent from forming too many bonds with it(that would induce a molecule considered invalid by RDKit).
The fix is definitely a heuristic, but it is compatible with the nitrogen bond variety found in ChembL. Consider the following snippet:
import pandas as pd
import tqdm
import multiprocessing
from rdkit import Chem
from gflownet.envs.mol_building_env import MolBuildingEnvContext

chembl = pd.read_parquet('path/to/chembl.parquet')
ctx = MolBuildingEnvContext(['Br', 'C', 'Cl', 'F', 'N', 'O', 'P', 'S'])

def f(smi):
    mol = Chem.MolFromSmiles(smi)
    if mol is None:
        return []
    g = ctx.obj_to_graph(mol)
    bts = []
    for i in g.nodes:
        if g.nodes[i]['v'] == 'N':
            ns = [g.edges[(i, u)] for u in g.neighbors(i)]
            bt = (len(ns),
                  tuple(sorted([b.get('type',Chem.BondType.SINGLE).real for b in ns])),
                  g.nodes[i].get('charge', 0),
                  g.nodes[i].get('no_impl', 0))
            bts.append(bt)
    return bts

def g():
    bonds = []
    with multiprocessing.Pool(64) as pool:
        for i in tqdm.tqdm(pool.imap_unordered(f, chembl.index), total=len(chembl)):
            bonds += i
    print(set(bonds))

if __name__ == '__main__':
    g()

which outputs:
{(0, (), 0, 0),
 (1, (1,), 0, 0),
 (1, (2,), -1, 0),
 (1, (2,), -1, True),
 (1, (2,), 0, 0),
 (1, (3,), 0, 0),
 (2, (1, 1), -1, True),
 (2, (1, 1), 0, 0),
 (2, (1, 1), 0, True),
 (2, (1, 2), 0, 0),
 (2, (1, 2), 0, True),
 (2, (1, 3), 1, True),
 (2, (2, 2), 1, 0),
 (2, (2, 2), 1, True),
 (3, (1, 1, 1), 0, 0),
 (3, (1, 1, 1), 0, True),
 (3, (1, 1, 1), 1, True),
 (3, (1, 1, 2), 1, 0),
 (3, (1, 1, 2), 1, True),
 (4, (1, 1, 1, 1), 1, 0),
 (4, (1, 1, 1, 1), 1, True)}

Seeing this suggested the following heuristic to me: limit Nitrogen's valence to 3 unless it is charged, in which case we make it 5. The positive charge reduces the maximum number of bonds to 4, which is compatible with the above.

My understanding is that:

the valence of nitrogen is "either 3 or 5"
specifying a charged atom "takes up" a possible valence bond, + or -
in "the real world" (chembl) the only actual 5-valent nitrogens are + charged

since the charge removes a valence and we set it to 5 only for charged atoms, it is indeed effectively 4 (thanks to this line:)
max_valence[n] = max_atom_valence - abs(ad.get("charge", 0)) - ad.get("expl_H", 0)

got it! thanks for the explanation!


conan-package-tools 0.17.1 abort with an error

Hey,
I have a problem with conan-package-tools 0.17.1. With 0.16.5 this does not happen. The error seems only happen only on windows. I'm using conan 1.3.3 (but it also happens with 1.2.3). Below is the stack trace
Profile created with detected settings: C:\g\d2fbdcb6\0\tonka\conan-myproject\_ch\.conan\profiles\default
Traceback (most recent call last):
  File "build.py", line 12, in <module>
    builder.run()
  File "C:\g\d2fbdcb6\0\tonka\conan-myproject\env\lib\site-packages\cpt\packager.py", line 328, in run
    self.run_builds(base_profile_name=base_profile_name)
  File "C:\g\d2fbdcb6\0\tonka\conan-myproject\env\lib\site-packages\cpt\packager.py", line 404, in run_builds
    r.run()
  File "C:\g\d2fbdcb6\0\tonka\conan-myproject\env\lib\site-packages\cpt\runner.py", line 48, in run
    with context:
  File "C:\Python36\lib\contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "C:\g\d2fbdcb6\0\tonka\conan-myproject\env\lib\site-packages\conans\client\tools\win.py", line 326, in vcvars
    new_env = vcvars_dict(*args, **kwargs)
  File "C:\g\d2fbdcb6\0\tonka\conan-myproject\env\lib\site-packages\conans\client\tools\win.py", line 307, in vcvars_dict
    name_var, value = line.split("=", 1)
ValueError: not enough values to unpack (expected 2, got 1)
Running after script...

Greetings
Tonka

Does nobody has this error, it happens now on all my CI servers

Hi @tonka3000,
yes, that seems a Conan bug detected when using gitlab runner: https://github.com/conan-io/conan/issues/2904
It has been fixed and will be in Conan 1.4 release

@danimtb thanks for the info. Do you know when 1.4 will be approximately released?

Should be released at the end of this month.
Closing this then! Thanks for reporting 😄


duplicate user with same id

Preflight Checklist

[ ] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Describe the bug
inside search box type "jay" and select [search by user]. Backend return 3 user with same detials.
If you type "jays" it returns a single user, Thus it looks like DB records duplicate data even though the username is unique.

To Reproduce
Steps to reproduce the behavior:

Go to 'search box and type jay as input for search'
Click on 'search by user'
Scroll down to 'you will see the same user appears multiple times.' so now check the network tab and https://mumbleapi.herokuapp.com/api/users/?q=jays, it returns duplicate data
See attached image for a detailed description.

Expected behavior
A clear and concise description of what you expected to happen.

Add additional instructions and considerations for the assignee

[ ] Jupiter

[ ] Saturn

[ ] Neptune

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here (include commit numbers and branches if relevant)

I'm thinking this is a bug with the view.  Our database is set to have unique columns for username, so our api must be fetching duplicates or using pagination incorrectly

@codyseibert please see attached image response tab. I've highlighted the response as the server returns a duplicate user.

@jayshah-07 yup it's an issue with our "view" in the django api.  We call the logic on the backend "views".  I'll already have a fix for this, it just needs to be deployed.  Thanks for reporting this bug!


vscode 1.81.0 requires libsecret

Describe the bug
Since 1.81.0, VSCode is prompting me with the following error:

You're running in a GNOME environment but the OS keyring is not available for encryption. Ensure you have gnome-keyring or another libsecret compatible implementation installed and running.

Steps To Reproduce
Steps to reproduce the behavior:

Install/upgrade<EMAIL_ADDRESS>Open vscode
See the error quoted above (screenshot below)

Expected behavior
No keyring-related error.
Screenshots

Additional context
The error message points to this troubleshooting page, but the instructions there didn't help me. Here is the log I get with the verbose command recommended there:
$ code --verbose --vmodule="*/components/os_crypt/*=1"
⋮
[1112331:0811/152809.984821:VERBOSE1:key_storage_util_linux.cc(54)] Password storage detected desktop environment: UNITY
[1112331:0811/152809.984837:VERBOSE1:key_storage_linux.cc(122)] Selected backend for OSCrypt: GNOME_ANY
[1112331:0811/152809.984986:VERBOSE1:libsecret_util_linux.cc(111)] Could not load libsecret-1.so.0: libsecret-1.so.0: cannot open shared object file: No such file or directory
[1112331:0811/152809.985003:WARNING:key_storage_linux.cc(177)] OSCrypt tried Libsecret but couldn't initialise.
[1112331:0811/152809.985101:WARNING:keyring_util_linux.cc(76)] Could not load libgnome-keyring.so.0: libgnome-keyring.so.0: cannot open shared object file: No such file or directory
[1112331:0811/152809.985113:WARNING:key_storage_linux.cc(190)] OSCrypt tried Keyring but couldn't initialise.
[1112331:0811/152809.985128:VERBOSE1:key_storage_linux.cc(142)] OSCrypt did not initialize a backend.
⋮

Searching for this online (or in this issue tracker) didn't yield many matches, but I did find this page in Japanese that seems to be working around a similar issue. Here's the google-translated version, in case it helps.
Notify maintainers
@eadwu @synthetica @maxeaubrey @bobby285271 @Enzime
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.2.0-26-generic, Ubuntu, 22.04.3 LTS (Jammy Jellyfish), nobuild`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - channels(waldir.pimenta): `"nixpkgs"`
 - nixpkgs: `/home/waldir.pimenta/.nix-defexpr/channels/nixpkgs`

OMG. I searched the issues but forgot to search the PRs :facepalm:. This seems to have been fixed in #248167.
Oh well, at least hopefully the information above can help others locate the solution.


Execute Yaml Test against Secure OpenSearch Cluster

Currently GeospatialClientYamlTestSuiteIT extends OpenSearchClientYamlSuiteTestCase . We need an abstract secure client yaml suite to execute against cluster with security plugin.

This support for the Secure Cluster test run is merged. We can close this issue. @VijayanB


URIs in results do not match their dereferentiation

For example
With the query
$ curl -X POST -d "Frauds and Swindlings cause significant concerns with regards to Ethics." "http://sandbox.fusepool.info:8301/?taxonomy=http://data.nytimes.com/descriptors.rdf"

I get (extract)
<http://sandbox.fusepool.info:8301/ae85b2ab-4347-42a5-9758-edcb547dd635#annotation-body1>
      a       <http://vocab.fusepool.info/fam#LinkedEntity> ;
      <http://vocab.fusepool.info/fam#extracted-from>
              <http://sandbox.fusepool.info:8301/ae85b2ab-4347-42a5-9758-edcb547dd635> ;
      <http://vocab.fusepool.info/fam#selector>
              <http://sandbox.fusepool.info:8301/ae85b2ab-4347-42a5-9758-edcb547dd635#char=65,71> .

Dereferencing http://sandbox.fusepool.info:8301/ae85b2ab-4347-42a5-9758-edcb547dd635 does not return the text from which the annotations are extracted. Clearly it is not the business of the transformer to store the posted text, but the transformer shouldn't just make up HTTP URI that dereference to something quite unrelated. As no dereferenceable URI can be provided the transformer should use Blank Nodes or alternatively non dereferenceable URNs. The blank node approach is better as it means that annotating the same text with the same taxonomy generates the same result (i.e. an isomorphic graph)

@westei do you know how to use the #char when using URNs?


Add an interface for Transaction error code: [ECR-2006]

Overview
That's a quick prototype I decided to try when updating the documentation
section on transaction exceptions: exonum/exonum-doc@9ce5998f553249897b0d7d3d8d5aae12bc20400e
Whilst it might appear as some extra work,
it makes it easier to use an enum for the error codes
instead of just a bunch of constants, which
has some extra useful properties (like free #toString
implementation).

See: https://jira.bf.local/browse/ECR-XYZ
Definition of Done

[ ] There are no TODOs left in the code
[ ] Change is covered by automated tests
[ ] The coding guidelines are followed
[ ] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage decreased (-0.05%) to 85.895% when pulling 5d7b8073807ed03991cc8559c69292c221024175 on dmitry-timofeev:add-interface-for-error-code into 4a8fabb8e22f7aa483d823447335657e4c172fd2 on exonum:master.


Feels like apparent temperature icon showing same range as daily

The feels like/apparent temperature icon is showing the same high/low temperature range as the forecasted temperature range when you're looking at the daily list view.
At the top in the current forecast I see -6 celcius as feels like, the apparent icon also shows -6 celcius at the top, the temperature forecast shows -8/-3 at the top. Then when I scroll down to the daily list  near the bottom, it shows -8/-3 apparent next to the icon and forecasts -8/-3 temperature in the far right side for today's date (Thursday/Thursday), using Toronto, Ontario, Canada as a test.

How did you search your location?search of GPS?
I dont get the same values for toronto (through search) with OpenMeteo. Did you change the model?
And here apparent temps are different.

@0-5-0 then it is an issue with the model. You can report it in open-meteo repo

If I try GFS Seamless, GEM Seamless they all show the same issue as ECMWF, so it's an up stream/open-meteo bug in general for their "daily" feels like/apparent temperature data?

I think in your initial implementation of the apparent temp icon it was showing only for the current weather section at the top which seemed to be fine (or "if available"), but 1-2 versions ago it was added to all the days in the daily view at the bottom however mirroring the forecasted temperature.
I've always thought that the "feels like" temp was unreliable/couldn't be calculated long term (past the current time/date).

@0-5-0 i know what the issue is. You must have selected show feels like temperature when available. This is replace "temp" everywhere with apparent.
In latest versions apparent is now a weather data which can be shown with others. But if you add feels like and select the always use feels like toggle then you end up with twice the same value.

Ahhhh, that makes sense then. I was under the impression that feels like was only available for the current day but I see now through wizardry that it's available for the full 7 days/in the temperature reading on the right.
So turning on "Show feels like temperature when available" does actually show feels like temp on the right side in the list and then the apparent icon would "duplicate" it. But it works fine and displays sanely with the "show feels like temperature" off.
So it's basically deciding if I want it shown everywhere, only in the apparent icon or in both.. now I understand :)


Link to={locationObject} has inconsistent behavior between search and hash.

Version
5.0.0
Test Case
https://codesandbox.io/s/wyxq313458
Expected Behavior
Based on the comments on #6713, I expect that  <Link to={{ hash: "hash"}}/> and <Link to ={{ search: "search"}}/> behave the same, in that they link to the basename of the router. Or that both link to the current location + hash / search.
Especially noteworthy is the difference between { search: "search"} - which just appends the search - and { hash: "hash", search: "search"} which links to basename + hash + search.
I'd also expect that after navigating with such a Link, that the URL I see in the browser is reflected in the routing. But that isn't the case.
Actual Behavior
Part 1: Link targets
Given the basename "root" and the current location "path":

"to" prop
target url

{hash: "hash"}
/root#hash

"#hash"
/root/path#hash

{search: "search"}
/root/path?search

"?search"
/root/path?search

{search: "search", hash: "hash"}
/root#hash?search

Consistent would be:

"to" prop
target url

{hash: "hash"}
/root#hash

"#hash"
/root/path#hash

{search: "search"}
/root?search

"?search"
/root/path?search

"#hash?search"
/root/path#hash?search

{search: "search", hash: "hash"}
/root#hash?search

Part 2: Routing
When clicking on a Link without a pathname specified, the user is navigated to the baseName / root URL. But the Router still matches the prior path. You can test that in the above sandbox by clicking on the "otherpath", then clicking on the "HASH location object" link. It still matches and renders the OtherPath route.

Part 3: BrowserRouter vs. HashRouter
Edit: I just had the idea to check if the behavior is the same for different Routers. It's not. MemoryRouter and BrowserRouter seem to behave the same, but HashRouter is different for { search: "search"}.  Both in terms of target URLs (see below) and in that the location object sans pathname causes the expected route change based on the new URL.

"to" prop
target url - browserRouter
target url hashRouter

{hash: "hash"}
/root#hash
#/root#hash

"#hash"
/root/path#hash
#/root/path#hash

{search: "search"}
/root/path?search
#/root?search

"?search"
/root/path?search
#/root/path?search

"#hash?search"
/root/path#hash?search
#/root/path#hash?search

{search: "search", hash: "hash"}
/root#hash?search
#/root/path#hash?search

Addendum:
I think the hash property is just completely broken.
<Link to={{ pathname: "/otherpath", hash: "#hash" }}/>
Clicking that Link also doesn't update the route matching and location objects in RR.  See this slimmed down sandbox:
https://codesandbox.io/s/0qz5wvw1vn

Honestly, I would expect the following behaviour:

"to" prop
target url

{hash: "hash"}
/root/path#hash

#hash
/root/path#hash

{search: "search"}
/root/path?search

"?search"
/root/path?search

"#hash?search"
/root/path#hash?search

{search: "search", hash: "hash"}
/root/path?search#hash

I will take a closer look at it later. I think the solution for both problems has the same origin.

I appeneded differences between HashRouter and BrowserRouter.

By the way: I think the base path shouldn't be part of the hash in HashRouter.

I am currently struggling with how the expected behaviour should be when you click on a link without search and/or hash. Should it keep the search / hash when the pathname changes (default browser behaviour) or should it drop both?

I'm not sure I follow what the issue is here. We're following the spec pretty well. Getting the pathname value from a location is has this processing step:

If url's path is empty, then return the empty string.

So, we shouldn't be using a value for that when determining the URL to show.
For the string form, we follow the URL parsing rules, particularly when it comes to parsing relative URLs.
AFAICT, this is the correct, by-the-standard way of handling these locations.

@timdorr

So, we shouldn't be using a value for that when determining the URL to show.

But that's what's happening with a location object of { search: "search"}. The current path is retained, whereas with { hash: "hash" } the standard is followed and the current path is dropped. By your argument, that is not spec compliant behavior.
There is also part 2 and part 3 of my original issue:

Navigating to { search: "search"} doesn't update the RR tree, when using BrowserRouter
HashRouter and BrowserRouter exhibit different behavior. Namely in that HashRouter is in line with the spec, where BrowserRouter isn't.

I suggest you play around with the codesandboxes I linked. If the examples and my explanations are to convoluted, let me know and I'll rework my issue report and the sandboxes. I'd also be happy to separate it into 3 separate issues - but I think this only has one root cause.

Oh, whoops, I was looking at the second table, not the first one. Yeah, that's quite odd that we handle the blank pathname differently. Where does that behavior even come from? 🤔

Sandbox demonstrating the difference between { search: "search" } and { hash: "hash" }:
https://codesandbox.io/s/rrxp9rqlp4
The same sandbox, but with a HashRouter doesn't exhibit that difference:
https://codesandbox.io/s/6z1y252q2r
Sandbox demonstrating that a location object with a search or hash attribute doesn't update the tree, when a pathname is also provided:
https://codesandbox.io/s/vplzv3847
Note that in the first sandbox, the search link does trigger an update.

For reference, the code is here: https://github.com/ReactTraining/history/blob/763fc13bc8a52aff91d9594a7c1d944faa97961a/modules/PathUtils.js#L51-L56

@timdorr I don't believe that the issue in in that portion. But I just double-checked: history and react-router-dom have unit tests covering the generated URIs. And if you check the sandboxes, the URLs generated on the anchor elements are also correct for all buggy Links.

Seems like history.listen() isn't fired if there is a hash on the new location:
https://codesandbox.io/s/r5rn1rym74
Above, I added a simple logger to history.listen().

@StringEpsilon I believe that your sandbox is running into some bug with CodeSandbox's fake history implementation. If you use the "open sandbox in new window", you'll see the logs for the other links.

@pshrmn Well, that's a bummer.
All this and it's just a bug in codesandbox. I'll close the issue and open a new one on codesandbox. Sorry for all the hassle.
@timdorr: You might find it interesting that <Link to={{ hash: "#hash"}}/> works as #6713 requested when using the codesandboxes in a separate window:
https://rrxp9rqlp4.codesandbox.io/foo/otherpath?search
That might still be a codesandbox bug, but I thought I'd let you know anyway.


[To Main] DESENG-630 - Create header section for new engagement page

Issue #:  🎟 DESENG-630
Description of changes:

Feature Add new header to "new look" engagement page

Added a new hero image to the new engagement page
Added a header overlaying the hero image

The header uses the sponsor name, CTA message, and CTA URL from DESENG-629, as well as the engagement title, dates, and status

Added new engagement status chips for use in the header
Added link from the old engagement page offering the option to preview the new engagement page
Added global width limit to the public view to avoid display issues on very wide screens

Task De-duplicate link code and only use <Link>s from the common/Navigation module

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report
Attention: Patch coverage is 76.92308% with 12 lines in your changes missing coverage. Please review.

Project coverage is 75.98%. Comparing base (141efd6) to head (f288a45).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2539   +/-   ##
=======================================
  Coverage   75.97%   75.98%
=======================================
  Files         603      603
  Lines       21784    21800   +16
  Branches     1671     1678    +7
=======================================
+ Hits        16551    16564   +13
- Misses       4970     4974    +4
+ Partials      263      262    -1

Flag
Coverage Δ

metweb
64.55% <76.92%> (+0.02%)
:arrow_up:

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

Files
Coverage Δ

met-web/src/components/common/Input/index.tsx
100.00% <ø> (ø)

met-web/src/components/common/Navigation/Link.tsx
100.00% <100.00%> (ø)

met-web/src/components/common/Typography/index.tsx
100.00% <100.00%> (ø)

...engagement/view/EngagementBanner/BannerSection.tsx
100.00% <100.00%> (ø)

...mponents/engagement/view/widgets/Map/MapWidget.tsx
34.88% <100.00%> (+1.55%)
:arrow_up:

met-web/src/components/common/Typography/Body.tsx
76.47% <66.66%> (+12.83%)
:arrow_up:

met-web/src/components/common/Layout/index.tsx
75.00% <50.00%> (-10.72%)
:arrow_down:

.../src/components/engagement/view/EngagementView.tsx
77.41% <81.81%> (+0.49%)
:arrow_up:

...t-web/src/components/common/Typography/Headers.tsx
73.07% <70.83%> (-1.93%)
:arrow_down:

... and 1 file with indirect coverage changes


【SOLVED】ERROR: YOLO.Detect(File.ReadAllBytes(imagPath)); //System.NotImplementedException: 'C++ dll compiled incorrectly'

Windows 10 x64
VS2019 Debug x64
Alturos.Yolo:  <IP_ADDRESS>
// #1 directly detect file is ok
var detections1 = YOLO.Detect(pictureBox1.ImageLocation);  // OK

// #2 detect bytes , ERROR
var detections2 = YOLO.Detect(File.ReadAllBytes(pictureBox1.ImageLocation));            //ERROR: System.NotImplementedException: 'C++ dll compiled incorrectly'

// #3 detect memory bytes , ERROR
using (var mm = new MemoryStream())
{
    pictureBox1.Image.Save(mm, ImageFormat.Png);
    //pictureBox1.Image.Save(mm, pictureBox1.Image.RawFormat);
    var detections3 = YOLO.Detect(mm.ToArray());                // ERROR:  System.NotImplementedException: 'C++ dll compiled incorrectly'

}

// #4 detect OpenCvSharp new Mat() image , ERROR
// using OpenCvSharp;
var mm2 = new Mat(pictureBox1.ImageLocation, ImreadModes.AnyColor | ImreadModes.AnyDepth);
var detections4 = YOLO.Detect(mm2.ToBytes());           // ERROR:  System.NotImplementedException: 'C++ dll compiled incorrectly'

I SOLVED it！
Alturos.Yolo can detect bytes now with the latest yolo_cpp_dll_gpu.dll !
rebuild yolo_cpp.dll with #define OPENCV !
add some necessary code.

yolo_v2_class.cpp line:27

#define OPENCV

#ifdef OPENCV
#include <opencv2/opencv.hpp>   //C++
#include <opencv2/highgui/highgui_c.h>   // C
#include <opencv2/imgproc/imgproc_c.h>   // C
#endif // OPENCV

yolo_v2_class.cpp line:55

    ...
    cv::Mat mat = imdecode(cv::Mat(vdata), 1);

    // mat to image,  2020-11-9
    int w = mat.cols;
    int h = mat.rows;
    int c = mat.channels();
    image im = make_image(w, h, c);
    unsigned char* im_data = (unsigned char*)mat.data;
    int step = mat.step;
    for (int y = 0; y < h; ++y) {
        for (int k = 0; k < c; ++k) {
            for (int x = 0; x < w; ++x) {
                im.data[k * w * h + y * w + x] = im_data[y * step + x * c + k] / 255.0f;
            }
        }
    }

    // image to image_t
    image_t imt;
    imt.w = im.w;
    imt.h = im.h;
    imt.c = im.c;
    imt.data = im.data;

    std::vector<bbox_t> detection = detector->detect(imt, 0.01, false);     //ok
    //std::vector<bbox_t> detection = detector->detect(mat, 0.01, false);   //error
    ...

rebuild, and replace with it.

I discover that your code maybe have some mistakes. Although this code can let it go down without error, its inference is not correct. When I use my old yolo_cpp_gpu.dll(create in 2019) to predict. Two dll result is not the same. It is quite different. Does anybody have same question?

@jhoeing
yes, I found some issues with my code today!
the detection result is not a big problem, the main thing is that it takes a long time with ETA.
20ms slower, can not bear it!
so I spent all day to solove it.
finally, refer to this page for the method to solve it.
https://github.com/AlexeyAB/darknet/issues/1333
just deleted the comment on this code yolo_v2_class.hpp

restore the orignal code of detect_mat() on yolo_v2_class.hpp

recompile and then the fastest ETA is come back!

by the way, my YOLO code is still the same as it was in 2019, v3 version.
because the detection speed of the latest code is too slow, on older graphics cards, such as RTX 2060.


Allow field to supply a custom header component.

This PR allows a field to supply a component to render the header.
@See the test added:
    it('should allow custom header renderer in field', () => {
        const wrapper = shallow(
            <DatagridHeaderCell
                currentSort={{}}
                field={<Field source="title" header={<MyHeader />} />}
                updateSort={() => true}
            />
        );
        assert.equal(wrapper.find('MyHeader').length, 1);
    });

It splits the DatagridHeaderCell component in two components: DatagridHeaderCell and DatagridHeaderCellContent. The latter is the default renderer if none is supplied on the field.

This is not sufficient for my usecase.. I'll refactor and PR later


refactor: restructure project

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


App modes (adds Medical)

Adds Generic and Medical app modes. Mode is toggled via a URL parameter named "modes", e.g. http://localhost/?mode=Medical. Default mode is Generic.
Right now Medical app mode hides the gaussian piecewise function editor and sets the orientation box to LPS.
Issue reference: #14

This is pretty much done and a baseline for setting modes. Just last checks to make sure I haven't done something silly.


fix: list def typing

This should fix the following typing error. I've mentionned the error in #76

Please rebase, tests are fixed.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@next-major dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Updated PSLIB_InvalidPattern0 to be more readable

The only place this localized string used is here:
https://github.com/microsoft/azure-pipelines-task-lib/blob/5adadaedd70e68a4130f339e0faf8b8a9a72d273/powershell/VstsTaskSdk/LegacyFindFunctions.ps1#L134-L137
In real world, the error looks like this
##[error]Invalid pattern: 'C:\__w\1\s\src\Application\pkg\Release\'

Which is too vague to make it possible to troubleshoot without finding and looking into the source code. I ran into this error here: https://github.com/microsoft/azure-pipelines-tasks/issues/17106.
This PR includes:

improving the error message.
using EndsWith() instead of $str[$str,Legth -1] for readability

However, what doesn't include:

I didn't rename the placeholder
nor updated the localizations

Please let me know if I should do the former and what's the process for the latter (I can update the ru-ru string though).

/azp run

Awesome, thanks everyone! Can someone who has the permissions to complete the PR?

Done, thanks for the contribution!


update note section

https://github.com/MicrosoftDocs/windows-itpro-docs/issues/8359

Dear @JohanFreelancer9,
kindly do the copy editor review for this PR.
Dear @e0i, for your information
Thank you

#sign-off


feat: add add_to_top option to list widget

Summary
Currently, when a user adds a new item to a list, that item is added to the bottom. If the user would prefer to have the new item added to the top of the list, they would need to click the "add" button, scroll to the bottom of the list, edit the new entry, and drag it all the way to the top of the list. For long lists, this can be tedious.
This change adds a new add_to_top option to the list widget. For a list that the user intends to maintain in a newest-first order, adding this option would prevent them from going through the tedious scrolling and dragging task for each new item.
closes https://github.com/netlify/netlify-cms/issues/3270
Test plan
I tested the new option locally by updating the two list widgets in the Kitchen Sink collection in dev-test/config.yml.
add_to_top not specified or false

add_to_top: true

A picture of a cute animal (not mandatory but encouraged)

Thank you, @erezrokah!


Add Github release date integration

Badge shows readable format of release date of latest version
Color fades with age of release

Examples (most recent first):

Hi, thanks for this contribution! This looks like a nice feature.
Would you be willing to add tests using the project's new testing framework?
Will leave a couple comments in the code.

@agboom if you have time, could you address these comments? Also, if anyone would like to adopt this PR, please feel free to do so. Just grab the branch, add more commits addressing the comments, and open a new PR referencing this one. Will close in one month if no one has done so.

@ritwickdey Would you be up for adopting this?

@paulmelnikow , Okay I'll try my best 😄 . Anyway, just a query, After grabbing this branch I have to open a new pull request referring this pull request. right?
[I am using git & github from last 3/4 months, it is still sometime confuse me]

Yup, you got it! Just add more commits, push the branch to your fork, and open a new PR.

Let's address via #1122.


Add support for material sliders

https://www.google.com/design/spec/components/sliders.html#sliders-discrete-slider

Starting in https://github.com/flutter/flutter/pull/587

Fixed.


Hard-coded paths

Many paths are hard-coded, e.g. path="/home/yifengli/prog/my/deep_learning_v1_0/ in main_mlp.py.  Could these be refactored to use relative paths and the data directory to make it easier to rerun these examples?

Thanks for your suggestion. You can easily change the path in your own
environment. I used full path because I just wanted to make it easy to run
in a cluster where jobs should be submitted.
Yifeng
On Mon, Feb 29, 2016 at 11:32 AM, Anthony Gitter<EMAIL_ADDRESS>wrote:

Many paths are hard-coded, e.g.
path="/home/yifengli/prog/my/deep_learning_v1_0/ in main_mlp.py. Could
these be refactored to use relative paths and the data directory to make
it easier to rerun these examples?
—
Reply to this email directly or view it on GitHub
https://github.com/yifeng-li/DECRES/issues/1.

Thanks for putting all of your data online.
In the file(main_deep_feat_select_DBN.py),you changed the address with
path="/home/yifengli/prog/my/deep_learning_v1_0/"
os.chdir(path)
And，defines the path of the data with
''data_dir="/home/yifengli/prog/my/deep_learning_v1_0/data/"
Please tell me, where is the address changed?
Thank you


Background images working with mj-wrapper, but not with mj-hero on Outlook 2007 - 2016, 365

Describe the bug
While testing my template on Litmus, I couldn't make the mj-hero component with background images work in Outlook 2007, 2010, 2013, 2016 and 365 on Windows. The image doesn't show.

Yet, while testing the background images with the mj-wrapper component, it did work.

(neither of those worked on the new Win 10 app)
Here's the code I used for both cases:
Hero component:
<mjml>
  <mj-head>
    <mj-breakpoint width='530px' />
    <mj-attributes>
      ...
      <mj-class
        name='hero-background-image'
        background-url='https://cloud.githubusercontent.com/assets/1830348/15354890/1442159a-1cf0-11e6-92b1-b861dadf1750.jpg'
        background-size='cover'
        background-repeat='no-repeat'
        background-color='#6d9ebf'
        border-bottom='solid 5px #22B14C'
        padding='20px'
        mode='fixed-height'
        background-height='120px'
        height='120px'
      />
      ...
    </mj-attributes>
  </mj-head>
  <mj-body>
    ...
    <mj-raw>

    </mj-raw>
    <mj-hero mj-class='hero-background-image'>
          <mj-text mj-class='hero-text hero-header'>
            Welcome to ACME Next
          </mj-text>
          <mj-text mj-class='hero-text'>
            The easiest way to get a mortgage.
          </mj-text>
    </mj-hero>
    ...
</mj-body>
</mjml>

Wrapper component:
<mjml>
  <mj-head>
    <mj-breakpoint width='530px' />
    <mj-attributes>
      ...
      <mj-class
        name='hero-background-image'
        background-url='https://cloud.githubusercontent.com/assets/1830348/15354890/1442159a-1cf0-11e6-92b1-b861dadf1750.jpg'
        background-size='cover'
        background-repeat='repeat-y no-repeat'
        background-color='#6d9ebf'
        border-bottom='solid 5px #22B14C'
        padding='20px'
        mode='fixed-height'
        background-height='120px'
        height='110px'
      />
      ...
    </mj-attributes>
  </mj-head>
  <mj-body>
    ...
    <mj-raw>

    </mj-raw>
    <mj-wrapper mj-class='hero-background-image'>
      <mj-section>
        <mj-column>
          <mj-text mj-class='hero-text hero-header'>
            Welcome to ACME Next
          </mj-text>
          <mj-text mj-class='hero-text'>
            The easiest way to get a mortgage.
          </mj-text>
        </mj-column>
      </mj-section>
    </mj-wrapper>
 ...
</mj-body>
</mjml>

To Reproduce
Steps to reproduce the behavior:

Create a file with this MJML code: <mjml>...</mjml>
Render it to HTML by doing '...'
Send the HTML to an email address with '...'
See error

Expected behavior
Both background images should render on Outlook clients.
MJML environment (please complete the following information):

OS: Win10
MJML Version: 4.6.4
MJML tool used: VS Code

Email sending environment(for rendering issues):

Platform used to send the email: Gmail through mailjet.com

Affected email clients (for rendering issues):

Email Client: Outlook 2007, 2010, 2013, 2016 and 365
OS: Windows 10

I think you're just missing background-width here can you try it again with it ?

Thank you very much 💯 ! It worked perfectly (even on the Win10 app).

I don't if I missed it, but maybe a warning regarding the background-width could be added to the docs? :)
So people like I don't miss it. Thank you again!


Split RDF4J Project

Split RDF4J Project into the following

/eclipse/rdf4j           rio, repository-api, and http client
/eclipse/rdf4j-storage   repository-sail, and all sail impls
/eclipse/rdf4j-tools     server, workbench, console, runtime, bom, assembly
/eclipse/rdf4j-testsuite benchmark and testsuites
/eclipse/rdf4j-doc       remains the home of documentation guides

Will concurrent releases of all of the RDF4J artifacts still be made?

@jamesrdf From the practical point of view today all parts are just forks of the same repository. For example code for server exists in all repositories but only one is still actively developed. Is it planned to clean the code - remove all undeveloped code from the parts? If so do you have any "scenario"/recommendations/plan for the cleaning?

Great question!
The develop branch of /eclipse/rdf4j, /eclipse/rdf4j-storage, /eclipse/rdf4j-tools, and /eclipse/rdf4j-testsuite don't overlap with one another. For any 2.3 code changes these develop branches for the corresponding github project is to be used.
We will use /eclipse/rdf4j/tree/master for any 2.2.x code changes until 2.3 is released in the new year. The master branch of storage/tools/testsuites should not be modified (or used) in any way until after 2.3 is released.
Once 2.3 is released the develop branch of all these github projects will be copied to their master branches and used for any 2.3.x patch releases.
New issues and new pull-requests for 2.3 should be created in a corresponding github project. No need to close/reopen issues, instead reference existing issues/PRs from /eclipse/rdf4j using the cross referencing syntax: https://help.github.com/articles/autolinked-references-and-urls/
2.2.x shouldn't have much changes before 2.3 is released, so I don't expect porting 2.2.x PRs to 2.3 to be much of an issue. However, contributors will have to be careful to target their PRs to the develop branch of the correct github project!
There will be some scenarios that require changes to multiple github projects, which will require multiple PRs, which will have to be merged in the correct order to ensure the build does not break in the process.
To contribute checkout the develop branch of one (or more) of the github projects and have at it. This issue has been resolved for 2.3 codebase, so no need to follow any special branches (just their develop branches).


fix: get correct parent module for root module of concatenated module

Summary
fix #7170
parent_module_by_dependency_id is using connection.original_module_identifier to find the parent module, but connection will be update by concatenated module, the parent of a module will be updated from the root module of the concatenated module to the concatenated module, which causes get_mode returns a wrong mode, and generate wrong code

Checklist

[x] Tests updated (or not required).
[x] Documentation updated (or not required).

Also fix #7133


macOS, VS + plaformio extension for Greenvawes GAPUINO GAP8 dev. board

Hello,
I’ve installed Visual Studio Code 1.3.0, then the PlatformIO extension(Home 2.0.0 - Core 3.6.3).
After installation I imported the example project “190115-162614-gapuino-pulp-os-hello-world”.
The development board is seen by VS (seen in the Devices tab).
The Platforms tab shows RISC-V GAP
The compilation is going fine, but the code cannot be loaded to the target. Here is a copy of the messages in the Terninal tab:

Executing task in folder<PHONE_NUMBER>14-gapuino-pulp-os-hello-world: platformio run --target upload <

Processing gapuino (platform: riscv_gap; board: gapuino; framework: pulp-os)
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https ://docs.platformio.org/page/boards/riscv_gap/gapuino.html
PLATFORM: RISC-V GAP > GAPUINO GAP8 development board
HARDWARE: 250MHz 8MB RAM (64MB Flash)
DEBUG: CURRENT(ftdi) ON-BOARD(ftdi)
Library Dependency Finder -> http ://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 0 compatible libraries
Scanning dependencies...
No dependencies
Checking size .pioenvs/gapuino/firmware.elf
Memory Usage -> http ://bit.ly/pio-memory-usage
DATA:    [          ]   0.0% (used 3764 bytes from 8388608 bytes)
PROGRAM: [          ]   0.0% (used 16660 bytes from 67108864 bytes)
Configuring upload protocol...
AVAILABLE: ftdi
CURRENT: upload_protocol = ftdi
Uploading .pioenvs/gapuino/firmware.elf
Traceback (most recent call last):
File "/Users/lva/.platformio/packages/tool-pulp_tools/bin/plpbridge", line 497, in
bridge = db.get_bridge(config=config, verbose=args.verbose, binaries=binaries)
File "/Users/lva/.platformio/packages/tool-pulp_tools/python/bridge/debug_bridge.py", line 45, in get_bridge
return bridge_class(config=config, binaries=binaries, verbose=verbose)
File "/Users/lva/.platformio/packages/tool-pulp_tools/python/bridge/chips/gap.py", line 271, in init
super(gap_debug_bridge, self).init(config=config, binaries=binaries, verbose=verbose)
File "/Users/lva/.platformio/packages/tool-pulp_tools/python/bridge/default_debug_bridge.py", line 179, in init
self.module = ctypes.CDLL(fullpath)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/lva/.platformio/packages/tool-pulp_tools/python/bridge/libpulpdebugbridge.so, 6): Library not loaded: @rpath/libftdi1.2.dylib
Referenced from: /Users/lva/.platformio/packages/tool-pulp_tools/python/bridge/libpulpdebugbridge.so
Reason: image not found
*** [upload] Error 1
=============================================================================== [ERROR] Took 0.94 seconds ===============================================================================
The terminal process terminated with exit code: 1
My system is Mojave 10.14.2 (18C54)
I have found that if I defined the environment variable
export LD_LIBRARY_PATH=~/.platformio//packages/tool-pulp_tools/lib
and that I create a software link to the MacPort libusb
sudo ln -s /opt/local/lib /usr/local/opt/libusb/lib
The in a Terminal I can execute the command:
"/Users/lva/.platformio/penv/bin/python2.7" /Users/lva/.platformio/packages/tool-pulp_tools/bin/plpbridge --debug --verbose=3 --cable=ftdi@digilent --chip=gap --boot-mode=jtag --binary .pioenvs/gapuino/firmware.elf load start

Thank you for your reply. I applied your instructions but the problem is not solved. Trying to upload the code directly form Visual Studio still produce the error about library not found for @rpath/libftdi1.2.dylib (see the attached log)
platformio_error_log.txt
Executing manually the command line in a terminal is working

Could you try the next?

Remove libusb* files from ~/.platformio/packages/tool-pulp_tools/lib
Copy here your libusb* from /opt/local/lib

Does it work without any export or linking?

Here are the followed steps:
cd ~/.platformio/packages/tool-pulp_tools/lib
mkdir ~/.platformio/packages/backup
mv libusb*  ~/.platformio/packages/backup/
cp -a /opt/local/lib/libusb* .

Then VS was launched. Cleaned the project by clicking on the little trashcan in bottom menu bar. Then building the project by clicking the arrow (PlatformIO: Upload). The code is compiling as before, but is not uploaded to the board. Still the same error about a library not loaded as you can see in the attached file.
verbose_upload_log.txt

Do you have compiler on your machine? Could you rebuild a package? Please open system terminal and type:
python ~/.platformio/packages/tool-pulp_tools/scripts/build.py

Hello
I have Python (2.7 Apple installation) and Xcode.
I also have Python 3.7.2 from python.org.
Here is the output of typing the command:
python ~/.platformio/packages/tool-pulp_tools/scripts/build.py
Cloning into '/var/folders/g1/_r4yy_054nvc2dcsdt4kzfl40000gp/T/tmpIsvsQO'...
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 13 (delta 0), reused 6 (delta 0), pack-reused 0
Unpacking objects: 100% (13/13), done.
Submodule 'gap_flasher' (https://github.com/GreenWaves-Technologies/gap_flasher.git) registered for path 'gap_flasher'
Submodule 'json-tools' (https://github.com/pulp-platform/json-tools) registered for path 'json-tools'
Submodule 'pulp-configs' (https://github.com/pulp-platform/pulp-configs) registered for path 'pulp-configs'
Submodule 'pulp-debug-bridge' (https://github.com/pulp-platform/pulp-debug-bridge) registered for path 'pulp-debug-bridge'
Cloning into '/private/var/folders/g1/_r4yy_054nvc2dcsdt4kzfl40000gp/T/tmpIsvsQO/gap_flasher'...
remote: Enumerating objects: 263, done.
remote: Total 263 (delta 0), reused 0 (delta 0), pack-reused 263
Receiving objects: 100% (263/263), 1.80 MiB | 1.40 MiB/s, done.
Resolving deltas: 100% (89/89), done.
Cloning into '/private/var/folders/g1/_r4yy_054nvc2dcsdt4kzfl40000gp/T/tmpIsvsQO/json-tools'...
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (46/46), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 194 (delta 20), reused 36 (delta 12), pack-reused 148
Receiving objects: 100% (194/194), 38.86 KiB | 12.95 MiB/s, done.
Resolving deltas: 100% (85/85), done.
Cloning into '/private/var/folders/g1/_r4yy_054nvc2dcsdt4kzfl40000gp/T/tmpIsvsQO/pulp-configs'...
remote: Enumerating objects: 395, done.
remote: Counting objects: 100% (395/395), done.
remote: Compressing objects: 100% (246/246), done.
remote: Total 5020 (delta 254), reused 267 (delta 148), pack-reused 4625
Receiving objects: 100% (5020/5020), 1.34 MiB | 1.60 MiB/s, done.
Resolving deltas: 100% (3783/3783), done.
Cloning into '/private/var/folders/g1/_r4yy_054nvc2dcsdt4kzfl40000gp/T/tmpIsvsQO/pulp-debug-bridge'...
remote: Enumerating objects: 246, done.
remote: Counting objects: 100% (246/246), done.
remote: Compressing objects: 100% (150/150), done.
remote: Total 2511 (delta 127), reused 166 (delta 69), pack-reused 2265
Receiving objects: 100% (2511/2511), 652.16 KiB | 870.00 KiB/s, done.
Resolving deltas: 100% (1505/1505), done.
Submodule path 'gap_flasher': checked out '276515873bdb6868a7debfdb082259dfa5bf6e80'
Submodule path 'json-tools': checked out 'f305a5a3856b7d2a3ea344dad5d6a61a8d2da0e7'
Submodule path 'pulp-configs': checked out '54b9036f121943980f0bd35503a0441c17c3dd46'
Submodule path 'pulp-debug-bridge': checked out '1a9c6c4b34e54cd77e1ca0095d8ff239ee3db2b1'
Traceback (most recent call last):
File "/Users/lva/.platformio/packages/tool-pulp_tools/scripts/build.py", line 125, in
build(tmp_dir)
File "/Users/lva/.platformio/packages/tool-pulp_tools/scripts/build.py", line 64, in build
subprocess.call(generate, env=env)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
The python version that were used is:
python
Python 2.7.10 (default, Aug 17 2018, 19:45:58)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.0.42)] on darwin
Thanks for trying to help
Best regards
Laurent v. Allmen
From: Ivan Kravets<EMAIL_ADDRESS>Reply-To: pioplus/platform-riscv_gap<EMAIL_ADDRESS>Date: Thursday, 21 February 2019 at 17:17
To: pioplus/platform-riscv_gap<EMAIL_ADDRESS>Cc: von ALLMEN Laurent<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [pioplus/platform-riscv_gap] macOS, VS + plaformio extension for Greenvawes GAPUINO GAP8 dev. board (#2)
python ~/.platformio/packages/tool-pulp_tools/scripts/build.py

Please use Python 2.7. I forgot to mention, you need cmake too. Please install it with brew install cmake.

I just did add cmake in my PATH environment variable as i have seen ii is called by the Python script
The installation is now terminating successfuly. I have now to wait tomorrow to try if I can upload code to the Gapuino using Visual Studio as I am not at office rigt now
From: Ivan Kravets<EMAIL_ADDRESS>Reply-To: pioplus/platform-riscv_gap<EMAIL_ADDRESS>Date: Thursday, 21 February 2019 at 17:31
To: pioplus/platform-riscv_gap<EMAIL_ADDRESS>Cc: von ALLMEN Laurent<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [pioplus/platform-riscv_gap] macOS, VS + plaformio extension for Greenvawes GAPUINO GAP8 dev. board (#2)
Please use Python 2.7. I forgot to mention, you need cmake too. Please install it with brew install cmake.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Could you pack ~/.platformio/packages/tool-pulp_tools folder and share somewhere? I would like to try your version of a package which contains binaries built on macOS 10.14. I use 10.13.

sure
i have put a zip archive of my .platformio folder on our OwnCloud server
https://owncloud.csem.ch/owncloud/index.php/s/nWH1DKLQdnVtQfP
Password : 4P1atf0rmIO
From: Ivan Kravets<EMAIL_ADDRESS>Reply-To: pioplus/platform-riscv_gap<EMAIL_ADDRESS>Date: Thursday, 21 February 2019 at 17:38
To: pioplus/platform-riscv_gap<EMAIL_ADDRESS>Cc: von ALLMEN Laurent<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [pioplus/platform-riscv_gap] macOS, VS + plaformio extension for Greenvawes GAPUINO GAP8 dev. board (#2)
Could you pack ~/.platformio/packages/tool-pulp_tools folder and share somewhere? I would like to try your version of a package which contains binaries built on macOS 10.14. I use 10.13.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I see, libusb are different on macOS 10.13 & 10.14.
Please try the next:

"MacPort libusb" - please remove this libusb by MacPort. I recommend using https://brew.sh/
brew install libusb
Remove current ~/.platformio/packages/tool-pulp_tools, start uploading, PlatformIO will download the latest version of this package which contain libusb for macOS 10.13.
Now, please remove ~/.platformio/packages/tool-pulp_tools/lib/libusb-* files
Start uploading.

It should use your Homebrew's libusb. Does it work?

Here are the steps I have followed:

sudo port uninstall openocd libftdi1 libusb-compat libusb

brew install libusb
Warning: libusb 1.0.22 is already installed and up-to-date

rm -fr ~/.platformio/packages/tool-pulp_tools

rm -fr ~/.platformio/packages/tool-pulp_tools/lib/libusb-*

Still not working, I looked in
ls -al ~/.platformio/packages/tool-pulp_tools/lib/
total 1464
drwxr-xr-x  6 lva  staff     192 Feb 25 07:38 .
drwx------  9 lva  staff     288 Feb 25 07:26 ..
-rw-r--r--  1 lva  staff   60076 Nov  8 12:17 libftdi<IP_ADDRESS>.dylib
-rw-r--r--  1 lva  staff   60076 Nov  8 12:17 libftdi1.2.dylib
-rw-r--r--  1 lva  staff   60076 Nov  8 12:17 libftdi1.dylib
-rw-r--r--  1 lva  staff  561768 Nov  8 12:17 libjson.a
And added also from brew:

brew install libftdi

Then I could upload and run the code from Visual Code
Thanks for your help


Number of the Tasks in subtask mode

Hi, congrats for the great work! For the subtask mode, do we only have 17 tasks? In the paper, it looks like all 40 tasks have their subtasks. Thanks!

All 40 tasks have subtasks per the paper.

All 40 tasks have subtasks per the paper.

Sorry, but why in subtask_list.txt we only have 17 tasks?


Dependency fails

Description
OK I don't get it - maybe how I am adding dependencies isn't how hatch wants or something? It seems very confusing that this would fail.
(This is minimum viable reproduction of the error in #318 )

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

Project coverage is 85.00%. Comparing base (b4d628e) to head (967ee47).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #322   +/-   ##
=======================================
  Coverage   85.00%   85.00%
=======================================
  Files          22       22
  Lines        2134     2134
  Branches      274      274
=======================================
  Hits         1814     1814
  Misses        236      236
  Partials       84       84

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

Fixed. When installed in normal mode (without -e), it puts the tool in the python package directory tree. But there's another one in the current working directory and, it seems, the path resolver cannot figure out which one to use. It might be related with pytest import mode, that we changed when implementing hatch, but I don't know why it only fails now.

I think having a jupyter notebook in docs might make it run the imports in a different location? This only fails with the notebook, not without.


Add Monday closure message to Today tab

What?
Add closure message to the 'Today' tab (updated design in #10603 ) for Mondays when galleries and reading room are closed.
Why?
So users are clear on opening times for exhibitions when they are planning a visit. Currently the 'Today' section displays 'Exhibitions and Events' sub-header with cards for current exhibitions despite the fact that the galleries are closed on Mondays.
Background
Functionality/features were removed during covid closures. Most have been re-added in Oct 22 but this was outstanding.
Done when

On Mondays, a closure message with links to opening times, cafe, shop and all exhibitions & events is displayed in place of the exhibitions and event cards in the 'Today' tab of https://wellcomecollection.org/whats-on

the Monday closure message doesn't display when the Galleries and reading room are Open on a Monday (special opening times)

In production, keep an eye on it next week for newfound clarity!

Monday 12 February:


Create Docs

Create a documentation page for the architecture overview of how dAcademy works and the tech that is uses.

IPFS
UCAN
Smart Contracts
Envio/The Graph: Chain Indexing
Quest Chains
NFT Badges

...  Paymaster
Possibly build using Starlight from Astro

new WIP of docs created at docs.dAcademy built on Starlight Astro


Create a wiki page for using the app

Add steps for using the app with screenshots.

PLEASE ASSIGN ME THIS ISSUE I WILL GET IT DONE ASAP ....1-2 DAYS MAX

Hello @frankhart2018 , I would like work on this issue. I will surely add steps for using the app with screenshots. Please assign me this issue under gssoc'24

Assigning to both.

@frankhart2018 , I have searched for contributing the github's Wiki. Should I add a new markdown file for the changes?

Create a wiki page abd make a PR for adding the link in README


Change input field to type=password for the authentication templates.

Title pretty much says it all, the input box for the password field wasn't set to "type=password" so passwords were being displayed in plaintext on the screen. The change is pretty trivial.
Oops, changing to develop branch.

Thanks again!

The bind password field was quite purposefully not set as type="password". This is because the bind password field is stored in plain text. I feared that setting the field's type as "password" might give the impression that it's safe to use a sensitive password for the Bind DN when it's not. It would be a shame if users started using their LDAP admin as the Bind DN account because they believe they're password is stored in some secure fashion.
In light of this, I vote for this commit to be reversed.

@SergioBenitez thanks your explanation!
How about I add a help text says something like "this password is saved as plaintext in database"?

SergioBenitez, I see where you are coming from on that, however, to give you my opinion as a user when I first saw that my first reaction was "This is broken" and then after that "This isn't secure". I would recommend you go with Unknwon's suggestion (which is what I was going to recommend) as there are other problems with having the password displayed on the screen. In a corporate environment when others can readily see you screen this leads to an issue with actually doing the configuration, not to mention when you are building a setup to test (as I was) and you just use your employee account to get things working for testing (with the intention of creating a service account if it moves to production) it can be very disconcerting to have your password displayed prominently on the screen.
Maybe something like "Warning: This password is stored in plain text in the database, consider creating a permissions limited service account to use as your Bind DN."
Just my two cents on the issue.

Thanks @LydiaSevelt 's comment.

"Warning: This password is stored in plain text in the database, consider creating a permissions limited service account to use as your Bind DN."

:+1:

@LydiaSevelt I'm very aware of the issue of showing the password on the screen. In fact, if you read my previous comment closely, I allude to this being a very real issue: "...while preventing the password from being shown on the screen."
Nonetheless, from a UI/UX perspective, I'd prefer a "show password" checkbox type of thing, but a warning message seems okay too. Where would the warning message go?

@SergioBenitez understand the input element:

Ah, I overlooked that in your previous post Serigio, my apologies.

@Unknwon That looks good. @LydiaSevelt No worries.
I suggest the following text, a slight modification of @LydiaSevelt's:

Warning: This password is stored in plain text. Do not use a high privileged account.

@SergioBenitez looks better :100:

This warning has been added.


681 appcfg refactor

made click options consistent
made cli arguments consistent
made cli docstrings consistent
updated cli code to write app and data config to data lake
strengthened unit tests for configs

Codecov Report

Merging #138 (9137dd6) into master (46913e9) will increase coverage by 0.47%.
The diff coverage is 86.04%.

@@            Coverage Diff             @@
##           master     #138      +/-   ##
==========================================
+ Coverage   54.07%   54.54%   +0.47%
==========================================
  Files          46       46
  Lines        3303     3346      +43
==========================================
+ Hits         1786     1825      +39
- Misses       1517     1521       +4

Impacted Files
Coverage Δ

...pathology/point_annotation/proxy_table/generate.py
77.27% <16.66%> (-6.07%)
:arrow_down:

...hology/proxy_table/regional_annotation/generate.py
79.68% <28.57%> (ø)

data_processing/pathology/proxy_table/generate.py
61.81% <92.30%> (-0.69%)
:arrow_down:

data_processing/radiology/proxy_table/generate.py
48.57% <92.85%> (+1.08%)
:arrow_up:

data_processing/clinical/proxy_table/generate.py
97.61% <100.00%> (+0.05%)
:arrow_up:

...thology/point_annotation/refined_table/generate.py
93.10% <100.00%> (+0.79%)
:arrow_up:

...logy/refined_table/regional_annotation/generate.py
86.11% <100.00%> (+0.81%)
:arrow_up:

...ing/radiology/feature_table/annotation/generate.py
98.38% <100.00%> (+0.17%)
:arrow_up:

data_processing/radiology/feature_table/unpack.py
94.11% <100.00%> (+0.78%)
:arrow_up:

...ssing/radiology/proxy_table/annotation/generate.py
81.08% <100.00%> (+2.29%)
:arrow_up:

... and 1 more

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 46913e9...9137dd6. Read the comment docs.


Fix some typos / inconsistencies

Couldn't find a F0005 facet. Should this kind of miss be picked up by tests?

Thanks for the PR. Yes, we should definitely add tests to catch the non-existent components in the future automatically.


Jest tests fail on RN 0.58 (due to Jest Transpiling issue?)

This issue might affect a lot of packages, but currently I only experiencing it with this one. I believe it's related to https://github.com/facebook/react-native/issues/22175 and the solution is probably to update the import/exports and class arrow methods.
When running jest tests:
TypeError: Cannot read property 'default' of undefined

at new Svg (node_modules/react-native-svg/elements/Svg.js:22:369)
at constructClassInstance (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3426:18)
at updateClassComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6550:5)
at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7426:16)
at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10996:12)
at workLoop (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11028:24)
at renderRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11111:7)
at performWorkOnRoot (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11985:7)
at performWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11897:7)
at performSyncWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11871:3)

I get this issue too after updating to 0.58.
In the meantime, I'm working around the issue adding the following to __mocks__/react-native-svg.js:
import React from 'react'
import { View } from 'react-native'

export default () => <View />

export const Circle = () => <View />
export const Ellipse = () => <View />
export const G = () => <View />
export const Text = () => <View />
export const TSpan = () => <View />
export const TextPath = () => <View />
export const Path = () => <View />
export const Polygon = () => <View />
export const Polyline = () => <View />
export const Line = () => <View />
export const Rect = () => <View />
export const Use = () => <View />
export const Image = () => <View />
export const Symbol = () => <View />
export const Defs = () => <View />
export const LinearGradient = () => <View />
export const RadialGradient = () => <View />
export const Stop = () => <View />
export const ClipPath = () => <View />
export const Pattern = () => <View />
export const Mask = () => <View />

Did you find the answer? i have same issue @FransTwisk

I'm mocking it like @seanhenry suggested.

I tried setting up some end-to-end tests here in case you're interested: https://github.com/msand/react-native-svg-e2e

Can confirm that adding that mock file works - thanks @seanhenry.

I have jest working with detox e2e tests on travis ci here: https://travis-ci.org/msand/react-native-svg-e2e/builds/501950972
Code: https://github.com/msand/react-native-svg-e2e
Locally it works well for taking screenshots too. For iOS I have screenshots working in bitrise as well. Haven't got android e2e tests working there yet (builds work fine), and haven't tried making screenshots work in travis.

It seems we could provide a mock implementation in a mocks folder: https://jestjs.io/docs/en/manual-mocks.html
https://jestjs.io/docs/en/tutorial-react-native#mock-native-modules-using-jestmock
Something in the style of:
jest.mock('Text', () => {
  const RealComponent = jest.requireActual('Text');
  const React = require('React');
  class Text extends React.Component {
    render() {
      return React.createElement('Text', this.props, this.props.children);
    }
  }
  Text.propTypes = RealComponent.propTypes;
  return Text;
});

We could probably provide setters in the files in elements folder, allowing to override the native component with a mock, thus enabling to snapshot even the values sent to the native side to test the js logic for changes.
Although, that seems more like an implementation detail and not really relevant to users of react-native-svg. As it might even change just because of changing the react-native-svg version, when there are api changes made in sync to both js and native, or when the js code has some bugs fixed/features added. But, makes more sense for internal tests in this repo. I guess for external use, something like the Text mock in the example here should allow to snapshot the values which are given to the publicly exposed api of react-native-svg.

These might interest anyone working on this:
https://github.com/facebook/react-native/blob/7da864284997109a37bbef739289c5e6e8d0514e/jest/setup.js
https://github.com/facebook/react-native/blob/7da864284997109a37bbef739289c5e6e8d0514e/jest/mockComponent.js

In case anyones interested, I managed to get x86 and x86_64 android images running on travis using the latest android emulator canary, which now works in headless mode without hardware acceleration / kvm support: https://travis-ci.org/msand/test_emulators/builds/502382369

Got android working on bitrise now as well: https://app.bitrise.io/build/c31c1a40907cd137

Btw, have you looked at these?
https://github.com/react-native-community/react-native-svg/issues/198
https://gist.github.com/JCMais/8302a1646ccc9759237947a66bdda8e0
https://github.com/FormidableLabs/react-native-svg-mock

Closing, as it seems to work fine even without mocking now: https://github.com/msand/VariableFontWeightAnimation/commit/7d87235c5d38e01a37bd3592e794acfa3e235b93

I am still having issue to configure expo sdk 36 and this module with jest  (see  #1235)


Incomplete Instructions for jQuery Waypoint 10

Challenge http://www.freecodecamp.com/challenges/waypoint-remove-an-element-using-jquery has an issue. The instructions on screen
for this challenge are not clear. They read:

"Now let's remove an HTML element from your page using jQuery. jQuery has a function called .remove() that will remove an HTML element entirely."
However, the instructions don't tell you which element to remove. Only by running the sample code and inspecting the errors can you get details

I was about to post about this too, +1 ditto.
This would be ok if instructions below the "reset, help, bug" are shown be default but they now only show after running the code which might be confusing.

@paulopadopalos thanks for posting this issue!
Note that your issue is a duplicate of closed https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2727 issue.
Also this issue was resolved with merged pull request https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2727
Please review the Guidelines for Contributing, thank you!.


Can't detect from the image

It worked before but now it's broken. I don't know what affected it.
TypeError: Cannot read properties of undefined (reading 'map') at i2.DetectFromImage (http://<IP_ADDRESS>:7860/file=extensions/sd-webui-3d-open-pose-editor/javascript/lazy/main.js?c7969a7a:28054:40)

Duplicate of #18.
The pose cannot be recognized from the image.
If you get an error with any image, please post the image you used.


How to stop knob value at maximum limit?

The knob moves to 0 after rotating it to the max value. Is there a way to stop rotating the knob after reaching the maximum or minimum value?

I want to know if this is possible as well, I want to display a full knob but only allow the user to rotate to a certain point. I can draw 2 knobs, once is read only and the other does the rotating and place the rotating on top the readonly, but that seems a tad bit hacky, is there an option to do something like this?


Tail Files from Either Start or End

Completes #46
This change makes it so that files can be tailed from the start, should the user need that.
It stores a Sender for the notify events channel, and pushes in an initial event when the file is added and we want to read form start. This ensures that we get the old lines immediately upon reading events.
No idea if these changes match up with how you'd prefer the interface to look, I just took a guess at what seemed appropriate. Feel free to suggest alternative interfaces and I will update the PR.

Will look at improving test coverage when I'm available - on a bit of a crunchy deadline right now so that might be next week rather than this one.

#58 is merged, so this can now be closed. Thanks for the contribution, should be a useful feature!


ip address querying is based on working connectivity w/ google dns

this is ugly hack:
You aren't always connected to the network (i.e. cable unplugged).
Google DNS BGP segment could be unreachable.
You may have no route for their network at all, i.e. private network segment not connected to the internet.
There could be no UP interfaces at the moment (except lo).
Have you tested the exception types you'll get from s.connect for all above?

Hey @grey-olli ,
Thanks for noticing that. I'm open to suggestions on how to better deal with it.

One option that's independant of network connection would be to do something like this:
import socket

hostname = socket.gethostname()
ip_list = socket.gethostbyname_ex(hostname)[2]

However, this would return every IP Address that is valid on the machine to request the hostname.
In [13]: socket.gethostbyname_ex(hostname)[2]
Out[13]:
['<IP_ADDRESS>',
 '<IP_ADDRESS>',
 '<IP_ADDRESS>',
 '<IP_ADDRESS>',
 '<IP_ADDRESS>']

The reason the Google DNS hack works so well is that the socket will only bind to the address for which there is a route going out to <IP_ADDRESS>.
This leaves us with only the "correct" active IP.
I'm not sure if implementing the above somehow would be an actual improvement. It would also require a lot of extra validation to essentially reach the same.
Maybe there's some wisdom in finding interfaces with a gateway first, and then connecting to that gateway.
@grey-olli,
What exactly would you expect to happen in some cases like below:

If there is only an lo, do we show <IP_ADDRESS> ?
What if there's no interfaces up at all ? What do you expect to see?
What if we have multiple interfaces up, but none with LAN, what do you want to see for "active IP" then ?
Here for example:

In [14]: socket.gethostbyname_ex(hostname)[2]
Out[14]: ['<IP_ADDRESS>', '<IP_ADDRESS>', '<IP_ADDRESS>', '<IP_ADDRESS>']  # All these IP's are virtual / local

I might be able to glue something together, but it largely depends on the requirements / expected behavior.


[Rector] Higher Order Tests

Let's create a new rector which can migrate a pest test into a higher order test.
The reason for using a new rector is so we can optionally enable/disable it and decouple it from the base rector which is about just refactoring to pest test cases, not making them nicer.
Pest Docs

This will be a problem to tackle:

Warning: You can't access runtime helpers in Laravel, like route, with higher-order tests.

Let's say you want to refactor this test to use Higher Order Functions:
test('has home page', function () {
    $this->get(route('home'))
        ->assertSuccessful();
});

It is using a named route, home, which you can't access with the arrow function syntax.
So you'd need to replace that call to route() with the actual route segment, like so:
test('has home page')->get('/')->assertSuccessful();


Refactor setup.py to build and stage into temp area for setup.py to install from

Refactors setup.py to properly leverage the newly cleaned up cmake builds (reworked in #837).
(Note: this replaces #955 that wouldn't reopen due to GitHub oddness)
Summarize your change.
Our setup.py had been arranged to try and figure out the final install location for for the libraries and place products in there. The python packaging utilities actually want you to assemble your build into a temp location where it will then pick it up to either package or install to the proper place.
This refactor now tells the cmake build to install into that temp location. Because of this, we have to manually maintain much less code that supports determining the user's desired end action with the assembled package (e.x. install, install using --user, bdist, bdist_wheel).
Also removed _Ctx class instance that was storing build config as a global - it made it hard to follow the flow of code and would likely be prone to bugs.

Codecov Report

Merging #956 (ec6996d) into master (db99967) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #956   +/-   ##
=======================================
  Coverage   85.63%   85.63%
=======================================
  Files         191      191
  Lines       18160    18160
  Branches     2061     2061
=======================================
  Hits        15552    15552
  Misses       2085     2085
  Partials      523      523

Flag
Coverage Δ

unittests
85.63% <ø> (ø)

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

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 db99967...ec6996d. Read the comment docs.

When some hacks are removed from a setup.py file, it makes me extremely happy 😁
Great work!

Let's land this one and move on! I'll do it now.


Some queries (questions without answers) return no results

To reproduce issue visit: http://cht.sh/vim/return+outside+function
Error, no results: This is what is shown:
$ curl cheat.sh/
vim/return+outside+function
" Unknown cheat sheet.
" Please try to reformulate your query

I would expect to see one of these stackoverflow posts:
https://stackoverflow.com/search?tab=votes&q=[vim] return outside function
What is weird is that if I re-arrange the keywords, it works:
http://cht.sh/vim/function+return+outside
And I get a response as expected.  Why does the first query return nothing but the second query return a result?

@sentientmachine
Hi Eric, thank you for reporting this; there are some cases where the index engine finds
irrelevant or sometimes even invalid answers. It's known, but now I see that it is worse that I thought,
as your example shows.
In this particular case, I've checked, what answer it was supposed to deliver, and I was really disappointed with the result. It is this question:
https://stackoverflow.com/questions/26818322/
In this case, there are no answers, so the answer makes perfectly sense, but of course, the search algorithm should be improved. As I mentioned, there are other known problems. In my opinion, the whole search engine should be rewritten. I hope to it this (2020) year. The new one should handle such cases correctly

A question that has no answers shouldn't be selected for return to the user.
Deep down in your code somewhere it should be an conditional to say: "And if there aren't any answers attached to this question, skip to the next one where there is an answer".  Still it's not a big deal.  vim and vimscript are fringe languages.

Yes, you are right, I hope this problem will be fixed in the next major update

This appears to be fixed, I haven't seen any empty responses since Dec 2019.

Sorry to touch this again, perl is another language heavily affected by this problem.  Now I'm seeing a similar problem same as the top with:
http://cheat.sh/perl/not+a+number
http://cheat.sh/perl/nan
http://cheat.sh/perl/not
http://cheat.sh/perl/number
http://cheat.sh/perl/foo
http://cheat.sh/perl/bin
http://cheat.sh/perl/avg
http://cheat.sh/perl/min
All of these return:
$ curl cheat.sh/perl/min
# Unknown cheat sheet.
# Please try to reformulate your query

It appears any cht search query for perl with 3 letters in it returns: Unknown cheat sheet 80% of the time.  Maybe because perl is a fringe language?
I expect to be presented one of the entries from say here:
https://stackoverflow.com/search?q=[perl]+min
https://stackoverflow.com/search?q=[perl]+avg

Yes, I can acknowledge this. I will investigate

The problem is fixed; please test, and thank you for reporting

Thanks.  Fix confirmed.  Closing.


test: outgoingbridgecall checkpoint

Summary by CodeRabbit

Tests

Added a new test for the OutgoingBridgeCall functionality to ensure reliability and correctness.

mg


Fix autoconfig for btc rpc proxy

I tried this on EmbassyOS, and there is now a different error when I try to autoconfigure Bitcoin Proxy:

I guess this means that the getblock RPC command needs to be enabled even though it won't be directly used.

Turns out the fetch-blocks config must be explicitly set to false if the RPC user is configured to not use the getblock RPC command.


^K cut line is really slow

^K cut line is really slow
Cutting line by CTRL+K is really slow, file was standard code file, I reproduced it in two different files.
File had less than 450 lines before cutting.
Other things (save, find) are working fine.
 (In other words, can you define what "really slow" is in this context?)

Thank you for your interest!
It takes about 6 seconds (measured by stopwatch). So, orders of magnitude too slow.

It's instant for me, with pretty much any buffer size.
I am curious what'd results you'd get when using this benchmarking system:
https://github.com/zyedidia/micro/pull/1549

Do you have xclip installed? Are you using a remote X session?

@deusnefum - I don't have xclip installed, and it was over remote X session.
I could not reproduce issue on the same machine setup but local/standard X session.

@deusnefum , I reproduced the issue
now from linux host, ssh -X to another linux machine, xclip and xsel installed (removal of either of those has not changed the behavior)
I'm using 2.0.10 + two additional PRs merged: dmaluka/luamouse and dmaluka/hlsearch-v3

@pkitszel,
If you set 'set clipboard internal' does it prevent the lag?

@pkitszel,
If you set 'set clipboard internal' does it prevent the lag?

yes, then it's fast

It is not specific to SSH. It is slow also on a native terminal in Sway.


Change the discount rounding mode

Change the discount rounding mode to ROUND_HALF_UP.
Fixes https://github.com/saleor/saleor/issues/12040

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Here is a docs draft PR that describes the breaking change introduced here.


Update Out of Band Release Notes Policy

We have confusion around where out of band release notes belong, from both our team and partner teams.  This update will hopefully make the guidance simple and solve a few problems that we are experiencing.
Our current guidance states that out of band releases go in the "next month's" release notes, but this creates a problem for us because:

In order to expose those notes, we have to publish the next month release files before the next month.  i.e., we need to release and announce something on 9/22, blog, tweet, etc.  But the release notes would be in Oct (under the current guidance)
This makes it look like we didn't ship much in October, because it only has the release notes of the out of band releases.

This update changes that guidance to put the out of band release notes in the current month's release notes instead of next month.
@czubair @weshaggard

I really like this change :) makes things less complicated.
Is this valid starting now? (we just released a beta for TA and our team was about to create the release notes)

Really like this change as well :-) (especially for Track 2 management libraries). Right now we don't ship SDKs at a regular schedule but rather in the form of waves. Currently we have to take both calendars (the real time calendar and releases notes calendar) into consideration when we publish the release notes and blog posts. This would really help us in the long term and cause less complications in the process. It also benefits some ad-hoc releases that are raised by customers which is becoming more and more common.
Thanks!


Multiple chains support

Right now it seems that web3signer requires a chainId as argument to start, we just want to use signTransaction and would make sense for us to send chainID as part of the transaction to be signed. It actually took a while to figure out that signTransaction calls were overriding our transactions's chainId with the one used as the web3signer config/argument.
I don't know what led the current design, and I understand there might be other funcionalities that setting a chainID globally makes sense.
But being signing chain agnostic, why not just use the chainID provided by the transaction? Is this a security concern? Not signing transactions for other chains other then the one "configured" for web3signer?
** I've searched for this everywhere. I'm sorry if this was already addressed in the past, but I couldn't find it anywhere.

As discussed on Discord, Web3Signer eth1 mode is designed to proxy to only single web3 client. Therefore, supporting multiple chainid is currently not on the priority list.


Allow to edit a comment

We should NOT change the CommentText itself.
This is a mutable behavior we prefer to avoid whenever we can, and may mistakenly change previous comments of the author.
Instead, we should check if the new text is already in CommentText.
If it is exist in CommentText, we update Comment so it would refer to the CommentText foreign key.
If not, we should create a new CommentText.

I'll take this one 👍


Scalable Broadcast video not always showing

I used your Scalable Broadcast demo to create a one-to-many broadcasting, but I ran into a problem. When third, fourth, and so on user connects to the stream the video they get is black. However if I refresh the page it works well.
Your demo has this issue too, not only my local copy.
What can I do to get the video without refreshing the page?

Hey. Write more, what demo do you use?

I'm using this one: https://github.com/muaz-khan/RTCMultiConnection/blob/master/demos/Scalable-Broadcast.html
It works well if first watcher joins to broadcaster, and for the second one too, but the third one only see the video if I refresh the page once.

I checked the demo Scalable-Broadcast. My video is displayed in all three tabs (one broadcaster, and two viewers).
If someone in the chain is overloaded, the transmission stops and instead of video, the black area.

Yes, in this case its working.
But the problem occurs when the fourth person join to the stream.
What I just can't get is that what's the difference if I refresh the fourth tab because after that the video shows. Before I hit the refresh there is just black screen.


Fix template helper file

What this PR does / why we need it:
修复 helper 中的一些明显错误，添加 helper 中引用但是在 values.yaml 中不存在的 nameOverridem, fullnameOverride
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] Title of the PR starts with chart name (e.g. [mychartname])
[ ] PR only contains changes for one chart

@LoveEachDay PTAL

@tosone Please also bump the chart version.

/approve


🚀 - Strict CSP policy support (data:)

Description
Now tui contains data: pictures for checkboxes in the code.
Usage data: Is a reliable place for XSS attacks. Strict CSP policies prohibit the use of data:.
Please add the ability to override image with data: in code (including on mobile) to support security requirements.

To clarify, often some details not replicable with CSS are stored as SVGs in CSS as data:image/svg, such as smooth curves or icons. Allowing data: in CSP for img-src does not pose risks as XSS is not possible in those, at worst some rogue browser extension can add an obscene image to your website. Risks do not outweigh benefits of being able to store these things without external assets:


ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow):

I'm using redmine 3.3.2.stable.16377 and throws this error:
Rendered plugins/timesheet/app/views/timesheets/_form.html.erb (11.9ms)
Rendered plugins/timesheet/app/views/timesheets/_list.html.erb (124.4ms)
Rendered plugins/timesheet/app/views/timesheets/show.html.erb within layouts/base (144.4ms)
Rendered plugins/redmine_wktime/app/views/wktime/_attendance_widget.html.erb (0.6ms)
Completed 200 OK in 485ms (Views: 155.9ms | ActiveRecord: 212.3ms)
ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow):
vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/cookies.rb:529:in []='   vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/session/cookie_store.rb:110:in set_cookie'
vendor/bundle/ruby/2.1.0/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:351:in commit_session'   vendor/bundle/ruby/2.1.0/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:226:in context'
vendor/bundle/ruby/2.1.0/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:220:in call'   vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/cookies.rb:560:in call'
vendor/bundle/ruby/2.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/query_cache.rb:36:in call'   vendor/bundle/ruby/2.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in call'
vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/callbacks.rb:29:in block in call'   vendor/bundle/ruby/2.1.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:88:in run_callbacks'
vendor/bundle/ruby/2.1.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:778:in _run_call_callbacks'   vendor/bundle/ruby/2.1.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:81:in run_callbacks'
vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/callbacks.rb:27:in call'   vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/remote_ip.rb:78:in call'
vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/debug_exceptions.rb:17:in call'   vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/show_exceptions.rb:30:in call'
vendor/bundle/ruby/2.1.0/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:38:in call_app'   vendor/bundle/ruby/2.1.0/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:20:in block in call'
vendor/bundle/ruby/2.1.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:68:in block in tagged'   vendor/bundle/ruby/2.1.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:26:in tagged'
vendor/bundle/ruby/2.1.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:68:in tagged'   vendor/bundle/ruby/2.1.0/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:20:in call'
vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/request_id.rb:21:in call'   vendor/bundle/ruby/2.1.0/gems/rack-1.6.5/lib/rack/methodoverride.rb:22:in call'
vendor/bundle/ruby/2.1.0/gems/rack-1.6.5/lib/rack/runtime.rb:18:in call'   vendor/bundle/ruby/2.1.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call'
vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/static.rb:120:in call'   vendor/bundle/ruby/2.1.0/gems/rack-1.6.5/lib/rack/content_length.rb:15:in call'
vendor/bundle/ruby/2.1.0/gems/rack-1.6.5/lib/rack/sendfile.rb:113:in call'   vendor/bundle/ruby/2.1.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:518:in call'
vendor/bundle/ruby/2.1.0/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:165:in call'   vendor/bundle/ruby/2.1.0/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:194:in public_send'
vendor/bundle/ruby/2.1.0/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:194:in method_missing'   /usr/local/rvm/gems/ruby-2.1.9/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in process_request'
/usr/local/rvm/gems/ruby-2.1.9/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:152:in accept_and_process_next_request'   /usr/local/rvm/gems/ruby-2.1.9/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:in main_loop'
/usr/local/rvm/gems/ruby-2.1.9/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in block (3 levels) in start_threads'   /usr/local/rvm/gems/ruby-2.1.9/gems/passenger-5.1.2/src/ruby_supportlib/phusion_passenger/utils.rb:113:in block in create_thread_and_abort_on_exception'
Any help?

The problem is the way your Rails installation is configured to manage sessions. This timesheet plugin stores it current settings in the Rails session. This uses a small amount of space. Your other plugins and Redmine itself may store their own information in the session too.
From this part of your stacktrace
ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow):
vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/cookies.rb:529:in []=' vendor/bundle/ruby/2.1.0/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/session/cookie_store.rb:110:inset_cookie'

I see that you are using the default cookie based session store. Since cookies can only grow to a maximum size of about 4 kilobyte, you are hitting that size limit.
So you should configure your session store to something persisted on the server side and you should be fine. Regardless of the timesheet plugin, this problem might have hit you with any other plugin storing information in the session.
Hope that helps.


Fix issue #1035

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug Fix

What is the current behavior? (You can also link to an open issue here)
If you run 'npm run build:prod' it fails with this error:

...
 94% asset optimizationError in bail mode: [default] /Users/smith/Git/webpack-starter-test/node_modules/@types/protractor/index.d.ts:22:26
Module 'webdriver' has no exported member 'IButton'.
...

The reason is the new version of @types/selenium-webdriver (2.53.30)

What is the new behavior (if this is a feature change)?
With the previous version of @types/selenium-webdriver it works.

Other information:

https://github.com/AngularClass/angular2-webpack-starter/issues/1035

Duplicate https://github.com/AngularClass/angular2-webpack-starter/pull/1018