Accessing any URL on project run results in this

System.NotSupportedException: Specified method is not supported.
   at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.FrameRequestStream.Seek(Int64 offset, SeekOrigin origin)
   at SharpRaven.Core.Data.DefaultHttpRequestBodyConverter.TryConvert(HttpContext httpContext, Object& converted)

In case you need to see what happens before that,
info: Microsoft.Extensions.DependencyInjection.DataProtectionServices[0]
      User profile is available. Using '/Users/nixholas/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
Hosting environment: Development
Content root path: /Users/nixholas/Projects/Volt/Volt
Now listening on: http://localhost:49982
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:49982/
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
      Executing action method Volt.Controllers.Views.HomeController.Index (Volt) with arguments ((null)) - ModelState is Valid

The exception and call stack are pretty clear on what the issue is, you can't seek the request stream.

SharpRaven.Core.Data.DefaultHttpRequestBodyConverter.TryConvert

This component is doing the wrong thing. What is it?

@davidfowl Apologies. That was my own error. Here's the one.
While running dotnet run:
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:52593/img/bg-pattern.png
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:52593/
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
      Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.RequireHttpsAttribute'.
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
      Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.RequireHttpsAttribute'.
info: Microsoft.AspNetCore.Mvc.Internal.RedirectResultExecutor[1]
      Executing RedirectResult, redirecting to https://localhost/.
info: Microsoft.AspNetCore.Mvc.Internal.RedirectResultExecutor[1]
      Executing RedirectResult, redirecting to https://localhost/oops/404.

While running via MacOS' Visual Studio:
info: Microsoft.AspNetCore.Server.Kestrel[17]
      Connection id "0HL76EO1R1G77" bad request data: "Invalid request line: <0x16><0x03><0x01><0x00><0xB1><0x01><0x00><0x00><0xAD><0x03><0x01>K<0xE4>r@<0x82>9'#L<0xD7><0x0A>"
Microsoft.AspNetCore.Server.Kestrel.BadHttpRequestException: Invalid request line: <0x16><0x03><0x01><0x00><0xB1><0x01><0x00><0x00><0xAD><0x03><0x01>K<0xE4>r@<0x82>9'#L<0xD7><0x0A>
Application Insights Telemetry (unconfigured): {"name":"Microsoft.ApplicationInsights.Dev.Message","time":"2017-08-19T04:10:29.1852930Z","tags":{"ai.internal.sdkVersion":"aspnet5c:2.0.1","ai.application.ver":"<IP_ADDRESS>"},"data":{"baseType":"MessageData","baseData":{"ver":2,"message":"Connection id \"0HL76EO1R1G76\" stopped.","severityLevel":"Verbose","properties":{"DeveloperMode":"true","CategoryName":"Microsoft.AspNetCore.Server.Kestrel","AspNetCoreEnvironment":"Development","ConnectionId":"0HL76EO1R1G76","{OriginalFormat}":"Connection id \"{ConnectionId}\" stopped."}}}}
Microsoft.AspNetCore.Server.Kestrel:Information: Connection id "0HL76EO1R1G77" bad request data: "Invalid request line: <0x16><0x03><0x01><0x00><0xB1><0x01><0x00><0x00><0xAD><0x03><0x01>K<0xE4>r@<0x82>9'#L<0xD7><0x0A>"

Microsoft.AspNetCore.Server.Kestrel.BadHttpRequestException: Invalid request line: <0x16><0x03><0x01><0x00><0xB1><0x01><0x00><0x00><0xAD><0x03><0x01>K<0xE4>r@<0x82>9'#L<0xD7><0x0A>

Did you connect to kestrel via https while only running via http?

I don't think so, I've been able to connect via https for a long time. Here's some lines of code that could be relevant.
Startup.cs:
services.AddMvc(options =>
            {
                options.Filters.Add(new RequireHttpsAttribute());
            })
            // https://stackoverflow.com/questions/41305294/converting-infinitely-nested-objects-in-net-core
            .AddJsonOptions(options =>
            {
                options.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore;
            });

Program.cs:
var cert = new X509Certificate2("xxxx", "xxxx");

            var host = new WebHostBuilder()
                .UseKestrel(options => {
					options.UseHttps(("xxxx", "xxxx"));
            })
                .UseContentRoot(Directory.GetCurrentDirectory())
                .UseIISIntegration()
                .UseStartup<Startup>()
                .UseApplicationInsights()
                .Build();

            host.Run();

Debugging on Windows works, not on Mac.

That error message you got usually happens when you're hitting an http end point via https. Are you sure that you are binding to an HTTPS endpoint on OSX?
On windows are you using kestrel directly or are you using IIS?

@davidfowl Apologies for the hassle to you. Windows, IIS.
I am not sure because development on Mac since the VS preview had no problems with the current setup. Is there a guide for binding the endpoint?

@davidfowl Apologies for the hassle to you. Windows, IIS.

No worries .
@nixxholas yea from the looks of it you're using IIS for https and on OSX there's nothing that's why it's failing.

Is there a guide for binding the endpoint?

The HTTPS story is different if you're using IIS vs not. Look at this doc for more details https://docs.microsoft.com/en-us/aspnet/core/security/https.

@davidfowl Have implemented Kestrel's HTTPS as advised. Thank you!


All tests fail running py.test on RaspberryPi3

Hi,
I'm trying to make this work on a RaspberryPi3 running latest Rasbian "jessie". I've eventually managed to install everything properly (without failures) but in the final step of running the py.test I get all errors.
(venv3) pi@raspberrypi:~/Tools/mitmproxy $ py.test
=========================================================== test session starts ============================================================
platform linux -- Python 3.4.2, pytest-3.0.3, py-1.4.31, pluggy-0.4.0
rootdir: /home/pi/Tools/mitmproxy, inifile: setup.cfg
plugins: xdist-1.15.0, timeout-1.0.0, faulthandler-1.3.0, cov-2.4.0
collected 10 items / 85 errors

================================================================== ERRORS ==================================================================
___________________________________________ ERROR collecting test/mitmproxy/test_addonmanager.py ___________________________________________
ImportError while importing test module '/home/pi/Tools/mitmproxy/test/mitmproxy/test_addonmanager.py'.
Original error message:
'No module named 'typing''
Make sure your test modules/packages have valid Python names.
______________________________________________ ERROR collecting test/mitmproxy/test_certs.py _______________________________________________
ImportError while importing test module '/home/pi/Tools/mitmproxy/test/mitmproxy/test_certs.py'.
Original error message:
'No module named 'typing''
Make sure your test modules/packages have valid Python names.
...

I have no idea what is the problem and I also have no idea what are the correct dependencies and requirements. They are very vague at best. The project would certainly benefit from better installation instructions and clearly state the various dependencies. For example , there is no place mentioned that Pillow fails because, wheel fails, because libjpeg-dev is not mentioned as a dependency, nor automatically installed. There are several of these similar issues.
So what am I missing to get these tests working?

Hi there. It looks like the issue is that you're using Python3.4 - we support 3.5 only for now.
Platform install instructions are a constant bugbear for us. They differ not only between distributions and operating systems, but also between different versions of these. Maintaining an exhaustive set of steps to go from zero to complete on every platform would be a nightmare. Our strategy instead is to have really good binary distributions and to co-operate with platform packagers where we can (i.e. the Debian & Ubuntu packages).

@cortesi: Shall we add a check in main.py for <3.5?

@mhils Yes, I think that makes sense. Probably in version_check.py, with the check_pyopenssl_version function generalised to just check_versions.

@cortesi @mhils  Hi! Thanks for looking into this. What exactly are the parts requiring 3.5? It seem that perhaps it's not very much, since I actually got it to compile at 3.4, but then the py.test would fail. Perhaps I was just missing some dependencies for those tests? Then in the end I actually installed 3.5 and of course it compiled fine. The problem is having to compile 3.5 from a vanilla RPi Rasbian, which was far from trivial without online help. I also did mess up pip a few times, requiring re-installation etc.

Also the openssl dependency seem too recent...
test/mitmproxy/test_dump.py ..ALPN support missing (OpenSSL 1.0.2+ required)!
HTTP/2 is disabled. Use --no-http2 to silence this warning.
ALPN support missing (OpenSSL 1.0.2+ required)!
HTTP/2 is disabled. Use --no-http2 to silence this warning.
ALPN support missing (OpenSSL 1.0.2+ required)!
HTTP/2 is disabled. Use --no-http2 to silence this warning.
............

The currently stable apt version for openssl is:
openssl/stable,now 1.0.1t-1+deb8u5 armhf [installed,automatic]
  Secure Sockets Layer toolkit - cryptographic utility

The test.py takes ~8 minutes. It might be informative to the users to know about the approximate run times when running on RPi's.

@E3V3A the tests should pass with old & newer versions of openssl.
I think you can ignore these warnings, as long as the test does NOT fail.


could not be installed on mac with m1 chip

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
**Please report this issue to the docuowl/tap tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/docuowl/homebrew-tap/Formula/docuowl.rb:10**

Error: Invalid formula: /opt/homebrew/Library/Taps/docuowl/homebrew-tap/Formula/docuowl.rb
formulae require at least a URL

Error: Cannot tap docuowl/tap: invalid syntax in tap!

I can not install it, I think it may be an issue with compatibility with the mac m1 apple chip or Monetery OS
And thanks.

Seeing the same issue, I'm also on M1.


Quietly close prepared statements.

It's nice that the Base methods handling batch operations (startBatch, addBatch, executeBatch) do not propagate SQLExceptions. It makes using prepared statements much easier.
However the de facto mechanism for closing the PreparedStatement is still to call ps.close() (see example at http://javalite.io/batch_operations), which does require the caller to handle SQLException.
IMHO (and it would seem ActiveJDBC's as well), best practice is to close the statement quietly. Yes, there are utility methods the caller can use (e.g. in activejdbc's Util.java or ApacheCommons DbUtils.java). But why not elevate it directly into Base? A Base.closeBatch(PreparedStatement) would produce a more consistent interface (in keeping with the above sequence of methods), and encourage a good practice.
If logging the exception is desired, an alternative implementation could be:
        if (ps == null) return;

        try {
            ps.close();
        } catch (SQLException e) {
            LOGGER.error("Failed to close prepared statement: {}", ps.toString(), e);
        }

What do you think?

Sorry... I see now that I should have created an issue first. Let me know if I should still do that.

well, you have a point. However, the Util.closeQuietly() takes AutoCloseable as an argument, so it can close connections, sockets, files, etc, so I felt it is best be  in the javalite-common module.
So, the Example should be:
Util.close(ps);

@dsiegal what you are saying makes a lot of sense! However, I just had an  idea, why not close the PrepareStatement automatically:
 PreparedStatement ps = Base.startBatch("insert into people (NAME, LAST_NAME, DOB) values(?, ?, ?)");
 Base.addBatch(ps, "Mic", "Jagger", "1962-01-01");
 Base.addBatch(ps, "Marilyn", "Monroe", "1932-01-01");
 Base.executeBatch(ps); //<--- close here1

this way, we can just ignore  closing PS all together, thoughts?

however adding a convenience method to Base  makes sense anyway.

@ipolevoy Please let me know if there's anything else you'd like me to change prior to merge. Thanks!

I was out for a few days, looking good!


Fix a syntax issue

Fix a syntax issue in durable-functions-http-features.md

@zhiliangxu : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Illegal offset type in UnitOfWork.php on line 1334 when @Id(strategy="NONE")

I have a document with an @Id(strategy="NONE") for the $id field and if I set the value of this field to a type other than string, for example $document->setId(new \MongoBinData(md5(time())));. When I persist this document, I get the following warning
Warning: Illegal offset type in ...../Doctrine/ODM/MongoDB/UnitOfWork.php on line 1334
If I set the id to a string, then there's no such warning. Why is this happening? I want to have my _id field of a type other than MongoId (for example, I might want to store a binary hash here instead?)

Having the same issue.. has this not been addressed yet? :|

I don't think you can use MongoBinData as the _id. When I test manually with just mongo pecl extension it does not work either.


ci: increase uwsgi buffer size

PT-1758 PT-1763.
The Entra ID login needs a bigger buffer size because there are so many groups linked to the user.

KULTUS-API branch is deployed to platta: https://kultus-pr361.api.dev.hel.ninja :rocket::rocket::rocket:


Update the validator to use the latest version of the CDC DDI 2.5 validation profiles

This profile contains changes to allow DDI generated from Dataverse to pass validation.

https://github.com/cessda/cessda.metadata.profiles/issues/149 issue for editing xml:lang . I am unable to add labels and assign in that repo

Thanks Morten. I've assigned the issue to myself and will update you soon.

See https://github.com/cessda/cessda.cmv.server/issues/126

Given that the updated profile is ready to release and the validator is configured to use it, I'm closing this issue.

We are still seeing the 1.0.4 profiles at the CMV webpage: https://cmv.cessda.eu/documentation/profiles.html with the profiles available there specifying mandatory for xml:lang. Is this intended?

This is correct. I haven't released these profiles yet. I'll update this issue when this occurs.

Profiles have been updated


Corpse Complex and Wearable Backpacks: RLCraft Edition

When I set B:"Keep Wearable Backpack"=true in Corpse Complex and player die in game, my backpack is disappeared after respawn.
Mods:

Baubles-1.12-1.5.2.jar
corpsecomplex-1.12.2-<IP_ADDRESS>.jar
WearableBackpacks-RLCraft-1.12.2-3.2.3

Forge Version: <IP_ADDRESS>60
My Corpse Complex setting:
corpsecomplex.txt
My WB: RLCraft Edition setting:
wearablebackpacks.txt
No crash and error.

Yes, CorpseComplex compatibility for normal WearableBackpacks does not work with this fork of WearableBackpacks, as it assumes the backpack is either on the chest slot, or not in any slot, and has no fallback otherwise which causes issues because it doesn't expect the backpack to be in the bauble slot, likewise with the Soulbinding enchant which is why I restricted backpacks from having Soulbinding applied to them.
CorpseComplex would either need to get an update to add compatibility for checking if the backpack is a bauble version, or a tweak mod would need to modify it for them.
I may end up writing a compatibility tweaker as a part of a larger set of tweaks for RLCraft but a timeline on that is not guaranteed, for now its best to just turn off the compatibility config.

Ok, thanks for reply. Waitting for compatibility :P


[material-ui-icons] Modernize the package

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Released a v1.0.0-alpha.3 version with the new changes.


Property convention doesn't work when a property's value has been explicitly cleared

Expected Behavior
Explicitly setting a property to null and providing a convention value should return the convention's value.
Current Behavior
Gradle fails with IllegalStateException: No value has been specified for this provider
Steps to Reproduce
def prop = objects.property(String)
prop.set(null)
prop.convention('a')
println prop.get()

Your Environment
Gradle 5.2.1

@adammurdoch WDYT?

This was intentional, but maybe not the best choice. The convention is used only until someone expresses an opinion about the property's value, and setting the value to null currently means 'there is no value' and counts as expressing an opinion. We could probably change setting the value to null to mean 'discard any explicit value' instead, so that the convention would apply again after this. I'd probably also replace set(null) with a new method that explicitly discards the value and also forbid set(null), via deprecation.

@king-tyler do you have a "real world" example of why you would explicitly set a property to null?

https://github.com/gradle/gradle/pull/9776 changes the behaviour of set(null) to use the property's convention, if set.


http-interop/http-middleware abandoned

If you check this site https://github.com/http-interop/http-middleware
You'll see message
Note: This repository is deprecated and no longer updated. Please refer to http-interop/http-server-handler and http-interop/http-server-middleware instead.

See: #259

Duplicate of #256


A very large put can bring down the active and/or passive server.

If the OffHeapServerStore legitimately throws an OversizeMappingException (because the value presented is too large to fit in the offheap resourcre configured) then the propagating OversizeMappingException will cause the server to terminate.  Although this scenario is highly unlikely in a typical configuration we should prevent propagation of this exception and instead act as if the value was immediately evicted.

@chrisdennis , I am seeing a slightly different behavior for this test case, where the server does not crash (atleast the active) and put fails with oversized mapping exception and everything in cache getting evicted. so the client is able to do a get, only that it will not find anything in the cache as everything gets evicted (so put of a very large object that does not fit in cache acts almost like a cache.clear). Am I doing something wrong?

I think the ClusterTierActiveEntity consumes this exception, causing the exception NOT to be propagated further.


[RESTEASY-2925]: Inconsitent NewCookie parsing when unknown attributes is found

In this PR I changed the HashMap<String,String> used in the parser by a LinkedHashMap<String,String>.
I could have let the parse(...) methods signatures unchanged but I decided to change them to replace the Map<String,String> interface by the LinkedHashMap<String,String>  to make it clear that order matter.
Let me know what you think.

In this PR I changed the HashMap<String,String> used in the parser by a LinkedHashMap<String,String>.
I could have let the parse(...) methods signatures unchanged but I decided to change them to replace the Map<String,String> interface by the LinkedHashMap<String,String> to make it clear that order matter.
Let me know what you think.

I don't think we should change the signatures. That can break backwards compatibility.

@jamezp Even with a LinkedHashMap in the signature, backwards compatibility is still OK since a LinkedHashMap  is a Map and also a HashMap right ?
Actually I did the change because it can be be weird to say that cookie name is always the first attribute and then retrieve it iterating over a Map interface that does not enforce order.
What bother me more with using LinkedHasMap is that it is an implementation not an interface...
I will change it.
Thanks


Add authentication support

Proposed Changes
Add auth support
Related Issues

(Github link to related issues or pull requests)

Codecov Report

Merging #17 (a4b9b7f) into main (e47972c) will not change coverage.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##              main       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          179       195   +16
  Branches        15        18    +3
=========================================
+ Hits           179       195   +16

Impacted Files
Coverage Δ

src/python_opensky/exceptions.py
100.00% <100.00%> (ø)

src/python_opensky/opensky.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


DO NOT MERGE!

Jenkins please test this

Jenkins please test this

CLA signed by all contributors.

jenkins please test this

jenkins please test this,puppet-agent on centos6-64


Show Notes field in the client reporting table

Now that there is a Notes field on Clients (#326) we should make sure this field can be shown in any reporting tables on Clients AND make sure it's exportable. Let's hide the column by default, but ensure that it can be shown by the user. (Support for hiding columns by default is in #396)

Notes label does not appear in fields list or top of table column

Notes label does not appear in fields list or top of table column

The code has not yet been pushed to demo, closing this issue.


Scale GUI not returning list of remote filesystems

Remote mount Scale via Fusion SDS 2.7.1.
All CP4D PVCs remain in the Pending state due to ProvisioningFailed.  Preliminary investigation shows a connection problem with the remote Scale mounts and the Scale GUI call not returning the list of remote filesystems.
url -X GET -u 'CsiAdmin:EpOYRdXZy87-BsqRCtw7' -k https://ibm-spectrum-scale-gui-ibm-spectrum-scale.apps.sre-bar-3m17w-fips-ss-781.cp.fyre.ibm.com:443/scalemgmt/v2/filesystems/remote/filesets
{
  "filesets" : [ ],
  "status" : {
    "code" : 200,
    "message" : "The request finished successfully."
  }
}

See related issues for more information.  The Fusion issue has the most details regarding the Scale problem:

CP4D issue: https://github.ibm.com/PrivateCloud-analytics/CPD-Quality/issues/17028
Fusion issue: https://github.ibm.com/ProjectAbell/abell-tracking/issues/33101

Opened issue in scale-core repo for gui team


Create a submission form for vaccine sites that aren't listed on BookMyVaccine

As a covid vaccine site operator who isnt listed on BookMyvaccine
I want to submit details about my vaccine site in a form
So the Vaxx team can receive my site information for review so they can put it on the website
Create a submission form for vaccine sites that aren't listed on BookMyVaccine

@waltzaround can you clarify what a one off site is?

editing now

We need a design for this.

How can we move this issue forward @waltzaround and @noway?
My idea: Similar to Contact Us, let's simply create an Airtable form.
I've looked into sending a React form as an issue or PR straight to GitHub, but it will require way too much complexity and potentially a backend to do the auth. If you agree, let's just ship this as an Airtable form instead.
Here are the fields we currently store for crowdsourced locations:
{
  isCrowdSourced: true,
  name: "The Palms Medical Centre",
  address: "445 Ferguson Street, Palmerston North 4410",
  lat: -40.3565159,
  lng:<PHONE_NUMBER>,
  instructions: [Instruction.allowsBookings],
  website: "https://palmsmedical.co.nz/",
  telephone: "06 354 7737",
  additionalInformation:
    "We are currently by appointment only from the hours of 9am-4pm Tuesday to Friday. We presently have quite a bit of availability. Anyone wanting to book can call the medical centre on 06 354 7737.",
  openingHours: [
    { day: 1, isOpen: false },
    { day: 2, isOpen: true, hours: "9:00 AM – 4:00 PM" },
    { day: 3, isOpen: true, hours: "9:00 AM – 4:00 PM" },
    { day: 4, isOpen: true, hours: "9:00 AM – 4:00 PM" },
    { day: 5, isOpen: true, hours: "9:00 AM – 4:00 PM" },
    { day: 6, isOpen: false },
    { day: 0, isOpen: false },
  ]
}

We should redirect them to healthpoint instead. An FAQ entry which lists Healthpoint contact?

Closing this as we're not doing it. Contact form works good enough and we don't want to maintain a database of locations. Should redirect people to healthpoint.


Fixed resource SPWebApplicationExtension, which uses wrong object to return property AllowAnonymous

This PR is to fix the issue #676

[x] Change details added to Unreleased section of changelog.md?
[x] Added/updated documentation and descriptions in .schema.mof files where appropriate?
[x] Examples updated for both the single server and small farm templates in the examples folder?
[x] New/changed code adheres to Style Guidelines?
[x] Unit and Integration tests created/updated where possible?

This change is

Codecov Report

Merging #677 into dev will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff         @@
##            dev   #677   +/-   ##
===================================
  Coverage    90%    90%
===================================
  Files       101    101
  Lines      9471   9471
  Branches      3      3
===================================
  Hits       8578   8578
  Misses      890    890
  Partials      3      3

@Yvand Your update broke the Pester tests. Can you please update the tests as well?

Indeed, all checks on AllowAnonymous property were incorrect.
Done

Reviewed 1 of 2 files at r1, 1 of 1 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


AttributeError: 'DataContainer' object has no attribute 'shape'

hello, Thank you for your contribution, When my dataset is Cityscapes, I run tools / train.py. It has the following error:
Traceback (most recent call last):
File "/home/caiweixin/Downloads/SETR-main/tools/train.py", line 161, in
main()
File "/home/caiweixin/Downloads/SETR-main/tools/train.py", line 150, in main
train_segmentor(
File "/home/caiweixin/Downloads/SETR-main/mmseg/apis/train.py", line 105, in train_segmentor
runner.run(data_loaders, cfg.workflow, cfg.total_iters)
File "/home/caiweixin/anaconda3/envs/SETR-main/lib/python3.9/site-packages/mmcv/runner/iter_based_runner.py", line 130, in run
iter_runner(iter_loaders[i], **kwargs)
File "/home/caiweixin/anaconda3/envs/SETR-main/lib/python3.9/site-packages/mmcv/runner/iter_based_runner.py", line 60, in train
outputs = self.model.train_step(data_batch, self.optimizer, **kwargs)
File "/home/caiweixin/Downloads/SETR-main/mmseg/models/segmentors/base.py", line 152, in train_step
losses = self(**data_batch)
File "/home/caiweixin/anaconda3/envs/SETR-main/lib/python3.9/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/caiweixin/anaconda3/envs/SETR-main/lib/python3.9/site-packages/mmcv/runner/fp16_utils.py", line 84, in new_func
return old_func(*args, **kwargs)
File "/home/caiweixin/Downloads/SETR-main/mmseg/models/segmentors/base.py", line 122, in forward
return self.forward_train(img, img_metas, **kwargs)
File "/home/caiweixin/Downloads/SETR-main/mmseg/models/segmentors/encoder_decoder.py", line 153, in forward_train
x = self.extract_feat(img)
File "/home/caiweixin/Downloads/SETR-main/mmseg/models/segmentors/encoder_decoder.py", line 79, in extract_feat
x = self.backbone(img)
File "/home/caiweixin/anaconda3/envs/SETR-main/lib/python3.9/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/caiweixin/Downloads/SETR-main/mmseg/models/backbones/vit.py", line 393, in forward
B = x.shape[0]
AttributeError: 'DataContainer' object has no attribute 'shape'
I don't know how to solve it. I hope you can give me some suggestions. Thank you very much.

Maybe your environment is installed incorrectly, please refer to the A from-scratch setup script in the README.md to reinstall the environment. And run the command ./tools/dist_train.sh ${CONFIG_FILE} ${GPU_NUM} .


option to transmit slider value on release, rather than on drag

The code at https://github.com/ipython/ipywidgets/blob/master/ipywidgets/static/widgets/js/widget_int.js#L176 executes the slider change handler anytime the slider is dragged, while it is being dragged.  Often a calculation takes so much time that it's better to only update when the slider is released.  It would be great to have an option to the slider so that it updates only on mouse release, rather than mouse drag.
Thanks to @suhr for bringing this up on gitter

+1
On Mon, Sep 14, 2015 at 8:46 AM, Jason Grout<EMAIL_ADDRESS>wrote:

The code at
https://github.com/ipython/ipywidgets/blob/master/ipywidgets/static/widgets/js/widget_int.js#L176
executes the slider change handler anytime the slider is dragged, while it
is being dragged. Often a calculation takes so much time that it's better
to only update when the slider is released. It would be great to have an
option to the slider so that it updates only on mouse release, rather than
mouse drag.
—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/issues/160.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I think this is a good idea.  However, I'd like to note, our original response to this, because someone asked for it 1/2 a year ago or so, was to subclass the slider JS.

Oh, yes please!   The function we are controlling with our slider widget actually extracts a specific time step of model data from a web service, which we really don't want to do until the slider is released.


bugfix: clear the listener map of zk registry

Ⅰ. Describe what this PR did
在恢复之前清除监听器映射， 否则每次调用恢复， 会倒是监听器的映射翻倍。
就一句代码， 水个PR
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #3254 into develop will decrease coverage by 0.11%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             develop    #3254      +/-   ##
=============================================
- Coverage      51.02%   50.91%   -0.12%
- Complexity      3279     3280       +1
=============================================
  Files            612      612
  Lines          20112    20087      -25
  Branches        2517     2470      -47
=============================================
- Hits           10263    10227      -36
+ Misses          8820     8811       -9
- Partials        1029     1049      +20

Impacted Files
Coverage Δ
Complexity Δ

...very/registry/zk/ZookeeperRegisterServiceImpl.java
60.46% <0.00%> (-0.48%)
26.00 <0.00> (ø)

...obuf/convertor/BranchRegisterRequestConvertor.java
90.47% <0.00%> (-9.53%)
3.00% <0.00%> (ø%)

...otobuf/convertor/BranchReportRequestConvertor.java
90.90% <0.00%> (-9.10%)
3.00% <0.00%> (ø%)

...obuf/convertor/BranchRollbackRequestConvertor.java
92.00% <0.00%> (-8.00%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalBeginResponseConvertor.java
92.59% <0.00%> (-7.41%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalCommitRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalStatusRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...obuf/convertor/GlobalRollbackRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterTMRequestConvertor.java
94.73% <0.00%> (-5.27%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterRMRequestConvertor.java
90.47% <0.00%> (-4.77%)
3.00% <0.00%> (ø%)

... and 27 more


Update remove-appxpackage.md

#374
Action Taken
-added Noted
To find SID of a user, run
whoami /user
whoami / groups
URL: https://github.com/MicrosoftDocs/windowsserverdocs/blob/master/WindowsServerDocs/administration/windows-commands/whoami.md
TS:
Run the command: Remove-AppxPackage -Package pakage -user user
same error, see screenshot: https://snag.gy/d6rZCF.jpg
Look for SID String for my own machine whoami / user
Shows up SID string, see screenshot: https://snag.gy/9JsAve.jpg
Remove-AppxPackage -Package package -user Sid - successfully worked

Closes #374


fix(headless): folding cq should support spaces

https://coveord.atlassian.net/browse/KIT-2111
The collection "Sea Lilies" now loads properly.
Also updated the folding sample as a bonus.

We should read our own docs 🤣


Disk storage

I think there's need to clarify what disk storage actually is. From another page: "Page blobs store random access files up to 8 TB in size. Page blobs store the virtual hard drive (VHD) files serve as disks for Azure virtual machines." So is disk storage nothing else but page blobs?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 312ba22f-685c-d17f-438f-9656f019012a
Version Independent ID: a93993be-f687-16e1-ff5b-b526699c009f
Content: Introduction to Azure Storage - Cloud storage on Azure
Content Source: articles/storage/common/storage-introduction.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@mcurko Thanks for the feedback! We are currently investigating and will update you shortly.

@roygara - FYI

@mcurko thanks for reaching out, I'll try to help:
Basically, when you get down to the technical implementation level, yes. But there's more than enough built ontop and abstracted out that for a managed disk you really don't need to be concerned with the low level implementation details. You'd only need that if you were using unmanaged disks.
What I'll probably do here is replace this text with text from the managed disk overview, which is where I'd recommend looking if you want more information on managed disks:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/managed-disks-overview
Thanks again for reaching out and making us aware of this, I'll work on getting this updated. :)

@mcurko  The PR has been created to update the doc!
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue


Feature/eigen3 bundling

@vigsterkr @lisitsyn @besser82 please give feedback

@karlnapf remove the eclipse stuff....

@vigsterkr Thanks, that slipped through somehow. Feel free to merge if you agree otherwise

:+1:

@vigsterkr thanks for taking a look. Addressed all of them

@karlnapf for future reference: please do not PR a feature branch, it doesn't make any sense and it makes travis work twice.


stdlib: remove some inlinable annotations from Substring's and String's subscript

Inlining those operations does not really give any benefit.
Those operations are complex and most likely, cannot be folded into simpler patterns after inlining, anyway.
Reduces some code size for cases where those functions were inlined (due to a not perfect inlining heuristic).

@swift-ci smoke test

@swift-ci benchmark

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

SubstringFromLongString
7
8
+14.3%
0.88x (?)

FindString.Rec3.String
159
178
+11.9%
0.89x

FindString.Rec3.Substring
190
209
+10.0%
0.91x (?)

Improvement
OLD
NEW
DELTA
RATIO

FlattenListLoop
1518
916
-39.7%
1.66x (?)

Dictionary4
239
151
-36.8%
1.58x

EqualStringSubstring
30
22
-26.7%
1.36x (?)

EqualSubstringSubstring
29
22
-24.1%
1.32x (?)

LessSubstringSubstring
29
22
-24.1%
1.32x

EqualSubstringSubstringGenericEquatable
29
22
-24.1%
1.32x

EqualSubstringString
29
22
-24.1%
1.32x

LessSubstringSubstringGenericComparable
29
22
-24.1%
1.32x

Dictionary4OfObjects
235
188
-20.0%
1.25x

StringHashing_fastPrenormal
650
590
-9.2%
1.10x (?)

ObjectiveCBridgeStringHash
77
71
-7.8%
1.08x (?)

PrefixWhileSequence
208
194
-6.7%
1.07x (?)

Code size: -O

Improvement
OLD
NEW
DELTA
RATIO

StringMatch.o
5216
4394
-15.8%
1.19x

StringEdits.o
10729
9201
-14.2%
1.17x

RomanNumbers.o
6484
5948
-8.3%
1.09x

FindStringNaive.o
9147
8635
-5.6%
1.06x

Substring.o
18179
17219
-5.3%
1.06x

ArrayAppend.o
23319
22831
-2.1%
1.02x

StringBuilder.o
7473
7345
-1.7%
1.02x

DriverUtils.o
138427
136875
-1.1%
1.01x

Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

SubstringFromLongString
7
8
+14.3%
0.88x

IterateData
866
957
+10.5%
0.90x (?)

Improvement
OLD
NEW
DELTA
RATIO

FindString.Loop1.Array
435
302
-30.6%
1.44x

EqualSubstringSubstring
29
22
-24.1%
1.32x

EqualStringSubstring
29
22
-24.1%
1.32x

EqualSubstringSubstringGenericEquatable
29
22
-24.1%
1.32x

LessSubstringSubstring
30
23
-23.3%
1.30x

EqualSubstringString
30
23
-23.3%
1.30x

LessSubstringSubstringGenericComparable
30
23
-23.3%
1.30x

Dictionary4
203
157
-22.7%
1.29x (?)

Dictionary4OfObjects
265
228
-14.0%
1.16x

StringMatch
5700
5100
-10.5%
1.12x (?)

NormalizedIterator_fastPrenormal
750
690
-8.0%
1.09x (?)

ObjectiveCBridgeStringHash
77
71
-7.8%
1.08x (?)

StringHashing_fastPrenormal
650
600
-7.7%
1.08x

StringComparison_longSharedPrefix
375
348
-7.2%
1.08x (?)

Code size: -Osize

Regression
OLD
NEW
DELTA
RATIO

StringBuilder.o
7278
7502
+3.1%
0.97x

CSVParsing.o
49774
51261
+3.0%
0.97x

Improvement
OLD
NEW
DELTA
RATIO

RomanNumbers.o
6747
5620
-16.7%
1.20x

StringMatch.o
4898
4216
-13.9%
1.16x

StringEdits.o
10122
9238
-8.7%
1.10x

Substring.o
18617
17538
-5.8%
1.06x

FindStringNaive.o
8699
8232
-5.4%
1.06x

Performance: -Onone

Improvement
OLD
NEW
DELTA
RATIO

EqualSubstringSubstringGenericEquatable
33
26
-21.2%
1.27x (?)

LessSubstringSubstringGenericComparable
33
26
-21.2%
1.27x

EqualSubstringSubstring
34
27
-20.6%
1.26x (?)

LessSubstringSubstring
34
27
-20.6%
1.26x

EqualStringSubstring
35
28
-20.0%
1.25x

EqualSubstringString
35
28
-20.0%
1.25x

String.replaceSubrange.Substring.Small
52
47
-9.6%
1.11x (?)

ObjectiveCBridgeStringHash
78
72
-7.7%
1.08x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: 6-Core Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

@swift-ci smoke test


Location

Documentation on which locations are available for the locations input would be helpful to new users! Also for chunck 12, def get_age_sex_group(sex, age), does group 1-3 need "group = str(sex) + group"?

Forgot to push that fix—thanks for catching that! And great idea to add the documentation for location input.


nodejs 18: Support native fetch

Node.js 18+ support the native fetch API. The current fetch instrumentation (instrumentation-fetch) only works in a web / browser environment. This is because it is importing sdk-trace-web and depending on location being globally defined.
Before native support this was not a problem, because solutions like node-fetch were using http under the hood, and were therefore wrapped correctly. Now with native fetch support this is not happening anymore.
I can think of these two solutions:

Change instrumentation-fetch to be platform agnostic. This has the benefit of using one module consistently in multiple environments
Create a new instrumentation, for instance instrumentation-fetch-node which is tailored to the node.js / server environment. This would allow for easier support of some node-only utilities. Support would be for node >= 18.

Could you please let me know whether support for this is in the pipeline, and perhaps from which nodejs version onward?

Hmm the instrumentation shouldn't depend on the SDK package anyway so that needs to be updated. I'm not sure how easy it would be to make the browser fetch instrumentation work in both places, but that would be my preferred solution.

This is still relevant.
I'll try to allocate some time to contribute to this if no one else steps in first.

Hi @Fryuni
Did you have any time to work on this issue? Maybe I could help?

I started working on a patch that would work for us, but it breaks other scenarios. I still need to work on a proper solution, but time has been eluding me.
If you want to tackle this, here is what I got:
The instrumentation-fetch package uses sdk-trace-web, which relies on browser-only APIs, like the global scope being window and the presence of the global objects location, navigation, and navigator.
It uses only 5 functions from sdk-trace-web. As far as I can tell, the semantics of this function for the caller is entirely agnostic of the browser-only elements, so providing the same functions for Node should suffice.
I used patch-package to comment out everything that used the browser APIs from sdk-trace-web or to replace with a return null or return ''. Just to get it working.
Those 5 functions do a lot of the heavy work for the browser, like creating an empty anchor and moving a value through it to normalize things, but it doesn't seem to me like there would be a lot of work to do when in Node, so it should be quite straightforward to implement those. It could be provided as a NodeFetchInstrumentation or it could even be the same FetchInstrumentation that validates upon load which environment it is in.
I've been analyzing this slowly since my previous comment when I have some spare time, mostly while commuting, so I don't even have a branch for you to work from, sorry about that. 😄

Thanks for the update! I'll see if I can follow up on your research

Following this too! Would be great for this instrumentation to also work for other serverside environments WinterCG environments (Vercel, CloudFlare Workers)

For reference for Deno I just had to make location.href not crash and the fetch autoinstrumentation seems to work
// Monkeypatching to get past FetchInstrumentation's dependence on sdk-trace-web, which depends on some browser-only constructs
globalThis.location = {}; //For this line in parseUrl - https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-sdk-trace-web/src/utils.ts#L310

Also wanted to cross-document here that the fetch autoinstrumentation package is currently using Date.now() instead of performance.now(), which may explain small offsets in traces (I was seeing them for Deno)
More references for this at https://github.com/open-telemetry/opentelemetry-js/issues/3719#issuecomment-1503114856

Also wanted to cross-document here that the fetch autoinstrumentation package is currently using Date.now() instead of performance.now(), which may explain small offsets in traces

Date.now() returns milliseconds since unix epoch, performance.now() returns milliseconds since performance.timeOrigin with microseconds precision. They have very different meanings.
If you see offsets between distributed traces, it is probably due to clock skew between the services. performance.now() would provide better precision for the duration of each trace but not for the relation between them.
And if Date.now() gets replaced, I'd suggest using performance.now() only for the web. Node has process.hrtime.bigint() for nanoseconds precision, which would be even better.

Is anyone currently working on this?
We switched back to using node-fetch package to force it back to using http/https packages for tracing.
I might have a few days available to work on this during the summer, if noone else is actively on it.

@Fryuni @ktrz is there any progress made on this? Could I help out to push this along?

I haven't progressed on this since my comment on March, kinda left my hacky workaround there since It Just Works™.
If you wanna replicate it, replace all the functions on sdk-trace-web that touch the navigator, the DOM or the window with either return null or return '' as appropriate for the type. Certainly those functions serve a purpose, but I haven't missed any functionality without them, so I think they are not even necessary for a Node's fetch.

Thanks for the context! I'll try to find a bit of time to work on this 😄

While I work on fixing this, I want to share what I ran into: In order to make sure that trace context (via the propogation headers) was shared across services, so that an HTTP request from client -> service A -> service B showed up as 1 trace, I had to do the following with the fetch instrumentation
// @ts-ignore
globalThis.location = {};
// @ts-ignore
globalThis.navigator = {};

registerInstrumentations({
  tracerProvider: provider,
  instrumentations: [
    // other instrumentations...,
    new FetchInstrumentation({
      propagateTraceHeaderCorsUrls: /.*/,
    }),
  ],
});

full snippet of my setup
context.setGlobalContextManager(new AsyncHooksContextManager().enable());

const provider = new NodeTracerProvider({
  resource: new Resource({ [SemanticResourceAttributes.SERVICE_NAME]: hostname() }),
});

const otlpTraceExporter = new OTLPTraceExporter({ url: process.env.OPEN_TELEMETRY_DESTINATION_URL });
provider.addSpanProcessor(new BatchSpanProcessor(otlpTraceExporter));

globalThis.location = {};
// @ts-ignore
globalThis.navigator = {};

registerInstrumentations({
  tracerProvider: provider,
  instrumentations: [
    // other instrumentations...,
    new FetchInstrumentation({
      propagateTraceHeaderCorsUrls: /.*/,
    }),
  ],
});

provider.register();

another issue i want to add to this thread an issue i've encountered in the code, the _patchConstructor
https://github.com/open-telemetry/opentelemetry-js/blob/main/experimental/packages/opentelemetry-instrumentation-fetch/src/fetch.ts#L295-L405
it seems a conscious choice was made to explicitly ignore the second argument passed to the function if the first is an instanceof Request but that actually breaks functionality should you choose to supply RequestInit options in addition to a Request which a perfectly valid usecase and seems explicit in specification.
You can see this handled here in the undici (node native impl) https://github.com/nodejs/undici/blob/main/lib/fetch/index.js#L125-L137
the resulting request is the result of instantiating a new request with the options, which extends the request with the additional options.
it might be necessary for this to be pulled into a bug of it's own since this would also affect the web/browser version i would imagine.

https://github.com/open-telemetry/opentelemetry-js/pull/4063 Has now been merged, should this issue be closed? @sonewman may be best to open a new issue for what you're seeing?

It makes the web SDK work when missing the web-only globals. So although it changes only the web SDK it should now work with Node (and others non-browser runtimes)

it should now work

Just tried it, it doesn't seem to be instrumenting thing I'd expect to see the way opentelemetry-instrumentation-fetch-node does

There is a new instrumentation released a couple of weeks ago. This instrumentation works for undici but also for  the fetch global Node.js API (since the API uses undici under the hood).
https://www.npmjs.com/package/@opentelemetry/instrumentation-undici
@ehtb I think this covers point 2 right? Could you give it a try?

@david-luna @ehtb Given the existence of the undici/native-fetch instrumentation, this issue can be closed.

Closing the issue. @ehtb ping me or open a new issue if needed :)


Updates OpAMP spec following the merge of https://github.com/open-telemetry/opamp-spec/pull/174, which was in support of the .htmltest cleanup

$ (cd public && git diff -bw --ignore-blank-lines -I "Hugo 0.1" -I '^\s+.*?
') | grep ^diff | head
diff --git a/docs/specs/opamp/index.html b/docs/specs/opamp/index.html
diff --git a/refcache.json b/refcache.json
diff --git a/scss/main.css.map b/scss/main.css.map
diff --git a/site/index.html b/site/index.html

The first -I ignore regex is for "generator" meta tags. The second -I ignore regex is for breadcrumbs that now use local paths rather than self-referential full URLs back into the OTel website. For details, see https://github.com/google/docsy/issues/1337.
Sample diff:
$ git diff community/end-user/interviews-feedback/index.html
diff --git a/community/end-user/interviews-feedback/index.html b/community/end-user/interviews-feedback/index.html
index 0ef48c170..fecc0360d 100644
--- a/community/end-user/interviews-feedback/index.html
+++ b/community/end-user/interviews-feedback/index.html
@@ -3,7 +3,6 @@

     <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-<meta name="generator" content="Hugo 0.120.4">
 <meta name="robots" content="noindex, nofollow">
 <link rel="shortcut icon" href="/favicons/favicon.ico" >
 <link rel="apple-touch-icon" href="/favicons/apple-touch-icon.png" sizes="180x180">
@@ -168,9 +167,9 @@

-    Community

+    Community

-    End User

+    End User

     Interviews or Feedback Sessions

/cc @tigrannajaryan


test custom vm-builder version in preparation for monitor

Problem
Sourcing a custom vm-builder version that supports the monitor. This is part of a greater change that will move upscaling/downscaling functionality from the vm-informant to compute_ctl.
Related to https://github.com/neondatabase/autoscaling/pull/362
Eventually, this change should be reverted once autoscaling/main's version of vm-builder supports the monitor - a change currently included in https://github.com/neondatabase/autoscaling/pull/362.
Summary of changes
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

Closing as superseded by https://github.com/neondatabase/autoscaling/pull/477


What does ECS stand for?

It would be nice to have it in the readme if it isn't already. I turned to google for search and it was difficult to learn about because the acronym has (for example) 192 definitions: https://acronyms.thefreedictionary.com/ECS

ECS in Legion stands for Entity Component System. You might want to look at What is an ECS, and there is a great breakdown of why you might want to use one it this talk.


Exclude certificates without a private key

After an update of the windows, now this app will show all public key in the system, not only adobe but also microsoft,google,etc.
The issue #7 is also caused by this reason. I keep getting Too many authentication failures error during any login attempts.

What's the version of your Windows? I can't reproduce this problem in my computer.

Version 10.0.19041.264

This feature has been added in v1.0.4.

Not work


[Tooling] Dev UI doesn't work well on small screens

From a report of a user in IDX:

Genkit UI doesn't work well on small screens like a 15" macbook laptop. Scrolling was hit or miss and therefore I missed critical UI elements like the results textbox.

We should make sure the UI is usable or has other affordances to work on reasonable laptop screens (mobile-size screens is probably not a high priority but maybe someday...).

There are two issues here:

Generally, the DevUI doesn't scale down well to smaller widths
When embedded in VCCode the DevUI's fonts / ems are larger than the surrounding code, making it take even more space than if you were doing local dev in Chrome.

I'd prioritize 2 first, 1 will take some design thinking through to make sure we have all the right cases covered

We're working on some re-designs to make the Developer UI easier to use in smaller windows. Stay tuned!

We're in a good place now post- nav revamp. Any small tweaks will be tracked in separate tickets.


Adding support build with CMake in Windows 10 (x64)

CMakeLists.txt files : support build with CMake
README_WINDOWS.md : manual guide for build with CMake

Thank you so much as always.
I'll check your PR.

I guess it is very useful.
So, I merge it.
Then  I can remove sln/vcxproj files.


How to add jar dependency

I'm using
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'

to provide a jitpack-ready build.
The way it works – via method closure, aka
task sourcesJar(type: Jar) {
  classifier = 'sources'
  from android.sourceSets.main.java.srcDirs
}

task javadoc(type: Javadoc) {
  source = android.sourceSets.main.java.sourceFiles
  classpath += project.files(android.getBootClasspath().join(File.pathSeparator))

  options.memberLevel = JavadocMemberLevel.PROTECTED
  options.links("http://docs.oracle.com/javase/7/docs/api/")
  options.links("http://developer.android.com/reference/packages.html")
  exclude '**/BuildConfig.java'
  exclude '**/R.java'
  exclude '**/internal/**'
  failOnError false
}

task javadocJar(type: Jar, dependsOn: javadoc) {
  classifier = 'javadoc'
  from javadoc.destinationDir
}

artifacts {
  archives sourcesJar
  archives javadocJar
}

The problem is I can't figure out how to achieve the same with your plugin?
Even if I add a dependency for your task to javadocJar task, can't find a way to pass custom destinationDir to javadocJar's from property.
javadocJar.dependsOn {
  tasks.findAll { task -> task.name.contains('Javadoc') }
}

Well the task names are generateDebugJavadoc and generateReleaseJavadoc. So I don't think tasks.findAll { task -> task.name.startsWith('Javadoc') } works.
I've never actually tried what you're trying there so I can't think of any other reason. If you run the gradle tasks solely you do get the javadoc though, right?

task.name.startsWith

it's a type -> contains.
Anyway, I'll get a javadoc, but not packed into the jar and even more there is no way for me to link it with maven release plugins (likeandroid-maven-gradle-plugin)

The plugin generates a Html site containing the javadoc. e.g. this one
I don't think you're even able to go and ship html documentation with a jar.

I don't think you're even able to go and ship html documentation with a jar.

Actually it's how it works:

Nevermind, I just wanna check if you've faced with such situation.

Nope I didn't. If you find anything out or find a way to make it work feel free to comment it back here or open a PR if needed :)


pyopenssl misbehaving

I don't know why I appear to be the only one with this problem, but here it is:
$ python openbazaard.py start
Traceback (most recent call last):
  File "openbazaard.py", line 12, in <module>
    import requests
  File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 73, in <module>
    ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

$ sudo pip list | grep urllib
urllib3 (1.12)

$ sudo pip3 list | grep urllib
urllib3 (1.12)

$ cat /etc/debian_version
stretch/sid

It's an upstream issue so I'll close this and use Ubuntu 14.04 instead.

I have the same error on Ubuntu 15.10.

luca@luca-G550JK:~/Programs/OpenBazaar-Server$ python2.7 openbazaard.py
Traceback (most recent call last):
File "openbazaard.py", line 11, in
import requests
File "/usr/local/lib/python2.7/dist-packages/requests/init.py", line 53, in
from .packages.urllib3.contrib import pyopenssl
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 73, in
ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
luca@luca-G550JK:~/Programs/OpenBazaar-Server$ python2.7 openbazaard.py start
Traceback (most recent call last):
File "openbazaard.py", line 11, in
import requests
File "/usr/local/lib/python2.7/dist-packages/requests/init.py", line 53, in
from .packages.urllib3.contrib import pyopenssl
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 73, in
ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

In any case, it's not an OB problem so it should be filled upstream.


Kernel is not restarting

<!---   *** BEFORE SUBMITTING: PASTE CLIPBOARD HERE TO COMPLETE YOUR REPORT ***   ---!>

I'm having the same issue. I tried downgrading matplotlib since it was mentioned in a previous report, but downgrading from matplotlib 3.4.3 to 3.3.4 did not resolve the issue. I ran the command line test and the kernel appears to work outside of spyder as observed in the other post.
Downgrading spyder to my previous 5.0.3 resolved the kernel issue, but caused LSP to fail, which was working before I upgraded spyder. I'm stuck choosing between a broken kernel or broken LSP.

Hi @dosti88 and @brummel-promed, can you please explain to me the issue you are experiencing?

Hi @dosti88 and @brummel-promed, can you please explain to me the issue you are experiencing? Also, can you let me know how did you installed Spyder?

When starting spyder, the console is stuck on "Connecting to Kernel..."
I installed spyder in the anaconda prompt using : "conda update anaconda" and "conda install spyder=5.1.5". I'm running windows 10 64 bit os.

This is a duplicate of issue #16765. Please continue the discussion there.


WIO upgrade 1.9 through 1.11.1

Suggested merge of the WIO Symphony branch, syncing up to v1.11 of Symphony.
Notably, this PR includes a 'WIO specific' change to /frontend/src/app/app.settings file (see commit 8482ef1) which is strictly needed for correctly projecting result rasters onto the map view for versions of Symphony > 1.9.
However, while testing the application using WIO baseline data post upgrade, a bug has been discovered in the web service endpoint for comparison results.
If the bug occurs (again in versions > 1.9) will depend on which crs is used for that instance's geospatial projection. Unfortunately, WIO Symphony is affected by this bug: The /calculation/diff.. endpoint is incapable to parse an accompanying GET parameter [crs] as provided by the frontend api call, and the request fails.
From a users' perspective the effect is simply that comparison results (silently) won't render onto the map.
The issue is tracked internally ay SwAM and the fix for it is straightforward, but it's considered a minor problem and hence deferred until release 1.12 (currently scheduled for August 18th).

This is well noted and we can continue with the merge to the wio branch


Resync with the nmap changes to libdnet

I noticed that nmap has applied a few fixes to their copy since we forked libdnet. This adds the relevant patches from their copy.

:+1:

Hi guys, are you still maintaining this fork?

Hey Brent, answer is likely "not actively" these days.
P
On Nov 9, 2015 9:37 AM, "Brent Cook"<EMAIL_ADDRESS>wrote:

Hi guys, are you still maintaining this fork?
—
Reply to this email directly or view it on GitHub
https://github.com/boundary/libdnet/pull/2#issuecomment-155098514.


docs - node-to-node encryption

Looking to find documentation if Longhorn traffic between nodes are encrypted, or it's all handled through Rancher

Current Longhorn is running on top of the overlay networking of Kubernetes, so it depends on the CNI to provide node to node encryption.

Current Longhorn is running on top of the overlay networking of Kubernetes, so it depends on the CNI to provide node to node encryption.

Does the CNI in a default Rancher docker run deployment provide encryption?
Trying to find this on Rancher docs now.


navbar app changes title of static sites

All the apps that are using chaise (navbar, login, deriva web apps, internal chaise apps), are usingconfig.js as part of their setup. This app will call setupHead function that we have in utils.js which will

Change title
Add polyfill functions
Add canonical tags
Set wid value on the window object.
Override the behavior of links based on some class names (.external-link and .asset-permission.)

I don't think we should do all of these in external (navbar, login, deriva web apps) pages. The most obvious one that should not be done in external pages is "Change title". Currently in the static sites that navbar is included the title is completely ignored and will be changed to the given name in chaise-config.
We should evaluate the other changes and see whether it makes sense to apply them to external pages as well.
And for implementation of this, @jrchudy and I had a discussion. I think we should introduce a settings (or a better alternative name) constant value that is passed to config.js.  We should also move the current appName constant into this object.

Corresponding PR has been merged. Closing this issue.


[sublime] swapLineUp/Down drags line widgets along with it

https://codemirror.net/demo/widget.html
run

CodeMirror.commands.swapLineDown = function(cm) {
    if (cm.isReadOnly()) return CodeMirror.Pass
    var ranges = cm.listSelections(), linesToMove = [], at = cm.lastLine() + 1;
    for (var i = ranges.length - 1; i >= 0; i--) {
      var range = ranges[i], from = range.to().line + 1, to = range.from().line;
      if (range.to().ch == 0 && !range.empty()) from--;
      if (from < at) linesToMove.push(from, to);
      else if (linesToMove.length) linesToMove[linesToMove.length - 1] = to;
      at = to;
    }
    cm.operation(function() {
      for (var i = linesToMove.length - 2; i >= 0; i -= 2) {
        var from = linesToMove[i], to = linesToMove[i + 1];
        var line = cm.getLine(from);
        if (from == cm.lastLine())
          cm.replaceRange("", CodeMirror.Pos(from - 1), CodeMirror.Pos(from), "+swapLine");
        else
          cm.replaceRange("", CodeMirror.Pos(from, 0), CodeMirror.Pos(from + 1, 0), "+swapLine");
        cm.replaceRange(line + "\n", CodeMirror.Pos(to, 0), null, "+swapLine");
      }
      cm.scrollIntoView();
    });
  };

(from the sublime mode)
3. put cursor on line labeled 9
4. editor.execCommand('swapLineDown')
expected:
text contents of line move down, but the widget stays in place
actual:
text contents and the widget move down
If there's an option on line widgets that can be set to achieve the desired behavior that could be good too. Right now it means that if you are moving one line down from the top of a file to the bottom, it will drag all the line widgets in between along with it.

What wrapLineDown does is move the line below the selection above it -- so that it works even if you have multiple lines selected. There doesn't seem to be a way to formulate that in a way that fits your expected behavior here.


bug Fix pipelineX bug on multiple BE

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


fix: relay types

Motivation
actualize relay types based on https://github.com/flashbots/builder/blob/03ee71cf0a344397204f65ff6d3a917ee8e06724/eth/block-validation/api.go and https://github.com/flashbots/rbuilder/blob/7ff6fe15d0a108f16b2301fcc13e534d7fbd3967/crates/rbuilder/src/mev_boost/mod.rs
Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Breaking changes

I think we can also remove SubmitBlockRequest to avoid confusion?

yep it's removed


Graph with combos - Minimap is broken

[ x ] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Steps to reproduce
When all the combos are collapsed and the type of the minimap is delegate or keyshape . The minimap is empty. You can see the minimap refelcting the contents for fairly a second and the screen goes blank

Environment
Info

g6
4.2.7

System
Mac Os latest

Browser
Chrome latest

Fixed by 4.3.2


Fix 'odo version' integration test

/kind bug

What versions of software are you using?
Operating System:
Red Hat Enterprise Linux 8.2 (Ootpa)
Output of odo version:
odo v1.2.2 (b815649d4)
How did you run odo exactly?
make test-generic
Actual behavior
/should show the version of odo major components including server login UR
should show the version of odo major components including server login URL [It]
go/src/github.com/openshift/odo/tests/integration/generic_test.go:267
Expected
    <bool>: false
to be true

/go/src/github.com/openshift/odo/tests/integration/generic_test.go:277
Expected behavior
The case passed
Any logs, error output, etc?
To test the command odo version include the server URL, There is regexp : Server:\s*https:\/\/(.+\.com|([0-9]+.){3}[0-9]+):[0-9]{4}
The regexp is not correct for all possible URL. For example:
Server: https://api.ocp43b.rhocp.boe:6443 is not match , Server: https://api.ocp-test.redhat.com:6443 is match.

What is the fact pattern for Server URL? I think Server: https://api.*:6443 is enough.

http(s)://localhost:6443
http(s)://api.example.test.com:6443
http(s)://api.ocp43b.rhocp.boe:6443
http(s)://<IP_ADDRESS>:8443

Do we really need to check that the version conforms to a regexp? Isn't it enough to check that it returns something for the Server "field"?

Do we really need to check that the version conforms to a regexp? Isn't it enough to check that it returns something for the Server "field"?

@metacosm No, because the server output pattern deserves a validation to get precise field validation for integration test.

@amitkrout care to explain in greater details, please?

@amitkrout care to explain in greater details, please?

@metacosm odo version details should not print a blank/weird server pattern. Same is applicable for Kubernetes version listed in odo version
Does it make sense ?

@amitkrout sure but then wouldn’t it make more sense to retrieve the url of the cluster independently in the test and check that odo returns that instead of checking that it conforms to a regexp, which, while better than nothing, actually doesn’t check that odo returns the proper value?

@amitkrout or retrieve the URL from the odo version output and check that you can use it to connect to an actual cluster?

@metacosm Our circumstance is like, as a prerequisite we need to login to the cluster first then we start executing the test spec for example odo version spec. So in our test scenario we are just making sure that the server we logged in should fall under this regex which is enough to verify that the server list is not blank or weird and ofcourse no need to check the server login again as we have already logged in the server with the exact URL.

@amitkrout that test is not really useful though… what is it checking exactly? For example, if odo version was hardcoded to return a URL that matches the regexp, the test would pass… and it still wouldn't prove that odo version works as expected.

yup, for hardcoded values that falls under the re pattern won't report failure.

It'd be better, in my mind, to retrieve the server URL after logging into it (for example, parsing the output of oc project) and check that the URL returned by odo version matches that URL… because what matters is not the format of the value, but the value itself.

+1, It will be easy to parse and match machine readable output for example oc project -o json or may be oc version -o json. I will draft a separate pr for this, thanks.


Problem with Redux Chrome DevTools

Hi,
I'm not able to use the chrome extension, it throws an error on AppStore instantiation
EXCEPTION: Error during instantiation of AppStore! (MainMenuComponent -> AppStore).
so I guess I'm not implementing it right
My appStoreFactory:
const appStoreFactory = createAppStoreFactory({ gameReducer }, [window.devToolsExtension ? window.devToolsExtension() : f => f]);
(don't know much about Middlewares, implementing Redux for the first time)
I saw you use that extension in a gif on another question, could you please show the right way to do so?
(I think it would be great if you enable it in the demo so people can play arround)
Thanks!

@vagyriag are you using the createAppStoreFactory from https://github.com/InfomediaLtd/angular2-redux ?
If you are then the dev tools is already built into it. Just call createAppStoreFactory({gameReducer}) and that should work.
If that doesn't work, I suggest trying to clone this project and checking if the dev tools work for you on this project. This, to confirm if the problem is configuration or maybe something else related to the installation of the dev tools extension in Chrome.
BTW, here's another example project that uses angular2-redux with the dev tools. It's a bit simpler (single reducer, like in your case) so maybe you'll find it closer to what you're trying to do: https://github.com/InfomediaLtd/angular2-tutorial/tree/master/7-redux
Check out how it instantiates the appStoreFactory in https://github.com/InfomediaLtd/angular2-tutorial/blob/master/7-redux/app/main.ts#L16

Yeah, I cloned the project (btw, thanks for the config files) but it doesn't work... the devtools works with other examples.
Im going to take a look to that other example.
Thanks!

Any luck there? Let me know if you want me to take a look at your code (Github link) and check if it works for me.

no luck... don't know what could be.
I assume the devtool should work in your demo?
it doen't work there, but in this (demo of the devtools)[http://zalmoxisus.github.io/redux-devtools-extension/examples/counter/] it works fine
I don't know what it is... the devtools config says it's injecting in all pages.
could be something with this match in the app-store-factory.ts?
 const isDebug = window && window.location.href.match(/[?&]debug=([^&]+)\b/) && window["devToolsExtension"];

Actually, the deployed demo doesn't have the dev tools enabled.
Silly question: Do you have the debug query param in your URL? (?debug=true)

well... this is embarrassing...
that was the problem.
didn't know about that, maybe it could be clearer?
thanks again!

No worries. I'll put a note in the angular2-redux repository about it :)
On 10 Mar 2016, at 6:07 PM, Sebasti?n Gaviria <notifications<EMAIL_ADDRESS>wrote:
well... this is embarrassing...
that was the problem.
didn't know about that, maybe it could be clearer?
thanks again!

Reply to this email directly or view it on GitHubhttps://github.com/InfomediaLtd/angular2-redux-example/issues/4#issuecomment-194925997.

Documentation updated :)
Thanks for bringing this up.
https://github.com/InfomediaLtd/angular2-redux


Non-deterministic test failure in TestIntegrationRelaySynchronize

--- FAIL: TestIntegrationRelaySynchronize (1.20s)
	synchronize_test.go:1306: block does not extend the longest fork

Another instance:
--- FAIL: TestIntegrationRelaySynchronize (2.38s)
	synchronize_test.go:1271: 143aa0da2b6a4ca39eee3ee50a6536d75eedff3b5ef0229a6d603afa7854d5b8
	synchronize_test.go:1272: 341d8a37d7e2975a9d5cc46ea93776f2ecd577d87103cab99588a0a952863918
	synchronize_test.go:1273: 341d8a37d7e2975a9d5cc46ea93776f2ecd577d87103cab99588a0a952863918
	synchronize_test.go:1274: block does not extend the longest fork

Note that the same build experienced a concurrent failure with TestSimpleInitialBlockchainDownload:
--- FAIL: TestSimpleInitialBlockchainDownload (12.53s)
	synchronize_ibd_test.go:77: block already present in database

Could they be related?


MEAN application error

Hello,
Upon cloning the MEAN application as per microsoft documentation , it seems due to some module package the application is throwing error.  But when I am downloading the same MEAN application through MEAN.com , the application is running successfully. I don't know the exact reason. Can you please check this out or there is something which I am missing ??

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: faff12d0-cc36-0867-a297-a8b59a863fdd
Version Independent ID: bbeb40cc-78e4-9c99-cdad-55f64a506c66
Content: Connect a Node.js MongoDB app to Azure Cosmos DB
Content Source: articles/cosmos-db/create-mongodb-nodejs.md
Service: cosmos-db
Sub-service: cosmosdb-mongo
GitHub Login: @rimman
Microsoft Alias: rimman

@Rohit-Stackroute Thank you for reporting this issue.
Let me try this at my end. I will get back to you shortly.

@Rohit-Stackroute I am able to bring it up without any issues.
Are you sure you are running the npm commands from the bash shell within Visual Studio code?
If not, please change the shell to bash and try again.

Please let us know if you still face any issues.

@KalyanChanumolu-MSFT Yes , I was in bash shell and only option I am getting is bash. Let me check again and I will let you know.

No it is still not happening. I guess the project that is being cloned from the repository might have old packages and not updated yet. And in MEAN.com everything is up to date that is why it is running successfully. I might be wrong. but tell me the changes that I need to make through the documentation steps.

@Rohit-Stackroute I cloned it from the repo from scratch and it works fine.
It is difficult to trouble shoot the issue without a screenshot of the error and knowledge of your environment.
Support on GitHub is limited to documentation. Could you please post the details on MSDN forums or Stackoverflow

@Rohit-Stackroute We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Links across hosts not working?

I am trying to deploy several web servers within a service description and link them to a redis "service". It appears that it is not working. It even appears that if I use the Managed network for a container the link function is not working. I have validated it using the docker commands on 1 host.
docker 1.6.2
rancher/server:v0.21.3

Are you using Ubuntu? https://github.com/rancherio/rancher/issues/893 was logged earlier today, but I didn't see the same issues in CentOS/RHEL 7.

Sorry Centos 7. Looks like #893  is the same issue. close this one..

Dupiclate of #893, but on CentOS 7.

I'm re-opening as it's fixed for Ubuntu. @clemenko can you test this out with v0.22.0-rc1 since you love the bleeding edge. :) i never had the issue with my centos 7 setup so unable to reproduce.

@clemenko are you reusing your CentOS 7 hosts and just launching new server and agent containers? If I launch new CentOS 7 hosts and add containers, I have no issues. But I'm having issues when I reuse my CentOS 7 setup from testing a previous version. Basically, when I stopped my old rancher server and agents and ran new docker commands, my containers on my hosts cannot ping each other.

I am build new servers every time. Let me test with v0.22.0-rc1 tonight.

Just tested. My setup is all updated centos 7 with docker 1.6.2. I am using the docker.io/clemenko/demo_app1 which looks for a "link" called redis.  I found that it does work for nodes that aren't also running rancher-server. When running the server and the agent on the same box it picks up the ip of docker0 and not eth0/em0. See screenshot. [0]
Is running server and agent on the same host cool?
[0] https://www.dropbox.com/s/i3xjzeygpenc408/docker_ip.jpg?dl=0

@clemenko you can run the server and agent on the same host, you just have to add -e CATTLE_AGENT_IP=<public ip> to the command to start the agent. This tells it not to use the internal IP address that the other hosts can not reach. The other caveat is that you will not be able to run services with 8080 exposed.

@cloudnautique You might be misunderstanding. The server runs fine on the external IP. In the Rancher UI you can see that the agent is reporting the host on the docker0 ip. This appears to be a bug since v0.20.2. I will test to see which version this started appearing. I know this WAS working correctly.

@clemenko, sorry, I don't think I did a good job explaining. What you are seeing is a known behavior. When the rancher/agent container starts it tries to determine the IP of the host based on the interface it uses to talk to rancher/server. Since the agent and server are in containers on the same host, the agent reports the IP of docker0.
In order to change this behavior, when you launch the rancher/agent container based on the command from the UI, you need to add -e CATTLE_AGENT_IP=<IP of the host>. This tells the agent on startup to use that IP vs. auto-detecting an IP. The command ends up looking something like:
docker run -d --privileged -e CATTLE_AGENT_IP=XX.XX.XX.XX -v /var/run/docker.sock:/var/run/docker.sock rancher/agent:v0.7.8 http://<rancher>/<tokens>

Hopefully that is clearer.

@cloudnautique The problem is that this behavior was NOT present in previous versions of rancher server. Why does running the agent command work on several box EXCEPT on when the server is on the same box? I don't have to modify the command on the other servers.
Screenshot of the v0.22-rc1 : https://www.dropbox.com/s/b5ymerzn8lh0ayi/rancher_22_1.jpg?dl=0
Here is my build scripts : https://github.com/clemenko/tugboat-digitalocean-rancher
I tested the "latest" build of rancher server. When did this behavior change? Why does the auto-detecting of the ip fail on the server and not the basic agents?
Having to run a different agent command on the server adds unnecessary complexity.
I just build it a setup with "rancher/server:latest". Then I used this command to start the agent on the server :
docker run -d --privileged -v /var/run/docker.sock:/var/run/docker.sock -e CATTLE_AGENT_IP=<IP_ADDRESS> rancher/agent:v0.7.6 http://<IP_ADDRESS>:8080/v1/scripts/97E90BFE73010EB0AE62:1432724400000:XW6YFK0F9KY2M8NcE8xvZBEV8k
And I am STILL seeing the "web2" container on the server not being able to talk to "redis" container on the other host.
Screenshot : https://www.dropbox.com/s/c8dvyc4snw9g77f/rancher_latest_1.jpg?dl=0

I can confirm that the addition of "-e CATTLE_AGENT_IP=<IP_ADDRESS>" works with one caveat. If you run docker agent command without the "-e CATTLE_AGENT_IP=<IP_ADDRESS>" it won't work if you stop the agent and restart it with the "-e"...

We've created a separate issue to add to the UI about adding an agent on the same host as rancher server. https://github.com/rancherio/rancher/issues/872

@clemenko Just to close on this loop, your links are working across hosts in the CentOS 7 setup? Can we close this issue?

Yes.. they are working. I was hitting the agent running on the wrong ip on the server issue. Close this.


Revise how we select responses based on counts

We've got a few bits of code that do the similar action of searching a Dictionary<int, SchrodingersString>? value for the highest key that is less than or equal to a target value:

Itemdata.TryGetTrackingResponse()
AutoTracker.IncrementGTItems()
Tracker.TrackDungeonTreasure()
Tracker.CountHyperBeamShots()
Tracker.ClearArea() (the TrackedNothingOutOfLogic part)

It could be helpful to have an overload of the TrackerBase.Say() method that takes a Dictionary<int, SchrodingersString>? value directly and consolidates the logic that picks the matching response.
For the last item in the list above, doing this would mean we would no longer need separate TrackedNothing and TrackedNothingOutOfLogic responses, which could potentially mess with custom lines people have written.
Inspired by the code I forgot to write and had to add in #496.

I wonder if we should go as far as to create a new type for this to make coding around it simpler to implement. "TieredSchrodingersStrings" or something.

That could be a good way to make it more clear what the intent is. I'll give it a try!

Matt suggested we use an options object to cut down on the number of Say() and SayOnce() overloads. That sounds like it would be a good idea to implement while doing these changes, so I'm noting it here, so I don't forget.


Google Analytics

I found the unpleasant surprise that this option is enabled by default.
Please completely remove this feature or at least do that is disabled by default.
Surely these data are very importants for you, but is my data, my privacy, and it is more important for my.
Thank you.

There is an option to disable analytics: https://github.com/Glavin001/atom-beautify/issues/535#issuecomment-138088039

In case you are interested, here is a reference to the code that does the analytics tracking: https://github.com/Glavin001/atom-beautify/blob/4e528809f04d88cb21e46e6dc923ef5cd17cc2a2/src/beautifiers/index.coffee#L468-L482
# Setup Analytics User Id
          userId = atom.config.get("atom-beautify._analyticsUserId")
          analytics.identify userId : userId
          version = pkg.version
          analytics.track
            userId : atom.config.get("atom-beautify._analyticsUserId")
            event : "Beautify"
            properties :
              language : language?.name
              grammar : grammar
              extension : fileExtension
              version : version
              options : allOptions
              label : language?.name
              category : version

Note that the userId is a randomly generated UUID (uuid.v4()).
Atom Beautify tracks only information about the language name, grammar, version, and options.
This analytical data allows me to track user adopter (when Users update, and how many users are running on an older version with lots of bugs) and which languages are most used and therefore need the most support.
Top Atom Beautify Versions:

Top Languages:

Thanks for responding, but I've seen the  Atom core ago also collects information, then instead of arguing with everyone about the importance of privacy, I decided to stop using Atom definitely.
But I appreciate your response.

Atom > Settings > Metrics (disable)

Please disable by default.  This is not okay.

@beautispy Please see the comment above: https://github.com/Glavin001/atom-beautify/issues/565#issuecomment-142995190
The collected data helps prioritize efforts to improve the application.  This is free software written and maintained by volunteers on their own time outside of their real jobs.  Time is a limited resource.  If this is distressing it might be better to use an editor with a conservative constricted license that you pay for with money.

For those interested in disabling analytics, feel free to do so quickly and easily by changing the Anonymous Analytics setting in Atom-Beautify package settings:

In addition, I support @prettydiff 's comment above.

For those interested in this issue, I recommend you read https://github.com/Glavin001/atom-beautify/issues/919#issuecomment-210216512
Thank you.


style(design): adding sass-lint rules for brace style

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@Nolan-Arnold Is this different than #374 and #377?

This PR has border code in it.


[Bug] TC-SC-4.1 check the discriminator not correct

Describe the bug
Hello, For TC-SC-4.1, Step 4d and 4e, it requires to check the discriminator, and on default TH only recognises 3840. lf discriminator is changed, what should be set in the TH? My DUT is able to get commissioned, but when checking discriminator in Step 4d and e of TC-SC-4.1, it failed. TH Version: TH Fall2023, Sha: 3f84bff5.
Steps to reproduce the behavior
No response
Expected behavior
No response
Log files
No response
PICS file
No response
Screenshots
No response
Environment
No response
Additional Information
No response

Hi @lxj199722 could you please attach log files and PICS file used in this scenario?

Hi @lxj199722 could you please attach log files and PICS file used in this scenario?
Hi, this is dut_config information and TC-SC-4.1 log files.

UI_Test_Run_TC_SC_41_2024_01_03_17_37_16.log

Hi @cecille Do you have any idea what is happening?

This is not a problem with the TH using an incorrect value - the value appears in the test as expected, but it looks like maybe the discovery commands code is wrong.
CHIPTOOL   | 2024-01-03 09:39:20.117672 | CHIP:DIS Discovered node:
CHIPTOOL   | 2024-01-03 09:39:20.118590 | CHIP:DIS 	Hostname: 34155B5D6D20
CHIPTOOL   | 2024-01-03 09:39:20.119490 | CHIP:DIS 	IP Address #1: fe80::3629:8fff:fe1f:4215
CHIPTOOL   | 2024-01-03 09:39:20.120449 | CHIP:DIS 	Port: 5540
CHIPTOOL   | 2024-01-03 09:39:20.121358 | CHIP:DIS 	Mrp Interval idle: not present
CHIPTOOL   | 2024-01-03 09:39:20.122253 | CHIP:DIS 	Mrp Interval active: not present
CHIPTOOL   | 2024-01-03 09:39:20.123140 | CHIP:DIS 	TCP Supported: 1
CHIPTOOL   | 2024-01-03 09:39:20.124059 | CHIP:DIS 	Rotating ID: 0200F666BFA30A0701DA7E8C619E396AC578
CHIPTOOL   | 2024-01-03 09:39:20.124952 | CHIP:DIS 	Vendor ID: 4933
CHIPTOOL   | 2024-01-03 09:39:20.126646 | CHIP:DIS 	Product ID: 16897
CHIPTOOL   | 2024-01-03 09:39:20.128575 | CHIP:DIS 	Device Type: 65535
CHIPTOOL   | 2024-01-03 09:39:20.130858 | CHIP:DIS 	Long Discriminator: 1300
CHIPTOOL   | 2024-01-03 09:39:20.131856 | CHIP:DIS 	Pairing Hint: 36
CHIPTOOL   | 2024-01-03 09:39:20.132764 | CHIP:DIS 	Instance Name: 8E90FB880A9C93B2
CHIPTOOL   | 2024-01-03 09:39:20.134008 | CHIP:DIS 	Commissioning Mode: 1
CHIPTOOL   | 2024-01-03 09:39:20.134941 | CHIP:DIS Discovered node:
CHIPTOOL   | 2024-01-03 09:39:20.135856 | CHIP:DIS 	Hostname: 34155B5D6D20
CHIPTOOL   | 2024-01-03 09:39:20.136759 | CHIP:DIS 	IP Address #1: fe80::3629:8fff:fe1f:4215
CHIPTOOL   | 2024-01-03 09:39:20.137634 | CHIP:DIS 	Port: 5540
CHIPTOOL   | 2024-01-03 09:39:20.138497 | CHIP:DIS 	Mrp Interval idle: not present
CHIPTOOL   | 2024-01-03 09:39:20.139344 | CHIP:DIS 	Mrp Interval active: not present
CHIPTOOL   | 2024-01-03 09:39:20.140224 | CHIP:DIS 	TCP Supported: 1
CHIPTOOL   | 2024-01-03 09:39:20.141079 | CHIP:DIS 	Rotating ID: 0200F666BFA30A0701DA7E8C619E396AC578
CHIPTOOL   | 2024-01-03 09:39:20.141915 | CHIP:DIS 	Vendor ID: 4933
CHIPTOOL   | 2024-01-03 09:39:20.142750 | CHIP:DIS 	Product ID: 16897
CHIPTOOL   | 2024-01-03 09:39:20.143586 | CHIP:DIS 	Device Type: 65535
CHIPTOOL   | 2024-01-03 09:39:20.144478 | CHIP:DIS 	Long Discriminator: 1300
CHIPTOOL   | 2024-01-03 09:39:20.145323 | CHIP:DIS 	Pairing Hint: 36
CHIPTOOL   | 2024-01-03 09:39:20.146152 | CHIP:DIS 	Instance Name: 8E90FB880A9C93B2
CHIPTOOL   | 2024-01-03 09:39:20.146980 | CHIP:DIS 	Commissioning Mode: 1
CHIPTOOL   | 2024-01-03 09:39:20.147857 | CHIP:CTL Unknown filter type; all matches will fail
WARNING    | 2024-01-03 09:39:20.149414 | Test Failure: The test expectation "longDiscriminator == 1300" is false
INFO       | 2024-01-03 09:39:20.153149 | Test Step Completed [FAILED]: Step 2h: key D must be present and represents the discriminator which must be encoded as a variable-length decimal value with up to 4 digits omitting any leading zeros

^ longDiscriminator == 1300 indicates that the script substituted the value correctly for the check, but longDiscriminator is incorrect, despite being obviously correct.

I wonder if there are some weird characters in there or something. The logs indicate the discovered device is correct, and I THINK they're pulling that from the TXT. It would be good to get an additional source of truth on the TXT record. Can you run avahi-browse -r _matterc._udp while the device is up on the network and send the results?

This also isn't the first failure - this step fails earlier:
CHIPTOOL   | 2024-01-03 09:39:17.452486 | CHIP:TOO Command: discover find-commissionable-by-short-discriminator 15
CHIPTOOL   | 2024-01-03 09:39:17.455221 | CHIP:DL Avahi browse: cache exhausted
CHIPTOOL   | 2024-01-03 09:39:17.456783 | CHIP:DL Avahi browse: all for now
CHIPTOOL   | 2024-01-03 09:39:17.457705 | CHIP:DL Avahi browse: cache exhausted
CHIPTOOL   | 2024-01-03 09:39:17.458576 | CHIP:DL Avahi browse: all for now
CHIPTOOL   | 2024-01-03 09:39:17.459436 | CHIP:DL Avahi browse: cache exhausted
CHIPTOOL   | 2024-01-03 09:39:17.460337 | CHIP:DL Avahi browse: all for now
CHIPTOOL   | 2024-01-03 09:39:17.461213 | CHIP:DL Avahi browse: cache exhausted
CHIPTOOL   | 2024-01-03 09:39:17.462077 | CHIP:DL Avahi browse: all for now
CHIPTOOL   | 2024-01-03 09:39:17.462929 | CHIP:DL Avahi browse: cache exhausted
CHIPTOOL   | 2024-01-03 09:39:17.463786 | CHIP:DL Avahi browse: all for now
WARNING    | 2024-01-03 09:39:17.465437 | Test Failure: The test expects no error but the "FAILURE" error occured.
INFO       | 2024-01-03 09:39:17.468608 | Test Step Completed [FAILED]: Step 2d: Check Short Discriminator (_S)

So if you could also run a check for avahi-browse _services._dns-sd._udp, that would narrow down the first failure.

I am experiencing the same problem. Is there a solution?


Add documentation for adding docs

@algeboy : "Docs looks super cool, but we need instructions on how to use it.  If we could include those instructions in the webpage that would be super since this is afterall an open source project and users will need those instructions.  Some something about the file structure and links to the use of jeykll or this particular theme."
The theme provides documentation for adding docs. See the /_site_docs/docs.md for supporting documentation. The /_site_docs repository contains instruction provided in the base theme. Any additional documentation I create will be added to this folder.
@algeboy once you've reviewed this, let's close the issue.

not sure where to look for this change, didn't find it.  Could we have a link to this somewhere, perhaps a link on the top bar called "Contribute" in which we can given guidelines and links to this.

@algeboy the /_site_docs folder contains markdown files with instructions on how to use the theme. These were provided by default by the docs theme. I'll also add more documentation in this directory.
Sure. My first thoughts are to create a "Contribute" link on the top navbar, which links to CONTRIBUTING.md on github. Here, I'd detail how to contribute and links to the documentation.
Does this work for you? Or would you prefer having a separate page on the site itself?

#18 includes documentation for adding docs. I'll close this issue as these are the same.


Animated Glowing Button using HTML & CSS

Description
I would like to add a tutorial cum documentation for creating a stylish glowing animated button using just HTML and CSS, which can be implemented in almost any project.
Doc Domain

[x] Html
[x] CSS
[ ] JavaScript
[ ] Bootstrap

Are you contributing under any open-source program?
Hacktoberfest 2021

It's a documentation project uh can add ur design here
https://github.com/siddhi-244/Embellish

It's a documentation project uh can add ur design here https://github.com/siddhi-244/Embellish

Yes you can contribute to the above repository,even that's under hacktober fest


[Bug]: BaseTextField is incompatible with the full-screen mode of the Input Method Editor (IME).

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

Is this an issue related to one of the samples?

[X] Yes, this is a specific issue related to this samples repo.

Sample app
Jetchat
What happened?
In Jetpack Compose, there is an incompatibility between the TextField and the IME's fullscreen mode. When pressing the delete character button in the IME, the cursor moves back, but the characters in the preview are not deleted, even though the characters have actually been removed.
video
https://github.com/user-attachments/assets/354d73e6-7a98-41f6-bff6-772674537c65
ime
sougoushurufasbb_v<IP_ADDRESS>7071528_2265.com.apk.zip
Relevant logcat output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Is there any progress?


[varLib.interpolatable] StatisticsControlPen error

Sometimes when running fonttools varLib.interpolatable I get
File "fontTools/pens/statisticsPen.py", line 126, in _endPath
    if p0 != self.__startPoint:
AttributeError: ("'StatisticsControlPen' object has no attribute '_StatisticsControlPen__startPoint'",

Looks like it just needs to be initialized in _moveTo like other pens.

Just noticed this still isn't working because startPoint still isn't set in the first place.

I can see this will happen for open contours. Lemme send a PR.


Saved notebook does not re-open

I see this whenever I try and open a saved notebook.
https://www.dropbox.com/s/0l8qs2kyvh7xfqz/Screenshot 2017-09-22 10.24.22.png?dl=0

I'm having this problem as well.

What OS / node version (if you're not using sqlite)/ browser are you using?

OS X Sierra, node v8.6.0, Chrome (with Postgres).

Thanks! Can you attach a saved notebook (without sensitive info)?

Here's a notebook that came from connecting to SQLite and running select 1:
https://gist.github.com/mdagost/e20f576db4824ad0233a4a578f7f5bf3

reciever.html:3 Uncaught DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
    at https://franchise.cloud/app/reciever.html:3:2

That shows up in the developer console when I open a saved notebook.
On Chromium Version 66.0.3359.117 (Developer Build) built on Debian 9.4, running on Debian 9.4 (64-bit)
It looks like iframe that's doing a cross-origin request to reciever.html is being blocked by the browser ...


Multiple trials and RMSE comparisons

This supersedes PR #48.

Codecov Report

Merging #55 into master will decrease coverage by 1.92%.
The diff coverage is 56.04%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   81.87%   79.94%   -1.93%
==========================================
  Files          14       14
  Lines        1401     1461      +60
==========================================
+ Hits         1147     1168      +21
- Misses        254      293      +39

Impacted Files
Coverage Δ

mne_neuron/tests/test_compare_hnn.py
100% <100%> (ø)
:arrow_up:

mne_neuron/tests/test_network.py
100% <100%> (ø)
:arrow_up:

mne_neuron/__init__.py
100% <100%> (ø)
:arrow_up:

mne_neuron/feed.py
40.29% <16.66%> (-1.11%)
:arrow_down:

mne_neuron/network.py
76.15% <38.88%> (-3.13%)
:arrow_down:

mne_neuron/parallel.py
76.47% <60%> (-23.53%)
:arrow_down:

mne_neuron/dipole.py
82.44% <60.78%> (-13.68%)
:arrow_down:

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 80952bf...32884ad. Read the comment docs.

@jasmainak Would you like this code to be pushed to #48 instead of its own PR?

I am fine either way. You can close one of them since they both have the same aims?

No longer pursuing this


Transaction time consistently over 30 seconds

Hey there!  Great work on the staking framework!  One thing though - it takes A LONG TIME to process transactions.  I'm hitting the 30 second timeout consistently and my clients are really complaining, because their community is complaining to them.
Short of having to deploy our own on-chain program and attempt to speed that up, is there a way that we can increase the timeout to a minute?  The transactions consistently finish within a minute, but 30 seconds is REALLY hit or miss.
Any ideas here?
Thanks!

bump - haven't gotten any responses.  I'm also looking for ways to mitigate the timeout issue....are there any RPCs that work better than others?  Is there a good way to handle the timeouts that people have had success with?  Any help is appreciated.  Thanks!

I think this may be RPC based, so closing now.


Enable declarationMap in typings

Feature Request
Additional context
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html

Enabling --declarationMap alongside --declaration causes the compiler to emit .d.ts.map files alongside the output .d.ts files. Language Services can also now understand these map files, and uses them to map declaration-file based definition locations to their original source, when available.

In other words, hitting go-to-definition on a declaration from a .d.ts file generated with --declarationMap will take you to the source file (.ts) location where that declaration was defined, and not to the .d.ts.

Since our package includes source anyway, enabling declaration map will allow more easier navigation experiences.

what we need to resolve:
our package layout places src other than resolvable in package: try this for check
npm run build_all
cd dist/packages/typings
open one of .map

check src reference,  👉 is part need to be resolved cause our packages flattens our src into different location.

Would love to see this because it enables cross-repository jump-to-definition on sourcegraph.com

This no longer seems to be an issue. Closing for now.


Proxy Setting

Hello, How to setup teslamate use proxy running in docker.  I tried the following but noavail

by adding HTTP_PROXY and HTTPS_PROXY in docker.yml under teslamate/environment section
by creating ~/.docker/config.json adding proxies section; and also  /etc/systemd/system/docker.service.d/http-proxy.conf

Please help
thanks

Is there any solution?


Error (?) in the documentation, Section 6.5

In section 6.5 of the quick reference, it says:
template <typename Iterator, typename CharT>
/*...*/ range(const Iterator& begin, const Iterator& end);

but in fact, in the source we have:
template <typename ForwardIt>
inline STRF_HD auto range(ForwardIt begin, ForwardIt end)

i.e. not the same template params.

Also, the overloads that take an array instead of a range class are missing.